:root {
  --blue: #0077b3;
  --blue-2: #0ea5e9;
  --blue-soft: rgba(14, 165, 233, 0.12);
  --emerald: #00c978;
  --emerald-2: #00e676;
  --emerald-soft: rgba(0, 201, 120, 0.12);
  --cyan: #38bdf8;
  --amber: #f59e0b;
  --danger: #ef4444;
  --midnight: #0a192f;
  --midnight-2: #061426;
  --midnight-3: #001220;
  --ink: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.12);
  --card: rgba(255, 255, 255, 0.88);
  --card-solid: #ffffff;
  --soft: #f4f8fb;
  --bg: #ffffff;
  --text: #102033;
  --shadow: 0 22px 70px rgba(15, 23, 42, 0.12);
  --glow: 0 0 0 rgba(0, 119, 179, 0);
  --dark-gradient:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.24), transparent 34%),
    radial-gradient(circle at bottom right, rgba(0, 230, 118, 0.13), transparent 32%),
    linear-gradient(135deg, #0a192f 0%, #061426 50%, #001220 100%);
  --accent-gradient:
    radial-gradient(circle at top right, rgba(0, 201, 120, 0.17), transparent 33%),
    radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.18), transparent 35%),
    linear-gradient(135deg, #07192a 0%, #092337 52%, #061426 100%);
  --soft-gradient:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.10), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, #eef7fb 100%);
}

.cyber-mode {
  --bg: #07111f;
  --soft: #0b1628;
  --card: rgba(12, 27, 47, 0.78);
  --card-solid: #0c1b2f;
  --text: #e5f5ff;
  --muted: #93a9c7;
  --line: rgba(0, 230, 118, 0.20);
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
  --glow: 0 0 30px rgba(0, 230, 118, 0.14);
}


/* Dark mode is now the default visual direction. These overrides prevent old light/white
   section backgrounds from appearing when the page loads in Cyber Mode. */
