:root {
  --bg: #040714;
  --ink: #eef2ff;
  --dim: #94a3c4;
  --cyan: #22d3ee;
  --brass: #f5b942;
  --brass-2: #c8913a;
  --violet: #a78bfa;
  --glass: rgba(14, 22, 48, 0.42);
  --glass-strong: rgba(10, 16, 38, 0.72);
  --line: rgba(148, 163, 255, 0.16);
  --radius: 22px;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--brass); letter-spacing: 0; }
.mono { font-family: var(--mono); letter-spacing: 0.04em; }
.small { font-size: 0.72rem; }
.dim { color: var(--dim); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 3D layers ---------- */
#bridge { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; opacity: 0; transition: opacity 1.6s ease; }
body.scene-ready #bridge { opacity: 1; }
.label-layer { position: fixed !important; inset: 0; pointer-events: none; z-index: 1; transition: opacity .5s; }
body.scrolled .label-layer { opacity: 0; }
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at 70% 40%, transparent 30%, rgba(4,7,20,0.55) 80%),
    linear-gradient(90deg, rgba(4,7,20,0.75) 0%, rgba(4,7,20,0.1) 55%, transparent 100%);
}
.stage-label {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: #e2e8ff; padding: 4px 9px; border-radius: 999px;
  background: rgba(4, 7, 20, 0.55); border: 1px solid rgba(34, 211, 238, 0.35);
  backdrop-filter: blur(6px); white-space: nowrap;
}
.stage-label span { color: var(--brass); margin-right: 6px; }

main, .footer, .nav { position: relative; z-index: 2; }

