    /* ─── TOKENS ──────────────────────────────────────────────── */
    :root {
      --void:     #080808;
      --panel:    #111111;
      --border:   rgba(200,169,81,0.15);
      --gold:     #c8a951;
      --gold-dim: rgba(200,169,81,0.4);
      --red:      #e84c3d;
      --white:    #f0ede8;
      --muted:    #7a7872;
      --font-display: 'Bebas Neue', sans-serif;
      --font-body:    'Cormorant Garamond', serif;
      --font-mono:    'JetBrains Mono', monospace;
      --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
      --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
    }

    /* ─── RESET ───────────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html {
      scroll-behavior: smooth;
      font-size: clamp(15px, 1.1vw, 17px);
      height: 100%;
    }
    body {
      background: var(--void);
      color: var(--white);
      font-family: var(--font-body);
      overflow-x: hidden;
      cursor: none;
    }
    a { color: inherit; text-decoration: none; }
    img { display: block; width: 100%; }
    ::selection { background: var(--gold); color: var(--void); }

    /* ─── GRAIN OVERLAY ───────────────────────────────────────── */
    body::before {
      content: '';
      position: fixed;
      inset: -50%;
      width: 200%;
      height: 200%;
      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)' opacity='1'/%3E%3C/svg%3E");
      opacity: 0.028;
      pointer-events: none;
      z-index: 9999;
      animation: grain-shift 8s steps(10) infinite;
    }
    @keyframes grain-shift {
      0%,100%{transform:translate(0,0)}10%{transform:translate(-2%,-2%)}20%{transform:translate(2%,-2%)}30%{transform:translate(-2%,2%)}40%{transform:translate(2%,2%)}50%{transform:translate(-3%,-1%)}60%{transform:translate(3%,-1%)}70%{transform:translate(-3%,1%)}80%{transform:translate(3%,1%)}90%{transform:translate(-1%,-3%)}
    }

    /* ─── CUSTOM CURSOR ───────────────────────────────────────── */
    #cursor-dot {
      position: fixed;
      width: 6px; height: 6px;
      background: var(--gold);
      border-radius: 50%;
      pointer-events: none;
      z-index: 10000;
      transform: translate(-50%,-50%);
      transition: width 0.2s, height 0.2s, background 0.2s;
    }
    #cursor-ring {
      position: fixed;
      width: 36px; height: 36px;
      border: 1px solid var(--gold-dim);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9999;
      transform: translate(-50%,-50%);
      transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
                  border-color 0.2s, transform 0.12s linear;
    }
    body.cursor-hover #cursor-dot { width: 10px; height: 10px; background: var(--white); }
    body.cursor-hover #cursor-ring { width: 56px; height: 56px; border-color: var(--gold); }
    body.cursor-active #cursor-dot { transform: translate(-50%,-50%) scale(0.6); }

    /* ─── NAV ─────────────────────────────────────────────────── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 1.2rem 3rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: transparent;
      border-bottom: 1px solid transparent;
      transition: padding 0.5s, box-shadow 0.5s, background-color 0.5s, border-color 0.5s;
    }
    nav.scrolled {
      padding: 0.9rem 3rem;
      background: url('images/banner.webp') center/cover no-repeat;
      border-bottom: 1px solid rgba(200,169,81,0.15);
      box-shadow: 0 4px 40px rgba(0,0,0,0.6);
    }
    .mobile-menu { display: none; }
    .mobile-menu.open { display: flex; }

    .nav-logo {
      display: flex;
      align-items: center;
    }
    .nav-logo img {
      height: 60px;
      width: auto;
      display: block;
    }
    .nav-links {
      display: flex;
      gap: 2.5rem;
      list-style: none;
    }
    .nav-links a {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--muted);
      transition: color 0.3s;
      position: relative;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -3px; left: 0;
      width: 0; height: 1px;
      background: var(--gold);
      transition: width 0.3s var(--ease-out);
    }
    .nav-links a:hover { color: var(--white); }
    .nav-links a:hover::after { width: 100%; }
    .nav-cta {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--void);
      background: var(--gold);
      padding: 0.6rem 1.4rem;
      border-radius: 2px;
      transition: background 0.3s, transform 0.2s;
    }
    .nav-cta:hover { background: var(--white); transform: translateY(-1px); }

    /* ─── HAMBURGER (mobile) ──────────────────────────────────── */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: none;
      border: none;
      cursor: none;
      padding: 4px;
    }
    .hamburger span {
      display: block;
      width: 24px; height: 1px;
      background: var(--white);
      transition: transform 0.3s, opacity 0.3s;
    }
    .hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    /* ─── SNAP SECTION BASE ───────────────────────────────────── */
    .snap-section {
      height: 100svh;
      scroll-snap-align: start;
      position: relative;
      overflow: hidden;
    }

    /* ─── HERO ASTRONAUT ANIMATIONS ──────────────────────────── */
    @keyframes heroKenburns {
      0%   { transform: scale(1.04) translate(0, 0); }
      100% { transform: scale(1.10) translate(-1.2%, -1.6%); }
    }
    @keyframes heroVisorPulse {
      0%, 100% { opacity: 0.28; }
      50%      { opacity: 0.62; }
    }
    @keyframes heroScan {
      0%   { transform: translateY(-120%); opacity: 0; }
      12%  { opacity: 0.9; }
      88%  { opacity: 0.9; }
      100% { transform: translateY(320%); opacity: 0; }
    }
    @keyframes heroBaseGlow {
      0%, 100% { opacity: 0.25; transform: scale(1); }
      50%      { opacity: 0.6;  transform: scale(1.12); }
    }

    /* ─── HERO ────────────────────────────────────────────────── */
    #hero {
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 0 3rem 5rem;
    }

    .hero-astronaut {
      position: absolute;
      inset: 0;
      z-index: 0;
      overflow: hidden;
    }
    .hero-grid {
      position: absolute;
      inset: 0;
      z-index: 1;
      background-image:
        linear-gradient(rgba(200,169,81,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200,169,81,0.035) 1px, transparent 1px);
      background-size: 80px 80px;
      mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    }
    .hero-bg-text {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      font-family: var(--font-display);
      font-size: clamp(160px, 22vw, 320px);
      letter-spacing: -0.04em;
      color: transparent;
      -webkit-text-stroke: 1px rgba(200,169,81,0.06);
      user-select: none;
      pointer-events: none;
      white-space: nowrap;
    }
    #hero > *:not(.hero-astronaut):not(.hero-grid):not(.hero-bg-text) {
      position: relative;
      z-index: 2;
    }

    .hero-overline {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1.2rem;
      opacity: 0;
      transform: translateY(12px);
      animation: fade-up 0.8s var(--ease-out) 0.3s forwards;
    }
    .hero-title {
      font-family: var(--font-display);
      font-size: clamp(72px, 11vw, 168px);
      line-height: 0.9;
      letter-spacing: -0.01em;
      text-transform: uppercase;
      /* overflow visible so ember glow and Y descender aren't clipped */
      overflow: visible;
    }
    .hero-title .word {
      display: block;
      /* clip only on the Y axis so the slide-up wipe works,
         but allow horizontal glow to breathe */
      overflow: hidden;
      padding-bottom: 0.12em;   /* room for Y descender */
      margin-bottom: -0.12em;   /* cancel the layout shift */
    }
    .hero-title .word span {
      display: block;
      opacity: 0;
      transform: translateY(110%);
      animation:
        word-up 0.9s var(--ease-out) forwards,
        ember-flicker 3s infinite alternate ease-in-out;
    }
    .hero-title .word:nth-child(1) span {
      /* word-up starts at 0.5s; ember begins after it lands at ~1.5s */
      animation-delay: 0.5s, 1.5s;
    }
    .hero-title .word:nth-child(2) span {
      color: var(--gold);
      animation-name: word-up, ember-flicker-gold;
      animation-delay: 0.7s, 1.7s;
    }

    .hero-subtitle-row {
      display: flex;
      align-items: center;
      gap: 2rem;
      margin-top: 2rem;
      opacity: 0;
      transform: translateY(12px);
      animation: fade-up 0.8s var(--ease-out) 1.1s forwards;
    }
    .hero-divider {
      width: 60px; height: 1px;
      background: var(--gold-dim);
      flex-shrink: 0;
    }
    .hero-typewriter {
      font-family: var(--font-body);
      font-style: italic;
      font-size: clamp(1.1rem, 1.6vw, 1.4rem);
      color: var(--muted);
      min-width: 280px;
    }
    .hero-typewriter .cursor-blink {
      display: inline-block;
      width: 2px; height: 1em;
      background: var(--gold);
      margin-left: 3px;
      vertical-align: middle;
      animation: blink 1s step-end infinite;
    }

    .hero-scroll-hint {
      position: absolute;
      bottom: 2rem; right: 3rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
      opacity: 0;
      animation: fade-up 0.8s var(--ease-out) 1.6s forwards;
    }
    .hero-scroll-hint span {
      font-family: var(--font-mono);
      font-size: 0.62rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--muted);
      writing-mode: vertical-rl;
    }
    .scroll-line {
      width: 1px; height: 50px;
      background: linear-gradient(to bottom, var(--gold), transparent);
      animation: scroll-pulse 2s ease-in-out infinite;
    }
    @keyframes scroll-pulse {
      0%,100%{opacity:0.3;transform:scaleY(1)}50%{opacity:1;transform:scaleY(1.1)}
    }

    /* ─── REVEAL ──────────────────────────────────────────────── */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    }
    .reveal.visible { opacity: 1; transform: none; }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }

    .section-label {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1.5rem;
    }
    .section-label::before { content: '// '; opacity: 0.5; }

    /* ─── MAKER SECTION ───────────────────────────────────────── */
    #maker {
      background: var(--void);
      padding: 0;
    }

    .maker-hero {
      position: relative;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
    }
    .maker-hero-bg {
      position: absolute; inset: 0;
      background: url('images/kristopheryanke-construction.webp') 20% center / cover no-repeat;
      transition: transform 8s var(--ease-out);
    }
    .maker-hero:hover .maker-hero-bg { transform: scale(1.02); }
    .maker-hero-bg::after {
      content: '';
      position: absolute; inset: 0;
      background:
        linear-gradient(to right,
          rgba(8,8,8,0) 30%,
          rgba(8,8,8,0.75) 55%,
          rgba(8,8,8,0.95) 75%,
          rgba(8,8,8,0.98) 100%),
        linear-gradient(to top,
          rgba(8,8,8,0.7) 0%,
          transparent 30%);
    }
    .maker-hero-content {
      position: relative;
      z-index: 2;
      margin-left: auto;
      width: 46%;
      padding: 5rem 3rem 5rem 0;
    }
    .maker-label {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 2rem;
    }
    .maker-label::before { content: '// '; opacity: 0.5; }
    .maker-quote {
      font-family: var(--font-body);
      font-size: clamp(1.4rem, 2.2vw, 2rem);
      font-style: italic;
      font-weight: 300;
      line-height: 1.5;
      color: var(--white);
      margin-bottom: 2rem;
    }
    .maker-quote em { color: var(--gold); font-style: normal; }
    .maker-body {
      font-size: 1rem;
      line-height: 1.8;
      color: var(--muted);
      margin-bottom: 1.2rem;
    }
    .maker-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      margin-top: 2rem;
      padding-top: 1.5rem;
      border-top: 1px solid rgba(200,169,81,0.25);
    }
    .stat-num {
      font-family: var(--font-display);
      font-size: 3rem;
      color: var(--gold);
      line-height: 1;
    }
    .stat-label {
      font-family: var(--font-mono);
      font-size: 0.62rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--muted);
      margin-top: 0.4rem;
    }

    /* ─── WORK SECTION ────────────────────────────────────────── */
    #work {
      background: var(--void);
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 0 3rem;
    }

    /* Hide grid on mobile, list on desktop */
    .work-desktop { display: none; }

    /* ── Desktop 3×2 project grid ────────────────────────────────── */
    @media (min-width: 901px) {
      #work {
        padding: 0;
        display: block;
      }
      #work .work-header,
      #work .projects-list {
        display: none;
      }
      .work-desktop {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        width: 100%;
        height: calc(100svh - 97px);
        margin-top: 97px;
      }

      .work-panel {
        position: relative;
        overflow: hidden;
        cursor: pointer;
        outline: 1px solid rgba(255,255,255,0.05);
      }

      /* Background image */
      .wp-bg {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        filter: grayscale(20%) brightness(0.7) contrast(1.05);
        transform: scale(1.04);
        transition: filter 0.55s var(--ease-out),
                    transform 0.55s var(--ease-out);
      }
      .work-panel:hover .wp-bg {
        filter: grayscale(0%) brightness(0.85) contrast(1.05);
        transform: scale(1);
      }

      /* Persistent dark vignette so text is always readable */
      .work-panel::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
          to top,
          rgba(8,8,8,0.88) 0%,
          rgba(8,8,8,0.3)  45%,
          rgba(8,8,8,0.08) 100%
        );
        transition: background 0.55s var(--ease-out);
        pointer-events: none;
        z-index: 1;
      }
      .work-panel:hover::after {
        background: linear-gradient(
          to top,
          rgba(8,8,8,0.82) 0%,
          rgba(8,8,8,0.45) 50%,
          rgba(8,8,8,0.15) 100%
        );
      }

      /* Number badge — top left */
      .wp-num-badge {
        position: absolute;
        top: 1.4rem;
        left: 1.6rem;
        font-family: var(--font-mono);
        font-size: 0.6rem;
        letter-spacing: 0.2em;
        color: rgba(200,169,81,0.6);
        z-index: 2;
      }

      /* Hidden label — not needed in grid, keep for mobile compat */
      .wp-label { display: none; }

      /* Content block — bottom of card */
      .wp-content {
        position: absolute;
        bottom: 1.6rem;
        left: 1.6rem;
        right: 1.6rem;
        z-index: 2;
      }
      .wp-content-num { display: none; }

      .wp-content-name {
        display: block;
        font-family: var(--font-display);
        font-size: clamp(20px, 2vw, 32px);
        line-height: 0.92;
        letter-spacing: 0.01em;
        color: var(--white);
        margin-bottom: 0.7rem;
        transition: color 0.3s;
      }
      .work-panel:hover .wp-content-name { color: var(--white); }

      .wp-content-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
        opacity: 0;
        transform: translateY(8px);
        transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
      }
      .work-panel:hover .wp-content-tags {
        opacity: 1;
        transform: translateY(0);
      }
      .wp-content-tag {
        font-family: var(--font-mono);
        font-size: 0.55rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--gold);
        border: 1px solid rgba(200,169,81,0.35);
        padding: 0.22rem 0.55rem;
        border-radius: 100px;
      }

      /* Gold bottom-border reveal on hover */
      .work-panel::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0%;
        height: 2px;
        background: var(--gold);
        transition: width 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 3;
      }
      .work-panel:hover::before { width: 100%; }
    }

    .work-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 2.5rem;
    }
    .work-title {
      font-family: var(--font-display);
      font-size: clamp(44px, 6vw, 88px);
      line-height: 0.9;
      letter-spacing: 0.01em;
    }
    .work-count {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      color: var(--muted);
      padding-bottom: 0.4rem;
    }

    .projects-list { border-top: 1px solid var(--border); }
    .project-item {
      border-bottom: 1px solid var(--border);
      position: relative;
      overflow: hidden;
    }
    .project-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.1rem 0;
      cursor: none;
      transition: padding 0.4s var(--ease-out);
    }
    .project-item:hover .project-inner { padding: 1.1rem 1rem; }
    .project-left { display: flex; align-items: center; gap: 2rem; }
    .project-num {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      color: var(--muted);
      width: 28px;
      flex-shrink: 0;
    }
    .project-name {
      font-family: var(--font-display);
      font-size: clamp(24px, 3vw, 46px);
      letter-spacing: 0.01em;
      transition: color 0.3s;
    }
    .project-item:hover .project-name { color: var(--gold); }
    .project-tags {
      display: flex;
      gap: 0.6rem;
      flex-wrap: wrap;
    }
    .project-tag {
      font-family: var(--font-mono);
      font-size: 0.6rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
      border: 1px solid var(--border);
      padding: 0.3rem 0.7rem;
      border-radius: 100px;
      transition: border-color 0.3s, color 0.3s;
    }
    .project-item:hover .project-tag { border-color: var(--gold-dim); color: var(--gold); }
    .project-arrow {
      font-size: 1.4rem;
      color: var(--muted);
      transition: transform 0.4s var(--ease-out), color 0.3s;
    }
    .project-item:hover .project-arrow { transform: translateX(6px) rotate(-45deg); color: var(--gold); }

    /* cursor-following image preview */
    .project-preview {
      position: fixed;
      width: 340px;
      aspect-ratio: 4/3;
      pointer-events: none;
      z-index: 50;
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.85) rotate(-2deg);
      transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
      border-radius: 4px;
      overflow: hidden;
      border: 1px solid var(--border);
    }
    .project-preview.active {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    .project-preview-img {
      width: 100%; height: 100%;
      object-fit: cover;
      filter: grayscale(20%) contrast(1.05);
    }
    .project-preview-label {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      padding: 1rem;
      background: linear-gradient(transparent, rgba(8,8,8,0.9));
      font-family: var(--font-mono);
      font-size: 0.62rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--gold);
    }

    /* ─── SKILLS MARQUEE ──────────────────────────────────────── */
    #skills {
      overflow: hidden;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      justify-content: space-evenly;
      padding: 0;
      background: var(--void);
    }
    .skills-video-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      z-index: 0;
      pointer-events: none;
    }
    .skills-video-overlay {
      position: absolute;
      inset: 0;
      z-index: 1;
      background:
        linear-gradient(to bottom,
          rgba(8,8,8,0.78) 0%,
          rgba(8,8,8,0.55) 30%,
          rgba(8,8,8,0.55) 70%,
          rgba(8,8,8,0.78) 100%
        );
      pointer-events: none;
    }
    /* All skills content above video */
    #skills > *:not(.skills-video-bg):not(.skills-video-overlay) {
      position: relative;
      z-index: 2;
    }
    .marquee-label {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--gold);
      text-align: center;
      padding-top: 2rem;
    }
    .marquee-label::before { content: '// '; opacity: 0.5; }
    .marquee-track {
      display: flex;
      gap: 0;
      white-space: nowrap;
      animation: marquee 30s linear infinite;
    }
    .marquee-track.reverse { animation-direction: reverse; animation-duration: 24s; }
    .marquee-track:hover { animation-play-state: paused; }
    .marquee-row { overflow: hidden; }
    @keyframes marquee {
      from { transform: translateX(0); }
      to { transform: translateX(-50%); }
    }
    .skill-chip {
      display: inline-flex;
      align-items: center;
      gap: 0.8rem;
      font-family: var(--font-display);
      font-size: clamp(1.1rem, 2vw, 1.6rem);
      letter-spacing: 0.06em;
      padding: 0.5rem 1.8rem;
      margin-right: 0.6rem;
      color: var(--muted);
      border: 1px solid var(--border);
      border-radius: 100px;
      transition: color 0.3s, border-color 0.3s;
    }
    .skill-chip:hover { color: var(--gold); border-color: var(--gold-dim); }
    .skill-chip .dot {
      width: 6px; height: 6px;
      background: var(--gold);
      border-radius: 50%;
      opacity: 0.5;
      flex-shrink: 0;
    }

    /* skills center manifesto block */
    .skills-center {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 3rem;
      padding: 2rem 4rem;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .skills-headline {
      font-family: var(--font-display);
      font-size: clamp(42px, 5.5vw, 82px);
      line-height: 0.88;
      letter-spacing: 0.01em;
    }
    .skills-sub {
      font-family: var(--font-body);
      font-style: italic;
      color: var(--muted);
      font-size: 1.05rem;
      line-height: 1.6;
      margin-top: 1.2rem;
      max-width: 300px;
    }
    .skills-stats-row {
      display: flex;
      align-items: center;
      gap: 2.5rem;
    }
    .skills-stat-divider {
      width: 1px;
      height: 60px;
      background: var(--border);
      flex-shrink: 0;
    }

    /* ─── AIRFIELD STATEMENT ──────────────────────────────────── */
    #airfield {
      display: flex;
      align-items: flex-end;
      padding: 0 3rem 6rem;
    }

    /* airfield animated bg — layout only; JS drives transform/opacity */
    #airfieldWrap {
      position: absolute;
      inset: 0;
      will-change: transform;
    }

    #airfield::after {
      content: '';
      position: absolute;
      inset: 0;
      background:
        linear-gradient(to right,
          rgba(8,8,8,0.92) 0%,
          rgba(8,8,8,0.7)  35%,
          rgba(8,8,8,0.2)  65%,
          rgba(8,8,8,0.05) 100%
        ),
        linear-gradient(to top,
          rgba(8,8,8,0.6) 0%,
          transparent 40%
        ),
        linear-gradient(to bottom,
          rgba(8,8,8,0.5) 0%,
          transparent 25%
        );
      pointer-events: none;
    }

    .airfield-content {
      position: relative;
      z-index: 2;
      max-width: 520px;
    }
    /* Plane-led text reveal */
    .plane-line  { display: block; }
    .plane-char  { display: inline; }
    .airfield-plane {
      position: absolute;
      width: clamp(52px, 8vw, 78px);
      height: auto;
      pointer-events: none;
      z-index: 10;
      left: 0; top: 0;
      /* Default SVG fill is black — invert + warm gold tint */
      filter: invert(1) sepia(0.4) saturate(2.5) hue-rotate(8deg)
              drop-shadow(0 0 10px rgba(200,169,81,0.55));
    }
    .airfield-overline {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1.5rem;
    }
    .airfield-overline::before { content: '// '; opacity: 0.5; }
    .airfield-headline {
      font-family: var(--font-display);
      font-size: clamp(64px, 9vw, 130px);
      line-height: 0.88;
      letter-spacing: 0.01em;
      margin-bottom: 2rem;
      background: linear-gradient(135deg, var(--white) 0%, #e8c878 60%, var(--gold) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .airfield-body {
      font-family: var(--font-body);
      font-style: italic;
      font-size: clamp(1rem, 1.4vw, 1.25rem);
      line-height: 1.7;
      color: rgba(240,237,232,0.7);
      margin-bottom: 2.5rem;
    }
    .airfield-meta {
      display: flex;
      align-items: center;
      gap: 0.8rem;
    }
    .airfield-tag {
      font-family: var(--font-mono);
      font-size: 0.62rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--muted);
    }
    .airfield-dot {
      width: 3px; height: 3px;
      background: var(--gold-dim);
      border-radius: 50%;
    }

    /* ─── WILD CREATIONS — colouring book promo ───────────────── */
    #wild-creations {
      display: flex;
      align-items: flex-end;
      padding: 0 3rem 6rem;
    }

    .wild-video-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      filter: saturate(0.85) brightness(0.72);
    }

    .wild-overlay {
      position: absolute;
      inset: 0;
      pointer-events: none;
      background:
        linear-gradient(to right,
          rgba(8,8,8,0.88) 0%,
          rgba(8,8,8,0.62) 40%,
          rgba(8,8,8,0.18) 70%,
          rgba(8,8,8,0.04) 100%
        ),
        linear-gradient(to top,
          rgba(8,8,8,0.55) 0%,
          transparent 45%
        ),
        linear-gradient(to bottom,
          rgba(8,8,8,0.45) 0%,
          transparent 28%
        );
    }

    .wild-content {
      position: relative;
      z-index: 2;
      max-width: 540px;
    }

    .wild-overline {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1.5rem;
      opacity: 0.85;
    }

    .wild-headline {
      font-family: var(--font-display);
      font-size: clamp(72px, 10vw, 140px);
      line-height: 0.88;
      letter-spacing: 0.01em;
      margin-bottom: 0.5rem;
      background: linear-gradient(135deg, var(--white) 0%, #e8c878 55%, var(--gold) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .wild-headline span {
      background: linear-gradient(135deg, var(--gold) 0%, #e8c878 60%, var(--white) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .wild-subtitle {
      font-family: var(--font-body);
      font-style: italic;
      font-size: clamp(1.1rem, 1.6vw, 1.4rem);
      color: var(--gold);
      letter-spacing: 0.06em;
      margin-bottom: 1.8rem;
      opacity: 0.9;
    }

    .wild-body {
      font-family: var(--font-body);
      font-size: clamp(0.95rem, 1.3vw, 1.15rem);
      line-height: 1.75;
      color: rgba(240,237,232,0.68);
      margin-bottom: 2.5rem;
    }

    .wild-cta {
      display: inline-flex;
      align-items: center;
      gap: 0.7rem;
      font-family: var(--font-mono);
      font-size: 0.72rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--void);
      background: var(--gold);
      padding: 0.85rem 1.8rem;
      transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
    }

    .wild-cta:hover {
      background: var(--white);
      color: var(--void);
      transform: translateY(-2px);
    }

    .wild-cta-arrow {
      font-size: 1rem;
    }

    /* ─── PHOTOGRAPHY — full-page camera hero ─────────────────── */
    #photography {
      padding: 0;
    }

    .photo-hero {
      width: 100%;
      height: 100%;
      position: relative;
      overflow: hidden;
    }
    .photo-hero-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: left center;
      display: block;
    }
    .photo-hero-text {
      position: absolute;
      top: 50%;
      right: 5rem;
      transform: translateY(-50%);
      text-align: right;
      pointer-events: none;
    }
    .photo-hero-label {
      display: block;
      font-family: var(--font-mono);
      font-size: 0.62rem;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.8rem;
    }
    .photo-hero-title {
      display: block;
      font-family: var(--font-display);
      font-size: clamp(64px, 8.5vw, 130px);
      line-height: 0.88;
      letter-spacing: 0.02em;
      color: var(--white);
      margin-bottom: 1.5rem;
    }
    .photo-hero-sub {
      display: block;
      font-family: var(--font-body);
      font-style: italic;
      font-size: clamp(1rem, 1.3vw, 1.2rem);
      color: rgba(240,237,232,0.65);
      line-height: 1.6;
      margin-bottom: 2rem;
    }
    .photo-hero-cta {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      font-family: var(--font-mono);
      font-size: 0.68rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gold);
      border-bottom: 1px solid rgba(200,169,81,0.35);
      padding-bottom: 0.3rem;
      pointer-events: all;
      transition: color 0.3s, border-color 0.3s;
    }
    .photo-hero-cta:hover { color: var(--white); border-color: rgba(240,237,232,0.4); }
    .photo-desktop-sig {
      display: block;
      width: clamp(220px, 22vw, 340px);
      margin-top: 2.5rem;
      margin-left: auto;
      opacity: 0;
      mix-blend-mode: screen;
      pointer-events: none;
      filter: drop-shadow(0 0 18px rgba(200,169,81,0.3));
    }
    /* Hide on mobile — mobile uses .photo-mobile-sig instead */
    @media (max-width: 900px) {
      .photo-desktop-sig { display: none; }
    }

    /* ─── GALLERY SECTION ─────────────────────────────────────── */
    #gallery {
      overflow-y: auto;
      overflow-x: hidden;
      background: var(--void);
      padding: 4rem 3rem;
      /* override snap-section overflow: hidden */
    }

    .photo-header-sub {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 2.5rem;
    }
    .gallery-view-all {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      font-family: var(--font-mono);
      font-size: 0.7rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gold);
      border-bottom: 1px solid rgba(200,169,81,0.3);
      padding-bottom: 0.2rem;
      transition: color 0.3s, border-color 0.3s;
      white-space: nowrap;
    }
    .gallery-view-all:hover { color: var(--white); border-color: var(--white); }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      grid-template-rows: 300px 260px 220px;
      gap: 6px;
    }
    .gallery-card {
      position: relative;
      overflow: hidden;
      cursor: none;
      display: block;
      text-decoration: none;
    }
    .gallery-card:nth-child(1) { grid-column: 1 / 13; grid-row: 1; }
    .gallery-card:nth-child(2) { grid-column: 1 / 8;  grid-row: 2; }
    .gallery-card:nth-child(3) { grid-column: 8 / 13; grid-row: 2; }
    .gallery-card:nth-child(4) { grid-column: 1 / 5;  grid-row: 3; }
    .gallery-card:nth-child(5) { grid-column: 5 / 9;  grid-row: 3; }
    .gallery-card:nth-child(6) { grid-column: 9 / 13; grid-row: 3; }
    .gallery-card:nth-child(1) .gallery-card-title { font-size: clamp(2.5rem, 5vw, 5rem); }

    .gallery-card-bg {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      filter: saturate(0.8) brightness(0.75) contrast(1.05);
      transition: transform 0.9s var(--ease-out), filter 0.5s;
    }
    .gallery-card:hover .gallery-card-bg {
      transform: scale(1.07);
      filter: saturate(1.0) brightness(0.85) contrast(1.1);
    }
    .gallery-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        linear-gradient(to top,
          rgba(8,8,8,0.85) 0%,
          rgba(8,8,8,0.2)  40%,
          transparent 70%
        ),
        linear-gradient(to bottom, rgba(8,8,8,0.4) 0%, transparent 30%);
      z-index: 1;
      transition: opacity 0.4s;
    }
    .gallery-card-num {
      position: absolute;
      top: 1rem; left: 1.2rem;
      font-family: var(--font-mono);
      font-size: 0.62rem;
      letter-spacing: 0.2em;
      color: var(--gold);
      z-index: 2;
    }
    .gallery-card-body {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      padding: 1.4rem 1.4rem 1.6rem;
      z-index: 2;
    }
    .gallery-card-tag {
      font-family: var(--font-mono);
      font-size: 0.58rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: rgba(200,169,81,0.7);
      margin-bottom: 0.4rem;
    }
    .gallery-card-title {
      font-family: var(--font-display);
      font-size: clamp(1.8rem, 3.5vw, 3rem);
      line-height: 0.9;
      color: var(--white);
      margin-bottom: 0;
      transition: transform 0.4s var(--ease-out);
    }
    .gallery-card:hover .gallery-card-title { transform: translateY(-6px); }
    .gallery-card-cta {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-family: var(--font-mono);
      font-size: 0.62rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gold);
      margin-top: 0.6rem;
      opacity: 0;
      transform: translateY(8px);
      transition: opacity 0.35s, transform 0.35s var(--ease-out);
    }
    .gallery-card:hover .gallery-card-cta { opacity: 1; transform: translateY(0); }
    .gallery-card-cta-line {
      width: 24px; height: 1px;
      background: var(--gold);
      transition: width 0.4s var(--ease-out);
    }
    .gallery-card:hover .gallery-card-cta-line { width: 40px; }
    .gallery-card::after {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 3px; height: 0;
      background: var(--gold);
      z-index: 3;
      transition: height 0.4s var(--ease-out);
    }
    .gallery-card:hover::after { height: 100%; }

    .gallery-strip {
      display: flex;
      gap: 6px;
      margin-top: 6px;
    }
    .gallery-strip-item {
      flex: 1;
      position: relative;
      height: 220px;
      overflow: hidden;
      cursor: none;
      display: block;
      text-decoration: none;
    }
    .gallery-strip-item-bg {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      filter: saturate(0.6) brightness(0.6);
      transition: transform 0.7s var(--ease-out), filter 0.4s;
    }
    .gallery-strip-item:hover .gallery-strip-item-bg {
      transform: scale(1.08);
      filter: saturate(0.9) brightness(0.8);
    }
    .gallery-strip-item::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        linear-gradient(to top,
          rgba(8,8,8,0.85) 0%,
          rgba(8,8,8,0.2)  40%,
          transparent 70%
        ),
        linear-gradient(to bottom, rgba(8,8,8,0.4) 0%, transparent 30%);
      z-index: 1;
      transition: opacity 0.4s;
    }
    .gallery-strip-item::after {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 3px; height: 0;
      background: var(--gold);
      z-index: 3;
      transition: height 0.4s var(--ease-out);
    }
    .gallery-strip-item:hover::after { height: 100%; }
    .gallery-strip-item-body {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      padding: 1.4rem 1.4rem 1.6rem;
      z-index: 2;
    }
    .gallery-strip-item-tag {
      font-family: var(--font-mono);
      font-size: 0.58rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: rgba(200,169,81,0.7);
      margin-bottom: 0.4rem;
    }
    .gallery-strip-item-label {
      font-family: var(--font-display);
      font-size: clamp(1.8rem, 3.5vw, 3rem);
      line-height: 0.9;
      color: var(--white);
      transition: transform 0.4s var(--ease-out);
    }
    .gallery-strip-item:hover .gallery-strip-item-label { transform: translateY(-6px); }
    .gallery-strip-item-cta {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-family: var(--font-mono);
      font-size: 0.62rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gold);
      margin-top: 0.6rem;
      opacity: 0;
      transform: translateY(8px);
      transition: opacity 0.35s, transform 0.35s var(--ease-out);
    }
    .gallery-strip-item:hover .gallery-strip-item-cta { opacity: 1; transform: translateY(0); }
    .gallery-strip-item-cta-line {
      width: 24px; height: 1px;
      background: var(--gold);
      transition: width 0.4s var(--ease-out);
    }
    .gallery-strip-item:hover .gallery-strip-item-cta-line { width: 40px; }
    .gallery-strip-item-num {
      position: absolute;
      top: 1rem; left: 1.2rem;
      font-family: var(--font-mono);
      font-size: 0.62rem;
      letter-spacing: 0.2em;
      color: var(--gold);
      z-index: 2;
    }

    /* ─── CONTACT ─────────────────────────────────────────────── */
    #contact {
      background: var(--void);
      border-top: none;
      text-align: left;
      display: flex;
      align-items: center;
    }
    .contact-bg {
      position: absolute;
      inset: 0;
      background: url('images/kris-throne.webp') center center / cover no-repeat;
      filter: saturate(0.7) brightness(0.75) contrast(1.05);
    }
    .contact-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background:
        linear-gradient(to right,
          rgba(8,8,8,0.92) 0%,
          rgba(8,8,8,0.75) 40%,
          rgba(8,8,8,0.25) 70%,
          rgba(8,8,8,0.1)  100%
        ),
        linear-gradient(to bottom,
          rgba(8,8,8,0.4) 0%,
          transparent 20%,
          transparent 80%,
          rgba(8,8,8,0.6) 100%
        );
    }
    .contact-inner {
      position: relative;
      z-index: 2;
      max-width: 55%;
      padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 6vw, 7rem);
    }
    .contact-label { margin-bottom: 2rem; }
    .contact-headline {
      font-family: var(--font-display);
      font-size: clamp(52px, 7vw, 100px);
      line-height: 0.9;
      margin-bottom: 1.5rem;
    }
    .contact-headline span { color: var(--gold); }
    .contact-sub {
      font-size: 1.1rem;
      font-style: italic;
      color: var(--muted);
      margin-bottom: 3.5rem;
    }
    .contact-cta {
      display: inline-flex;
      align-items: center;
      gap: 1rem;
      font-family: var(--font-mono);
      font-size: 0.82rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--void);
      background: var(--gold);
      padding: 1.2rem 3rem;
      border-radius: 2px;
      cursor: none;
      transition: background 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
    }
    .contact-cta:hover {
      background: var(--white);
      transform: translateY(-3px);
      box-shadow: 0 20px 60px rgba(200,169,81,0.25);
    }
    .contact-cta-arrow { font-size: 1.1rem; }
    .contact-social {
      display: flex;
      flex-direction: column;
      gap: 2rem;
      margin-top: 4rem;
      padding-top: 2.5rem;
      border-top: 1px solid var(--border);
    }
    .social-links-text {
      display: flex;
      gap: 2rem;
      flex-wrap: wrap;
    }
    .social-icons {
      display: flex;
      gap: 1.2rem;
      align-items: center;
    }
    .social-icon-link {
      display: block;
      width: 44px;
      height: 44px;
      border-radius: 4px;
      overflow: hidden;
      opacity: 0.8;
      transition: opacity 0.3s, transform 0.3s;
    }
    .social-icon-link:hover { opacity: 1; transform: scale(1.08); }
    .social-icon-link img { width: 100%; height: 100%; object-fit: contain; display: block; }
    .social-link {
      font-family: var(--font-mono);
      font-size: 0.65rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--muted);
      transition: color 0.3s;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .social-link::before {
      content: '↗';
      font-size: 0.8rem;
      opacity: 0;
      transform: translateX(-4px);
      transition: opacity 0.3s, transform 0.3s;
    }
    .social-link:hover { color: var(--gold); }
    .social-link:hover::before { opacity: 1; transform: none; }

    /* ─── FOOTER ──────────────────────────────────────────────── */
    footer {
      padding: 1.8rem 3rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid var(--border);
      background: var(--void);
      scroll-snap-align: start;
    }
    footer .copy {
      font-family: var(--font-mono);
      font-size: 0.62rem;
      letter-spacing: 0.12em;
      color: var(--muted);
    }
    footer .tagline {
      font-family: var(--font-body);
      font-style: italic;
      font-size: 0.85rem;
      color: var(--muted);
    }

    /* ─── ANIMATIONS ──────────────────────────────────────────── */
    @keyframes fade-up {
      to { opacity: 1; transform: none; }
    }
    @keyframes word-up {
      to { opacity: 1; transform: none; }
    }

    /* Embers — KRIS (white text, red-orange heat) */
    @keyframes ember-flicker {
      0%, 100% {
        transform: skewX(0deg) scale(1);
        text-shadow:
          0 0 4px  rgba(255,  60,  0, 0.55),
          0 -2px 10px rgba(255, 130,  0, 0.45),
          0 -10px 22px rgba(200,  30,  0, 0.28),
          0 -22px 44px rgba(255, 200,  0, 0.10);
      }
      25% {
        text-shadow:
          0 0 6px  rgba(255,  80,  0, 0.70),
          0 -3px 13px rgba(255, 110,  0, 0.40),
          0  -8px 24px rgba(180,  20,  0, 0.38),
          0 -24px 48px rgba(255, 220,  0, 0.14);
      }
      50% {
        transform: skewX(0.4deg) scale(1.004);
        text-shadow:
          0 0 3px  rgba(230,  40,  0, 0.48),
          0 -1px  8px rgba(255, 150,  0, 0.55),
          0 -13px 20px rgba(230,  40,  0, 0.22),
          0 -18px 36px rgba(255, 180,  0, 0.09);
      }
      75% {
        text-shadow:
          0 0 7px  rgba(255,  90,  0, 0.80),
          0 -4px 16px rgba(255, 120,  0, 0.50),
          0  -9px 26px rgba(210,  35,  0, 0.34),
          0 -26px 52px rgba(255, 240,  0, 0.18);
      }
    }

    /* Embers — YANKE (gold text, amber-copper heat) */
    @keyframes ember-flicker-gold {
      0%, 100% {
        transform: skewX(0deg) scale(1);
        text-shadow:
          0 0 5px  rgba(255, 170,  0, 0.60),
          0 -2px 12px rgba(255, 110,  0, 0.48),
          0 -12px 26px rgba(210,  70,  0, 0.30),
          0 -24px 48px rgba(255, 200,  0, 0.12);
      }
      25% {
        text-shadow:
          0 0 7px  rgba(255, 190,  0, 0.75),
          0 -3px 14px rgba(255,  90,  0, 0.42),
          0  -8px 28px rgba(190,  50,  0, 0.40),
          0 -26px 52px rgba(255, 230,  0, 0.16);
      }
      50% {
        transform: skewX(-0.4deg) scale(1.004);
        text-shadow:
          0 0 4px  rgba(240, 140,  0, 0.52),
          0 -1px  9px rgba(255, 160,  0, 0.60),
          0 -14px 22px rgba(220,  60,  0, 0.24),
          0 -20px 38px rgba(255, 190,  0, 0.10);
      }
      75% {
        text-shadow:
          0 0 8px  rgba(255, 200,  0, 0.82),
          0 -4px 18px rgba(255, 130,  0, 0.54),
          0 -10px 28px rgba(215,  45,  0, 0.36),
          0 -28px 56px rgba(255, 250,  0, 0.20);
      }
    }

    /* Typewriter cursor */
    .tw-cursor {
      display: inline-block;
      width: 3px;
      background: currentColor;
      margin-left: 4px;
      vertical-align: baseline;
      height: 0.75em;
      position: relative;
      top: 0.05em;
      animation: tw-blink 0.65s step-end infinite;
      opacity: 1;
    }
    @keyframes tw-blink {
      0%, 100% { opacity: 1; }
      50%       { opacity: 0; }
    }

    /* Mobile ember variants — reduced spread and opacity */
    @keyframes ember-flicker-mobile {
      0%, 100% {
        transform: skewX(0deg) scale(1);
        text-shadow:
          0 0 3px  rgba(255,  60,  0, 0.35),
          0 -2px  7px rgba(255, 130,  0, 0.28),
          0 -7px 14px rgba(200,  30,  0, 0.16);
      }
      50% {
        transform: skewX(0.3deg) scale(1.002);
        text-shadow:
          0 0 4px  rgba(255,  80,  0, 0.42),
          0 -2px  9px rgba(255, 110,  0, 0.30),
          0 -9px 16px rgba(200,  30,  0, 0.18);
      }
    }
    @keyframes ember-flicker-gold-mobile {
      0%, 100% {
        transform: skewX(0deg) scale(1);
        text-shadow:
          0 0 4px  rgba(255, 170,  0, 0.38),
          0 -2px  8px rgba(255, 110,  0, 0.30),
          0 -8px 16px rgba(210,  70,  0, 0.18);
      }
      50% {
        transform: skewX(-0.3deg) scale(1.002);
        text-shadow:
          0 0 5px  rgba(255, 190,  0, 0.45),
          0 -2px 10px rgba(255,  90,  0, 0.28),
          0 -10px 18px rgba(190,  50,  0, 0.20);
      }
    }

    @keyframes blink {
      0%,100%{opacity:1}50%{opacity:0}
    }

    /* ─── MOBILE ──────────────────────────────────────────────── */
    @media (max-width: 900px) {
      html { scroll-snap-type: none; }

      /* restore natural height on all snap sections */
      .snap-section {
        height: auto;
        min-height: 100svh;
        overflow: visible;
        scroll-snap-align: none;
      }
      #gallery {
        height: auto;
        overflow-y: visible;
      }

      #cursor-dot, #cursor-ring { display: none; }
      body { cursor: auto; }
      nav { padding: 1rem 1.5rem; }
      nav.scrolled { padding: 0.75rem 1.5rem; }
      .nav-logo img { height: 42px; }
      .nav-links, .nav-cta { display: none; }
      .hamburger { display: flex; }
      .mobile-menu {
        position: fixed;
        inset: 0;
        background: var(--void);
        z-index: 99;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s;
      }
      .mobile-menu.open { opacity: 1; pointer-events: all; }
      .mobile-menu a {
        font-family: var(--font-display);
        font-size: 2.5rem;
        letter-spacing: 0.08em;
        color: var(--white);
        transition: color 0.3s;
      }
      .mobile-menu a:hover { color: var(--gold); }

      #hero { padding: 0 1.5rem 4rem; }

      /* Maker section — two-zone on mobile */
      #maker { overflow: hidden; }
      .maker-hero {
        flex-direction: column;
        align-items: stretch;
        height: auto;
      }
      .maker-hero-bg {
        position: relative;
        inset: unset;
        height: 70vw;
        min-height: 260px;
        max-height: 400px;
        flex-shrink: 0;
        background-position: 30% 15%;
        transform: none;
        transition: none;
      }
      .maker-hero-bg::after {
        background: linear-gradient(to top,
          rgba(8,8,8,1)   0%,
          rgba(8,8,8,0.6) 25%,
          rgba(8,8,8,0)   55%
        );
      }
      .maker-hero-content {
        position: relative;
        width: 100%;
        margin-left: 0;
        padding: 2.5rem 1.5rem 3rem;
        background: var(--panel);
      }
      .maker-stats { grid-template-columns: repeat(3, 1fr); }

      /* Work section */
      #work {
        height: auto;
        min-height: unset;
        padding: 4rem 1.5rem;
        display: block;
      }
      .work-header { flex-direction: column; align-items: flex-start; gap: 1rem; }

      .projects-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3px;
        border-top: none;
      }
      .project-item {
        border-bottom: none;
        aspect-ratio: 4/3;
        position: relative;
        overflow: hidden;
      }
      .project-item::before {
        content: '';
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        background-image: var(--project-img);
        transition: transform 0.6s var(--ease-out);
        filter: brightness(0.75) saturate(0.9);
      }
      .project-item:active::before { transform: scale(1.05); filter: brightness(0.9) saturate(1); }
      .project-item::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.4) 50%, rgba(8,8,8,0) 100%);
      }
      .project-inner {
        position: absolute;
        inset: 0;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        padding: 1rem;
        z-index: 2;
        gap: 0.4rem;
      }
      .project-item:hover .project-inner { padding: 1rem; }
      .project-left { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
      .project-num { width: auto; font-size: 0.58rem; }
      .project-name { font-size: clamp(16px, 4vw, 22px); line-height: 1; }
      .project-tags { display: none; }
      .project-arrow { display: none; }
      .card-tw-wrap {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        min-height: 1.1em;
      }
      .card-tw {
        font-family: var(--font-mono);
        font-size: 0.58rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--gold);
      }
      .card-tw-cursor {
        display: inline-block;
        width: 1px;
        height: 0.7em;
        background: var(--gold);
        vertical-align: middle;
        animation: blink 0.9s step-end infinite;
      }

      /* Skills */
      #skills {
        height: auto;
        padding: 4rem 0;
      }
      .skills-center {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 2rem;
        text-align: center;
      }
      .skills-stats-row { justify-content: center; }
      .marquee-label { padding-top: 0; }

      /* Airfield — mobile portrait: text at top, face visible at bottom */
      @media (max-width: 730px) and (orientation: portrait) {
        #airfield {
          padding: 5rem 1.5rem 0;
          align-items: flex-start;
        }
        #airfield::after {
          background:
            /* strong band at very top so text is legible */
            linear-gradient(to bottom,
              rgba(8,8,8,0.82) 0%,
              rgba(8,8,8,0.55) 30%,
              rgba(8,8,8,0.15) 55%,
              rgba(8,8,8,0.0)  75%,
              rgba(8,8,8,0.2)  100%
            );
        }
        .airfield-content { max-width: 100%; }
        .airfield-meta { display: none; }
      }
      /* Airfield — mobile landscape / non-portrait */
      @media (max-width: 730px) and (orientation: landscape) {
        #airfield { padding: 0 1.5rem 4rem; }
        #airfield::after {
          background:
            linear-gradient(to top, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.7) 50%, rgba(8,8,8,0.3) 100%);
        }
        .airfield-content { max-width: 100%; }
      }

      /* Wild Creations — mobile */
      #wild-creations {
        padding: 5rem 1.5rem 4rem;
        align-items: flex-start;
      }
      .wild-overlay {
        background:
          linear-gradient(to bottom,
            rgba(8,8,8,0.80) 0%,
            rgba(8,8,8,0.50) 35%,
            rgba(8,8,8,0.15) 60%,
            rgba(8,8,8,0.0)  78%,
            rgba(8,8,8,0.25) 100%
          );
      }
      .wild-content { max-width: 100%; }
      .wild-body br { display: none; }

      /* Photography */
      #photography {
        height: auto;
        min-height: 60vw;
      }
      .photo-hero-text {
        top: 50%;
        right: 1.5rem;
        transform: translateY(-50%);
      }
      .photo-hero-title { font-size: clamp(40px, 10vw, 64px); }
      .photo-hero-sub { display: none; }
      .photo-hero-cta { display: none; }

      /* Mobile portrait — full-height lens layout */
      @media (max-width: 730px) and (orientation: portrait) {
        #photography {
          height: 100svh;
          min-height: 100svh;
        }
        .photo-hero-img {
          object-position: center center;
        }
        /* Title moves to the top */
        .photo-hero-text {
          top: 3rem;
          right: auto;
          left: 50%;
          transform: translateX(-50%);
          text-align: center;
          width: 90%;
        }
        .photo-hero-label {
          font-size: 0.58rem;
          letter-spacing: 0.3em;
        }
        .photo-hero-title {
          font-size: clamp(48px, 14vw, 72px);
          margin-bottom: 0;
        }
        /* Signature at the bottom */
        .photo-mobile-sig {
          display: block !important;
          position: absolute;
          bottom: 5.5%;
          left: 50%;
          transform: translateX(-50%) scale(0.85);
          width: 62%;
          max-width: 280px;
          opacity: 0;
          mix-blend-mode: screen;
          pointer-events: none;
        }
      }
      /* Hide signature on desktop / landscape */
      @media (min-width: 731px), (orientation: landscape) {
        .photo-mobile-sig { display: none !important; }
      }

      /* Gallery */
      #gallery { padding: 3rem 1.5rem; }
      .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 200px 200px 200px;
      }
      .gallery-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
      .gallery-card:nth-child(2) { grid-column: 1 / 3; grid-row: 2; }
      .gallery-card:nth-child(3) { grid-column: 1 / 2; grid-row: 3; }
      .gallery-card:nth-child(4) { grid-column: 2 / 3; grid-row: 3; }
      .gallery-card:nth-child(5) { grid-column: 1 / 2; grid-row: 4; }
      .gallery-card:nth-child(6) { grid-column: 2 / 3; grid-row: 4; }
      .gallery-card:nth-child(1) .gallery-card-title { font-size: clamp(1.8rem, 7vw, 2.5rem); }
      .gallery-card-title { font-size: clamp(1.4rem, 5vw, 2rem); }
      .gallery-strip { flex-wrap: wrap; }
      .gallery-strip-item { flex: 1 1 calc(50% - 3px); min-width: 0; height: 200px; }

      /* Contact */
      .contact-bg {
        background-image: url('images/kris-throne-mobile.webp');
        background-position: center 45%;
        filter: saturate(0.75) brightness(0.85) contrast(1.05);
      }
      .contact-bg::after {
        background:
          linear-gradient(to bottom,
            rgba(8,8,8,0.72) 0%,
            rgba(8,8,8,0.45) 18%,
            rgba(8,8,8,0.08) 42%,
            rgba(8,8,8,0.08) 68%,
            rgba(8,8,8,0.55) 88%,
            rgba(8,8,8,0.8)  100%
          );
      }
      #contact {
        align-items: flex-start;
        text-align: left;
        flex-direction: column;
        justify-content: space-between;
        /* lock to full viewport height to prevent reflow flash */
        height: 100svh !important;
        min-height: 100svh;
      }
      .contact-inner {
        max-width: 100%;
        padding: 3rem 1.5rem 1rem;
      }
      .contact-sub { margin-bottom: 1.5rem; }
      .contact-social {
        align-items: center;
        position: relative;
        z-index: 2;
        padding: 0.75rem 1.5rem;
        background: rgba(8,8,8,0.35);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        width: 100%;
        margin-top: 0;
        border-top: 1px solid rgba(200,169,81,0.2);
      }

      footer { flex-direction: column; gap: 0.8rem; text-align: center; }
      .project-preview { display: none; }
      .hero-title { font-size: clamp(56px, 14vw, 90px); }

      /* Softer ember on mobile — smaller text doesn't need the same spread */
      .hero-title .word:nth-child(1) span {
        animation-name: word-up, ember-flicker-mobile;
      }
      .hero-title .word:nth-child(2) span {
        animation-name: word-up, ember-flicker-gold-mobile;
      }
    }

    @media (max-width: 500px) {
      .maker-stats { grid-template-columns: 1fr 1fr; }
      .contact-headline { font-size: clamp(40px, 11vw, 60px); }
    }

    /* ── Landscape mobile ─────────────────────────────────────── */
    @media (max-height: 500px) and (orientation: landscape) {
      .nav-logo img { height: 34px; }
      nav { padding: 0.6rem 1.5rem; }
      nav.scrolled { padding: 0.5rem 1.5rem; }
      #hero { padding: 0 1.5rem 2.5rem; }
      .hero-title { font-size: clamp(44px, 10vw, 72px); }
      .hero-overline { margin-bottom: 0.5rem; font-size: 0.55rem; }
      .hero-subtitle-row { margin-top: 0.5rem; }
      .hero-scroll-hint { display: none; }
      #airfield {
        height: 100svh;
        padding: 0 1.5rem 2.5rem;
        align-items: flex-end;
      }
      #airfield::after {
        background:
          linear-gradient(to right,
            rgba(8,8,8,0.95) 0%,
            rgba(8,8,8,0.75) 40%,
            rgba(8,8,8,0.2)  70%,
            rgba(8,8,8,0.05) 100%
          ),
          linear-gradient(to top,
            rgba(8,8,8,0.5) 0%,
            transparent 35%
          );
      }
      .airfield-headline { font-size: clamp(38px, 8vw, 60px); margin-bottom: 0.8rem; }
      .airfield-body { font-size: 0.9rem; margin-bottom: 1.2rem; line-height: 1.5; }
      .airfield-overline { margin-bottom: 0.8rem; }
      .airfield-meta { display: none; }
    }

    /* ─── GSAP FULL-PAGE SNAP — desktop only ─────────────────── */
    @media (min-width: 901px) {
      html:has(body.snap-page), body.snap-page { overflow: hidden; scroll-snap-type: none; }

      .snap-section {
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        height: 100svh;
        will-change: transform;
      }

      /* GSAP handles all section transforms via inline style — no CSS
         transform here, which would conflict when GSAP kills tweens */

      /* Gallery keeps its internal vertical scroll — scrollbar hidden */
      /* All 10 galleries fit within the viewport — no internal scroll needed */
      #gallery {
        overflow: hidden;
        padding: 0.75rem 2.5rem 0.5rem;
        display: flex;
        flex-direction: column;
      }
      #gallery .photo-header-sub {
        flex-shrink: 0;
        margin-bottom: 0.4rem;
      }
      #gallery .gallery-grid {
        flex: 3;
        min-height: 0;
        overflow: hidden;
        grid-template-rows: repeat(3, 1fr);
      }
      #gallery .gallery-strip {
        flex: 1;
        min-height: 0;
        overflow: hidden;
        margin-top: 6px;
        height: auto;
      }
      #gallery .gallery-strip-item {
        height: 100%;
        min-height: 0;
      }

      /* All other snap sections clip overflow */
      #hero, #maker, #work, #skills,
      #airfield, #photography, #contact {
        overflow: hidden;
      }
    }