.cyber-mode {
  --soft-gradient:
    radial-gradient(circle at 12% 12%, rgba(14,165,233,.14), transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(0,230,118,.08), transparent 34%),
    linear-gradient(180deg, #081423 0%, #0b1628 52%, #061426 100%);
  --panel-gradient:
    radial-gradient(circle at top right, rgba(56,189,248,.12), transparent 32%),
    linear-gradient(180deg, #07111f 0%, #091a2e 100%);
  --deep-gradient:
    radial-gradient(circle at 18% 18%, rgba(0,230,118,.10), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(14,165,233,.18), transparent 34%),
    linear-gradient(135deg, #050b14 0%, #0a192f 52%, #050b14 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--blue); }
img { max-width: 100%; }
button, a, input, select, textarea { transition: 0.22s ease; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 9999; background: #fff; color: #000; padding: 10px; }
.skip-link:focus { left: 10px; top: 10px; }

.app-nav {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.cyber-mode .app-nav { background: rgba(5, 12, 24, 0.92); }
.navbar-brand, .nav-link { color: var(--text) !important; }
.nav-link { font-weight: 700; font-size: 0.92rem; border-radius: 999px; }
.nav-link:hover { background: rgba(14, 165, 233, 0.08); }
.nav-cta { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff !important; border-radius: 999px; padding: 0.55rem 0.95rem !important; box-shadow: 0 12px 26px rgba(0, 119, 179, 0.22); }
.navbar-toggler { border-color: var(--line); }
.brand-mark, .brand-highlight { color: var(--blue-2); }
.cyber-mode .brand-mark { color: var(--emerald); text-shadow: 0 0 16px rgba(0,230,118,.45); }

.section-pad { padding: 96px 0; position: relative; }
.section-pad.compact { padding: 72px 0; }
.soft-section { background: var(--soft-gradient); }

.hero-section {
  min-height: 100vh;
  padding-top: 120px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(0,119,179,.18), transparent 32%),
    radial-gradient(circle at 88% 10%, rgba(0,230,118,.10), transparent 34%),
    linear-gradient(135deg, var(--bg), var(--soft));
}
.cyber-mode .hero-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(0,230,118,.14), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(0,119,179,.28), transparent 34%),
    linear-gradient(135deg, #050b14, #0a192f 55%, #050b14);
}
.bg-grid { position: absolute; inset: 0; opacity: .34; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.cyber-mode .bg-grid { animation: scan 6s linear infinite; }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(42px); } }

.hero-title { font-size: clamp(2.65rem, 6vw, 5.65rem); line-height: .96; letter-spacing: -0.065em; font-weight: 800; margin: 18px 0; }
.hero-copy { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--muted); max-width: 720px; }
.section-heading { max-width: 820px; margin: 0 auto 44px; }
.section-heading h2, .section-title { font-weight: 800; letter-spacing: -0.045em; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; }
.section-heading p, .leadish { color: var(--muted); font-size: 1.06rem; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: .09em; font-size: .78rem; margin-bottom: 10px; }
.cyber-mode .eyebrow { color: var(--emerald); }
.eyebrow svg, .panel-heading svg { width: 17px; height: 17px; }
.muted { color: var(--muted); }
.text-primary { color: var(--blue-2) !important; }
.text-success { color: var(--emerald-2) !important; }
.text-info { color: var(--cyan) !important; }

.btn { border-radius: 999px; font-weight: 800; border: 0; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 14px 30px rgba(0,119,179,.24); }
.cyber-mode .btn-primary { background: linear-gradient(135deg, var(--emerald), var(--blue-2)); color: #04101d; }
.btn-outline-custom { border: 1px solid var(--line); color: var(--text); background: var(--card); }
.btn:hover, .card-lite:hover, .topic-card:hover, .stat-card:hover, .resource-card:hover { transform: translateY(-3px); }

.trust-badges, .footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.trust-badges span, .footer-badges span { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 12px; font-weight: 700; font-size: .85rem; }
.mode-panel, .terminal-card, .card-lite, .topic-card, .stat-card, .profile-card, .builder-shell, .syllabus-card, .phish-game, .path-panel, .impact-card, .upcoming-panel, .contact-form, .contact-note, .resource-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow), var(--glow);
  backdrop-filter: blur(18px);
}
.mode-panel { padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mode-panel p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.terminal-card { overflow: hidden; }
.terminal-top { display: flex; gap: 8px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.terminal-top span { width: 12px; height: 12px; border-radius: 50%; background: #ef4444; display: inline-block; }
.terminal-top span:nth-child(2) { background: #f59e0b; }
.terminal-top span:nth-child(3) { background: #22c55e; margin-right: 10px; }
.terminal-body { padding: 24px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.terminal-line { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.prompt { color: var(--blue-2); font-weight: 800; }
.ok { color: var(--emerald); font-weight: 800; }
.cursor { color: var(--emerald); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Dark feature sections: premium navy, not identical to every section */
.dark-feature-section {
  position: relative;
  overflow: hidden;
  background: var(--dark-gradient);
  color: #f8fafc;
}
.dark-feature-section::before, .accent-feature-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 88%);
  pointer-events: none;
}
.dark-feature-section .container, .accent-feature-section .container { position: relative; z-index: 1; }
.dark-feature-section h2, .dark-feature-section h3, .dark-feature-section h4, .dark-feature-section h5,
.accent-feature-section h2, .accent-feature-section h3, .accent-feature-section h4, .accent-feature-section h5 { color: #f8fafc; }
.dark-feature-section p, .accent-feature-section p { color: #94a3b8; }
.dark-feature-section .lead, .accent-feature-section .lead { color: #cbd5e1; }
.dark-feature-section .section-heading p, .accent-feature-section .section-heading p { color: #94a3b8; }
.dark-feature-section .eyebrow, .accent-feature-section .eyebrow { color: var(--blue-2) !important; }
.accent-feature-section {
  position: relative;
  overflow: hidden;
  background: var(--accent-gradient);
  color: #f8fafc;
}

.glass-card,
.dark-feature-section .card-lite,
.accent-feature-section .card-lite {
  background: rgba(255,255,255,0.055) !important;
  border: 1px solid rgba(255,255,255,0.13) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.glass-card:hover,
.dark-feature-section .card-lite:hover,
.accent-feature-section .card-lite:hover,
.hover-glow:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.085) !important;
  border-color: rgba(14,165,233,.42) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.34), 0 0 30px rgba(14,165,233,.16);
}
.quote-glass {
  position: relative;
  padding: 1.35rem 1.45rem;
  border-left: 4px solid var(--blue-2);
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.045);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.quote-glass p { color: #cbd5e1; line-height: 1.72; }

.stat-card, .card-lite, .topic-card, .resource-card { padding: 24px; height: 100%; transition: .25s ease; }
.stat-card { position: relative; overflow: hidden; }
.stat-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--blue), var(--blue-2), var(--emerald)); opacity: .8; }
.stat-number { font-size: 2.65rem; font-weight: 800; color: var(--blue); line-height: 1; }
.cyber-mode .stat-number { color: var(--emerald); }
.source-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .88rem; margin-top: 10px; text-decoration: none; }
.source-link svg { width: 14px; }
.profile-card { padding: 28px; display: grid; gap: 20px; }
.profile-card img { width: 156px; height: 156px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(14,165,233,.22); box-shadow: 0 18px 45px rgba(15,23,42,.15); }
.icon-pill, .icon-box { width: 44px; height: 44px; border-radius: 15px; background: rgba(14,165,233,.12); color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; flex: 0 0 auto; border: 1px solid rgba(14,165,233,.16); }
.icon-box { margin-bottom: 0; }
.icon-pill svg, .icon-box svg { width: 22px; height: 22px; }
.icon-green { background: rgba(0,201,120,.12); color: var(--emerald-2); border-color: rgba(0,201,120,.22); }
.icon-cyan { background: rgba(56,189,248,.12); color: var(--cyan); border-color: rgba(56,189,248,.22); }
.icon-blue { background: rgba(14,165,233,.12); color: var(--blue-2); border-color: rgba(14,165,233,.22); }
.cyber-mode .icon-pill { background: rgba(0,230,118,.1); color: var(--emerald); }
.tag { display: inline-flex; font-size: .75rem; font-weight: 800; padding: 5px 9px; border-radius: 999px; color: var(--blue); background: rgba(14,165,233,.11); margin-bottom: 12px; }
.cyber-mode .tag { color: var(--emerald); background: rgba(0,230,118,.1); }

.topic-card { position: relative; overflow: hidden; }
.topic-card:nth-child(3n+1)::before, .topic-card:nth-child(3n+2)::before, .topic-card:nth-child(3n+3)::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; opacity: .9; }
.topic-card:nth-child(3n+1)::before { background: var(--blue-2); }
.topic-card:nth-child(3n+2)::before { background: var(--emerald); }
.topic-card:nth-child(3n+3)::before { background: var(--amber); }

.builder-shell { padding: 24px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 22px; }
.builder-controls { display: grid; gap: 18px; }
.control-group { background: rgba(255,255,255,.43); border: 1px solid var(--line); border-radius: 22px; padding: 18px; }
.cyber-mode .control-group { background: rgba(255,255,255,.035); }
.option-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.option-button { border: 1px solid var(--line); background: var(--card); color: var(--text); padding: 10px 13px; border-radius: 999px; font-weight: 800; }
.option-button.active { background: var(--blue); color: white; box-shadow: 0 10px 25px rgba(0,119,179,.18); }
.cyber-mode .option-button.active { background: var(--emerald); color: #04101d; }
.syllabus-card { padding: 24px; position: sticky; top: 100px; align-self: start; }
.syllabus-card li { margin-bottom: 8px; }
.selected-summary { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; color: var(--muted); font-weight: 700; }

.phish-game { padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.domain-options { display: grid; gap: 12px; }
.domain-card { border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 18px; padding: 18px; text-align: left; font-family: ui-monospace, monospace; font-weight: 800; font-size: 1.2rem; }
.domain-card.correct { outline: 3px solid rgba(0, 201, 120, .35); }
.domain-card.wrong { outline: 3px solid rgba(239, 68, 68, .35); }
.result-box { border-radius: 16px; padding: 14px; background: rgba(14,165,233,.1); margin: 0; }

.path-tabs, .session-tabs { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 18px; }
.path-tab, .session-tab { flex: 0 0 auto; border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 20px; padding: 15px 17px; text-align: left; font-weight: 800; min-width: 200px; }
.path-tab.active, .session-tab.active { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: white; box-shadow: 0 16px 34px rgba(0,119,179,.22); }
.cyber-mode .path-tab.active, .cyber-mode .session-tab.active { background: linear-gradient(135deg, var(--emerald), var(--blue-2)); color: #04101d; }
.path-panel { padding: 30px; }
.path-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.path-meta div { border: 1px solid var(--line); border-radius: 18px; padding: 14px; background: rgba(255,255,255,.22); }
.path-meta strong { display: block; font-size: .78rem; text-transform: uppercase; color: var(--muted); }

.impact-section { background: radial-gradient(circle at 20% 10%, rgba(14,165,233,.12), transparent 32%), linear-gradient(180deg, var(--bg), var(--soft)); }
.impact-card { padding: 26px; }
.session-rail { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-bottom: 24px; }
.rail-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(15,23,42,.08); }
.rail-btn:hover { transform: translateY(-1px); border-color: rgba(0,119,179,.28); }
.session-tabs { margin-bottom: 0; scroll-snap-type: x proximity; }
.session-tab { scroll-snap-align: start; display: grid; gap: 5px; min-width: 265px; padding: 18px 20px; }
.session-tab .session-date { font-size: .9rem; color: var(--muted); font-weight: 800; }
.session-tab .session-title { font-size: 1rem; line-height: 1.25; }
.session-tab.active .session-date { color: rgba(255,255,255,.86); }
.cyber-mode .session-tab.active .session-date { color: rgba(4,16,29,.72); }
.impact-summary { display: block; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 20px; }
.impact-summary h3 { font-size: clamp(1.7rem, 3vw, 2.45rem); letter-spacing: -0.04em; }
.session-meta-line { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 14px; color: var(--muted); font-weight: 700; }
.session-meta-line span { display: inline-flex; align-items: center; gap: 7px; border: none; border-radius: 0; background: transparent; padding: 0; box-shadow: none; }
.session-meta-line svg { width: 19px; height: 19px; color: var(--blue); }
.cyber-mode .session-meta-line svg { color: var(--emerald); }
.impact-columns { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); gap: 22px; }
.media-panel, .testimonial-panel { min-width: 0; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.panel-heading h3 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; margin: 0; font-weight: 800; }
.scroll-actions { display: flex; gap: 8px; }
.scroll-actions button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--text); }
.media-scroll { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; }
.media-card { flex: 0 0 295px; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--card); transition: .25s ease; text-align: left; color: var(--text); padding: 0; appearance: none; }
.media-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(15,23,42,.14); }
.media-card:focus-visible { outline: 3px solid rgba(14,165,233,.35); outline-offset: 3px; }
.media-thumb { height: 175px; background: linear-gradient(135deg, rgba(14,165,233,.22), rgba(0,201,120,.18)); position: relative; display: grid; place-items: center; overflow: hidden; }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-badge { position: absolute; inset: auto 12px 12px auto; background: rgba(0,0,0,.72); color: #fff; border-radius: 999px; padding: 6px 10px; font-weight: 800; font-size: .78rem; display: inline-flex; align-items: center; gap: 5px; }
.media-body { padding: 15px; }
.media-body h4 { font-size: 1rem; font-weight: 800; }
.media-body p { color: var(--muted); margin-bottom: 0; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; min-height: 1.55em; }
.media-more { border: 0; background: transparent; color: var(--blue); font-weight: 800; padding: 0; margin-top: 8px; display: inline-flex; align-items: center; }
.media-more:hover { text-decoration: underline; }
.cyber-mode .media-more { color: var(--emerald); }
.testimonial-list { display: grid; gap: 12px; max-height: 470px; overflow-y: auto; padding-right: 4px; }
.quote-card { border: 1px solid var(--line); border-radius: 20px; padding: 16px; background: rgba(255,255,255,.42); }
.cyber-mode .quote-card { background: rgba(255,255,255,.04); }
.quote-card blockquote { margin: 0 0 12px; font-weight: 700; }
.quote-card small { color: var(--muted); }
.upcoming-panel { padding: 24px; }

.resource-card .btn { width: 100%; margin-top: 12px; }
.contact-section { background: linear-gradient(135deg, var(--soft), var(--bg)); }
.contact-form { padding: 26px; }
.form-control, .form-select { border-radius: 14px; border-color: var(--line); padding: 12px 14px; background: rgba(255,255,255,.88); }
.cyber-mode .form-control, .cyber-mode .form-select { background: rgba(255,255,255,.08); color: var(--text); }
.cyber-mode .form-select option { color: #111; }
.contact-note { padding: 16px; color: var(--muted); }
.footer { background: #07111f; color: #dbeafe; }
.footer p, .footer .small { color: #9fb3c8; }
.footer a { color: #bfdbfe; }
.footer .footer-badges span { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }

::-webkit-scrollbar { height: 10px; width: 10px; }
::-webkit-scrollbar-thumb { background: rgba(14,165,233,.45); border-radius: 999px; }
.cyber-mode ::-webkit-scrollbar-thumb { background: rgba(0,230,118,.45); }

body.modal-open { overflow: hidden; }
.media-modal { position: fixed; inset: 0; z-index: 9999; display: none; padding: 24px; }
.media-modal.open { display: grid; place-items: center; }
.media-modal-backdrop { position: absolute; inset: 0; border: 0; background: rgba(2, 6, 23, .72); backdrop-filter: blur(8px); }
.media-modal-card { position: relative; z-index: 1; width: min(1040px, 100%); max-height: min(760px, 92vh); display: grid; grid-template-columns: 1.15fr .85fr; background: var(--card-solid); color: var(--text); border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 34px 100px rgba(0,0,0,.38); }
.cyber-mode .media-modal-card { background: #0b1628; }
.media-modal-image { min-height: 420px; background: linear-gradient(135deg, rgba(14,165,233,.22), rgba(0,201,120,.18)); display: grid; place-items: center; position: relative; overflow: hidden; }
.media-modal-image img { width: 100%; height: 100%; object-fit: cover; }
.media-modal-content { padding: 34px; overflow-y: auto; }
.media-modal-close { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 1.55rem; line-height: 1; }
.media-modal-caption { color: var(--muted); font-weight: 700; }
.media-modal-description { font-size: 1.04rem; }
.modal-play { inset: auto 16px 16px auto; }

@media (max-width: 991px) {
  .section-pad { padding: 72px 0; }
  .builder-shell, .impact-columns, .phish-game { grid-template-columns: 1fr; }
  .syllabus-card { position: static; }
  .path-meta { grid-template-columns: 1fr 1fr; }
  .mode-panel { align-items: flex-start; flex-direction: column; }
  .media-modal-card { grid-template-columns: 1fr; overflow-y: auto; }
  .media-modal-image { min-height: 300px; }
}
@media (max-width: 576px) {
  .hero-section { padding-top: 110px; }
  .hero-title { font-size: 2.55rem; }
  .path-meta { grid-template-columns: 1fr; }
  .media-card { flex-basis: 84%; }
  .terminal-line { flex-direction: column; gap: 2px; }
  .nav-cta { display: inline-block; margin-top: 8px; }
  .session-rail { grid-template-columns: 1fr; }
  .rail-btn { display: none; }
  .session-meta-line { gap: 10px; align-items: flex-start; flex-direction: column; }
  .media-modal { padding: 12px; }
  .media-modal-content { padding: 24px; }
}


/* =========================================================
   DEFAULT CYBER THEME POLISH
   This block intentionally keeps Cyber Mode dark by default while
   varying section backgrounds so the site does not become one flat colour.
   ========================================================= */
.cyber-mode body,
body.cyber-mode {
  background:
    radial-gradient(circle at 8% 4%, rgba(14,165,233,.10), transparent 30%),
    radial-gradient(circle at 92% 0%, rgba(0,230,118,.07), transparent 28%),
    #07111f;
}

.cyber-mode .app-nav {
  background: rgba(5, 12, 24, 0.92);
  border-bottom-color: rgba(148, 163, 184, 0.14);
}

.cyber-mode .navbar-toggler-icon {
  filter: invert(1) grayscale(1) brightness(1.8);
}

.cyber-mode .navbar-toggler:focus {
  box-shadow: 0 0 0 .2rem rgba(14,165,233,.25);
}

.cyber-mode .section-pad:not(.dark-feature-section):not(.accent-feature-section) {
  background: var(--panel-gradient);
}

.cyber-mode #stats {
  background:
    radial-gradient(circle at 14% 20%, rgba(14,165,233,.12), transparent 32%),
    linear-gradient(180deg, #07111f 0%, #0b1628 100%);
}

.cyber-mode #about,
.cyber-mode #topics {
  background:
    radial-gradient(circle at 82% 12%, rgba(0,230,118,.07), transparent 28%),
    radial-gradient(circle at 16% 82%, rgba(14,165,233,.10), transparent 34%),
    linear-gradient(180deg, #081423 0%, #061426 100%);
}

.cyber-mode .soft-section {
  background: var(--soft-gradient) !important;
}

.cyber-mode #credentials {
  background:
    radial-gradient(circle at 16% 12%, rgba(14,165,233,.12), transparent 30%),
    linear-gradient(135deg, #081423 0%, #0b1d31 50%, #07111f 100%) !important;
}

.credential-card {
  height: 100%;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.9), rgba(248,250,252,0.78));
  box-shadow: var(--shadow), var(--glow);
  backdrop-filter: blur(18px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.credential-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.36);
  box-shadow:
    0 22px 60px rgba(15, 23, 42, 0.14),
    0 0 28px rgba(14, 165, 233, 0.12);
}

.cyber-mode .credential-card {
  background:
    linear-gradient(145deg, rgba(12, 27, 47, 0.92), rgba(5, 15, 29, 0.84));
  border-color: rgba(14, 165, 233, 0.16);
}

.cyber-mode .credential-card:hover {
  border-color: rgba(0, 230, 118, 0.32);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.42),
    0 0 32px rgba(0, 230, 118, 0.10);
}

.credential-provider {
  display: inline-flex;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-2);
}

.cyber-mode .credential-provider {
  color: var(--emerald);
}

.credential-card h3 {
  margin-bottom: 0.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cyber-mode #builder,
.cyber-mode #audiences,
.cyber-mode #resources {
  background:
    radial-gradient(circle at top left, rgba(14,165,233,.10), transparent 30%),
    radial-gradient(circle at bottom right, rgba(0,230,118,.08), transparent 34%),
    linear-gradient(180deg, #091a2e 0%, #07111f 100%) !important;
}

.cyber-mode .impact-section {
  background:
    radial-gradient(circle at 20% 10%, rgba(14,165,233,.16), transparent 32%),
    radial-gradient(circle at 78% 72%, rgba(0,230,118,.09), transparent 34%),
    linear-gradient(180deg, #07111f 0%, #0a192f 48%, #061426 100%) !important;
}

.cyber-mode .contact-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(0,230,118,.09), transparent 30%),
    radial-gradient(circle at 88% 25%, rgba(14,165,233,.13), transparent 34%),
    linear-gradient(135deg, #061426 0%, #0b1628 52%, #050b14 100%) !important;
}

.cyber-mode .section-heading h2,
.cyber-mode .profile-card h2,
.cyber-mode .contact-section h2,
.cyber-mode .upcoming-panel h3,
.cyber-mode .impact-summary h3,
.cyber-mode .path-panel h3,
.cyber-mode .syllabus-card h3 {
  color: #f8fafc;
}

.cyber-mode .section-heading p,
.cyber-mode .profile-card p,
.cyber-mode .contact-section p,
.cyber-mode .path-panel,
.cyber-mode .selected-summary {
  color: #9fb3c8;
}

.cyber-mode .mode-panel,
.cyber-mode .terminal-card,
.cyber-mode .card-lite,
.cyber-mode .topic-card,
.cyber-mode .stat-card,
.cyber-mode .profile-card,
.cyber-mode .builder-shell,
.cyber-mode .syllabus-card,
.cyber-mode .path-panel,
.cyber-mode .impact-card,
.cyber-mode .upcoming-panel,
.cyber-mode .contact-form,
.cyber-mode .contact-note,
.cyber-mode .resource-card {
  background: rgba(12, 27, 47, 0.74);
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 22px 80px rgba(0, 0, 0, .34), 0 0 34px rgba(14, 165, 233, .08);
}

.cyber-mode .card-lite:hover,
.cyber-mode .topic-card:hover,
.cyber-mode .stat-card:hover,
.cyber-mode .resource-card:hover,
.cyber-mode .profile-card:hover,
.cyber-mode .impact-card:hover,
.cyber-mode .contact-form:hover {
  border-color: rgba(14, 165, 233, .38);
  box-shadow: 0 26px 90px rgba(0, 0, 0, .42), 0 0 42px rgba(14, 165, 233, .12);
}

.cyber-mode .control-group,
.cyber-mode .path-meta div,
.cyber-mode .quote-card,
.cyber-mode .media-card,
.cyber-mode .session-tab,
.cyber-mode .path-tab,
.cyber-mode .option-button,
.cyber-mode .trust-badges span,
.cyber-mode .footer-badges span {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(148, 163, 184, 0.15);
  color: var(--text);
}

.cyber-mode .option-button.active,
.cyber-mode .path-tab.active,
.cyber-mode .session-tab.active {
  background: linear-gradient(135deg, var(--emerald), var(--blue-2));
  color: #04101d;
  border-color: rgba(0, 230, 118, .48);
}

.cyber-mode .form-control,
.cyber-mode .form-select,
.cyber-mode textarea.form-control {
  background: rgba(255,255,255,.075);
  border-color: rgba(148, 163, 184, .18);
  color: #e5f5ff;
}

.cyber-mode .form-control::placeholder,
.cyber-mode textarea.form-control::placeholder {
  color: rgba(203, 213, 225, .58);
}

.cyber-mode .form-control:focus,
.cyber-mode .form-select:focus,
.cyber-mode textarea.form-control:focus {
  background: rgba(255,255,255,.10);
  border-color: rgba(14,165,233,.52);
  color: #f8fafc;
  box-shadow: 0 0 0 .22rem rgba(14,165,233,.16);
}

.cyber-mode .form-label {
  color: #dbeafe;
  font-weight: 700;
}

.cyber-mode .btn-outline-custom {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(148,163,184,.18);
  color: #e5f5ff;
}

.cyber-mode .btn-outline-custom:hover {
  background: rgba(14,165,233,.12);
  border-color: rgba(14,165,233,.42);
  color: #f8fafc;
}

.cyber-mode .bg-dark-subtle,
.cyber-mode .bg-light,
.cyber-mode .bg-white,
.cyber-mode .text-bg-light {
  background: rgba(255,255,255,.055) !important;
  color: #dbeafe !important;
}

.cyber-mode .text-secondary {
  color: #93a9c7 !important;
}

.cyber-mode .footer {
  background:
    radial-gradient(circle at 20% 0%, rgba(14,165,233,.10), transparent 30%),
    #050b14;
}



.profile-rectangle {
  width: 100%;
  max-width: 420px;
  height: 420px;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(14, 165, 233, 0.22);
  box-shadow:
    0 24px 70px rgba(15, 23, 42, 0.18),
    0 0 32px rgba(14, 165, 233, 0.12);
}

.cyber-mode .profile-rectangle {
  border-color: rgba(0, 230, 118, 0.24);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(0, 230, 118, 0.10);
}

.leisure-card {
  padding: 1.25rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.78), rgba(248,250,252,0.58));
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.cyber-mode .leisure-card {
  background:
    linear-gradient(145deg, rgba(12, 27, 47, 0.72), rgba(5, 15, 29, 0.62));
  border-color: rgba(14, 165, 233, 0.16);
}

.leisure-card p:not(.eyebrow) {
  color: var(--muted);
}

.interest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.interest-tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(14, 165, 233, 0.08);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 800;
}

.cyber-mode .interest-tags span {
  background: rgba(0, 230, 118, 0.075);
  border-color: rgba(0, 230, 118, 0.16);
  color: #dffef2;
}

.interest-tags svg {
  width: 15px;
  height: 15px;
}

.profile-card img.profile-pic,
img.profile-pic {
  display: block;
  width: 100%;
  max-width: 430px;
  height: 460px;
  object-fit: cover;
  object-position: center;
  border-radius: 28px !important;
  border: 1px solid rgba(14, 165, 233, 0.24);
  box-shadow:
    0 24px 70px rgba(15, 23, 42, 0.18),
    0 0 32px rgba(14, 165, 233, 0.12);
}

.cyber-mode .profile-card img.profile-pic,
.cyber-mode img.profile-pic {
  border-color: rgba(0, 230, 118, 0.26);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(0, 230, 118, 0.12);
}

@media (max-width: 576px) {
  .profile-card img.profile-pic,
  img.profile-pic {
    max-width: 100%;
    height: 360px;
    border-radius: 22px !important;
  }
}
/* ===== Sun/Moon top theme toggle ===== */
.theme-icon-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-icon-track {
  position: relative;
  width: 76px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.theme-icon {
  position: relative;
  z-index: 2;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
}

.theme-icon svg {
  width: 17px;
  height: 17px;
}

.sun-icon { color: #f59e0b; }
.moon-icon { color: #93c5fd; }

.theme-icon-thumb {
  position: absolute;
  z-index: 1;
  top: 4px;
  left: 38px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.95), transparent 28%),
    linear-gradient(135deg, var(--blue-2), var(--emerald-2));
  box-shadow:
    0 0 20px rgba(0, 230, 118, 0.35),
    0 8px 20px rgba(0, 0, 0, 0.25);
  transition: left 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.professional-mode .theme-icon-track {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(14, 165, 233, 0.24);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
}

.professional-mode .theme-icon-thumb {
  left: 7px;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.95), transparent 28%),
    linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow:
    0 0 16px rgba(245, 158, 11, 0.30),
    0 8px 18px rgba(15, 23, 42, 0.15);
}

.cyber-mode .theme-icon-track {
  background: rgba(0, 230, 118, 0.08);
  border-color: rgba(0, 230, 118, 0.25);
}

.theme-icon-toggle:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.38);
  outline-offset: 4px;
  border-radius: 999px;
}

.cyber-mode .theme-icon-toggle:focus-visible {
  outline-color: rgba(0, 230, 118, 0.42);
}

/* ===== Desktop side timeline navigation ===== */
.side-timeline-nav {
  position: fixed;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.side-timeline-nav::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 9px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(14, 165, 233, 0.35),
    rgba(0, 230, 118, 0.35),
    transparent
  );
}

