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

    :root {
      --black: #050505;
      --white: #efefef;
      --gray: #666;
      --gray-light: #999;
      --gray-dark: #222;
    }

    .sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }
    html { overflow-x: hidden; }
    body {
      font-family: 'Inter', sans-serif;
      background: var(--black);
      color: var(--white);
      overflow-x: hidden; width: 100%;
      -webkit-font-smoothing: antialiased;
      cursor: none;
      -webkit-hyphens: none; hyphens: none;
      word-break: normal;
    }

    /* ── Skip Link (a11y) ── */
    .skip-link {
      position: fixed; top: -100%; left: 50%; transform: translateX(-50%);
      background: var(--white); color: var(--black);
      padding: 0.8rem 1.5rem; border-radius: 0 0 8px 8px;
      font-size: 0.85rem; font-weight: 400; z-index: 10001;
      text-decoration: none; transition: top 0.2s ease;
    }
    .skip-link:focus { top: 0; }

    /* ── Loader ── */
    .loader {
      position: fixed; inset: 0;
      background: var(--black);
      z-index: 9999;
      display: flex; align-items: center; justify-content: center;
      flex-direction: column;
    }

    .loader-landscape {
      position: absolute; inset: 0;
      background: linear-gradient(to top, #050505 0%, #0a0805 30%, #1a1408 60%, #0d0a05 100%);
      filter: blur(20px); opacity: 0.4;
      transition: filter 1.5s ease, opacity 1.5s ease;
    }
    .loader.loaded .loader-landscape { filter: blur(0px); opacity: 0.8; }
    .loader-landscape-mountains {
      position: absolute; bottom: 30%; left: 0; right: 0; height: 40%;
      background: linear-gradient(135deg, transparent 30%, rgba(40,25,10,0.3) 50%, transparent 70%);
      clip-path: polygon(0% 100%, 5% 60%, 15% 80%, 25% 40%, 35% 70%, 45% 20%, 55% 55%, 65% 30%, 75% 65%, 85% 45%, 95% 75%, 100% 100%);
    }
    .loader-landscape-glow {
      position: absolute; bottom: 25%; left: 50%; transform: translateX(-50%);
      width: 300px; height: 150px;
      background: radial-gradient(ellipse, rgba(200,150,60,0.15) 0%, transparent 70%);
    }

    .loader-icon { width: 80px; height: 80px; opacity: 0; transform: scale(0.85); }
    .loader-icon svg { width: 100%; height: 100%; }
    .loader-mantra {
      font-size: 0.85rem; font-weight: 300; letter-spacing: 0.12em;
      color: var(--gray); margin-top: 2.5rem;
      opacity: 0; transform: translateY(10px);
    }
    .loader-bar {
      width: 80px; height: 1px;
      background: var(--gray-dark);
      position: relative; overflow: hidden;
      margin-top: 2rem;
      opacity: 0;
    }
    .loader-bar-fill {
      position: absolute; inset: 0;
      width: 0%; background: var(--white);
    }

    /* ── Cursor ── */
    .cursor-dot {
      position: fixed; width: 8px; height: 8px;
      background: var(--white); border-radius: 50%;
      pointer-events: none; z-index: 9998;
      transform: translate(-50%, -50%);
      mix-blend-mode: difference;
    }
    .cursor-ring {
      position: fixed; width: 40px; height: 40px;
      border: 1px solid rgba(255,255,255,0.25); border-radius: 50%;
      pointer-events: none; z-index: 9997;
      transform: translate(-50%, -50%);
      mix-blend-mode: difference;
      transition: width 0.4s ease, height 0.4s ease, border-color 0.4s ease;
    }
    .cursor-ring.hover { width: 70px; height: 70px; border-color: rgba(255,255,255,0.5); }
    .cursor-label {
      position: fixed; pointer-events: none; z-index: 9998;
      font-size: 0.65rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--white); mix-blend-mode: difference;
      opacity: 0; transform: translate(-50%, -50%) scale(0.5);
      transition: opacity 0.3s ease, transform 0.3s ease;
    }
    .cursor-label.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }


    /* ── Scroll Progress ── */
    .scroll-progress {
      position: fixed; top: 0; left: 0; height: 2px;
      background: var(--white); z-index: 101;
      width: 0%; transform-origin: left;
      will-change: width;
    }

    /* ── Noise Texture (static, no flicker) ── */
    .grain {
      position: fixed; inset: 0; z-index: 9990;
      pointer-events: none; opacity: 0.035;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      background-size: 256px 256px;
    }

    /* ── Nav ── */
    nav {
      position: fixed; top: 0; left: 0; width: 100%;
      padding: 2rem 3.5rem;
      display: flex; justify-content: space-between; align-items: center;
      z-index: 100; mix-blend-mode: difference;
    }
    .nav-logo { height: 22px; opacity: 0; }
    .nav-logo svg { height: 100%; width: auto; display: block; }
    .nav-links { display: flex; gap: 2.5rem; list-style: none; }
    .nav-links a {
      color: var(--gray); text-decoration: none;
      font-size: 0.8rem; font-weight: 300; letter-spacing: 0.08em; text-transform: uppercase;
      transition: color 0.4s ease; position: relative;
    }
    .nav-links a:hover { color: var(--white); }

    /* ── Day/Night + Sound Toggle (hero top center) ── */
    .hero-controls {
      position: absolute; top: 6rem; left: 0; right: 0;
      z-index: 10; pointer-events: none;
      display: flex; justify-content: center; align-items: center; gap: 1.5rem;
    }
    .hero-controls > * { pointer-events: all; }
    .hero-toggle-center {
      display: flex; justify-content: center;
    }
    .hero-sound-btn {
      width: 32px; height: 32px;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; opacity: 0.4; transition: opacity 0.3s ease;
    }
    .hero-sound-btn:hover { opacity: 1; }
    .hero-sound-btn svg { width: 16px; height: 16px; fill: var(--white); }
    .hero-sound-btn.muted svg .sound-wave { opacity: 0; }
    .scene-toggle {
      display: flex; align-items: center; gap: 0.6rem;
      cursor: pointer; user-select: none;
    }
    .scene-toggle-track {
      width: 36px; height: 18px;
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 10px;
      position: relative;
      transition: background 0.6s ease, border-color 0.6s ease;
    }
    .scene-toggle-thumb {
      width: 14px; height: 14px;
      background: var(--white);
      border-radius: 50%;
      position: absolute;
      top: 1px; left: 1px;
      transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease;
      box-shadow: 0 0 6px rgba(255,255,255,0.3);
    }
    .scene-toggle.night .scene-toggle-track {
      background: rgba(100,140,255,0.15);
      border-color: rgba(100,140,255,0.3);
    }
    .scene-toggle.night .scene-toggle-thumb {
      transform: translateX(18px);
      background: #a0b8ff;
      box-shadow: 0 0 8px rgba(140,170,255,0.5);
    }
    .scene-toggle-icon {
      font-size: 0.7rem; letter-spacing: 0.08em;
      color: var(--gray); font-weight: 300;
      transition: color 0.4s ease;
      text-transform: uppercase;
    }
    .scene-toggle.night .scene-toggle-icon { color: rgba(160,184,255,0.7); }


    .nav-links a::after {
      content: ''; position: absolute; bottom: -4px; left: 0;
      width: 0; height: 1px; background: var(--white);
      transition: width 0.4s cubic-bezier(0.23,1,0.32,1);
    }
    .nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
    .nav-links a.active { color: var(--white); }

    /* ── Hamburger ── */
    .nav-toggle {
      display: none; flex-direction: column; gap: 5px;
      background: none; border: none; cursor: pointer; padding: 4px; z-index: 101;
    }
    .nav-toggle span {
      display: block; width: 22px; height: 1px; background: var(--white);
      transition: transform 0.4s ease, opacity 0.3s ease;
    }
    .nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    /* ── Hero ── */
    .hero {
      height: 100vh; height: 100dvh; position: relative;
      display: flex; align-items: center; justify-content: center;
      overflow: hidden;
    }
    #hero-webgl {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      will-change: contents;
      pointer-events: none;
      opacity: 0.3;
      transition: opacity 1.5s ease;
    }
    .hero-content {
      position: relative; z-index: 2;
      text-align: center;
      pointer-events: none;
    }
    .hero-icon {
      width: 80px; height: 80px; margin: 0 auto 2.5rem;
      opacity: 0; transform: scale(0.8);
      position: relative;
    }
    .hero-icon svg { width: 100%; height: 100%; }

    /* ── Hero icon attention animation: chromatic split + breathe ── */
    .hero-icon.icon-pulse {
      animation: iconBreathe 0.9s ease-in-out;
    }
    .hero-icon .chroma-layer {
      position: absolute; inset: 0;
      opacity: 0; pointer-events: none;
      mix-blend-mode: screen;
    }
    .hero-icon .chroma-layer svg { width: 100%; height: 100%; }
    .hero-icon .chroma-r path { fill: rgba(255,80,80,0.7); }
    .hero-icon .chroma-b path { fill: rgba(80,120,255,0.7); }

    .hero-icon.icon-pulse .chroma-r {
      animation: chromaR 0.9s ease-in-out;
    }
    .hero-icon.icon-pulse .chroma-b {
      animation: chromaB 0.9s ease-in-out;
    }

    @keyframes iconBreathe {
      0%   { transform: scale(1);    filter: drop-shadow(0 0 0px rgba(255,255,255,0)); }
      30%  { transform: scale(1.06); filter: drop-shadow(0 0 10px rgba(255,255,255,0.25)); }
      60%  { transform: scale(1.02); filter: drop-shadow(0 0 4px rgba(255,255,255,0.1)); }
      100% { transform: scale(1);    filter: drop-shadow(0 0 0px rgba(255,255,255,0)); }
    }

    @keyframes chromaR {
      0%   { opacity: 0; transform: translate(0, 0); }
      15%  { opacity: 0.6; }
      30%  { opacity: 0.5; transform: translate(-3px, 1px); }
      70%  { opacity: 0.15; transform: translate(-1px, 0.5px); }
      100% { opacity: 0; transform: translate(0, 0); }
    }
    @keyframes chromaB {
      0%   { opacity: 0; transform: translate(0, 0); }
      15%  { opacity: 0.6; }
      30%  { opacity: 0.5; transform: translate(3px, -1px); }
      70%  { opacity: 0.15; transform: translate(1px, -0.5px); }
      100% { opacity: 0; transform: translate(0, 0); }
    }
    .hero-tagline {
      font-family: 'Inter', sans-serif;
      font-size: clamp(3.5rem, 9vw, 8rem);
      font-weight: 200; letter-spacing: -0.04em;
      line-height: 1.1; margin-bottom: 2.5rem;
    }
    .hero-tagline .word {
      display: inline-block; overflow: hidden; vertical-align: bottom;
      padding-bottom: 0.12em; padding-top: 0.05em;
    }
    .hero-tagline .word.anim-done { overflow: visible; }
    .hero-tagline .word span {
      display: inline-block; transform: translateY(110%);
      will-change: transform;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
    }
    .hero-sub {
      font-size: 0.95rem; color: var(--gray-light);
      font-weight: 300; letter-spacing: 0.04em;
      opacity: 0; transform: translateY(20px);
      max-width: 550px; margin: 0 auto;
      -webkit-hyphens: none; hyphens: none;
      word-break: normal; overflow-wrap: normal;
    }
    .hero-inspire {
      font-size: 0.85rem; color: var(--white);
      font-weight: 300; letter-spacing: 0.18em;
      text-transform: uppercase;
      margin-top: 3.2rem;
      opacity: 0;
      pointer-events: none;
    }
    .hero-flash {
      position: fixed; inset: 0; z-index: 9998;
      background: radial-gradient(ellipse at 50% 50%, rgba(255,240,200,0.15), transparent 70%);
      opacity: 0; pointer-events: none;
    }
    .hero-scroll {
      position: absolute; bottom: 2.5rem; left: 50%;
      transform: translateX(-50%);
      display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
      opacity: 0;
    }
    .hero-scroll span {
      font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
      color: var(--gray);
    }
    .scroll-line {
      width: 1px; height: 50px; background: var(--gray-dark);
      position: relative; overflow: hidden;
    }
    .scroll-line::after {
      content: ''; position: absolute; top: -100%; left: 0;
      width: 100%; height: 40%;
      background: linear-gradient(to bottom, transparent, var(--white));
      animation: scrollPulse 2.5s ease-in-out infinite;
    }
    @keyframes scrollPulse { 0%{top:-40%} 60%{top:100%} 100%{top:100%} }

    /* ── Hero Game ── */
    .hero-play-btn {
      position: absolute; bottom: 9.4rem; left: 50%;
      transform: translateX(-50%);
      display: flex; align-items: center; gap: 0.5rem;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.12);
      color: var(--gray-light); padding: 0.5rem 1.2rem;
      border-radius: 100px; cursor: pointer;
      font-family: 'Inter', sans-serif; font-size: 0.65rem;
      letter-spacing: 0.15em; text-transform: uppercase;
      transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
      z-index: 15; opacity: 0;
      backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
      pointer-events: auto;
      isolation: isolate;
    }
    .hero-play-btn:hover {
      background: rgba(255,255,255,0.1);
      border-color: rgba(255,255,255,0.3);
      color: var(--white);
      box-shadow: 0 0 20px rgba(200,150,64,0.1);
    }
    .hero-play-btn svg { opacity: 0.7; transition: opacity 0.3s; }
    .hero-play-btn:hover svg { opacity: 1; }
    .game-hud {
      position: fixed; top: 0; left: 0; right: 0; bottom: 0;
      pointer-events: none; z-index: 9999;
      opacity: 0; transition: opacity 0.6s ease;
    }
    .game-hud.active { opacity: 1; pointer-events: auto; }
    .game-back-btn {
      position: absolute; bottom: 8.5rem; left: 50%;
      transform: translateX(-50%);
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.15);
      color: var(--white); border-radius: 50%;
      width: 44px; height: 44px;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; pointer-events: auto;
      transition: all 0.3s ease;
      backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    }
    .game-back-btn:hover {
      background: rgba(255,255,255,0.12);
      border-color: rgba(255,255,255,0.3);
    }
    .game-score {
      position: absolute; bottom: 3rem; left: 50%;
      transform: translateX(-50%);
      font-family: 'Inter', sans-serif;
      font-size: 2rem; font-weight: 500; color: var(--white);
      letter-spacing: 0.05em;
      text-shadow: 0 0 20px rgba(200,150,64,0.3);
    }
    .game-speed {
      position: absolute; bottom: 5.5rem; left: 50%;
      transform: translateX(-50%);
      font-family: 'Inter', sans-serif;
      font-size: 0.7rem; font-weight: 400;
      letter-spacing: 0.12em; text-transform: uppercase;
      color: rgba(200,150,64,0.6);
    }
    .game-over {
      position: fixed; inset: 0; z-index: 10000;
      display: flex; align-items: center; justify-content: center;
      background: rgba(5,5,5,0.7);
      backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      opacity: 0; pointer-events: none;
      transition: opacity 0.8s ease;
    }
    .game-over.active { opacity: 1; pointer-events: auto; }
    .game-over-content { text-align: center; }
    .game-over-title {
      font-family: 'Inter', sans-serif;
      font-size: 2.5rem; font-weight: 400; color: var(--white);
      margin-bottom: 1rem; letter-spacing: -0.02em;
    }
    .game-over-score {
      font-size: 1rem; color: var(--gray-light);
      font-weight: 300; margin-bottom: 2.5rem;
      letter-spacing: 0.05em;
    }
    .game-over-score span { color: rgba(200,150,64,0.9); font-weight: 500; }
    .game-over-actions { display: flex; gap: 1rem; justify-content: center; }
    .game-retry-btn, .game-exit-btn {
      padding: 0.8rem 2rem; border-radius: 100px;
      font-family: 'Inter', sans-serif; font-size: 0.8rem;
      font-weight: 400; letter-spacing: 0.06em;
      cursor: pointer; transition: all 0.4s ease;
    }
    .game-retry-btn {
      background: var(--white); color: var(--black);
      border: 1px solid var(--white);
    }
    .game-retry-btn:hover { background: rgba(255,255,255,0.9); }
    .game-exit-btn {
      background: transparent; color: var(--white);
      border: 1px solid rgba(255,255,255,0.2);
    }
    .game-exit-btn:hover { border-color: rgba(255,255,255,0.5); }
    body.game-active { overflow: hidden; cursor: none; position: fixed; width: 100%; height: 100%; touch-action: none; }
    body.game-active * { cursor: none !important; }
    body.game-active .game-back-btn,
    body.game-active .game-retry-btn,
    body.game-active .game-exit-btn { cursor: pointer !important; }

    @media (max-width: 768px) {
      .game-back-btn { top: auto; bottom: 7rem; width: 40px; height: 40px; }
      .game-score { bottom: 2rem; font-size: 1.4rem; }
      .game-speed { bottom: 4.5rem; font-size: 0.6rem; }
      .game-over-title { font-size: 1.8rem; }
      .game-over-score { font-size: 0.85rem; }
      .game-retry-btn, .game-exit-btn { padding: 0.7rem 1.5rem; font-size: 0.75rem; }
    }

    /* ── Sections ── */
    section { padding: 10rem 3.5rem; position: relative; }
    .section-label {
      font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
      color: var(--gray); margin-bottom: 5rem;
      display: flex; align-items: center; gap: 1.5rem;
    }
    .section-label::after {
      content: ''; flex: 1; max-width: 60px;
      height: 1px; background: var(--gray-dark);
    }
    .divider {
      width: 100%; height: 1px;
      background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.07) 50%, transparent 100%);
      transform: scaleX(0); transform-origin: left;
      transition: none;
    }
    .divider.drawn { transform: scaleX(1); transition: transform 1.2s cubic-bezier(0.23,1,0.32,1); }

    /* ── About ── */
    .about { max-width: 1200px; margin: 0 auto; }
    .about-statement {
      font-size: clamp(1.6rem, 3.5vw, 2.8rem);
      font-weight: 300; line-height: 1.5; letter-spacing: -0.02em;
      max-width: 850px;
      -webkit-hyphens: none; hyphens: none;
      word-break: normal; overflow-wrap: normal;
    }
    .about-grid {
      margin-top: 8rem;
      display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
      align-items: center;
    }
    .about-text {
      font-size: 0.95rem; line-height: 1.9; color: var(--gray-light); font-weight: 300;
      -webkit-hyphens: none; hyphens: none;
      word-break: normal; overflow-wrap: normal;
    }
    .about-text p + p { margin-top: 1.5rem; }
    .about-visual {
      position: relative; aspect-ratio: 1;
      display: flex; align-items: center; justify-content: center;
      overflow: visible;
    }
    .about-grid { overflow: visible; }
    #about-canvas { width: 120%; height: 120%; margin: -10%; overflow: visible; }
    .about-visual { opacity: 0; transition: opacity 0s; }
    .about-visual.revealed { opacity: 1; transition: opacity 1.4s cubic-bezier(0.23,1,0.32,1); }
    /* work-image clip-path removed — images visible immediately */

    /* ── Methodology ── */
    #methodology { position: relative; }
    #methodologyCanvas {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      z-index: 0;
      pointer-events: none;
    }
    .methodology { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }

    /* FLIP transition for case studies */
    .flip-clone {
      position: fixed;
      z-index: 8999;
      overflow: hidden;
      border-radius: 8px;
      transition: none;
      will-change: transform, width, height, top, left, border-radius;
    }
    .flip-clone img { width: 100%; height: 100%; object-fit: cover; }
    .flip-overlay-fade {
      position: fixed; inset: 0; z-index: 8998;
      background: var(--black);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.5s ease;
    }
    .flip-overlay-fade.active { opacity: 1; pointer-events: all; }
    .methodology-intro {
      font-size: clamp(2rem, 4.5vw, 3.5rem);
      font-weight: 300; letter-spacing: -0.04em;
      line-height: 1.15; margin-bottom: 6rem;
    }
    .method-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; align-items: stretch; }
    .method-item {
      padding: 3rem 2rem;
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(255,255,255,0.04);
      position: relative; overflow: hidden;
    }
    .method-num {
      font-size: 0.65rem; letter-spacing: 0.2em; color: var(--gray);
      margin-bottom: 2.5rem;
    }
    .method-name {
      font-size: 1.4rem; font-weight: 400; margin-bottom: 1rem;
      letter-spacing: -0.02em;
    }
    .method-desc {
      font-size: 0.85rem; line-height: 1.7; color: var(--gray); font-weight: 300;
    }

    /* ── Work (Horizontal Scroll) ── */
    .work-section { overflow: hidden; }
    .work-section .work-header { max-width: 1400px; margin: 0 auto; padding: 0 3.5rem; }
    .work-track {
      display: flex; gap: 3rem;
      padding: 4rem 3.5rem 6rem;
      will-change: transform;
    }
    .work-item {
      flex: 0 0 45vw; max-width: 700px; min-width: 320px;
      position: relative;
      transform-style: preserve-3d;
      perspective: 800px;
    }
    .work-image {
      width: 100%; aspect-ratio: 16/10;
      overflow: hidden; border-radius: 6px; position: relative;
    }
    .work-image img, .work-image canvas {
      width: 100%; height: 110%; object-fit: cover;
      transition: transform 0.8s cubic-bezier(0.23,1,0.32,1);
      display: block;
      will-change: transform;
    }
    .work-item:hover .work-image img,
    .work-item:hover .work-image canvas { transform: scale(1.03); }
    .work-overlay {
      position: absolute; bottom: 0; left: 0; right: 0;
      padding: 2rem 1.5rem 1.5rem;
      background: linear-gradient(to top, rgba(5,5,5,0.85) 0%, transparent 100%);
      transform: translateY(100%);
      transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
      backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
      border-radius: 0 0 6px 6px;
    }
    .work-item:hover .work-overlay { transform: translateY(0); }
    .work-overlay p {
      font-size: 0.85rem; color: var(--gray-light); font-weight: 300; line-height: 1.6;
    }
    .work-info { padding: 1.5rem 0 0; }
    .work-title {
      font-size: 1.1rem; font-weight: 400; letter-spacing: -0.01em;
      margin-bottom: 0.4rem;
    }
    .work-cat {
      font-size: 0.75rem; color: var(--gray); font-weight: 300;
      letter-spacing: 0.05em;
    }


    /* ── Case Study Overlay ── */
    /* ── Full-Page Case Study ── */
    .case-study-overlay {
      position: fixed; inset: 0; z-index: 9000;
      background: var(--black);
      overflow-y: auto; overflow-x: hidden;
      opacity: 0; pointer-events: none;
      transition: opacity 0.5s cubic-bezier(0.23,1,0.32,1);
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
      touch-action: pan-y;
    }
    .case-study-overlay.active { opacity: 1; pointer-events: all; }
    .case-study-close {
      position: fixed; top: 2rem; right: 2rem; z-index: 9001;
      width: 44px; height: 44px; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      border: 1px solid rgba(255,255,255,0.15); border-radius: 50%;
      transition: border-color 0.3s ease, transform 0.3s ease;
      background: rgba(5,5,5,0.6); backdrop-filter: blur(10px);
    }
    .case-study-close:hover { border-color: rgba(255,255,255,0.4); transform: rotate(90deg); }
    .case-study-close svg { width: 14px; height: 14px; stroke: var(--white); stroke-width: 2; }

    /* Hero image */
    .cs-hero {
      width: 100%; height: 65vh; position: relative; overflow: hidden;
      display: flex; align-items: flex-end;
    }
    .cs-hero-img {
      position: absolute; inset: 0;
      width: 100%; height: 100%; object-fit: cover;
      transform: scale(1); transition: transform 0.8s cubic-bezier(0.23,1,0.32,1);
    }
    .case-study-overlay.active .cs-hero-img { transform: scale(1.02); }
    .cs-hero-gradient {
      position: absolute; inset: 0;
      background: linear-gradient(to top, var(--black) 0%, rgba(5,5,5,0.4) 40%, transparent 70%);
    }
    .cs-hero-text {
      position: relative; z-index: 2;
      padding: 0 clamp(2rem, 5vw, 6rem) 3rem;
      max-width: 900px;
      transform: translateY(20px); opacity: 0;
      transition: transform 0.6s 0.2s cubic-bezier(0.23,1,0.32,1), opacity 0.6s 0.2s ease;
    }
    .case-study-overlay.active .cs-hero-text { transform: translateY(0); opacity: 1; }
    .cs-number {
      font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
      color: var(--gray); margin-bottom: 1rem; font-weight: 400;
    }
    .cs-title {
      font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 300;
      letter-spacing: -0.03em; margin-bottom: 0.6rem; line-height: 1.1;
    }
    .cs-category {
      font-size: 0.75rem; letter-spacing: 0.15em;
      text-transform: uppercase; color: var(--gray-light);
    }

    /* Body content */
    .cs-body {
      max-width: 900px;
      padding: 4rem clamp(2rem, 5vw, 6rem);
      transform: translateY(30px); opacity: 0;
      transition: transform 0.6s 0.35s cubic-bezier(0.23,1,0.32,1), opacity 0.6s 0.35s ease;
    }
    .case-study-overlay.active .cs-body { transform: translateY(0); opacity: 1; }
    .cs-description {
      font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.9;
      color: var(--gray-light); font-weight: 300; margin-bottom: 3rem;
    }
    .cs-details {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
      border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem;
      margin-bottom: 4rem;
    }
    .cs-detail-label {
      font-size: 0.65rem; letter-spacing: 0.15em;
      text-transform: uppercase; color: var(--gray); margin-bottom: 0.5rem;
    }
    .cs-detail-value { font-size: 0.9rem; color: var(--white); font-weight: 300; }

    /* Gallery */
    .cs-gallery {
      display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
      margin-bottom: 4rem;
    }
    .cs-gallery-item {
      aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.05);
      display: flex; align-items: center; justify-content: center;
    }
    .cs-gallery-item.wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
    .cs-gallery-item img {
      width: 100%; height: 100%; object-fit: cover;
      transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
    }
    .cs-gallery-item:hover img { transform: scale(1.03); }
    .cs-gallery-placeholder {
      font-size: 0.7rem; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--gray);
    }

    /* Navigation */
    .cs-nav {
      display: flex; justify-content: space-between; align-items: center;
      border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem;
      padding-bottom: 4rem;
    }
    .cs-nav-btn {
      display: flex; align-items: center; gap: 0.6rem;
      background: none; border: none; color: var(--gray-light);
      cursor: pointer; font-size: 0.8rem; font-weight: 300;
      letter-spacing: 0.04em; transition: color 0.3s ease;
      font-family: 'Inter', sans-serif;
    }
    .cs-nav-btn:hover { color: var(--white); }
    .cs-nav-btn svg {
      width: 16px; height: 16px; stroke: currentColor;
      stroke-width: 1.5; fill: none;
    }
    .cs-nav-label {
      font-size: 0.6rem; letter-spacing: 0.15em;
      text-transform: uppercase; color: var(--gray);
    }
    .cs-nav-title { font-size: 0.9rem; color: var(--white); font-weight: 300; margin-top: 0.2rem; }
    .cs-nav-prev .cs-nav-label, .cs-nav-prev .cs-nav-title { text-align: left; }
    .cs-nav-next .cs-nav-label, .cs-nav-next .cs-nav-title { text-align: right; }
    .cs-nav-prev { flex-direction: row; }
    .cs-nav-next { flex-direction: row-reverse; }
    .cs-nav-prev svg { transform: rotate(180deg); }

    @media (max-width: 768px) {
      .case-study-overlay {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
      }
      .cs-hero { height: 35vh; min-height: 220px; }
      .cs-hero-text { padding: 0 1.5rem 2rem; }
      .cs-title { font-size: 1.8rem; }
      .cs-body { padding: 2.5rem 1.5rem; }
      .cs-description { font-size: 0.95rem; line-height: 1.8; margin-bottom: 2rem; }
      .cs-details { grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
      .cs-gallery { grid-template-columns: 1fr; margin-bottom: 2.5rem; }
      .cs-gallery-item.wide { aspect-ratio: 16 / 10; }
      .cs-nav {
        flex-direction: row; justify-content: space-between;
        padding-top: 1.5rem; padding-bottom: 3rem;
      }
      .cs-nav-btn { font-size: 0.75rem; }
      .cs-nav-label { font-size: 0.55rem; }
      .cs-nav-title { font-size: 0.8rem; }
      .case-study-close { top: 1rem; right: 1rem; width: 38px; height: 38px; }
    }

    /* ── Contact ── */
    .contact-section {
      max-width: 1000px; margin: 0 auto;
      text-align: center; padding: 14rem 3.5rem;
      position: relative;
    }
    #contact-canvas {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      opacity: 0.2;
    }
    .contact-content { position: relative; z-index: 2; }
    .contact-heading {
      font-size: clamp(2.2rem, 5vw, 3.8rem);
      font-weight: 300; letter-spacing: -0.03em;
      line-height: 1.25; margin-bottom: 1.2rem;
      -webkit-hyphens: none; hyphens: none;
      word-break: normal; overflow-wrap: normal;
    }
    .contact-sub {
      font-size: 1rem; color: var(--gray); font-weight: 300;
      margin-bottom: 3.5rem; line-height: 1.6;
      -webkit-hyphens: none; hyphens: none;
      word-break: normal; overflow-wrap: normal;
    }
    .contact-cta {
      display: inline-flex; align-items: center; gap: 0.8rem;
      padding: 1.1rem 2.8rem;
      border: 1px solid rgba(255,255,255,0.15);
      color: var(--white); text-decoration: none;
      font-size: 0.9rem; font-weight: 400; letter-spacing: 0.04em;
      border-radius: 100px;
      transition: color 0.6s cubic-bezier(0.23,1,0.32,1), border-color 0.6s cubic-bezier(0.23,1,0.32,1), background 0.6s cubic-bezier(0.23,1,0.32,1);
      position: relative; overflow: hidden;
      will-change: transform;
    }
    .contact-cta::before {
      content: ''; position: absolute; inset: 0;
      background: var(--white); border-radius: 100px;
      transform: scaleX(0); transform-origin: left;
      transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
      z-index: -1;
    }
    .contact-cta:hover { color: var(--black); border-color: var(--white); }
    .contact-cta:hover::before { transform: scaleX(1); }
    .contact-cta .cta-glow {
      position: absolute; width: 120px; height: 120px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(120,80,255,0.15) 0%, rgba(255,50,100,0.08) 40%, transparent 70%);
      pointer-events: none; opacity: 0; transition: opacity 0.3s ease;
      transform: translate(-50%, -50%);
    }
    .contact-cta:hover .cta-glow { opacity: 1; }
    .contact-cta .arrow { transition: transform 0.4s ease; font-size: 1.1rem; }
    .contact-cta:hover .arrow { transform: translateX(5px); }

    /* ── Contact Form ── */
    .contact-form {
      max-width: 560px; margin: 0 auto 3rem; text-align: left;
    }
    .form-row {
      display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
      margin-bottom: 1.2rem;
    }
    .form-group { display: flex; flex-direction: column; gap: 0.4rem; }
    .form-group label {
      font-size: 0.7rem; font-weight: 400; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--gray-light);
    }
    .form-group input, .form-group textarea {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 8px; padding: 0.9rem 1rem;
      color: var(--white); font-family: 'Inter', sans-serif;
      font-size: 0.9rem; font-weight: 300;
      transition: border-color 0.3s ease, background 0.3s ease;
      outline: none; resize: vertical;
      cursor: text;
    }
    .form-group input::placeholder, .form-group textarea::placeholder {
      color: rgba(255,255,255,0.2);
    }
    .form-group input:focus, .form-group textarea:focus {
      border-color: rgba(120,80,255,0.4);
      background: rgba(255,255,255,0.06);
    }
    .form-group input.invalid, .form-group textarea.invalid {
      border-color: rgba(255,80,80,0.6);
      background: rgba(255,80,80,0.04);
    }
    .form-error {
      font-size: 0.7rem; color: rgba(255,80,80,0.8); font-weight: 300;
      margin-top: 0.25rem; min-height: 1em;
      opacity: 0; transition: opacity 0.2s ease;
    }
    .form-error.visible { opacity: 1; }
    .form-actions { margin-top: 1.5rem; text-align: center; }
    .form-actions .contact-cta { cursor: pointer; }
    .form-actions .contact-cta:disabled { opacity: 0.5; pointer-events: none; }

    /* ── Success Confirmation ── */
    .form-success-panel {
      display: none; text-align: center; padding: 3rem 1.5rem;
      max-width: 560px; margin: 0 auto;
    }
    .form-success-panel.active { display: block; }
    .form-success-icon {
      width: 56px; height: 56px; margin: 0 auto 1.5rem;
      border: 1.5px solid rgba(100,220,160,0.5); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
    }
    .form-success-icon svg { width: 28px; height: 28px; stroke: rgba(100,220,160,0.9); }
    .form-success-title {
      font-size: 1.4rem; font-weight: 300; color: var(--white);
      margin-bottom: 0.6rem; letter-spacing: -0.02em;
    }
    .form-success-text {
      font-size: 0.9rem; color: var(--gray-light); font-weight: 300;
      line-height: 1.6; margin-bottom: 2rem;
    }
    .form-success-another {
      display: inline-flex; align-items: center; gap: 0.5rem;
      color: var(--gray-light); text-decoration: none;
      font-size: 0.8rem; font-weight: 400; letter-spacing: 0.06em;
      text-transform: uppercase; cursor: pointer; background: none; border: none;
      font-family: 'Inter', sans-serif;
      transition: color 0.3s ease;
    }
    .form-success-another:hover { color: var(--white); }

    /* ── Contact Alt Links ── */
    .contact-alt { margin-top: 2rem; }
    .contact-alt-text {
      font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
      color: var(--gray); margin-bottom: 1.2rem; font-weight: 400;
    }
    .contact-links {
      display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
    }
    .contact-link {
      display: inline-flex; align-items: center; gap: 0.5rem;
      color: var(--gray-light); text-decoration: none;
      font-size: 0.85rem; font-weight: 300; letter-spacing: 0.02em;
      transition: color 0.3s ease;
    }
    .contact-link:hover { color: var(--white); }
    .contact-link svg { width: 16px; height: 16px; flex-shrink: 0; }

    @media (max-width: 600px) {
      .form-row { grid-template-columns: 1fr; }
      .contact-links { flex-direction: column; align-items: center; gap: 1rem; }
    }

    /* ── Mobile: match desktop button exactly ── */
    @media (max-width: 768px) {
      .form-actions .contact-cta,
      button.contact-cta {
        display: inline-flex; align-items: center; gap: 0.8rem;
        padding: 1.1rem 2.8rem;
        border: 1px solid rgba(255,255,255,0.15);
        color: var(--white); text-decoration: none;
        font-size: 0.9rem; font-weight: 400; letter-spacing: 0.04em;
        border-radius: 100px; position: relative; overflow: hidden;
        background: transparent;
        font-family: 'Inter', sans-serif;
        -webkit-appearance: none; appearance: none;
      }
      .contact-cta:active { color: var(--black); border-color: var(--white); }
      .contact-cta:active::before { transform: scaleX(1); }
    }

    /* ── Footer ── */
    footer {
      position: relative; z-index: 1;
      padding: 5rem 3.5rem 2.5rem;
      background: var(--black);
      border-top: 1px solid rgba(255,255,255,0.06);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 3rem;
      max-width: 1200px;
      margin: 0 auto;
      padding-bottom: 3rem;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .footer-brand { display: flex; flex-direction: column; gap: 1.2rem; }
    .footer-logo svg { height: 22px; width: auto; }
    .footer-tagline {
      font-size: 0.8rem; color: var(--gray-light); font-weight: 300;
      line-height: 1.6; max-width: 280px;
    }
    .footer-col-title {
      font-size: 0.65rem; color: var(--gray);
      text-transform: uppercase; letter-spacing: 0.15em;
      margin-bottom: 1.2rem; font-weight: 400;
    }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
    .footer-col a, .footer-col span {
      color: var(--gray-light); text-decoration: none;
      font-size: 0.8rem; font-weight: 300; letter-spacing: 0.02em;
      transition: color 0.3s ease; cursor: pointer;
    }
    .footer-col a:hover, .footer-col span:hover { color: var(--white); }
    .footer-download-link {
      display: inline-flex; align-items: center; gap: 0.4rem;
      color: var(--gray-light); text-decoration: none;
      font-size: 0.8rem; font-weight: 300;
      transition: color 0.3s ease;
      margin-top: 0.3rem;
    }
    .footer-download-link svg { width: 14px; height: 14px; flex-shrink: 0; }
    .footer-download-link:hover { color: var(--white); }
    .footer-bottom {
      display: flex; justify-content: space-between; align-items: center;
      max-width: 1200px; margin: 0 auto;
      padding-top: 2rem;
    }
    .footer-bottom span {
      font-size: 0.7rem; color: var(--gray); font-weight: 300;
    }
    .footer-bottom-links { display: flex; gap: 1.5rem; list-style: none; }
    .footer-bottom-links a {
      color: var(--gray); text-decoration: none;
      font-size: 0.7rem; font-weight: 300; letter-spacing: 0.03em;
      transition: color 0.3s ease;
    }
    .footer-bottom-links a:hover { color: var(--white); }
    @media (max-width: 768px) {
      footer { padding: 3.5rem 1.5rem 2rem; }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding-bottom: 2rem;
      }

      /* Brand: full width, centered */
      .footer-brand {
        grid-column: 1 / -1;
        text-align: center; align-items: center;
        padding-bottom: 2.5rem; margin-bottom: 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
      }
      .footer-tagline { max-width: 260px; text-align: center; }
      .footer-logo svg { height: 20px; }

      /* Services + Studio: side by side */
      .footer-col { padding-top: 0; }
      .footer-col:nth-child(2) { padding-right: 1rem; }
      .footer-col:nth-child(3) { padding-left: 1rem; }
      .footer-col-title { margin-bottom: 1rem; font-size: 0.6rem; }
      .footer-col a, .footer-col span { font-size: 0.78rem; }
      .footer-col ul { gap: 0.65rem; }

      /* Connect column: full width, centered, with top divider */
      .footer-col:last-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-top: 2.5rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255,255,255,0.06);
      }
      .footer-col:last-child .footer-col-title { text-align: center; }
      .footer-col:last-child ul {
        flex-direction: row; justify-content: center;
        flex-wrap: wrap; gap: 1.5rem;
      }
      .footer-download-link {
        justify-content: center; margin-top: 1.2rem;
        font-size: 0.78rem;
      }

      .footer-bottom {
        flex-direction: column; gap: 0.8rem;
        text-align: center; padding-top: 1.5rem;
      }
      .footer-bottom span { font-size: 0.65rem; }
      .footer-bottom-links { justify-content: center; }
    }

    /* ── Mouse Light Gradient ── */
    .mouse-light {
      position: fixed; inset: 0; z-index: 0;
      pointer-events: none;
      background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.03), transparent 60%);
      transition: background 0.15s ease;
    }

    /* ── Section Atmospheres ── */
    #contact { background-color: rgba(12,8,8,1); }

    /* ── Section Entry Pulse ── */
    .section-label { position: relative; }
    .section-pulse {
      position: absolute; left: 0; top: 50%;
      width: 8px; height: 8px; border-radius: 50%;
      border: 1px solid rgba(255,255,255,0.4);
      transform: translate(-20px, -50%) scale(1);
      opacity: 0;
    }
    .section-pulse.ping {
      animation: sectionPing 1.2s cubic-bezier(0.23,1,0.32,1) forwards;
    }
    @keyframes sectionPing {
      0% { transform: translate(-20px, -50%) scale(1); opacity: 0.6; }
      100% { transform: translate(-20px, -50%) scale(8); opacity: 0; }
    }

    /* ── CTA Shimmer ── */
    .contact-cta::after {
      content: ''; position: absolute;
      top: 0; left: -100%; width: 60%; height: 100%;
      background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
      animation: ctaShimmer 4s ease-in-out infinite;
      z-index: 1; pointer-events: none;
    }
    .contact-cta:hover::after { opacity: 0; }
    @keyframes ctaShimmer {
      0%, 70%, 100% { left: -100%; }
      85% { left: 150%; }
    }

    /* ── Hero text chromatic split hover ── */
    .hero-tagline {
      position: relative;
    }
    .hero-tagline .word span {
      transition: transform 0.5s cubic-bezier(0.23,1,0.32,1);
      will-change: transform, opacity;
      position: relative;
    }
    .hero-tagline .chromatic-layer {
      position: absolute; top: 0; left: 0; right: 0; bottom: 0;
      pointer-events: none;
      opacity: 0; transition: opacity 0.4s ease;
      overflow: hidden;
    }
    .hero-tagline:hover .chromatic-layer { opacity: 1; }
    .hero-tagline .chromatic-r {
      color: rgba(255,80,80,0.5); mix-blend-mode: screen;
    }
    .hero-tagline .chromatic-b {
      color: rgba(80,80,255,0.5); mix-blend-mode: screen;
    }


    /* ── Methodology Glow on Hover ── */
    .method-item {
      transition: background 0.2s ease-out, border-color 0.2s ease-out;
    }
    .method-item::before {
      content: ''; position: absolute; inset: -1px;
      background: radial-gradient(ellipse at var(--glow-x,50%) var(--glow-y,50%), rgba(120,80,255,0.15), rgba(255,50,100,0.08), transparent 70%);
      opacity: 0; transition: opacity 0.15s ease-out; pointer-events: none; z-index: 0;
    }
    .method-item:hover {
      background: rgba(255,255,255,0.05);
      border-color: rgba(120,80,255,0.15);
    }
    .method-item:hover::before { opacity: 1; }

    /* ── Methodology counter ── */
    .method-num { font-variant-numeric: tabular-nums; }

    /* ── Typed cursor for hero sub ── */
    .hero-sub .typed-cursor {
      display: inline-block;
      width: 2px; height: 1em;
      background: var(--gray-light);
      margin-left: 2px;
      vertical-align: text-bottom;
      animation: blink 0.8s step-end infinite;
    }
    .typed-cursor.fade { animation: cursorFade 1s forwards; }
    @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
    @keyframes cursorFade { to { opacity: 0; } }

    /* ── Page Transition Overlay ── */
    .page-transition {
      position: fixed; inset: 0;
      background: var(--black); z-index: 10000;
      display: flex; align-items: center; justify-content: center;
      pointer-events: none; opacity: 0;
    }
    .page-transition svg { width: 80px; height: 80px; opacity: 0; transform: scale(0.5); }

    /* ── Work item glow shadow on hover ── */
    .work-image { transition: box-shadow 0.6s ease, transform 0.6s cubic-bezier(0.23,1,0.32,1); }

    /* ── Easter egg burst ── */
    .hero-icon { cursor: pointer; pointer-events: auto; }
    .burst-particle {
      position: absolute; width: 6px; height: 6px;
      background: var(--white); border-radius: 50%;
      pointer-events: none; opacity: 0;
    }

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

    /* ── Performance Toggle ── */
    .perf-toggle {
      position: fixed; bottom: 1.5rem; left: 1.5rem;
      z-index: 100; pointer-events: all;
      font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase;
      color: var(--gray); cursor: pointer; opacity: 0.3;
      transition: opacity 0.3s ease;
      display: flex; align-items: center; gap: 0.4rem;
    }
    .perf-toggle:hover { opacity: 1; }
    .perf-toggle .perf-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: #4a4; transition: background 0.3s ease;
    }
    .perf-toggle.lite .perf-dot { background: #a84; }

    /* ── Work color bleed ── */
    .work-bleed {
      position: fixed; inset: 0; z-index: -1; pointer-events: none;
      opacity: 0; transition: opacity 0.8s ease;
    }

    /* ── About text highlight trail ── */
    .about-statement .word-trail {
      position: absolute; bottom: -2px; left: 0; right: 0; height: 2px;
      background: linear-gradient(90deg, rgba(120,80,255,0.6), rgba(255,50,100,0.4));
      transform: scaleX(0); transform-origin: left;
      transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
    }




    /* ── Morphing section dividers ── */
    .morph-divider {
      width: 100%; height: 40px; position: relative; overflow: hidden;
      opacity: 0.6; pointer-events: none;
    }
    .morph-divider svg { width: 100%; height: 100%; display: block; }
    .morph-divider path {
      fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 0.5;
      transition: stroke 0.3s ease;
    }

    /* ── Methodology card flip ── */
    .method-item-wrap {
      perspective: 900px;
    }
    .method-item-inner {
      position: relative; width: 100%; height: 100%;
      transform-style: preserve-3d;
      transition: transform 0.9s cubic-bezier(0.23,1,0.32,1);
    }
    .method-face-front.method-item {
      height: 100%; box-sizing: border-box;
    }
    .method-item-wrap.flipped .method-item-inner {
      transform: rotateY(180deg);
    }
    .method-face-front {
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
    }
    .method-face-back {
      position: absolute; inset: 0;
      transform: rotateY(180deg);
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      display: flex; align-items: center; justify-content: center;
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(255,255,255,0.04);
      overflow: hidden;
    }
    .method-face-back::before {
      content: ''; position: absolute; inset: -50%;
      background: conic-gradient(
        from 0deg,
        rgba(120,80,255,0.08), rgba(255,50,100,0.05),
        rgba(40,200,180,0.06), rgba(120,80,255,0.08)
      );
      animation: holoSpin 8s linear infinite;
    }
    .method-face-back::after {
      content: ''; position: absolute; inset: 0;
      background: repeating-linear-gradient(
        45deg, transparent, transparent 2px,
        rgba(255,255,255,0.015) 2px, rgba(255,255,255,0.015) 4px
      );
    }
    @keyframes holoSpin { to { transform: rotate(360deg); } }
    .method-back-icon {
      font-size: 2rem; opacity: 0.15; z-index: 1;
      font-family: 'Inter', sans-serif; font-weight: 200;
    }

    /* ── Time-aware color temperature ── */
    .time-temp-overlay {
      position: fixed; inset: 0; z-index: 0; pointer-events: none;
      mix-blend-mode: color; opacity: 0;
      transition: opacity 2s ease, background 2s ease;
    }

    @media (max-width: 1024px) {
      .method-items { grid-template-columns: 1fr 1fr; }
      .work-item { flex: 0 0 65vw; }
    }
    @media (max-width: 768px) {
      section { padding: 6rem 1.5rem; }
      nav {
        padding: 1.5rem;
        mix-blend-mode: normal;
        background: rgba(5,5,5,0.85);
        backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        z-index: 200;
      }
      .nav-logo { z-index: 201; position: relative; }
      .nav-toggle { display: flex; z-index: 201; position: relative; }
      .nav-links {
        position: fixed; top: 0; right: 0;
        width: 280px; height: 100vh; height: 100dvh;
        flex-direction: column; gap: 0;
        background: rgba(5,5,5,0.98);
        backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
        padding: 6rem 2rem 2rem;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.23,1,0.32,1);
        z-index: 199;
      }
      .nav-links.open { transform: translateX(0); }
      .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.08); }
      .nav-links a {
        display: block; padding: 1.2rem 0;
        font-size: 1.1rem; letter-spacing: 0.12em;
        color: var(--white);
        font-weight: 400;
      }
      .about-grid { grid-template-columns: 1fr; gap: 2rem; }
      .about-text { padding-right: 0; }
      .about-text p { word-break: break-word; overflow-wrap: break-word; }
      .about-visual { overflow: hidden; max-width: 100%; aspect-ratio: auto; height: 60vw; }
      #about-canvas { width: 100%; height: 100%; margin: 0; }
      .about-statement { word-break: break-word; overflow-wrap: break-word; }
      .method-items { grid-template-columns: 1fr; }
      .work-section { overflow: visible; }
      .work-track {
        flex-direction: column; padding: 2rem 1.5rem;
      }
      .work-item { flex: none; max-width: 100%; min-width: 0; width: 100%; }
      .work-overlay { transform: translateY(0); opacity: 0.8; }
      .contact-section { padding: 8rem 1.5rem; }
      body { cursor: auto; }
      .cursor-dot, .cursor-ring, .cursor-label { display: none; }
      .perf-toggle { display: none; }
      .work-section .work-header { padding: 0 1.5rem; }
      .about-visual { clip-path: none !important; }
      .hero-controls { top: 5rem; gap: 1rem; }
      section, .work-section, .contact-section, .about-section, .about, .about-grid { overflow-x: clip; overflow-y: visible; max-width: 100vw; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
      }
      .reveal { opacity: 1; transform: none; }
      .hero-tagline .word span { transform: none; }
      .divider { transform: scaleX(1); }
    }
  