/* ==========================================================================
   ADW Studium — Homepage
   Minimal, clean sci-fi on a white ground. Hairlines only, no drop shadows.
   Type: Space Grotesk (headlines, UI) · Source Serif 4 (reading text) · IBM Plex Mono (labels)
   ========================================================================== */

@font-face { font-family: 'Space Grotesk'; font-weight: 300; font-display: swap; src: url('../fonts/space-grotesk-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 400; font-display: swap; src: url('../fonts/space-grotesk-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 500; font-display: swap; src: url('../fonts/space-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 600; font-display: swap; src: url('../fonts/space-grotesk-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/source-serif-4-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-weight: 400; font-style: italic; font-display: swap; src: url('../fonts/source-serif-4-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/source-serif-4-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 500; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }

:root {
  --bg: #F7F5F1;
  --bg-2: #EFECE5;
  --ink: #12151C;
  --ink-2: #3A3F4B;
  --muted: #6B6F7A;
  --blue: #1665F6;
  --blue-deep: #0024D8;
  --line: rgba(18, 21, 28, .14);
  --line-soft: rgba(18, 21, 28, .08);
  --glass: rgba(255, 255, 255, .55);

  --display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --read: 'Source Serif 4', 'Iowan Old Style', Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  --brand: 'General Sans', 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --g: clamp(20px, 4vw, 56px);
  --wrap: 1240px;
  --sec: clamp(96px, 13vw, 190px);
  --ov: min(22vh, 210px);   /* how far each section rises over the previous one */
  --cool: #F3F5F8;
  /* the shared spatial ground: warm light from the left, cool air to the right (as in the hero sky) */
  --space: linear-gradient(100deg, #F5EFEB 0%, #ECECF0 35%, #E1E7EF 65%, #D3DDEA 100%);          /* air: the cooler alternate ground */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.rm { scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--read); font-size: 19px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1.5px solid var(--blue); outline-offset: 3px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skiplink { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; font: 500 14px var(--display); text-decoration: none; border-radius: 4px; }
.skiplink:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--g)); margin: 0 auto; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; font: 500 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.h2 { margin: 0; font: 500 clamp(36px, 5vw, 72px)/1.02 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.lede { margin: 26px 0 0; max-width: 34em; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.55; color: var(--ink-2); }

/* buttons & links — flat, hairline, no shadows */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--ink); color: #fff; font: 500 15px/1 var(--display); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover { background: var(--blue); }
.btn:hover svg { transform: translateY(2px); }
.btn:active { transform: scale(.98); }
.textbtn { background: none; border: 0; padding: 6px 2px; cursor: pointer; font: 500 13px/1 var(--display); color: var(--ink-2); border-bottom: 1px solid var(--line); }
.textbtn:hover { color: var(--blue); border-color: var(--blue); }
.link { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font: 500 16px/1.2 var(--display); color: var(--blue); text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid transparent; transition: border-color .3s; }
.link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.link:hover { border-color: currentColor; }
.link:hover svg { transform: translateX(3px); }

/* ================= Header ================= */
.hdr { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center;
  padding: calc(18px + env(safe-area-inset-top)) var(--g) 18px; pointer-events: none; }
.hdr > * { pointer-events: auto; }
.hdr__brand { display: inline-flex; align-items: center; gap: 10px; font: 600 17px/1 var(--brand); letter-spacing: -.01em; text-decoration: none; color: var(--ink); }
.hdr__brand img { width: 28px; height: 28px; object-fit: contain; }
.hdr__right { display: flex; align-items: center; gap: 10px; }
.pill { display: flex; align-items: center; height: 40px; padding: 0 6px; border-radius: 999px;
  background: var(--glass); border: 1px solid rgba(255,255,255,.9); outline: 1px solid var(--line-soft); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  transition: opacity .8s var(--ease), transform .8s var(--ease); }
.pill a { padding: 8px 12px; font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--ink); border-radius: 999px; }
.pill a:hover { color: var(--blue); }
.pill__rule { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--ink) 30%, var(--blue) 70%, transparent); opacity: .5; }
.motion-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  background: var(--glass); border: 1px solid rgba(255,255,255,.9); outline: 1px solid var(--line-soft); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: opacity .8s var(--ease); }
.motion-btn__icon { display: flex; gap: 3px; height: 10px; }
.motion-btn__icon i { width: 1.5px; height: 100%; background: var(--ink); }
.motion-btn[aria-pressed="true"] .motion-btn__icon i:first-child { width: 0; height: 0; background: none; border-left: 8px solid var(--ink); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.motion-btn[aria-pressed="true"] .motion-btn__icon i:last-child { display: none; }
.hdr__skip { height: 40px; padding: 0 16px; white-space: nowrap; border-radius: 999px; cursor: pointer; font: 500 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: opacity .6s var(--ease); }
.hdr__skip:hover { border-color: var(--ink); }
html:not(.intro-play) .hdr__skip { display: none; }
.intro-play .pill, .intro-play .motion-btn { opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden; position: absolute; right: 0; }
.hdr__right { position: relative; }

/* ================= Hero ================= */
.hero { --day: 1; --fg: #12151C; --vh: 100vh; position: relative; z-index: 1; height: calc(var(--vh) + var(--ov)); min-height: calc(600px + var(--ov)); overflow: hidden; color: var(--fg); background: #C9D2DE; }
@supports (height: 100svh) { .hero { --vh: 100svh; } }
.intro-play .hero { --day: 0; --fg: #F3F1EC; background: #070b18; }
.hero__scene { position: absolute; left: 0; right: 0; top: 0; height: var(--vh); min-height: 600px; will-change: transform; }
.hero__scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; display: none; }
.no-webgl .hero__poster { display: block; }
.no-webgl #heroCanvas { display: none; }
.hero__grain { position: absolute; inset: -50%; pointer-events: none; opacity: calc(.035 + (1 - var(--day)) * .07); mix-blend-mode: overlay;
  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 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
.rm .hero__grain, .motion-off .hero__grain { animation: none; }

/* header follows the light during the opening */
.intro-play .hdr__brand, .intro-play .hdr__skip { color: var(--hfg, #F3F1EC); }
.intro-play .hdr__skip { background: rgba(255,255,255,.06); border-color: color-mix(in srgb, var(--hfg, #F3F1EC) 35%, transparent); }
.hdr__brand, .hdr__skip { transition: color .4s; }

/* opening lines */
.intro { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.intro__line { position: absolute; left: var(--g); right: var(--g); top: 72%; margin: 0; transform: translateY(-50%); text-align: center; visibility: hidden;
  font: 500 clamp(30px, 4.4vw, 72px)/1.05 var(--display); letter-spacing: -.035em; color: var(--fg); text-wrap: balance; }
.intro__line.is-active { visibility: visible; }

/* letter decode (from the original hero) */
.word { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; position: relative; opacity: 0; filter: blur(10px); transform: translate3d(0, .06em, 0);
  transition: opacity 1s var(--ease), filter 1.1s var(--ease), transform 1.1s var(--ease); }
.ch::after { content: attr(data-g); position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); font: 500 .5em/1 var(--mono); letter-spacing: 0; opacity: 0; pointer-events: none; }
.ch.is-scr { opacity: .5; filter: blur(1.5px); color: transparent; transition-duration: .2s; }
.ch.is-scr::after { opacity: 1; color: var(--fg); }
.hero__line--2 .ch.is-scr::after { color: var(--blue); }
.ch.is-in { opacity: 1; filter: blur(0); transform: none; }
.ch.is-out { opacity: 0; filter: blur(12px); transform: translate3d(0, -.04em, 0); transition: opacity .75s ease, filter .85s ease, transform .85s ease; }

/* floating letters & numbers */
.glyphs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; }
.glyph { position: absolute; transform: translate(-50%, -50%); font: 500 13px/1 var(--mono); letter-spacing: .04em; color: var(--fg); opacity: 0; filter: blur(4px);
  transition: opacity 1.1s ease, filter 1.1s ease, transform 4.5s linear; }
.glyph.is-on { opacity: .55; filter: blur(0); }
.glyph--big { font-size: 17px; }
.glyph--dim.is-on { opacity: .28; }
.glyph--burst { color: var(--blue); transition: opacity .5s ease, filter .5s ease, transform 1.6s cubic-bezier(.2,.7,.3,1); }
.glyph--burst.is-on { opacity: .9; }
.glyph.is-off { opacity: 0; filter: blur(4px); }
.glyph-corner { position: absolute; width: 7px; height: 7px; border: 1px solid var(--fg); transform: translate(-50%, -50%) scale(.4); opacity: 0; transition: opacity .6s ease, transform .9s var(--ease); }
.glyph-corner.is-on { opacity: .45; transform: translate(-50%, -50%) scale(1); }
.glyph-corner.is-off { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
.glyph-index { position: absolute; transform: translateY(-50%); font: 500 10px/1 var(--mono); letter-spacing: .2em; color: var(--fg); opacity: 0; transition: opacity .8s ease; }
.glyph-index.is-on { opacity: .5; }


/* ---- final frame, after the reference: logo above, quiet line below ---- */
.hero__top { position: absolute; z-index: 4; left: 0; right: 0; top: clamp(78px, 10.5vh, 120px); display: grid; justify-items: center; gap: clamp(14px, 2.4vh, 26px); padding: 0 var(--g); will-change: transform, opacity; }
.hero__logo { margin: 0; width: clamp(250px, 29vw, 470px); line-height: 0; }
.logo { width: 100%; height: auto; overflow: visible; }
.logo g { stroke: #1D2D35; fill: none; }
.js .logo path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .hero.logo-on .logo path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s cubic-bezier(.6,.05,.25,1) calc(var(--i) * .16s); }
.js .hero.logo-on .logo__studium path { transition-duration: .7s; transition-delay: calc(.8s + var(--i) * .07s); }
.js .hero.logo-now .logo path { transition: none !important; }

.hero__eyebrow { margin: 0; display: flex; align-items: center; gap: 18px; font: 400 12px/1 var(--mono); letter-spacing: .38em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.hero__rule { width: clamp(28px, 4vw, 58px); height: 1px; background: currentColor; opacity: .55; transform: scaleX(0); transition: transform 1.2s var(--ease) .3s; }
.hero__rule:first-child { transform-origin: right; } .hero__rule:last-child { transform-origin: left; }
.hero.logo-on .hero__rule { transform: none; }
.intro-play .hero__eyebrow-txt { visibility: hidden; }
.intro-play .hero__eyebrow-txt.is-active { visibility: visible; }

.hero__bottom { position: absolute; z-index: 4; left: 0; right: 0; bottom: calc(clamp(36px, 7vh, 72px) + var(--ov)); display: grid; justify-items: center; gap: clamp(16px, 2.4vh, 26px); padding: 0 var(--g); text-align: center; will-change: transform, opacity; }
.hero__line { margin: 0; font: 400 clamp(19px, 1.75vw, 27px)/1.25 var(--display); letter-spacing: -.01em; color: var(--ink); }
.intro-play .hero__line { visibility: hidden; }
.intro-play .hero__line.is-active { visibility: visible; }
.btn-ghost { display: inline-flex; align-items: center; gap: 16px; height: 50px; padding: 0 30px; border-radius: 999px; border: 1px solid rgba(18,21,28,.55);
  background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 400 15px/1 var(--display); letter-spacing: .08em; color: var(--ink); text-decoration: none; transition: background .3s, border-color .3s, color .3s; }
.btn-ghost svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ghost:hover svg { transform: translateY(2px); }

.hero__scroll { position: absolute; z-index: 4; right: var(--g); bottom: calc(clamp(36px, 7vh, 72px) + var(--ov)); margin: 0; display: flex; align-items: center; gap: 14px; font: 400 10px/1 var(--mono); letter-spacing: .32em; text-transform: uppercase; color: var(--ink); }
.hero__scroll i { width: 10px; height: 1.5px; background: var(--blue); transform: rotate(-58deg); }
.hero__replay { position: absolute; z-index: 4; left: var(--g); bottom: calc(clamp(36px, 7vh, 72px) + var(--ov)); padding: 6px 0; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; font: 400 10px/1 var(--mono); letter-spacing: .28em; text-transform: uppercase; color: var(--ink); }
.hero__replay:hover { color: var(--blue); border-color: var(--blue); }

.hero__in { transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d) * 140ms); }
.intro-play .hero__in { opacity: 0; transform: translateY(12px); pointer-events: none; }
.rm .hero__in { transition: none; }

/* ================= Studio ================= */
.studio { position: relative; z-index: 3; padding: calc(var(--sec) * .9 + var(--ov) * .6) 0 calc(var(--sec) + var(--ov)); background: var(--bg); }
.studio__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: end; }
.studio__statement { font-size: clamp(34px, 4.2vw, 62px); line-height: 1.05; }
.studio__body p { margin: 0 0 18px; color: var(--ink-2); }
.studio__body .lede { margin-top: 0; color: var(--ink); }

/* ================= Fields ================= */
.fieldsec { position: relative; z-index: 4; padding: calc(var(--sec) * .8 + var(--ov) * .6) 0 calc(var(--sec) + var(--ov)); background: var(--cool); }
.fieldsec__head { max-width: 900px; }
.fields { margin-top: clamp(56px, 7vw, 110px); }
.fields__list li { padding-top: 6px; }
.fields__line { position: relative; height: 1px; background: var(--line); }
.fields__line i { position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--ink); background: var(--cool); }
.fields__line i:nth-child(1) { left: 0; } .fields__line i:nth-child(2) { left: calc(33.333% + 0px); } .fields__line i:nth-child(3) { left: calc(66.666% + 0px); }
.fields__list { list-style: none; margin: 0; padding: 26px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fields__list li { display: grid; gap: 8px; padding-right: 24px; }
.fields__list .mono { color: var(--blue); }
.fields__list strong { font: 500 clamp(26px, 2.6vw, 38px)/1.08 var(--display); letter-spacing: -.025em; }
.fields__list span:last-child { color: var(--ink-2); font-size: 17px; }
.fields__foot { margin: 34px 0 0; font-style: italic; color: var(--ink-2); font-size: 17px; }

/* ================= Work / spine in the water ================= */
.work { position: relative; z-index: 5; background: #D9E0EA; padding-top: 0; padding-bottom: var(--ov); }
.spine { position: relative; height: 460vh; }
.spine__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: linear-gradient(#DCE2EB, #CBD4E0); }
#spineCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.spine__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }

/* introduction: title left, the spine to the right, an index of the three projects along the bottom */
.work__intro { position: absolute; z-index: 3; left: var(--g); top: clamp(110px, 16vh, 170px); width: min(560px, 44vw); opacity: calc(var(--intro, 1)); transform: translate3d(0, calc((1 - var(--intro, 1)) * -40px), 0); }
.work__title { margin: 0; font: 400 clamp(46px, 6.2vw, 104px)/.98 var(--display); letter-spacing: -.045em; color: var(--ink); }
.work__title .dot { color: var(--blue); }
.work__lede { margin: 26px 0 0; max-width: 25em; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: var(--ink); }
.work__index { position: absolute; z-index: 3; left: var(--g); right: var(--g); bottom: clamp(28px, 6vh, 60px); margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 48px);
  opacity: var(--intro, 1); transform: translate3d(0, calc((1 - var(--intro, 1)) * 24px), 0); }
.work__index button { width: 100%; display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; text-align: left; color: var(--ink); }
.work__index i { flex: 0 0 auto; width: 14px; height: 1.5px; background: var(--blue); transform: rotate(-58deg) translateY(-4px); }
.work__index b { font: 400 clamp(17px, 1.5vw, 22px)/1.2 var(--display); letter-spacing: -.01em; }
.work__index em { margin-left: auto; font: normal 400 12px/1 var(--display); letter-spacing: .08em; color: var(--ink-2); white-space: nowrap; }
.work__index button:hover b { color: var(--blue); }
.is-past-intro .work__intro, .is-past-intro .work__index { pointer-events: none; visibility: hidden; }

.spine__count { position: absolute; z-index: 3; top: 96px; right: var(--g); margin: 0; color: var(--ink-2); font-size: 13px; letter-spacing: .24em; opacity: calc(1 - var(--intro, 1)); }
.spine__count span { color: var(--ink); }
.spine__progress { position: absolute; z-index: 3; top: 122px; right: var(--g); width: 92px; height: 1px; background: var(--line); opacity: calc(1 - var(--intro, 1)); }
.spine__progress i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--ink); }

.projects { list-style: none; margin: 0; padding: 0; }
.proj__thumb { display: none; }
/* the caption: one glass bar along the bottom */
.spine-3d .proj { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.spine-3d .proj__bar { position: absolute; left: clamp(12px, 2vw, 28px); right: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2.4vh, 28px); pointer-events: auto;
  display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: clamp(16px, 2.6vw, 40px); padding: clamp(16px, 2.4vh, 26px) clamp(20px, 2.4vw, 36px);
  background: rgba(244, 246, 250, .62); border: 1px solid rgba(255, 255, 255, .85); outline: 1px solid rgba(18, 21, 28, .06); border-radius: 14px;
  -webkit-backdrop-filter: blur(18px) saturate(1.15); backdrop-filter: blur(18px) saturate(1.15);
  opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.spine-3d .proj.is-active .proj__bar { opacity: 1; transform: none; transition-delay: .1s; }
.spine-3d .proj:not(.is-active) .proj__bar { pointer-events: none; }
.proj__status { margin: 0; display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 11px; letter-spacing: .24em; white-space: nowrap; }
.proj__status i { width: 14px; height: 1.5px; background: var(--blue); transform: rotate(-58deg); }
.proj__status::after { content: ""; width: 26px; height: 1px; background: var(--ink); opacity: .4; margin-left: 6px; }
.proj__field { margin: 0; padding-right: clamp(16px, 2.6vw, 40px); border-right: 1px solid var(--line); font: 400 clamp(30px, 3.5vw, 56px)/1 var(--display); letter-spacing: -.04em; color: var(--ink); white-space: nowrap; }
.proj__text { min-width: 0; }
.proj__num { margin: 0 0 6px; color: var(--ink-2); font-size: 10.5px; }
.proj__title { margin: 0; font: 500 clamp(18px, 1.45vw, 23px)/1.2 var(--display); letter-spacing: -.015em; }
.proj__desc { margin: 6px 0 0; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); max-width: 46em; }
.proj__cta { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--blue); color: var(--ink); text-decoration: none; white-space: nowrap;
  font: 500 15px/1 var(--display); transition: background .3s, color .3s; }
.proj__cta svg { width: 14px; height: 14px; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease), stroke .3s; }
.proj__cta:hover { background: var(--blue); color: #fff; }
.proj__cta:hover svg { stroke: #fff; transform: translate(2px, -2px); }

/* stacked fallback (reduced motion, no WebGL, short screens) */
.spine-stacked .work { background: var(--bg); }
.spine-stacked .spine { height: auto; }
.spine-stacked .spine__stage { position: relative; height: auto; background: none; overflow: visible; padding-top: calc(var(--sec) * .7 + var(--ov) * .5); display: flex; flex-direction: column; }
.spine-stacked .work__intro { order: -1; }
.spine-stacked #spineCanvas, .spine-stacked .spine__count, .spine-stacked .spine__progress, .spine-stacked .work__index { display: none; }
.spine-stacked .work__intro { position: static; width: min(var(--wrap), 100% - 2 * var(--g)); margin: 0 auto 40px; opacity: 1; transform: none; }
.spine-stacked .spine__poster { display: block; position: relative; height: 46vh; min-height: 240px; object-fit: cover; object-position: 64% 60%; }
.spine-stacked .projects { width: min(var(--wrap), 100% - 2 * var(--g)); margin: 48px auto 0; padding-bottom: var(--sec); display: grid; gap: clamp(56px, 7vw, 96px); }
.spine-stacked .proj { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: 32px; border-top: 1px solid var(--line); }
.spine-stacked .proj__thumb { display: block; position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.9); outline: 1px solid var(--line-soft); }
.spine-stacked .proj__thumb canvas { width: 100%; height: 100%; }
.spine-stacked .proj__bar { display: grid; gap: 14px; justify-items: start; }
.spine-stacked .proj__field { border: 0; padding: 0; }
/* ================= Lab ================= */
.lab { position: relative; z-index: 6; padding: calc(var(--sec) + var(--ov) * .6) 0 calc(var(--sec) + var(--ov)); background: var(--cool); }
.lab__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.lab__head .lede { margin: 0; }
.exp { display: grid; grid-template-columns: minmax(280px, .85fr) 1.4fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.exp__text .exp__tag { margin: 0 0 16px; color: var(--blue); font-size: 12px; }
.exp__q { margin: 0 0 20px; font: 500 clamp(28px, 2.8vw, 40px)/1.08 var(--display); letter-spacing: -.03em; }
.exp__text p { margin: 0 0 16px; color: var(--ink-2); font-size: 18px; }
.exp__dirs { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.exp__dirs li { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.exp__text .exp__ask { font-style: italic; color: var(--ink); }

.exp__stage { position: relative; border: 1px solid var(--line); border-radius: 10px; padding: 14px; background:
  linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(90deg, var(--line-soft) 1px, transparent 1px) 0 0 / 32px 32px,
  #FBFAF8; }
.exp__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.seg__btn { border: 0; background: none; cursor: pointer; padding: 8px 16px; border-radius: 999px; font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.seg__btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.exp__tools { display: flex; align-items: center; gap: 8px; }
.icobtn { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.icobtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icobtn:disabled { opacity: .35; cursor: default; }
.icobtn:not(:disabled):hover { border-color: var(--ink); }
#labCanvas { width: 100%; aspect-ratio: 16 / 11; margin: 8px 0; cursor: grab; touch-action: pan-y; }
#labCanvas.is-drag { cursor: grabbing; }
.exp__nodes { display: flex; flex-wrap: wrap; gap: 6px; }
.exp__nodes button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 11px; cursor: pointer; font: 400 13px/1 var(--display); color: var(--ink-2); }
.exp__nodes button:hover { border-color: var(--ink); color: var(--ink); }
.exp__nodes button[aria-pressed="true"] { border-color: var(--blue); color: var(--blue); }
.exp__read { margin: 14px 2px 6px; min-height: 3.2em; font-size: 16px; line-height: 1.5; color: var(--ink); }
.exp__disclaimer { margin: 0 2px; font-size: 10px; color: var(--muted); }

/* ================= Follow ================= */
.follow { position: relative; z-index: 7; padding: calc(var(--sec) + var(--ov) * .6) 0 calc(var(--sec) + var(--ov)); background: var(--bg); }
.follow__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.form__set { margin: 0; padding: 0; border: 0; display: grid; gap: 0; }
.form__set legend { padding: 0; margin-bottom: 14px; font: 400 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.chk { display: flex; gap: 14px; align-items: flex-start; padding: 14px 2px; border-top: 1px solid var(--line); cursor: pointer; }
.chk:last-child { border-bottom: 1px solid var(--line); }
.chk input { appearance: none; -webkit-appearance: none; flex: 0 0 18px; width: 18px; height: 18px; margin: 3px 0 0; border: 1px solid var(--ink); border-radius: 3px; display: grid; place-items: center; cursor: pointer; background: #fff; }
.chk input::after { content: ""; width: 8px; height: 8px; border-radius: 1px; background: var(--blue); transform: scale(0); transition: transform .2s var(--ease); }
.chk input:checked { border-color: var(--blue); }
.chk input:checked::after { transform: scale(1); }
.chk span { display: grid; gap: 2px; }
.chk b { font: 500 17px/1.3 var(--display); }
.chk small { font-size: 15px; color: var(--muted); }
.chk.is-picked { background: linear-gradient(90deg, rgba(22,101,246,.06), transparent 70%); }
.form__picked { min-height: 1.4em; margin: 12px 0 0; font: 400 12px/1.4 var(--mono); letter-spacing: .06em; color: var(--blue); }
.form__row { display: flex; gap: 8px; margin-top: 10px; }
.form__input { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 400 16px var(--display); color: var(--ink); }
.form__input:focus { outline: none; border-color: var(--blue); }
.form__input[aria-invalid="true"] { border-color: #C2410C; }
.form__note { margin: 14px 4px 0; font-size: 15px; color: var(--muted); }
.form__msg { margin: 8px 4px 0; min-height: 1.5em; font: 400 15px/1.4 var(--display); }
.form__msg.is-error { color: #B42318; }
.form__msg.is-success { color: var(--blue); }

/* ================= Footer ================= */
.foot { position: relative; z-index: 8; background: var(--cool); padding: calc(64px + var(--ov) * .6) 0 28px; }
.foot__top { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: center; }
.foot__brand p { margin: 12px 0 0; font-size: 15px; color: var(--muted); }
.foot__motif { width: 180px; height: 90px; fill: none; stroke: var(--ink); stroke-width: .7; opacity: .55; }
.foot__motif circle { stroke: var(--blue); }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; font: 500 14px/1.6 var(--display); }
.foot__nav a { text-decoration: none; color: var(--ink-2); }
.foot__nav a:hover { color: var(--blue); }
.foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-soft); font: 400 13px var(--display); color: var(--muted); }
.foot__base .mono { font-size: 10px; }

/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rm .rv, html:not(.js) .rv { opacity: 1; transform: none; transition: none; }

/* ================= Responsive ================= */
@media (max-width: 900px) {
  .studio__grid, .lab__head, .exp, .follow__grid { grid-template-columns: 1fr; }
  .studio__grid { align-items: start; }
  .fields__list { grid-template-columns: 1fr; gap: 26px; }
  .fields__line { display: none; }
  .fields__list li { padding: 18px 0 0; border-top: 1px solid var(--line); }
  .foot__top { grid-template-columns: 1fr; }
  .foot__nav { justify-content: flex-start; }
  .foot__motif { order: -1; width: 140px; height: 70px; }
  .spine-stacked .proj { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 18px; }
  .hdr { padding-top: calc(14px + env(safe-area-inset-top)); }
  .hdr__brand span { display: none; }
  .pill a { padding: 8px 10px; }
  .pill__rule { width: 18px; }
  .btn { height: 48px; padding: 0 20px; font-size: 14px; }
  .form__row { flex-direction: column; }
  .form__row .btn { justify-content: center; }
}


/* mobile: field label sits just above the caption, bottom-right */
@media (max-width: 760px) {
  .eyebrow { letter-spacing: .14em; font-size: 11px; }
}

/* poster capture helpers (?poster=hero / ?poster=spine) */
.poster .hdr, .poster .hero__top, .poster .hero__bottom, .poster .hero__scroll, .poster .hero__replay, .poster .glyphs, .poster-spine .projects, .poster-spine .spine__count, .poster-spine .spine__progress, .poster-spine .work__intro, .poster-spine .work__index, .poster-spine .tx__edge, .poster-spine .tx__veil { display: none !important; }

/* once the page moves, the brand gets the same quiet glass backing as the nav pill */
.hdr__brand { padding: 6px 12px 6px 8px; margin-left: -8px; border-radius: 999px; border: 1px solid transparent; transition: background .4s, border-color .4s; }
.hdr.is-scrolled .hdr__brand { background: var(--glass); border-color: rgba(255,255,255,.9); outline: 1px solid var(--line-soft); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.foot .hdr__brand { padding: 0; margin: 0; }


@media (max-width: 760px) {
  .hero__top { top: calc(84px + env(safe-area-inset-top)); }
  .hero__logo { width: min(74vw, 320px); }
  .hero__eyebrow { font-size: 9.5px; letter-spacing: .24em; gap: 10px; }
  .hero__rule { width: 18px; }
  .hero__bottom { bottom: calc(64px + env(safe-area-inset-bottom) + var(--ov)); }
  .hero__line { font-size: 19px; max-width: 16em; }
  .hero__scroll, .hero__replay { bottom: calc(20px + env(safe-area-inset-bottom) + var(--ov)); }
  .hero__scroll { letter-spacing: .24em; }
  .intro__line { top: 74%; font-size: clamp(28px, 8.6vw, 40px); }
}
@media (max-height: 560px) and (orientation: landscape) {
  .hero__top { top: 62px; gap: 8px; }
  .hero__logo { width: 220px; }
  .hero__bottom { bottom: calc(18px + var(--ov)); gap: 10px; }
  .hero__scroll, .hero__replay { display: none; }
}
.hero__logo:focus { outline: none; }

/* ================= Transitions: air & water =================
   Each section rises over the one before on a liquid, slanted edge (drawn by transitions.js). */
.tx { margin-top: calc(-1 * var(--ov)); }
.tx > :not(.tx__edge):not(.tx__veil) { position: relative; z-index: 1; }
.tx__edge { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--ov) + 60px); overflow: visible; pointer-events: none; z-index: 2; opacity: 0; }
.tx__line { fill: none; stroke: rgba(190, 203, 225, .95); stroke-width: 1; vector-effect: non-scaling-stroke; }   /* almost colourless: a silver-blue whisper */
.tx__line--2 { opacity: .5; stroke-width: .8; }
.tx__veil { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--ov) * 2.4); pointer-events: none; opacity: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(196, 211, 232, .95) 0%, rgba(222, 230, 242, .65) 30%, rgba(236, 240, 246, 0) 100%); }
.lab .tx__veil, .fieldsec .tx__veil, .foot .tx__veil { background: linear-gradient(180deg, rgba(232, 226, 220, .9) 0%, rgba(240, 236, 231, .55) 30%, rgba(240, 236, 231, 0) 100%); }

.rm .tx { border-top: 1px solid var(--line-soft); }

@media (max-width: 760px) {
  .work__intro { top: calc(92px + env(safe-area-inset-top)); width: auto; right: var(--g); }
  .work__title { font-size: clamp(44px, 13vw, 60px); }
  .work__lede { margin-top: 16px; font-size: 16px; max-width: 17em; }
  .work__intro::before { content: ""; position: absolute; z-index: -1; left: calc(-1 * var(--g)); top: -40px; width: 120%; height: calc(100% + 80px);
    background: radial-gradient(70% 60% at 30% 50%, rgba(240, 242, 246, .85), rgba(240, 242, 246, 0) 100%); pointer-events: none; }
  .work__index { grid-template-columns: 1fr; gap: 0; bottom: calc(18px + env(safe-area-inset-bottom)); }
  .work__index button { padding: 11px 0; }
  .spine__count { top: 80px; right: var(--g); left: auto; }
  .spine__progress { display: none; }
  .spine-3d .proj__bar { grid-template-columns: 1fr auto; gap: 8px 14px; padding: 16px 16px 16px 18px; bottom: calc(10px + env(safe-area-inset-bottom)); left: 10px; right: 10px; }
  .proj__status { grid-column: 1 / -1; font-size: 10px; }
  .proj__field { border: 0; padding: 0; font-size: 30px; grid-column: 1 / -1; }
  .proj__text { grid-column: 1 / -1; }
  .proj__num { display: none; }
  .proj__title { font-size: 17px; }
  .proj__desc { font-size: 14.5px; }
  .proj__cta { grid-column: 1 / -1; justify-self: start; height: 42px; padding: 0 18px; font-size: 14px; }
  .spine-stacked .proj { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .spine-3d .proj__bar { grid-template-columns: auto 1fr auto; }
  .proj__status { grid-column: 1 / -1; }
}

/* ================= Fields: three holograms ================= */
.fieldsec { overflow: hidden; background: radial-gradient(60% 50% at 50% 45%, #F8F9FB 0%, var(--cool) 70%); }
.fieldsec__head { max-width: none; text-align: center; }
.fieldsec__eyebrow { display: inline-flex; align-items: center; gap: 22px; margin: 0 0 22px; font: 500 11px/1 var(--mono); letter-spacing: .42em; text-transform: uppercase; color: var(--ink); }
.fieldsec__eyebrow span { width: clamp(28px, 6vw, 80px); height: 1px; background: currentColor; opacity: .4; }
.fieldsec__title { margin: 0; font: 400 clamp(40px, 5.4vw, 84px)/1.02 var(--display); letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.fieldsec__title .dot, .work__title .dot { color: var(--blue); }

.fields3 { position: relative; margin-top: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 2vw, 32px); align-items: start; }
.field { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; }
.field--1 { margin-top: clamp(60px, 9vw, 140px); }
.field--3 { margin-top: clamp(30px, 5vw, 80px); }
.field__holo { position: relative; width: 100%; aspect-ratio: 1.2; }
.field__holo canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.field__anchor { position: absolute; left: 50%; top: 86%; width: 1px; height: 1px; }
.field__tick { position: relative; width: 13px; height: 22px; margin-top: -4px; }
.field__tick::before, .field__tick::after { content: ""; position: absolute; background: var(--ink); opacity: .35; }
.field__tick::before { left: 6px; top: 0; width: 1px; height: 100%; }
.field__tick::after { left: 0; top: 50%; width: 100%; height: 1px; }
.field__name { margin: 14px 0 0; font: 400 clamp(22px, 2.1vw, 32px)/1.15 var(--display); letter-spacing: -.02em; color: var(--ink); }
.field__num { color: var(--ink-2); }
.field__text { margin: 10px 0 0; max-width: 18em; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.45; color: var(--ink-2); }
.fields3__link { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.fields3__link .fields3__line { fill: none; stroke: var(--blue); stroke-width: 1.2; stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); transition: stroke-dashoffset 2.6s cubic-bezier(.6,.05,.25,1) .6s; }
.fields3__link .fields3__tri { fill: #0257EB; opacity: 0; transition: opacity .6s ease 2.4s; }
.fields3.is-drawn .fields3__link .fields3__line { stroke-dashoffset: 0; }
.fields3.is-drawn .fields3__link .fields3__tri { opacity: 1; }
.rm .fields3__link .fields3__line { transition: none; stroke-dashoffset: 0; } .rm .fields3__link .fields3__tri { transition: none; opacity: 1; }
.fieldsec .fields__foot { margin: clamp(48px, 6vw, 80px) auto 0; text-align: center; max-width: 34em; }
.fieldsec__waves { position: absolute; left: 0; right: 0; bottom: calc(var(--ov) * .6); width: 100%; height: clamp(120px, 16vw, 220px); pointer-events: none; z-index: 0; }
.fields--flat .field__holo { display: none; }
.fields--flat .fields3__link { display: none; }
@media (max-width: 760px) {
  .fields3 { grid-template-columns: 1fr; gap: 28px; margin-top: 20px; }
  .field--1, .field--3 { margin-top: 0; }
  .field__holo { width: min(100%, 420px); }
  .fields3__link { display: none; }
  .fieldsec__eyebrow { letter-spacing: .28em; gap: 14px; font-size: 10px; }
}

/* ================= Lab: loading, like a water hourglass ================= */
.lab { padding: 0 0 var(--ov); background: #D6DDE8; }
.lab__stage { position: relative; height: calc(100vh + var(--ov) * .6); height: calc(100svh + var(--ov) * .6); min-height: 680px; overflow: hidden; }
#labCanvas { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; }
.lab__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.lab-flat .lab__poster { display: block; } .lab-flat #labCanvas { display: none; }
.lab__top { position: absolute; z-index: 2; left: var(--g); right: var(--g); top: calc(var(--ov) * .6 + clamp(40px, 7vh, 80px)); text-align: center; }
.lab__eyebrow { display: inline-flex; align-items: center; gap: 22px; margin: 0 0 18px; font: 500 11px/1 var(--mono); letter-spacing: .42em; text-transform: uppercase; color: var(--ink); }
.lab__eyebrow span { width: clamp(28px, 6vw, 96px); height: 1px; background: currentColor; opacity: .4; }
.lab__title { margin: 0; font: 400 clamp(36px, 4.9vw, 78px)/1.04 var(--display); letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.lab__title .dot { color: var(--blue); }
.lab__sub { margin: 14px auto 0; max-width: 34em; font: 400 clamp(17px, 1.5vw, 22px)/1.4 var(--display); color: var(--ink); }
.lab__bottom { position: absolute; z-index: 2; left: var(--g); right: var(--g); bottom: clamp(36px, 7vh, 72px); display: grid; justify-items: center; gap: 10px; text-align: center; }
.lab__status { margin: 0; display: inline-flex; align-items: center; gap: 16px; font: 500 13px/1 var(--mono); letter-spacing: .44em; text-transform: uppercase; color: var(--ink); }
.lab__ring { width: 20px; height: 20px; transform: rotate(-90deg); }
.lab__ring circle { fill: none; stroke: var(--blue); stroke-width: 1.4; }
.lab__ring circle:first-child { opacity: .25; }
.lab__ring-fill { stroke-dasharray: 50.3; stroke-dashoffset: 50.3; animation: labFill var(--drop, 3.2s) cubic-bezier(.5, 0, .4, 1) infinite; }
@keyframes labFill { 0% { stroke-dashoffset: 50.3; } 60% { stroke-dashoffset: 0; } 75% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.rm .lab__ring-fill, .motion-off .lab__ring-fill { animation: none; stroke-dashoffset: 12; }
.lab__note { margin: 0; font: 400 16px/1.4 var(--display); color: var(--ink); }
.lab__link { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; padding-bottom: 8px; border-bottom: 1.5px solid var(--blue); font: 400 clamp(19px, 1.6vw, 23px)/1 var(--display); color: var(--ink); text-decoration: none; }
.lab__link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.lab__link:hover { color: var(--blue); } .lab__link:hover svg { transform: translate(2px, -2px); }
.poster-lab .lab__top, .poster-lab .lab__bottom, .poster-lab .tx__edge, .poster-lab .tx__veil { display: none !important; }
@media (max-width: 760px) {
  .lab__stage { min-height: 620px; }
  .lab__eyebrow { letter-spacing: .3em; gap: 14px; }
  .lab__title { font-size: clamp(32px, 9vw, 44px); }
  .lab__sub { font-size: 16px; }
  .lab__bottom { bottom: calc(26px + env(safe-area-inset-bottom)); }
  .lab__status { letter-spacing: .32em; font-size: 12px; }
}

/* ================= Scroll rail =================
   Our rail replaces the native scrollbar once script has confirmed it works (no script → the native scrollbar stays).
   It shows progress and, with a mouse, can be dragged or clicked like a scrollbar. Keyboard, wheel and touch scrolling are untouched. */
.scrollprog { display: none; position: fixed; z-index: 40; top: 96px; bottom: 28px; right: 4px; width: 5px; pointer-events: none; }
.sp-on .scrollprog { display: block; }
.sp-on { scrollbar-width: none; }
.sp-on::-webkit-scrollbar { width: 0; height: 0; display: none; }
.scrollprog i { position: absolute; left: 1px; top: 1px; bottom: 1px; width: 3px; border-radius: 2px; transform-origin: top; transform: scaleY(0);
  background: linear-gradient(90deg, #1665F6 0 30%, #5B93FA 50%, #1665F6 70%);   /* a restrained glassy highlight down the middle */
  box-shadow: 0 0 0 1px #0A2A78;                                                  /* a 1px outline so the fill keeps 3:1 on pale and blue grounds */ }
.sp-css .scrollprog i { animation: spFill linear both; animation-timeline: scroll(root block); }
@keyframes spFill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (pointer: fine) {
  .sp-on .scrollprog { pointer-events: auto; cursor: default; right: 0; width: 14px; }           /* a wider, invisible grab area */
  .sp-on .scrollprog i { left: auto; right: 5px; }
  .scrollprog.is-drag i, .scrollprog:hover i { width: 4px; right: 4.5px; }
}
@media (max-width: 760px) { .scrollprog { top: 76px; bottom: 16px; right: 2px; } }
@media (forced-colors: active) { .scrollprog { display: none !important; } .sp-on { scrollbar-width: auto; } .sp-on::-webkit-scrollbar { display: initial; width: auto; } }
@media print { .scrollprog { display: none !important; } }
@media (min-width: 761px) { .spine-3d .proj__bar { right: max(22px, 2vw); left: max(22px, 2vw); } }

/* ================= About ================= */
.studio { background: var(--space); }
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__eyebrow { margin: 0 0 clamp(24px, 3.4vw, 48px); font: 500 12px/1 var(--mono); letter-spacing: .42em; text-transform: uppercase; color: var(--ink); }
.about__slash { color: var(--blue); margin: 0 .5em; }
.about__title { margin: 0; font: 300 clamp(48px, 6.4vw, 104px)/.98 var(--display); letter-spacing: -.045em; color: var(--ink); }

.about__title .dot { color: var(--blue); }
.about__body { padding-top: 4px; }
.about__body p { margin: 0 0 1.05em; max-width: 36em; font: 400 clamp(18px, 1.45vw, 22px)/1.5 var(--display); letter-spacing: -.005em; color: var(--ink); }
.about__link { display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; padding-bottom: 8px; border-bottom: 1.5px solid var(--blue); font: 400 clamp(18px, 1.4vw, 21px)/1 var(--display); color: var(--ink); text-decoration: none; }
.about__link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.about__link:hover { color: var(--blue); } .about__link:hover svg { transform: translate(2px, -2px); }
.about__steps { list-style: none; margin: clamp(56px, 7vw, 100px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 18px 24px; }
.about__steps li { display: flex; align-items: baseline; gap: .45em; font: 400 clamp(16px, 1.3vw, 20px)/1.3 var(--display); color: var(--ink); white-space: nowrap; }
.about__steps li:not(:last-child)::after { content: ""; width: clamp(20px, 3.4vw, 64px); height: 1px; background: var(--line); margin-left: clamp(12px, 2vw, 30px); align-self: center; }
.about__steps b { font-weight: 600; color: #0B55E0; }
.about__steps span { color: var(--ink-2); }
@media (max-width: 1000px) {
  .about { grid-template-columns: 1fr; }
  .about__steps { grid-template-columns: 1fr; justify-content: start; }
  .about__steps li { white-space: normal; } .about__steps li::after { display: none; }
}

/* ================= Stay connected ================= */
.follow { padding: 0 0 var(--ov); background: #D6DDE8; }
.follow__stage { position: relative; min-height: calc(100vh + var(--ov) * .6); min-height: calc(100svh + var(--ov) * .6); overflow: hidden; display: grid; }
#followCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pond-flat .follow__stage { background: var(--space); } .pond-flat #followCanvas, .pond-flat #footCanvas { display: none; }
.follow__inner { position: relative; z-index: 2; padding: calc(var(--ov) * .6 + clamp(40px, 7vh, 80px)) var(--g) clamp(48px, 9vh, 110px); display: grid; justify-items: center; align-content: start; gap: clamp(36px, 6vh, 70px); }
.follow__head { text-align: center; }
.follow__eyebrow { display: inline-flex; align-items: center; gap: 22px; margin: 0 0 18px; font: 500 11px/1 var(--mono); letter-spacing: .42em; text-transform: uppercase; color: var(--ink); }
.follow__eyebrow span { width: clamp(28px, 6vw, 110px); height: 1px; background: currentColor; opacity: .4; }
.follow__title { margin: 0; font: 300 clamp(36px, 4.9vw, 78px)/1.04 var(--display); letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.follow__title .dot { color: var(--blue); }
.follow__sub { margin: 14px auto 0; max-width: 40em; font: 400 clamp(17px, 1.5vw, 22px)/1.4 var(--display); color: var(--ink); }

.nl { width: min(1000px, 100%); padding: clamp(26px, 4vw, 48px) clamp(18px, 3.6vw, 52px) clamp(22px, 3vw, 34px); border-radius: clamp(20px, 3vw, 36px); text-align: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, .62), rgba(240, 245, 252, .42)); border: 1px solid rgba(255, 255, 255, .95); outline: 1px solid rgba(120, 150, 205, .28);
  -webkit-backdrop-filter: blur(20px) saturate(1.2); backdrop-filter: blur(20px) saturate(1.2); }
.nl__set { margin: 0; padding: 0; border: 0; min-width: 0; }
.nl__label { display: block; margin: 0 0 16px; padding: 0; width: 100%; font: 400 clamp(19px, 1.6vw, 24px)/1.2 var(--display); color: var(--ink); }
.nl__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid rgba(18, 21, 28, .28); border-radius: 12px; background: rgba(255, 255, 255, .35); cursor: pointer; font: 400 clamp(15px, 1.2vw, 18px)/1 var(--display); color: var(--ink); transition: border-color .25s, background .25s; }
.chip:hover { border-color: var(--ink); }
.chip input { appearance: none; -webkit-appearance: none; flex: 0 0 20px; width: 20px; height: 20px; margin: 0; border: 1.5px solid var(--ink-2); border-radius: 4px; display: grid; place-items: center; background: rgba(255,255,255,.7); cursor: pointer; }
.chip input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .2s var(--ease); }
.chip input:checked { background: var(--blue); border-color: var(--blue); }
.chip input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.chip.is-picked { border-color: var(--blue); outline: 1px solid var(--blue); background: rgba(255,255,255,.55); }
.chip input:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.nl .form__picked { min-height: 1.2em; margin: 10px 0 14px; }
.nl__row { display: flex; gap: 12px; max-width: 830px; margin: 0 auto; }
.nl__input { flex: 1; min-width: 0; height: 58px; padding: 0 22px; border: 1px solid rgba(18, 21, 28, .3); border-radius: 10px; background: rgba(255, 255, 255, .6); font: 400 18px var(--display); color: var(--ink); }
.nl__input::placeholder { color: #626876; }
.nl__input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.nl__input[aria-invalid="true"] { border-color: #C2410C; }
.nl__btn { display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 28px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; cursor: pointer; font: 500 18px/1 var(--display); white-space: nowrap; transition: background .25s; }
.nl__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nl__btn:hover { background: #0B4FD0; } .nl__btn:disabled { opacity: .6; cursor: wait; }
.nl__note { margin: 18px 0 0; font: 400 15px/1.4 var(--display); color: var(--ink-2); }
.nl__note a { color: #0B4FD0; }
.nl .form__msg { margin: 8px 0 0; }
@media (max-width: 760px) {
  .nl__row { flex-direction: column; } .nl__btn { justify-content: center; }
  .chip { padding: 12px 14px; }
  .follow__title { font-size: clamp(32px, 9vw, 44px); }
}

/* ================= Footer: back to the horizon ================= */
.foot { padding: 0; background: #F6F2EE; overflow: hidden; }
.foot__scene { position: absolute; left: 0; right: 0; top: 0; height: 66%; min-height: 420px; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
#footCanvas { width: 100%; height: 100%; display: block; }
.foot__inner { position: relative; z-index: 2; padding-top: calc(var(--ov) * .6 + clamp(56px, 10vh, 120px)); padding-bottom: 28px; }
.foot__brand { min-height: clamp(300px, 46vh, 520px); }
.foot__logo { display: inline-block; width: clamp(220px, 24vw, 380px); line-height: 0; }
.foot-logo { width: 100%; height: auto; overflow: visible; } .foot-logo g { stroke: #1D2D35; fill: none; }
.foot__tag { display: flex; align-items: center; gap: 14px; margin: 26px 0 0; font: 400 clamp(17px, 1.5vw, 22px)/1.3 var(--display); color: var(--ink); }
.foot__tag i { width: 16px; height: 2px; background: #0B55E0; transform: rotate(-58deg); }
.foot__cols { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 32px; align-items: start; padding: 26px 0 40px; }
.foot__line { margin: 0; font: 400 clamp(24px, 2.3vw, 36px)/1.12 var(--display); letter-spacing: -.02em; color: var(--ink); }
.foot__nav { display: grid; justify-content: start; gap: 12px; padding-left: 36px; border-left: 1px solid var(--line); font: 500 18px/1.2 var(--display); }
.foot__nav a { color: var(--ink); text-decoration: none; width: fit-content; } .foot__nav a:hover { color: var(--blue); }
.foot__contact { padding-left: 36px; border-left: 1px solid var(--line); }
.foot__contact p { margin: 0 0 14px; font: 500 20px/1.2 var(--display); color: var(--ink); }
.foot__contact a { display: inline-flex; align-items: center; gap: 12px; font: 400 clamp(17px, 1.5vw, 22px)/1.2 var(--display); color: var(--ink); text-decoration: none; }
.foot__contact a svg { width: 20px; height: 20px; fill: none; stroke: #0B55E0; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.foot__contact a:hover { color: var(--blue); }
.foot .foot__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0; padding-top: 24px; border-top: 1px solid rgba(18,21,28,.25); font: 400 15px/1.3 var(--display); color: var(--ink); }
.foot__links { display: inline-flex; align-items: center; gap: 22px; }
.foot__links i { width: 1px; height: 18px; background: rgba(18,21,28,.35); }
.foot__links a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; } .foot__links a:hover { color: var(--blue); }
.foot__links svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) {
  .foot__cols { grid-template-columns: 1fr; gap: 26px; }
  .foot__nav, .foot__contact { padding-left: 0; border-left: 0; }
  .foot__brand { min-height: clamp(280px, 52vh, 460px); }
  .foot__scene { height: 60%; }
}

/* titles across the page share the light headline weight of the references */
.work__title, .fieldsec__title, .lab__title { font-weight: 300; }
.fieldsec { background: var(--space); }

.foot.tx > .foot__scene { position: absolute; z-index: 0; }

/* the 3D stages run underneath the next section's overlap, so there is always imagery behind the water edge */
.lab, .follow { padding-bottom: 0; }
.lab__stage { height: calc(100vh + var(--ov) * 1.6); height: calc(100svh + var(--ov) * 1.6); }
.lab__bottom { bottom: calc(var(--ov) + clamp(36px, 7vh, 72px)); }
.follow__stage { min-height: calc(100vh + var(--ov) * 1.6); min-height: calc(100svh + var(--ov) * 1.6); }
.follow__inner { padding-bottom: calc(var(--ov) + clamp(48px, 9vh, 110px)); }
.work { padding-bottom: 0; }
@media (max-width: 760px) { .lab__bottom { bottom: calc(var(--ov) + 26px + env(safe-area-inset-bottom)); } }
@media (max-width: 760px) {
  .nl__row .nl__input { flex: none; width: 100%; }
  .foot.tx > .foot__scene { top: 250px; height: 330px; min-height: 0; -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 70%, transparent); }
  .foot__brand { min-height: 0; padding-bottom: 300px; }
  .foot__logo { width: min(60vw, 260px); }
  .foot__tag { font-size: 16px; }
}