.timeline-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--muted);
}

.timeline-dot {
  position: relative;
  z-index: 2;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid rgba(148, 163, 184, 0.72);
  background: var(--bg);
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.06);
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.timeline-label {
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: var(--shadow);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.timeline-link:hover .timeline-label,
.timeline-link:focus-visible .timeline-label,
.timeline-link.active .timeline-label {
  opacity: 1;
  transform: translateX(0);
}

.timeline-link:hover .timeline-dot,
.timeline-link:focus-visible .timeline-dot {
  transform: scale(1.08);
}

.timeline-link.active .timeline-dot {
  border-color: var(--emerald-2);
  background: var(--emerald-2);
  box-shadow:
    0 0 0 5px rgba(0, 230, 118, 0.13),
    0 0 18px rgba(0, 230, 118, 0.58);
}

.professional-mode .timeline-link.active .timeline-dot {
  border-color: var(--blue-2);
  background: var(--blue-2);
  box-shadow:
    0 0 0 5px rgba(14, 165, 233, 0.13),
    0 0 18px rgba(14, 165, 233, 0.38);
}

.cyber-mode .timeline-dot {
  background: #061426;
  border-color: rgba(0, 230, 118, 0.36);
}

.cyber-mode .timeline-label {
  background: rgba(6, 20, 38, 0.92);
  border-color: rgba(0, 230, 118, 0.18);
  color: #eafff6;
}

@media (max-width: 1100px) {
  .side-timeline-nav {
    display: none;
  }
}

@media (max-width: 991px) {
  .theme-icon-toggle {
    margin-top: 0.75rem;
    width: 100%;
    justify-content: flex-start;
  }
}

/* ===== PATCH: clearer sun/moon toggle + left timeline navigation ===== */
.theme-icon-toggle {
  position: relative;
  min-width: 76px;
}

.theme-icon-track {
  overflow: hidden;
}

.theme-icon-toggle .sun-icon,
.theme-icon-toggle .moon-icon {
  opacity: 0.46;
  transform: scale(0.92);
  transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
}

.cyber-mode .theme-icon-toggle .moon-icon {
  opacity: 1;
  transform: scale(1.08);
  filter: drop-shadow(0 0 8px rgba(147, 197, 253, 0.85));
}

.professional-mode .theme-icon-toggle .sun-icon {
  opacity: 1;
  transform: scale(1.08);
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.85));
}

