  /* ============================================================
     PREBOARD LAUNCHPAD — concept redesign for IG new-hire preboard
     Built on the IG26 Digital/Web Guidelines tokens. This page
     commits to a fixed, brand-directed light/dark section rhythm
     (per the guide's own "dark gradients = full section bg only"
     rule) rather than following OS light/dark mode — so colors
     are declared explicitly per section instead of theme tokens.
     Display face "Trenda IG Text" isn't licensed for web preview,
     so this mock uses the guide's own documented fallback:
     Poppins at weight 300 for display sizes.
     ============================================================ */

  :root{
    --ink:#121212;
    --paper:#FFFFFF;
    --paper-dim:#F7F7F7;
    --paper-mist:#F2F2F2;
    --text-dim:#595959;
    --line-light: rgba(18,18,18,0.10);

    --primary-a:#E80069;  --primary-b:#E91E00;   /* primary gradient — light bg */
    --primary-a-dk:#FF0069; --primary-b-dk:#FF4400; /* primary gradient — dark bg */
    --purple-a:#4527A0;   --purple-b:#D214AA;
    --green-a:#56E13B;    --cyan:#00D6F2;      --accent-green:#00F58F;
    --yellow:#FFD700;     --accent-orange:#FF7B00; --accent-purple:#CC00FF;

    --radius:16px; --radius-lg:24px; --radius-sm:12px; --radius-pill:50px;
    --shadow-soft: 0 24px 60px -24px rgba(18,18,18,0.22);
    --shadow-card: 0 10px 30px -14px rgba(18,18,18,0.16);
    --ease: cubic-bezier(.2,.7,.2,1);
  }

  *{ margin:0; padding:0; box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  body{
    font-family:'Poppins', sans-serif;
    background:var(--paper);
    color:var(--ink);
    font-size:16px;
    line-height:1.7;
    -webkit-font-smoothing:antialiased;
  }
  img{ max-width:100%; display:block; }
  /* Brand guideline (IG26): H1 always uses Trenda IG Text (weight 300); H2-H4 stay on Poppins. */
  @font-face{font-family:'Trenda IG Text';font-style:normal;font-weight:300;font-display:swap;src:url(../fonts/trenda-ig-text-light.otf) format('opentype');}
  h1{ text-wrap:balance; font-weight:300; letter-spacing:-0.02em; font-family:'Trenda IG Text','Poppins',sans-serif; }
  h2,h3,h4{ text-wrap:balance; font-weight:600; letter-spacing:-0.02em; }
  a{ color:inherit; }
  button{ font-family:inherit; cursor:pointer; }
  ::selection{ background:var(--primary-a); color:#fff; }
  button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible{
    outline:2px solid var(--yellow); outline-offset:2px;
  }

  .grad-text{
    background:linear-gradient(90deg, var(--primary-a-dk) 17.857%, var(--accent-orange) 110.69%);
    -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  }
  .grad-text.on-light{
    background:linear-gradient(90deg, var(--primary-a) 17.857%, var(--primary-b) 110.69%);
    -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  }

  .eyebrow{
    display:flex; align-items:center; gap:10px;
    font-size:11px; font-weight:700; letter-spacing:0.16em; text-transform:uppercase;
  }

  .wrap{ max-width:1180px; margin:0 auto; padding:0 32px; }

  /* ---------- grain texture (used on dark, gradient sections) ---------- */
  .grain{ position:relative; isolation:isolate; }
  .grain::after{
    content:''; position:absolute; inset:0; z-index:0; pointer-events:none;
    opacity:0.05; mix-blend-mode:overlay;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  }

  /* ---------- top progress + nav ---------- */
  #scrollTrack{ position:fixed; top:0; left:0; width:100%; height:3px; background:#121212; z-index:200; }
  #scrollBar{ height:100%; width:0%; background:linear-gradient(90deg, var(--primary-a-dk), var(--yellow)); transition:width .08s linear; }

  /* ---------- real brand nav, ported from the IG site
     (international-guide.html) so this concept carries the actual logo
     and site chrome rather than a placeholder wordmark. Nav items/CTA
     are re-pointed at Preboard sections since the corporate site's own
     nav ("Careers", "Hire Talent"...) doesn't apply here. A thin
     utility strip used to sit above this with the same contact line —
     removed since it just duplicated .nav-contact below. ---------- */
  .nav-main{
    position:sticky; top:3px; z-index:190;
    background:rgba(18,18,18,0.96); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
    height:76px; display:flex; align-items:center; justify-content:space-between;
    padding:0 32px; border-bottom:1px solid rgba(255,255,255,0.08);
  }
  .nav-left{ display:flex; align-items:center; }
  .nav-brand{ flex-shrink:0; margin-right:32px; display:flex; align-items:center; }
  .nav-brand svg{ height:24px; width:auto; display:block; }
  .nav-items{ display:flex; align-items:center; gap:2px; }
  .nav-item > a, .nav-item > button{
    display:flex; align-items:center; gap:7px; padding:9px 14px; background:none; border:none;
    color:rgba(255,255,255,0.8); font-family:'Poppins',sans-serif; font-size:13.5px; font-weight:500;
    cursor:pointer; text-decoration:none; transition:color .2s, background .2s; white-space:nowrap; border-radius:8px;
  }
  .nav-item > a:hover, .nav-item > button:hover{ background:rgba(255,255,255,0.06); color:#fff; }
  .nav-item.active > a, .nav-item.active > button{ color:var(--cyan); }
  .nav-right{ display:flex; align-items:center; gap:12px; }
  .nav-contact{ display:flex; align-items:center; gap:16px; }
  .nav-contact a, .nav-contact span{
    color:rgba(255,255,255,0.75); text-decoration:none; font-size:13px; font-weight:500;
    display:flex; align-items:center; gap:6px; white-space:nowrap; transition:color .2s;
  }
  .nav-contact a:hover{ color:var(--cyan); }
  .nav-contact .util-div{ width:1px; height:12px; background:rgba(255,255,255,0.18); }
  @media (max-width:1000px){ .nav-items{ display:none; } .nav-main{ padding:0 20px; } }

  /* ---------- mobile nav: hamburger + dropdown menu, shown in place of
     the horizontal nav-items list below 1000px ---------- */
  .nav-hamburger{
    display:none; flex-direction:column; justify-content:center; align-items:center; gap:4px;
    width:36px; height:36px; border:none; border-radius:9px; margin-left:6px; padding:0;
    background:rgba(255,255,255,0.08); cursor:pointer; flex-shrink:0;
  }
  .nav-hamburger span{ display:block; width:16px; height:2px; background:#fff; border-radius:2px; transition:transform .2s var(--ease), opacity .2s; }
  .nav-hamburger.is-open span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
  .nav-hamburger.is-open span:nth-child(2){ opacity:0; }
  .nav-hamburger.is-open span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }
  @media (max-width:1000px){ .nav-hamburger{ display:flex; } }
  .mobile-menu-backdrop{ position:fixed; inset:0; z-index:180; background:rgba(6,6,8,0.55); }
  .mobile-menu-backdrop[hidden]{ display:none; }
  .mobile-menu-panel{
    position:fixed; top:79px; left:0; right:0; z-index:195; max-height:calc(100vh - 79px); overflow:auto;
    background:#141414; padding:10px 14px 16px; display:flex; flex-direction:column; gap:2px;
    border-bottom-left-radius:18px; border-bottom-right-radius:18px;
    box-shadow:0 30px 60px -20px rgba(0,0,0,0.55);
    animation:mobileMenuDrop .26s var(--ease);
  }
  .mobile-menu-panel[hidden]{ display:none; }
  @keyframes mobileMenuDrop{ from{ opacity:0.5; transform:translateY(-10px); } to{ opacity:1; transform:translateY(0); } }
  .mobile-menu-link{
    display:flex; align-items:center; gap:12px; padding:15px 12px; border-radius:12px;
    color:#fff; text-decoration:none; font-size:15px; font-weight:600;
    transition:background .18s;
  }
  .mobile-menu-link:hover, .mobile-menu-link:active{ background:rgba(255,255,255,0.08); }
  .mml-icon{ font-size:17px; }
  @media (prefers-reduced-motion: reduce){ .mobile-menu-panel{ animation:none; } }
  /* nav-right gets crowded once nav-items disappear and the hamburger
     appears — the contact line duplicates what's already in the utility
     strip above, so drop it here rather than let it collide with the
     hamburger and icon buttons on a narrow screen */
  @media (max-width:680px){
    .nav-contact{ display:none; }
    .nav-right{ gap:8px; }
  }

  /* designer-note callouts, shown only in notes mode */
  .dnote{
    display:none; align-items:flex-start; gap:8px; max-width:640px;
    font-size:12.5px; line-height:1.55; font-weight:500;
    background:var(--paper-dim); border:1px dashed rgba(18,18,18,0.18);
    border-radius:var(--radius-sm); padding:10px 14px; margin:14px 0 0;
  }
  .dnote.on-dark{ background:rgba(255,255,255,0.06); border-color:rgba(255,255,255,0.22); color:rgba(255,255,255,0.82); }
  .dnote b{ color:var(--primary-a); font-weight:700; }
  .dnote.on-dark b{ color:var(--yellow); }
  body.notes-on .dnote{ display:flex; }

  /* ---------- buttons ---------- */
  .btn{
    display:inline-flex; align-items:center; gap:8px; justify-content:center;
    border-radius:var(--radius-pill); font-weight:600; font-size:14.5px; letter-spacing:0.01em;
    padding:14px 26px; border:none; text-decoration:none; transition:transform .18s var(--ease), box-shadow .18s var(--ease);
  }
  .btn:hover{ transform:translateY(-2px); }
  .btn-primary-dark{ background:linear-gradient(90deg, var(--primary-a-dk) 17.857%, var(--primary-b-dk) 110.69%); color:#fff; box-shadow:0 12px 28px -10px rgba(255,0,105,0.55); }
  .btn-primary-light{ background:linear-gradient(90deg, var(--primary-a) 17.857%, var(--primary-b) 110.69%); color:#fff; box-shadow:0 12px 28px -10px rgba(232,0,105,0.35); }
  .btn-ghost-dark{ background:rgba(255,255,255,0.08); color:#fff; border:1.5px solid rgba(255,255,255,0.28); }
  .btn-ghost-dark:hover{ background:rgba(255,255,255,0.16); }
  .btn-ghost-light{ background:transparent; color:var(--ink); border:1.5px solid rgba(18,18,18,0.18); }
  .btn-ghost-light:hover{ background:var(--paper-dim); }
  .btn-sm{ padding:9px 16px; font-size:12.5px; }

  /* ============================================================ HERO */
  .hero{
    position:relative; overflow:hidden; color:#fff;
    padding:72px 0 96px;
    background:#0A0A0A;
  }
  /* Video layer — the real HQ b-roll clip plays here, tinted by the aurora
     glow and cut well back by two dark overlays so it reads as ambient
     texture, not the thing carrying legibility. */
  .hero-media{ position:absolute; inset:0; z-index:0; }
  .hero-video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0.58; }
  .hero-aurora{ position:absolute; inset:0; overflow:hidden; }
  .hero-aurora span{ position:absolute; border-radius:50%; filter:blur(60px); }
  .hero-aurora .a1{ top:-20%; left:-8%; width:65%; height:80%; background:radial-gradient(ellipse, rgba(255,123,0,0.38) 0%, transparent 65%); animation:auroraSweep 9s ease-in-out infinite; }
  .hero-aurora .a2{ top:0%; right:-14%; width:60%; height:75%; background:radial-gradient(ellipse, rgba(255,0,105,0.32) 0%, transparent 62%); filter:blur(70px); animation:auroraSweep2 12s ease-in-out infinite; }
  .hero-aurora .a3{ bottom:-18%; left:22%; width:58%; height:60%; background:radial-gradient(ellipse, rgba(0,214,242,0.16) 0%, transparent 62%); filter:blur(55px); animation:auroraSweep 15s ease-in-out infinite reverse; }
  .hero-aurora .a4{ bottom:5%; right:8%; width:38%; height:42%; background:radial-gradient(ellipse, rgba(210,20,170,0.22) 0%, transparent 65%); filter:blur(50px); animation:auroraSweep2 10s ease-in-out infinite reverse; }
  /* Left-to-right darkener, heaviest directly behind the headline/body copy
     column so contrast holds no matter how bright a given video frame is;
     lighter over the aurora/countdown side where legibility isn't at stake. */
  .hero-scrim-left{ position:absolute; inset:0; z-index:1; background:linear-gradient(90deg, rgba(6,6,8,0.72) 0%, rgba(6,6,8,0.4) 40%, rgba(6,6,8,0.1) 66%, rgba(6,6,8,0.22) 100%); }
  .hero-scrim{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(6,6,8,0.32) 0%, rgba(6,6,8,0.48) 55%, #060608 100%); z-index:1; }
  @keyframes auroraSweep{ 0%{ transform:translate(0,0) rotate(0deg); } 33%{ transform:translate(5%,-4%) rotate(2deg); } 66%{ transform:translate(-4%,3%) rotate(-1.5deg); } 100%{ transform:translate(0,0) rotate(0deg); } }
  @keyframes auroraSweep2{ 0%{ transform:translate(0,0) rotate(0deg); } 33%{ transform:translate(-6%,4%) rotate(-2.5deg); } 66%{ transform:translate(4%,-5%) rotate(1.5deg); } 100%{ transform:translate(0,0) rotate(0deg); } }

  #confettiCanvas{ position:absolute; inset:0; z-index:5; pointer-events:none; }
  #confettiCelebrate{ position:fixed; inset:0; z-index:300; pointer-events:none; }
  .hero-inner{ position:relative; z-index:2; display:grid; grid-template-columns:1.15fr 0.85fr; gap:48px; align-items:center; }
  .hero h1{ font-weight:300; font-size:clamp(40px,5.6vw,68px); line-height:1.03; letter-spacing:-0.03em; animation:fadeUp .7s var(--ease) both; }
  .hero p.lede{ margin-top:20px; max-width:46ch; font-size:16.5px; color:rgba(255,255,255,0.72); animation:fadeUp .7s var(--ease) .08s both; }
  .hero-ctas{ display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; animation:fadeUp .7s var(--ease) .16s both; }
  .hero-quicklinks{
    display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; margin-top:22px;
    font-size:12.5px; color:rgba(255,255,255,0.5); animation:fadeUp .7s var(--ease) .22s both;
  }
  .hero-quicklinks .hql-label{ font-weight:600; letter-spacing:0.02em; }
  .hero-quicklinks a{
    color:rgba(255,255,255,0.72); text-decoration:none; font-weight:500;
    border-bottom:1px solid rgba(255,255,255,0.28); padding-bottom:1px; transition:color .18s, border-color .18s;
  }
  .hero-quicklinks a:hover{ color:var(--cyan); border-color:var(--cyan); }
  @media (max-width:560px){ .hero-quicklinks{ font-size:12px; } }
  @keyframes fadeUp{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:translateY(0); } }

  /* ---------- big countdown feature — simplified to the one documented
     "Primary — Light" (on-dark) brand gradient, not a rainbow ---------- */
  /* Flat, fully-opaque dark grey panel — a translucent glass version let the
     hero's pink/orange aurora glow bleed through the blur and read as a
     pink card instead of grey, so this is solid color, no backdrop blend.
     The gradient lives only in the number and a hairline border. */
  .countdown-card{
    position:relative; text-align:center; padding:40px 46px; border-radius:var(--radius-lg);
    border:1.5px solid transparent;
    background:
      linear-gradient(rgba(20,20,24,0.32), rgba(20,20,24,0.32)) padding-box,
      linear-gradient(135deg, rgba(255,255,255,0.28), rgba(255,255,255,0.08)) border-box;
    backdrop-filter:blur(18px) saturate(110%); -webkit-backdrop-filter:blur(18px) saturate(110%);
    box-shadow:0 30px 70px -30px rgba(0,0,0,0.6);
    animation:fadeUp .7s var(--ease) .3s both, floatBob 5s ease-in-out 1s infinite;
  }
  @keyframes floatBob{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-6px); } }
  .countdown-eyebrow{ font-size:11px; font-weight:700; letter-spacing:0.18em; text-transform:uppercase; color:rgba(255,255,255,0.78); }
  .countdown-num-wrap{ position:relative; margin:12px 0 4px; }
  .countdown-num{
    position:relative; font-size:clamp(68px,11vw,140px); font-weight:800; line-height:1; letter-spacing:-0.03em;
    background:linear-gradient(90deg, var(--primary-a-dk) 17.857%, var(--primary-b-dk) 110.69%);
    -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
    filter:drop-shadow(0 0 12px rgba(255,0,105,0.25));
    animation:countGlow 3.2s ease-in-out infinite;
    font-variant-numeric:tabular-nums;
  }
  @keyframes countGlow{ 0%,100%{ filter:drop-shadow(0 0 9px rgba(255,0,105,0.2)); } 50%{ filter:drop-shadow(0 0 16px rgba(255,68,0,0.32)); } }
  .countdown-label{ font-size:13px; font-weight:600; color:rgba(255,255,255,0.88); letter-spacing:0.02em; }
  .countdown-sub{ margin-top:14px; font-size:12px; color:rgba(255,255,255,0.68); }
  .hero-countdown{ display:flex; justify-content:center; }

  /* ============================================================ PATH SECTION */
  .path-section{ background:var(--paper); padding:96px 0; }
  .section-head{ display:flex; flex-direction:column; gap:14px; margin-bottom:44px; max-width:680px; }
  .section-head .eyebrow{ color:var(--text-dim); }
  .section-head h2{ font-size:clamp(28px,3vw,38px); }
  .section-head p{ color:var(--text-dim); }

  .path-progress{ display:flex; align-items:center; gap:16px; margin-bottom:40px; }
  .path-progress-track{
    position:relative; flex:1; height:14px; border-radius:99px; background:var(--paper-mist); overflow:hidden;
    box-shadow:inset 0 1px 3px rgba(18,18,18,0.08);
  }
  .path-progress-fill{
    position:relative; height:100%; width:0%; border-radius:99px;
    background:linear-gradient(90deg, var(--cyan), var(--green-a));
    transition:width .6s var(--ease); overflow:visible;
  }
  /* animated diagonal shine sweeping across the filled portion */
  .path-progress-fill::before{
    content:''; position:absolute; inset:0; border-radius:inherit; overflow:hidden;
    background:linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.65) 48%, transparent 66%);
    background-size:220% 100%; animation:progressShine 2.4s linear infinite;
  }
  /* bright pulsing dot riding the leading edge of the fill */
  .path-progress-fill::after{
    content:''; position:absolute; top:50%; right:0; width:14px; height:14px; border-radius:50%;
    background:#fff; transform:translate(50%,-50%); opacity:0;
    box-shadow:0 0 0 3px var(--green-a), 0 0 16px 4px rgba(86,225,59,0.85);
    transition:opacity .3s;
  }
  .path-progress-fill.has-progress::after{ opacity:1; animation:progressPulse 1.6s ease-in-out infinite; }
  .path-progress-fill.just-completed{ animation:progressFlash .6s var(--ease); }
  @keyframes progressShine{ from{ background-position:220% 0; } to{ background-position:-40% 0; } }
  @keyframes progressPulse{ 0%,100%{ transform:translate(50%,-50%) scale(1); } 50%{ transform:translate(50%,-50%) scale(1.35); } }
  @keyframes progressFlash{ 0%{ filter:brightness(1); } 40%{ filter:brightness(1.7); } 100%{ filter:brightness(1); } }
  /* three equal step segments, divided by thin white notches */
  .path-progress-ticks{ position:absolute; inset:0; display:flex; pointer-events:none; }
  .path-progress-ticks span{ flex:1; border-right:2px solid var(--paper); }
  .path-progress-ticks span:last-child{ border-right:none; }
  .path-progress-track.all-done{ box-shadow:inset 0 1px 3px rgba(18,18,18,0.08), 0 0 0 3px rgba(86,225,59,0.25), 0 0 22px 2px rgba(86,225,59,0.4); }
  .path-progress-label{ font-size:13px; font-weight:600; color:var(--text-dim); white-space:nowrap; font-variant-numeric:tabular-nums; }

  .path-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
  .path-card{
    background:var(--paper-dim); border:1.5px solid transparent; border-radius:var(--radius-lg);
    padding:30px 26px; display:flex; flex-direction:column; gap:16px; transition:border-color .2s, transform .2s var(--ease), box-shadow .2s;
    cursor:pointer;
  }
  .path-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-card); }
  .path-card:focus-visible{ outline:2px solid var(--yellow); outline-offset:2px; }
  .path-card .path-check{ cursor:pointer; }
  .path-card.is-done{
    border-color:transparent;
    background:linear-gradient(var(--paper-mist),var(--paper-mist)) padding-box, linear-gradient(120deg,var(--primary-a),var(--primary-b)) border-box;
    animation:cardComplete .5s var(--ease);
  }
  .path-card.is-done h3{ color:rgba(18,18,18,0.5); }
  .path-card.is-done p{ color:rgba(18,18,18,0.38); }
  .path-card.is-done .path-link{ opacity:0.55; }
  @keyframes cardComplete{ 0%{ transform:scale(1); } 40%{ transform:scale(1.025); } 100%{ transform:scale(1); } }

  /* Brand icon marks — the user's own artwork (sunburst / halftone dots /
     sparkle), recolored with our gradients via CSS mask so the shape stays
     crisp and the color stays fully brand-controlled. Each one animates on
     its own (spin / breathe / twinkle) and speeds up on hover so the whole
     row feels alive rather than a static icon strip. */
  .path-icon{
    width:44px; height:44px; position:relative;
    -webkit-mask-size:contain; mask-size:contain;
    -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
    -webkit-mask-position:center; mask-position:center;
  }
  .path-icon::before{
    content:''; position:absolute; inset:-16px; border-radius:50%; z-index:-1;
    background:inherit; -webkit-mask:none; mask:none; filter:blur(14px); opacity:0.55;
  }
  .path-icon.sunburst{
    background:linear-gradient(109.8deg, var(--purple-a) 10.537%, var(--purple-b) 90.323%);
    -webkit-mask-image:url(../img/home-path-icon.png);
    mask-image:url(../img/home-path-icon.png);
    animation:iconSpin 13s linear infinite;
  }
  .path-icon.magenta{
    background:linear-gradient(109.8deg, var(--purple-a) 10.537%, var(--purple-b) 90.323%);
    -webkit-mask-image:url(../img/home-path-icon-2.png);
    mask-image:url(../img/home-path-icon-2.png);
    animation:iconBreathe 3s ease-in-out infinite;
  }
  .path-icon.cyan{
    background:linear-gradient(109.8deg, var(--purple-a) 10.537%, var(--purple-b) 90.323%);
    -webkit-mask-image:url(../img/home-path-icon-3.png);
    mask-image:url(../img/home-path-icon-3.png);
    animation:iconTwinkle 2.8s ease-in-out infinite;
  }
  .path-card:hover .path-icon.sunburst{ animation-duration:2.5s; }
  .path-card:hover .path-icon.magenta{ animation-duration:1s; }
  .path-card:hover .path-icon.cyan{ animation-duration:0.9s; }
  .path-card.is-done .path-icon{ animation-play-state:paused; filter:grayscale(0.85); opacity:0.5; }
  @keyframes iconSpin{ from{ transform:rotate(0deg); } to{ transform:rotate(360deg); } }
  @keyframes iconBreathe{ 0%,100%{ transform:scale(1); opacity:0.92; } 50%{ transform:scale(1.16); opacity:1; } }
  @keyframes iconTwinkle{ 0%,100%{ transform:scale(1) rotate(0deg); } 50%{ transform:scale(1.15) rotate(14deg); } }

  .path-card h3{ font-size:19px; }
  .path-card p{ font-size:14px; color:var(--text-dim); flex:1; }
  .path-card-foot{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:4px; }
  .path-link{ font-size:13px; font-weight:600; color:var(--primary-a); text-decoration:none; }
  .path-check{
    display:flex; align-items:center; gap:7px; font-size:12px; font-weight:600; color:var(--text-dim);
    background:#fff; border:1.5px solid rgba(18,18,18,0.14); border-radius:var(--radius-pill); padding:7px 12px 7px 8px;
  }
  .path-check .box{ width:15px; height:15px; border-radius:5px; border:1.5px solid rgba(18,18,18,0.28); display:flex; align-items:center; justify-content:center; font-size:10px; color:#fff; }
  .path-card.is-done .path-check{ color:var(--ink); border-color:rgba(18,18,18,0.14); }
  .path-card.is-done .path-check .box{ background:linear-gradient(120deg,var(--primary-a),var(--primary-b)); border-color:transparent; animation:popScale .35s var(--ease); }
  .path-card.is-done .path-check .box::after{ content:'✓'; }
  @keyframes popScale{ 0%{ transform:scale(1); } 45%{ transform:scale(1.35); } 100%{ transform:scale(1); } }

  /* ============================================================ BERT SECTION
     Light + energetic: soft warm-to-cool wash (paper tones) with a big,
     slow-drifting secondary-purple blob — that gradient is documented as
     "light backgrounds only," so this is exactly where it belongs. */
  .bert-section{
    position:relative; overflow:hidden; color:var(--ink); padding:100px 0;
    background:
      radial-gradient(circle 680px at 8% 0%, rgba(0,214,242,0.16) 0%, transparent 62%),
      radial-gradient(circle 760px at 100% 100%, rgba(232,0,105,0.14) 0%, transparent 62%),
      var(--paper-mist);
  }
  
  .bert-grid{ position:relative; z-index:1; display:grid; grid-template-columns:0.95fr 1.15fr; gap:56px; align-items:center; }
  .bert-video{
    position:relative; aspect-ratio:9/10; border-radius:var(--radius-lg); overflow:hidden;
    background:linear-gradient(150deg, rgba(69,39,160,0.35), rgba(233,30,0,0.12) 55%, rgba(255,123,0,0.1)), url(../img/home-bert-video.jpg); background-size:cover; background-position:center;
    display:flex; align-items:flex-end; box-shadow:0 30px 60px -22px rgba(69,39,160,0.35);
  }
  .bert-video .play{
    position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
    width:64px; height:64px; border-radius:50%; background:rgba(255,255,255,0.92); color:var(--ink);
    display:flex; align-items:center; justify-content:center; font-size:18px; box-shadow:0 10px 26px rgba(0,0,0,0.3);
    animation:orbBreathe 3.4s ease-in-out infinite;
  }
  .bert-video-cap{ position:relative; z-index:1; padding:20px; background:linear-gradient(0deg, rgba(0,0,0,0.55), transparent); width:100%; }
  .bert-video-cap .tag{ font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:var(--cyan); }
  .bert-video-cap .title{ font-weight:600; margin-top:4px; color:#fff; }
  .bert-video-cap .len{ font-size:12px; color:rgba(255,255,255,0.7); margin-top:2px; }

  .bert-copy .eyebrow{ color:var(--primary-a); margin-bottom:20px; }
  .bert-copy h2{ font-size:clamp(26px,3vw,34px); }
  .bert-intro{ color:var(--text-dim); margin-top:10px; margin-bottom:28px; }
  .bert-quote{ font-size:clamp(24px,2.6vw,34px); font-weight:300; line-height:1.28; letter-spacing:-0.01em; }
  .bert-quote-sample{ font-size:11px; font-weight:600; color:var(--text-dim); margin-top:10px; }
  .bert-cards{ display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }
  .bert-mini{
    flex:1; min-width:220px; background:#fff; border:1.5px solid rgba(18,18,18,0.08);
    border-radius:var(--radius); padding:18px 20px; box-shadow:0 14px 30px -20px rgba(18,18,18,0.18);
    cursor:pointer; transition:box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
  }
  .bert-mini:hover{ box-shadow:0 20px 40px -16px rgba(18,18,18,0.28); transform:translateY(-3px); }
  .bert-mini:focus-visible{ outline:2px solid var(--primary-a); outline-offset:2px; }
  .bert-mini.is-active{
    border-color:transparent;
    background:linear-gradient(#fff,#fff) padding-box,
               linear-gradient(120deg, var(--primary-a), var(--primary-b)) border-box;
    box-shadow:0 20px 40px -16px rgba(18,18,18,0.28);
  }
  /* Solid color, not gradient-clipped — the brand guide reserves gradient
     fills for large display text, and small labels need a guaranteed,
     checkable contrast ratio. */
  .bert-mini .k{ font-size:11px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:var(--primary-a); }
  .bert-mini .v{ font-weight:600; margin-top:6px; font-size:14.5px; }
  .bert-mini .d{ font-size:12.5px; color:var(--text-dim); margin-top:4px; }

  /* ============================================================ MEDIA (Books/Podcasts) */
  .media-section{ background:var(--paper-dim); padding:96px 0; }
  .media-head-row{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:36px; }
  .filter-row{ display:flex; gap:8px; }
  .filter-pill{
    border-radius:var(--radius-pill); border:1.5px solid rgba(18,18,18,0.14); background:#fff;
    padding:9px 18px; font-size:13px; font-weight:600; color:var(--text-dim); transition:all .18s;
  }
  .filter-pill.active{ background:var(--ink); color:#fff; border-color:var(--ink); }

  .media-scroller{ display:flex; gap:20px; overflow-x:auto; padding-bottom:14px; scroll-snap-type:x mandatory; }
  .media-scroller::-webkit-scrollbar{ height:8px; }
  .media-scroller::-webkit-scrollbar-thumb{ background:rgba(18,18,18,0.18); border-radius:99px; }
  /* On-brand hover: the card lifts on a colored gradient glow (instead of a
     generic light sweep), the cover art breathes with a slow zoom, and the
     CTA switches from outline to a filled brand gradient — a small, direct
     nod to the gradient system rather than a borrowed effect. */
  .media-card{
    scroll-snap-align:start; flex:0 0 240px; background:#fff; border-radius:var(--radius-lg); position:relative;
    box-shadow:var(--shadow-card); overflow:hidden; display:flex; flex-direction:column;
    transition:transform .3s var(--ease), box-shadow .3s var(--ease);
  }
  .media-card:hover{
    transform:translateY(-10px);
    box-shadow:0 24px 44px -18px rgba(232,0,105,0.4), 0 10px 22px -12px rgba(18,18,18,0.18);
  }
  .media-cover{
    aspect-ratio:3/4; display:flex; align-items:flex-end; padding:16px; position:relative; color:#fff; overflow:hidden;
  }
  /* Dark scrim lives on its own layer (not baked into the cover photo)
     so it can fade away on hover — the card lifts and the real cover art
     underneath gets to be fully bright and clear, standing out on its own
     instead of staying dimmed under the caption-legibility overlay. */
  .media-scrim{
    position:absolute; inset:0; z-index:0; pointer-events:none;
    background:linear-gradient(180deg, rgba(10,10,12,0.08) 0%, rgba(10,10,12,0.15) 45%, rgba(10,10,12,0.82) 100%);
    transition:opacity .35s var(--ease);
  }
  .media-card:hover .media-scrim{ opacity:0; }
  .media-cover h4{
    position:relative; z-index:1; font-size:16px; font-weight:700; line-height:1.2; color:#fff;
    transition:transform .4s var(--ease), opacity .25s var(--ease); transform-origin:left bottom;
  }
  .media-card:hover .media-cover h4{ transform:scale(1.045); opacity:0; }
  .media-tag{
    position:absolute; top:14px; left:14px; z-index:1; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.08em;
    background:rgba(0,0,0,0.35); backdrop-filter:blur(4px); padding:5px 10px; border-radius:var(--radius-pill);
    transition:opacity .25s var(--ease);
  }
  .media-card:hover .media-tag{ opacity:0; }
  .media-body{ padding:16px 18px 20px; display:flex; flex-direction:column; gap:12px; flex:1; }
  .media-body .by{ font-size:12.5px; color:var(--text-dim); margin-top:-8px; }
  .media-body .btn{ margin-top:auto; width:100%; transition:background .25s, color .25s, border-color .25s, transform .18s var(--ease); }
  .media-card:hover .media-body .btn{
    background:linear-gradient(90deg, var(--primary-a) 17.857%, var(--primary-b) 110.69%);
    color:#fff; border-color:transparent;
  }

  /* ============================================================ CONTACT / QUESTIONS */
  .qform-section{ background:var(--paper); }
  .qform-grid{ display:grid; grid-template-columns:1fr 1fr; min-height:560px; }
  .qform-left{
    position:relative; overflow:hidden; color:#fff; padding:72px 64px; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center;
    background:
      radial-gradient(circle 620px at 10% 8%, rgba(232,0,105,0.30) 0%, transparent 68%),
      radial-gradient(circle 640px at 90% 92%, rgba(0,214,242,0.22) 0%, transparent 70%),
      radial-gradient(circle 460px at 86% 6%, rgba(255,215,0,0.16) 0%, transparent 66%),
      radial-gradient(ellipse 900px 500px at 50% 105%, rgba(69,39,160,0.28) 0%, transparent 72%),
      #0B0910;
  }
  .qform-left .eyebrow{ color:var(--cyan); margin-bottom:20px; position:relative; z-index:1; }
  .qform-left h2{ font-size:clamp(26px,2.8vw,36px); font-weight:300; position:relative; z-index:1; }
  .qform-left p{ margin-top:16px; margin-left:auto; margin-right:auto; color:rgba(255,255,255,0.75); max-width:42ch; position:relative; z-index:1; }

  /* ---------- testimonial card: rotating team-advice quotes styled to match
     the rebrand's testimonials-section treatment (card, quote mark, avatar +
     role, dot pagination) rather than a bare crossfading line of text. ---------- */
  .testimonial-card{
    position:relative; z-index:1; margin-top:34px; width:100%; max-width:560px;
    background:rgba(255,255,255,0.07); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
    border:1px solid rgba(255,255,255,0.16); border-radius:var(--radius-lg);
    padding:36px 40px 28px; box-shadow:0 24px 60px -30px rgba(0,0,0,0.55);
  }
  .testimonial-mark{
    font-family:Georgia, 'Times New Roman', serif; font-size:46px; line-height:1; font-weight:700;
    color:var(--cyan); opacity:0.65; margin-bottom:2px; display:block;
  }
  .testimonial-slides{ position:relative; min-height:108px; }
  .testimonial-slide{
    position:absolute; inset:0 0 auto 0; opacity:0; transform:translateY(8px);
    transition:opacity .5s var(--ease), transform .5s var(--ease); pointer-events:none;
  }
  .testimonial-slide.active{ position:relative; opacity:1; transform:translateY(0); pointer-events:auto; }
  .testimonial-quote{ font-size:21px; font-weight:500; color:#fff; line-height:1.5; max-width:30ch; margin:0 auto; }
  .testimonial-person{ display:flex; align-items:center; justify-content:center; gap:12px; margin-top:22px; }
  .testimonial-avatar{
    width:38px; height:38px; border-radius:50%; flex:0 0 auto; color:#fff; font-weight:700; font-size:14px;
    display:flex; align-items:center; justify-content:center;
  }
  .testimonial-who{ display:flex; flex-direction:column; line-height:1.35; text-align:left; }
  .testimonial-who .name{ font-weight:700; font-size:13.5px; color:#fff; }
  .testimonial-who .tenure{ font-size:11.5px; color:var(--cyan); }
  .testimonial-dots{ position:relative; z-index:1; display:flex; justify-content:center; gap:8px; margin-top:24px; }
  .testimonial-dots .dot{
    width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,0.28); border:none; padding:0;
    cursor:pointer; transition:background .2s var(--ease), transform .2s var(--ease);
  }
  .testimonial-dots .dot.active{ background:var(--cyan); transform:scale(1.3); }
  .testimonial-dots .dot:hover{ background:rgba(255,255,255,0.5); }

  .advice-more-link{
    position:relative; z-index:1; display:inline-flex; align-items:center; gap:6px; margin-top:20px;
    background:none; border:none; padding:0; font:inherit; font-size:14px; font-weight:600; color:#fff;
    text-decoration:underline; text-underline-offset:3px; text-decoration-color:rgba(255,255,255,0.4);
    cursor:pointer; transition:color .2s var(--ease), text-decoration-color .2s var(--ease);
  }
  .advice-more-link:hover{ color:var(--cyan); text-decoration-color:var(--cyan); }

  .advice-modal-overlay{
    position:fixed; inset:0; z-index:500; background:rgba(10,8,14,0.6); backdrop-filter:blur(4px);
    display:flex; align-items:center; justify-content:center; padding:24px;
  }
  .advice-modal-overlay[hidden]{ display:none; }
  .advice-modal{
    background:#fff; border-radius:var(--radius-lg); width:100%; max-width:540px; max-height:82vh;
    overflow-y:auto; box-shadow:0 40px 80px -20px rgba(0,0,0,0.5); animation:adviceModalIn .25s var(--ease);
  }
  @keyframes adviceModalIn{ from{ opacity:0; transform:translateY(12px) scale(0.98); } to{ opacity:1; transform:translateY(0) scale(1); } }
  .advice-modal-head{
    position:sticky; top:0; background:#fff; display:flex; align-items:center; justify-content:space-between;
    padding:22px 24px; border-bottom:1px solid rgba(18,18,18,0.08);
  }
  .advice-modal-head h3{ font-size:19px; font-weight:700; }
  .advice-modal-close{
    width:34px; height:34px; border-radius:50%; border:1px solid rgba(18,18,18,0.12); background:var(--paper-dim);
    font-size:14px; cursor:pointer; transition:background .2s var(--ease), transform .2s var(--ease);
  }
  .advice-modal-close:hover{ background:var(--paper-mist); transform:rotate(90deg); }
  .advice-modal-list{ padding:12px 24px 26px; }
  .advice-modal-item{ display:flex; gap:14px; padding:16px 0; border-bottom:1px solid rgba(18,18,18,0.07); }
  .advice-modal-item:last-child{ border-bottom:none; }
  .advice-modal-avatar{
    width:34px; height:34px; border-radius:50%; flex:0 0 auto; color:#fff; font-weight:700; font-size:13px;
    display:flex; align-items:center; justify-content:center; margin-top:1px;
  }
  .advice-modal-item .quote{ font-weight:700; font-size:14.5px; margin-bottom:4px; }
  .advice-modal-item .who{ font-size:13.5px; color:var(--text-dim); line-height:1.5; }

  /* ---------- social channel: rotating feed, pulled live from Instagram —
     styled as a self-contained "social media box" widget rather than a
     bare hashtag + scroller. ---------- */
  .social-box{
    margin-top:22px; background:#fff; border:1.5px solid rgba(18,18,18,0.08); border-radius:var(--radius-lg);
    padding:24px 0 24px 24px; box-shadow:var(--shadow-card);
  }
  .social-box-head{ display:flex; align-items:center; gap:12px; margin-bottom:20px; padding-right:24px; color:inherit; text-decoration:none; }
  .social-box-head:hover .social-box-handle{ text-decoration:underline; }
  .social-box-logo{
    width:44px; height:44px; border-radius:12px; flex:0 0 auto;
    background:linear-gradient(135deg, var(--purple-a), var(--primary-a), var(--yellow));
    color:#fff; display:flex; align-items:center; justify-content:center;
  }
  .social-box-handle{ font-weight:700; font-size:16px; line-height:1.3; }
  .social-box-sub{ font-size:13px; color:var(--text-dim); }
  .social-carousel{
    overflow:hidden; position:relative;
    -webkit-mask-image:linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
    mask-image:linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
  }
  .social-track{ display:flex; gap:14px; width:max-content; animation:socialScroll 26s linear infinite; }
  .social-carousel:hover .social-track, .social-carousel:focus-within .social-track{ animation-play-state:paused; }
  .social-carousel.no-motion{ overflow-x:auto; }
  .social-carousel.no-motion .social-track{ animation:none; }
  @keyframes socialScroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
  .social-tile{
    position:relative; border-radius:var(--radius); overflow:hidden; flex:0 0 auto; width:220px; aspect-ratio:1/1; background:var(--paper-dim);
    border:1.5px solid rgba(18,18,18,0.08); display:flex; flex-direction:column; align-items:center; justify-content:center;
    padding:12px; text-align:center;
  }
  .social-post{ display:block; padding:0; }
  .social-post img{ display:block; width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
  .social-post:hover img, .social-post:focus-visible img{ transform:scale(1.05); }
  .social-post:focus-visible{ outline:3px solid var(--primary-a); outline-offset:-3px; }
  @media (max-width:420px){ .social-tile{ width:150px; } }

  /* ---------- reward modal: shown when all 3 path steps are complete ---------- */
  .reward-modal-overlay{
    position:fixed; inset:0; z-index:600; background:rgba(10,8,14,0.62); backdrop-filter:blur(4px);
    display:flex; align-items:center; justify-content:center; padding:24px;
  }
  .reward-modal-overlay[hidden]{ display:none; }
  .reward-modal{
    position:relative; overflow:hidden; background:#fff; border-radius:var(--radius-lg); width:100%; max-width:440px;
    box-shadow:0 40px 80px -20px rgba(0,0,0,0.5); animation:rewardModalIn .35s var(--ease); text-align:center;
    padding:40px 32px 32px;
  }
  @keyframes rewardModalIn{ 0%{ opacity:0; transform:translateY(16px) scale(0.94); } 100%{ opacity:1; transform:translateY(0) scale(1); } }
  .reward-modal::before{
    content:''; position:absolute; inset:0; z-index:0; pointer-events:none;
    background:
      radial-gradient(circle 260px at 12% -6%, rgba(232,0,105,0.16) 0%, transparent 70%),
      radial-gradient(circle 260px at 92% 108%, rgba(0,214,242,0.16) 0%, transparent 70%);
  }
  .reward-modal-close{
    position:absolute; top:16px; right:16px; z-index:1; width:32px; height:32px; border-radius:50%;
    border:1px solid rgba(18,18,18,0.12); background:var(--paper-dim); font-size:13px; cursor:pointer;
    transition:background .2s var(--ease), transform .2s var(--ease);
  }
  .reward-modal-close:hover{ background:var(--paper-mist); transform:rotate(90deg); }
  .reward-modal-icon{
    position:relative; z-index:1; width:76px; height:76px; margin:0 auto 20px; border-radius:50%;
    display:flex; align-items:center; justify-content:center; font-size:36px;
    background:linear-gradient(120deg, var(--primary-a), var(--primary-b)); box-shadow:0 14px 30px -12px rgba(232,0,105,0.55);
    animation:rewardIconPop .6s var(--ease) .15s both;
  }
  @keyframes rewardIconPop{ 0%{ transform:scale(0.4) rotate(-12deg); opacity:0; } 60%{ transform:scale(1.08) rotate(4deg); opacity:1; } 100%{ transform:scale(1) rotate(0deg); } }
  .reward-modal h3{ position:relative; z-index:1; font-size:23px; font-weight:800; margin-bottom:10px; }
  .reward-modal p{ position:relative; z-index:1; font-size:14.5px; color:var(--text-dim); line-height:1.55; max-width:34ch; margin:0 auto; }
  .reward-modal .reward-code{
    position:relative; z-index:1; margin:22px auto 0; display:flex; align-items:center; justify-content:center; gap:10px;
    background:var(--paper-mist); border:1.5px dashed rgba(18,18,18,0.18); border-radius:var(--radius);
    padding:12px 18px; font-weight:700; letter-spacing:0.06em; font-size:15px; max-width:280px;
  }
  .reward-modal .reward-code .amount{
    background:linear-gradient(120deg, var(--primary-a), var(--primary-b)); -webkit-background-clip:text; background-clip:text; color:transparent;
  }
  .reward-modal .btn{ position:relative; z-index:1; margin-top:22px; width:100%; }
  .reward-modal .fine{ position:relative; z-index:1; margin-top:14px; font-size:11.5px; color:var(--text-dim); opacity:0.8; }

  .qform-right{ padding:72px 64px; display:flex; flex-direction:column; justify-content:center; min-width:0; }

  /* ============================================================ FOOTER */
  /* ---------- footer — ported grid structure from the IG site, content
     re-pointed at Preboard sections ---------- */
  footer{ background:#0F0F0F; color:rgba(255,255,255,0.65); padding:64px 0 32px; border-top:1px solid rgba(255,255,255,0.08); }
  .footer-grid{ display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:40px; margin-bottom:40px; }
  .footer-brand svg{ height:24px; width:auto; display:block; }
  .footer-brand p{ font-size:13.5px; line-height:1.6; color:rgba(255,255,255,0.6); margin-top:14px; max-width:300px; }
  .footer-col h4{ font-size:12.5px; font-weight:600; color:rgba(255,255,255,0.92); margin:0 0 14px; letter-spacing:0.02em; }
  .footer-col ul{ list-style:none; display:grid; gap:9px; margin:0; padding:0; }
  .footer-col a{ color:rgba(255,255,255,0.6); text-decoration:none; font-size:13.5px; }
  .footer-col a:hover{ color:#fff; }
  .footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:26px; border-top:1px solid rgba(255,255,255,0.08); font-size:12px; color:rgba(255,255,255,0.42); flex-wrap:wrap; gap:14px; }
  .footer-bottom .legal{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
  .footer-bottom .legal a{ color:rgba(255,255,255,0.6); text-decoration:none; }
  .footer-bottom .legal a:hover{ color:#fff; }
  .to-top{ font-size:12.5px; font-weight:600; color:#fff; background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.14); border-radius:var(--radius-pill); padding:8px 16px; text-decoration:none; white-space:nowrap; }
  @media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }

  @media (max-width: 880px){
    .hero-inner{ grid-template-columns:1fr; }
    .hero-countdown{ margin-top:8px; }
    .path-grid{ grid-template-columns:1fr; }
    .bert-grid{ grid-template-columns:1fr; }
    .qform-grid{ grid-template-columns:1fr; }
    .qform-left, .qform-right{ padding:48px 28px; }
    .testimonial-card{ padding:28px 24px 22px; }
    .testimonial-quote{ font-size:18px; }
    .social-grid{ gap:10px; }
  }

  /* ---------- scroll reveal ---------- */
  /* Content stays fully readable at rest — this only nudges position on
     scroll-in, never hides anything behind an observer. */
  .reveal{ opacity:0.88; transform:translateY(16px); transition:opacity .6s var(--ease), transform .6s var(--ease); }
  .reveal.in-view{ opacity:1; transform:translateY(0); }
  .path-grid .path-card:nth-child(2){ transition-delay:.08s; }
  .path-grid .path-card:nth-child(3){ transition-delay:.16s; }
  .media-scroller .media-card:nth-child(2){ transition-delay:.06s; }
  .media-scroller .media-card:nth-child(3){ transition-delay:.12s; }
  .media-scroller .media-card:nth-child(4){ transition-delay:.18s; }
  .media-scroller .media-card:nth-child(5){ transition-delay:.24s; }

  @media (prefers-reduced-motion: reduce){
    html{ scroll-behavior:auto; }
    .btn:hover{ transform:none; }
    .reveal{ opacity:1; transform:none; transition:none; }
    *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; }
  }

  /* ---------- first-visit welcome overlay ---------- */
  .welcome-overlay{
    position:fixed; inset:0; z-index:900; overflow:hidden;
    display:flex; align-items:center; justify-content:center;
    background:
      radial-gradient(circle 700px at 15% 20%, rgba(255,215,0,0.25) 0%, transparent 65%),
      radial-gradient(circle 800px at 85% 85%, rgba(0,214,242,0.22) 0%, transparent 65%),
      linear-gradient(135deg, #3A1F82 0%, #C4116E 55%, #E85A00 100%);
    opacity:1; transition:opacity .6s var(--ease);
  }
  .welcome-overlay.hide{ opacity:0; pointer-events:none; }
  #welcomeConfetti{ position:absolute; inset:0; z-index:1; pointer-events:none; }
  .welcome-content{
    position:relative; z-index:2; text-align:center; color:#fff; padding:32px; max-width:640px;
    animation:welcomePop .7s var(--ease);
  }
  @keyframes welcomePop{ 0%{ opacity:0; transform:translateY(18px) scale(0.96); } 100%{ opacity:1; transform:translateY(0) scale(1); } }
  .welcome-content .mark{ font-size:13px; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:rgba(255,255,255,0.75); margin-bottom:18px; }
  .welcome-content h1{ font-size:clamp(32px,6vw,58px); font-weight:800; line-height:1.08; letter-spacing:-0.01em; font-family:'Poppins',sans-serif; }
  .welcome-content p{ margin-top:16px; font-size:clamp(15px,2vw,18px); color:rgba(255,255,255,0.85); }
  .welcome-skip{
    position:relative; z-index:2; margin-top:30px; display:inline-flex; align-items:center; gap:6px;
    background:rgba(255,255,255,0.14); border:1px solid rgba(255,255,255,0.3); color:#fff;
    font-size:13px; font-weight:600; padding:10px 20px; border-radius:var(--radius-pill); cursor:pointer;
    transition:background .2s var(--ease);
  }
  .welcome-skip:hover{ background:rgba(255,255,255,0.24); }
  @media (prefers-reduced-motion: reduce){
    .welcome-content{ animation:none; }
  }

  /* ---------- pre-entry intake gate: collect name/date/location before
     the site shows, so those personalize the hero + countdown ---------- */
  .intake-gate{
    position:fixed; inset:0; z-index:950; overflow:auto;
    display:flex; align-items:center; justify-content:center; padding:32px;
    background:
      radial-gradient(circle 700px at 12% 15%, rgba(255,215,0,0.22) 0%, transparent 65%),
      radial-gradient(circle 800px at 88% 88%, rgba(0,214,242,0.2) 0%, transparent 65%),
      linear-gradient(135deg, #3A1F82 0%, #C4116E 55%, #E85A00 100%);
    opacity:1; transition:opacity .5s var(--ease);
  }
  .intake-gate.hide{ opacity:0; pointer-events:none; }
  .intake-card{
    position:relative; width:100%; max-width:460px; background:var(--paper);
    border-radius:var(--radius-lg); padding:40px 36px; text-align:center;
    box-shadow:0 40px 90px -30px rgba(0,0,0,0.55);
    animation:welcomePop .6s var(--ease);
  }
  .intake-card .mark{ font-size:12px; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:var(--text-dim); margin-bottom:14px; }
  .intake-card h1{ font-size:clamp(22px,3.4vw,28px); font-weight:700; letter-spacing:-0.01em; font-family:'Poppins',sans-serif; }
  .intake-card p.sub{ margin-top:10px; font-size:14px; color:var(--text-dim); line-height:1.5; }
  .intake-form{ margin-top:26px; display:grid; gap:14px; text-align:left; }
  .intake-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
  .intake-field{ display:grid; gap:6px; }
  .intake-field label{ font-size:12px; font-weight:600; color:var(--ink); }
  .intake-field input{
    font-family:inherit; font-size:14.5px; padding:12px 14px; border-radius:var(--radius-sm);
    border:1.5px solid rgba(18,18,18,0.14); background:var(--paper-dim); color:var(--ink);
    transition:border-color .2s; width:100%;
  }
  .intake-field input:focus{ outline:none; border-color:var(--primary-a); background:var(--paper); }
  .intake-field input.invalid{ border-color:var(--primary-a); background:rgba(232,0,105,0.05); }
  .intake-error{
    display:none; align-items:center; gap:7px; font-size:12.5px; font-weight:600; color:var(--primary-a);
    background:rgba(232,0,105,0.08); border:1px solid rgba(232,0,105,0.25); border-radius:var(--radius-sm);
    padding:9px 12px; margin-top:2px;
  }
  .intake-error.show{ display:flex; }
  .intake-submit{ margin-top:6px; width:100%; justify-content:center; }
  @media (max-width:520px){ .intake-row{ grid-template-columns:1fr; } .intake-card{ padding:32px 24px; } }

  /* ---------- full-width path-progress reminder banner, sticky right
     below the nav so it stays visible the whole time you're scrolling
     (nav-main is sticky at top:3px with height:76px, so this sticks at
     top:79px to sit flush underneath it) ---------- */
  .nav-progress-banner{
    position:sticky; top:79px; z-index:189; width:100%;
    background:#141414; border-bottom:1px solid rgba(255,255,255,0.1);
    padding:5px 16px 0;
  }
  .nav-progress-banner .npm-text{
    display:flex; align-items:center; justify-content:center; gap:5px;
    font-size:13px; font-weight:600; color:#fff; text-align:center; letter-spacing:0.01em;
    padding-bottom:4px;
  }
  .nav-progress-banner .npm-text b{ font-weight:800; white-space:nowrap; }
  .nav-progress-banner .npm-icon{ font-size:13px; }
  /* the line itself — thinner than the 14px tracker down in Getting Ready.
     Pulled out edge-to-edge with negative side margins (undoing the
     banner's own side padding) and sits with zero padding below it, so
     it hugs the banner's bottom border instead of floating with a gap
     on either side. */
  .nav-progress-banner .npm-track{
    position:relative; height:2px; margin:0 -16px; background:rgba(255,255,255,0.16); overflow:hidden;
  }
  .nav-progress-banner .npm-fill{
    position:absolute; inset:0; width:0%;
    background:linear-gradient(90deg, var(--cyan), var(--green-a));
    transition:width .6s var(--ease);
  }
  .nav-progress-banner.all-done .npm-fill{ background:linear-gradient(90deg, var(--yellow), var(--primary-a-dk)); }
  @media (max-width:640px){
    .nav-progress-banner .npm-text{ display:block; font-size:11px; }
    .nav-progress-banner{ padding:4px 12px 0; }
    .nav-progress-banner .npm-track{ margin:0 -12px; }
  }

  /* ---------- countdown: kept simple on purpose — just a light glow on
     the number itself (via countGlow below), no background treatment or
     moving parts behind the card. ---------- */
  .countdown-card{ overflow:visible; }
  .countdown-sparkle{
    position:absolute; font-size:20px; line-height:1; pointer-events:none;
    animation:sparkleFloat 2.6s ease-in-out infinite;
  }
  .countdown-sparkle.s1{ top:-6px; left:6px; animation-delay:0s; }
  .countdown-sparkle.s2{ bottom:2px; right:-2px; font-size:15px; animation-delay:1.1s; }
  @keyframes sparkleFloat{ 0%,100%{ transform:translateY(0) scale(1); opacity:0.85; } 50%{ transform:translateY(-6px) scale(1.18); opacity:1; } }
  .countdown-num.is-flat{ background:none; -webkit-text-fill-color:#fff; color:#fff; }
  @media (prefers-reduced-motion: reduce){
    .countdown-sparkle{ animation:none; }
    .countdown-num{ animation:none; }
  }

  /* ---------- Test Your Knowledge (standalone quiz section) ----------
     Dark band to break up the white above/below. The quiz card itself
     stays a light "spotlight" card floating on the dark backdrop, so its
     internal option/progress styling needs no change. */
  .tyk-section{
    position:relative; overflow:hidden;
    padding:96px 0;
    background:
      radial-gradient(circle 700px at 12% 0%, rgba(0,214,242,0.12) 0%, transparent 62%),
      radial-gradient(circle 780px at 90% 100%, rgba(255,0,105,0.12) 0%, transparent 62%),
      linear-gradient(160deg, #17171B 0%, #08080A 100%);
  }
  .tyk-head{ position:relative; z-index:1; text-align:center; max-width:560px; margin:0 auto 40px; display:flex; flex-direction:column; align-items:center; gap:14px; }
  .tyk-head .eyebrow{ color:var(--primary-a-dk); justify-content:center; }
  .tyk-head h2{ font-size:clamp(28px,3vw,38px); color:#fff; }
  .tyk-head p{ color:rgba(255,255,255,0.68); font-size:15px; }
  .tyk-card{ position:relative; z-index:1; }
  .tyk-card{
    position:relative; overflow:hidden; max-width:560px; margin:0 auto; background:#fff;
    border-radius:var(--radius-lg); padding:40px 32px 32px; box-shadow:var(--shadow-card);
    border:1.5px solid rgba(18,18,18,0.06);
  }
  .tyk-card::before{
    content:''; position:absolute; top:0; left:0; right:0; height:6px;
    background:linear-gradient(90deg, var(--primary-a), var(--cyan), var(--yellow));
  }
  .tyk-progress{ display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
  .tyk-progress-label{ font-size:11px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:var(--text-dim); }
  .tyk-dots{ display:flex; gap:6px; }
  .tyk-dot{ width:8px; height:8px; border-radius:50%; background:rgba(18,18,18,0.14); transition:background .2s var(--ease), transform .2s var(--ease); }
  .tyk-dot.is-current{ background:var(--primary-a); transform:scale(1.3); }
  .tyk-dot.is-answered{ background:var(--cyan); }
  .tyk-question{ font-size:19px; font-weight:700; line-height:1.35; margin-bottom:20px; }
  .tyk-options{ display:grid; gap:10px; }
  .tyk-opt{
    width:100%; text-align:left; font-family:inherit; font-size:14.5px; font-weight:600; color:var(--ink);
    padding:13px 16px; border-radius:var(--radius-sm); border:1.5px solid rgba(18,18,18,0.14);
    background:var(--paper-dim); cursor:pointer; transition:border-color .18s, background .18s, transform .12s;
  }
  .tyk-opt:hover:not(:disabled){ border-color:var(--primary-a); transform:translateY(-1px); }
  .tyk-opt:disabled{ cursor:default; }
  .tyk-opt.correct{ border-color:var(--green-a); background:rgba(86,225,59,0.14); }
  .tyk-opt.incorrect{ border-color:var(--primary-a); background:rgba(232,0,105,0.1); }
  .tyk-explain{ margin-top:16px; font-size:13.5px; line-height:1.55; color:var(--text-dim); background:var(--paper-dim); border-radius:var(--radius-sm); padding:12px 14px; }
  .tyk-explain[hidden]{ display:none; }
  .tyk-next{ margin-top:22px; width:100%; justify-content:center; }
  .tyk-next:disabled{ opacity:0.4; cursor:not-allowed; transform:none; }
  .tyk-quiz-body[hidden]{ display:none; }
  .tyk-result{ text-align:center; }
  .tyk-result[hidden]{ display:none; }
  .tyk-result-emoji{ font-size:46px; margin-bottom:10px; animation:popScale .4s var(--ease); }
  .tyk-result-score{ font-size:26px; font-weight:800; margin-bottom:6px; }
  .tyk-result-msg{ font-size:14.5px; color:var(--text-dim); margin-bottom:26px; line-height:1.5; }
  .tyk-replay{ width:100%; justify-content:center; }
  @media (max-width:640px){
    .tyk-section{ padding:64px 0; }
    .tyk-card{ padding:30px 22px 26px; }
  }
