
    :root {
      --bg: #0a0a0a;
      --surface: #111111;
      --border: #2a2a2a;
      --text-primary: #f0f0f0;
      --text-secondary: #888888;
      --text-tertiary: #555555;

      --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
      --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
      --frame-line: rgba(245, 235, 220, 0.42);

      --reveal-dur: 0.25s;
      --reveal-delay: 0s;

      --header-h: 110px;
    }

    *,
    *::before,
    *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: var(--header-h);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    body {
      background: var(--bg);
      color: var(--text-primary);

      overflow-x: hidden;
      cursor: default;
    }

    ::selection {
      background: var(--text-primary);
      color: var(--bg);
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      display: block;
      max-width: 100%;
    }

    /* ── Cursor ────────────────────────────────────────── */
    .cursor-dot {
      width: 8px;
      height: 8px;
      background: var(--text-primary);
      border-radius: 50%;
      position: fixed;
      pointer-events: none;
      z-index: 9999;
      transition: transform 0.15s var(--ease-out);
      mix-blend-mode: difference;
    }

    .cursor-ring {
      width: 40px;
      height: 40px;
      border: 1px solid rgba(240, 240, 240, 0.3);
      border-radius: 50%;
      position: fixed;
      pointer-events: none;
      z-index: 9998;
      transition:
        width 0.3s,
        height 0.3s,
        border-color 0.3s;
      mix-blend-mode: difference;
    }

    /* ── Noise ─────────────────────────────────────────── */
    .noise {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 9997;
      opacity: 0.03;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    }

    /* ── Header ────────────────────────────────────────── */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;

      background: transparent;
      border: none;

      pointer-events: none;
    }

    .site-header > * {
      pointer-events: auto;
    }

    .site-header::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: -3.5rem;

      background:
        linear-gradient(
          to bottom,
          rgba(10,10,10,0.98) 0%,
          rgba(10,10,10,0.92) 42%,
          rgba(10,10,10,0.65) 68%,
          rgba(10,10,10,0.30) 86%,
          rgba(10,10,10,0.05) 100%
        );

      pointer-events: none;
      z-index: -1;
    }

    .nav-brand-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;

      padding: 1.35rem 2.75rem 0.95rem;
    }

    .nav-brand {

      color: var(--text-primary);
    }

    .nav-track-row {
      display: flex;
      align-items: center;

      padding: 0.2rem 2.75rem 0.35rem;

      position: relative;
    }

    .nav-track {
      flex: 1 1 0;
      min-width: 0;

      height: 2px;

      background-image: none;

      position: relative;
      z-index: 1;
      overflow: visible;

      margin-right: 1.6rem;
    }

    .nav-track:last-child {
      margin-right: 0;
    }

    /*
      Single continuous fade across the whole tracker.
      Its gradient is recomputed on every scroll frame from JS.
      A CSS mask (built from real track rects) punches gaps out
      at the spacers between sections — fade behaviour unchanged.
    */
    .nav-fade {
      position: absolute;

      left: 2.75rem;
      right: 2.75rem;
      top: 0.2rem;

      height: 2px;

      border-radius: 2px;

      pointer-events: none;
      z-index: 3;

      filter:
        drop-shadow(0 0 6px rgba(255, 255, 255, 0.45))
        drop-shadow(0 0 14px rgba(255, 255, 255, 0.20));

      will-change: background;
    }

    .nav-bar {
      display: flex;
      align-items: stretch;

      padding: 0 2.75rem;
    }

    .nav-links {
      display: flex;
      width: 100%;
      list-style: none;
    }

    .nav-links li {
      flex: 1 1 0;
      min-width: 0;
    }

    .nav-links a {
      position: relative;
      display: block;

      padding: 0.55rem 1.6rem 0.85rem 0;

      white-space: nowrap;

      color: var(--text-tertiary);

      transition:
        color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        letter-spacing 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        text-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .nav-links a:hover {
      color: var(--text-secondary);
    }

    .nav-links a.active {
      color: var(--text-primary);

      text-shadow:
        0 0 18px rgba(255, 255, 255, 0.30),
        0 0 42px rgba(255, 255, 255, 0.12);
    }

    /* ── Morph image ───────────────────────────────────── */
    .morph-image {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100px;
      z-index: 1;
      pointer-events: none;
      overflow: visible;
      isolation: isolate;

      transform: translate3d(0, 0, 0);
      will-change: transform, width, height;

      /*
        Every white-shadow layer is driven by --shadowW.
        At page load --shadowW is 0 → no white rim, no bloom.
        While the image travels, --shadowW grows, so the white
        offset emerges from behind the image.
      */
      --shadowW: 0;
      --shadowD: 0;

      --cutInset: 0px;
      --cutAlpha: 0;

      box-shadow:
        /* permanent-looking white rim — but gated by --shadowW */
        0 0 0 1px
          rgba(255, 255, 255, calc(var(--shadowW) * 0.32)),
        0 0 18px 3px
          rgba(255, 255, 255, calc(var(--shadowW) * 0.16)),
        0 0 42px 10px
          rgba(255, 255, 255, calc(var(--shadowW) * 0.08)),

        /* dark backing ring — appears once docked */
        0 0 0 10px
          rgba(10, 10, 10, var(--shadowD)),

        /* white bloom — grows from underneath */
        0 26px 70px 14px
          rgba(255, 255, 255, calc(var(--shadowW) * 0.30)),
        0 10px 44px 10px
          rgba(255, 255, 255, calc(var(--shadowW) * 0.34)),
        0 0 34px 12px
          rgba(255, 255, 255, calc(var(--shadowW) * 0.28)),
        0 0 12px 4px
          rgba(255, 255, 255, calc(var(--shadowW) * 0.45)),

        /* deep dark depth */
        0 0 26px 15px
          rgba(0, 0, 0, calc(var(--shadowD) * 0.85)),
        0 12px 34px 8px
          rgba(0, 0, 0, calc(var(--shadowD) * 0.45));

      transition: none;
    }

    .morph-image::before {
      content: '';
      position: absolute;

      inset: var(--cutInset, 0px);

      border: 1px solid rgba(255, 255, 255, var(--cutAlpha, 0));
      border-radius: 2px;

      pointer-events: none;
      z-index: 7;

      transform: none;
      transition: none;
    }

    .morph-image.docked {
      --shadowD: 1;
    }

    .morph-image::after {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 6;
      pointer-events: none;

      box-shadow:
        inset 0 0 2px 0 rgba(0, 0, 0, 0.90);
    }

    .morph-image img {
      position: relative;
      z-index: 2;

      width: 100%;
      height: 100%;
      object-fit: cover;

      object-position: left center;
      display: block;

      filter:
        grayscale(100%)
        brightness(0.72)
        contrast(1.30);

      will-change: filter;
    }

    /* ── Ground-glass shader ───────────────────────────── */
    .morph-glass {
      position: absolute;
      inset: 0;
      pointer-events: none;
      opacity: 0.72;
      will-change: opacity;

      -webkit-backdrop-filter:
        blur(20px)
        saturate(155%)
        brightness(1.10)
        contrast(1.02);

      backdrop-filter:
        blur(20px)
        saturate(155%)
        brightness(1.10)
        contrast(1.02);

      background:
        linear-gradient(
          148deg,
          rgba(255,255,255,0.19) 0%,
          rgba(255,255,255,0.05) 26%,
          rgba(255,255,255,0.015) 52%,
          rgba(255,255,255,0.06) 78%,
          rgba(255,255,255,0.145) 100%
        );
    }

    .morph-glass::before {
      content: '';
      position: absolute;
      inset: 0;

      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");

      opacity: 0.42;
      mix-blend-mode: overlay;
      pointer-events: none;
    }

    .morph-glass::after {
      content: '';
      position: absolute;
      inset: 0;

      border: 1px solid rgba(255,255,255,0.16);

      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.32),
        inset 0 -1px 0 rgba(255,255,255,0.07),
        inset 1px 0 0 rgba(255,255,255,0.12),
        inset 0 0 70px rgba(255,255,255,0.055);

      pointer-events: none;
    }

    .morph-overlay {
      position: absolute;
      inset: 0;
      background: none;
      pointer-events: none;
      will-change: opacity;
    }

    .morph-fade {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 38%;

      background:
        linear-gradient(
          to bottom,
          rgba(10,10,10,0) 0%,
          rgba(10,10,10,0.35) 45%,
          rgba(10,10,10,0.8) 80%,
          rgba(10,10,10,0.98) 100%
        );

      pointer-events: none;
      will-change: opacity;
    }

    /* ── Corner shimmer — smoother, corner-masked ─────── */
    .morph-shimmer {
      position: absolute;
      inset: -5px;

      z-index: 1;
      pointer-events: none;

      opacity: 0;

      mix-blend-mode: screen;
      will-change: opacity, transform;

      transform: scale(0.92);
      transform-origin: center center;

      background: transparent;

      overflow: hidden;
    }

    .morph-image.shimmer-run .morph-shimmer {
      opacity: 1;
      transform: scale(1);
      transition:
        opacity 0.18s ease-out,
        transform 0.18s ease-out;
    }

    /*
      Broad sheen band.
      - Multi-stop gradient for smoother falloff (less banding).
      - 135deg mask keeps the top-left corner dark: sheen fades
        in along the diagonal and only survives from mid-frame
        toward the bottom-right.
    */
    .morph-shimmer::before {
      content: '';
      position: absolute;

      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;

      background:
        linear-gradient(
          315deg,
          transparent 0%,
          transparent 24%,
          rgba(255,255,255,0.04) 32%,
          rgba(255,255,255,0.14) 40%,
          rgba(255,255,255,0.44) 47%,
          rgba(255,255,255,0.62) 50%,
          rgba(255,255,255,0.44) 53%,
          rgba(255,255,255,0.14) 60%,
          rgba(255,255,255,0.04) 68%,
          transparent 76%,
          transparent 100%
        );

      -webkit-mask-image:
        linear-gradient(
          135deg,
          transparent 0%,
          transparent 22%,
          rgba(0,0,0,0.55) 42%,
          #000 62%,
          #000 100%
        );

      mask-image:
        linear-gradient(
          135deg,
          transparent 0%,
          transparent 22%,
          rgba(0,0,0,0.55) 42%,
          #000 62%,
          #000 100%
        );

      opacity: 0;
      pointer-events: none;

      transform: translate(0%, 0%);

      will-change: transform, opacity;
    }

    .morph-image.shimmer-run .morph-shimmer::before {
      animation:
        shimmerSweep 2.4s cubic-bezier(0.45, 0, 0.35, 1) 0s 1 forwards;
    }

    /*
      Specular highlight — thin 1px line that leads the sheen.
      Not masked, so the very tip still flashes on the diagonal.
    */
    .morph-shimmer::after {
      content: '';
      position: absolute;

      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;

      background:
        linear-gradient(
          315deg,
          transparent 0%,
          transparent 49.85%,
          rgba(255,255,255,0.85) 50%,
          transparent 50.15%,
          transparent 100%
        );

      opacity: 0;
      pointer-events: none;

      transform: translate(0%, 0%);
      filter: blur(0.35px);

      mix-blend-mode: screen;
      will-change: transform, opacity;
    }

    .morph-image.shimmer-run .morph-shimmer::after {
      animation:
        shimmerSpecular 2.4s cubic-bezier(0.45, 0, 0.35, 1) 0s 1 forwards;
    }

    /*
      Smoother sweep — dissolve in / out via opacity, no jumping.
      Starts from the centre-bottom-right and dissolves before
      reaching the (masked) top-left corner.
    */
    @keyframes shimmerSweep {
      0% {
        transform: translate(38%, 38%);
        opacity: 0;
      }
      12% {
        opacity: 0.35;
      }
      30% {
        opacity: 0.85;
      }
      55% {
        opacity: 1;
      }
      78% {
        opacity: 0.65;
      }
      100% {
        transform: translate(-32%, -32%);
        opacity: 0;
      }
    }

    @keyframes shimmerSpecular {
      0% {
        transform: translate(38%, 38%);
        opacity: 0;
      }
      14% {
        opacity: 0.5;
      }
      55% {
        opacity: 1;
      }
      82% {
        opacity: 0.4;
      }
      100% {
        transform: translate(-32%, -32%);
        opacity: 0;
      }
    }

    /* ── Hero ──────────────────────────────────────────── */
    .hero {
      min-height: 100vh;
      z-index: 5;

      display: flex;
      flex-direction: column;
      justify-content: flex-end;

      padding: 2rem;

      position: relative;
      overflow: hidden;
      isolation: isolate;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: -8%;

      z-index: 0;
      pointer-events: none;

      -webkit-backdrop-filter:
        blur(7px)
        saturate(130%)
        brightness(1.06)
        contrast(1.18);

      backdrop-filter:
        blur(7px)
        saturate(130%)
        brightness(1.06)
        contrast(1.18);

      background:
        radial-gradient(
          ellipse at 18% 18%,
          rgba(255,255,255,0.055) 0%,
          rgba(255,255,255,0.018) 24%,
          rgba(255,255,255,0) 48%
        ),
        radial-gradient(
          ellipse at 82% 72%,
          rgba(255,255,255,0.035) 0%,
          rgba(255,255,255,0.012) 28%,
          rgba(255,255,255,0) 58%
        ),
        linear-gradient(
          145deg,
          rgba(255,255,255,0.018) 0%,
          rgba(255,255,255,0.006) 42%,
          rgba(255,255,255,0.014) 100%
        );

      opacity: 0.9;

      -webkit-mask-image:
        linear-gradient(
          to bottom,
          #000 0%,
          #000 58%,
          rgba(0,0,0,0.5) 80%,
          transparent 100%
        );

      mask-image:
        linear-gradient(
          to bottom,
          #000 0%,
          #000 58%,
          rgba(0,0,0,0.5) 80%,
          transparent 100%
        );
    }

    .hero::after {
      content: '';
      position: absolute;
      inset: 0;

      z-index: 1;
      pointer-events: none;

      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cfilter id='heroNoise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.25' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23heroNoise)'/%3E%3C/svg%3E");

      background-size: 160px 160px;
      background-repeat: repeat;

      opacity: 0.075;
      mix-blend-mode: overlay;

      -webkit-mask-image:
        linear-gradient(
          to bottom,
          #000 0%,
          #000 55%,
          rgba(0,0,0,0.4) 78%,
          transparent 100%
        );

      mask-image:
        linear-gradient(
          to bottom,
          #000 0%,
          #000 55%,
          rgba(0,0,0,0.4) 78%,
          transparent 100%
        );
    }

    .hero-content {
      position: relative;
      z-index: 10;
      max-width: 900px;
      will-change: opacity, transform;
    }

    .hero-label {

      color: var(--text-secondary);

      margin-bottom: 2rem;

      opacity: 0;
      animation:
        fadeUp 1s var(--ease-out) 0.8s forwards;
    }

    .hero-title {

      margin-bottom: 1.5rem;
    }

    .hero-title .line {
      display: block;
      overflow: hidden;
    }

    .hero-title .line-inner {
      display: block;
      transform: translateY(110%);

      animation:
        lineReveal 1.2s var(--ease-out) forwards;
    }

    .hero-title .line:nth-child(1) .line-inner {
      animation-delay: 1.0s;
    }

    .hero-title .line:nth-child(2) .line-inner {
      animation-delay: 1.15s;
    }

    .hero-title .line:nth-child(3) .line-inner {
      animation-delay: 1.3s;
    }

    @keyframes lineReveal {
      to {
        transform: translateY(0);
      }
    }

    .hero-subtitle {

      color: var(--text-secondary);
      max-width: 500px;

      opacity: 0;
      animation:
        fadeUp 1s var(--ease-out) 1.6s forwards;
    }

    /* ── Scroll hint — heartbeat bloom from text centre ── */
    .hero-scroll {
      position: absolute;
      bottom: 2rem;
      right: 2rem;

      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1.1rem;

      opacity: 0;
      animation:
        fadeUp 1s var(--ease-out) 2.0s forwards;

      z-index: 3;
    }

    .hero-scroll span {
      position: relative;

      writing-mode: vertical-rl;

      color: var(--text-secondary);

      animation:
        heartPulse 2.2s var(--ease-in-out) infinite;
    }

    /* Radial bloom centred exactly on the text block */
    .hero-scroll span::after {
      content: '';
      position: absolute;

      top: 50%;
      left: 50%;

      width: 260%;
      height: 260%;

      transform: translate(-50%, -50%) scale(0.35);

      border-radius: 50%;

      background:
        radial-gradient(
          circle,
          rgba(255, 255, 255, 0.55) 0%,
          rgba(255, 255, 255, 0.18) 32%,
          rgba(255, 255, 255, 0) 62%
        );

      opacity: 0;
      filter: blur(6px);

      animation:
        heartPulseGlow 2.2s var(--ease-in-out) infinite;

      pointer-events: none;
      z-index: -1;
    }

    /* Heartbeat on the glyphs — two quick beats, long rest */
    @keyframes heartPulse {
      0%, 100% {
        color: var(--text-secondary);
        text-shadow:
          0 0 0 rgba(255, 255, 255, 0);
      }
      9% {
        color: var(--text-primary);
        text-shadow:
          0 0 10px rgba(255, 255, 255, 0.78),
          0 0 24px rgba(255, 255, 255, 0.36),
          0 0 40px rgba(255, 255, 255, 0.16);
      }
      18% {
        color: var(--text-secondary);
        text-shadow:
          0 0 3px rgba(255, 255, 255, 0.16);
      }
      27% {
        color: var(--text-primary);
        text-shadow:
          0 0 8px rgba(255, 255, 255, 0.62),
          0 0 18px rgba(255, 255, 255, 0.28),
          0 0 32px rgba(255, 255, 255, 0.12);
      }
      40% {
        color: var(--text-secondary);
        text-shadow:
          0 0 0 rgba(255, 255, 255, 0);
      }
      100% {
        color: var(--text-secondary);
        text-shadow:
          0 0 0 rgba(255, 255, 255, 0);
      }
    }

    /* Matching heartbeat on the radial glow behind the text */
    @keyframes heartPulseGlow {
      0%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.35);
      }
      9% {
        opacity: 0.85;
        transform: translate(-50%, -50%) scale(0.95);
      }
      18% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7);
      }
      27% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.85);
      }
      40% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.55);
      }
    }

    .hero-scroll .arrow {
      width: 2px;
      height: 72px;
      background: rgba(255, 255, 255, 0.10);

      position: relative;
      overflow: hidden;

      border-radius: 2px;
    }

    .hero-scroll .arrow::after {
      content: '';
      position: absolute;

      left: -1px;
      width: 4px;
      height: 60%;
      top: -60%;

      background:
        linear-gradient(
          to bottom,
          rgba(255,255,255,0) 0%,
          rgba(255,255,255,0.98) 50%,
          rgba(255,255,255,0) 100%
        );

      box-shadow:
        0 0 12px rgba(255, 255, 255, 0.55),
        0 0 28px rgba(255, 255, 255, 0.25);

      animation:
        arrowDrop 2s var(--ease-in-out) infinite;
    }

    @keyframes arrowDrop {
      0% {
        top: -60%;
      }

      55%,
      100% {
        top: 100%;
      }
    }

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* ── About ─────────────────────────────────────────── */
    .about-section {
      min-height: 100vh;
      padding: 8rem 2rem;

      display: flex;
      align-items: center;

      position: relative;
      z-index: 2;
    }

    .about-inner {
      width: 100%;
      max-width: 1300px;
      margin: 0 auto;

      display: grid;
      grid-template-columns: 1.1fr 0.9fr;

      gap: 5rem;
      align-items: center;
    }

    .about-text-col {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;

      position: relative;
      z-index: 2;
    }

    .about-label {

      color: var(--text-tertiary);

    }

    .about-title {

      margin-bottom: 1rem;
    }

    .about-text {

      color: var(--text-secondary);
      max-width: 520px;
    }

    .about-text p + p {
      margin-top: 1.25rem;
    }

    .about-text .highlight {
      color: var(--text-primary);
    }

    /* Meta grid — larger type + asymmetric 30% strength fade */
    .about-meta {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      margin-top: 2rem;
      max-width: 520px;
    }

    .meta-item {
      position: relative;
      padding-top: 0.85rem;
    }

    /*
      Fade underline — same asymmetric shape as "Let's talk"
      (peak at 38.3%), but only 30% of that section's strength.
    */
    .meta-item::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;

      background:
        linear-gradient(
          to right,
          rgba(255, 255, 255, 0.09) 0%,
          rgba(255, 255, 255, 0.20) 22%,
          rgba(255, 255, 255, 0.30) 38.3%,
          rgba(255, 255, 255, 0.27) 52%,
          rgba(255, 255, 255, 0.09) 100%
        );
    }

    .meta-label {

      color: var(--text-tertiary);

      margin-bottom: 0.4rem;
    }

    .meta-value {

      color: var(--text-primary);
    }

    .about-contact {
      margin-top: 2.75rem;
      padding-top: 1.75rem;
      border-top: 1px solid var(--border);
      max-width: 520px;
    }

    .about-contact-label {

      color: var(--text-tertiary);
      margin-bottom: 1.15rem;
    }

    .about-contact-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.7rem;
    }

    .about-contact-list li {
      display: grid;
      grid-template-columns: 90px 1fr;
      gap: 1.25rem;

      align-items: baseline;
    }

    .contact-key {

      color: var(--text-tertiary);
    }

    .about-contact-list a,
    .about-contact-list span {
      color: var(--text-secondary);
      transition: color 0.3s;
    }

    .about-contact-list a:hover {
      color: var(--text-primary);
    }

    .about-image-slot {
      width: 100%;
      aspect-ratio: 4 / 5;
      position: relative;
      pointer-events: none;
    }

    /* ── Sections ──────────────────────────────────────── */
    .section {
      padding: 8rem 2rem;
      position: relative;
      z-index: 3;
      background: var(--bg);
    }

    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: baseline;

      margin-bottom: 4rem;
      padding-bottom: 1rem;

      border-bottom: 1px solid var(--border);
    }

    .section-number {

      color: var(--text-tertiary);
    }

    /* +6pt vs. previous clamp(1.5rem, 3vw, 2.5rem) */

    .work-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
    }

    .work-item {
      position: relative;
      overflow: hidden;
      cursor: pointer;
    }

    .work-item:nth-child(even) {
      margin-top: 4rem;
    }

    .work-image {
      aspect-ratio: 4 / 5;
      background: var(--surface);
      position: relative;
      overflow: hidden;
    }

    .work-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;

      transition:
        transform 0.8s var(--ease-out),
        filter 0.8s var(--ease-out);

      filter:
        grayscale(100%)
        brightness(0.7);
    }

    .work-item:hover .work-image img {
      transform: scale(1.05);
      filter:
        grayscale(0%)
        brightness(1);
    }

    .work-image::after {
      content: '';
      position: absolute;
      inset: 0;

      background:
        linear-gradient(
          to top,
          rgba(10,10,10,0.6) 0%,
          transparent 50%
        );

      pointer-events: none;
    }

    .work-info {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      padding-top: 1rem;
    }

    .work-year {

      color: var(--text-tertiary);
    }

    .work-tags {
      display: flex;
      gap: 0.5rem;
      margin-top: 0.5rem;
    }

    .work-tag {

      color: var(--text-secondary);

      padding: 0.2rem 0.5rem;

      border: 1px solid var(--border);
      border-radius: 2px;

      transition:
        border-color 0.3s,
        color 0.3s;
    }

    .work-item:hover .work-tag {
      border-color: var(--text-secondary);
      color: var(--text-primary);
    }

    /* ── Marquee — Liquid Glass ───────────────────────── */
    .marquee-section {
      padding: 0;
      overflow: hidden;

      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);

      position: relative;
      z-index: 3;

      background: var(--bg);
    }

    .marquee-viewport {
      overflow: hidden;
      position: relative;
      width: 100%;

      padding: 4.5rem 0;
    }

    .marquee-mouse {
      will-change: transform;
    }

    .marquee-track {
      display: flex;
      width: max-content;

      animation:
        marquee 42s linear infinite;

      will-change: transform;
    }

    .marquee-viewport:hover .marquee-track {
      animation-play-state: paused;
    }

    .marquee-group {
      display: flex;
      align-items: center;
      flex-shrink: 0;
    }

    @keyframes marquee {
      from {
        transform: translate3d(0, 0, 0);
      }

      to {
        transform: translate3d(-50%, 0, 0);
      }
    }

    .marquee-word {
      display: inline-block;

      white-space: nowrap;

      padding: 0 0.5rem;

      color: var(--text-tertiary);

      transition:
        color 0.4s var(--ease-out),
        transform 0.5s var(--ease-out),
        text-shadow 0.5s var(--ease-out);

      cursor: pointer;
    }

    /* Dots — moved with more generous spacing between items */
    .marquee-dot {
      display: inline-block;
      width: 8px;
      height: 8px;

      background: var(--text-tertiary);
      border-radius: 50%;

      margin: 0 2rem;

      flex-shrink: 0;

      transition:
        background 0.4s var(--ease-out),
        transform 0.4s var(--ease-out);
    }

    .marquee-group:hover .marquee-dot {
      background: var(--text-secondary);
    }

    /*
      Liquid Glass pill — visible only on hover.
      Default state is fully transparent so only the word shows.
      Hover reveals a frosted capsule with:
        - flipped highlights (now bottom-right is the bright side)
        - interior gradient rotated +90°
        - stronger transparency
        - 2px interior inset shadow
        - soft white shadow underneath
    */
    .marquee-v2 .marquee-word {
      position: relative;

      padding: 0.12em 0.72em;
      border-radius: 0.55em;

      background: transparent;
      border: 1px solid transparent;

      -webkit-backdrop-filter: none;
      backdrop-filter: none;

      color: var(--text-tertiary);

      box-shadow: none;

      transition:
        color 0.4s var(--ease-out),
        transform 0.5s var(--ease-out),
        box-shadow 0.5s var(--ease-out),
        background 0.5s var(--ease-out),
        border-color 0.5s var(--ease-out),
        text-shadow 0.5s var(--ease-out),
        -webkit-backdrop-filter 0.5s var(--ease-out),
        backdrop-filter 0.5s var(--ease-out);
    }

    /*
      Diagonal sheen — flipped so the bright side sits
      on the bottom-right of the capsule (was top-left).
    */
    .marquee-v2 .marquee-word::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;

      background:
        linear-gradient(
          305deg,
          rgba(255,255,255,0.30) 0%,
          rgba(255,255,255,0.06) 16%,
          rgba(255,255,255,0) 40%,
          rgba(255,255,255,0) 60%,
          rgba(255,255,255,0.09) 84%,
          rgba(255,255,255,0.20) 100%
        );

      pointer-events: none;
      mix-blend-mode: screen;
      opacity: 0;

      transition: opacity 0.5s var(--ease-out);
    }

    /*
      Specular edge line — also flipped (sits along the
      bottom edge of the capsule on hover).
    */
    .marquee-v2 .marquee-word::after {
      content: '';
      position: absolute;
      left: 12%;
      right: 12%;
      bottom: 1px;
      height: 1px;

      background:
        linear-gradient(
          to right,
          rgba(255,255,255,0) 0%,
          rgba(255,255,255,0.85) 50%,
          rgba(255,255,255,0) 100%
        );

      pointer-events: none;
      filter: blur(0.4px);
      opacity: 0;

      transition: opacity 0.5s var(--ease-out);
    }

    .marquee-v2 .marquee-word:hover {
      color: var(--text-primary);

      transform: scale(1.42);

      border-color: rgba(255,255,255,0.14);

      /* Interior gradient rotated 90° → now 45deg instead of 135deg.
         Overall more transparent than before. */
      background:
        linear-gradient(
          45deg,
          rgba(255,255,255,0.09) 0%,
          rgba(255,255,255,0.02) 28%,
          rgba(255,255,255,0.008) 52%,
          rgba(255,255,255,0.04) 78%,
          rgba(255,255,255,0.10) 100%
        );

      -webkit-backdrop-filter:
        blur(18px)
        saturate(160%)
        brightness(1.06);

      backdrop-filter:
        blur(18px)
        saturate(160%)
        brightness(1.06);

      box-shadow:
        /* flipped specular — bottom / right edges are bright */
        inset -1px -1px 0 rgba(255,255,255,0.44),
        inset 0 -1px 0 rgba(255,255,255,0.28),
        /* top / left inner shade */
        inset 1px 1px 0 rgba(255,255,255,0.06),
        inset 0 1px 0 rgba(255,255,255,0.045),
        /* 2px interior inset shadow (subtle depth) */
        inset 0 0 2px rgba(0, 0, 0, 0.55),
        /* soft interior bloom */
        inset 0 0 24px rgba(255,255,255,0.05),
        /* white shadow underneath */
        0 12px 36px rgba(255, 255, 255, 0.14),
        0 4px 14px rgba(255, 255, 255, 0.08);

      text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.55),
        0 0 18px rgba(255, 255, 255, 0.20);
    }

    .marquee-v2 .marquee-word:hover::before {
      opacity: 0.9;
    }

    .marquee-v2 .marquee-word:hover::after {
      opacity: 0.9;
    }

    /* ── Contact ───────────────────────────────────────── */
    .contact-section {
      padding: 8rem 2rem 4rem;
      position: relative;
      z-index: 3;
      background: var(--bg);
    }

    .contact-title {

      margin-bottom: 3.5rem;
      color: var(--text-primary);
    }

    .contact-title a {
      position: relative;
      display: inline-block;
    }

    /*
      Underline — stronger, tracker-like peak.
      Asymmetric peak at 38.3%, bright body, sharp falloff.
    */
    .contact-title a::after {
      content: '';
      position: absolute;
      bottom: 0.05em;
      left: 0;

      width: 100%;
      height: 2px;

      background:
        linear-gradient(
          to right,
          rgba(255, 255, 255, 0.30) 0%,
          rgba(255, 255, 255, 0.65) 22%,
          #ffffff 38.3%,
          rgba(255, 255, 255, 0.90) 52%,
          rgba(255, 255, 255, 0.30) 100%
        );

      opacity: 0;
      transform: scaleX(0);
      transform-origin: right;

      filter:
        drop-shadow(0 0 6px rgba(255, 255, 255, 0.45))
        drop-shadow(0 0 14px rgba(255, 255, 255, 0.18));

      transition:
        transform 0.5s var(--ease-out),
        opacity 0.5s var(--ease-out);
    }

    .contact-title a:hover::after {
      opacity: 1;
      transform: scaleX(1);
      transform-origin: left;
    }

    /* Message form */
    .contact-form {
      display: flex;
      flex-direction: column;
      gap: 2rem;

      max-width: 780px;
      margin-bottom: 6rem;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2.5rem;
    }

    .form-field {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .form-field label {

      color: #b4b4b4;
    }

    .form-field input,
    .form-field textarea {
      background-color: transparent;
      border: none;
      border-radius: 0;

      background-image:
        linear-gradient(
          to right,
          rgba(255, 255, 255, 0.20) 0%,
          #ffffff 38.3%,
          rgba(255, 255, 255, 0.20) 100%
        );

      background-size: 100% 1px;
      background-repeat: no-repeat;
      background-position: left bottom;

      color: var(--text-primary);

      padding: 0.7rem 0;

      outline: none;
      resize: vertical;
    }

    .form-field input:focus,
    .form-field textarea:focus {
      background-image:
        linear-gradient(
          to right,
          rgba(255, 255, 255, 0.44) 0%,
          #ffffff 38.3%,
          rgba(255, 255, 255, 0.44) 100%
        );
    }

    .form-field input::placeholder,
    .form-field textarea::placeholder {
      color: #808080;
    }

    .form-submit-row {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      flex-wrap: wrap;
    }

    /* ── Send Message button ──────────────────────────── */
    .form-submit {
      position: relative;
      overflow: visible;

      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.28);

      color: var(--text-primary);

      padding: 1.15rem 3rem;

      cursor: pointer;

      transition:
        background 0.35s var(--ease-out),
        color 0.35s var(--ease-out),
        border-color 0.35s var(--ease-out);
    }

    .form-submit span {
      position: relative;
      z-index: 2;
      display: inline-block;
    }

    /* Rotated +45° (100° → 145°), mirrored sweep (100% → 0%) */
    .form-submit::before {
      content: '';
      position: absolute;

      inset: -1px;
      padding: 1px;

      background-image:
        linear-gradient(
          145deg,
          rgba(255,255,255,0) 0%,
          rgba(255,255,255,0) 44%,
          rgba(255,255,255,0.95) 50%,
          rgba(255,255,255,0) 56%,
          rgba(255,255,255,0) 100%
        );

      background-size: 300% 100%;
      background-repeat: no-repeat;
      background-position: 100% 0;

      -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
      -webkit-mask-composite: xor;

      mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
      mask-composite: exclude;

      pointer-events: none;
      z-index: 3;

      animation:
        btnEdgeShimmer 3.4s ease-in-out infinite;

      will-change: background-position;

      filter: drop-shadow(0 0 8px rgba(255,255,255,0.85))
              drop-shadow(0 0 18px rgba(255,255,255,0.45));
    }

    @keyframes btnEdgeShimmer {
      0% {
        background-position: 100% 0;
      }

      55%, 100% {
        background-position: 0% 0;
      }
    }

    .form-submit:hover {
      background: var(--text-primary);
      color: var(--bg);
      border-color: var(--text-primary);
    }

    .form-submit:hover::before {
      background-image:
        linear-gradient(
          145deg,
          rgba(10,10,10,0) 0%,
          rgba(10,10,10,0) 44%,
          rgba(10,10,10,0.88) 50%,
          rgba(10,10,10,0) 56%,
          rgba(10,10,10,0) 100%
        );

      animation-duration: 1.4s;
      filter: drop-shadow(0 0 8px rgba(255,255,255,0.6))
              drop-shadow(0 0 18px rgba(255,255,255,0.3));
    }

    .form-note {

      color: #d2d2d2;

      opacity: 0;
      transform: translateY(4px);

      transition:
        opacity 0.4s var(--ease-out),
        transform 0.4s var(--ease-out);
    }

    .form-note.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .footer {
      display: flex;
      justify-content: space-between;
      align-items: center;

      padding-top: 4rem;

      border-top: 1px solid var(--border);

      color: #9a9a9a;
    }

    .footer-links {
      display: flex;
      gap: 2rem;
      list-style: none;
    }

    .footer-links a {
      transition: color 0.3s;
    }

    .footer-links a:hover {
      color: var(--text-primary);
    }

    .reveal {
      opacity: 0;
      transform: translateY(40px);

      transition:
        opacity 0.8s var(--ease-out),
        transform 0.8s var(--ease-out);
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .reveal-delay-1 {
      transition-delay: 0.1s;
    }

    /* ── Responsive ───────────────────────────────────── */
    @media (max-width: 900px) {
      .about-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
      }

      .about-image-slot {
        aspect-ratio: 3 / 4;
        max-width: 500px;
      }
    }

    @media (max-width: 768px) {
      :root {
        --header-h: 98px;
      }

      .nav-brand-row {
        padding: 1rem 1.25rem 0.7rem;
      }

      .nav-track-row {
        padding: 0.15rem 1.25rem 0.25rem;
      }

      .nav-fade {
        left: 1.25rem;
        right: 1.25rem;
        top: 0.15rem;
      }

      .nav-track {
        margin-right: 0.85rem;
      }

      .nav-bar {
        padding: 0 1.25rem;
      }

      .nav-links a {
        padding: 0.45rem 0.85rem 0.7rem 0;

      }

      .hero {
        padding: 1.25rem;
      }

      .hero-scroll {
        bottom: 1.25rem;
        right: 1.25rem;
        gap: 0.85rem;
      }

      .hero-scroll .arrow {
        height: 54px;
      }

      .section,
      .about-section {
        padding: 5rem 1.25rem;
      }

      .marquee-viewport {
        padding: 3.25rem 0;
      }

      .marquee-dot {
        margin: 0 1.25rem;
      }

      .work-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
      }

      .work-item:nth-child(even) {
        margin-top: 0;
      }

      .contact-section {
        padding: 5rem 1.25rem 2rem;
      }

      .form-row {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
      }

      .cursor-dot,
      .cursor-ring {
        display: none;
      }

      .about-meta {
        grid-template-columns: 1fr;
      }

      .about-contact-list li {
        grid-template-columns: 76px 1fr;
      }
    }

    @media (max-width: 480px) {
      :root {
        --header-h: 88px;
      }

      .nav-links a {
        padding: 0.4rem 0.5rem 0.6rem 0;

      }

      .nav-track {
        margin-right: 0.5rem;
      }

      .form-submit {

        padding: 1rem 2rem;
      }
    }