.cyber-mode .theme-icon-thumb {
  left: 38px;
}

.professional-mode .theme-icon-thumb {
  left: 7px;
}

.theme-icon-toggle:hover .theme-icon-track {
  transform: translateY(-1px);
}

@media (min-width: 1200px) {
  :root {
    --side-nav-width: 210px;
  }

  body {
    padding-left: var(--side-nav-width);
  }

  .app-nav {
    left: var(--side-nav-width);
    width: calc(100% - var(--side-nav-width));
  }

  .side-timeline-nav {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--side-nav-width);
    transform: none;
    z-index: 910;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.52rem;
    padding: 92px 18px 28px 22px;
    background:
      radial-gradient(circle at 20% 12%, rgba(14, 165, 233, 0.16), transparent 34%),
      linear-gradient(180deg, rgba(4, 11, 22, 0.94), rgba(7, 17, 31, 0.96));
    border-right: 1px solid rgba(0, 230, 118, 0.14);
    box-shadow: 18px 0 60px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
    overflow-y: auto;
  }

  .professional-mode .side-timeline-nav {
    background:
      radial-gradient(circle at 20% 12%, rgba(14, 165, 233, 0.12), transparent 34%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 248, 252, 0.96));
    border-right: 1px solid rgba(14, 165, 233, 0.14);
    box-shadow: 18px 0 55px rgba(15, 23, 42, 0.08);
  }

  .timeline-title {
    margin: 0 0 0.55rem 1.8rem;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .side-timeline-nav::before {
    top: 128px;
    bottom: 54px;
    left: 31px;
    width: 2px;
    background: linear-gradient(
      to bottom,
      rgba(14, 165, 233, 0.05),
      rgba(14, 165, 233, 0.38),
      rgba(0, 230, 118, 0.42),
      rgba(14, 165, 233, 0.08)
    );
  }

  .timeline-link {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: center;
    gap: 0.72rem;
    min-height: 30px;
    padding: 0.18rem 0.25rem 0.18rem 0;
    border-radius: 999px;
  }

  .timeline-dot {
    width: 19px;
    height: 19px;
    background: #071426;
    border: 2px solid rgba(148, 163, 184, 0.48);
    box-shadow: 0 0 0 4px rgba(7, 17, 31, 0.85);
  }

  .professional-mode .timeline-dot {
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(248, 250, 252, 0.96);
  }

  .timeline-label {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    width: 100%;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    color: var(--muted);
    font-size: 0.77rem;
    font-weight: 850;
  }

  .timeline-link:hover .timeline-label,
  .timeline-link:focus-visible .timeline-label,
  .timeline-link.active .timeline-label {
    opacity: 1;
    transform: none;
  }

  .timeline-link:hover .timeline-label,
  .timeline-link:focus-visible .timeline-label {
    color: var(--text);
    background: rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.16);
  }

  .cyber-mode .timeline-link:hover .timeline-label,
  .cyber-mode .timeline-link:focus-visible .timeline-label {
    color: #eafff6;
    background: rgba(0, 230, 118, 0.075);
    border-color: rgba(0, 230, 118, 0.16);
  }

  .timeline-link.active .timeline-label {
    color: #04101d;
    background: linear-gradient(135deg, var(--emerald-2), var(--blue-2));
    border-color: rgba(0, 230, 118, 0.55);
    box-shadow: 0 12px 26px rgba(0, 230, 118, 0.13);
  }

  .professional-mode .timeline-link.active .timeline-label {
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    border-color: rgba(14, 165, 233, 0.45);
    box-shadow: 0 12px 26px rgba(14, 165, 233, 0.16);
  }

  .timeline-link.active .timeline-dot {
    transform: scale(1.08);
    border-color: #eafff6;
    background: var(--emerald-2);
    box-shadow:
      0 0 0 5px rgba(0, 230, 118, 0.14),
      0 0 22px rgba(0, 230, 118, 0.72);
  }

  .professional-mode .timeline-link.active .timeline-dot {
    border-color: #ffffff;
    background: var(--blue-2);
    box-shadow:
      0 0 0 5px rgba(14, 165, 233, 0.14),
      0 0 20px rgba(14, 165, 233, 0.45);
  }
}