/* ---------- Glass + buttons ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-radius: var(--radius);
}
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
  border: 1px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s; cursor: pointer;
  font-family: var(--display); white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn-brass { background: linear-gradient(135deg, #ffd27a, var(--brass) 45%, var(--brass-2)); color: #1a1205; box-shadow: 0 8px 30px -8px rgba(245,185,66,.6); }
.btn-brass:hover { box-shadow: 0 14px 40px -8px rgba(245,185,66,.85); }
.btn-glass { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,0.12); }
.btn-ghost { color: var(--dim); }
.btn-ghost:hover { color: var(--ink); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 2 * 16px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 18px; border-radius: 999px; z-index: 20;
  background: rgba(8, 12, 30, 0.55); border: 1px solid var(--line); backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.brand svg { color: var(--brass); }
.brand b { color: var(--brass); font-weight: 700; }
.nav-links { display: flex; gap: 26px; font-size: 0.9rem; color: var(--dim); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 6px; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: .3s; }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 32px;
  padding: 130px var(--gutter) 60px; max-width: 1400px; margin: 0 auto;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.78rem; color: var(--dim); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
h1 { font-size: clamp(2.7rem, 6vw, 5.6rem); line-height: 0.98; letter-spacing: -0.035em; font-weight: 600; }
h1 em { font-size: 1.08em; }
.lede { max-width: 520px; color: #c3cbe6; font-size: clamp(1rem, 1.3vw, 1.15rem); margin: 26px 0 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.terminal { margin-top: 38px; max-width: 520px; border-radius: 14px; overflow: hidden; background: rgba(3,6,16,0.72); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--dim); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: 8px; }
.terminal pre { font-family: var(--mono); font-size: 12.5px; padding: 14px 16px; min-height: 128px; color: #b9f3ff; white-space: pre-wrap; }
.terminal pre .p { color: var(--brass); } .terminal pre .ok { color: #4ade80; } .terminal pre .c { color: var(--dim); }
.cursor { display: inline-block; width: 8px; height: 1em; background: var(--cyan); vertical-align: -2px; animation: pulse 1s steps(1) infinite; }

.hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.steering { padding: 16px 20px; display: grid; gap: 4px; min-width: 240px; }
.steering strong { font-size: 1.9rem; letter-spacing: -0.02em; color: var(--cyan); transition: color .3s; }
.steering .mono b { color: var(--brass); }
.dive { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; width: 240px; height: 140px; padding: 18px 20px; font-size: 1.35rem; line-height: 1.15;
  background: linear-gradient(150deg, rgba(167,139,250,0.45), rgba(34,211,238,0.25)); transition: transform .3s; }
.dive:hover { transform: translateY(-4px); }
.dive-arrow { font-size: 1.6rem; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- Marquee ---------- */
.marquee, .foot-marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(4,7,20,0.6); backdrop-filter: blur(8px); }
.marquee-track { display: flex; gap: 34px; width: max-content; padding: 20px 0; animation: marquee 40s linear infinite; font-size: clamp(1.3rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em; }
.marquee-track span:nth-child(even) { color: var(--brass); font-size: .7em; align-self: center; }
.marquee-track.slow { animation-duration: 60s; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2.4rem, 7vw, 5.5rem); color: rgba(238,242,255,0.85); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { max-width: 1280px; margin: 0 auto; padding: clamp(80px, 12vw, 150px) var(--gutter) 0; }
.section-head { max-width: 760px; margin-bottom: 48px; text-shadow: 0 2px 18px rgba(4,7,20,.95), 0 0 40px rgba(4,7,20,.8); }
.kicker { color: var(--cyan); font-size: 0.82rem; margin-bottom: 14px; }
h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; }
h3 { font-size: 1.22rem; letter-spacing: -0.01em; font-weight: 600; margin-bottom: 8px; }
.sub { color: var(--dim); margin-top: 16px; font-size: 1.05rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card, .post { padding: 28px; transition: transform .3s ease, border-color .3s; transform-style: preserve-3d; }
.card p, .post p, .course p, .format p, .voyage p { color: #b4bdd9; font-size: 0.96rem; }
.card-icon { font-size: 1.8rem; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(245,185,66,.18), rgba(34,211,238,.12)); border: 1px solid var(--line); }
.card:hover, .post:hover { border-color: rgba(245,185,66,0.45); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--glass); backdrop-filter: blur(14px); }
.stats div { padding: 26px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats strong { display: inline; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; color: var(--brass); }
.stats span { display: block; color: var(--dim); font-size: 0.9rem; }

/* Courses */
.courses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.course { padding: 22px; display: flex; flex-direction: column; gap: 6px; cursor: default; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s; }
.course:hover, .course.active { transform: translateY(-6px); border-color: rgba(34,211,238,0.6); background: rgba(14, 30, 60, 0.6); }
.course .num { color: var(--brass); font-size: 0.72rem; margin-bottom: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.tags span { font-family: var(--mono); font-size: 0.68rem; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); }
.tags span:first-child { color: var(--cyan); border-color: rgba(34,211,238,.35); }

/* AI Deck */
.amp { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--violet); }
.nav-ai { color: #c4b5fd !important; }
.nav-ai sup { font-family: var(--mono); font-size: .58rem; color: #1a1205; background: var(--violet); padding: 1px 5px; border-radius: 999px; margin-left: 3px; vertical-align: 4px; }
.marquee-track span.ai { color: #c4b5fd; }
.ai-kicker { color: var(--violet); }
.ai-section em { color: #c4b5fd; }
.ai-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 44px); margin-bottom: 14px;
  background: radial-gradient(ellipse at 100% 0%, rgba(167,139,250,.28), transparent 60%), radial-gradient(ellipse at 0% 100%, rgba(34,211,238,.14), transparent 55%), var(--glass);
  border-color: rgba(167,139,250,.35); }
.ai-feature h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.02em; margin: 10px 0 12px; }
.ai-feature p { color: #c3cbe6; }
.ai-tag { color: var(--violet); }
.ai-loop { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; counter-reset: ai; }
.ai-loop li { counter-increment: ai; position: relative; padding: 14px 12px 12px; border-radius: 14px; font-size: .8rem; text-align: center;
  background: rgba(167,139,250,.08); border: 1px solid rgba(167,139,250,.3); animation: aiGlow 6s infinite; }
.ai-loop li::before { content: '0' counter(ai); display: block; font-size: .62rem; color: var(--violet); margin-bottom: 4px; }
.ai-loop li:nth-child(2) { animation-delay: 1s; } .ai-loop li:nth-child(3) { animation-delay: 2s; }
.ai-loop li:nth-child(4) { animation-delay: 3s; } .ai-loop li:nth-child(5) { animation-delay: 4s; } .ai-loop li:nth-child(6) { animation-delay: 5s; }
@keyframes aiGlow { 0%, 12% { background: rgba(167,139,250,.35); box-shadow: 0 0 24px -4px rgba(167,139,250,.7); } 25%, 100% { background: rgba(167,139,250,.08); box-shadow: none; } }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ai-course .num { color: var(--violet); }
.ai-course .tags span:first-child { color: #c4b5fd; border-color: rgba(167,139,250,.45); }
.ai-course:hover { border-color: rgba(167,139,250,.7); background: rgba(40, 24, 80, 0.5); }
.steering.ai-mode strong { color: #c4b5fd !important; }

/* Why-us comparison */
.brass { color: var(--brass); }
.versus { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--glass); backdrop-filter: blur(14px); }
.vs-head, .vs-row { display: grid; grid-template-columns: 140px 1fr 1.3fr; gap: 20px; padding: 16px 24px; align-items: center; }
.vs-head { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--line); background: rgba(4,7,20,.4); }
.vs-row { border-bottom: 1px solid var(--line); transition: background .25s; }
.vs-row:last-child { border-bottom: 0; }
.vs-row:hover { background: rgba(245,185,66,.06); }
.vs-row > span { font-weight: 600; }
.vs-row p:nth-of-type(1) { color: #7c86a6; text-decoration: line-through; text-decoration-color: rgba(251,113,133,.5); }
.vs-row p:nth-of-type(2) { color: var(--ink); padding-left: 26px; position: relative; }
.vs-row p:nth-of-type(2)::before { content: '✓'; position: absolute; left: 0; color: var(--brass); font-weight: 700; }

.newcomers { margin-top: 18px; display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(20px, 4vw, 48px); padding: clamp(24px, 4vw, 44px); border-radius: var(--radius);
  border: 1px solid rgba(245,185,66,.35); background: radial-gradient(ellipse at 0% 0%, rgba(245,185,66,.18), transparent 60%), var(--glass); backdrop-filter: blur(14px); }
.newcomers .f-tag { color: var(--brass); }
.newcomers h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.15; letter-spacing: -.02em; margin: 10px 0 14px; }
.newcomers p { color: #c3cbe6; }
.nc-list { list-style: none; display: grid; gap: 12px; }
.nc-list li { padding: 12px 16px 12px 44px; position: relative; border-radius: 14px; background: rgba(4,7,20,.35); border: 1px solid var(--line); color: #b4bdd9; font-size: .95rem; }
.nc-list li::before { content: '⚓'; position: absolute; left: 14px; top: 11px; }
.nc-list b { color: var(--ink); }

/* Cloud certifications */
.cert-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.cert-tabs button { font: inherit; color: var(--dim); cursor: pointer; display: grid; text-align: left; gap: 2px; padding: 12px 18px; border-radius: 16px;
  background: rgba(14,22,48,.5); border: 1px solid var(--line); backdrop-filter: blur(10px); transition: .25s; }
.cert-tabs button span { font-weight: 600; font-size: 1rem; }
.cert-tabs button small { font-size: .68rem; }
.cert-tabs button:hover { color: var(--ink); }
.cert-tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 10px 30px -12px var(--brand);
  background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 22%, transparent), rgba(14,22,48,.6)); }
.cert-panel { padding: clamp(20px, 3vw, 34px); border-top: 3px solid var(--brand); }
.cp-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.cp-head p { color: #c3cbe6; max-width: 720px; }
.cp-levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.cp-level h4 { font-size: .72rem; color: var(--brand); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.cp-level ul { list-style: none; display: grid; gap: 6px; }
.cp-level li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 8px 10px; border-radius: 10px; background: rgba(4,7,20,.35); font-size: .92rem; }
.cp-level li.hot .cname::after { content: ' ★'; color: var(--brass); }
.code { font-size: .68rem; color: var(--brand); background: color-mix(in srgb, var(--brand) 14%, transparent); padding: 2px 6px; border-radius: 6px; }
.cnote { font-size: .66rem; color: #fb7185; width: 100%; }
.cp-retired { margin-top: 20px; font-size: .76rem; color: #fda4af; padding: 10px 14px; border-radius: 10px; background: rgba(251,113,133,.08); border: 1px solid rgba(251,113,133,.25); }
.cert-foot { margin-top: 12px; }

/* Toolchain */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tool-cat { padding: 22px; transition: transform .3s, border-color .3s; }
.tool-cat:hover { border-color: rgba(34,211,238,.5); }
.tc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tc-head h3 { margin: 0; font-size: 1.05rem; }
.tc-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; font-size: 1.15rem; color: var(--cyan);
  background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.3); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: .8rem; padding: 5px 11px; border-radius: 999px; background: rgba(4,7,20,.45); border: 1px solid var(--line); color: #d4dbf2; transition: .2s; }
.chips span:hover { border-color: var(--cyan); color: var(--ink); }
.chips.violet span:hover { border-color: var(--violet); }

/* AI tools */
.ai-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ai-tool-group { padding: 24px; border-color: rgba(167,139,250,.25); }
.ai-tool-group.wide { grid-column: 1 / -1; background: radial-gradient(ellipse at 100% 0%, rgba(167,139,250,.22), transparent 55%), var(--glass); }
.ai-tool-group h3 { font-size: 1.25rem; }
.ai-tool-group > p { font-size: .92rem; margin-bottom: 16px; }
.tool-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tool-card { padding: 14px 16px; border-radius: 14px; background: rgba(4,7,20,.45); border: 1px solid rgba(167,139,250,.25); display: grid; gap: 2px; transition: .25s; }
.tool-card:hover { border-color: var(--violet); transform: translateY(-3px); box-shadow: 0 12px 30px -14px rgba(167,139,250,.8); }
.tool-card strong { font-size: 1rem; }
.tool-card span { font-size: .8rem; color: var(--dim); }

/* Agent engineering */
.agents-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: start; }
.agent-diagram { padding: 20px; margin: 0; border-color: rgba(167,139,250,.3); position: sticky; top: 100px; }
.agent-diagram svg { width: 100%; height: auto; display: block; }
.agent-diagram text { font-family: var(--display); font-size: 13px; font-weight: 600; fill: #eef2ff; text-anchor: middle; }
.agent-diagram text.s { font-size: 10px; font-weight: 400; fill: #94a3c4; font-family: var(--mono); }
.node rect { stroke-width: 1.4; }
.node.human rect { fill: rgba(245,185,66,.15); stroke: #f5b942; }
.node.orch rect { fill: rgba(167,139,250,.25); stroke: #c4b5fd; }
.node.sub rect { fill: rgba(14,22,48,.85); stroke: rgba(167,139,250,.6); }
.node.tool rect { fill: rgba(34,211,238,.1); stroke: rgba(34,211,238,.6); }
.node.tool text { font-size: 11.5px; font-weight: 500; }
.node.guard rect { fill: rgba(245,185,66,.08); stroke: rgba(245,185,66,.5); stroke-dasharray: 4 3; }
.node.guard text { font-size: 11.5px; font-weight: 500; fill: #f5d08a; }
.flow-lines path { stroke-dasharray: 5 6; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.agent-steps { list-style: none; display: grid; gap: 12px; }
.agent-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 20px; border-color: rgba(167,139,250,.25); }
.agent-steps li > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; font-weight: 600; color: #c4b5fd; background: rgba(167,139,250,.14); border: 1px solid rgba(167,139,250,.4); }
.agent-steps p { color: #b4bdd9; font-size: .94rem; }

/* Future */
.future { padding: clamp(28px, 5vw, 60px); text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(167,139,250,.25), transparent 60%), radial-gradient(ellipse at 50% 100%, rgba(245,185,66,.12), transparent 60%), var(--glass-strong); }
.future h2 { max-width: 900px; margin: 0 auto; }
.future-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; text-align: left; }
.future-grid > div { padding: 20px; border-radius: 16px; background: rgba(4,7,20,.4); border: 1px solid var(--line); }
.future-grid span { color: var(--violet); font-size: .75rem; }
.future-grid h3 { margin: 8px 0 6px; font-size: 1.08rem; }
.future-grid p { color: #b4bdd9; font-size: .9rem; }

/* Formats - bento */
.formats { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.format { padding: 26px; display: flex; flex-direction: column; gap: 8px; min-height: 210px; transition: transform .3s, border-color .3s; }
.format:hover { transform: translateY(-4px); border-color: rgba(245,185,66,.45); }
.format.big { grid-row: span 2; background: linear-gradient(160deg, rgba(245,185,66,0.16), rgba(14,22,48,0.45) 60%); }
.format.big h3 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.03em; margin-top: auto; }
.f-tag { font-size: 0.7rem; color: var(--cyan); display: inline-flex; align-items: center; gap: 7px; }
.f-tag.live { color: #fb7185; }
.f-tag.live i { width: 7px; height: 7px; border-radius: 50%; background: #fb7185; box-shadow: 0 0 10px #fb7185; animation: pulse 1.4s infinite; }
.format h3 { font-size: 1.5rem; margin-top: auto; }
.f-go { font-weight: 600; color: var(--brass); font-size: 0.9rem; margin-top: 6px; }

/* Voyage */
.voyage { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
.voyage::before { content: ''; position: absolute; top: 26px; left: 4%; right: 4%; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--brass)); opacity: .6; }
.voyage li { position: relative; padding: 64px 22px 24px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); }
.voyage li::before { content: ''; position: absolute; top: 18px; left: 22px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 2px solid var(--brass); box-shadow: 0 0 16px rgba(245,185,66,.6); }
.rank { font-size: 0.7rem; color: var(--brass); }
.voyage h3 { font-size: 1.6rem; margin: 4px 0 8px; }

/* Blog */
.post { display: flex; flex-direction: column; gap: 10px; }
.post h3 { font-size: 1.3rem; line-height: 1.25; }
.post-soon { margin-top: auto; padding-top: 10px; font-size: .72rem; color: var(--cyan); }

/* About */
.about { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 60px); }
.about p:not(.kicker) { color: #c3cbe6; margin: 18px 0 26px; max-width: 680px; }
.about-badge { width: clamp(150px, 18vw, 220px); aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 30% 30%, rgba(255,210,122,.35), rgba(200,145,58,.12) 60%, transparent 70%);
  border: 2px solid rgba(245,185,66,.55); box-shadow: 0 0 60px -10px rgba(245,185,66,.5), inset 0 0 40px rgba(245,185,66,.15); }
.about-badge strong { font-size: clamp(3rem, 6vw, 4.8rem); line-height: 1; color: var(--brass); letter-spacing: -0.04em; }
.about-badge span { font-size: .75rem; color: var(--dim); }

/* Newsletter */
.dispatch { text-align: center; padding: clamp(40px, 7vw, 90px) clamp(20px, 5vw, 60px);
  background: radial-gradient(ellipse at 50% 0%, rgba(34,211,238,.18), transparent 60%), var(--glass-strong); }
.dispatch .kicker { margin-bottom: 18px; }
.sub-form { display: flex; gap: 8px; max-width: 480px; margin: 32px auto 0; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.sub-form input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--ink); font: inherit; padding: 0 16px; }
.sub-form input::placeholder { color: #6b7698; }
.form-msg { margin-top: 14px; min-height: 1.4em; font-size: .82rem; color: var(--cyan); }
.form-msg.err { color: #fb7185; }

/* Footer */
.footer { margin-top: clamp(80px, 12vw, 150px); background: rgba(3,5,14,0.85); backdrop-filter: blur(10px); }
.foot-marquee { border-top: 0; background: transparent; }
.foot-grid { max-width: 1280px; margin: 0 auto; padding: 56px var(--gutter) 24px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.foot-grid p { margin-top: 12px; font-size: .92rem; }
.foot-grid h4 { font-size: .72rem; color: var(--brass); margin-bottom: 12px; font-weight: 600; }
.foot-grid a:not(.brand) { display: block; color: var(--dim); font-size: .92rem; margin-bottom: 8px; }
.foot-grid a:hover { color: var(--ink); }
.copy { text-align: center; font-size: .72rem; padding: 18px var(--gutter) 30px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.in.course:hover, .reveal.in.course.active { transform: translateY(-6px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .courses { grid-template-columns: repeat(2, 1fr); }
  .tool-grid, .ai-tools { grid-template-columns: repeat(2, 1fr); }
  .tool-cards { grid-template-columns: repeat(2, 1fr); }
  .future-grid { grid-template-columns: repeat(2, 1fr); }
  .agents-wrap { grid-template-columns: 1fr; }
  .agent-diagram { position: static; }
  .nav-links { gap: 18px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .nav.open { border-radius: 24px; flex-wrap: wrap; }
  .nav.open .nav-links { display: flex; flex-direction: column; width: 100%; gap: 4px; padding: 8px 4px 4px; order: 3; }
  .nav.open .nav-links a { padding: 10px 6px; font-size: 1.05rem; color: var(--ink); }
  .nav.open .nav-cta { display: flex; width: 100%; order: 4; padding: 0 4px 8px; }
  .nav.open .nav-cta .btn { flex: 1; }

  .vignette { background: linear-gradient(180deg, transparent 0%, rgba(4,7,20,.2) 35%, rgba(4,7,20,.85) 60%); }
  .hero { grid-template-columns: 1fr; padding-top: 52vh; align-items: start; }
  .hero-side { flex-direction: row; align-items: stretch; }
  .steering { min-width: 0; flex: 1; }
  .dive { width: auto; height: auto; flex: 1; font-size: 1.05rem; }
  .stage-label { font-size: 9px; padding: 3px 6px; }
  .hero { padding-top: 56vh; }
  body.scene-ready.scrolled #bridge { opacity: .4; transition: opacity .6s ease; }
  .grid-3, .voyage { grid-template-columns: 1fr; }
  .ai-feature { grid-template-columns: 1fr; }
  .newcomers { grid-template-columns: 1fr; }
  .vs-head { display: none; }
  .vs-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
  .vs-row > span { color: var(--brass); font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
  .cp-head { flex-direction: column; align-items: flex-start; }
  .ai-grid { grid-template-columns: 1fr 1fr; }
  .voyage::before { display: none; }
  .formats { grid-template-columns: 1fr 1fr; }
  .format.big { grid-column: span 2; grid-row: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about { grid-template-columns: 1fr; justify-items: start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: span 2; }
}
@media (max-width: 560px) {
  .courses, .formats, .ai-grid, .tool-grid, .ai-tools, .future-grid { grid-template-columns: 1fr; }
  .tool-cards { grid-template-columns: 1fr 1fr; }
  .cert-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .ai-loop { grid-template-columns: repeat(2, 1fr); }
  .format.big { grid-column: auto; }
  .sub-form { flex-direction: column; border-radius: 20px; }
  .sub-form input { padding: 12px 14px; }
  .terminal pre { font-size: 11px; }
  .hero-side { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-duration: 160s; }
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* =====================================================================
   v3: multi-page layout, logo, page heroes, projects, electricity
   ===================================================================== */

/* ---------- Logo + nav ---------- */
.nav { gap: 12px; padding: 8px 10px 8px 14px; }
.brand { gap: 10px; flex-shrink: 0; }
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; filter: drop-shadow(0 0 8px rgba(245,185,66,.35)); }
.logo-wheel { transform-origin: 24px 24px; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.brand:hover .logo-wheel { transform: rotate(135deg); }
.logo-core { animation: corePulse 2.4s ease-in-out infinite; transform-origin: 24px 24px; }
@keyframes corePulse { 50% { opacity: .65; transform: scale(.85); } }
.wordmark { display: grid; line-height: 1; gap: 3px; }
.wordmark b { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.wordmark small { font-family: var(--mono); font-size: .58rem; font-weight: 600; letter-spacing: .42em; color: var(--brass); }
.footer .brand span { font-size: 1.1rem; }

.nav-links { gap: 4px; font-size: .86rem; align-items: center; }
.nav-links a { padding: 7px 10px; border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
.nav-links a:hover { background: rgba(255,255,255,.06); }
.nav-links a[aria-current="page"] { color: var(--ink); background: rgba(245,185,66,.14); box-shadow: inset 0 0 0 1px rgba(245,185,66,.35); }
.nav-links a.nav-ai[aria-current="page"] { background: rgba(167,139,250,.16); box-shadow: inset 0 0 0 1px rgba(167,139,250,.45); }
.nav-cta .btn { padding: 9px 16px; font-size: .86rem; }

@media (max-width: 1200px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .nav.open { border-radius: 24px; flex-wrap: wrap; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 2px; padding: 8px 4px 4px; order: 3; }
  .nav.open .nav-links a { padding: 11px 12px; font-size: 1.02rem; color: var(--ink); }
  .nav.open .nav-cta { display: flex; width: 100%; order: 4; padding: 0 4px 8px; }
  .nav.open .nav-cta .btn { flex: 1; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { min-height: 82vh; min-height: 82svh; display: flex; flex-direction: column; justify-content: flex-end; gap: 0;
  max-width: 1280px; margin: 0 auto; padding: 130px var(--gutter) 40px; }
.page-hero > * { max-width: 720px; }
.page-title { font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; text-shadow: 0 2px 30px rgba(4,7,20,.9); }
.page-hero .lede { text-shadow: 0 1px 16px rgba(4,7,20,.95); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; font-size: .76rem; margin-top: 4px; }
.jump a { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(8,12,30,.55); backdrop-filter: blur(8px); color: var(--dim); transition: .2s; }
.jump a:hover { color: var(--ink); border-color: var(--cyan); }
.theme-ai .jump a:hover { border-color: var(--violet); }
.dot.violet { background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.eyebrow.ai-kicker { color: #c4b5fd; }
code { font-family: var(--mono); font-size: .88em; padding: 1px 6px; border-radius: 6px; background: rgba(34,211,238,.1); color: #a5f3fc; }
h2 code, h1 code { font-size: .8em; }
.ulink { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Icons sit beside their headings ---------- */
.card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; }
.card > .card-icon { width: 44px; height: 44px; font-size: 1.25rem; border-radius: 12px; margin: 0; }
.card > h3 { margin: 0; }
.card > p { grid-column: 1 / -1; margin-top: 14px; }

/* ---------- Home: explore grid ---------- */
.explore { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ex-card { padding: 22px; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; align-content: start;
  transition: transform .3s, border-color .3s, box-shadow .3s; }
.ex-card:hover { border-color: var(--accent); box-shadow: 0 18px 40px -22px var(--accent); }
.ex-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; font-size: 1.15rem; line-height: 1;
  background: color-mix(in srgb, var(--accent) 16%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.ex-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.2; }
.ex-card p { grid-column: 1 / -1; margin-top: 12px; color: #b4bdd9; font-size: .9rem; }
.ex-meta { grid-column: 1 / -1; margin-top: 14px; font-size: .68rem; color: var(--accent); letter-spacing: .04em; }
.center-cta { display: flex; justify-content: center; margin-top: 26px; }
.band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px, 4vw, 44px);
  background: radial-gradient(ellipse at 0% 0%, rgba(245,185,66,.16), transparent 55%), var(--glass); }
.band h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.band .sub { margin-top: 10px; }

/* ---------- Certifications: strategy paths ---------- */
.paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.path { padding: 22px; }
.path .f-tag { color: var(--brass); }
.path.ai-path .f-tag { color: var(--violet); }
.path ol { list-style: none; counter-reset: s; margin-top: 14px; display: grid; gap: 8px; font-size: .8rem; }
.path li { counter-increment: s; position: relative; padding: 9px 10px 9px 34px; border-radius: 10px; background: rgba(4,7,20,.4); border: 1px solid var(--line); color: #d4dbf2; }
.path li::before { content: counter(s); position: absolute; left: 10px; top: 9px; color: var(--brass); font-weight: 600; }
.path li:not(:last-child)::after { content: '↓'; position: absolute; left: 12px; bottom: -14px; font-size: .7rem; color: var(--dim); z-index: 1; }

/* ---------- Cloud providers ---------- */
.clouds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cloud-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; border-top: 3px solid var(--brand); }
.cloud-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cloud-card header h3 { margin: 0; font-size: 1.25rem; }
.cloud-card header span { color: var(--brand); white-space: nowrap; }
.cloud-card > p { color: #b4bdd9; font-size: .94rem; }
.cloud-card .chips span:hover { border-color: var(--brand); }
.cloud-card .f-go { margin-top: auto; padding-top: 6px; }

/* ---------- Linux war room ---------- */
.incidents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.incident { padding: 20px; display: grid; gap: 8px; border-left: 3px solid #fb7185; }
.incident p { font-size: 1.02rem; font-weight: 500; }
.sev { font-size: .68rem; color: #fb7185; letter-spacing: .1em; }
.voyage.five { grid-template-columns: repeat(5, 1fr); }

/* ---------- About ---------- */
.about > div:last-child > p:not(.kicker) { margin: 14px 0 0; }
.skill-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.skill-row span { font-size: .78rem; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(245,185,66,.35); background: rgba(245,185,66,.08); color: #f5d08a; }
.skill-row span.ai { border-color: rgba(167,139,250,.45); background: rgba(167,139,250,.1); color: #c4b5fd; }
.about-photo { width: clamp(200px, 24vw, 300px); aspect-ratio: 4 / 5; height: auto; border-radius: 22px; object-fit: cover; object-position: 50% 20%;
  border: 1px solid rgba(245,185,66,.45); box-shadow: 0 24px 60px -24px rgba(0,0,0,.8), 0 0 0 6px rgba(245,185,66,.06); }
@media (max-width: 900px) { .about-photo { width: min(100%, 320px); } }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filters button { font: 600 .8rem var(--mono); color: var(--dim); cursor: pointer; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(8,12,30,.55); transition: .2s; }
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { color: #1a1205; background: var(--brass); border-color: var(--brass); }

/* ---------- GitHub projects ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.proj { padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: transform .3s, border-color .3s, box-shadow .3s; }
.proj[hidden] { display: none; }
.proj:hover { border-color: rgba(34,211,238,.55); box-shadow: 0 18px 40px -24px rgba(34,211,238,.8); }
.proj-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.proj-top .gh { color: var(--ink); flex-shrink: 0; }
.proj-top .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proj-cats { margin-left: auto; display: flex; gap: 4px; flex-shrink: 0; }
.proj-cats i { font-style: normal; font: 600 .6rem var(--mono); padding: 3px 7px; border-radius: 6px; letter-spacing: .05em; }
.c-ai { color: #c4b5fd; background: rgba(167,139,250,.15); }
.c-devops { color: #67e8f9; background: rgba(34,211,238,.12); }
.c-cloud { color: #fcd34d; background: rgba(245,185,66,.14); }
.proj h3 { margin: 4px 0 0; font-size: 1.15rem; }
.proj p { color: #b4bdd9; font-size: .92rem; }
.proj .tags { padding-top: 6px; }
.proj .f-go { margin-top: 2px; }
a.post { color: inherit; }
a.post h3 { font-size: 1.12rem; }
a.post:hover { border-color: rgba(245,185,66,.45); }

/* ---------- Electricity ---------- */
.energy-conduit { position: absolute; top: 0; left: 0; width: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.energy-arc { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 2; pointer-events: none; transition: opacity .06s; }
.e-base { stroke: rgba(148,163,255,.22); stroke-width: 1.5; }
.e-live { stroke-width: 2.6; stroke-linecap: round; }
.e-flow { stroke: #ecfeff; stroke-width: 2; stroke-dasharray: 2 26; stroke-linecap: round; animation: eFlow .9s linear infinite; opacity: .9; }
@keyframes eFlow { to { stroke-dashoffset: -28; } }
.e-head { fill: #ecfeff; animation: eHead 1s ease-in-out infinite; }
@keyframes eHead { 50% { r: 7; opacity: .7; } }
.e-node { fill: #0b1226; stroke: rgba(148,163,255,.35); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.e-node.on { fill: #22d3ee; stroke: #ecfeff; filter: drop-shadow(0 0 6px #22d3ee); }
.e-ring { fill: none; stroke: #22d3ee; stroke-width: 1.5; opacity: 0; }
.e-ring.on { animation: eRing 1.4s ease-out 1; }
@keyframes eRing { 0% { opacity: .9; r: 4; } 100% { opacity: 0; r: 22; } }
.e-branch { stroke: #22d3ee; stroke-width: 1.5; opacity: .75; transition: stroke-dashoffset .7s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 0 4px #22d3ee); }
.theme-ai .e-node.on, .theme-ai .e-ring, .theme-ai .e-branch { stroke: #a78bfa; }
.theme-ai .e-node.on { fill: #a78bfa; filter: drop-shadow(0 0 6px #a78bfa); }
.a-core { fill: none; stroke: #ecfeff; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.a-core.fork { stroke-width: .9; opacity: .8; }
.a-glow { fill: none; stroke: #22d3ee; stroke-width: 5; opacity: .55; stroke-linejoin: round; }
.theme-ai .a-glow { stroke: #a78bfa; }

/* Sections "power on" when the current reaches them */
.section .kicker { transition: color .5s, text-shadow .5s; }
.section.powered .kicker { text-shadow: 0 0 14px currentColor; }
.section.powered .glass.reveal.in { animation: charge 1.1s ease-out 1; }
@keyframes charge {
  0% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
  25% { box-shadow: 0 0 0 1px rgba(125,211,252,.9), 0 0 30px -4px rgba(34,211,238,.7); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}
.theme-ai .section.powered .glass.reveal.in { animation-name: chargeAI; }
@keyframes chargeAI {
  0% { box-shadow: 0 0 0 0 rgba(167,139,250,0); }
  25% { box-shadow: 0 0 0 1px rgba(196,181,253,.9), 0 0 30px -4px rgba(167,139,250,.7); }
  100% { box-shadow: 0 0 0 0 rgba(167,139,250,0); }
}
@media (prefers-reduced-motion: reduce) {
  .e-flow, .e-head, .logo-core { animation: none; }
  .section.powered .glass.reveal.in { animation: none; }
}

/* ---------- Responsive for new blocks ---------- */
@media (max-width: 1080px) {
  .explore, .paths { grid-template-columns: repeat(2, 1fr); }
  .clouds, .projects, .incidents { grid-template-columns: repeat(2, 1fr); }
  .voyage.five { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .page-hero { min-height: auto; padding-top: 50vh; }
  .band { flex-direction: column; align-items: flex-start; }
  .voyage.five { grid-template-columns: 1fr; }
  .clouds { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .explore, .paths, .projects, .incidents { grid-template-columns: 1fr; }
  .wordmark b { font-size: 1.02rem; }
  .logo-mark { width: 34px; height: 34px; }
}

/* Grid items may shrink below their content width (long repo names, chips) */
.projects, .explore, .paths, .clouds, .incidents, .grid-3, .courses, .ai-grid, .tool-grid, .ai-tools { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.explore, .paths, .courses { --cols: 4; }
@media (max-width: 1080px) { .projects, .explore, .paths, .clouds, .incidents, .courses, .ai-tools, .tool-grid { --cols: 2; } }
@media (max-width: 900px) { .grid-3, .ai-grid, .clouds { --cols: 1; } .ai-grid { --cols: 2; } }
@media (max-width: 560px) { .projects, .explore, .paths, .incidents, .courses, .ai-grid, .tool-grid, .ai-tools { --cols: 1; } }

@media (max-width: 560px) { .btn { white-space: normal; text-align: center; } }

/* ---------- Courses & services page ---------- */
.audiences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.aud { font: inherit; color: inherit; text-align: left; cursor: pointer; padding: 24px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .3s, border-color .3s, box-shadow .3s, background .3s; }
.aud:hover { transform: translateY(-4px); border-color: rgba(245,185,66,.5); }
.aud[aria-pressed="true"] { border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass), 0 18px 40px -20px rgba(245,185,66,.7);
  background: linear-gradient(160deg, rgba(245,185,66,.16), rgba(14,22,48,.5)); }
.aud-head { display: flex; align-items: center; gap: 12px; }
.aud-head strong { font-size: 1.2rem; line-height: 1.2; }
.aud-icon { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; font-size: 1.25rem;
  background: rgba(245,185,66,.12); border: 1px solid rgba(245,185,66,.4); }
.aud-blurb { color: #b4bdd9; font-size: .93rem; }
.aud-path { font-size: .72rem; color: var(--cyan); line-height: 1.6; }
.aud-go { margin-top: auto; font-weight: 600; font-size: .88rem; color: var(--brass); }
.catalog-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.catalog-bar .filters { margin-bottom: 0; }
.catalog-bar b { color: var(--ink); }
.linkish { font: inherit; color: var(--cyan); background: none; border: 0; cursor: pointer; text-decoration: underline; padding: 0; }
.course-catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.cc { padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: transform .3s, border-color .3s; }
.cc[hidden] { display: none; }
.cc:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.5); }
.cc.flagship { grid-column: span 2; border-color: rgba(245,185,66,.5);
  background: radial-gradient(ellipse at 100% 0%, rgba(245,185,66,.18), transparent 55%), var(--glass); }
.cc.flagship h3 { font-size: 1.7rem; }
.cc-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cc-area { font-size: .66rem; padding: 3px 8px; border-radius: 6px; color: #67e8f9; background: rgba(34,211,238,.12); letter-spacing: .06em; text-transform: uppercase; }
.cc-flag { font-size: .66rem; padding: 3px 8px; border-radius: 6px; color: #1a1205; background: var(--brass); }
.cc-level { margin-left: auto; font-size: .68rem; color: var(--dim); }
.cc h3 { margin: 2px 0 0; font-size: 1.18rem; line-height: 1.25; }
.cc p { color: #b4bdd9; font-size: .92rem; }
.cc-build { font-size: .86rem !important; padding: 10px 12px; border-radius: 10px; background: rgba(4,7,20,.4); border: 1px solid var(--line); }
.cc-build b { color: var(--brass); font-weight: 600; }
.cc-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .72rem; color: var(--dim); }
.cc-for { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-for span { font-size: .72rem; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); color: #d4dbf2; }
.cc-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cc-price { font-weight: 600; font-size: .86rem; color: #4ade80; }
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.svc { padding: 22px; display: flex; flex-direction: column; gap: 12px; --accent: var(--brass); }
.svc-head { display: flex; align-items: center; gap: 12px; }
.svc-head h3 { margin: 0; font-size: 1.05rem; line-height: 1.25; }
.svc p { color: #b4bdd9; font-size: .9rem; }
.svc .f-go { margin-top: auto; }
.hero-ctas.center { justify-content: center; margin-top: 32px; }
.courses-banner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: clamp(22px, 3vw, 34px); margin-bottom: 14px;
  border-color: rgba(245,185,66,.45); background: radial-gradient(ellipse at 0% 0%, rgba(245,185,66,.2), transparent 55%), var(--glass); }
.courses-banner h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 8px 0 8px; letter-spacing: -.02em; }
.courses-banner p { color: #c3cbe6; }
.courses-banner .f-tag { color: var(--brass); }
.cb-aud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cb-aud a { font-size: .82rem; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(4,7,20,.4); transition: .2s; }
.cb-aud a:hover { border-color: var(--brass); }
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .audiences { grid-template-columns: 1fr; }
  .courses-banner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .course-catalog, .services { grid-template-columns: 1fr; }
  .cc.flagship { grid-column: auto; }
}

/* ---------- Course finder (v2: sticky, fast, no jump) ---------- */
.finder { position: sticky; top: 84px; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px; margin-bottom: 14px; border-radius: 18px; background: rgba(6,10,26,.9); border: 1px solid var(--line);
  box-shadow: 0 14px 30px -18px rgba(0,0,0,.9); }
.finder .filters { margin: 0; gap: 6px; }
.finder .filters button { padding: 7px 12px; font-size: .74rem; }
.seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.seg button { font: 600 .86rem var(--display); color: var(--dim); cursor: pointer; padding: 9px 14px; border: 0; border-radius: 10px; background: transparent; transition: background .15s, color .15s; white-space: nowrap; }
.seg button:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.seg button[aria-pressed="true"] { color: #1a1205; background: linear-gradient(135deg, #ffd27a, var(--brass)); }
.aud-panel { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: center; padding: 18px 22px; border-color: rgba(245,185,66,.3); }
.ap-text { display: grid; gap: 6px; }
.ap-text strong { font-size: 1.08rem; }
.ap-text span { color: #b4bdd9; font-size: .92rem; }
.ap-text a, .ap-path a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.ap-path ol { list-style: none; counter-reset: s; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ap-path li { counter-increment: s; font-size: .82rem; }
.ap-path li::before { content: counter(s) ". "; color: var(--brass); font-family: var(--mono); font-weight: 600; }
.ap-path li:not(:last-child)::after { content: ' →'; color: var(--dim); margin-left: 4px; }
.aud-panel:has(.ap-path) { grid-template-columns: 1.2fr 1fr; }
.aud-panel:not(:has(.ap-path)) { grid-template-columns: 1fr; }
.course-count { margin: 14px 2px 0; }

/* Course cards: no backdrop blur (20 blurred cards over WebGL = lag), no scroll-reveal */
.cc { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10, 16, 38, .86); transition: transform .2s, border-color .2s; gap: 12px; }
.cc.flagship { background: radial-gradient(ellipse at 100% 0%, rgba(245,185,66,.16), transparent 55%), rgba(10, 16, 38, .9); }
.cc-desc { font-size: .9rem !important; }
.cc-learn h4 { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.cc-learn ul { list-style: none; display: grid; gap: 6px; }
.cc-learn li { position: relative; padding-left: 22px; font-size: .88rem; color: #dbe2f7; line-height: 1.45; }
.cc-learn li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #4ade80; font-weight: 700; }
.cc.flagship .cc-learn ul { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.cc-meta { justify-content: space-between; align-items: center; }
.cc-meta .cc-for { display: flex; gap: 4px; }
.cc-meta .cc-for i { font-style: normal; font-size: .95rem; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.cc.flash { animation: ccFlash 1.4s ease-out 1; }
@keyframes ccFlash { 0%, 30% { border-color: var(--brass); box-shadow: 0 0 0 2px var(--brass), 0 0 40px -6px rgba(245,185,66,.7); } 100% { box-shadow: none; } }
#course-devops-z2h, .cc { scroll-margin-top: 200px; }

@media (max-width: 1200px) { .finder { top: 76px; } }
@media (max-width: 900px) {
  .aud-panel, .aud-panel:has(.ap-path) { grid-template-columns: 1fr; }
  .cc.flagship .cc-learn ul { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .finder { top: 72px; padding: 8px; border-radius: 14px; }
  .seg { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .seg button { padding: 8px 6px; font-size: .78rem; }
  .finder .filters { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .finder .filters::-webkit-scrollbar { display: none; }
  .finder .filters button { flex-shrink: 0; }
}

/* =====================================================================
   v4: simpler navigation + calmer layout
   ===================================================================== */
.nav-links { gap: 2px; font-size: .92rem; }
.dd { position: relative; }
.dd-btn { font: inherit; color: var(--dim); background: none; border: 0; cursor: pointer; padding: 7px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.dd-btn:hover, .dd.open .dd-btn { color: var(--ink); background: rgba(255,255,255,.06); }
.dd-btn.is-current { color: var(--ink); background: rgba(245,185,66,.14); box-shadow: inset 0 0 0 1px rgba(245,185,66,.35); }
.dd-btn span { font-size: .7em; margin-left: 2px; display: inline-block; transition: transform .2s; }
.dd.open .dd-btn span { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(-6px); width: 560px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 10px; border-radius: 18px;
  background: rgba(8, 12, 30, .97); border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0,0,0,.9);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
.dd.open .dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dd-menu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px !important; border-radius: 12px !important; color: var(--ink); }
.dd-menu a:hover, .dd-menu a[aria-current="page"] { background: rgba(255,255,255,.06); box-shadow: none; }
.dd-menu b { display: block; font-weight: 600; font-size: .92rem; }
.dd-menu b sup { font-family: var(--mono); font-size: .55rem; color: #1a1205; background: var(--violet); padding: 1px 5px; border-radius: 999px; }
.dd-menu small { display: block; color: var(--dim); font-size: .76rem; margin-top: 1px; }
.dd-ic { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 1rem; }

@media (max-width: 1200px) {
  .nav.open .dd { width: 100%; }
  .nav.open .dd-btn { display: none; }
  .nav.open .dd-menu { position: static; transform: none; width: 100%; opacity: 1; visibility: visible; grid-template-columns: 1fr;
    background: rgba(255,255,255,.03); box-shadow: none; padding: 6px; margin: 4px 0; }
  .nav.open .dd-menu::before { content: 'TOPICS'; font: 600 .62rem var(--mono); letter-spacing: .14em; color: var(--brass); padding: 4px 8px 2px; }
}

/* Inner-page intros: shorter, so content starts sooner */
.page-hero { min-height: 62vh; min-height: 62svh; padding-bottom: 28px; }
@media (max-width: 900px) { .page-hero { padding-top: 42vh; } }

/* Fewer floating labels on small screens */
@media (max-width: 900px) { .label-layer { display: none; } }

/* ---------- Home v2 ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: .86rem; color: #c3cbe6; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust b { color: var(--brass); font-weight: 600; }
.hero.simple { grid-template-columns: 1fr; align-items: center; min-height: 92vh; min-height: 92svh; padding-bottom: 40px; }
.hero.simple .hero-copy { max-width: 640px; }
.paths3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.path3 { padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.path3:hover { transform: translateY(-4px); border-color: var(--brass); box-shadow: 0 18px 40px -22px rgba(245,185,66,.8); }
.path3 .p3-icon { font-size: 1.6rem; line-height: 1; }
.path3 h3 { margin: 0; font-size: 1.25rem; }
.path3 p { color: #b4bdd9; font-size: .93rem; }
.path3 ul { list-style: none; display: grid; gap: 6px; font-size: .86rem; color: #dbe2f7; }
.path3 li::before { content: '→ '; color: var(--cyan); }
.path3 .f-go { margin-top: auto; }
.topics6 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.topic { display: flex; align-items: center; gap: 14px; padding: 18px; transition: border-color .2s, transform .2s; }
.topic:hover { border-color: var(--accent, var(--cyan)); transform: translateY(-3px); }
.topic .ex-icon { flex-shrink: 0; }
.topic b { display: block; font-size: 1.02rem; }
.topic small { display: block; color: var(--dim); font-size: .82rem; margin-top: 2px; }
.topic .arrow { margin-left: auto; color: var(--dim); }
.why3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.why3 > div { padding: 22px; }
.why3 h3 { font-size: 1.05rem; margin: 10px 0 6px; }
.why3 p { color: #b4bdd9; font-size: .9rem; }
.why3 .ex-icon { --accent: var(--brass); }
.next-step { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(22px, 3vw, 34px); border-color: rgba(245,185,66,.4);
  background: radial-gradient(ellipse at 0% 0%, rgba(245,185,66,.16), transparent 55%), var(--glass); }
.next-step h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.next-step p { color: #c3cbe6; margin-top: 8px; }
@media (max-width: 900px) {
  .paths3, .why3 { grid-template-columns: 1fr; }
  .topics6 { grid-template-columns: 1fr 1fr; }
  .next-step { flex-direction: column; align-items: flex-start; }
  .hero.simple { padding-top: 46vh; }
}
@media (max-width: 560px) { .topics6 { grid-template-columns: 1fr; } }

/* On phones the bolt would cross the text; keep just the power line + nodes */
@media (max-width: 900px) { .energy-arc { display: none; } }

/* Small laptops / tablets: stack the wheel above the text (matches scene.js isSmall < 1150px) */
@media (max-width: 1150px) {
  .hero.simple { padding-top: 46vh; }
  .page-hero { padding-top: 42vh; min-height: auto; }
  .vignette { background: linear-gradient(180deg, transparent 0%, rgba(4,7,20,.2) 35%, rgba(4,7,20,.85) 60%); }
}

@media (max-width: 1150px) { .energy-arc, .label-layer { display: none; } }

/* ---------- Waitlist form (shared) ---------- */
.sub-form.wl { max-width: 620px; border-radius: 18px; padding: 6px; }
.sub-form.wl input[type=email] { flex: 1.4; }
.sub-form.wl select { flex: 1; min-width: 0; font: inherit; font-size: .9rem; color: var(--ink); background: rgba(255,255,255,.04); border: 0; border-left: 1px solid var(--line); padding: 0 12px; outline: 0; cursor: pointer; }
.sub-form.wl select option { background: #0b1226; color: var(--ink); }
.sub-form.wl button:disabled { opacity: .6; cursor: wait; }
.sub-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { margin-top: 6px; font-size: .78rem; color: var(--dim); }
@media (max-width: 640px) {
  .sub-form.wl { flex-direction: column; border-radius: 16px; }
  .sub-form.wl input[type=email], .sub-form.wl select { padding: 12px 14px; flex: none; border-left: 0; border-top: 1px solid var(--line); }
  .sub-form.wl input[type=email] { border-top: 0; }
}
