    /* Shikamaru — arterfakproject, free for personal use. Local only, not redistributed. */
    @font-face {
      font-family: 'Shikamaru';
      src: url('../fonts/Shikamaru.otf') format('opentype');
      font-weight: 400; font-style: normal; font-display: swap;
    }


    :root {
      /* Jackie Zhang design tokens */
      --bg:    #000000; /* color.surface.base */
      --bg2:   #212121; /* color.surface.raised */
      --ink:   #e35342; /* color.text.primary */
      --ink2:  color-mix(in srgb, #f2e3cf 70%, transparent); /* color.text.tertiary, dimmed for secondary use */
      --ink3:  color-mix(in srgb, #f2e3cf 45%, transparent); /* color.text.tertiary, dimmed further for meta/placeholder */
      --pink:  #e35342; /* color.text.primary reused as accent */
      --pink2: color-mix(in srgb, #e35342 80%, black); /* accent, darker for hover/active */
      --card:  #212121; /* color.surface.raised */
      --inverse-bg:   #ffffff; /* color.surface.muted, for light-panel callouts */
      --inverse-ink:  #0000ee; /* color.text.inverse, only ever on --inverse-bg (fails AA on dark surfaces) */
      --nav-h: 64px;
      --pad:   clamp(24px,5vw,72px);
      --ff:    'Shikamaru', 'Gochi Hand', sans-serif; /* font.family.stack */
      --fe:    'Shikamaru', 'Space Grotesk', sans-serif; /* editorial grotesk, hero headline copy only */
      --fb:    'Shikamaru', 'Gochi Hand', sans-serif; /* font.family.stack */
      --radius-xs: 11px;
      --radius-sm: 20px;
      --shadow-1: rgba(0, 0, 0, 0.25) 0px 1px 2px 0px;
      --space-1: 10px;
      --space-2: 40px;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body { font-family: var(--fb); background: var(--bg); color: var(--ink); overflow-x: hidden; }
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
    ::-webkit-scrollbar { width: 3px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: var(--pink); border-radius: 2px; }

    /* ─── NAV ─── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 200;
      display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad);
      backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px);
      background: transparent;
      border-bottom: 1px solid transparent;
      transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
    }
    nav.scrolled {
      backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
      background: rgba(5,5,5,0.75);
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .logo {
      font-family: var(--ff); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.08em;
      text-decoration: none; color: var(--ink); text-transform: uppercase;
    }
    .logo span { color: var(--pink); }
    .nav-links { display: flex; gap: 2.4rem; list-style: none; }
    .nav-links a {
      font-family: var(--ff); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--ink2); text-decoration: none; transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--pink); }
    .nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
    .nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform 0.3s, opacity 0.3s; }

    /* ─── HERO SCROLL WRAPPER ─── */
    #hero-wrap {
      position: relative;
      height: 350vh; /* scroll room */
    }
    #hero-sticky {
      position: sticky; top: 0; height: 100vh; overflow: hidden;
      display: flex; align-items: center;
      background-color: #f7f7f5; /* off-white, not pure #fff */
      background-image:
        /* soft overhead light — the depth */
        radial-gradient(130% 90% at 50% -20%, rgba(255,255,255,0.9) 0%, rgba(247,247,245,0) 58%),
        /* grounding shadow at the base */
        radial-gradient(120% 60% at 50% 120%, rgba(17,17,16,0.06) 0%, rgba(247,247,245,0) 60%),
        /* faint graph-paper grid */
        linear-gradient(rgba(17,17,16,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17,17,16,0.035) 1px, transparent 1px);
      background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
    }
    #canvas3d {
      position: absolute;
      top: 0;
      right: -28%;
      width: 68%;
      height: 100%;
      z-index: 1;
      transform: translate3d(7%, -1%, 0) scale(1.55);
      transform-origin: center right;
      transition: transform 1.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    #canvas3d.is-settled {
      transform: translate3d(0, 0, 0) scale(1.16);
    }
    /* studio light pooling down onto the robot — diffuse, no hard edges */
    .hero-spotlight {
      position: absolute;
      top: -20%;
      left: 48%;
      width: 60%;
      height: 100%;
      z-index: 2;
      pointer-events: none;
      mix-blend-mode: screen;
      background: radial-gradient(ellipse 46% 60% at 68% 0%,
        rgba(255,246,234,0.34) 0%,
        rgba(255,240,222,0.16) 32%,
        rgba(255,236,216,0.06) 56%,
        rgba(255,236,216,0) 78%);
      filter: blur(50px);
      animation: spotlightBreathe 9s ease-in-out infinite;
    }
    .hero-spotlight::after {
      content: '';
      position: absolute;
      left: 50%; bottom: 8%;
      width: 58%; height: 18%;
      transform: translateX(-50%);
      background: radial-gradient(ellipse at center, rgba(255,238,215,0.22) 0%, rgba(255,238,215,0) 72%);
      filter: blur(30px);
    }
    @keyframes spotlightBreathe {
      0%, 100% { opacity: 0.85; }
      50% { opacity: 1; }
    }
    @media (prefers-reduced-motion: reduce) {
      .hero-spotlight { animation: none; }
    }
    /* radial vignette: fades the spline scene into the white hero on every edge */
    .hero-spline-fade {
      position: absolute;
      inset: 0;
      z-index: 3;
      pointer-events: none;
      background:
        radial-gradient(ellipse 62% 60% at 76% 46%,
          rgba(247,247,245,0) 0%,
          rgba(247,247,245,0.06) 34%,
          rgba(247,247,245,0.32) 55%,
          rgba(247,247,245,0.72) 74%,
          rgba(247,247,245,0.94) 90%,
          rgba(247,247,245,1) 100%);
    }
    #hero-sticky a[href*="spline.design"],
    #hero-sticky [class*="spline-watermark"],
    #hero-sticky [class*="watermark"] {
      display: none !important;
      opacity: 0 !important;
      pointer-events: none !important;
      visibility: hidden !important;
    }
    @media (max-width: 768px) {
      /* There is no room beside the headline on a phone, so the composition
         stacks instead: copy in the upper third, robot centred in the lower
         two-thirds and fully in frame. The old rule hung the canvas 30% off
         the right edge at 108% width, which cropped the robot's arm on any
         screen under ~700px and cut its legs off at the bottom. */
      #canvas3d {
        top: auto; bottom: 0;
        left: 50%; right: auto;
        /* !important because the Spline runtime writes width/height inline on
           the canvas, and an inline declaration beats any stylesheet rule.
           Without it this sizing is silently dropped — which is why the robot
           stayed full-bleed and cropped no matter what was set here. */
        width: 100% !important;
        height: 74% !important;
        transform: translate3d(-50%, 0, 0) scale(1.04);
        transform-origin: center bottom;
      }
      #canvas3d.is-settled {
        transform: translate3d(-50%, 0, 0) scale(1);
      }
      /* The "Built with Spline" badge is painted INSIDE the WebGL canvas by the
         runtime — it is not a DOM node, so the a[href*=spline] sweep in
         spline.js never had anything to remove and no selector can reach it.
         Notch that corner out of the canvas instead; the hero's own grid
         background shows through the cut, so nothing has to be colour-matched. */
      /* The scene's camera crops the model at the thighs — changing the canvas
         height only rescales it, it cannot reveal the feet. So the cut is
         dissolved instead of left as a hard horizontal edge. This is a
         bottom-edge fade only, not the full-canvas wash that greyed the robot.

         The fade also does the badge removal: "Built with Spline" is painted
         INSIDE the WebGL canvas by the runtime (not a DOM node — the
         a[href*=spline] sweep in spline.js has never had anything to find), and
         it sits in the bottom ~60px. Running the mask to fully transparent
         over that band removes it with no hard edge. The rectangular clip-path
         notch this replaces was itself what read as a crop — a straight-sided
         bite out of the leg inside an otherwise soft fade. */
      #canvas3d {
        -webkit-mask-image: linear-gradient(to bottom,
          #000 0, #000 calc(100% - 220px), rgba(0,0,0,0) calc(100% - 72px), rgba(0,0,0,0) 100%);
        mask-image: linear-gradient(to bottom,
          #000 0, #000 calc(100% - 220px), rgba(0,0,0,0) calc(100% - 72px), rgba(0,0,0,0) 100%);
      }
      .hero-spotlight {
        left: 50%;
        width: 78%;
        transform: translateX(-50%);
      }
      /* copy sits above the robot rather than over it */
      #hero-sticky .hey-block,
      #hero-sticky .msg-block,
      #hero-sticky .name-block { top: 20%; margin-top: 0; }
      /* Both of these existed to rescue the old composition, where the robot
         sat behind the copy: the fade dissolved its edges and the stage put a
         scrim under the text. The stacked layout has no overlap, so both are
         just haze over the render now. */
      .hero-spline-fade { display: none; }
      #hero-sticky .prlx-stage { background: none; }

      /* keep the headline in the left column and readable over any robot overlap
         (#hero-sticky prefix: these rules appear before the base hero-text rules,
          so they need the extra specificity to win) */
      #hero-sticky .prlx { max-width: 88vw; }
      #hero-sticky .msg-text  { font-size: clamp(1.7rem, 7.2vw, 2.3rem); line-height: 1.1; }
      #hero-sticky .msg-text .lt { opacity: 0.82; }
      #hero-sticky .name-text { font-size: clamp(2.9rem, 12.5vw, 4.2rem); }
      #hero-sticky .hey-text  { font-size: clamp(3.4rem, 15vw, 5rem); }
    }
    /* film grain — knits the flat CSS gradients and the WebGL canvas into one surface */
    .hero-grain {
      position: absolute;
      inset: 0;
      z-index: 5;
      pointer-events: none;
      opacity: 0.025;
      mix-blend-mode: overlay;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      background-size: 180px 180px;
    }
    /* ─── PARALLAX STAGE ─── */
    .prlx-stage {
      position: absolute; inset: 0; z-index: 4; pointer-events: none; user-select: none;
    }
    .prlx { position: absolute; will-change: transform, opacity, filter; max-width: 680px; }

    /* "Hey." block — the one deliberately handwritten accent in the hero */
    .hey-block { top: 50%; left: var(--pad); margin-top: -4rem; }
    .hey-wrap  { position: relative; display: inline-block; }
    .hey-text  {
      font-family: 'Shikamaru', 'Gochi Hand', sans-serif; font-size: clamp(4.5rem,9vw,8.5rem);
      font-weight: 700; color: var(--ink); display: block; line-height: 1;
      position: relative; z-index: 1;
    }
    /* scribble circle around Hey */
    .hey-circle {
      position: absolute;
      top: -14%; left: -6%; width: 112%; height: 128%;
      overflow: visible; pointer-events: none;
    }
    .hey-circle path {
      stroke: var(--pink); stroke-width: 2.8; fill: none; stroke-linecap: round;
      stroke-dasharray: 960; stroke-dashoffset: 960;
      animation: drawPath 1.1s 0.5s cubic-bezier(.4,0,.2,1) forwards;
    }
    /* wavy underline */
    .hey-line {
      position: absolute; bottom: -14px; left: 0;
      width: 100%; height: 18px; overflow: visible; pointer-events: none;
    }
    .hey-line path {
      stroke: var(--pink); stroke-width: 2.4; fill: none; stroke-linecap: round;
      stroke-dasharray: 400; stroke-dashoffset: 400;
      animation: drawPath 0.7s 1.2s ease forwards;
    }
    @keyframes drawPath { to { stroke-dashoffset: 0; } }

    /* "Shivesh" name block — editorial grotesk */
    .name-block { top: 50%; left: var(--pad); margin-top: -5.5rem; opacity: 0; }
    .name-eyebrow {
      font-family: var(--fe); font-size: clamp(0.6rem,1vw,0.72rem);
      letter-spacing: 0.2em; text-transform: uppercase; color: var(--pink);
      font-weight: 500; display: block; margin-bottom: 10px;
    }
    .name-text {
      font-family: var(--fe); font-size: clamp(4rem,9.5vw,9rem);
      font-weight: 700; letter-spacing: -0.03em; color: var(--ink);
      display: block; line-height: 0.92;
    }

    /* engaging message block — editorial grotesk */
    .msg-block { top: 50%; left: var(--pad); margin-top: -4rem; opacity: 0; }
    .msg-line1 {
      font-family: var(--fe); font-size: clamp(0.65rem,1vw,0.75rem);
      letter-spacing: 0.2em; text-transform: uppercase; color: var(--pink);
      font-weight: 500; display: block; margin-bottom: 12px;
    }
    .msg-text {
      font-family: var(--fe); font-size: clamp(2.4rem,5.5vw,5rem);
      font-weight: 700; letter-spacing: -0.025em; line-height: 1.05;
      color: var(--ink); display: block;
    }
    .msg-text .lt  { font-weight: 500; opacity: 0.65; }
    .msg-text .pk  { color: var(--pink); }

    /* "I'm Shivesh" final block */
    .name-prefix {
      font-family: var(--fe); font-size: clamp(1.1rem,1.8vw,1.6rem);
      font-weight: 500; color: rgba(0,0,0,0.55); display: block; margin-bottom: 2px;
    }

    /* three-chapter progress — mirrors the phase boundaries in onScroll() */
    .hero-chapters {
      position: absolute; left: var(--pad); bottom: 56px; z-index: 4;
      display: flex; align-items: flex-end; gap: 8px; pointer-events: none;
    }
    .hc-bar {
      display: block; width: 1px; height: 16px; background: rgba(0,0,0,0.3);
      opacity: 0.35;
      transition: height 0.5s cubic-bezier(0.16,1,0.3,1), opacity 0.5s ease, background-color 0.5s ease;
    }
    .hc-bar.active { height: 32px; opacity: 1; background: var(--pink); }

    .hero-scroll-cue {
      position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
      display: flex; flex-direction: column; align-items: center; gap: 8px;
      font-family: var(--fe); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase;
      color: rgba(0,0,0,0.45); z-index: 2;
      opacity: 0; animation: fadein 1s 1.2s ease forwards;
    }
    .cue-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(0,0,0,0.45), transparent); animation: cuepulse 2s ease infinite; }
    @keyframes cuepulse { 0%,100%{opacity:.3} 50%{opacity:1} }
    @keyframes up    { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
    @keyframes fadein{ from{opacity:0} to{opacity:1} }

    /* progress bar at bottom of hero */
    #hero-progress {
      position: absolute; bottom: 0; left: 0; height: 2px;
      background: var(--pink); width: 0%; transition: none; z-index: 10;
    }

    @media (prefers-reduced-motion: reduce) {
      .cue-line { animation: none; opacity: 0.6; }
      .hc-bar { transition: none; }
      .hey-circle path, .hey-line path { animation: none; stroke-dashoffset: 0; }
    }

    /* ─── SECTIONS BASE ─── */
    section { padding: clamp(80px,12vw,140px) var(--pad); position: relative; }
    .label {
      display: inline-flex; align-items: center; gap: 10px;
      font-family: var(--ff); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase;
      color: var(--pink); font-weight: 600; margin-bottom: 16px;
    }
    .label::before { content: ''; width: 20px; height: 1px; background: var(--pink); display: block; }
    h2 {
      font-family: var(--ff); font-size: clamp(2rem,4.5vw,4rem);
      font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin-bottom: 12px;
    }
    .desc { color: var(--ink2); line-height: 1.8; font-size: 1.05rem; max-width: 520px; margin-bottom: 56px; }

    /* Scroll reveal */
    .rv { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
    .rv.in { opacity: 1; transform: translateY(0); }
    .d1{transition-delay:0.1s} .d2{transition-delay:0.2s} .d3{transition-delay:0.3s}
    .d4{transition-delay:0.4s} .d5{transition-delay:0.5s}

    /* ─── A DAY AT MAREA ─── */
    #day-at-marea {
      --day-top: #05060f;
      --day-bottom: #0c0822;
      --day-text: rgba(255,248,242,0.95);
      --day-muted: rgba(247,242,235,0.46);
      --day-line: rgba(247,242,235,0.15);
      --day-sun: #f072ac;
      --day-sun-progress: 16;
      --day-sun-rise: 0.48;
      position: relative;
      min-height: 3200px;
      color: var(--day-text);
      overflow: visible;
      padding: 0;
    }
    .day-stage {
      position: sticky;
      top: var(--nav-h);
      height: calc(100vh - var(--nav-h));
      overflow: hidden;
      background: linear-gradient(to bottom, var(--day-top) 0%, var(--day-bottom) 100%);
      transition: background 0.2s linear;
    }
    .day-stage::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: radial-gradient(circle, rgba(227,83,66,0.045) 1px, transparent 1px);
      background-size: 28px 28px;
      pointer-events: none;
      z-index: 0;
    }
    .day-shell {
      position: relative;
      min-height: 100%;
      max-width: 1200px;
      width: 100%;
      margin: 0 auto;
      height: 100%;
      padding: 0 clamp(2rem,8vw,7rem);
      box-sizing: border-box;
      z-index: 1;
    }
    .day-glow {
      position: absolute;
      border-radius: 50%;
      filter: blur(60px);
      pointer-events: none;
      opacity: 0.55;
    }
    .day-glow-a {
      width: 240px;
      height: 240px;
      top: 10%;
      left: -4%;
      background: rgba(227,83,66,0.22);
    }
    .day-glow-b {
      width: 260px;
      height: 260px;
      right: 6%;
      bottom: 12%;
      background: rgba(227,83,66,0.16);
    }
    .day-stars {
      position: absolute;
      inset: 0;
      opacity: 0.14;
      pointer-events: none;
    }
    .day-star {
      position: absolute;
      border-radius: 50%;
      background: white;
    }
    .day-title-block {
      position: absolute;
      top: 2.5rem;
      left: clamp(1.2rem,6vw,7rem);
      max-width: 560px;
      z-index: 2;
    }
    .day-kicker {
      font-family: 'Shikamaru', 'Gochi Hand', sans-serif;
      font-size: 0.62rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: rgba(227,83,66,0.6);
      margin-bottom: 1rem;
    }
    .day-title {
      font-family: 'Shikamaru', 'Gochi Hand', sans-serif;
      font-weight: 700;
      font-size: clamp(2.4rem,4vw,3.9rem);
      line-height: 1.08;
      letter-spacing: -0.03em;
      color: var(--day-text);
      margin-bottom: 0;
      text-shadow: 0 0 40px rgba(227,83,66,0.12), 0 10px 30px rgba(0,0,0,0.18);
    }
    .day-activity-block {
      position: absolute;
      left: clamp(1.2rem,6vw,7rem);
      top: 38%;
      transform: translateY(-20%);
      max-width: 760px;
      z-index: 2;
    }
    .day-meta {
      font-family: 'Shikamaru', 'Gochi Hand', sans-serif;
      font-size: 0.6rem;
      letter-spacing: 0.24em;
      text-transform: uppercase;
      color: var(--day-muted);
      margin-bottom: 0.8rem;
    }
    .day-activity {
      font-family: 'Shikamaru', 'Gochi Hand', sans-serif;
      font-weight: 700;
      font-size: clamp(3rem,6vw,5.6rem);
      line-height: 0.95;
      letter-spacing: -0.04em;
      color: var(--day-text);
      margin-bottom: 1.2rem;
      text-shadow: 0 0 40px rgba(227,83,66,0.14), 0 12px 36px rgba(0,0,0,0.24);
    }
    .day-copy {
      max-width: 42ch;
      font-size: 0.82rem;
      line-height: 1.8;
      color: color-mix(in srgb, var(--day-text) 46%, transparent);
      min-height: 4em;
      transition: color 0.4s ease;
    }
    .day-track-block {
      position: absolute;
      left: clamp(1.2rem,6vw,7rem);
      right: clamp(1.2rem,6vw,7rem);
      bottom: 2.25rem;
      z-index: 2;
    }
    .day-track-label {
      text-align: center;
      font-family: 'Shikamaru', 'Gochi Hand', sans-serif;
      font-size: 0.5rem;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--day-muted);
      margin-bottom: 0.9rem;
      animation: dayPulse 2.2s ease-in-out infinite;
      white-space: nowrap;
    }
    .day-track {
      position: relative;
      height: 270px;
      user-select: none;
      overflow: visible;
    }
    .day-arc {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 199px;
      overflow: visible;
    }
    .day-arc path {
      fill: none;
      stroke: color-mix(in srgb, var(--day-sun) 36%, transparent);
      stroke-width: 0.4;
      stroke-dasharray: 1.5 3;
      vector-effect: non-scaling-stroke;
    }
    .day-line {
      position: absolute;
      left: 0;
      right: 0;
      top: 208px;
      height: 1px;
    }
    .day-line-base {
      background: var(--day-line);
    }
    .day-line-glow {
      height: 3px;
      top: 207px;
      background: linear-gradient(to right, transparent 0%, color-mix(in srgb, var(--day-sun) 22%, transparent) 0%, color-mix(in srgb, var(--day-sun) 72%, transparent) calc(var(--day-sun-progress) * 1%), color-mix(in srgb, var(--day-sun) 24%, transparent) calc((var(--day-sun-progress) + 22) * 1%), transparent calc((var(--day-sun-progress) + 40) * 1%));
      filter: blur(3px);
    }
    .day-line-progress {
      width: calc(var(--day-sun-progress) * 1%);
      right: auto;
      background: linear-gradient(90deg, color-mix(in srgb, var(--day-sun) 30%, transparent), color-mix(in srgb, var(--day-sun) 84%, white 12%));
      opacity: 0.85;
    }
    .day-sun {
      position: absolute;
      left: 0;
      bottom: 62px;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: radial-gradient(circle at 38% 35%, #fffef8 0%, var(--day-sun) 58%, color-mix(in srgb, var(--day-sun) 76%, #f7a95b) 100%);
      box-shadow: 0 0 22px color-mix(in srgb, var(--day-sun) 92%, transparent), 0 0 54px color-mix(in srgb, var(--day-sun) 42%, transparent);
      transition: background 0.3s ease, box-shadow 0.3s ease;
      will-change: transform;
    }
    .day-sun-dot {
      position: absolute;
      left: 0;
      top: 204px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--day-sun);
      box-shadow: 0 0 10px color-mix(in srgb, var(--day-sun) 90%, transparent);
      transition: background 0.3s ease, box-shadow 0.3s ease;
      will-change: transform;
    }
    .day-ticks {
      position: absolute;
      inset: 0;
    }
    .day-tick {
      position: absolute;
      top: 208px;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
    }
    .day-tick i {
      width: 1px;
      height: 10px;
      background: var(--day-line);
      display: block;
    }
    .day-tick em {
      font-style: normal;
      font-family: 'Shikamaru', 'Gochi Hand', sans-serif;
      font-size: 0.5rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: color-mix(in srgb, var(--day-muted) 88%, transparent);
      transition: color 0.35s ease;
      white-space: nowrap;
    }
    .day-tick.is-active em {
      color: color-mix(in srgb, var(--day-text) 88%, white 12%);
    }
    .day-tick.is-active i {
      background: color-mix(in srgb, var(--day-sun) 84%, white 16%);
      box-shadow: 0 0 10px color-mix(in srgb, var(--day-sun) 40%, transparent);
    }
    @keyframes dayPulse {
      0%, 100% { opacity: 0.52; }
      50% { opacity: 0.95; }
    }
    .day-shell::before,
    .day-shell::after {
      content: '';
      position: absolute;
      width: 16px;
      height: 16px;
      pointer-events: none;
    }
    .day-shell::before {
      top: 1rem;
      left: clamp(0.8rem,5vw,6rem);
      border-top: 1px solid rgba(227,83,66,0.22);
      border-left: 1px solid rgba(227,83,66,0.22);
    }
    .day-shell::after {
      bottom: 1rem;
      right: clamp(0.8rem,5vw,6rem);
      border-bottom: 1px solid rgba(227,83,66,0.22);
      border-right: 1px solid rgba(227,83,66,0.22);
    }
    .day-hud {
      position: absolute;
      top: 2.5rem;
      right: clamp(1.2rem,6vw,7rem);
      font-family: 'Shikamaru', 'Gochi Hand', sans-serif;
      font-size: 0.48rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(227,83,66,0.38);
      display: flex;
      gap: 8px;
      align-items: center;
      z-index: 3;
      user-select: none;
    }
    .day-hud-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: rgba(227,83,66,0.55);
      box-shadow: 0 0 8px rgba(227,83,66,0.45);
      flex-shrink: 0;
      animation: dayPulse 1.8s ease-in-out infinite;
    }
    .day-hud-year {
      color: rgba(227,83,66,0.65);
    }

    /* ─── ABOUT ─── */
    #about { background: var(--bg); }
    .about-grid {
      display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px,6vw,80px);
      align-items: start;
    }
    .about-left {}
    .about-quote {
      font-family: var(--ff); font-size: clamp(1.4rem,2.5vw,2.2rem); font-weight: 300;
      line-height: 1.4; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 40px;
    }
    .about-quote strong { font-weight: 700; color: var(--pink); }
    .stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid rgba(0,0,0,0.08); border-radius: 16px; overflow: hidden; }
    .stat {
      padding: 24px 20px; background: var(--card); backdrop-filter: blur(8px); text-align: center;
      transition: background 0.2s;
    }
    .stat:hover { background: rgba(255,255,255,0.95); }
    .stat-n { font-family: var(--ff); font-size: 2.2rem; font-weight: 700; color: var(--pink); line-height: 1; margin-bottom: 4px; }
    .stat-l { font-size: 0.72rem; color: var(--ink2); font-family: var(--ff); letter-spacing: 0.06em; text-transform: uppercase; }
    .about-right {}
    .about-right p { color: var(--ink2); line-height: 1.85; margin-bottom: 20px; }
    .about-right p strong { color: var(--ink); font-weight: 500; }
    .about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
    .tag {
      font-family: var(--ff); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em;
      text-transform: uppercase; padding: 6px 14px; border-radius: 100px;
      background: rgba(0,0,0,0.05); color: var(--ink); border: 1px solid rgba(0,0,0,0.1);
      transition: all 0.2s;
    }
    .tag:hover { background: var(--pink); color: #fff; border-color: var(--pink); }

    @media (max-width: 900px) {
      #day-at-marea {
        min-height: 2600px;
      }
      .day-shell {
        padding: 0 clamp(1.4rem,6vw,2.4rem);
      }
      .day-title-block,
      .day-activity-block,
      .day-track-block {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
      }
      .day-title-block {
        max-width: 100%;
        margin-bottom: 42px;
      }
      .day-activity-block {
        max-width: 100%;
        margin-bottom: 56px;
      }
    }

    @media (max-width: 640px) {
      #day-at-marea {
        min-height: 2200px;
      }
      .day-shell {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
      }
      .day-track {
        height: 240px;
      }
      .day-arc {
        height: 168px;
      }
      .day-line,
      .day-sun-dot,
      .day-tick {
        top: 184px;
      }
      .day-line-glow {
        top: 183px;
      }
      .day-sun {
        width: 34px;
        height: 34px;
        bottom: 56px;
      }
      .day-tick em {
        letter-spacing: 0.16em;
        font-size: 0.5rem;
      }
      .day-copy {
        font-size: 0.9rem;
        line-height: 1.8;
      }
    }

    /* ─── SKILLS ─── */
    #skills { background: var(--bg2); }
    .skills-grid {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px;
    }

    /* 3D card base */
    .card-3d {
      background: var(--card); border-radius: var(--radius-sm); border: 1px solid rgba(0,0,0,0.06);
      transition: box-shadow 0.3s, transform 0.15s;
      transform-style: preserve-3d;
      box-shadow: 0 2px 12px rgba(0,0,0,0.06);
      will-change: transform;
    }
    .card-3d:hover {
      box-shadow: 0 20px 48px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
    }

    .sk-card { padding: 28px; }
    .sk-icon { font-size: 1.6rem; margin-bottom: 14px; display: block; }
    .sk-title { font-family: var(--ff); font-size: 1rem; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 16px; text-transform: uppercase; color: var(--ink); }
    .sk-list { display: flex; flex-wrap: wrap; gap: 7px; }
    .sk-pill {
      font-family: var(--ff); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.08em;
      text-transform: uppercase; padding: 5px 12px; border-radius: 100px;
      background: rgba(0,0,0,0.04); color: var(--ink2); border: 1px solid rgba(0,0,0,0.08);
      transition: all 0.2s;
    }
    .sk-pill:hover { background: var(--pink); color: #fff; border-color: var(--pink); }

    /* ─── PROJECTS ─── */
    #projects { background: var(--bg); }
    .proj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
    .proj-card { padding: 0; overflow: hidden; cursor: default; }
    .proj-visual {
      height: 180px; display: flex; align-items: center; justify-content: center;
      font-size: 4rem; position: relative;
      border-bottom: 1px solid rgba(0,0,0,0.06);
    }
    .pv1 { background: linear-gradient(135deg, #fce8f4, #f8d0e8); }
    .pv2 { background: linear-gradient(135deg, #e8f4fc, #d0e8f8); }
    .pv3 { background: linear-gradient(135deg, #f4fce8, #e0f8d0); }
    .proj-body { padding: 24px; }
    .proj-tag {
      font-family: var(--ff); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--pink); margin-bottom: 8px;
    }
    .proj-title { font-family: var(--ff); font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; letter-spacing: 0.01em; }
    .proj-desc { color: var(--ink2); font-size: 0.875rem; line-height: 1.7; margin-bottom: 20px; }
    .proj-metrics { display: flex; gap: 16px; padding-top: 16px; border-top: 1px solid rgba(0,0,0,0.06); }
    .pm { text-align: center; }
    .pm-v { font-family: var(--ff); font-size: 1.3rem; font-weight: 700; color: var(--pink); line-height: 1; }
    .pm-l { font-size: 0.62rem; color: var(--ink3); margin-top: 3px; font-family: var(--ff); letter-spacing: 0.04em; text-transform: uppercase; }

    /* ─── EXPERIENCE ─── */
    #experience { background: var(--bg2); }
    .tl { max-width: 720px; position: relative; }
    .tl::before {
      content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px;
      background: linear-gradient(to bottom, transparent, rgba(227,83,66,0.4), transparent);
    }
    .tl-item { padding-left: 40px; margin-bottom: 44px; position: relative; }
    .tl-dot {
      position: absolute; left: -5px; top: 7px; width: 11px; height: 11px;
      border-radius: 50%; border: 2px solid var(--pink); background: var(--bg2);
      transition: background 0.2s, box-shadow 0.2s;
    }
    .tl-item:hover .tl-dot { background: var(--pink); box-shadow: 0 0 10px rgba(227,83,66,0.5); }
    .tl-yr { font-family: var(--ff); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink); margin-bottom: 6px; }
    .tl-role { font-family: var(--ff); font-size: 1.15rem; font-weight: 700; margin-bottom: 2px; }
    .tl-co { font-size: 0.875rem; color: var(--ink2); margin-bottom: 10px; }
    .tl-desc { color: var(--ink2); font-size: 0.875rem; line-height: 1.75; }
    .tl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
    .tl-tag {
      font-family: var(--ff); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.06em;
      text-transform: uppercase; padding: 3px 10px; border-radius: 100px;
      background: rgba(227,83,66,0.1); color: var(--pink2); border: 1px solid rgba(227,83,66,0.2);
    }

    /* ─── CONTACT ─── */
    #contact {
      background: var(--bg);
      color: var(--ink);
      position: relative;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      text-align: center;
      overflow: hidden;
      padding: clamp(80px,10vw,120px) var(--pad) 0;
    }
    .ct-inner {
      position: relative;
      z-index: 3;
    }
    #contact .label { color: var(--pink); }
    #contact .label::before { background: var(--pink); }
    #contact h2 { color: var(--ink); margin-bottom: 32px; }
    .c-socials { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }
    .c-soc {
      width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.15);
      display: flex; align-items: center; justify-content: center;
      font-family: var(--ff); font-size: 0.75rem; font-weight: 700;
      color: var(--ink2); text-decoration: none; transition: all 0.2s;
    }
    .c-soc:hover { border-color: var(--pink); color: var(--pink); transform: translateY(-3px); }
    .c-btn {
      display: inline-flex; align-items: center; gap: 8px;
      font-family: var(--ff); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
      text-transform: uppercase; color: #fff; text-decoration: none;
      padding: 12px 28px; background: var(--ink); border-radius: 100px;
      transition: all 0.3s; margin-bottom: 36px;
    }
    .c-btn:hover { background: var(--pink); }

    /* ── Diagonal strips ── */
    .ct-strips {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
    }
    .ct-strip {
      position: absolute;
      left: -30%;
      width: 160%;
      white-space: nowrap;
    }
    .ct-strip-track {
      display: inline-flex;
      align-items: center;
      will-change: transform;
    }
    .ct-strip-track span {
      font-family: var(--ff);
      font-size: clamp(0.75rem, 1.1vw, 0.95rem);
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #fff;
      padding: 0 32px;
      white-space: nowrap;
    }
    .ct-dot {
      color: var(--pink) !important;
      font-size: 0.55rem !important;
      padding: 0 !important;
      flex-shrink: 0;
    }
    /* Strip A — top-left → bottom-right */
    .ct-strip-a {
      top: 62%;
      transform: rotate(-18deg);
      background: var(--ink);
      padding: 18px 0;
    }
    /* Strip B — top-right → bottom-left */
    .ct-strip-b {
      top: 74%;
      transform: rotate(18deg);
      background: var(--ink);
      padding: 18px 0;
    }

    /* ─── FOOTER ─── */
    footer {
      background: var(--ink); padding: 24px var(--pad);
      border-top: 1px solid rgba(255,255,255,0.06);
      display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    }
    .f-brand { font-family: var(--ff); font-weight: 700; font-size: 0.9rem; color: rgba(0,0,0,0.5); letter-spacing: 0.06em; text-transform: uppercase; }
    .f-copy { font-family: var(--ff); font-size: 0.7rem; color: rgba(0,0,0,0.3); letter-spacing: 0.06em; }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 768px) {
      .nav-links { display:none; position:fixed; top:var(--nav-h); left:0; right:0; background:rgba(0,0,0,0.97); backdrop-filter:blur(20px); flex-direction:column; padding:20px var(--pad); gap:0; border-bottom:1px solid rgba(0,0,0,0.08); }
      .nav-links.open { display:flex; }
      .nav-links li { padding:13px 0; border-bottom:1px solid rgba(0,0,0,0.05); }
      .nav-links a { font-size:0.9rem; }
      .nav-toggle { display:flex; }
      .about-grid { grid-template-columns:1fr; }
      .hero-name { font-size: clamp(2.8rem,12vw,5rem); }
      #carousel-section { padding: 0; }
    }

    /* ─── 3D CAROUSEL SECTION ─── */
    #carousel-section {
      position: relative;
      background: #ffffff;
      height: 320vh; /* scroll travel for 2 rotations */
    }
    #cs-sticky {
      position: sticky;
      top: 0;
      height: 100vh;
      background: #ffffff;
      overflow: hidden;
    }
    /* faint dot grid, same as the career section */
    #cs-sticky::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background-image: radial-gradient(circle, rgba(0,0,0,0.05) 1px, transparent 1px);
      background-size: 28px 28px;
    }
    .cs-tag {
      position: absolute;
      top: calc(var(--nav-h) + 24px);
      left: var(--pad);
      font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 0.82rem;
      color: #888;
      letter-spacing: 0.02em;
      z-index: 4;
    }
    .cs-tag::before { content: '─── '; color: var(--ink); }
    .cs-drag-hint {
      position: absolute;
      bottom: 34px;
      right: var(--pad);
      font-family: 'Shikamaru', 'Gochi Hand', sans-serif;
      font-size: 0.6rem;
      color: #ccc;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      z-index: 4;
    }
    /* progress arc at bottom center */
    .cs-progress {
      position: absolute;
      bottom: 32px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 2px;
      background: rgba(0,0,0,0.08);
      border-radius: 2px;
      z-index: 4;
      overflow: hidden;
    }
    .cs-progress-fill {
      height: 100%;
      background: var(--ink);
      border-radius: 2px;
      width: 0%;
      transition: width 0.15s linear;
    }
    /* #cs-wrap: perspective container — fills the sticky viewport */
    #cs-wrap {
      position: absolute;
      inset: 0;
      z-index: 1;
      perspective: 1400px;
      display: flex;
      align-items: center;
      justify-content: center;
      touch-action: none;
      user-select: none;
      cursor: grab;
    }
    #cs-wrap:active { cursor: grabbing; }
    /* entrance wrapper — fades in on scroll. Scale is fixed (no grow-in):
       animating it made the ring pop from small to large the first time the
       section engaged, which read as a jerk. Opacity alone now. */
    #cs-entrance {
      transform-style: preserve-3d;
      opacity: 0;
      transform: scale(0.66);
      transition: opacity 1.1s cubic-bezier(0.16,1,0.3,1);
    }
    #cs-entrance.is-visible {
      opacity: 1;
      transform: scale(0.66);
    }
    /* #cs-tilt: receives mouse rotateX/Y — JS driven */
    #cs-tilt {
      transform-style: preserve-3d;
    }
    /* #cs-ring: cylinder stage */
    #cs-ring {
      position: relative;
      width: 563px;
      height: 380px;
      transform-style: preserve-3d;
    }
    .cs-slot {
      position: absolute;
      inset: 0;
      transform-style: preserve-3d;
    }
    /* JS drives: translate(-50%,-50%) scale(depthFactor) */
    .cs-scale {
      position: absolute;
      top: 50%;
      left: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: auto;
      cursor: pointer;
    }
    .cs-card {
      width: clamp(200px, 20vw, 400px);
      aspect-ratio: 1.63;
      border-radius: 18px;
      overflow: hidden;
      position: relative;
      box-shadow: 0 30px 80px rgba(0,0,0,0.24), 0 6px 20px rgba(0,0,0,0.10);
      background: #111;
    }
    .cs-card img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      pointer-events: none;
      border: none;
    }
    /* slot 1 (video is slot 0) holds a square recap image — give it a square
       card so cover neither crops nor stretches it */
    #cs-ring .cs-slot:nth-child(2) .cs-card { aspect-ratio: 1; }
    .cs-card-video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border: none;
      pointer-events: none;
      display: block;
    }
    @media (max-width: 768px) {
      #cs-ring { width: 320px; height: 220px; }
      /* The front card is magnified before it reaches the screen: the entrance
         scale is 0.66, the ring's depth scale is 1.0 at the front, and
         translateZ(780) under perspective(1400) multiplies by 1400/(1400-780)
         = 2.258. Net 1.49x, so 64vw of CSS width renders at ~95vw on screen.
         Setting this to ~95vw directly would overflow by half a screen. */
      .cs-card { width: 68vw; }   /* x1.49 magnification = ~101vw on screen */
      /* Card size must not hinge on the entrance class arriving. It used to
         start at scale(0.45) and grow to 0.66 only once .is-visible landed —
         so any hiccup in that trigger left the card at two-thirds size, which
         is exactly what it was doing. Here the scale is fixed and the entrance
         animates opacity alone. */
      #cs-entrance { transform: scale(0.66); }
      #cs-entrance.is-visible { transform: scale(0.66); }
    }

    /* ─── SITE LOADER ─── */
    html.is-loading, html.is-loading body { overflow: hidden; height: 100%; }
    #ar-loader {
      position: fixed; inset: 0; background: #0A0A0A;
      z-index: 9999; pointer-events: all;
      display: flex; align-items: flex-end; justify-content: flex-end;
      padding: 48px clamp(24px,5vw,72px);
    }

    #ar-count {
      font-family: 'Shikamaru', 'Gochi Hand', sans-serif;
      font-size: clamp(4rem,8vw,8rem); color: #f5f5f0;
      font-weight: 700; letter-spacing: -0.04em;
      font-variant-numeric: tabular-nums;
    }

    /* ─── ARTBOARD SECTION ─── */
    #ar-section { position: relative; height: 170vh; z-index: 1; }   /* 450vh when #ar-intro is shown */
    #ar-track {
      position: sticky; top: 0; width: 100%; height: 100vh;
      overflow: hidden; perspective: 1500px;
      background: #0A0A0A;   /* the boards transform inside this; without a floor
                                any gap at their edges shows straight through */
    }
    .ar-board {
      position: absolute; inset: 0; width: 100%; height: 100%;
      transform-style: preserve-3d;
      will-change: transform, opacity, border-radius;
    }
    #ar-hero { background: #0A0A0A; z-index: 2; }
    #ar-canvas {
      position: absolute; inset: 0; width: 100%; height: 100%;
      pointer-events: none; opacity: 0;
    }
    .ar-name-wrap {
      position: absolute; top: 50%; left: 50%;
      transform: translate(-50%, -52%);
      text-align: center; z-index: 3; pointer-events: none;
    }
    .ar-mask { overflow: hidden; display: block; line-height: 0.9; padding: 0.04em 0; }
    .ar-mask-primary { position: relative; }
    .ar-name-wrap.drag-ready .ar-mask,
    .ar-name-wrap.drag-active .ar-mask { overflow: visible; }
    .ar-drag {
      font-family: 'Shikamaru', 'Gochi Hand', sans-serif;
      font-size: clamp(3rem,9vw,8rem); font-weight: 700;
      line-height: 0.88; color: #f5f5f0; display: block;
      white-space: nowrap;
      cursor: grab; will-change: transform;
      letter-spacing: -0.04em; user-select: none; pointer-events: auto;
    }
    #ar-d1 {
      color: #fff7fb;
      text-shadow:
        0 0 10px rgba(227,83,66,0.18),
        0 0 28px rgba(227,83,66,0.12),
        0 0 56px rgba(227,83,66,0.08);
    }
    .ar-drag.outline { -webkit-text-stroke: 2px #f5f5f0; color: transparent; }
    .ar-drag:active { cursor: grabbing; }
    .ar-drag-helper {
      position: absolute;
      inset: -34px -26px -22px;
      opacity: 0;
      transform: translateY(12px);
      pointer-events: none;
      transition: opacity 0.35s ease, transform 0.35s ease;
    }
    .ar-drag-helper.is-visible {
      opacity: 1;
      transform: translateY(0);
    }
    .ar-drag-badge {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translate(-50%, -100%);
      background: #f5f5f0;
      color: #0A0A0A;
      border: 1px solid rgba(10,10,10,0.18);
      border-radius: 8px;
      padding: 8px 18px;
      font-family: 'Shikamaru', 'Gochi Hand', sans-serif;
      font-size: 0.92rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      white-space: nowrap;
      box-shadow: 0 10px 24px rgba(0,0,0,0.22);
    }
    .ar-drag-frame {
      position: absolute;
      inset: 0;
      border: 2px dashed rgba(245,245,240,0.42);
      border-radius: 2px;
    }
    #ar-redline-svg {
      position: absolute; inset: 0; pointer-events: none; z-index: 8;
      overflow: visible; width: 100%; height: 100%;
    }
    #ar-pill {
      position: absolute; background: rgba(255,51,102,0.92); color: #fff;
      font-family: 'Shikamaru', 'Gochi Hand', sans-serif; font-size: 0.6rem;
      padding: 4px 10px; border-radius: var(--radius-sm);
      pointer-events: none; opacity: 0; z-index: 20;
      white-space: nowrap; transform: translate(14px, -50%);
    }
    .ar-scroll-hint {
      position: absolute; bottom: 32px; left: 50%;
      transform: translateX(-50%);
      font-family: 'Shikamaru', 'Gochi Hand', sans-serif; font-size: 0.55rem;
      color: rgba(245,245,240,0.22); letter-spacing: 0.15em;
      text-transform: uppercase; z-index: 4;
    }
    /* Intro artboard */
    #ar-intro {
      background: #f5f5f0; z-index: 1;
      display: flex; align-items: center; justify-content: center;
    }
    /* Statement board — hidden sitewide. This has to sit AFTER the block above:
       both selectors are a single id, so specificity ties and source order wins.
       It was listed in the display:none group at the top of this file, which is
       why that never took. To restore: delete this rule and put #ar-section's
       height back to 450vh (see below). */
    #ar-intro { display: none; }
    .ar-stmt-wrap {
      max-width: 720px; padding: 0 clamp(24px,6vw,80px);
      text-align: center; position: relative;
    }
    #ar-stmt {
      font-family: 'Shikamaru', 'Gochi Hand', sans-serif;
      font-size: clamp(1.6rem,3.2vw,3.2rem); font-weight: 700;
      color: #0A0A0A; line-height: 1.28; letter-spacing: -0.03em;
      min-height: 3.5em;
    }
    #ar-stmt .hi { color: var(--pink); }
    #ar-stmt .lime { background: #E4FE9A; padding: 0 5px; border-radius: 3px; color: #0A0A0A; }
    #ar-asel {
      position: absolute; inset: -18px -22px;
      border: 1.5px solid var(--pink); border-radius: 4px;
      pointer-events: none; opacity: 0; z-index: 5;
    }
    .ar-handle {
      position: absolute; width: 8px; height: 8px;
      background: var(--pink); border: 1.5px solid #fff; border-radius: 2px;
    }
    .ar-handle.tl { top: -4px; left: -4px; }
    .ar-handle.tr { top: -4px; right: -4px; }
    .ar-handle.bl { bottom: -4px; left: -4px; }
    .ar-handle.br { bottom: -4px; right: -4px; }
    #ar-prop {
      position: absolute; top: -30px; right: -4px;
      background: var(--pink); color: #fff;
      font-family: 'Shikamaru', 'Gochi Hand', sans-serif; font-size: 0.52rem;
      padding: 3px 10px; border-radius: 12px; white-space: nowrap;
    }
    /* Ghost cursor */
    #ar-ghost {
      position: absolute; top: 0; left: 0; width: 22px; height: 28px;
      pointer-events: none; z-index: 12; opacity: 0;
    }
    #ar-tooltip {
      position: absolute; background: var(--pink); color: #fff;
      font-family: 'Shikamaru', 'Gochi Hand', sans-serif; font-size: 0.55rem;
      padding: 3px 9px; border-radius: 4px;
      pointer-events: none; opacity: 0; z-index: 11; white-space: nowrap;
    }
    #ar-chat {
      position: absolute;
      top: 0;
      left: 0;
      max-width: min(40vw, 520px);
      background: var(--pink);
      border: 1px solid rgba(224,72,144,0.38);
      color: #fff;
      font-family: 'Shikamaru', 'Gochi Hand', sans-serif;
      font-size: clamp(0.9rem, 1.6vw, 1.25rem);
      font-weight: 600;
      padding: 14px 28px;
      border-radius: 14px 14px 14px 4px;
      pointer-events: none;
      opacity: 0;
      z-index: 13;
      line-height: 1.25;
      transform: translateY(12px) scale(0.96);
      transform-origin: top left;
      transition: opacity 0.26s ease, transform 0.26s ease;
      box-shadow: 0 18px 36px rgba(0,0,0,0.28);
    }
    #ar-chat::before {
      content: '';
      position: absolute;
      left: -14px;
      top: 18px;
      width: 0;
      height: 0;
      border-top: 10px solid transparent;
      border-bottom: 10px solid transparent;
      border-right: 14px solid var(--pink);
      filter: drop-shadow(-2px 0 0 rgba(224,72,144,0.22));
    }
    #ar-chat.show { opacity: 1; transform: translateY(0) scale(1); }
    @media (max-width: 768px) {
      #ar-chat {
        max-width: min(72vw, 320px);
        font-size: 0.9rem;
        padding: 12px 18px;
      }
    }
    @keyframes ar-blink { 0%,100%{opacity:1} 50%{opacity:0} }
    @media (max-width: 768px) {
      .ar-drag-helper {
        inset: -22px -10px -14px;
      }
      .ar-drag-badge {
        font-size: 0.72rem;
        padding: 7px 12px;
      }
    }

    /* ─── MOBILE PASS ─── */
    /* Mobile browser chrome makes 100vh taller than the visible area, so every
       pinned full-screen panel had its bottom clipped. dvh tracks the real
       viewport; on desktop it equals vh. */
    @supports (height: 100dvh) {
      #hero-sticky, #ar-track, #cs-sticky { height: 100dvh; }
      .day-stage { height: calc(100dvh - var(--nav-h)); }
      #contact { min-height: 100dvh; }
    }

    @media (max-width: 480px) {
      /* email pill: let it wrap instead of pushing past the screen edge */
      .c-btn {
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.72rem;
      }
      /* draggable name: 15vw overflowed "SHIVESH" below ~360px */
      .ar-drag { font-size: clamp(2rem, 11vw, 6rem); }
      .ar-name-wrap { width: 100%; }
      /* tighten section rhythm on small screens */
      section { padding: clamp(64px, 16vw, 100px) var(--pad); }
      h2 { font-size: clamp(1.9rem, 8vw, 3rem); }
    }

    /* ─── CHIMES — string curtain ─── */
    #chimes {
      position: relative;
      height: 100vh;
      padding: 0;
      background: #0A0A0A url('../assets/chimes-bg-3.png') center / cover no-repeat;
      overflow: hidden;
      /* contain the multiply blend below to this section's own backdrop */
      isolation: isolate;
      display: flex;
      align-items: flex-end;
    }
    /* scrim so the strings and copy stay legible over the photo */
    #chimes::before {
      content: '';
      position: absolute; inset: 0; z-index: 1; pointer-events: none;
      background: linear-gradient(to top, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.28) 45%, rgba(10,10,10,0.12) 100%);
    }
    @supports (height: 100dvh) { #chimes { height: 100dvh; } }
    #chimes-canvas { position: absolute; inset: 0; z-index: 1; display: block; }
    /* the shafts entering through the doorway. screen so they only ever ADD
       light; the curtain cuts holes in them, it never paints grey on the photo. */
    #chimes-light {
      position: absolute; inset: 0; z-index: 1; display: block;
      pointer-events: none; mix-blend-mode: screen;
    }
    .chimes-copy {
      position: relative;
      z-index: 2;
      padding: var(--pad);
      max-width: 640px;
      pointer-events: none;
    }
    .chimes-eyebrow {
      font-family: var(--fe); font-size: clamp(0.62rem, 1vw, 0.75rem);
      letter-spacing: 0.2em; text-transform: uppercase; color: var(--pink);
      margin-bottom: 14px;
    }
    .chimes-title {
      font-family: var(--ff); font-size: clamp(1.8rem, 4vw, 3.4rem);
      font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: #f5f5f0;
      margin-bottom: 0;
    }
    .chimes-aside {
      margin-top: 18px; font-size: 0.95rem; line-height: 1.7;
      font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
      color: rgba(242,227,207,0.6);
    }
    .chimes-sound {
      position: absolute; right: var(--pad); bottom: var(--pad); z-index: 3;
      font-family: var(--fe); font-size: 0.55rem; letter-spacing: 0.18em;
      text-transform: uppercase; color: rgba(245,245,240,0.4);
      background: none; border: 1px solid rgba(245,245,240,0.16);
      border-radius: 100px; padding: 8px 16px; cursor: pointer;
      transition: color 0.2s, border-color 0.2s;
    }
    .chimes-sound:hover { color: rgba(245,245,240,0.75); border-color: rgba(245,245,240,0.4); }
    .chimes-sound[aria-pressed="true"] { color: var(--pink); border-color: var(--pink); }