@media (max-width: 1199px) {
  .side-timeline-nav {
    display: none !important;
  }
}


/* ===== FINAL PATCH: cyber-only sidebar navigation ===== */
/* The site is now cyber-mode only. The old top navbar, mode toggle, and footer are removed from HTML. */
:root {
  --side-nav-width: 184px;
  --side-page-gap: 22px;
}

html {
  scroll-padding-top: 18px;
}

body.cyber-mode {
  background:
    radial-gradient(circle at 3% 12%, rgba(0, 230, 118, 0.08), transparent 26%),
    radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.12), transparent 30%),
    #07111f;
}

.app-nav,
.theme-icon-toggle,
.footer {
  display: none !important;
}

@media (min-width: 1180px) {
  body {
    padding-left: calc(var(--side-nav-width) + var(--side-page-gap));
  }

  main {
    position: relative;
  }

  /* A subtle breathing space between sidebar and content that uses the page's own dark atmosphere. */
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: var(--side-nav-width);
    width: var(--side-page-gap);
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    background:
      linear-gradient(90deg, rgba(7, 17, 31, 0.42), rgba(7, 17, 31, 0)),
      radial-gradient(circle at 0% 30%, rgba(0, 230, 118, 0.055), transparent 70%);
  }

  .side-timeline-nav {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--side-nav-width);
    z-index: 950;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 1.05rem;
    padding: 1.15rem 0.88rem 1rem 1rem;
    overflow: hidden;
    background:
      radial-gradient(circle at 22% 8%, rgba(0, 230, 118, 0.11), transparent 35%),
      radial-gradient(circle at 80% 92%, rgba(14, 165, 233, 0.12), transparent 38%),
      linear-gradient(180deg, rgba(5, 12, 24, 0.82), rgba(7, 17, 31, 0.90));
    border-right: 1px solid rgba(0, 230, 118, 0.12);
    box-shadow: 14px 0 46px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(20px);
  }

  .side-timeline-nav::before {
    content: "";
    position: absolute;
    top: 128px;
    bottom: 118px;
    left: 25px;
    width: 2px;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(14, 165, 233, 0.36),
      rgba(0, 230, 118, 0.48),
      transparent
    );
    pointer-events: none;
  }

  .sidebar-brand {
    position: relative;
    z-index: 2;
    padding-bottom: 0.88rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .sidebar-logo {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0.68rem;
    align-items: center;
    color: #eafff6;
    text-decoration: none;
  }

  .sidebar-logo:hover {
    color: #eafff6;
  }

  .sidebar-logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    color: #04101d;
    background: linear-gradient(135deg, var(--emerald-2), var(--blue-2));
    box-shadow: 0 0 24px rgba(0, 230, 118, 0.22);
  }

  .sidebar-logo strong {
    display: block;
    line-height: 1;
    font-size: 0.98rem;
    letter-spacing: -0.03em;
  }

  .sidebar-logo small,
  .sidebar-brand p {
    display: block;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.72rem;
  }

  .sidebar-brand p {
    margin: 0.62rem 0 0;
    line-height: 1.35;
  }

  .timeline-title {
    display: none !important;
  }

  .timeline-nav-links {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.34rem;
    min-height: 0;
    overflow-y: auto;
    padding: 0.1rem 0.05rem 0.2rem 0;
    scrollbar-width: thin;
  }

  .timeline-link {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: center;
    gap: 0.62rem;
    min-height: 27px;
    padding: 0.08rem 0.2rem 0.08rem 0;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
  }

  .timeline-dot {
    position: relative;
    z-index: 2;
    width: 17px;
    height: 17px;
    border-radius: 999px;
    border: 2px solid rgba(148, 163, 184, 0.42);
    background: #071426;
    box-shadow: 0 0 0 4px rgba(7, 17, 31, 0.86);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  }

  .timeline-label {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
    width: 100%;
    padding: 0.31rem 0.54rem;
    border-radius: 999px;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 850;
    white-space: nowrap;
  }

  .timeline-link:hover .timeline-label,
  .timeline-link:focus-visible .timeline-label {
    color: #eafff6;
    background: rgba(0, 230, 118, 0.075);
    border-color: rgba(0, 230, 118, 0.16);
  }

  .timeline-link.active .timeline-label {
    color: #04101d;
    background: linear-gradient(135deg, var(--emerald-2), var(--blue-2));
    border-color: rgba(0, 230, 118, 0.55);
    box-shadow: 0 12px 26px rgba(0, 230, 118, 0.13);
  }

  .timeline-link.active .timeline-dot {
    transform: scale(1.08);
    border-color: #eafff6;
    background: var(--emerald-2);
    box-shadow:
      0 0 0 5px rgba(0, 230, 118, 0.14),
      0 0 22px rgba(0, 230, 118, 0.72);
  }

  .sidebar-socials {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding-top: 0.86rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .sidebar-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.52rem;
    min-height: 36px;
    padding: 0.48rem 0.62rem;
    border-radius: 999px;
    text-decoration: none;
    color: #dffef2;
    font-size: 0.74rem;
    font-weight: 850;
    border: 1px solid rgba(0, 230, 118, 0.14);
    background: rgba(255,255,255,0.035);
  }

  .sidebar-socials a:hover,
  .sidebar-socials a:focus-visible {
    color: #04101d;
    background: linear-gradient(135deg, var(--emerald-2), var(--blue-2));
    border-color: rgba(0, 230, 118, 0.55);
    transform: translateY(-1px);
  }

  .sidebar-socials svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
  }

  .hero-section {
    padding-top: 96px;
  }
}

