/* LKF Studio, main page styles */
    :root {
      --void: #0B0A08;              /* deepest black · loader, page base */
      --ink: #14130F;               /* near-black surfaces */
      --bone: #F4F1EA;              /* primary text on dark */
      --muted: #8C877D;             /* secondary text · ~5:1 on --ink */
      --accent: #B08650;            /* aged brass · ~5.6:1 on --ink */
      --line: rgba(244,241,234,0.14);
      --line-strong: rgba(244,241,234,0.32);

      --font-head: "Space Grotesk", system-ui, sans-serif;
      --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
      --ease: cubic-bezier(.2,.7,.2,1);
      --edge: clamp(1rem, 2.2vw, 1.75rem);
    }

    *, *::before, *::after { box-sizing: border-box; }
    html, body { margin: 0; }
    body {
      background: var(--void);
      color: var(--bone);
      font-family: var(--font-body);
      font-weight: 300;
      font-size: 1rem;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }
    h1, h2, h3, p { margin: 0; }
    a { color: inherit; }
    button { font: inherit; color: inherit; }
    :focus-visible { outline: 1px solid var(--accent); outline-offset: 5px; }
    .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

    /* ======================= LOADER ======================= */
    .loader { display: none; }
    .js .loader {
      display: grid; place-items: center; position: fixed; inset: 0; z-index: 200;
      background: var(--void);
      transition: opacity .9s var(--ease), visibility 0s .9s;
    }
    .loader-inner { display: grid; justify-items: center; gap: 1.4rem; }
    .loader-dots { display: flex; gap: .6rem; }
    .loader-dots svg { width: 26px; height: 26px; overflow: visible; }
    .loader-dots circle { fill: none; stroke-width: 1.4; }
    .loader-dots .track { stroke: rgba(244,241,234,.18); }
    .loader-dots .fill {
      stroke: var(--bone); stroke-dasharray: 76; stroke-dashoffset: 76;
      transform: rotate(-90deg); transform-origin: 13px 13px;
      animation: fillRing .7s var(--ease) forwards;
    }
    .loader-dots svg:nth-child(2) .fill { animation-delay: .28s; }
    .loader-dots svg:nth-child(3) .fill { animation-delay: .56s; stroke: var(--accent); }
    .loader-label { font-family: var(--font-head); font-size: .625rem; letter-spacing: .5em; color: var(--muted); padding-left: .5em; }
    @keyframes fillRing { to { stroke-dashoffset: 0; } }
    .loaded .loader { opacity: 0; visibility: hidden; }

    /* ======================= CHROME: header / index / legal ======================= */
    .top {
      position: fixed; top: 0; left: 0; right: 0; z-index: 60;
      display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
      padding: var(--edge) var(--edge) 0;
      pointer-events: none;
    }
    .top a { pointer-events: auto; }
    .wordmark {
      grid-column: 2; font-family: var(--font-head); font-weight: 500;
      font-size: .8125rem; letter-spacing: .42em; padding-left: .42em;
      text-decoration: none; white-space: nowrap;
    }
    .touch {
      grid-column: 3; justify-self: end;
      font-size: .6875rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase;
      text-decoration: none; padding: .5rem 0; white-space: nowrap;
      background: linear-gradient(var(--accent), var(--accent)) right bottom / 0 1px no-repeat;
      transition: background-size .5s var(--ease), color .3s;
    }
    .touch:hover, .touch:focus-visible { background-size: 100% 1px; background-position: left bottom; color: var(--accent); }
    .touch { border: 1px solid var(--line-strong); padding: .55rem .95rem; background: none; transition: border-color .3s, color .3s, background-color .3s; }
    .touch:hover, .touch:focus-visible { border-color: var(--accent); background: var(--accent); color: var(--void); }

    /* The 01 to 06 index (desktop only) */
    .index { display: none; }
    .legal { display: none; }

    /* ======================= SLIDES · shared ======================= */
    .slide {
      position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
      display: grid; place-items: center;
      padding: 6rem 1.25rem 5rem;
      background: var(--ink);
      isolation: isolate;
    }
    .bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
    .bg::after { /* vignette on every slide */
      content: ""; position: absolute; inset: 0; pointer-events: none;
      background: radial-gradient(ellipse at 50% 45%, transparent 35%, rgba(11,10,8,.85) 100%);
    }

    /* Slow "exposure" as a slide becomes current · like the photo rising out of the dark */
    .bg > .layer { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 1.8s var(--ease), transform 7s var(--ease); }
    .is-current .bg > .layer { opacity: 1; transform: scale(1); }

    /* Content reveal: fade + rise, staggered via --d */
    .rv { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: 0s; }
    .is-current .rv { opacity: 1; transform: none; transition-delay: var(--d, .3s); }

    .eyebrow {
      display: block; font-size: .6875rem; font-weight: 500;
      letter-spacing: .32em; text-transform: uppercase; color: var(--accent);
    }
    .title {
      font-family: var(--font-head); font-weight: 300; text-transform: uppercase;
      font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.25;
      letter-spacing: .3em;
      transition: letter-spacing 2.2s var(--ease), opacity 1s var(--ease), transform 1.1s var(--ease);
    }
    .is-current .title { letter-spacing: .16em; }
    .lead { font-size: clamp(.9375rem, 1.2vw, 1.0625rem); color: rgba(244,241,234,.82); max-width: 36rem; }
    .meta { font-size: .6875rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

    .more {
      display: inline-flex; align-items: center; gap: .9rem;
      background: none; border: 0; padding: .5rem 0; cursor: pointer; text-decoration: none;
      font-size: .6875rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
    }
    .more::after {
      content: ""; width: 2.25rem; height: 1px; background: var(--accent);
      transition: width .5s var(--ease);
    }
    .more:hover::after, .more:focus-visible::after { width: 3.75rem; }

    /* Buttons: outlined in brass so they read as clickable; solid for the main action on a slide */
    .cta-btn {
      display: inline-flex; align-items: center; justify-content: center; gap: .85rem; justify-self: start;
      min-height: 2.9rem; padding: .8rem 1.35rem; cursor: pointer; text-decoration: none;
      font-family: var(--font-body); font-size: .6875rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
      color: var(--bone); background: transparent; border: 1px solid var(--accent); border-radius: 0;
      transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
    }
    .cta-btn .arr { font-size: .95rem; letter-spacing: 0; line-height: 1; transition: transform .35s var(--ease); }
    .cta-btn:hover, .cta-btn:focus-visible { background: var(--accent); color: var(--void); }
    .cta-btn:hover .arr, .cta-btn:focus-visible .arr { transform: translateX(3px); }
    .cta-btn.up:hover .arr, .cta-btn.up:focus-visible .arr { transform: translate(2px, -2px); }
    .cta-btn.solid { background: var(--accent); color: var(--void); }
    .cta-btn.solid:hover, .cta-btn.solid:focus-visible { background: var(--bone); border-color: var(--bone); color: var(--void); }
    .centered .cta-btn { justify-self: center; }

    /* ======================= 01 · INTRO ======================= */
    #intro .glow {
      position: absolute; width: 70vmax; height: 70vmax; left: 50%; top: 50%;
      margin: -35vmax 0 0 -35vmax; border-radius: 50%;
      background: radial-gradient(circle, rgba(176,134,80,.10), transparent 60%);
      animation: breathe 12s ease-in-out infinite alternate;
    }
    @keyframes breathe { from { transform: translate(-6%, -4%) scale(.9); } to { transform: translate(6%, 5%) scale(1.1); } }
    .grain {
      position: absolute; inset: -50%; opacity: .07; pointer-events: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      animation: grain 1s steps(5) infinite;
    }
    @keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(1%,3%)} }

    .intro { text-align: center; display: grid; justify-items: center; gap: 1.5rem; }
    .signature { position: relative; font-weight: 400; margin-bottom: -.5rem; }
    .sig-text {
      display: block; font-family: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif; font-weight: 300;
      font-size: clamp(3.6rem, 10vw, 8.25rem); line-height: 1.05; letter-spacing: .005em; padding: .15em .4em .2em; margin: -.15em -.4em -.2em;
      color: var(--bone);
      -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
              mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
      -webkit-mask-size: 240% 100%; mask-size: 240% 100%;
      -webkit-mask-position: 100% 0; mask-position: 100% 0;
      -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    }
    .is-current .sig-text { animation: write 2.2s cubic-bezier(.45,.1,.3,1) .15s forwards; }
    @keyframes write { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
    .sig-swash { display: block; width: 74%; height: 1rem; margin: .45rem auto 0; overflow: visible; clip-path: inset(0 100% 0 0); }
    .sig-swash path { fill: var(--accent); stroke: none; }
    .is-current .sig-swash { clip-path: inset(0 0 0 0); transition: clip-path .75s cubic-bezier(.55,0,.15,1) 2.05s; }
    .mark { display: flex; align-items: center; gap: 1rem; }
    .mark::before, .mark::after { content: ""; width: 2.5rem; height: 1px; background: var(--line-strong); }
    .mark h1 { font-family: var(--font-head); font-weight: 500; font-size: .9375rem; letter-spacing: .5em; padding-left: .5em; }
    .statement {
      font-family: var(--font-head); font-weight: 300; text-transform: uppercase;
      font-size: clamp(1.1rem, 2.4vw, 1.9rem); line-height: 1.35; letter-spacing: .16em;
    }
    .statement .ln { display: block; overflow: hidden; }
    .statement .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
    .is-current .statement .ln > span { transform: none; }
    .is-current .statement .ln:nth-child(1) > span { transition-delay: 1.5s; }
    .is-current .statement .ln:nth-child(2) > span { transition-delay: 1.7s; }
    .intro .lead { max-width: 30rem; color: var(--muted); }

    .scroll-hint {
      /* centred with auto margins, not a transform: the fade in animation (.rv) replaces transforms */
      position: absolute; left: 0; right: 0; bottom: 1.75rem; width: max-content; margin-inline: auto;
      display: grid; justify-items: center; gap: .6rem; text-decoration: none;
      font-size: .5625rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
    }
    .scroll-hint .h-desk, .scroll-hint .h-touch { margin-right: -.3em; } /* cancel the spacing after the last letter so the word sits dead centre */
    .mouse { width: 18px; height: 28px; border: 1px solid var(--bone); border-radius: 10px; position: relative; }
    .mouse::after {
      content: ""; position: absolute; left: 50%; top: 6px; width: 2px; height: 5px; margin-left: -1px;
      background: var(--bone); border-radius: 1px; animation: wheel 2s var(--ease) infinite;
    }
    @keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }

    /* ======================= 02 · STUDIO ======================= */
    #studio .beams { position: absolute; inset: 0; transform: rotate(var(--tilt, 0deg)) translateX(var(--shift, 0px)); transition: transform 1.6s var(--ease); }
    #studio .beam {
      position: absolute; top: -50%; left: 35%; width: 38vw; height: 200%;
      background: linear-gradient(90deg, transparent, rgba(244,241,234,.07) 45%, rgba(176,134,80,.06) 55%, transparent);
      transform: rotate(24deg); filter: blur(24px);
      animation: beam 16s ease-in-out infinite alternate;
    }
    #studio .beam.b2 { left: 55%; width: 16vw; opacity: .7; animation-duration: 21s; animation-delay: -6s; }
    @keyframes beam { from { transform: rotate(24deg) translateX(-8vw); } to { transform: rotate(20deg) translateX(10vw); } }
    #studio .contours { position: absolute; left: 50%; top: 58%; width: 150vmax; height: 150vmax; margin: -75vmax 0 0 -75vmax; opacity: .5; animation: turn 180s linear infinite; }
    @keyframes turn { to { transform: rotate(360deg); } }
    #studio .centered { position: relative; z-index: 1; }
    .centered { text-align: center; display: grid; justify-items: center; gap: 1.5rem; max-width: 46rem; }

    /* ======================= 03/04 · PRODUCTS ======================= */
    .has-steps { display: block; padding: 0; }
    .track { position: absolute; inset: 0; z-index: -1; }
    .pane { position: absolute; left: 0; right: 0; height: 100%; overflow: hidden; }
    .p-draw { top: 0; }
    .p-photos { top: 100%; }
    .snap .track { transition: transform 1.4s cubic-bezier(.7,0,.2,1); }
    .snap .step-1 .track { transform: translateY(-100%); }
    .p-draw .blueprint, .p-draw .drawing { opacity: 0; transition: opacity 1.8s var(--ease); }
    .is-current .p-draw .blueprint, .is-current .p-draw .drawing { opacity: 1; }

    .product { position: absolute; right: clamp(1.25rem, 6vw, 6rem); bottom: 4.5rem; width: min(27rem, 34vw); z-index: 2; }
    .product-copy { display: grid; gap: 1.1rem; transition: transform 1.4s cubic-bezier(.7,0,.2,1); }
    .step-1 .product-copy { transform: translateY(var(--lift, 0px)); }
    .product-copy .title { font-size: clamp(2rem, 4.6vw, 3.6rem); }
    .steps { display: flex; gap: 1.5rem; margin-top: .6rem; }
    .steps button {
      background: none; border: 0; padding: .4rem 0; cursor: pointer; color: var(--muted);
      font-size: .625rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
      border-bottom: 1px solid transparent; transition: color .3s, border-color .3s;
    }
    .steps button[aria-pressed="true"] { color: var(--bone); border-color: var(--accent); }
    .steps button:hover { color: var(--bone); }
    .ph-tag {
      position: absolute; top: 5.5rem; right: var(--edge); z-index: 2;
      font-size: .5625rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(140,135,125,.85);
    }

    /* Drawing board: grid lines are sized by JS so 1 major square = 10 mm at the drawing's scale */
    .blueprint {
      position: absolute; inset: 0;
      --maj: 40px; --min: 8px; --ox: 0px; --oy: 0px;
      background-image:
        linear-gradient(rgba(244,241,234,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244,241,234,.07) 1px, transparent 1px),
        linear-gradient(rgba(244,241,234,.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244,241,234,.022) 1px, transparent 1px);
      background-size: var(--maj) var(--maj), var(--maj) var(--maj), var(--min) var(--min), var(--min) var(--min);
      background-position: var(--ox) var(--oy);
    }
    /* Photo pane grid continues the drawing grid (same scale and phase, see layoutDrawings),
       full strength at the seam so the sheet reads as one, easing back behind the photos. */
    .blueprint.faint {
      -webkit-mask-image: linear-gradient(#000 0, rgba(0,0,0,.55) 38%, rgba(0,0,0,.55) 100%);
              mask-image: linear-gradient(#000 0, rgba(0,0,0,.55) 38%, rgba(0,0,0,.55) 100%);
    }
    .drawing { position: absolute; left: 0; top: 0; overflow: visible; }
    .drawing .stroke { fill: none; stroke: var(--bone); stroke-width: .32; stroke-dasharray: 1400; stroke-dashoffset: 1400; opacity: .8; }
    .drawing .thin { stroke-width: .2; opacity: .35; stroke-dasharray: 1.4 1.8; stroke-dashoffset: 0; }
    .drawing .dim { stroke: var(--accent); opacity: 1; stroke-width: .25; }
    .drawing text { fill: var(--muted); font-family: var(--font-head); font-size: 3.2px; letter-spacing: .08em; }
    .drawing text.cap { font-size: 2.4px; letter-spacing: .3em; }
    .drawing .u { display: none; } /* " mm" after each dimension, shown on phones only */
    .is-current .drawing .stroke:not(.thin) { transition: stroke-dashoffset 3.2s var(--ease); stroke-dashoffset: 0; }
    .is-current .drawing .s2 { transition-delay: .6s !important; }
    .is-current .drawing .s3 { transition-delay: 1.2s !important; }
    .drawing .lbl { opacity: 0; transition: opacity 1s 2.2s; }
    .is-current .drawing .lbl { opacity: 1; }

    /* Photo pane */
    .gallery { position: absolute; display: grid; gap: 1.25rem; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; }
    .snap .gallery { left: 150px; top: 100px; width: calc(60% - 190px); bottom: 90px; }
    .ph { position: relative; margin: 0; overflow: hidden; background: rgba(20,19,15,.85); border: 1px solid var(--line); }
    .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .ph-a { grid-row: 1 / 3; }
    .ph::before { /* placeholder texture: fine diagonal hatch, removed automatically once an <img> is inside */
      content: ""; position: absolute; inset: 0;
      background: repeating-linear-gradient(135deg, rgba(244,241,234,.035) 0 1px, transparent 1px 9px);
    }
    .ph::after { /* crop marks */
      content: ""; position: absolute; inset: 10px; pointer-events: none;
      background:
        linear-gradient(var(--accent), var(--accent)) left top / 14px 1px no-repeat,
        linear-gradient(var(--accent), var(--accent)) left top / 1px 14px no-repeat,
        linear-gradient(var(--accent), var(--accent)) right bottom / 14px 1px no-repeat,
        linear-gradient(var(--accent), var(--accent)) right bottom / 1px 14px no-repeat;
      opacity: .7;
    }
    .ph:has(img)::before { display: none; }
    .ph-lbl { position: absolute; left: 1.4rem; bottom: 1.2rem; font-size: .5625rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
    .ph:has(img) .ph-lbl { display: none; }

    /* Crosshair (studio + product slides) */
    .caliper { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s; z-index: 1; }
    .caliper.on { opacity: 1; }
    .caliper .cx, .caliper .cy { position: absolute; background: rgba(244,241,234,.16); }
    .caliper .cx { left: 0; right: 0; height: 1px; top: var(--y, 50%); }
    .caliper .cy { top: 0; bottom: 0; width: 1px; left: var(--x, 50%); }
    .caliper .ring { position: absolute; left: var(--x); top: var(--y); width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 1px solid var(--accent); border-radius: 50%; }
    .caliper .ring::before, .caliper .ring::after { content: ""; position: absolute; background: var(--accent); }
    .caliper .ring::before { left: 50%; top: -6px; bottom: -6px; width: 1px; }
    .caliper .ring::after { top: 50%; left: -6px; right: -6px; height: 1px; }
    .caliper .read { position: absolute; font-family: var(--font-head); font-size: .625rem; letter-spacing: .18em; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
    .caliper .rx { left: calc(var(--x) + 14px); top: 5.2rem; }
    .caliper .ry { right: 1.6rem; top: calc(var(--y) + 8px); }
    .has-caliper { cursor: none; }
    .has-caliper a, .has-caliper button { cursor: pointer; }
    /* hide the crosshair while pointing at something clickable, so the button itself is what you see */
    .has-caliper:has(a:hover, button:hover) .caliper { opacity: 0; }

    /* ======================= 05 · TEAM (arc) ======================= */
    .team { display: grid; justify-items: center; gap: 2rem; width: 100%; text-align: center; }
    .arc-wrap { display: none; }
    .team-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
    .team-list .who { display: block; font-family: var(--font-head); font-size: 1.125rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
    .team-list .role { display: block; font-size: .8125rem; color: var(--muted); letter-spacing: .06em; }
    .team-list a.person { justify-items: center; }
    .split { font-size: .6875rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
    .split b { color: var(--accent); font-weight: 500; }
    #team .rings { position: absolute; left: 50%; top: 62%; width: 120vmin; height: 120vmin; margin: -60vmin 0 0 -60vmin; }
    #team .rings circle { fill: none; stroke: rgba(244,241,234,.07); stroke-width: .12; }

    /* ======================= 06 · CONTACT (dot grid + spotlight, drawn in JS) ======================= */
    .contact { display: grid; justify-items: center; text-align: center; gap: 1.4rem; max-width: 44rem; }
    .contact .next { color: var(--muted); max-width: 30rem; font-size: .9375rem; }
    .contact .rule { width: 1px; height: 3rem; background: var(--line-strong); }
    .email {
      font-family: var(--font-head); font-weight: 300; font-size: clamp(1.05rem, 2.6vw, 1.9rem);
      letter-spacing: .04em; text-decoration: none; word-break: break-word;
      padding-bottom: .4rem; border-bottom: 1px solid var(--accent); transition: color .3s;
    }
    .email:hover, .email:focus-visible { color: var(--accent); }
    .foot-mobile { font-size: .6875rem; color: var(--muted); letter-spacing: .06em; margin-top: 2rem; }

    /* ======================= READ MORE dialog ======================= */
    dialog.panel {
      width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border: 0; padding: 0;
      background: rgba(11,10,8,.96); color: var(--bone);
      opacity: 0; transition: opacity .6s var(--ease);
    }
    dialog.panel[open] { display: grid; place-items: center; }
    dialog.panel.show { opacity: 1; }
    dialog.panel::backdrop { background: transparent; }
    .panel-body { max-width: 40rem; padding: 6rem 1.5rem; display: grid; gap: 1.75rem; overflow-y: auto; max-height: 100%; }
    .panel-body p { font-size: 1.0625rem; line-height: 1.85; color: rgba(244,241,234,.86); }
    .close {
      position: fixed; top: var(--edge); right: var(--edge); background: none; border: 0; cursor: pointer;
      font-size: .6875rem; letter-spacing: .3em; text-transform: uppercase; padding: .5rem 0;
      display: inline-flex; align-items: center; gap: .75rem;
    }
    .close::before { content: ""; width: 1.5rem; height: 1px; background: var(--accent); }

    /* ======================= DESKTOP: full-screen snap mode ======================= */
    .snap, .snap body { height: 100%; overflow: hidden; overscroll-behavior: none; }
    .snap .slide {
      position: fixed; inset: 0; min-height: 0; padding: 5rem clamp(8rem, 12vw, 12rem);
      opacity: 0; visibility: hidden;
      transition: opacity 1s var(--ease), visibility 0s linear 1s;
    }
    .snap .slide.is-current { opacity: 1; visibility: visible; transition: opacity 1s var(--ease) .15s, visibility 0s; z-index: 1; }
    .snap .has-steps { padding: 0; }
    .snap .foot-mobile { display: none; }

    .snap .index {
      display: block; position: fixed; left: var(--edge); top: 50%; transform: translateY(-50%); z-index: 50;
    }
    .index::before { content: ""; position: absolute; left: 7px; top: -2.5rem; bottom: -2.5rem; width: 1px; background: var(--line-strong); }
    .index ol { list-style: none; margin: 0; padding: 0; }
    .index a {
      position: relative; display: flex; align-items: flex-end; justify-content: space-between;
      width: 7.5rem; height: 2.3rem; padding: 0 0 .45rem 1.1rem;
      text-decoration: none; font-size: .6875rem; letter-spacing: .06em; color: var(--muted);
      transition: color .4s;
    }
    .index a::after { /* the hairline under each number */
      content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 2.1rem;
      background: var(--line-strong); transition: width .8s var(--ease), background-color .4s;
    }
    .index .lab {
      font-size: .5625rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
      opacity: 0; transform: translateX(-8px); transition: opacity .5s, transform .6s var(--ease);
    }
    .index a:hover { color: var(--bone); }
    .index a:hover::after { width: 3.2rem; }
    .index a[aria-current="true"] { color: var(--bone); font-weight: 500; }
    .index a[aria-current="true"]::after { width: 100%; background: var(--bone); }
    .index a[aria-current="true"] .lab { opacity: 1; transform: none; transition-delay: .35s; }

    .snap .legal {
      display: flex; gap: 1.5rem; position: fixed; left: var(--edge); bottom: var(--edge); z-index: 50;
      font-size: .625rem; letter-spacing: .06em; color: var(--muted);
    }
    .counter {
      position: fixed; right: var(--edge); bottom: var(--edge); z-index: 50; display: none;
      font-family: var(--font-head); font-size: .6875rem; letter-spacing: .2em; color: var(--muted);
    }
    .snap .counter { display: block; }
    .counter b { color: var(--bone); font-weight: 500; }

    .snap .arc-wrap {
      display: block; position: relative;
      width: min(820px, 64vw, calc((100vh - 350px) * 2)); aspect-ratio: 2 / 1;
      margin-top: 2.5rem; /* room for the top name and its About button under the heading */
    }
    .snap .team-list.stack { display: none; }
    .arc-wrap svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
    .arc-wrap .arc { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 1400; stroke-dashoffset: 1400; }
    .is-current .arc-wrap .arc { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease) .3s; }
    .node { position: absolute; transform: translate(-50%, -50%); }
    .node .dot {
      display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--bone);
      transform: scale(0); transition: transform .6s var(--ease);
    }
    .is-current .node .dot { transform: scale(1); transition-delay: var(--d); }
    .node .txt {
      position: absolute; top: 50%; white-space: nowrap; transform: translateY(-50%);
      opacity: 0; transition: opacity .8s var(--ease); display: grid; gap: .1rem;
    }
    .is-current .node .txt { opacity: 1; transition-delay: calc(var(--d) + .2s); }
    .node.l .txt { right: 1.4rem; text-align: right; }
    .node.r .txt { left: 1.4rem; text-align: left; }
    .node.t .txt { left: 50%; top: auto; bottom: 1.4rem; transform: translateX(-50%); text-align: center; }
    .node .who { font-family: var(--font-head); font-size: .9375rem; letter-spacing: .14em; text-transform: uppercase; }
    /* names open a page about that person */
    a.person { text-decoration: none; color: inherit; display: grid; gap: .1rem; }
    a.person .who { transition: color .3s; }
    a.person .about {
      justify-self: inherit; margin-top: .45rem; display: inline-flex; align-items: center; gap: .5rem;
      font-size: .5625rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--accent);
      border: 1px solid rgba(176,134,80,.55); padding: .35rem .65rem; transition: background-color .3s, color .3s;
    }
    .node.l a.person .about { justify-self: end; }
    .node.r a.person .about { justify-self: start; }
    .node.t a.person .about { justify-self: center; }
    a.person:hover .who, a.person:focus-visible .who { color: var(--accent); }
    a.person:hover .about, a.person:focus-visible .about { background: var(--accent); color: var(--void); }
    .node:has(a.person:hover) .dot { background: var(--accent); transform: scale(1.4); }
    .node .txt { pointer-events: auto; }
    .node .role { font-size: .75rem; color: var(--muted); letter-spacing: .06em; }
    .node:hover .dot { background: var(--accent); }
    .arc-center { position: absolute; left: 0; right: 0; bottom: 0; display: grid; justify-items: center; gap: .6rem; }
    .arc-center .lkf { font-family: var(--font-head); font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 300; letter-spacing: .3em; padding-left: .3em; line-height: 1; }

    .no-anim .track, .no-anim .product-copy { transition: none !important; }

    /* Reduced motion: keep structure, drop movement */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation: none !important; transition-duration: .01s !important; transition-delay: 0s !important; }
    }
    /* Intro hint: mouse on desktop, swipe on touch screens */
    .scroll-hint .h-touch { display: none; }
    .team-sum { display: none; }
    @media (hover: none) and (pointer: coarse) {
      .scroll-hint .h-desk { display: none; }
      .scroll-hint .h-touch { display: inline; }
      .mouse { width: 1px; height: 30px; border: 0; border-radius: 0; background: var(--line-strong); }
      .mouse::after { top: auto; bottom: 0; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; animation: swipe 2.2s var(--ease) infinite; }
      @keyframes swipe { 0% { opacity: 0; transform: translateY(0); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateY(-26px); } }
    }

    /* ======================= PHONES & SMALL TABLETS (under 900 px) ======================= */
    @media (max-width: 899px) {
      /* Header: wordmark centred like desktop, smaller "Get in touch" so both fit */
      .top {
        background: linear-gradient(rgba(11,10,8,.92), rgba(11,10,8,.6) 55%, transparent);
        padding: calc(var(--edge) + env(safe-area-inset-top)) var(--edge) 1.4rem;
      }
      .wordmark { font-size: .6875rem; letter-spacing: .36em; padding-left: .36em; }
      .touch { font-size: .5625rem; letter-spacing: .2em; padding: .5rem .7rem; }
      .team-sum { display: grid; justify-items: center; gap: .5rem; }
      .team-sum .lkf { font-family: var(--font-head); font-size: 2.1rem; font-weight: 300; letter-spacing: .3em; padding-left: .3em; line-height: 1; }
    }
    @media (max-width: 400px) {
      .wordmark { letter-spacing: .3em; padding-left: .3em; }
      .touch { letter-spacing: .14em; padding: .45rem .55rem; }
    }
    @media (max-width: 354px) {
      .top { grid-template-columns: auto 1fr; }
      .wordmark { grid-column: 1; padding-left: 0; }
      .touch { grid-column: 2; }
    }

    /* Free scroll fallback (phones held sideways, or no JavaScript): stacked layout */
    @media (max-width: 899px) {
      :root:not(.snap) .has-steps { display: flex; flex-direction: column; align-items: stretch; padding: 4.5rem 0 3rem; }
      :root:not(.snap) .track { display: contents; }
      :root:not(.snap) .pane { position: relative; top: auto; height: auto; }
      :root:not(.snap) .p-draw { order: 1; height: 58vh; height: 58svh; }
      :root:not(.snap) .product { order: 2; position: relative; right: auto; bottom: auto; width: auto; padding: 1rem 1.25rem 0; }
      :root:not(.snap) .p-photos { order: 3; padding: 2rem 1.25rem 0; }
      :root:not(.snap) .gallery { position: relative; grid-template-columns: 1fr; grid-template-rows: none; }
      :root:not(.snap) .ph-a { grid-row: auto; }
      :root:not(.snap) .ph { aspect-ratio: 4 / 3; }
      :root:not(.snap) .steps { display: none; }
      :root:not(.snap) .ph-tag { top: 4.5rem; }
    }
    @media (max-width: 899px) and (min-width: 600px) {
      :root:not(.snap) .gallery { grid-template-columns: repeat(3, 1fr); }
    }

    /* Phone snap mode: one slide per screen, same transitions as desktop.
       Everything sits centred; the 01 to 06 index becomes a row of hairlines at the bottom. */
    @media (max-width: 899px) {
      .snap .slide { padding: calc(5.25rem + env(safe-area-inset-top)) 1.5rem calc(4rem + env(safe-area-inset-bottom)); }
      .snap .has-steps { padding: 0; }

      /* Bottom: one navigation element only, the 01 / 06 counter, centred */
      .snap .index { display: none; }
      .snap .counter { left: 0; right: 0; bottom: calc(var(--edge) + env(safe-area-inset-bottom)); text-align: center; padding-left: .2em; }
      .snap .legal { display: none; }
      .snap .scroll-hint { bottom: calc(3.6rem + env(safe-area-inset-bottom)); }

      /* Products: drawing (and later the photos) on top, copy centred underneath.
         --g-top / --g-bot are measured in JS so drawing and photos fill the space above the copy. */
      .snap .product { left: 1.5rem; right: 1.5rem; width: auto; bottom: calc(3.6rem + env(safe-area-inset-bottom)); }
      .snap .product-copy { justify-items: center; text-align: center; gap: .8rem; }
      .snap .product-copy .title { font-size: clamp(1.9rem, 9vw, 2.6rem); }
      .snap .product .lead { font-size: .875rem; line-height: 1.6; max-width: 26rem; }
      .snap .product .cta-btn { justify-self: center; }
      .snap .steps { justify-content: center; margin-top: 0; }
      .snap .step-1 .product-copy { transform: none; }
      /* Phones show less: no drawing tag, no eyebrow, no launch/size line; the product name in brass */
      .snap .ph-tag, .snap .product-copy .eyebrow, .snap .product-copy .meta { display: none; }
      .snap .product-copy .title { color: var(--accent); }
      .drawing .u { display: inline; }
      .snap .drawing text.lbl { font-size: 4.6px; letter-spacing: .04em; }
      .snap .drawing text.cap { display: none; }
      /* photos: main photo full width on top, the other two side by side underneath */
      .snap .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 1.3fr 1fr; }
      .snap .ph-a { grid-row: auto; grid-column: 1 / 3; }
      /* Photos screen: only the photos and the main button. The rest of the copy fades out
         and comes back (staggered, like the first reveal) when you swipe back to the drawing. */
      .snap .step-1 .product-copy > :not(.cta-btn) {
        opacity: 0 !important; transform: translateY(-12px) !important; pointer-events: none;
        transition: opacity .5s var(--ease) 0s, transform .6s var(--ease) 0s !important;
      }
      .snap .gallery { left: 1.25rem; right: 1.25rem; width: auto; top: var(--g-top, 6.5rem); bottom: var(--g-bot, 55%); gap: .6rem; }
      .snap .ph::after { inset: 7px; background-size: 10px 1px, 1px 10px, 10px 1px, 1px 10px; }

      /* Team: the desktop arc becomes a vertical line, names appear one by one along it */
      .snap .team { gap: 1rem; }
      .snap .arc-wrap { display: none; }
      .snap .team-list.stack { display: grid; gap: 0; }
      .snap .team-list.stack li { display: grid; justify-items: center; }
      .snap .team-list.stack li:nth-child(1) { --d: .9s; }
      .snap .team-list.stack li:nth-child(2) { --d: 1.2s; }
      .snap .team-list.stack li:nth-child(3) { --d: 1.5s; }
      .snap .team-list.stack li::before {
        content: ""; width: 1px; height: 1.5rem; margin-bottom: .5rem; background: var(--line-strong);
        transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease);
      }
      .snap .team-list.stack li:first-child::before { height: .9rem; }
      .snap .is-current .team-list.stack li::before { transform: none; transition-delay: calc(var(--d) - .35s); }
      .snap .team-list.stack a.person::before {
        content: ""; justify-self: center; width: 9px; height: 9px; margin-bottom: .55rem; border-radius: 50%;
        background: var(--bone); transform: scale(0); transition: transform .6s var(--ease), background-color .3s;
      }
      .snap .is-current .team-list.stack a.person::before { transform: scale(1); transition-delay: var(--d); }
      .snap .team-list.stack a.person:active::before { background: var(--accent); }
      .snap .team-list.stack a.person > span { opacity: 0; transition: opacity .8s var(--ease); }
      .snap .is-current .team-list.stack a.person > span { opacity: 1; transition-delay: calc(var(--d) + .2s); }
      .snap .team-list.stack .who { font-size: 1rem; letter-spacing: .14em; }
      .team-list .role, .team-sum .split { display: none; }
      .snap .team-list.stack a.person .about { justify-self: center; margin-top: .4rem; }
      .snap .team-sum { margin-top: .6rem; }
      #team .rings { top: 55%; }

      /* Contact: the footer line lives on the slide itself */
      .snap .foot-mobile { display: block; margin-top: 1rem; max-width: 18rem; }
    }

    /* Shorter phones (iPhone SE, small Androids): tighten spacing so every slide still fits */
    @media (max-width: 899px) and (max-height: 740px) {
      .snap .slide { padding-top: calc(4.6rem + env(safe-area-inset-top)); padding-bottom: calc(3.4rem + env(safe-area-inset-bottom)); }
      .snap .product { bottom: calc(3rem + env(safe-area-inset-bottom)); }
      .snap .product-copy { gap: .6rem; }
      .snap .product .lead { font-size: .8125rem; line-height: 1.5; }
      .snap .product .cta-btn { min-height: 2.6rem; padding: .65rem 1.2rem; }
      .snap .team-list.stack li::before { height: .9rem; margin-bottom: .35rem; }
      .snap .team-list.stack a.person::before { margin-bottom: .4rem; }
      .snap .team-sum .lkf { font-size: 1.7rem; }
      .snap .contact { gap: 1rem; }
      .snap .contact .rule { height: 2rem; }
    }

