:root {
  /* Colorway 1, Ivory + terracotta (light) */
    --bg: #FAF8F4; --surface: #F1ECE4; --surface-2: #E7E0D5; --ink: #262321; --muted: #7A726A;
    --line: rgba(38,35,33,.1); --accent: #B5654A; --accent-2: #D9A27E; --accent-ink: #FFFFFF; --blue: #4F6D8F;
    --card-dark: #262321;
    --glass: rgba(241,236,228,.72); --glass-line: rgba(255,255,255,.7);
    --shadow-1: 0 1px 2px rgba(38,35,33,.06), 0 8px 24px rgba(38,35,33,.07);
    --shadow-2: 0 2px 4px rgba(38,35,33,.06), 0 24px 60px rgba(38,35,33,.13);
    --scrim: rgba(38,35,33,.42);
    --orb-base: 190,112,84; --orb-a: 222,170,128; --orb-b: 196,124,108; --orb-c: 128,146,170; --orb-d: 248,236,222; --orb-e: 160,82,58;
    --k-orange: #B5654A; --k-orange-2: #D9A27E; --k-blue: #4F6D8F; --k-blue-2: #93A8C2; --k-green: #7E8F5E; --k-mint: #A9B98D; --k-amber: #C9A96E; --k-pink: #B8705F;
    color-scheme: light;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 22px;
}
/* Ivory + terracotta, dark */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
    --bg: #1B1715; --surface: #26211E; --surface-2: #302A26; --ink: #F1ECE4; --muted: #A39A90;
    --line: rgba(241,236,228,.09); --accent: #C97A5E; --accent-2: #8E5A45; --accent-ink: #1B1715; --blue: #8FA8C6;
    --card-dark: #26211E;
    --glass: rgba(38,33,30,.7); --glass-line: rgba(241,236,228,.1);
    --shadow-1: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
    --shadow-2: 0 2px 4px rgba(0,0,0,.4), 0 24px 60px rgba(0,0,0,.55);
    --scrim: rgba(0,0,0,.6);
    --orb-base: 201,122,94; --orb-a: 228,176,134; --orb-b: 204,130,112; --orb-c: 128,146,170; --orb-d: 246,234,220; --orb-e: 168,88,62;
    --k-orange: #C97A5E; --k-orange-2: #DFAB88; --k-blue: #6F8CAE; --k-blue-2: #9FB2CA; --k-green: #8E9F6E; --k-mint: #B3C296; --k-amber: #D1B07A; --k-pink: #C47F6E;
    color-scheme: dark;
} }
:root[data-theme="dark"] {
    --bg: #1B1715; --surface: #26211E; --surface-2: #302A26; --ink: #F1ECE4; --muted: #A39A90;
    --line: rgba(241,236,228,.09); --accent: #C97A5E; --accent-2: #8E5A45; --accent-ink: #1B1715; --blue: #8FA8C6;
    --card-dark: #26211E;
    --glass: rgba(38,33,30,.7); --glass-line: rgba(241,236,228,.1);
    --shadow-1: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
    --shadow-2: 0 2px 4px rgba(0,0,0,.4), 0 24px 60px rgba(0,0,0,.55);
    --scrim: rgba(0,0,0,.6);
    --orb-base: 201,122,94; --orb-a: 228,176,134; --orb-b: 204,130,112; --orb-c: 128,146,170; --orb-d: 246,234,220; --orb-e: 168,88,62;
    --k-orange: #C97A5E; --k-orange-2: #DFAB88; --k-blue: #6F8CAE; --k-blue-2: #9FB2CA; --k-green: #8E9F6E; --k-mint: #B3C296; --k-amber: #D1B07A; --k-pink: #C47F6E;
    color-scheme: dark;
}
/* Colorway 2, Ink + soft gold: light */
:root[data-palette="gold"] {
    --bg: #F7F6F2; --surface: #EEECE6; --surface-2: #E3E0D8; --ink: #14161A; --muted: #6E6C66;
    --line: rgba(20,22,26,.1); --accent: #9A7634; --accent-2: #C9A96E; --accent-ink: #FFFFFF; --blue: #4F6487;
    --card-dark: #14161A;
    --glass: rgba(238,236,230,.72); --glass-line: rgba(255,255,255,.7);
    --shadow-1: 0 1px 2px rgba(20,22,26,.06), 0 8px 24px rgba(20,22,26,.07);
    --shadow-2: 0 2px 4px rgba(20,22,26,.06), 0 24px 60px rgba(20,22,26,.13);
    --scrim: rgba(20,22,26,.42);
    --orb-base: 196,160,98; --orb-a: 230,204,150; --orb-b: 176,138,86; --orb-c: 116,132,158; --orb-d: 246,238,218; --orb-e: 146,110,58;
    --k-orange: #B08A45; --k-orange-2: #D7BE8C; --k-blue: #5B7396; --k-blue-2: #98ABC6; --k-green: #7F906A; --k-mint: #ADBB95; --k-amber: #C9A96E; --k-pink: #AE7F62;
    color-scheme: light;
}
/* Ink + soft gold, dark */
@media (prefers-color-scheme: dark) { :root[data-palette="gold"]:not([data-theme="light"]) {
    --bg: #14161A; --surface: #1E2127; --surface-2: #272B32; --ink: #E8E6E1; --muted: #9A9890;
    --line: rgba(232,230,225,.09); --accent: #C9A96E; --accent-2: #8E7448; --accent-ink: #14161A; --blue: #8FA8D6;
    --card-dark: #1E2127;
    --glass: rgba(30,33,39,.7); --glass-line: rgba(232,230,225,.1);
    --shadow-1: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
    --shadow-2: 0 2px 4px rgba(0,0,0,.4), 0 24px 60px rgba(0,0,0,.55);
    --scrim: rgba(0,0,0,.6);
    --orb-base: 201,169,110; --orb-a: 234,210,158; --orb-b: 184,146,96; --orb-c: 118,134,160; --orb-d: 246,238,218; --orb-e: 150,116,66;
    --k-orange: #C9A96E; --k-orange-2: #E2CC9E; --k-blue: #7088AA; --k-blue-2: #A3B4CC; --k-green: #8FA078; --k-mint: #B7C59C; --k-amber: #DDBF86; --k-pink: #C08A70;
    color-scheme: dark;
} }
:root[data-palette="gold"][data-theme="dark"] {
    --bg: #14161A; --surface: #1E2127; --surface-2: #272B32; --ink: #E8E6E1; --muted: #9A9890;
    --line: rgba(232,230,225,.09); --accent: #C9A96E; --accent-2: #8E7448; --accent-ink: #14161A; --blue: #8FA8D6;
    --card-dark: #1E2127;
    --glass: rgba(30,33,39,.7); --glass-line: rgba(232,230,225,.1);
    --shadow-1: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
    --shadow-2: 0 2px 4px rgba(0,0,0,.4), 0 24px 60px rgba(0,0,0,.55);
    --scrim: rgba(0,0,0,.6);
    --orb-base: 201,169,110; --orb-a: 234,210,158; --orb-b: 184,146,96; --orb-c: 118,134,160; --orb-d: 246,238,218; --orb-e: 150,116,66;
    --k-orange: #C9A96E; --k-orange-2: #E2CC9E; --k-blue: #7088AA; --k-blue-2: #A3B4CC; --k-green: #8FA078; --k-mint: #B7C59C; --k-amber: #DDBF86; --k-pink: #C08A70;
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--bg);
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.wrap {
  max-width: 1180px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand-dot { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 32% 30%, #FFD3B8, var(--k-orange-2, #FF7A45) 45%, var(--k-pink, #E8366E) 80%); box-shadow: inset -3px -4px 8px rgba(0,0,0,.18), 0 3px 8px rgba(242,84,27,.35); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a.cta { background: var(--ink); color: var(--bg); }
.nav-links a.cta:hover { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 720px) { .nav-links a:not(.cta) { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-block: 56px 40px; }
.hero .hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; font-weight: 800; margin-top: 14px; }
.h1-name { display: block; font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.4; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 34em; margin: 20px 0 28px; }
.hero p.lede strong { color: var(--ink); font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-1); font-size: 14px; font-weight: 500; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--k-green, #1DB954); box-shadow: 0 0 0 4px rgba(29,185,84,.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(29,185,84,.05); } }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 16px; padding: 13px 22px; border-radius: 999px; border: 0; cursor: pointer; font-family: inherit; transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, background .2s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 38%, transparent); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.stage { position: relative; aspect-ratio: 1 / 1; max-width: 100%; perspective: 1200px; min-width: 0; }
.orb-wrap { position: absolute; inset: 14%; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
.orb { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 40px 80px -20px rgba(var(--orb-b),.45), 0 20px 40px -10px rgba(var(--orb-e),.35); }
.orb canvas { width: 100%; height: 100%; display: block; filter: blur(14px) saturate(1.15); transform: scale(1.15); }
.orb::before { content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: 2; box-shadow: inset -26px -38px 70px rgba(60,10,30,.35), inset 18px 22px 50px rgba(255,255,255,.35); }
.orb::after { content: ""; position: absolute; z-index: 3; left: 16%; top: 10%; width: 38%; height: 26%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(255,255,255,.85), rgba(255,255,255,0) 70%); filter: blur(2px); transform: rotate(-22deg); }
.eyes { position: absolute; z-index: 4; left: 50%; top: 44%; display: flex; gap: 15%; width: 36%; transform: translate(-50%, -50%); justify-content: center; }
.eye { width: 18%; aspect-ratio: 0.62; background: #1B0F0C; border-radius: 50%; transform-origin: center; animation: blink 5.5s infinite; position: relative; }
.eye::after { content: ""; position: absolute; width: 34%; height: 22%; border-radius: 50%; background: rgba(255,255,255,.9); left: 22%; top: 16%; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.08); } }
.ground { position: absolute; left: 24%; right: 24%; bottom: 4%; height: 7%; border-radius: 50%; background: radial-gradient(ellipse, rgba(14,17,22,.28), transparent 70%); filter: blur(6px); animation: ground 6s ease-in-out infinite; }
@keyframes ground { 50% { transform: scaleX(.86); opacity: .7; } }

.chip3d {
  position: absolute; z-index: 6; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 18px; background: var(--glass);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--glass-line); box-shadow: var(--shadow-2);
  font-size: 14px; white-space: nowrap; will-change: transform;
}
.chip3d b { font-family: var(--font-display); font-size: 22px; letter-spacing: -.02em; display: block; line-height: 1.1; }
.chip3d small { color: var(--muted); font-size: 12px; display: block; }
.chip3d .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.c1 { left: -2%; top: 14%; animation: bob 7s ease-in-out infinite; }
.c2 { right: -2%; top: 42%; animation: bob 8s ease-in-out -2s infinite; }
.c3 { left: 6%; bottom: 8%; animation: bob 6.5s ease-in-out -4s infinite; }
@keyframes bob { 50% { translate: 0 -10px; } }
.live-ic { background: #111; color: #fff; }
.wave { display: flex; align-items: center; gap: 2px; height: 16px; }
.wave span { width: 3px; border-radius: 2px; background: var(--k-pink, #FF5A5F); animation: wave 1s ease-in-out infinite; }
.wave span:nth-child(2) { animation-delay: -.2s; } .wave span:nth-child(3) { animation-delay: -.4s; } .wave span:nth-child(4) { animation-delay: -.6s; }
@keyframes wave { 0%, 100% { height: 4px; } 50% { height: 16px; } }

@media (max-width: 880px) {
  .hero .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .stage { order: -1; width: min(420px, 100%); margin: 0 auto; }
  .hero { padding-block: 24px 32px; }
}
@media (max-width: 480px) {
  .chip3d { padding: 9px 12px; font-size: 12px; }
  .chip3d b { font-size: 18px; }
  .chip3d .ic { width: 28px; height: 28px; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 28px; }
.stat { background: var(--surface); border-radius: 18px; padding: 18px 18px 16px; box-shadow: var(--shadow-1); min-width: 0; }
.stat b { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.03em; display: block; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 14px; line-height: 1.35; display: block; margin-top: 6px; }
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats .stat:last-child { grid-column: 1 / -1; } }

/* ---------- Sections ---------- */
section.block { padding-block: 72px 24px; scroll-margin-top: 70px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.sec-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.05; font-weight: 700; margin-top: 8px; }

/* Lens switcher */
.lens { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface-2); position: relative; }
.lens button { border: 0; background: transparent; font: 600 14px/1 var(--font-body); color: var(--muted); padding: 10px 16px; border-radius: 999px; cursor: pointer; transition: color .2s, background .25s, box-shadow .25s; }
.lens button:hover { color: var(--ink); }
.lens button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.lens-pitch { font-size: 18px; color: var(--muted); max-width: 46em; margin: 0 0 22px; min-height: 1.6em; }
.lens-pitch strong { color: var(--ink); }

/* Work cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card {
  position: relative; display: flex; flex-direction: column; text-align: left; text-decoration: none;
  background: var(--surface); border: 0; border-radius: var(--radius); padding: 0; cursor: pointer;
  color: var(--ink); font: inherit; box-shadow: var(--shadow-1); min-width: 0;
  transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, opacity .35s, filter .35s;
  will-change: transform;
}
.card:hover { box-shadow: var(--shadow-2); }
.card.dim { opacity: .38; filter: saturate(.3); transform: scale(.97); }
.card .art {
  position: relative; height: 190px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden;
  transform-style: preserve-3d; color: #fff;
}
.card .art .z1 { transform: translateZ(30px); }
.card .art .z2 { transform: translateZ(60px); }
.card .shine { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.35), transparent 45%); opacity: 0; transition: opacity .3s; }
.card:hover .shine { opacity: 1; }
.card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 22px; font-weight: 700; line-height: 1.15; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--accent); margin-top: 4px; }
.more svg { transition: transform .2s; }
.card:hover .more svg { transform: translateX(3px); }

/* Card art scenes */
.a-vision { background: radial-gradient(circle at 70% 30%, #FF8A5B, transparent 55%), linear-gradient(135deg, #2A1B3D, #12101C); }
.a-calls { background: radial-gradient(circle at 20% 80%, #4F7BFF, transparent 60%), linear-gradient(135deg, #10203F, #0B1226); }
.a-growth { background: radial-gradient(circle at 80% 90%, var(--k-amber, #FFC24B), transparent 55%), linear-gradient(135deg, var(--k-orange, #F2541B), var(--k-pink, #C2185B)); }
.a-data { background: radial-gradient(circle at 15% 15%, var(--k-mint, #3EE6B0), transparent 55%), linear-gradient(135deg, #0E3B36, #0A1F24); }
.a-studio { background: radial-gradient(circle at 85% 20%, var(--k-blue-2, #B9A6FF), transparent 55%), linear-gradient(135deg, #2B2E83, #151741); }
.a-ops { background: radial-gradient(circle at 25% 85%, #FFB199, transparent 55%), linear-gradient(135deg, #3A3F47, #16181C); }
.big { position: absolute; left: 22px; bottom: 16px; font-family: var(--font-display); font-weight: 800; font-size: 56px; letter-spacing: -.04em; line-height: 1; }
.pill { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--k-pink, #FF4D4D); animation: pulse 1.6s infinite; }
.vf { position: absolute; inset: 26px 40px; }
.vf i { position: absolute; width: 22px; height: 22px; border-color: rgba(255,255,255,.85); border-style: solid; border-width: 0; }
.vf i:nth-child(1) { left: 0; top: 0; border-left-width: 3px; border-top-width: 3px; border-top-left-radius: 8px; }
.vf i:nth-child(2) { right: 0; top: 0; border-right-width: 3px; border-top-width: 3px; border-top-right-radius: 8px; }
.vf i:nth-child(3) { left: 0; bottom: 0; border-left-width: 3px; border-bottom-width: 3px; border-bottom-left-radius: 8px; }
.vf i:nth-child(4) { right: 0; bottom: 0; border-right-width: 3px; border-bottom-width: 3px; border-bottom-right-radius: 8px; }
.scan { position: absolute; left: 40px; right: 40px; height: 2px; top: 30px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent); animation: scan 3s ease-in-out infinite; }
@keyframes scan { 50% { top: 156px; } }
.win { position: absolute; border-radius: 12px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.win::before { content: ""; position: absolute; left: 10px; top: 9px; width: 30px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.4); }
.cursor { position: absolute; width: 18px; animation: cur 4s ease-in-out infinite; }
@keyframes cur { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(-46px, 18px); } }
.bars { position: absolute; left: 24px; right: 24px; bottom: 20px; height: 110px; display: flex; align-items: flex-end; gap: 8px; }
.bars span { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(to top, rgba(62,230,176,.45), rgba(62,230,176,.95)); transform-origin: bottom; animation: grow 3.2s cubic-bezier(.2,.8,.2,1) infinite alternate; }
@keyframes grow { from { transform: scaleY(.55); } }

/* ---------- Experience ---------- */
.timeline { display: grid; gap: 12px; }
.job { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-1); overflow: hidden; }
.job summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto 28px; gap: 16px; align-items: center; padding: 18px 22px; }
.job summary::-webkit-details-marker { display: none; }
.job summary > div { min-width: 0; }
.job h3 { font-size: 20px; font-weight: 700; line-height: 1.2; }
.job .co { color: var(--muted); font-size: 15px; }
.job .when { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.job .chev { width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; transition: transform .3s; }
.job[open] .chev { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
.job ul { margin: 0; padding: 0 22px 20px 42px; color: var(--muted); display: grid; gap: 6px; max-width: 70em; }
.job ul li::marker { color: var(--accent); }
@media (max-width: 620px) {
  .job summary { grid-template-columns: 1fr 28px; }
  .job .when { grid-column: 1; grid-row: 2; }
}
.co-link { color: inherit; text-decoration-color: var(--line); text-underline-offset: 3px; }
.co-link:hover { text-decoration-color: var(--accent); }

/* ---------- Skills + education ---------- */
.skills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .skills { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .skills { grid-template-columns: 1fr; } }
.skill { background: var(--surface); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-1); min-width: 0; }
.skill h3 { font-size: 18px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.skill h3 i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.skill ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.skill li { font-size: 14px; padding: 6px 10px; border-radius: 10px; background: var(--surface-2); }
.edu { margin-top: 16px; display: flex; align-items: center; gap: 16px; background: var(--surface); border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow-1); flex-wrap: wrap; }
.edu b { font-family: var(--font-display); font-size: 20px; }
.edu span { color: var(--muted); }

/* ---------- Contact ---------- */
.contact {
  margin-top: 24px; border-radius: 32px; padding: clamp(28px, 5vw, 56px);
  background: radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 50%), radial-gradient(circle at 10% 100%, color-mix(in srgb, var(--accent-2) 40%, transparent), transparent 55%), var(--card-dark); border: 1px solid var(--line);
  color: #FFF4EE; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; overflow: hidden;
}
.contact h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.02; font-weight: 800; }
.contact p { color: rgba(255,244,238,.75); margin: 14px 0 0; max-width: 30em; }
.contact .eyebrow { color: rgba(255,244,238,.6); }
.links { display: grid; gap: 10px; min-width: 0; }
.link-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); text-decoration: none; color: #FFF4EE; transition: background .2s, transform .2s; min-width: 0; }
.link-row:hover { background: rgba(255,255,255,.14); transform: translateX(3px); }
.link-row .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,244,238,.6); display: block; }
.link-row .val { font-weight: 600; overflow-wrap: anywhere; user-select: all; }
.copy { border: 0; cursor: pointer; font: 600 13px var(--font-body); padding: 8px 12px; border-radius: 999px; background: #FFF4EE; color: #14100F; flex: none; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }
footer { padding-block: 32px 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Detail sheet ---------- */
dialog.sheet {
  border: 0; padding: 0; margin: auto; width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 48px);
  border-radius: 28px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-2); overflow: hidden;
}
dialog.sheet::backdrop { background: var(--scrim); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog.sheet[open] { animation: sheetIn .45s cubic-bezier(.2,.9,.2,1); }
@keyframes sheetIn { from { transform: translateY(24px) scale(.97); opacity: .4; } }
.sheet .art { height: 170px; position: relative; color: #fff; }
.sheet .art .pill[style*="right"] { right: 66px !important; }
.sheet-body { padding: 26px clamp(20px, 4vw, 36px) 32px; overflow-y: auto; max-height: calc(100vh - 48px - 170px); }
.sheet h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.08; }
.sheet .role { color: var(--muted); margin: 6px 0 18px; font-size: 15px; }
.sheet h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 22px 0 8px; font-weight: 500; }
.sheet ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.sheet ul li::marker { color: var(--accent); }
.sheet .kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.sheet .kpi { background: var(--surface-2); border-radius: 14px; padding: 14px; }
.sheet .kpi b { font-family: var(--font-display); font-size: 26px; letter-spacing: -.02em; display: block; font-variant-numeric: tabular-nums; }
.sheet .kpi span { font-size: 13px; color: var(--muted); }
.close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.35); color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.clients { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.client { background: var(--surface-2); border-radius: 14px; padding: 12px 14px; font-size: 14px; color: var(--muted); }
.client b { color: var(--ink); display: block; font-size: 15px; }
.sheet a.ext { color: var(--accent); font-weight: 600; }

/* ---------- Load sequence ---------- */
.rise { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; } .rise.d4 { animation-delay: .32s; }
@keyframes rise { from { transform: translateY(18px); } }
.reveal { transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.below { transform: translateY(26px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Shared page chrome ---------- */
html, body { margin: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 16px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 16px; }
.foot-nav a { color: var(--muted); text-decoration: none; }
.foot-nav a:hover { color: var(--ink); }

/* ---------- Detail sheet loaded from a case page ---------- */
.sheet .case-art { height: 170px; position: relative; color: #fff; border-radius: 0; }
.sheet .case-head, .sheet .case-content { padding-left: clamp(20px, 4vw, 36px); padding-right: clamp(20px, 4vw, 36px); }
.sheet .case-scroll { overflow-y: auto; max-height: calc(100vh - 48px - 170px); padding-bottom: 28px; }
.sheet .case-head { padding-top: 24px; }
.sheet .case-head h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.sheet .case-more { display: none; }
.sheet-open { display: inline-flex; margin: 18px clamp(20px, 4vw, 36px) 0; font-weight: 600; color: var(--accent); text-decoration: none; gap: 6px; align-items: center; }
.sheet-open:hover { text-decoration: underline; }

/* ---------- Case study page ---------- */
.case { padding-block: 28px 40px; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-case .case-art { position: relative; height: clamp(200px, 30vw, 320px); border-radius: 28px; overflow: hidden; color: #fff; box-shadow: var(--shadow-2); }
.page-case .case-art .big { font-size: clamp(56px, 9vw, 96px); left: clamp(22px, 4vw, 40px); bottom: clamp(16px, 3vw, 32px); }
.case-head { max-width: 760px; padding-top: 28px; }
.case-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.04; margin-top: 8px; }
.case-head .role { color: var(--muted); margin: 8px 0 0; }
.case-content { max-width: 760px; }
.case-content > p { font-size: 18px; margin: 18px 0 0; }
.case-content h2 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 28px 0 10px; font-weight: 500; }
.case-content ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.case-content ul li::marker { color: var(--accent); }
.case-content .kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 22px; }
.case-content .kpi { background: var(--surface); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-1); }
.sheet .case-content .kpi { background: var(--surface-2); box-shadow: none; }
.case-content .kpi b { font-family: var(--font-display); font-size: 28px; letter-spacing: -.02em; display: block; font-variant-numeric: tabular-nums; }
.case-content .kpi span { font-size: 13px; color: var(--muted); }
.case-content .clients { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.case-content .client { background: var(--surface); border-radius: 14px; padding: 12px 14px; font-size: 14px; color: var(--muted); box-shadow: var(--shadow-1); }
.sheet .case-content .client { background: var(--surface-2); box-shadow: none; }
.case-content .client b { color: var(--ink); display: block; font-size: 15px; }
.case-content a.ext { color: var(--accent); font-weight: 600; }
.more-work { padding-block: 24px 8px; }
.more-work h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.mini { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-1); text-decoration: none; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; min-width: 0; }
.mini:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.mini b { font-family: var(--font-display); font-size: 19px; }
.mini span { color: var(--muted); font-size: 14px; }

/* ---------- Resume page ---------- */
.resume-page { padding-block: 32px 24px; }
.resume { max-width: 820px; background: var(--surface); border-radius: 28px; box-shadow: var(--shadow-1); padding: clamp(24px, 5vw, 56px); }
.resume header { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 8px; }
.resume h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
.resume .contact-line { color: var(--muted); margin: 8px 0 0; font-size: 15px; overflow-wrap: anywhere; }
.resume .contact-line a { color: inherit; }
.resume h2 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 26px 0 10px; font-weight: 500; }
.resume h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.resume .meta { color: var(--muted); font-size: 14px; font-family: var(--font-mono); margin: 2px 0 8px; }
.resume ul { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 5px; }
.resume ul li::marker { color: var(--accent); }
.resume p { margin: 0 0 12px; }

/* ---------- Fixes after review ---------- */
@media (max-width: 880px) {
  .c2 { top: 66%; right: 0; }
  .c3 { bottom: 2%; left: 4%; }
  .c1 { top: 8%; left: 3%; }
}
.page-case .a-vision .big, .sheet .a-vision .big { left: 70px; bottom: 46px; }
.resume { margin: 0 auto; }

/* ============ Story pages ============ */
.stats-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .stats-3 { grid-template-columns: 1fr; } .stats-3 .stat:last-child { grid-column: auto; } }

/* Role paths: one click to the right story */
.paths { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; perspective: 1200px; }
@media (max-width: 1080px) { .paths { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .paths { grid-template-columns: 1fr; } }
.path {
  position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 190px; min-width: 0;
  padding: 20px 20px 18px; border-radius: 22px; text-decoration: none; color: var(--ink);
  background: linear-gradient(160deg, var(--surface), var(--surface-2)); box-shadow: var(--shadow-1);
  transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.path:hover, .path:focus-visible { transform: translateY(-6px) rotateX(6deg); box-shadow: var(--shadow-2); }
.path-num { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; font: 700 15px var(--font-display); color: var(--accent-ink); background: var(--accent); box-shadow: 0 6px 14px color-mix(in srgb, var(--accent) 40%, transparent); transform: translateZ(30px); }
.path b { font-family: var(--font-display); font-size: 21px; line-height: 1.12; letter-spacing: -.01em; transform: translateZ(20px); }
.path > span:not(.path-num):not(.path-go) { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.path-go { margin-top: auto; color: var(--accent); display: inline-flex; transition: transform .25s; }
.path:hover .path-go { transform: translateX(5px); }
@media (max-width: 680px) { .path { min-height: 0; } }

/* Story timeline with a thread that fills as you scroll */
.story-wrap { position: relative; padding-left: 64px; }
.thread { position: absolute; left: 21px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.thread-fill { position: absolute; inset: 0 0 auto 0; height: calc(var(--p, 1) * 100%); background: linear-gradient(var(--accent), var(--accent-2)); border-radius: 3px; }
.story { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.chapter { position: relative; }
.node { position: absolute; left: -64px; top: 18px; width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; background: var(--surface); color: var(--muted); box-shadow: var(--shadow-1); transition: background .4s, color .4s, transform .4s cubic-bezier(.2,.8,.2,1); }
.chapter.lit .node { background: var(--accent); color: var(--accent-ink); transform: scale(1.06); }
.chapter-card { background: var(--surface); border-radius: 20px; padding: 18px 22px 20px; box-shadow: var(--shadow-1); max-width: 760px; }
.chapter-card h3 { font-size: 23px; margin: 4px 0 6px; }
.chapter-card p { margin: 0; color: var(--muted); font-size: 16.5px; }
@media (max-width: 560px) { .story-wrap { padding-left: 50px; } .node { left: -50px; width: 38px; height: 38px; border-radius: 13px; } .thread { left: 17px; } }

/* Principles */
.beliefs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 980px) { .beliefs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .beliefs { grid-template-columns: 1fr; } }
.belief { background: var(--surface); border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow-1); min-width: 0; border-top: 3px solid transparent; transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s; }
.belief:hover { transform: translateY(-4px); border-top-color: var(--accent); box-shadow: var(--shadow-2); }
.belief h3 { font-size: 19px; margin-bottom: 6px; }
.belief p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Teaching ladder: rungs step down in depth */
.ladder-wrap { margin-top: 22px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: center; background: var(--surface); border-radius: 28px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-1); }
@media (max-width: 860px) { .ladder-wrap { grid-template-columns: 1fr; } }
.ladder-copy h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; margin: 8px 0 10px; }
.ladder-copy p { margin: 0; color: var(--muted); }
.ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; perspective: 900px; counter-reset: rung; min-width: 0; }
.ladder li {
  counter-increment: rung; position: relative; display: grid; gap: 2px; padding: 12px 16px 12px 52px; border-radius: 14px;
  background: color-mix(in srgb, var(--accent) calc(100% - var(--i) * 22%), var(--surface-2));
  color: #fff; margin-left: calc(var(--i) * 4%); transform: rotateX(8deg); transform-origin: top;
  box-shadow: 0 calc(10px - var(--i) * 2px) calc(24px - var(--i) * 4px) rgba(14,17,22,.14);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.ladder li::before { content: counter(rung); position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; font: 700 13px var(--font-mono); background: rgba(255,255,255,.22); }
.ladder li:hover { transform: rotateX(0deg) translateX(6px); }
.ladder li b { font-size: 15.5px; }
.ladder li span { font-size: 13.5px; opacity: .85; }
.ladder li:nth-child(n+4) { color: var(--ink); }
.ladder li:nth-child(n+4)::before { background: var(--line); }
.ladder li:last-child { background: var(--surface-2); color: var(--muted); box-shadow: none; border: 1px dashed color-mix(in srgb, var(--muted) 45%, transparent); }

/* How I can help */
.helps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.help { padding: 18px 20px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-1); min-width: 0; position: relative; overflow: hidden; }
.help::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.help h3 { font-size: 17.5px; margin-bottom: 4px; }
.help p { margin: 0; color: var(--muted); font-size: 15px; }
.tagline { margin: 22px 0 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.9rem); letter-spacing: -.02em; }

/* Other roles footer strip */
.other-roles { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; padding-block: 28px 8px; color: var(--muted); font-size: 14px; }
.other-roles a { text-decoration: none; color: var(--ink); background: var(--surface); padding: 7px 12px; border-radius: 999px; box-shadow: var(--shadow-1); font-weight: 500; }
.other-roles a:hover { background: var(--accent); color: var(--accent-ink); }

/* Contact paragraphs */
.contact p + p { margin-top: 10px; }

/* Eyes: the face moves as a group, pupils pull hard toward the pointer */
.orb::after { translate: var(--hx, 0px) var(--hy, 0px); transition: none; }
.eye { will-change: translate, scale; }
.eyes { will-change: translate; }

@media (prefers-reduced-motion: reduce) { .path:hover, .ladder li:hover, .belief:hover { transform: none; } }
.beliefs.n4 { grid-template-columns: repeat(2, 1fr); }
.helps.n9 { grid-template-columns: repeat(3, 1fr); }
.helps.n4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .helps.n9, .helps.n4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .beliefs.n4, .helps.n9, .helps.n4 { grid-template-columns: 1fr; } }
@media (min-width: 881px) { .c2 { top: 60%; } }

/* ================= Theatre ================= */
:root { --stage-glow: rgba(242, 84, 27, .07); --beam: rgba(255, 214, 160, .38); --velvet-1: #4a0b16; --velvet-2: #7a1426; --velvet-3: #a51f35; --gold: #D9A441; --open: 0s; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --stage-glow: rgba(255, 150, 80, .12); --beam: rgba(255, 220, 170, .2); } }
:root[data-theme="dark"] { --stage-glow: rgba(255, 150, 80, .12); --beam: rgba(255, 220, 170, .2); }
body { background: radial-gradient(ellipse 90% 55% at 50% -12%, var(--stage-glow), transparent 62%) no-repeat, var(--bg); }

/* Curtain: shown only when the page script asks for it, so the page is complete without it */
.curtain { display: none; }
.show .curtain, .closing .curtain { display: block; position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.curtain-done:not(.closing) .curtain, .skip-curtain:not(.closing) .curtain { display: none; }
.show { --open: 1.7s; --cd: 1.6s; --cdel: .95s; --mdel: .7s; --vdel: 2.3s; }
.show.quick { --open: .75s; --cd: .9s; --cdel: .3s; --mdel: .1s; --vdel: 1s; }
.drape {
  position: absolute; top: 0; bottom: 0; width: 51%;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0) 22%, rgba(0,0,0,0) 70%, rgba(0,0,0,.55)),
    repeating-linear-gradient(90deg, var(--velvet-1) 0, var(--velvet-2) 18px, var(--velvet-3) 34px, var(--velvet-2) 50px, var(--velvet-1) 68px);
  box-shadow: inset 0 0 90px rgba(0,0,0,.55);
}
.drape-l { left: 0; transform-origin: left center; animation: drapeL var(--cd) cubic-bezier(.65,0,.25,1) var(--cdel) forwards; }
.drape-r { right: 0; transform-origin: right center; animation: drapeR var(--cd) cubic-bezier(.65,0,.25,1) var(--cdel) forwards; }
@keyframes drapeL { 70% { transform: scaleX(.14) skewY(.5deg); opacity: 1; } 100% { transform: translateX(-14%) scaleX(.1); opacity: 0; } }
@keyframes drapeR { 70% { transform: scaleX(.14) skewY(-.5deg); opacity: 1; } 100% { transform: translateX(14%) scaleX(.1); opacity: 0; } }
.valance {
  position: absolute; left: 0; right: 0; top: 0; height: 9vh; min-height: 56px; border-bottom: 3px solid var(--gold);
  background: repeating-linear-gradient(90deg, var(--velvet-1) 0 34px, var(--velvet-2) 34px 68px);
  box-shadow: 0 10px 30px rgba(0,0,0,.4); animation: valanceUp .7s cubic-bezier(.6,0,.3,1) var(--vdel) forwards;
}
.valance::after { content: ""; position: absolute; left: 0; right: 0; bottom: -17px; height: 14px; background: radial-gradient(circle at 50% 0, var(--velvet-2) 13px, transparent 14px) 0 0 / 34px 14px repeat-x; }
@keyframes valanceUp { to { transform: translateY(-120%); } }
.marquee { position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; text-align: center; padding-inline: 24px; color: #FFE9C7; animation: marqueeOut .45s ease var(--mdel) forwards; }
.marquee::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(80vw, 720px); aspect-ratio: 1.6; translate: -50% -50%; background: radial-gradient(ellipse, rgba(255,214,150,.28), transparent 65%); }
.marquee span { position: relative; font: 500 13px var(--font-mono); letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
.marquee b { position: relative; font: 800 clamp(2.2rem, 6vw, 4.4rem)/1 var(--font-display); letter-spacing: -.03em; text-shadow: 0 0 28px rgba(255,200,120,.45); }
@keyframes marqueeOut { to { opacity: 0; transform: scale(.96); } }
.quick .marquee span { display: none; }
.quick .marquee b { font-size: clamp(1.6rem, 4vw, 2.6rem); }
/* Leaving a page: the curtain closes, then the next page opens it again */
.closing .drape-l { animation: drapeInL .45s cubic-bezier(.6,0,.3,1) forwards; }
.closing .drape-r { animation: drapeInR .45s cubic-bezier(.6,0,.3,1) forwards; }
.closing .valance { animation: none; transform: none; }
.closing .marquee { display: none; }
@keyframes drapeInL { from { transform: translateX(-14%) scaleX(.1); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes drapeInR { from { transform: translateX(14%) scaleX(.1); opacity: 0; } to { transform: none; opacity: 1; } }

/* The hero waits for the curtain, then the spotlight lands and the orb wakes up */
.show .rise { animation-delay: calc(var(--open) + .05s); }
.show .rise.d1 { animation-delay: calc(var(--open) + .13s); }
.show .rise.d2 { animation-delay: calc(var(--open) + .21s); }
.show .rise.d3 { animation-delay: calc(var(--open) + .29s); }
.show .rise.d4 { animation-delay: calc(var(--open) + .37s); }
.hero { position: relative; }
.hero .hero-grid, .hero > .wrap { position: relative; z-index: 1; }
.spotlight { position: absolute; top: 0; right: 4%; width: 48%; height: 100%; pointer-events: none; z-index: 0;
  background: linear-gradient(180deg, var(--beam), transparent 88%); clip-path: polygon(43% 0, 57% 0, 100% 100%, 0 100%); filter: blur(16px); }
.show .spotlight { animation: beam 1.1s ease calc(var(--open) - .2s) both; }
@keyframes beam { from { opacity: 0; transform: scaleY(.6); transform-origin: top; } }
@media (max-width: 880px) { .spotlight { right: 8%; width: 84%; height: 70%; } }
.show .eyes { animation: wake .55s cubic-bezier(.3,1.7,.5,1) calc(var(--open) + .35s) both; }
@keyframes wake { from { scale: 1 .08; } }

/* Each act's title gets a sweep of stage light when you arrive */
.sec-head .eyebrow { color: var(--accent); }
.onstage .sec-head h2 {
  background: linear-gradient(100deg, var(--ink) 0 38%, var(--accent) 48%, var(--accent-2) 52%, var(--ink) 62% 100%);
  background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sweep 1.3s cubic-bezier(.4,0,.2,1) .1s forwards;
}
@keyframes sweep { to { background-position: 0 0; } }

/* Encore: other views */
.encore .paths .path { background: linear-gradient(160deg, var(--surface), var(--surface-2)); }

/* Light / dark switch */
.theme-toggle { width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--surface-2); color: var(--ink); transition: transform .3s cubic-bezier(.3,1.6,.5,1), background .2s; }
.theme-toggle:hover { transform: rotate(-18deg) scale(1.06); }
.theme-toggle .i-sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; } :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; } }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
html.theme-anim, html.theme-anim * { transition: background-color .6s ease, color .6s ease, border-color .6s ease, box-shadow .6s ease !important; }

@media (prefers-reduced-motion: reduce) { .curtain { display: none !important; } }
.card .a-vision .big { left: 62px; bottom: 38px; }

/* ================= Orbit: clickable pieces circling the orb ================= */
.orb-wrap { z-index: 3; }
.orbit { position: absolute; inset: 0; pointer-events: none; }
.orbit-chip {
  position: absolute; translate: -50% -50%; z-index: 2; pointer-events: auto;
  display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 16px;
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow-2);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  color: var(--ink); text-decoration: none; white-space: nowrap; will-change: left, top, scale, opacity;
  transition: box-shadow .25s, background .25s;
}
.orbit-chip.front { z-index: 6; }
.orbit-chip b { display: block; font: 700 15px/1.15 var(--font-display); letter-spacing: -.01em; }
.orbit-chip small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 1px; }
.orbit-chip:hover, .orbit-chip:focus-visible { background: var(--surface); box-shadow: 0 0 0 2px var(--accent), var(--shadow-2); outline: none; }
.orbit-chip::after { content: "→"; font-size: 13px; color: var(--accent); margin-left: 2px; opacity: 0; translate: -4px 0; transition: opacity .2s, translate .2s; }
.orbit-chip:hover::after, .orbit-chip:focus-visible::after { opacity: 1; translate: 0 0; }
.odot { width: 28px; height: 28px; border-radius: 9px; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.dot-story { background: linear-gradient(135deg, var(--k-amber, #FFB547), var(--k-orange, #F2541B)); }
.dot-resume { background: linear-gradient(135deg, var(--k-blue-2, #8EA2FF), var(--k-blue, #2F5BFF)); }
@media (max-width: 600px) {
  .orbit-chip { gap: 7px; padding: 6px 10px 6px 6px; border-radius: 13px; }
  .orbit-chip b { font-size: 12.5px; }
  .orbit-chip small, .orbit-chip::after { display: none; }
  .odot { width: 20px; height: 20px; border-radius: 7px; }
  .orbit[data-n="6"] .orbit-chip:nth-child(n+5) { display: none; }
}

/* No curtain: the spotlight fades up and the orb wakes on load */
@media (prefers-reduced-motion: no-preference) {
  .spotlight { animation: beam 1.2s ease .15s both; }
  .eyes { animation: wake .55s cubic-bezier(.3,1.7,.5,1) .75s both; }
}

/* ================= Act I: skills stage ================= */
.skill-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 18px; }
.skill-tab {
  display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 14px 16px; border-radius: 18px; min-width: 0;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; box-shadow: var(--shadow-1);
  transition: transform .3s cubic-bezier(.3,1.5,.5,1), background .25s, color .25s, box-shadow .25s;
}
.skill-tab:hover { transform: translateY(-2px); }
.skill-tab svg { flex: none; color: var(--accent); margin-top: 1px; }
.skill-tab b { display: block; font: 700 16px/1.2 var(--font-display); }
.skill-tab small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 3px; }
.skill-tab[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: transparent; transform: translateY(-4px); box-shadow: var(--shadow-2); }
.skill-tab[aria-selected="true"] small { color: color-mix(in srgb, var(--bg) 72%, transparent); }
.skill-show { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 32px; align-items: center; background: var(--surface); border-radius: 32px; padding: clamp(16px, 3vw, 32px); box-shadow: var(--shadow-1); }
@media (max-width: 860px) { .skill-show { grid-template-columns: 1fr; gap: 18px; } .skill-tabs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .skill-tabs { grid-template-columns: 1fr; } .skill-tab small { display: none; } }
.skill-stage {
  position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; margin-inline: auto; container-type: inline-size; overflow: hidden; border-radius: 24px;
  background: radial-gradient(ellipse 60% 50% at 50% 28%, var(--stage-glow), transparent 70%), var(--surface-2);
}
.skill-stage .floor { position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: linear-gradient(to top, color-mix(in srgb, var(--ink) 7%, transparent), transparent); }
.skill-stage::after { content: ""; position: absolute; left: 32%; right: 32%; bottom: 21%; height: 4%; border-radius: 50%; background: radial-gradient(ellipse, rgba(14,17,22,.28), transparent 70%); }
.s-orb { inset: 24% 26% 28% 26%; z-index: 2; }
.prop { display: none; position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.prop.on { display: block; animation: propIn .45s cubic-bezier(.3,1.5,.5,1); }
@keyframes propIn { from { opacity: 0; transform: scale(.94); } }

.skill-panels { min-width: 0; }
.skill-panel h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.08; margin: 8px 0 12px; }
.skill-panel p { margin: 0; font-size: 17px; color: var(--muted); max-width: 60ch; }
.skill-panel.pop { animation: panelPop .55s cubic-bezier(.25,1.4,.4,1); transform-origin: left center; }
@keyframes panelPop { from { opacity: .15; transform: translateY(16px) scale(.96) rotateX(6deg); } }
.proof { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.proof > span { font: 500 12px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.proof a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--surface-2); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; transition: background .2s, color .2s; }
.proof a:hover { background: var(--accent); color: var(--accent-ink); }

/* What the orb does for each skill */
.skill-stage[data-skill="infra"] .s-orb { animation: nod 1.05s ease-in-out infinite; }
.skill-stage[data-skill="ai"] .s-orb { animation: breathe 2.4s ease-in-out infinite; }
.skill-stage[data-skill="growth"] .s-orb { animation: bounce .9s ease-in-out infinite; }
.skill-stage[data-skill="analytics"] .s-orb { animation: tilt 3s ease-in-out infinite; }
.skill-stage[data-skill="sales"] .s-orb { animation: talk .38s ease-in-out infinite; }
.skill-stage[data-skill="ops"] .s-orb { animation: sway 2.2s ease-in-out infinite; }
.skill-stage[data-skill="ux"] .s-orb { animation: tilt 3.6s ease-in-out infinite; }
.skill-stage[data-skill="content"] .s-orb { animation: bounce 1.6s ease-in-out infinite; }
@keyframes nod { 50% { transform: translateY(1.5cqw) rotate(4deg); } }
@keyframes breathe { 50% { transform: scale(1.04); } }
@keyframes bounce { 50% { transform: translateY(-3.5cqw); } }
@keyframes tilt { 50% { transform: rotate(-6deg); } }
@keyframes talk { 50% { transform: scale(1.03, .97); } }
@keyframes sway { 25% { transform: rotate(5deg); } 75% { transform: rotate(-5deg); } }

/* Systems: Lego */
.p-lego { position: absolute; left: 63%; bottom: 21%; width: 32cqw; height: 22cqw; }
.brick { position: absolute; width: 12cqw; height: 6cqw; left: calc(var(--x) * 12cqw); bottom: calc(var(--y) * 6.2cqw); background: var(--c); border-radius: 1.1cqw;
  box-shadow: inset 0 -1cqw 0 rgba(0,0,0,.18), 0 .6cqw 1.4cqw rgba(0,0,0,.2); animation: brickDrop 5.4s cubic-bezier(.3,1.4,.5,1) var(--d) infinite both; }
.brick::before { content: ""; position: absolute; top: -1.3cqw; left: 1.8cqw; width: 2.8cqw; height: 1.5cqw; border-radius: .8cqw .8cqw .2cqw .2cqw; background: var(--c); box-shadow: 5.6cqw 0 0 var(--c); filter: brightness(1.1); }
@keyframes brickDrop { 0% { transform: translateY(-60cqw); opacity: 0; } 8% { transform: none; opacity: 1; } 84% { transform: none; opacity: 1; } 94%, 100% { transform: translateY(2cqw); opacity: 0; } }

/* Real-time AI: viewfinder, scan line, sparks */
.vf-big { position: absolute; inset: 17% 19% 22% 19%; animation: breathe 2.4s ease-in-out infinite; }
.vf-big i { position: absolute; width: 8cqw; height: 8cqw; border: 0 solid var(--accent); }
.vf-big i:nth-child(1) { left: 0; top: 0; border-left-width: .9cqw; border-top-width: .9cqw; border-top-left-radius: 2cqw; }
.vf-big i:nth-child(2) { right: 0; top: 0; border-right-width: .9cqw; border-top-width: .9cqw; border-top-right-radius: 2cqw; }
.vf-big i:nth-child(3) { left: 0; bottom: 0; border-left-width: .9cqw; border-bottom-width: .9cqw; border-bottom-left-radius: 2cqw; }
.vf-big i:nth-child(4) { right: 0; bottom: 0; border-right-width: .9cqw; border-bottom-width: .9cqw; border-bottom-right-radius: 2cqw; }
.scan-big { position: absolute; left: 21%; right: 21%; top: 19%; height: .6cqw; border-radius: 1cqw; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 3cqw var(--accent); animation: scanBig 2.4s ease-in-out infinite; }
@keyframes scanBig { 50% { top: 75%; } }
.spark { position: absolute; left: var(--x); top: var(--y); width: 6cqw; fill: var(--k-amber, #FFB547); animation: twinkle 2.4s ease-in-out var(--d) infinite both; }
@keyframes twinkle { 0%, 100% { transform: scale(0) rotate(0); opacity: 0; } 40% { transform: scale(1) rotate(45deg); opacity: 1; } 70% { opacity: 0; } }
.tag-live { position: absolute; left: 50%; bottom: 8%; translate: -50% 0; display: flex; align-items: center; gap: 1.4cqw; padding: 1.2cqw 2.6cqw; border-radius: 99px; background: var(--ink); color: var(--bg); font: 600 3.2cqw var(--font-mono); }
.tag-live span, .rec span { width: 2cqw; height: 2cqw; border-radius: 50%; background: var(--k-pink, #FF4D4D); animation: pulse 1.4s infinite; }

/* Growth: sprout, trend line, stat */
.sprout { position: absolute; left: 12%; bottom: 21%; width: 12cqw; height: 26cqw; }
.stem { position: absolute; left: calc(50% - .7cqw); bottom: 0; width: 1.4cqw; height: 100%; border-radius: 1cqw; background: var(--k-green, #1DB954); transform-origin: bottom; animation: stem 4.6s ease-out infinite both; }
@keyframes stem { 0% { transform: scaleY(0); } 35%, 90% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
.leaf { position: absolute; top: 28%; width: 8cqw; height: 4.4cqw; background: var(--k-mint, #3EE6B0); animation: leaf 4.6s cubic-bezier(.3,1.6,.5,1) infinite both; }
.leaf.l { right: 50%; border-radius: 100% 0 100% 0; transform-origin: right bottom; }
.leaf.r { left: 50%; top: 10%; border-radius: 0 100% 0 100%; transform-origin: left bottom; }
@keyframes leaf { 0%, 30% { scale: 0; } 48%, 90% { scale: 1; } 100% { scale: 0; } }
.trend { position: absolute; right: 6%; top: 10%; width: 34cqw; fill: none; stroke: var(--accent); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.trend path { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 4.6s ease infinite; }
.trend .arrow { animation-delay: .5s; }
@keyframes draw { 0% { stroke-dashoffset: 160; } 45%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.bubble-stat { position: absolute; right: 7%; top: 42%; padding: 1.2cqw 2.6cqw; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font: 700 3.6cqw var(--font-display); animation: popA 4.6s cubic-bezier(.3,1.7,.5,1) infinite both; }
@keyframes popA { 0%, 42% { scale: 0; } 52%, 90% { scale: 1; } 100% { scale: 0; } }

/* Analytics: reading glasses and a rising chart */
.glasses { position: absolute; left: 33%; top: 38%; width: 34cqw; fill: rgba(255,255,255,.18); stroke: #1B0F0C; stroke-width: 3.4; stroke-linecap: round; animation: dropOnce .7s cubic-bezier(.3,1.6,.5,1) .15s both; }
@keyframes dropOnce { from { transform: translateY(-30cqw) rotate(-10deg); opacity: 0; } }
.mini-chart { position: absolute; right: 5%; bottom: 21%; width: 24cqw; height: 24cqw; display: flex; align-items: flex-end; gap: 1.4cqw; }
.mini-chart i { flex: 1; height: var(--h); border-radius: 1cqw 1cqw .4cqw .4cqw; background: linear-gradient(var(--blue), color-mix(in srgb, var(--blue) 45%, transparent)); transform-origin: bottom; animation: barUp 3.8s ease var(--d) infinite both; }
@keyframes barUp { 0% { scale: 1 0; } 25%, 86% { scale: 1 1; } 100% { scale: 1 0; } }

/* Sales: speech bubbles */
.say { position: absolute; padding: 1.8cqw 3cqw; border-radius: 3cqw; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-2); font: 700 4cqw var(--font-display); white-space: nowrap; animation: say 4.2s cubic-bezier(.3,1.6,.5,1) infinite both; }
.say::after { content: ""; position: absolute; bottom: -1.4cqw; left: 4cqw; border: 1.6cqw solid transparent; border-top-color: inherit; border-top-color: var(--surface); border-bottom: 0; }
.say.s1 { left: 5%; top: 10%; }
.say.s2 { right: 5%; top: 18%; animation-delay: 1.4s; }
.say.s3 { left: 50%; top: 3%; translate: -50% 0; animation-delay: 2.8s; background: var(--accent); color: var(--accent-ink); }
.say.s3::after { border-top-color: var(--accent); }
@keyframes say { 0% { scale: 0; opacity: 0; } 8%, 30% { scale: 1; opacity: 1; } 38%, 100% { scale: .8; opacity: 0; } }

/* Operations: gears and a checklist */
.gear { position: absolute; }
.gear path { fill: var(--muted); }
.gear circle { fill: var(--surface-2); }
.gear.g1 { right: 7%; top: 6%; width: 24cqw; animation: spin 6s linear infinite; }
.gear.g2 { right: 28%; top: 22%; width: 15cqw; animation: spin 3.75s linear infinite reverse; }
.gear.g2 path { fill: var(--accent); }
@keyframes spin { to { rotate: 360deg; } }
.checklist { position: absolute; left: 5%; top: 10%; width: 28cqw; margin: 0; padding: 2.4cqw; list-style: none; display: grid; gap: 1.8cqw; border-radius: 2.4cqw; background: var(--surface); box-shadow: var(--shadow-1); }
.checklist li { display: flex; align-items: center; gap: 1.8cqw; }
.checklist b { position: relative; flex: none; width: 4cqw; height: 4cqw; border-radius: 1.2cqw; border: .5cqw solid var(--line); }
.checklist b::after { content: ""; position: absolute; inset: -.5cqw; border-radius: 1.2cqw; background: var(--k-green, #1DB954); animation: tick 4.2s cubic-bezier(.3,1.7,.5,1) var(--d) infinite both; }
.checklist span { flex: 1; height: 1.6cqw; border-radius: 1cqw; background: var(--line); }
@keyframes tick { 0%, 10% { scale: 0; } 20%, 86% { scale: 1; } 100% { scale: 0; } }

/* Product & UX: one click to aha */
.mini-win { position: absolute; left: 60cqw; top: 14cqw; width: 34cqw; height: 26cqw; padding: 2.6cqw; display: grid; align-content: start; gap: 1.6cqw; border-radius: 2.6cqw; background: var(--surface); box-shadow: var(--shadow-2); }
.mini-win .bar { height: 1.6cqw; width: 34%; border-radius: 1cqw; background: var(--accent); opacity: .5; }
.mini-win .line { height: 1.4cqw; border-radius: 1cqw; background: var(--line); }
.mini-win .short { width: 62%; }
.cta-btn { position: absolute; left: 2.6cqw; bottom: 2.6cqw; padding: 1.4cqw 3cqw; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font: 700 3.2cqw var(--font-body); animation: press 3.6s ease infinite; }
@keyframes press { 0%, 52% { scale: 1; } 56% { scale: .9; } 62%, 100% { scale: 1; } }
.ripple { position: absolute; left: 8.6cqw; top: 17.4cqw; width: 6cqw; height: 6cqw; border-radius: 50%; border: .5cqw solid var(--accent); opacity: 0; animation: ripple 3.6s ease-out infinite; }
@keyframes ripple { 0%, 54% { scale: .2; opacity: 0; } 58% { opacity: 1; } 80%, 100% { scale: 2.6; opacity: 0; } }
.cursor-ux { position: absolute; left: 0; top: 0; width: 6cqw; fill: var(--ink); stroke: var(--surface); stroke-width: 1.5; stroke-linejoin: round; animation: cursorGo 3.6s cubic-bezier(.5,0,.3,1) infinite both; }
@keyframes cursorGo { 0% { translate: 40cqw 74cqw; opacity: 0; } 10% { opacity: 1; } 50% { translate: 70cqw 32cqw; scale: 1; } 55% { translate: 70cqw 32cqw; scale: .82; } 61% { scale: 1; } 90% { translate: 70cqw 32cqw; opacity: 1; } 100% { translate: 70cqw 32cqw; opacity: 0; } }
.aha { position: absolute; right: 7%; top: 46%; padding: 1.2cqw 2.6cqw; border-radius: 99px; background: var(--ink); color: var(--bg); font: 700 3.4cqw var(--font-display); white-space: nowrap; animation: popB 3.6s cubic-bezier(.3,1.7,.5,1) infinite both; }
@keyframes popB { 0%, 58% { scale: 0; } 66%, 92% { scale: 1; } 100% { scale: 0; } }

/* Creators & content: clapperboard and REC light */
.clap { position: absolute; left: 7%; top: 10%; width: 26cqw; height: 22cqw; }
.clap-body { position: absolute; left: 0; right: 0; bottom: 0; height: 68%; border-radius: 1.4cqw; background: var(--ink); box-shadow: var(--shadow-1); }
.clap-top { position: absolute; left: 0; right: 0; top: 10%; height: 20%; border-radius: 1cqw; transform-origin: left bottom; background: repeating-linear-gradient(-45deg, var(--ink) 0 3cqw, #fff 3cqw 6cqw); animation: clap 1.6s ease-in-out infinite; }
@keyframes clap { 0%, 40%, 100% { rotate: -24deg; } 50%, 60% { rotate: 0deg; } }
.rec { position: absolute; right: 7%; top: 14%; display: flex; align-items: center; gap: 1.4cqw; padding: 1.4cqw 2.6cqw; border-radius: 99px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); font: 700 3.4cqw var(--font-mono); }

@media (prefers-reduced-motion: reduce) { .skill-stage * { animation: none !important; } }
@media (prefers-reduced-motion: reduce) { .trend path { stroke-dashoffset: 0; } }
@media (max-width: 600px) {
  .skill-tabs { display: flex; overflow-x: auto; gap: 8px; padding: 2px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .skill-tabs::-webkit-scrollbar { display: none; }
  .skill-tab { flex: none; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; scroll-snap-align: start; }
  .skill-tab b { font-size: 14.5px; white-space: nowrap; }
  .skill-tab small { display: none; }
  .skill-tab[aria-selected="true"] { transform: none; }
}

/* ================= Act I v2: a choreographed little performer ================= */
.skill-stage::after { display: none; }
.skill-stage .s-orb { inset: auto; left: 0; top: 0; width: 42cqw; height: 42cqw; transform-origin: 50% 100%; animation: none !important; z-index: 2; will-change: transform; }
.skill-stage .eyes { animation: none; }
.scene { position: absolute; inset: 0; pointer-events: none; }
.scene > *, .skill-stage > .hand, .skill-stage > .rig-shadow { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
.rig-shadow { width: 30cqw; height: 3.6cqw; border-radius: 50%; background: radial-gradient(ellipse, rgba(14,17,22,.32), transparent 70%); }

/* Hands: little mittens that float beside him */
.hand { width: 8.6cqw; height: 8.6cqw; border-radius: 48% 52% 46% 54%;
  background: radial-gradient(circle at 34% 30%, var(--k-orange-2, #FFC7A3), var(--k-orange-2, #FF7A45) 48%, var(--k-orange, #D9432A) 92%);
  box-shadow: inset -.6cqw -.9cqw 1.3cqw rgba(120,20,10,.3), 0 .7cqw 1.4cqw rgba(14,17,22,.2); }
.hand::after { content: ""; position: absolute; top: 1.4cqw; width: 3.3cqw; height: 4.4cqw; border-radius: 50%; background: radial-gradient(circle at 40% 30%, var(--k-orange-2, #FFC7A3), var(--k-orange-2, #FF7A45) 60%, var(--k-orange, #E0502F)); }
.hand-l::after { right: -1.2cqw; }
.hand-r::after { left: -1.2cqw; }
.hand-b { background: radial-gradient(circle at 34% 30%, #DCE3FF, var(--k-blue-2, #6E8BFF) 48%, var(--k-blue, #2F45C8) 92%); box-shadow: inset -.6cqw -.9cqw 1.3cqw rgba(10,20,80,.3), 0 .7cqw 1.4cqw rgba(14,17,22,.2); }
.hand-b::after { right: -1.2cqw; background: radial-gradient(circle at 40% 30%, #DCE3FF, var(--k-blue-2, #6E8BFF) 60%, var(--k-blue, #3A52D6)); }

/* Mouth: only shows when he talks or smiles */
.skill-stage .mouth { position: absolute; left: 50%; top: 63%; width: 15%; height: 8.5%; z-index: 4; overflow: hidden;
  border-radius: 0 0 999px 999px; background: #2A0E0A; transform: translate(-50%, -50%) scale(0); }
.skill-stage .mouth::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 0; height: 45%; border-radius: 999px 999px 0 0; background: var(--k-pink, #FF6B7A); }

/* Shared props */
.brick2 { width: 13cqw; height: 6cqw; border-radius: 1.1cqw; background: var(--c);
  box-shadow: inset 0 -1cqw 0 rgba(0,0,0,.2), inset 0 .5cqw 0 rgba(255,255,255,.28), 0 .6cqw 1.2cqw rgba(14,17,22,.22); }
.brick2::before, .brick2::after { content: ""; position: absolute; top: -1.3cqw; width: 3cqw; height: 1.6cqw; border-radius: .8cqw .8cqw .2cqw .2cqw; background: var(--c); box-shadow: inset 0 .45cqw 0 rgba(255,255,255,.3); }
.brick2::before { left: 2cqw; }
.brick2::after { right: 2cqw; }
.dust { width: 3cqw; height: 3cqw; border-radius: 50%; background: color-mix(in srgb, var(--muted) 40%, transparent); }
.star { width: 5cqw; height: 5cqw; }
.star svg { width: 100%; height: 100%; fill: var(--k-amber, #FFB547); display: block; }
.pop-tag { padding: 1.2cqw 2.6cqw; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font: 700 3.6cqw/1 var(--font-display); white-space: nowrap; box-shadow: 0 .8cqw 2cqw color-mix(in srgb, var(--accent) 35%, transparent); }
.scene svg { display: block; width: 100%; height: 100%; }

/* Growth */
.pot { width: 15cqw; height: 10cqw; }
.sstem { width: 1.5cqw; height: 24cqw; border-radius: 1cqw; background: linear-gradient(90deg, var(--k-green, #149245), var(--k-green, #3BD16F)); transform-origin: 50% 100% !important; }
.leaf2 { width: 8cqw; height: 4.6cqw; background: linear-gradient(135deg, var(--k-mint, #3EE6B0), var(--k-green, #17A34A)); }
.leaf2.l { border-radius: 100% 0 100% 0; transform-origin: 100% 100%; }
.leaf2.r { border-radius: 0 100% 0 100%; transform-origin: 0 100%; }
.flower { width: 10cqw; height: 10cqw; }
.can { width: 17cqw; height: 11.9cqw; }
.drop { width: 1.8cqw; height: 2.6cqw; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: linear-gradient(var(--k-blue-2, #9CC4FF), var(--k-blue, #4E86F2)); }
.plus { font: 800 5cqw/1 var(--font-display); color: var(--k-green, #1DB954); }

/* Product & UX */
.scene > .uwin { left: 49cqw; top: 25cqw; width: 42cqw; height: 40cqw; border-radius: 2.6cqw; background: var(--surface); box-shadow: var(--shadow-2); }
.uwin i { position: absolute; top: 2cqw; width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: var(--line); }
.uwin i:nth-child(1) { left: 2.2cqw; background: var(--k-pink, #FF6159); } .uwin i:nth-child(2) { left: 5cqw; background: var(--k-amber, #FFBD2E); } .uwin i:nth-child(3) { left: 7.8cqw; background: var(--k-green, #28C941); }
.ufield { width: 32cqw; height: 4.8cqw; border-radius: 1.2cqw; background: var(--surface-2); border: .35cqw solid var(--line); }
.ufield::before { content: ""; position: absolute; left: 1.6cqw; top: 50%; translate: 0 -50%; width: 9cqw; height: 1.4cqw; border-radius: 1cqw; background: var(--line); }
.ubtn { padding: 1.5cqw 3.6cqw; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font: 700 3.3cqw/1 var(--font-body); white-space: nowrap; box-shadow: 0 .8cqw 1.8cqw color-mix(in srgb, var(--accent) 40%, transparent); }
.uripple { width: 8cqw; height: 8cqw; border-radius: 50%; border: .5cqw solid var(--accent); }
.ucheck { width: 13cqw; height: 13cqw; border-radius: 50%; background: var(--k-green, #1DB954); padding: 2.6cqw; box-shadow: 0 1cqw 3cqw rgba(29,185,84,.4); }
.usteps { padding: 1.2cqw 2.8cqw; border-radius: 99px; background: var(--ink); color: var(--bg); font: 700 3.3cqw/1 var(--font-display); white-space: nowrap; }
.usteps.yes { background: var(--k-green, #1DB954); color: #fff; }
.conf { width: 1.6cqw; height: 2.6cqw; border-radius: .3cqw; background: var(--c); }

/* Real-time AI */
.shelf { width: 48cqw; height: 2.6cqw; border-radius: .8cqw; background: linear-gradient(#D2AC84, #A67C52); box-shadow: 0 .9cqw 1.6cqw rgba(14,17,22,.18); }
.obj.mug { width: 9cqw; height: 9.8cqw; } .obj.plant { width: 10cqw; height: 14.2cqw; } .obj.keys { width: 10cqw; height: 6cqw; }
.scene > .beam { width: 100%; height: 100%; transition: none; }
.bracket { width: 12cqw; height: 12cqw; }
.bracket i { position: absolute; width: 3.6cqw; height: 3.6cqw; border: 0 solid var(--accent); transition: border-color .2s; }
.bracket i:nth-child(1) { left: 0; top: 0; border-left-width: .6cqw; border-top-width: .6cqw; border-top-left-radius: 1.4cqw; }
.bracket i:nth-child(2) { right: 0; top: 0; border-right-width: .6cqw; border-top-width: .6cqw; border-top-right-radius: 1.4cqw; }
.bracket i:nth-child(3) { left: 0; bottom: 0; border-left-width: .6cqw; border-bottom-width: .6cqw; border-bottom-left-radius: 1.4cqw; }
.bracket i:nth-child(4) { right: 0; bottom: 0; border-right-width: .6cqw; border-bottom-width: .6cqw; border-bottom-right-radius: 1.4cqw; }
.bracket.found i { border-color: var(--k-green, #1DB954); }
.blabel { padding: .8cqw 2cqw; border-radius: 99px; background: var(--ink); color: var(--bg); font: 600 2.8cqw/1 var(--font-mono); white-space: nowrap; }
.blabel.found { background: var(--k-green, #1DB954); color: #fff; }
.speech { display: flex; align-items: center; gap: 1.6cqw; padding: 1.8cqw 2.8cqw; border-radius: 2.6cqw; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-2); font: 700 3.5cqw/1.15 var(--font-display); white-space: nowrap; }
.speech::after { content: ""; position: absolute; bottom: -1.5cqw; border: 1.6cqw solid transparent; border-bottom: 0; border-top-color: var(--surface); }
.speech.me::after { left: 3.5cqw; }
.speech.them::after, .speech.user::after { right: 3.5cqw; }
.speech.user { background: var(--ink); color: var(--bg); }
.speech.user::after { border-top-color: var(--ink); }
.wv { display: inline-flex; align-items: center; gap: .5cqw; height: 4cqw; }
.wv i { width: .8cqw; height: 100%; border-radius: 1cqw; background: var(--accent); transform-origin: 50% 50%; }

/* Analytics */
.scene > .board { left: 51cqw; top: 23cqw; width: 44cqw; height: 45cqw; border-radius: 2.4cqw; background: var(--surface); box-shadow: var(--shadow-2); }
.board i { position: absolute; left: 3.4cqw; right: 3.4cqw; top: 40cqw; height: .4cqw; background: var(--line); }
.bar2 { width: 5.6cqw; border-radius: .9cqw .9cqw .3cqw .3cqw; background: linear-gradient(var(--blue), color-mix(in srgb, var(--blue) 45%, transparent)); transform-origin: 50% 100% !important; }
.bar2.hot { background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 45%, transparent)); }
.scene > .chartline { width: 100%; height: 100%; }
.chartline polyline { fill: none; stroke: var(--ink); stroke-width: .7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.specs { width: 20cqw; height: 8cqw; }

/* Sales */
.buyer { width: 30cqw; height: 30cqw; border-radius: 50%; transform-origin: 50% 100%;
  background: radial-gradient(circle at 34% 28%, #E4E9FF, var(--k-blue-2, #7D96FF) 40%, var(--k-blue, #3A52D6) 85%);
  box-shadow: inset -2cqw -3cqw 4cqw rgba(10,20,80,.35), 0 3cqw 5cqw rgba(47,91,255,.25); }
.cface { position: absolute; left: 50%; top: 42%; width: 40%; height: 30%; margin-left: -20%; }
.ceye { position: absolute; top: 0; width: 18%; aspect-ratio: .62; border-radius: 50%; background: #10142A; }
.ceye:nth-of-type(1) { left: 18%; } .ceye:nth-of-type(2) { right: 18%; }
.cmouth { position: absolute; left: 50%; top: 62%; width: 40%; height: 30%; border-radius: 0 0 999px 999px; background: #10142A; transform: translate(-50%, 0) scale(0); }
.contract { width: 15cqw; height: 19cqw; border-radius: 1cqw; background: #fff; box-shadow: 0 1.2cqw 2.6cqw rgba(14,17,22,.2);
  background-image: repeating-linear-gradient(#fff 0 2.4cqw, #E3E6EE 2.4cqw 2.8cqw); background-size: 70% 9cqw; background-position: 50% 2.6cqw; background-repeat: no-repeat; }
.contract svg { position: absolute; left: 1.5cqw; bottom: 2.2cqw; width: 12cqw !important; height: 4.8cqw !important; }
.contract path { fill: none; stroke: var(--k-blue, #2F5BFF); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pen { width: 1.6cqw; height: 9cqw; border-radius: 1cqw 1cqw .2cqw .2cqw; background: linear-gradient(#20232B 0 18%, var(--k-blue, #2F5BFF) 18% 86%, #C9D3FF 86%); }
.stamp { padding: .8cqw 1.8cqw; border: .55cqw solid var(--k-pink, #E8366E); border-radius: .9cqw; color: var(--k-pink, #E8366E); font: 800 3.4cqw/1 var(--font-mono); letter-spacing: .08em; background: rgba(255,255,255,.85); }

/* Operations */
.gearA { width: 28cqw; height: 28cqw; } .gearB { width: 17cqw; height: 17cqw; }
.gearA path { fill: var(--muted); } .gearB path { fill: var(--accent); }
.gearA circle, .gearB circle { fill: var(--surface-2); }
.rod { width: 9cqw; height: 1.4cqw; border-radius: 1cqw; background: var(--ink); transform-origin: 0 50%; }
.knob { width: 3.8cqw; height: 3.8cqw; border-radius: 50%; background: var(--ink); border: .7cqw solid var(--accent); }
.scene > .prog { left: 65cqw; top: 60cqw; width: 26cqw; height: 3.2cqw; border-radius: 99px; background: var(--line); overflow: hidden; }
.prog i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--k-green, #1DB954), var(--k-mint, #3EE6B0)); transform-origin: 0 50%; transform: scaleX(0); }
.okdot { width: 5cqw; height: 5cqw; border-radius: 50%; background: var(--k-green, #1DB954); padding: 1cqw; }
.scene > .clip { left: 3cqw; top: 31cqw; width: 19cqw; height: 28cqw; border-radius: 1.6cqw; background: var(--surface); box-shadow: var(--shadow-2); border-top: 2.4cqw solid #A67C52; }
.clip b { position: absolute; left: 3.5cqw; width: 4cqw; height: 4cqw; border-radius: 1cqw; border: .45cqw solid var(--line); }
.clip b::after { content: ""; position: absolute; left: 5.4cqw; top: 1cqw; width: 7cqw; height: 1.4cqw; border-radius: 1cqw; background: var(--line); }
.clip b:nth-child(1) { top: 2.6cqw; } .clip b:nth-child(2) { top: 9.6cqw; } .clip b:nth-child(3) { top: 16.6cqw; }
.tick { width: 4.6cqw; height: 4.6cqw; }
.tick path { fill: none; stroke: var(--k-green, #1DB954); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pencil { width: 1.5cqw; height: 9cqw; border-radius: 1cqw 1cqw 0 0; background: linear-gradient(var(--k-pink, #E8366E) 0 12%, var(--k-amber, #FFB547) 12% 78%, #F5D7B0 78% 92%, #2A0E0A 92%); clip-path: polygon(0 0, 100% 0, 100% 86%, 50% 100%, 0 86%); }

/* Creators & content */
.cam { width: 24cqw; height: 34cqw; transform: translate(calc(86cqw - 50%), calc(58cqw - 50%)); }
.cam .legs { stroke: var(--muted); }
.recdot { display: flex; align-items: center; gap: 1.2cqw; padding: 1cqw 2.2cqw; border-radius: 99px; background: var(--surface); color: var(--muted); box-shadow: var(--shadow-1); font: 700 3cqw/1 var(--font-mono); }
.recdot span { width: 2cqw; height: 2cqw; border-radius: 50%; background: var(--line); }
.recdot.on { color: var(--ink); }
.recdot.on span { background: var(--k-pink, #FF4D4D); box-shadow: 0 0 1.6cqw var(--k-pink, #FF4D4D); }
.clap2 { width: 13cqw; height: 11cqw; }
.clap2 .cb { position: absolute; left: 0; right: 0; bottom: 0; height: 72%; border-radius: 1cqw; background: #20232B; color: #fff; font: 700 2.2cqw/1 var(--font-mono); font-style: normal; display: grid; place-items: center; padding-top: 1cqw; }
.clap2 .ct { position: absolute; left: 0; right: 0; top: 4%; height: 24%; border-radius: .8cqw; transform-origin: 0 100%; background: repeating-linear-gradient(-45deg, #20232B 0 2.4cqw, #fff 2.4cqw 4.8cqw); }
.snapl { width: 3.2cqw; height: .7cqw; border-radius: 1cqw; background: var(--accent); }
.scene > .flash { width: 100%; height: 100%; background: #fff; opacity: 0; }
.vcard { width: 20cqw; height: 14cqw; border-radius: 1.8cqw; background: linear-gradient(135deg, var(--k-orange, #F2541B), var(--k-pink, #E8366E)); box-shadow: 0 1.4cqw 3cqw rgba(232,54,110,.35); }
.vcard .play { position: absolute; left: 50%; top: 42%; translate: -50% -50%; width: 0; height: 0; border-left: 3.4cqw solid #fff; border-top: 2.2cqw solid transparent; border-bottom: 2.2cqw solid transparent; }
.vcard b { position: absolute; left: 50%; bottom: -2.6cqw; translate: -50% 0; padding: .9cqw 2.2cqw; border-radius: 99px; background: var(--ink); color: var(--bg); font: 700 2.8cqw/1 var(--font-display); white-space: nowrap; }

/* ================= Orbit v2: always in front, never touching him ================= */
#stage { overflow: visible; }
#stage .orb-wrap { inset: 21%; }
#stage .ground { left: 30%; right: 30%; bottom: 13%; }
.orbit-chip, .orbit-chip.front { z-index: 6; opacity: 1; }
.orbit-chip { padding: 7px 13px 7px 7px; gap: 9px; border-radius: 14px; }
.orbit-chip b { font-size: 14px; }
.orbit-chip small { font-size: 11px; }
.odot { width: 26px; height: 26px; }
@media (max-width: 880px) {
  #stage .orb-wrap { inset: 23%; }
  #stage .ground { bottom: 15%; }
}
@media (max-width: 600px) {
  .orbit-chip { padding: 5px 10px 5px 5px; gap: 6px; border-radius: 12px; }
  .orbit-chip b { font-size: 12px; }
  .odot { width: 18px; height: 18px; border-radius: 6px; }
}
/* Orbit v3: give the pieces more room where the hero is two narrow columns or a small phone */
@media (min-width: 881px) and (max-width: 1120px) { #stage .orb-wrap { inset: 26%; } #stage .ground { left: 34%; right: 34%; bottom: 18%; } }
@media (max-width: 420px) { #stage .orb-wrap { inset: 26%; } #stage .ground { left: 34%; right: 34%; bottom: 18%; } }
@media (min-width: 881px) and (max-width: 1120px) { .orbit[data-n="6"] .orbit-chip:nth-child(6) { display: none; } }

/* ================= Calls to action ================= */
.nav-links a.cta { background: var(--accent); color: var(--accent-ink); font-weight: 700; padding: 9px 16px; box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 35%, transparent); }
.nav-links a.cta:hover { background: var(--ink); color: var(--bg); }
.btns { align-items: center; }
.btn-text { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--muted); text-decoration: none; padding: 10px 6px; transition: color .2s, gap .2s; }
.btn-text:hover { color: var(--accent); gap: 9px; }
.btn-primary:hover { box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 48%, transparent); }
.btn-xl { margin-top: 24px; font-size: 18px; padding: 16px 28px; }
.contact .btn-primary { background: var(--accent); color: var(--accent-ink); }
.cta-band { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding: 22px clamp(20px, 3vw, 30px); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-1);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); }
.cta-band p { margin: 0; font-size: 17px; color: var(--muted); max-width: 34em; }
.cta-band p b { color: var(--ink); font-family: var(--font-display); font-size: 20px; margin-right: 4px; }
.page-case .cta-band { margin-top: 40px; }
.resume-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.resume-actions .btn { font-size: 15px; padding: 11px 18px; }
@media (max-width: 600px) {
  .cta-band { flex-direction: column; align-items: stretch; }
  .cta-band .btns .btn { flex: 1; justify-content: center; }
  .nav-links a.cta { padding: 8px 14px; font-size: 14px; }
}
.toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 80; translate: -50% 12px; opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--bg); font-weight: 600; font-size: 14px; padding: 11px 16px; border-radius: 999px; box-shadow: var(--shadow-2);
  transition: opacity .25s, translate .25s cubic-bezier(.2,.8,.2,1); max-width: calc(100vw - 32px); text-align: center; }
.toast.on { opacity: 1; translate: -50% 0; }
@media print {
  .nav, footer, .resume-actions, .cta-band, .toast, .spotlight { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .resume { box-shadow: none !important; border: 0 !important; padding: 0 !important; }
  .resume-page { padding: 0 !important; }
}
.cta-band p { flex: 1 1 360px; max-width: none; }
.cta-band .btn { white-space: nowrap; }
@media (max-width: 600px) { .cta-band .btns { flex-direction: column; align-items: stretch; } .cta-band .btns .btn { flex: none; } }
.cta-band p { text-wrap: pretty; }
@media (max-width: 600px) { .cta-band p { flex: none; } }
/* Hero pieces are skills */
.odot.sk { display: grid; place-items: center; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent-2), var(--accent) 60%); }
.odot.sk svg { width: 58%; height: 58%; }
/* Orbit v4: one fixed piece size, so he gives up a little room instead */
#stage .orb-wrap { inset: 25%; }
#stage .ground { left: 33%; right: 33%; bottom: 17%; }
@media (min-width: 881px) and (max-width: 1120px) { #stage .orb-wrap { inset: 28%; } #stage .ground { left: 35%; right: 35%; bottom: 20%; } }
@media (max-width: 880px) { #stage .orb-wrap { inset: 25%; } #stage .ground { bottom: 17%; } }
@media (max-width: 420px) { #stage .orb-wrap { inset: 31%; } #stage .ground { left: 37%; right: 37%; bottom: 23%; } }

/* Hero pieces: one line, so they stay big and readable at a fixed size */
.orbit-chip small { display: none; }
.orbit-chip { padding: 6px 14px 6px 6px; }
/* Phones and tablets: headline first, then him, then the numbers */
@media (max-width: 880px) {
  .hero .stage { order: 0; margin-top: 4px; }
  .hero .hero-grid { gap: 0; }
}
@media (max-width: 1120px) { .orbit[data-n="5"] .orbit-chip:nth-child(5) { display: none; } }
@media (min-width: 881px) and (max-width: 1120px) { #stage .orb-wrap { inset: 29%; } #stage .ground { left: 36%; right: 36%; bottom: 21%; } }
/* Colorway switch: two dots showing the current colorway */
.palette-toggle .swatch { position: relative; width: 18px; height: 18px; display: block; }
.palette-toggle .swatch i { position: absolute; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface-2); transition: transform .35s cubic-bezier(.2,.8,.2,1), background .35s; }
.palette-toggle .swatch i:first-child { left: 0; top: 0; background: var(--accent); }
.palette-toggle .swatch i:last-child { right: 0; bottom: 0; background: var(--accent-2); }
.palette-toggle:hover .swatch i:first-child { transform: translate(2px, 2px); }
.palette-toggle:hover .swatch i:last-child { transform: translate(-2px, -2px); }
@media (max-width: 400px) { .brand { font-size: 15px; } .nav .wrap { gap: 8px; } .nav-links { gap: 2px; } }
/* Colorway switch: two dots showing the current colorway */
.palette-toggle .swatch { position: relative; width: 18px; height: 18px; display: block; }
.palette-toggle .swatch i { position: absolute; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface-2); transition: transform .35s cubic-bezier(.2,.8,.2,1), background .35s; }
.palette-toggle .swatch i:first-child { left: 0; top: 0; background: var(--accent); }
.palette-toggle .swatch i:last-child { right: 0; bottom: 0; background: var(--accent-2); }
.palette-toggle:hover .swatch i:first-child { transform: translate(2px, 2px); }
.palette-toggle:hover .swatch i:last-child { transform: translate(-2px, -2px); }
@media (max-width: 400px) { .brand { font-size: 15px; } .nav .wrap { gap: 8px; } .nav-links { gap: 2px; } }

/* ================= Try it ================= */
.sec-sub { margin: 10px 0 0; color: var(--muted); font-size: 17px; max-width: 40em; }
.try-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.try-tab { text-align: left; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 18px; padding: 14px 16px; cursor: pointer; font: inherit; box-shadow: var(--shadow-1); transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s, color .2s; }
.try-tab b { display: block; font-family: var(--font-display); font-size: 17px; }
.try-tab small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.try-tab:hover { transform: translateY(-2px); }
.try-tab[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: transparent; transform: translateY(-3px); box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 35%, transparent); }
.try-tab[aria-selected="true"] small { color: color-mix(in srgb, var(--accent-ink) 80%, transparent); }
.try-card { background: var(--surface); border-radius: 28px; box-shadow: var(--shadow-2); border: 1px solid var(--line); padding: clamp(20px, 4vw, 40px); }
.try-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.try-panel[hidden] { display: none; }
.try-panel[data-demo="clicks"] { grid-template-columns: 1fr 1fr; }
.try-panel[data-demo="clicks"] .phones { grid-row: span 2; }
.try-controls { display: grid; gap: 22px; }
.slider { display: grid; gap: 10px; font-weight: 600; }
.slider > span { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.slider output { font-family: var(--font-display); font-size: 22px; color: var(--accent); white-space: nowrap; }
.slider input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; outline-offset: 6px;
  background: linear-gradient(90deg, var(--accent) var(--fill, 50%), var(--surface-2) var(--fill, 50%)); cursor: pointer; }
.slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); box-shadow: var(--shadow-1); transition: transform .15s; }
.slider input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.slider input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); }
.try-result { display: grid; gap: 14px; }
.duel { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.duel > div { background: var(--surface-2); border-radius: 18px; padding: 16px 18px; display: grid; gap: 4px; }
.duel .k { font-size: 13px; color: var(--muted); font-weight: 600; }
.duel b { font: 800 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--font-display); font-variant-numeric: tabular-nums; }
.duel .best { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 45%, transparent); }
.duel .best b { color: var(--accent); }
.verdict { margin: 0; font-size: 17px; line-height: 1.5; }
.verdict b { color: var(--ink); }
.fine { margin: 0; font-size: 13px; color: var(--muted); }
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.phone { display: grid; gap: 8px; justify-items: center; text-align: center; }
.ph-label { font: 600 12px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.phone.mine .ph-label { color: var(--accent); }
.ph-screen { width: 100%; max-width: 190px; aspect-ratio: 9 / 15; border-radius: 26px; background: var(--surface-2); border: 6px solid var(--ink); display: grid; grid-template-rows: 1fr auto; padding: 16px 12px 14px; gap: 10px; box-shadow: var(--shadow-1); }
.ph-step { align-self: center; font: 700 15px/1.25 var(--font-display); }
.ph-step.pop { animation: phpop .35s cubic-bezier(.2,.8,.2,1); }
@keyframes phpop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.ph-btn { border: 0; border-radius: 999px; padding: 10px 8px; font: 700 13px var(--font-body); background: var(--ink); color: var(--bg); cursor: pointer; }
.phone.mine .ph-btn { background: var(--accent); color: var(--accent-ink); }
.phone.done .ph-screen { background: color-mix(in srgb, var(--accent) 16%, var(--surface)); }
.phone.done .ph-step::before { content: "✓ "; color: var(--accent); }
.ph-count { font-size: 13px; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.loop-chart { width: 100%; height: 120px; display: block; }
.loop-chart .b-shared { fill: color-mix(in srgb, var(--accent) 35%, var(--surface-2)); transition: y .3s, height .3s; }
.loop-chart .b-paid { fill: var(--accent); transition: y .3s, height .3s; }
@media (max-width: 860px) {
  .try-panel, .try-panel[data-demo="clicks"] { grid-template-columns: 1fr; }
  .try-panel[data-demo="clicks"] .phones { grid-row: auto; }
}
@media (max-width: 600px) {
  .try-tabs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 4px 16px 8px; }
  .try-tab small { display: none; }
  .try-tab { padding: 10px 16px; border-radius: 999px; }
  .duel b { font-size: 1.7rem; }
  .ph-screen { border-width: 5px; border-radius: 22px; }
}
/* Proof bullets */
.bullets { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.bullets li a { display: flex; gap: 10px; align-items: baseline; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16.5px; line-height: 1.4; padding: 6px 0; }
.bullets li a::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: translateY(-2px) rotate(45deg); }
.bullets li a svg { flex: none; color: var(--accent); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; align-self: center; }
.bullets li a:hover { color: var(--accent); }
.bullets li a:hover svg { opacity: 1; transform: none; }
@media (max-width: 760px) { .bullets { grid-template-columns: 1fr; } }
.contact .ps { margin-top: 22px; font-size: 15px; color: rgba(255,244,238,.72); border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; }
.contact .ps b { color: #FFF4EE; }

/* Hero pieces show the full skill name, wrapping to two lines when long */
.orbit-chip b { white-space: normal; max-width: 8.6em; line-height: 1.15; display: block; text-wrap: balance; }
.orbit-chip { white-space: normal; }
/* Orbit v5: tall cards (icon on top, full name below) so full skill names fit at full size */
.orbit-chip { flex-direction: column; align-items: center; text-align: center; gap: 7px; padding: 11px 12px 12px; border-radius: 18px; width: 9.2em; }
.orbit-chip > span:last-child { display: block; }
.orbit-chip b { max-width: none; font-size: 13.5px; line-height: 1.18; }
.orbit-chip .odot { width: 30px; height: 30px; border-radius: 10px; }
.orbit-chip::after { position: absolute; top: 7px; right: 9px; margin: 0; }
@media (max-width: 600px) {
  .orbit-chip { width: 7.6em; padding: 8px 8px 9px; gap: 5px; border-radius: 14px; }
  .orbit-chip b { font-size: 11.5px; }
  .orbit-chip .odot { width: 22px; height: 22px; border-radius: 7px; }
}
/* Orbit v6: room for full names at full size */
.orbit-chip { width: 8.4em; }
#stage .orb-wrap { inset: 27%; }
#stage .ground { left: 35%; right: 35%; bottom: 19%; }
@media (min-width: 881px) and (max-width: 1120px) { #stage .orb-wrap { inset: 31%; } #stage .ground { left: 38%; right: 38%; bottom: 23%; } }
@media (max-width: 880px) { #stage .orb-wrap { inset: 28%; } }
@media (max-width: 600px) { .orbit-chip { width: 7.2em; } }
@media (max-width: 420px) { #stage .orb-wrap { inset: 34%; } #stage .ground { left: 39%; right: 39%; bottom: 26%; } }
@media (max-width: 420px) { #stage .orb-wrap { inset: 36%; } #stage .ground { left: 40%; right: 40%; bottom: 28%; } .orbit-chip { width: 6.9em; } .orbit-chip b { font-size: 12px; } }
/* Logo: Michael's portrait */
.brand-avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; display: block; box-shadow: 0 3px 10px color-mix(in srgb, var(--accent) 30%, transparent); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.brand:hover .brand-avatar { transform: rotate(-8deg) scale(1.06); }
.brand, .nav-links a.cta { white-space: nowrap; }
@media (max-width: 420px) {
  .brand { font-size: 15px; gap: 8px; }
  .brand-avatar { width: 30px; height: 30px; }
  .nav .theme-toggle { width: 34px; height: 34px; }
  .nav-links a.cta { padding: 8px 12px; font-size: 13.5px; }
}
@media (max-width: 350px) { .brand { font-size: 0; gap: 0; } }