@media (min-width: 1180px) and (max-height: 760px) {
  .side-timeline-nav {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    gap: 0.65rem;
  }

  .sidebar-brand p {
    display: none;
  }

  .timeline-link {
    min-height: 24px;
  }

  .timeline-label {
    font-size: 0.68rem;
    padding-block: 0.22rem;
  }

  .side-timeline-nav::before {
    top: 96px;
    bottom: 100px;
  }

  .sidebar-socials a {
    min-height: 32px;
    padding-block: 0.36rem;
  }
}

@media (max-width: 1179px) {
  body {
    padding-left: 0;
  }

  .side-timeline-nav {
    position: sticky;
    top: 0;
    z-index: 940;
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 0.8rem 0.85rem;
    background: rgba(5, 12, 24, 0.92);
    border-bottom: 1px solid rgba(0, 230, 118, 0.14);
    backdrop-filter: blur(18px);
  }

  .sidebar-brand {
    display: none;
  }

  .side-timeline-nav::before,
  .timeline-dot {
    display: none !important;
  }

  .timeline-nav-links {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
  }

  .timeline-link {
    flex: 0 0 auto;
    text-decoration: none;
  }

  .timeline-label {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
    display: inline-flex;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 230, 118, 0.16);
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 850;
    background: rgba(255,255,255,0.035);
  }

  .timeline-link.active .timeline-label {
    color: #04101d;
    background: linear-gradient(135deg, var(--emerald-2), var(--blue-2));
    border-color: rgba(0, 230, 118, 0.55);
  }

  .sidebar-socials {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
  }

  .sidebar-socials a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.65rem;
    border-radius: 999px;
    text-decoration: none;
    color: #dffef2;
    border: 1px solid rgba(0, 230, 118, 0.14);
    background: rgba(255,255,255,0.035);
    font-size: 0.74rem;
    font-weight: 850;
  }

  .sidebar-socials svg {
    width: 14px;
    height: 14px;
  }
}



/* =========================================================
   FINAL NAV + BUTTON FIXES
   - Sidebar labels are always visible (no hover-only navigation).
   - Social icons use inline SVGs, so they do not depend on Lucide brand icons.
   - Sidebar is the only navigation and has stable spacing from the page.
   ========================================================= */

:root {
  --sidebar-width: 224px;
  --sidebar-gap: 20px;
  --content-offset: calc(var(--sidebar-width) + var(--sidebar-gap));
}

.app-nav,
.theme-icon-toggle,
.theme-toggle-top,
.footer {
  display: none !important;
}

body.cyber-mode {
  padding-left: 0;
  background:
    radial-gradient(circle at 3% 3%, rgba(0, 230, 118, 0.08), transparent 26%),
    radial-gradient(circle at 24% 12%, rgba(14, 165, 233, 0.08), transparent 28%),
    #07111f;
}

@media (min-width: 1180px) {
  html { scroll-padding-top: 0; }

  main {
    margin-left: var(--content-offset) !important;
    width: calc(100% - var(--content-offset));
    position: relative;
  }

  main::before {
    content: "";
    position: fixed;
    left: var(--sidebar-width);
    top: 0;
    bottom: 0;
    width: var(--sidebar-gap);
    pointer-events: none;
    z-index: 1;
    background:
      linear-gradient(90deg,
        rgba(7,17,31,0.95) 0%,
        rgba(7,17,31,0.55) 45%,
        rgba(7,17,31,0) 100%);
  }

  .side-timeline-nav {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    width: var(--sidebar-width) !important;
    height: 100vh;
    z-index: 950;
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
    padding: 1.1rem 1rem;
    background:
      radial-gradient(circle at 12% 6%, rgba(0, 230, 118, 0.12), transparent 34%),
      radial-gradient(circle at 85% 22%, rgba(14, 165, 233, 0.12), transparent 30%),
      rgba(5, 12, 24, 0.88);
    border-right: 1px solid rgba(0, 230, 118, 0.14);
    box-shadow: 18px 0 45px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
    overflow: hidden;
  }

  .side-timeline-nav::before {
    content: "";
    position: absolute;
    left: 1.66rem !important;
    top: 8.8rem !important;
    bottom: 6.4rem !important;
    width: 2px !important;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(14, 165, 233, 0.38),
      rgba(0, 230, 118, 0.45),
      transparent
    ) !important;
    display: block !important;
  }

  .sidebar-brand {
    display: block !important;
    padding: 0.35rem 0.15rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    color: #eafff6;
    text-decoration: none;
  }

  .sidebar-logo-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #04101d;
    font-weight: 900;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, var(--emerald-2), var(--blue-2));
    box-shadow: 0 0 26px rgba(0, 230, 118, 0.22);
  }

  .sidebar-logo strong,
  .sidebar-logo small {
    display: block;
    line-height: 1.05;
  }

  .sidebar-logo strong { font-size: 1rem; }
  .sidebar-logo small { color: var(--muted); font-weight: 800; }
  .sidebar-brand p { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.78rem; }

  .timeline-nav-links {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    overflow-y: auto;
    padding-right: 0.1rem;
  }

  .timeline-link {
    min-height: 34px;
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: center;
    gap: 0.62rem;
    padding: 0.25rem 0.42rem;
    color: var(--muted);
    text-decoration: none;
    border-radius: 999px;
    position: relative;
  }

  .timeline-link:hover,
  .timeline-link:focus-visible {
    background: rgba(255,255,255,0.045);
    color: #dffef2;
  }

  .timeline-dot {
    display: block !important;
    position: relative;
    z-index: 2;
    width: 14px;
    height: 14px;
    margin-left: 0.13rem;
    border-radius: 999px;
    border: 2px solid rgba(0, 230, 118, 0.34);
    background: #07111f;
    box-shadow: 0 0 0 4px rgba(7, 17, 31, 0.96);
    flex: 0 0 auto;
  }

  .timeline-label {
    opacity: 1 !important;
    max-width: none !important;
    transform: none !important;
    pointer-events: auto !important;
    display: block !important;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font-size: 0.76rem;
    font-weight: 850;
    white-space: nowrap;
  }

  .timeline-link.active {
    color: #04101d;
    background: linear-gradient(135deg, var(--emerald-2), var(--blue-2));
    box-shadow: 0 0 24px rgba(0, 230, 118, 0.12);
  }

  .timeline-link.active .timeline-dot {
    background: #04101d;
    border-color: #04101d;
    box-shadow:
      0 0 0 4px rgba(0, 230, 118, 0.30),
      0 0 20px rgba(0, 230, 118, 0.70);
  }

  .sidebar-socials {
    margin-top: auto;
    display: flex !important;
    justify-content: center;
    gap: 0.58rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .sidebar-socials a {
    width: 40px;
    height: 40px;
    display: grid !important;
    place-items: center;
    padding: 0 !important;
    border-radius: 999px;
    color: #dffef2;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(0, 230, 118, 0.16);
    text-decoration: none;
  }

  .sidebar-socials a:hover,
  .sidebar-socials a:focus-visible {
    color: #04101d;
    background: linear-gradient(135deg, var(--emerald-2), var(--blue-2));
    border-color: transparent;
    transform: translateY(-2px);
  }

  .sidebar-socials svg {
    width: 19px !important;
    height: 19px !important;
    fill: currentColor;
    display: block;
  }

  .hero-section { padding-top: 96px !important; }
}

@media (max-width: 1179px) {
  main {
    margin-left: 0 !important;
    width: 100% !important;
  }

  .side-timeline-nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 940;
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.66rem;
    padding: 0.72rem 0.82rem;
    background:
      linear-gradient(180deg, rgba(5, 12, 24, 0.96), rgba(5, 12, 24, 0.88));
    border-bottom: 1px solid rgba(0, 230, 118, 0.14);
    backdrop-filter: blur(18px);
  }

  .sidebar-brand { display: none !important; }
  .side-timeline-nav::before,
  .timeline-dot { display: none !important; }

  .timeline-nav-links {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
  }

  .timeline-link {
    flex: 0 0 auto;
    text-decoration: none;
  }

  .timeline-label {
    opacity: 1 !important;
    transform: none !important;
    max-width: none !important;
    pointer-events: auto !important;
    display: inline-flex !important;
    padding: 0.48rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 230, 118, 0.16);
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 850;
    white-space: nowrap;
    background: rgba(255,255,255,0.035);
  }

  .timeline-link.active .timeline-label {
    color: #04101d;
    background: linear-gradient(135deg, var(--emerald-2), var(--blue-2));
    border-color: rgba(0, 230, 118, 0.55);
  }

  .sidebar-socials {
    display: flex !important;
    gap: 0.5rem;
    overflow-x: auto;
  }

  .sidebar-socials a {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: grid !important;
    place-items: center;
    border-radius: 999px;
    text-decoration: none;
    color: #dffef2;
    border: 1px solid rgba(0, 230, 118, 0.14);
    background: rgba(255,255,255,0.045);
  }

  .sidebar-socials svg {
    width: 18px !important;
    height: 18px !important;
    fill: currentColor;
    display: block;
  }

  .hero-section { padding-top: 70px !important; }
}

/* =========================================================
   FINAL ICON + MOBILE NAV PATCH
   - Meaningful icons in timeline, workshop builder, paths, credentials.
   - No hover-only nav. Desktop labels are always visible.
   - Mobile uses a tap-to-open compact nav because hover is not reliable on phones.
   - Brand social icons use inline SVG fill so LinkedIn/Instagram/Mail always appear.
   ========================================================= */

.timeline-icon {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: var(--emerald-2);
  background: rgba(0, 230, 118, 0.075);
  border: 1px solid rgba(0, 230, 118, 0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.timeline-icon svg {
  width: 14px;
  height: 14px;
}

.timeline-link {
  grid-template-columns: 18px 28px minmax(0, 1fr) !important;
}

.timeline-link.active .timeline-icon {
  color: #04101d;
  background: rgba(255,255,255,.88);
  border-color: rgba(255,255,255,.55);
}

.sidebar-menu-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 1px solid rgba(0, 230, 118, 0.18);
  color: #eafff6;
  background: rgba(255,255,255,.055);
  border-radius: 999px;
  padding: .62rem .82rem;
  font-weight: 900;
  letter-spacing: .01em;
}

.sidebar-menu-toggle:hover,
.sidebar-menu-toggle:focus-visible {
  background: rgba(0, 230, 118, 0.10);
  border-color: rgba(0, 230, 118, 0.38);
}

.sidebar-menu-icon {
  display: inline-grid;
  place-items: center;
}

.sidebar-menu-icon svg {
  width: 18px;
  height: 18px;
}

/* Stronger social icon visibility */
.sidebar-socials a svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  fill: currentColor !important;
  stroke: none !important;
}

/* Credential provider mini-brand marks */
.credential-provider-row {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .48rem;
}

.brand-provider-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  font-size: .82rem;
  font-weight: 950;
  background: rgba(255,255,255,.065);
  border: 1px solid rgba(255,255,255,.10);
  color: #eafff6;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.google-provider span {
  font-family: Inter, system-ui, sans-serif;
  background: conic-gradient(from 45deg, #4285f4, #34a853, #fbbc05, #ea4335, #4285f4);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 1rem;
}

.microsoft-provider {
  grid-template-columns: repeat(2, 8px);
  grid-template-rows: repeat(2, 8px);
  gap: 2px;
  padding: 6px;
}
.microsoft-provider span:nth-child(1) { background: #f35325; }
.microsoft-provider span:nth-child(2) { background: #81bc06; }
.microsoft-provider span:nth-child(3) { background: #05a6f0; }
.microsoft-provider span:nth-child(4) { background: #ffba08; }
.microsoft-provider span { width: 8px; height: 8px; border-radius: 2px; }

.ibm-provider {
  color: #9fd5ff;
  letter-spacing: .04em;
  font-size: .72rem;
}

.harvard-provider {
  background: linear-gradient(135deg, #7f1d1d, #ef4444);
  color: #fff7ed;
}

.swayam-provider {
  background: linear-gradient(135deg, #f59e0b, #0ea5e9);
  color: #061426;
}

.community-provider svg {
  width: 16px;
  height: 16px;
}

/* Buttons now carry meaningful icons */
.option-button,
.path-tab,
.session-tab .session-date,
.session-tab .session-title,
.path-panel h3,
.path-meta strong {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
}

.option-button svg,
.path-tab svg,
.session-tab svg,
.path-panel h3 svg,
.path-meta strong svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.option-button {
  min-height: 42px;
}

.option-button svg {
  color: var(--emerald-2);
}

.option-button.active svg {
  color: #04101d;
}

.path-tab {
  justify-content: flex-start;
}

.path-tab svg {
  color: var(--emerald-2);
}

.path-tab.active svg {
  color: #04101d;
}

.session-tab .session-date svg,
.session-tab .session-title svg {
  color: var(--emerald-2);
}

.session-tab.active .session-date svg,
.session-tab.active .session-title svg {
  color: #04101d;
}

/* Desktop: labels always visible, enough structure, no hover-only reveal. */
@media (min-width: 1180px) {
  .sidebar-menu-toggle {
    display: none !important;
  }

  .timeline-nav-links {
    gap: .38rem !important;
  }

  .timeline-label {
    opacity: 1 !important;
    max-width: none !important;
    transform: none !important;
    pointer-events: auto !important;
  }
}

/* Mobile/tablet: compact bar that opens with tap; no hover dependency. */
@media (max-width: 1179px) {
  .side-timeline-nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 990 !important;
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: .62rem;
    padding: .68rem .82rem !important;
    background: rgba(5, 12, 24, 0.94) !important;
    border-bottom: 1px solid rgba(0, 230, 118, 0.14) !important;
    backdrop-filter: blur(18px);
  }

  .sidebar-brand {
    display: block !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .sidebar-logo {
    grid-template-columns: 34px minmax(0, 1fr) !important;
    gap: .55rem !important;
  }

  .sidebar-logo-mark {
    width: 34px !important;
    height: 34px !important;
    border-radius: 12px !important;
  }

  .sidebar-logo strong {
    font-size: .88rem !important;
  }

  .sidebar-logo small,
  .sidebar-brand p {
    display: none !important;
  }

  .sidebar-menu-toggle {
    display: inline-flex !important;
    width: auto;
    min-width: 92px;
    padding-inline: .78rem;
  }

  .timeline-nav-links,
  .sidebar-socials {
    grid-column: 1 / -1;
    max-height: 0;
    opacity: 0;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    transition: max-height .28s ease, opacity .2s ease, padding .2s ease;
  }

  .side-timeline-nav.mobile-nav-open .timeline-nav-links {
    max-height: 230px;
    opacity: 1;
    display: flex !important;
    flex-wrap: wrap;
    gap: .48rem;
    padding-top: .65rem !important;
    overflow-y: auto !important;
  }

  .side-timeline-nav.mobile-nav-open .sidebar-socials {
    max-height: 80px;
    opacity: 1;
    display: flex !important;
    gap: .5rem;
    padding-top: .62rem !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
  }

  .timeline-link {
    flex: 0 0 auto;
    display: inline-flex !important;
    align-items: center;
    gap: .4rem;
    text-decoration: none;
  }

  .timeline-dot {
    display: none !important;
  }

  .timeline-icon {
    width: 30px;
    height: 30px;
  }

  .timeline-label {
    opacity: 1 !important;
    transform: none !important;
    max-width: none !important;
    pointer-events: auto !important;
    display: inline-flex !important;
    padding: .48rem .7rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 230, 118, 0.16);
    color: var(--muted);
    font-size: .76rem;
    font-weight: 850;
    background: rgba(255,255,255,.035);
  }

  .timeline-link.active .timeline-icon,
  .timeline-link.active .timeline-label {
    color: #04101d !important;
    background: linear-gradient(135deg, var(--emerald-2), var(--blue-2));
    border-color: rgba(0, 230, 118, 0.55);
  }

  .sidebar-socials a {
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
  }

  .hero-section {
    padding-top: 72px !important;
  }
}


/* =========================================================
   FINAL CLEANUP: centered social icons + clean credential cards
   ========================================================= */
.credential-card-clean {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.credential-card-clean > .icon-pill,
.credential-card > .icon-pill:first-child {
  display: none !important;
}

.credential-provider-row {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  margin-bottom: 0.55rem;
}

.brand-provider-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  line-height: 1;
}

.credential-card-clean h3 {
  margin-bottom: 0.45rem;
}

/* Force LinkedIn / Instagram / Email icons to sit exactly in the visual center. */
.sidebar-socials {
  align-items: center !important;
}

.sidebar-socials a {
  display: inline-grid !important;
  place-items: center !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.sidebar-socials a svg {
  display: block !important;
  width: 19px !important;
  height: 19px !important;
  margin: 0 auto !important;
  transform: none !important;
  fill: currentColor !important;
  stroke: none !important;
}

@media (min-width: 1180px) {
  .sidebar-socials {
    display: flex !important;
    justify-content: center !important;
    gap: 0.58rem !important;
  }

  .sidebar-socials a {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    flex: 0 0 42px !important;
  }
}

@media (max-width: 1179px) {
  .side-timeline-nav.mobile-nav-open .sidebar-socials {
    align-items: center !important;
  }

  .sidebar-socials a {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    flex: 0 0 42px !important;
  }
}

/* =========================================================
   FINAL MOBILE NAV RESPONSIVE PATCH
   Desktop keeps the left sidebar. Phones/tablets use a compact
   sticky top navigation with one horizontal scroll row.
   ========================================================= */
@media (max-width: 1179px) {
  html {
    scroll-padding-top: 116px !important;
  }

  main {
    margin-left: 0 !important;
    width: 100% !important;
  }

  .side-timeline-nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "brand socials"
      "links links" !important;
    align-items: center !important;
    gap: 0.62rem 0.7rem !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    padding: 0.68rem 0.85rem 0.72rem !important;
    background:
      radial-gradient(circle at 10% 0%, rgba(0, 230, 118, 0.09), transparent 38%),
      radial-gradient(circle at 90% 0%, rgba(14, 165, 233, 0.10), transparent 36%),
      rgba(5, 12, 24, 0.97) !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(0, 230, 118, 0.16) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22) !important;
    backdrop-filter: blur(18px) !important;
    overflow: hidden !important;
  }

  .side-timeline-nav::before,
  .timeline-dot,
  .sidebar-menu-toggle {
    display: none !important;
  }

  .sidebar-brand {
    grid-area: brand !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    min-width: 0 !important;
  }

  .sidebar-logo {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 0.55rem !important;
    text-decoration: none !important;
    color: #eafff6 !important;
    min-width: 0 !important;
  }

  .sidebar-logo-mark {
    width: 34px !important;
    height: 34px !important;
    border-radius: 12px !important;
    display: grid !important;
    place-items: center !important;
    font-size: 0.82rem !important;
  }

  .sidebar-logo strong {
    display: block !important;
    font-size: 0.9rem !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .sidebar-logo small,
  .sidebar-brand p {
    display: none !important;
  }

  .sidebar-socials {
    grid-area: socials !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.45rem !important;
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }

  .sidebar-socials a {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    flex: 0 0 36px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    border-radius: 999px !important;
  }

  .sidebar-socials a svg {
    width: 17px !important;
    height: 17px !important;
    display: block !important;
    margin: 0 !important;
    fill: currentColor !important;
    stroke: none !important;
  }

  .timeline-nav-links {
    grid-area: links !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0.48rem !important;
    width: 100% !important;
    max-height: none !important;
    opacity: 1 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0.08rem 0 0.12rem !important;
    margin: 0 !important;
    border: 0 !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .timeline-nav-links::-webkit-scrollbar {
    display: none !important;
  }

  .timeline-link {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.42rem !important;
    min-height: 38px !important;
    padding: 0.32rem 0.58rem !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    color: #dbeafe !important;
    background: rgba(255, 255, 255, 0.045) !important;
    border: 1px solid rgba(0, 230, 118, 0.14) !important;
    scroll-snap-align: start !important;
    grid-template-columns: none !important;
  }

  .timeline-icon {
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    color: var(--emerald-2) !important;
    background: rgba(0, 230, 118, 0.075) !important;
    border: 1px solid rgba(0, 230, 118, 0.14) !important;
  }

  .timeline-icon svg {
    width: 14px !important;
    height: 14px !important;
  }

  .timeline-label {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    max-width: none !important;
    transform: none !important;
    pointer-events: auto !important;
    color: inherit !important;
    font-size: 0.76rem !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
  }

  .timeline-link.active {
    color: #04101d !important;
    background: linear-gradient(135deg, var(--emerald-2), var(--blue-2)) !important;
    border-color: transparent !important;
    box-shadow: 0 0 22px rgba(0, 230, 118, 0.16) !important;
  }

  .timeline-link.active .timeline-icon {
    color: #04101d !important;
    background: rgba(255, 255, 255, 0.80) !important;
    border-color: rgba(255, 255, 255, 0.62) !important;
  }

  .hero-section {
    padding-top: 56px !important;
    min-height: auto !important;
  }
}

@media (max-width: 430px) {
  .side-timeline-nav {
    padding-inline: 0.7rem !important;
  }

  .sidebar-socials {
    gap: 0.35rem !important;
  }

  .sidebar-socials a {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
  }

  .timeline-link {
    padding-inline: 0.48rem !important;
  }

  .timeline-label {
    font-size: 0.72rem !important;
  }
}
