/* Fonts: self-hosted latin subsets from Google Fonts (SIL Open Font License 1.1): Archivo, Instrument Sans, Kaushan Script. */
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/instrument-sans.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Kaushan Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/kaushan-script.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* J.F Coats. Deep navy, electric blue, pearl white and chrome: the colours of the badge. */
:root {
  --ink: #040916; --navy: #071430; --deep: #0b1f4d; --blue: #1d6bff; --blue-2: #3d8bff; --cyan: #62cdff; --ice: #d6e9ff;
  --blue-ink: #0d47c4; --pearl: #f3f6fb; --pearl-2: #e7edf6; --gold: #d9b56a; --text: #e9f0ff; --muted: #93a6c9; --line: rgba(160, 190, 255, .16);
  --ink-text: #08132b; --ink-muted: #4d5d7c; --ink-line: rgba(8, 19, 43, .12);
  --display: 'Archivo', 'Arial Narrow', system-ui, sans-serif; --body: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --script: 'Kaushan Script', cursive;
  --r: 18px; --r-l: 28px; --gut: clamp(16px, 4vw, 56px); --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1); --ease-io: cubic-bezier(.7, 0, .2, 1);
  --chrome: linear-gradient(176deg, #ffffff 0%, #dbe8ff 34%, #6d9cf0 49%, #f1f6ff 60%, #a8c6f7 82%, #ffffff 100%);
  --chrome-dark: linear-gradient(176deg, #0b2a7a 0%, #1f57d6 45%, #0a1d55 62%, #2d6ef0 100%);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
html.motion { scroll-behavior: auto; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, canvas, svg { display: block; max-width: 100%; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--pearl); color: var(--ink-text); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }

/* ── type ─────────────────────────────────────────────────────────────── */
.eyebrow { display: inline-flex; align-items: center; gap: .6em; margin: 0 0 18px; font: 600 12.5px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(98, 205, 255, .18), 0 0 18px var(--cyan); }
.h-hero, .h-xl, .h-l { font-family: var(--display); margin: 0; text-wrap: balance; }
.h-hero { font-size: clamp(2.7rem, 7.4vw, 7.6rem); line-height: .9; font-weight: 820; font-variation-settings: 'wdth' 116; letter-spacing: -.025em; text-transform: uppercase; }
.h-hero .line { display: block; }
.h-xl { font-size: clamp(2.2rem, 5.2vw, 4.9rem); line-height: .96; font-weight: 780; font-variation-settings: 'wdth' 108; letter-spacing: -.025em; }
.h-l { font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.04; font-weight: 740; font-variation-settings: 'wdth' 104; letter-spacing: -.015em; }
.chrome { font-style: italic; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.light .chrome { background: var(--chrome-dark); -webkit-background-clip: text; background-clip: text; filter: none; }
.lede, .sec-lede { font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: #c3d2ee; max-width: 36em; }
.script { font-family: var(--script); }
.fine-print { font-size: 13px; color: var(--muted); margin: 18px 0 0; }

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn { --mx: 0px; --my: 0px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font: 650 15.5px/1 var(--body); letter-spacing: .01em; text-decoration: none; white-space: nowrap; transform: translate(var(--mx), var(--my)); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s; isolation: isolate; }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-chrome { color: #04102b; background: linear-gradient(180deg, #ffffff 0%, #dce9ff 45%, #a9c7ff 52%, #eef4ff 100%); box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(29, 107, 255, .35), 0 10px 30px -8px rgba(29, 107, 255, .7), 0 0 0 1px rgba(255, 255, 255, .5); overflow: hidden; }
.btn-chrome::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .95) 48%, transparent 66%); transform: translateX(-120%); transition: transform .9s var(--ease); z-index: -1; }
.btn-chrome:hover::after { transform: translateX(120%); }
.btn-chrome:hover { box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgba(29, 107, 255, .35), 0 16px 44px -8px rgba(29, 107, 255, .9), 0 0 0 1px rgba(255, 255, 255, .7); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(214, 233, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(214, 233, 255, .7); }
.light .btn-ghost { color: var(--ink-text); box-shadow: inset 0 0 0 1px rgba(8, 19, 43, .25); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-row.center { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: .4em; color: var(--cyan); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(98, 205, 255, .4); padding-bottom: 2px; min-height: 32px; box-sizing: border-box; padding-top: 4px; }
.text-link svg { width: 15px; height: 15px; }
.link-btn { background: none; border: 0; padding: 0; text-align: left; }

/* ── nav ──────────────────────────────────────────────────────────────── */
.nav { position: fixed; z-index: 50; inset: 14px var(--gut) auto; height: 64px; display: flex; align-items: center; gap: 28px; padding: 0 10px 0 12px; border-radius: 999px; transition: background-color .4s, box-shadow .4s, transform .5s var(--ease); }
.nav.is-solid { background: #050c1e; box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -20px rgba(0, 0, 0, .6); }
.fine .nav.is-solid { background: rgba(5, 12, 30, .6); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
.nav.is-hidden { transform: translateY(-120%); }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.nav-brand img { width: 44px; height: 44px; filter: drop-shadow(0 0 10px rgba(61, 139, 255, .6)); }
.nav-word { font: 800 19px/1 var(--display); font-variation-settings: 'wdth' 118; font-style: italic; text-transform: uppercase; letter-spacing: -.01em; }
.nav-word b { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: 14.5px; font-weight: 550; text-decoration: none; color: #c9d6f0; position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--cyan); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { min-height: 46px; padding: 0 22px; }
.nav-burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.nav-burger i { position: absolute; left: 15px; right: 15px; height: 1.8px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease); }
.nav-burger i:first-child { top: 19px; } .nav-burger i:last-child { top: 27px; }
.nav-burger[aria-expanded='true'] i:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded='true'] i:last-child { transform: translateY(-4px) rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 45; background: rgba(4, 9, 22, .97); display: grid; place-items: center; }
.sheet nav { display: grid; gap: 6px; text-align: center; }
.sheet a { font: 760 clamp(1.8rem, 8vw, 2.6rem)/1.25 var(--display); font-variation-settings: 'wdth' 108; text-decoration: none; }
.sheet .sheet-cta { margin-top: 18px; font-size: 1.2rem; color: var(--cyan); }
@media (max-width: 1020px) { .nav-links { display: none; } .nav-burger { display: block; } }
@media (max-width: 560px) { .nav { inset: 10px 12px auto; height: 58px; gap: 10px; } .nav-cta { display: none; } .nav-word { font-size: 17px; } .nav-brand img { width: 40px; height: 40px; } }

/* ── hero: the scroll film ───────────────────────────────────────────── */
.hero { position: relative; height: 100svh; background: var(--ink); }
.film-on .hero { height: 780vh; }
@media (max-width: 768px), (orientation: portrait) { .film-on .hero { height: 560vh; } }
.hero-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; contain: strict; }
.hero-poster, .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-canvas { opacity: 0; transition: opacity .6s; }
.hero.ready .hero-canvas { opacity: 1; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(4, 9, 22, .72) 0%, rgba(4, 9, 22, .12) 30%, rgba(4, 9, 22, 0) 55%, rgba(4, 9, 22, .55) 100%),
  radial-gradient(120% 80% at 0% 40%, rgba(4, 9, 22, .62), transparent 60%); opacity: var(--shade, 1); }
.hero-intro { position: absolute; left: var(--gut); bottom: clamp(70px, 13vh, 140px); max-width: min(1180px, 100% - 2 * var(--gut) - 90px); }
@media (min-width: 769px) {
  .hero-intro .h-hero { font-size: min(clamp(2.7rem, 7.4vw, 7.6rem), 10.5vh); }
  .hero-intro .h-hero .line { white-space: nowrap; }
  .hero-intro .lede { max-width: 620px; }
}
.hero-intro .lede { margin: 22px 0 0; text-shadow: 0 2px 20px rgba(4, 9, 22, .8); }
.hero-intro .h-hero { text-shadow: 0 4px 40px rgba(4, 9, 22, .5); }
.film-on .hero-intro { opacity: var(--intro, 1); transform: translate3d(0, calc((1 - var(--intro, 1)) * -40px), 0); visibility: var(--intro-vis, visible); }
.hero-badge { position: absolute; left: 50%; top: 50%; width: min(64vw, 420px); aspect-ratio: 1; margin: calc(min(64vw, 420px) / -2) 0 0 calc(min(64vw, 420px) / -2); pointer-events: none; opacity: 0; will-change: transform, opacity; }
.hero-badge img { position: relative; width: 100%; height: 100%; }
.badge-glow { position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(61, 139, 255, .55), rgba(29, 107, 255, .18) 55%, transparent 72%); }
html:not(.film-on) .hero-badge { display: none; }
.hero-unmade, .hero-concrete, .hero-final, .hero-steps li { opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s .6s; }
.is-on.hero-unmade, .is-on.hero-concrete, .is-on.hero-final, .hero-steps li.is-on { opacity: 1; visibility: visible; transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s; }
.hero-unmade { position: absolute; inset: auto 0 9vh; text-align: center; pointer-events: none; }
.ghost-word { display: block; font: 860 clamp(4rem, 17vw, 17rem)/.8 var(--display); font-variation-settings: 'wdth' 125; font-style: italic; text-transform: uppercase; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(214, 233, 255, .45); transform: translate3d(0, 20px, 0); transition: inherit; }
.is-on .ghost-word { transform: none; }
.hero-kicker { margin: 10px 0 0; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--ice); }
.hero-concrete { position: absolute; left: 50%; top: 50%; width: min(92vw, 760px); transform: translate3d(-50%, -46%, 0); text-align: center; }
.hero-concrete.is-on { transform: translate3d(-50%, -50%, 0); }
.hero-concrete p:last-child { color: #dbe5f7; max-width: 30em; margin: 18px auto 0; text-shadow: 0 2px 16px rgba(0, 0, 0, .8); }
.hero-concrete .h-xl { text-shadow: 0 6px 40px rgba(0, 0, 0, .55); }
.hero-steps { list-style: none; margin: 0; padding: 0; position: absolute; left: var(--gut); bottom: clamp(70px, 12vh, 130px); width: min(440px, 80vw); height: 150px; }
.hero-steps li { position: absolute; inset: auto 0 0; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; transform: translate3d(0, 24px, 0); padding: 22px 24px; border-radius: var(--r); background: rgba(4, 10, 26, .66); box-shadow: inset 0 0 0 1px var(--line); }
.fine .hero-steps li { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); background: rgba(4, 10, 26, .5); }
.hero-steps li.is-on { transform: none; }
.hero-steps .n { grid-row: span 2; font: 800 44px/1 var(--display); font-variation-settings: 'wdth' 120; font-style: italic; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-steps .t { font: 760 22px/1.1 var(--display); font-variation-settings: 'wdth' 110; }
.hero-steps .d { font-size: 15px; color: #c3d2ee; margin-top: 6px; }
.hero-final { position: absolute; left: 0; right: 0; bottom: clamp(50px, 9vh, 110px); text-align: center; padding: 0 var(--gut); }
.hero-final .script { font-size: clamp(2.2rem, 5.4vw, 4.6rem); margin: 0; line-height: 1.1; color: #fff; text-shadow: 0 0 30px rgba(61, 139, 255, .9), 0 4px 30px rgba(0, 0, 0, .6); transform: rotate(-3deg); }
.hero-final .cta-row { margin-top: 22px; }
.hero-hud { position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 16px; pointer-events: none; }
html:not(.film-on) .hero-hud, html:not(.film-on) .hero-scroll, html:not(.film-on) .hero-steps, html:not(.film-on) .hero-unmade, html:not(.film-on) .hero-concrete, html:not(.film-on) .hero-final { display: none; }
.hud-clock { text-align: right; }
.hud-label { display: block; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.hud-time { display: block; font: 760 20px/1.2 var(--display); font-variation-settings: 'wdth' 112; font-variant-numeric: tabular-nums; }
.hud-rail { position: relative; width: 2px; height: 34vh; background: rgba(214, 233, 255, .18); border-radius: 2px; }
.hud-rail i { position: absolute; inset: 0; background: linear-gradient(var(--cyan), var(--blue)); transform-origin: top; transform: scaleY(var(--p, 0)); box-shadow: 0 0 12px var(--cyan); }
.hud-rail b { position: absolute; left: -3px; top: calc(var(--at) * 100%); width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ice); }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ice); opacity: var(--intro, 1); }
.hero-scroll i { width: 1.5px; height: 44px; background: linear-gradient(var(--ice), transparent); transform-origin: top; animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero-note { position: absolute; right: var(--gut); bottom: 18px; margin: 0; font-size: 12px; color: rgba(214, 233, 255, .7); letter-spacing: .02em; }
@media (max-width: 768px) {
  .hero-intro { right: var(--gut); bottom: 112px; }
  .hero-intro .cta-row { margin-top: 22px; }
  .hero-hud { top: auto; bottom: 112px; transform: none; flex-direction: row-reverse; display: none; }
  .hero-steps { left: 16px; right: 16px; width: auto; bottom: 96px; }
  .hero-steps li { padding: 18px 18px; column-gap: 14px; }
  .hero-steps .n { font-size: 36px; }
  .hero-steps .t { font-size: 19px; }
  .hero-scroll { bottom: 22px; }
  .hero-scroll i { height: 28px; }
  .hero-final { bottom: 96px; }
  .hero-unmade { bottom: 124px; }
  .hero-note { bottom: 76px; right: 16px; }
}

/* ── band ─────────────────────────────────────────────────────────────── */
.band { position: relative; background: linear-gradient(180deg, var(--ink), var(--navy)); padding: 0 0 clamp(60px, 8vw, 100px); border-top: 1px solid var(--line); }
.marquee { overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font: 800 clamp(1.5rem, 3vw, 2.5rem)/1 var(--display); font-variation-settings: 'wdth' 120; font-style: italic; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(214, 233, 255, .55); }
.marquee-track span:nth-of-type(3n+1) { color: var(--ice); -webkit-text-stroke: 0; }
.marquee-track i { width: 12px; height: 12px; transform: rotate(45deg); background: var(--blue); box-shadow: 0 0 14px var(--blue); flex: none; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(40px, 6vw, 70px); background: var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.fact { background: var(--navy); padding: 28px 26px; display: grid; gap: 8px; }
.fact-n { font: 800 clamp(2rem, 3.4vw, 3rem)/1 var(--display); font-variation-settings: 'wdth' 116; font-style: italic; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact-n small { font-size: max(.5em, 14px); }
.fact span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } .fact { padding: 22px 18px; } }

/* ── section heads ────────────────────────────────────────────────────── */
section { position: relative; }
.sec-head { margin-bottom: clamp(32px, 4.5vw, 56px); }
.sec-head .sec-lede { margin: 18px 0 0; }

/* ── visualiser ───────────────────────────────────────────────────────── */
.vis { padding: clamp(80px, 10vw, 150px) 0; background: radial-gradient(90% 60% at 80% 0%, rgba(29, 107, 255, .2), transparent 60%), var(--navy); }
.vis-app { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: 'rooms rooms' 'stage finishes' 'stage detail' 'fine fine'; gap: 18px 28px; }
.vis-rooms { grid-area: rooms; display: flex; gap: 8px; flex-wrap: wrap; }
.vis-rooms button, .work-filter button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); color: #c9d6f0; font-weight: 600; font-size: 14.5px; transition: background-color .3s, color .3s, box-shadow .3s; }
.vis-rooms button svg { width: 18px; height: 18px; }
.vis-rooms button[aria-selected='true'], .work-filter button[aria-pressed='true'] { background: var(--pearl); color: var(--ink-text); box-shadow: 0 8px 24px -10px rgba(98, 205, 255, .8); }
.vis-stage { grid-area: stage; position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-l); overflow: hidden; background: #0a1430; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 80px -30px rgba(29, 107, 255, .45); touch-action: pan-y; }
.vis-layers, .vis-img, .vis-before, .vis-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vis-img { opacity: 0; }
.vis-img.is-on { opacity: 1; }
.vis-img.is-pouring { opacity: 1; clip-path: circle(0% at var(--px, 50%) var(--py, 70%)); animation: pour 1.05s var(--ease) forwards; }
@keyframes pour { to { clip-path: circle(150% at var(--px, 50%) var(--py, 70%)); } }
.vis-before { clip-path: inset(0 calc(100% - var(--split, 0%)) 0 0); }
.vis-before::after { content: 'Before'; position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(4, 9, 22, .7); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: calc(var(--split-on, 0)); }
.vis-handle { position: absolute; top: 0; bottom: 0; left: var(--split, 0%); width: 0; opacity: var(--split-on, 0); transition: opacity .4s; cursor: ew-resize; }
.vis-handle::before { content: ''; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; box-shadow: 0 0 14px rgba(98, 205, 255, .9); }
.vis-handle span { position: absolute; top: 50%; left: 0; width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; border-radius: 50%; background: var(--pearl); color: var(--ink-text); box-shadow: 0 8px 30px rgba(0, 0, 0, .5); }
.vis-stage.is-compare .vis-handle { pointer-events: auto; }
.vis-stage:not(.is-compare) .vis-handle { pointer-events: none; }
.vis-caption { position: absolute; left: 16px; bottom: 16px; right: 170px; display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 16px; background: rgba(4, 10, 26, .74); box-shadow: inset 0 0 0 1px var(--line); max-width: 520px; }
.vis-caption b { display: block; font: 760 18px/1.15 var(--display); font-variation-settings: 'wdth' 110; }
.vis-caption span { font-size: 13.5px; color: #c3d2ee; }
.vis-swatch-mini { width: 44px; height: 44px; border-radius: 50%; flex: none; background-size: cover; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.vis-compare { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(4, 10, 26, .74); box-shadow: inset 0 0 0 1px rgba(214, 233, 255, .4); font-weight: 600; font-size: 14px; }
.vis-compare[aria-pressed='true'] { background: var(--pearl); color: var(--ink-text); }
.vis-finishes { grid-area: finishes; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; align-content: start; }
.fin { position: relative; display: grid; gap: 10px; padding: 10px; border: 0; border-radius: 18px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); text-align: left; transition: box-shadow .35s, background-color .35s, transform .35s var(--ease); }
.fin:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .07); }
.fin[aria-checked='true'] { background: rgba(61, 139, 255, .14); box-shadow: inset 0 0 0 1.5px var(--cyan), 0 10px 30px -14px var(--cyan); }
.fin-swatch { aspect-ratio: 1.6; border-radius: 12px; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), inset 0 -20px 30px -20px rgba(0, 0, 0, .4); position: relative; overflow: hidden; }
.fin-swatch::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .5) 50%, transparent 62%); transform: translateX(-100%); transition: transform .9s var(--ease); }
.fin:hover .fin-swatch::after, .fin[aria-checked='true'] .fin-swatch::after { transform: translateX(100%); }
.fin-name { font: 700 14.5px/1.2 var(--display); font-variation-settings: 'wdth' 106; padding: 0 4px 2px; }
.fin-look { display: block; font: 500 12px/1.3 var(--body); color: var(--muted); margin-top: 2px; }
.vis-detail { grid-area: detail; display: grid; gap: 18px; align-content: start; }
.vis-detail dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; }
.vis-detail dt { color: var(--muted); }
.vis-detail dd { margin: 0; }
.vis-detail .btn { width: 100%; white-space: normal; text-align: center; padding: 12px 22px; }
.vis .fine-print { grid-area: fine; }
@media (max-width: 980px) {
  .vis-app { grid-template-columns: 1fr; grid-template-areas: 'rooms' 'stage' 'finishes' 'detail' 'fine'; }
  .vis-finishes { grid-template-columns: repeat(6, minmax(120px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 10px; margin: 0 calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; }
  .vis-finishes::-webkit-scrollbar { display: none; }
  .fin { scroll-snap-align: start; }
}
@media (max-width: 600px) {
  .vis-stage { aspect-ratio: 4 / 5; border-radius: 20px; }
  .vis-caption { right: 12px; left: 12px; bottom: 70px; padding: 10px 14px 10px 10px; }
  .vis-caption span { display: none; }
  .vis-swatch-mini { width: 36px; height: 36px; }
  .vis-compare { left: 12px; right: 12px; bottom: 12px; justify-content: center; }
  .vis-rooms { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .vis-rooms button { flex: none; }
}

/* ── work ─────────────────────────────────────────────────────────────── */
.work { background: var(--ink); padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 110px); }
.work-filter { display: flex; gap: 8px; margin-top: 26px; }
.work-track { display: flex; gap: clamp(16px, 2vw, 28px); padding: 0 var(--gut); will-change: transform; }
.card { position: relative; flex: none; width: clamp(300px, 34vw, 520px); border-radius: var(--r-l); overflow: hidden; background: var(--navy); box-shadow: 0 0 0 1px var(--line); transition: opacity .5s, transform .6s var(--ease); text-decoration: none; }
.card.is-out { display: none; }
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.12); }
.card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4, 9, 22, .92)); }
.card-tag { position: absolute; z-index: 2; left: 16px; top: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(4, 9, 22, .62); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; box-shadow: inset 0 0 0 1px var(--line); }
.card-body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 24px; }
.card-place { display: flex; align-items: center; gap: 6px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.card-place svg { width: 15px; height: 15px; }
.card h3 { margin: 8px 0 6px; font: 780 clamp(1.4rem, 2vw, 1.85rem)/1.05 var(--display); font-variation-settings: 'wdth' 110; }
.card p { margin: 0; font-size: 14.5px; color: #c3d2ee; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.card:hover p, .card:focus-within p { max-height: 120px; opacity: 1; }
.card-finish { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--ice); }
.card-finish i { width: 18px; height: 18px; border-radius: 50%; background-size: cover; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.work .fine-print { margin-top: 26px; }
@media (hover: none) { .card p { max-height: none; opacity: 1; } }
/* desktop: the gallery pins and slides sideways with the scroll */
.work.is-pinned { padding: 0; }
.work.is-pinned .work-pin { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.work.is-pinned .sec-head { margin-bottom: 30px; }
.work.is-pinned .card { width: clamp(300px, 28vw, 440px); }
.work.is-pinned .card-media { aspect-ratio: 4 / 4.6; max-height: 56svh; }
@media (max-width: 900px) {
  .work-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
  .work-track::-webkit-scrollbar { display: none; }
  .card { width: 82vw; max-width: 420px; scroll-snap-align: center; }
}

/* ── commercial / developers ─────────────────────────────────────────── */
.biz { overflow: hidden; padding: clamp(90px, 11vw, 160px) 0; background: linear-gradient(140deg, #0b2a7a, #1d6bff 45%, #9fc6ff 75%, #f3f6fb); }
.marble-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.biz-inner, .foot-inner { position: relative; z-index: 1; }
.biz-split { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(16px, 2vw, 28px); }
.biz-card { padding: clamp(28px, 3.4vw, 48px); border-radius: var(--r-l); background: rgba(4, 10, 26, .84); box-shadow: inset 0 0 0 1px rgba(214, 233, 255, .2), 0 40px 80px -40px rgba(0, 0, 0, .7); display: flex; flex-direction: column; align-items: flex-start; }
.fine .biz-card { background: rgba(4, 10, 26, .8); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); }
.biz-card--dev { background: rgba(243, 246, 251, .95); color: var(--ink-text); }
.fine .biz-card--dev { background: rgba(243, 246, 251, .92); }
.biz-card--dev .eyebrow { color: var(--blue-ink); }
.biz-card--dev p, .biz-card.biz-card--dev > p { color: var(--ink-muted); }
.biz-card--dev .ticks li::before { background: var(--blue); }
.biz-ic { width: 46px; height: 46px; padding: 10px; border-radius: 14px; background: rgba(98, 205, 255, .14); color: var(--cyan); margin-bottom: 22px; stroke-width: 1.5; }
.biz-card--dev .biz-ic { background: rgba(29, 107, 255, .1); color: var(--blue); }
.biz-card .h-l { margin-bottom: 14px; }
.biz-card > p { color: #c3d2ee; margin: 0 0 20px; }
.ticks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15.5px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 3px; transform: rotate(45deg); background: var(--cyan); }
.biz-card .btn { margin-top: auto; }
.biz-card--dev .btn-chrome { background: linear-gradient(180deg, #1a5fe6, #0a3fb8); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 12px 30px -10px rgba(29, 107, 255, .9); }
.sectors { list-style: none; padding: 0; margin: clamp(28px, 4vw, 48px) 0 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sectors li { padding: 10px 18px; border-radius: 999px; background: rgba(4, 10, 26, .7); box-shadow: inset 0 0 0 1px rgba(214, 233, 255, .25); font-size: 14.5px; font-weight: 600; }
@media (max-width: 860px) { .biz-split { grid-template-columns: 1fr; } }

/* ── process (light) ─────────────────────────────────────────────────── */
.process { background: var(--pearl); color: var(--ink-text); padding: clamp(90px, 11vw, 150px) 0; }
.process .eyebrow { color: var(--blue-ink); }
.process .eyebrow .dot { background: var(--blue); box-shadow: 0 0 0 4px rgba(29, 107, 255, .14); }
.proc { position: relative; }
.proc-line { position: absolute; left: 0; right: 0; top: 34px; height: 3px; border-radius: 3px; background: var(--ink-line); }
.proc-line i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #0b2a7a, var(--blue), var(--cyan)); transform-origin: left; transform: scaleX(var(--fill, 0)); box-shadow: 0 0 16px rgba(29, 107, 255, .6); }
.proc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.proc-list li { position: relative; padding-top: 70px; }
.proc-n { position: absolute; top: 0; left: 0; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; background: var(--pearl); box-shadow: inset 0 0 0 2px var(--ink-line); font: 800 22px/1 var(--display); font-variation-settings: 'wdth' 118; font-style: italic; color: var(--blue-ink); transition: box-shadow .5s, background-color .5s, color .5s; }
.proc-list li.is-lit .proc-n { background: var(--blue-ink); color: #fff; box-shadow: 0 0 0 6px rgba(29, 107, 255, .16), 0 10px 30px -6px rgba(29, 107, 255, .8); }
.proc-list svg { width: 28px; height: 28px; color: var(--blue); margin: 26px 0 14px; }
.proc-list h3 { margin: 0 0 8px; font: 760 21px/1.15 var(--display); font-variation-settings: 'wdth' 108; }
.proc-list p { margin: 0; color: var(--ink-muted); font-size: 15.5px; }
@media (max-width: 960px) {
  .proc-line { left: 34px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .proc-line i { transform-origin: top; transform: scaleY(var(--fill, 0)); }
  .proc-list { grid-template-columns: 1fr; gap: 36px; }
  .proc-list li { padding: 8px 0 0 100px; min-height: 70px; }
  .proc-list svg { display: none; }
}

/* ── about + reviews ─────────────────────────────────────────────────── */
.about { background: radial-gradient(70% 60% at 0% 100%, rgba(29, 107, 255, .2), transparent 60%), var(--navy); padding: clamp(90px, 11vw, 150px) 0; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.about-copy > p { color: #c3d2ee; font-size: 17.5px; max-width: 34em; }
.about-copy .h-xl { margin-bottom: 26px; }
.services { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.services li { padding: 9px 15px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.reviews { display: grid; gap: 16px; }
.score { display: flex; align-items: center; gap: 22px; padding: 26px; border-radius: var(--r-l); background: linear-gradient(140deg, rgba(29, 107, 255, .3), rgba(98, 205, 255, .08)); box-shadow: inset 0 0 0 1px rgba(98, 205, 255, .35); }
.score-n { font: 860 clamp(3.4rem, 6vw, 5rem)/.9 var(--display); font-variation-settings: 'wdth' 118; font-style: italic; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.score-n small { font-size: max(.38em, 16px); }
.score-meta { display: grid; gap: 8px; font-size: 14px; color: #c3d2ee; }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.score-bars { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); }
.score-bars b { color: #fff; }
.review { margin: 0; padding: 26px; border-radius: var(--r-l); background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line); }
.review blockquote { margin: 0 0 16px; font-size: 17px; line-height: 1.55; }
.review figcaption { display: grid; gap: 2px; font-size: 14px; }
.review figcaption span { color: var(--muted); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ── quote (light) ───────────────────────────────────────────────────── */
.quote { background: linear-gradient(180deg, var(--pearl), var(--pearl-2)); color: var(--ink-text); padding: clamp(90px, 11vw, 150px) 0; }
.quote .eyebrow { color: var(--blue-ink); }
.quote .eyebrow .dot { background: var(--blue); box-shadow: 0 0 0 4px rgba(29, 107, 255, .14); }
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.quote-side > p { color: var(--ink-muted); font-size: 17.5px; margin: 22px 0 0; }
.quote-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.quote-points li { display: flex; align-items: center; gap: 12px; font-weight: 550; }
.quote-points svg { width: 22px; height: 22px; color: var(--blue); }
.qform { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-l); background: #fff; box-shadow: 0 0 0 1px var(--ink-line), 0 50px 100px -50px rgba(11, 42, 122, .45); overflow: hidden; }
.qform-progress { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--ink-line); }
.qform-progress i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform-origin: left; transform: scaleX(var(--q, .33)); transition: transform .6s var(--ease); }
.qstep { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.qstep.is-on { display: grid; gap: 22px; animation: stepin .6s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(24px); } }
.qstep legend { padding: 0; margin-bottom: 22px; font: 760 clamp(1.4rem, 2.2vw, 1.8rem)/1.1 var(--display); font-variation-settings: 'wdth' 108; }
.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.choice input, .pill input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: grid; justify-items: center; gap: 10px; padding: 20px 8px 16px; border-radius: 16px; box-shadow: inset 0 0 0 1.5px var(--ink-line); font-weight: 600; font-size: 14.5px; cursor: pointer; transition: box-shadow .3s, background-color .3s, transform .3s var(--ease); }
.choice span svg { width: 28px; height: 28px; color: var(--blue); }
.choice:hover span { transform: translateY(-2px); }
.choice input:checked + span { background: rgba(29, 107, 255, .07); box-shadow: inset 0 0 0 2px var(--blue), 0 10px 24px -14px var(--blue); }
.choice input:focus-visible + span, .pill input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.field { display: grid; gap: 8px; }
.field.two { grid-template-columns: 1fr 1fr; gap: 14px; }
.field.two > div { display: grid; gap: 8px; }
.field label, .field .label { font-weight: 600; font-size: 14.5px; display: flex; justify-content: space-between; gap: 10px; }
.field .opt { font-weight: 400; color: var(--ink-muted); }
.field output { color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.field input:not([type='range']), .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 0; background: var(--pearl); box-shadow: inset 0 0 0 1.5px var(--ink-line); color: var(--ink-text); font-size: 16px; transition: box-shadow .25s, background-color .25s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 4px rgba(29, 107, 255, .12); }
.field [aria-invalid='true'] { box-shadow: inset 0 0 0 2px #d63a4a !important; }
.hint { font-size: 13px; color: var(--ink-muted); }
input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; }
input[type='range']::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue) var(--fill, 3%), var(--ink-line) var(--fill, 3%)); }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--blue), 0 6px 14px rgba(29, 107, 255, .4); }
input[type='range']::-moz-range-track { height: 6px; border-radius: 6px; background: var(--ink-line); }
input[type='range']::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--blue); }
input[type='range']::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--blue); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink-line); font-size: 14.5px; font-weight: 550; cursor: pointer; transition: box-shadow .25s, background-color .25s, color .25s; }
.pill input:checked + span { background: var(--blue); color: #fff; box-shadow: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.qnav { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; }
.qnav .btn:only-child { margin-left: auto; }
.qform .btn-chrome { background: linear-gradient(180deg, #1a5fe6, #0a3fb8); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 12px 30px -10px rgba(29, 107, 255, .9); }
.form-msg { margin: 0; min-height: 1.4em; font-size: 14.5px; color: #c22d3d; }
.qdone { text-align: center; padding: 30px 10px; display: grid; justify-items: center; gap: 10px; animation: stepin .7s var(--ease); }
.qdone img { width: 120px; height: 120px; filter: drop-shadow(0 10px 30px rgba(29, 107, 255, .5)); }
.qdone p { color: var(--ink-muted); max-width: 30em; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .choice-grid { grid-template-columns: 1fr 1fr; } .field.two { grid-template-columns: 1fr; } .qnav .btn { flex: 1 1 auto; min-width: 0; justify-content: center; } .qnav .btn[data-back] { flex: 0 0 auto; } }

/* ── footer ───────────────────────────────────────────────────────────── */
.foot { position: relative; overflow: hidden; background: var(--ink); padding: clamp(80px, 10vw, 140px) 0 calc(30px + env(safe-area-inset-bottom)); text-align: center; }
.foot .marble-gl { opacity: .55; mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 85%); }
.foot-badge { width: min(60vw, 300px); margin: 0 auto 26px; filter: drop-shadow(0 20px 60px rgba(29, 107, 255, .6)); }
.foot-big { margin: 0 0 30px; font: 860 clamp(2.6rem, 8vw, 7.4rem)/.92 var(--display); font-variation-settings: 'wdth' 120; text-transform: uppercase; letter-spacing: -.03em; }
.foot-big span { display: block; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; margin-top: clamp(60px, 8vw, 110px); padding-top: 40px; border-top: 1px solid var(--line); text-align: left; }
.foot-cols h3 { margin: 0 0 14px; font: 700 13px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.foot-cols a, .foot-cols .link-btn { display: block; padding: 5px 0; text-decoration: none; color: #d5e0f5; font-size: 15.5px; }
.foot-cols a:hover, .foot-cols .link-btn:hover { color: #fff; }
.foot-cols p { margin: 0; color: #c3d2ee; font-size: 15.5px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 40px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr; text-align: center; } .foot-legal { justify-content: center; text-align: center; } .foot { padding-bottom: 100px; } }

/* ── chat ─────────────────────────────────────────────────────────────── */
.chat-fab { position: fixed; z-index: 60; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; color: #fff; background: linear-gradient(180deg, #1a5fe6, #0a3fb8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 16px 40px -10px rgba(29, 107, 255, .9); font-weight: 650; transition: transform .4s var(--ease), opacity .3s; }
.chat-fab svg { width: 22px; height: 22px; }
.chat-fab:hover { transform: translateY(-3px); }
.chat-fab-ring { position: absolute; inset: -4px; border-radius: inherit; box-shadow: 0 0 0 2px rgba(98, 205, 255, .7); animation: ring 2.8s var(--ease) infinite; pointer-events: none; }
@keyframes ring { 0% { transform: scale(.96); opacity: .9; } 70%, 100% { transform: scale(1.22); opacity: 0; } }
.chat-fab[aria-expanded='true'] { opacity: 0; pointer-events: none; }
.chat { position: fixed; z-index: 70; right: 22px; bottom: 22px; width: min(400px, calc(100vw - 24px)); height: min(620px, calc(100svh - 120px)); display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #071029; box-shadow: 0 0 0 1px rgba(214, 233, 255, .18), 0 40px 90px -20px rgba(0, 0, 0, .8), 0 0 60px -20px rgba(29, 107, 255, .7); transform-origin: bottom right; animation: chatin .45s var(--ease); }
.chat[hidden] { display: none; }
@keyframes chatin { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: linear-gradient(135deg, #0b2a7a, #1d6bff); }
.chat-head h2 { margin: 0; font: 760 17px/1.2 var(--display); font-variation-settings: 'wdth' 108; }
.chat-head img { width: 40px; height: 40px; }
.chat-status { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #d6e9ff; }
.chat-status i { width: 7px; height: 7px; border-radius: 50%; background: #45e39a; box-shadow: 0 0 8px #45e39a; }
.chat-x { margin-left: auto; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 18px; font-size: 15px; line-height: 1.5; animation: msgin .35s var(--ease); white-space: pre-line; }
@keyframes msgin { from { opacity: 0; transform: translateY(8px); } }
.msg.bot { align-self: flex-start; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--blue); border-bottom-right-radius: 6px; }
.msg a { color: var(--cyan); }
.msg.typing { display: flex; gap: 4px; padding: 14px 16px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ice); animation: blink 1.2s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
.chat-quick { display: flex; gap: 8px; overflow-x: auto; padding: 6px 16px 10px; scrollbar-width: none; }
.chat-quick::-webkit-scrollbar { display: none; }
.chat-quick button { flex: none; min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(98, 205, 255, .12); box-shadow: inset 0 0 0 1px rgba(98, 205, 255, .4); color: var(--ice); font-size: 13.5px; font-weight: 600; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; min-height: 46px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; }
.chat-form input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--cyan); }
.chat-form button { width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--blue); }
@media (max-width: 760px) {
  .chat-fab { display: none; }
  .chat { right: 0; bottom: 0; width: 100vw; height: min(86svh, 680px); border-radius: 24px 24px 0 0; transform-origin: bottom center; }
}

/* ── phone action bar ────────────────────────────────────────────────── */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; z-index: 55; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(4, 9, 22, .9); box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -10px rgba(0, 0, 0, .8); transition: transform .5s var(--ease); }
  .mbar .btn { min-height: 48px; padding: 0 14px; }
  .mbar.is-hidden { transform: translateY(140%); }
}

/* ── reveals ──────────────────────────────────────────────────────────── */
.motion .reveal { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.motion .reveal.is-in { opacity: 1; transform: none; }
.motion .h-xl.reveal { clip-path: inset(0 0 -20% 0); }
.rm .hero-badge, .rm .hero-hud { display: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ════ Round 2 (13 Nov): Finn's feedback ════════════════════════════════════════════════════════ */

/* buttons: solid, crisp and quiet, with the arrow in its own chip */
.btn { min-height: 54px; padding: 0 26px; gap: 14px; font: 620 15px/1 var(--body); letter-spacing: .005em; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s; }
.btn:has(> svg:last-child) { padding-right: 8px; }
.btn > svg:last-child { box-sizing: content-box; width: 16px; height: 16px; padding: 11px; border-radius: 50%; transition: transform .35s var(--ease), background-color .25s; }
.btn:hover > svg:last-child { transform: translateX(3px); }
.btn-chrome, .biz-card--dev .btn-chrome, .qform .btn-chrome { color: #fff; background: #1d6bff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 1px 2px rgba(4, 9, 22, .35), 0 14px 34px -16px rgba(29, 107, 255, .95); }
.btn-chrome::after { content: none; }
.btn-chrome:hover, .biz-card--dev .btn-chrome:hover, .qform .btn-chrome:hover { background: #3a7dff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 1px 2px rgba(4, 9, 22, .35), 0 18px 40px -16px rgba(29, 107, 255, 1); }
.btn-chrome > svg:last-child { color: #1d6bff; background: #fff; }
.btn-chrome:active { background: #155ae6; }
.btn-ghost { color: #fff; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.fine .btn-ghost { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.btn-ghost > svg:last-child { background: rgba(255, 255, 255, .12); }
.light .btn-ghost { color: var(--ink-text); background: transparent; box-shadow: inset 0 0 0 1px rgba(8, 19, 43, .2); }
.light .btn-ghost:hover { background: rgba(8, 19, 43, .05); }
.btn:disabled { opacity: .6; pointer-events: none; }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.mbar .btn { min-height: 50px; }

/* hero close: an inspirational line over Midnight Gold */
.hero-final .eyebrow { justify-content: center; color: #e9c77a; }
.h-final { margin: 0 auto; max-width: 15ch; font: 820 clamp(2.4rem, 6.2vw, 6rem)/.92 var(--display); font-variation-settings: 'wdth' 116; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; text-shadow: 0 6px 50px rgba(0, 0, 0, .55); }
.hero-final .chrome { background: linear-gradient(176deg, #fff8e6 0%, #f0d48f 36%, #a7742a 52%, #ffe8b0 68%, #c99a45 100%); -webkit-background-clip: text; background-clip: text; }
.hero-final .script { font-size: clamp(1.6rem, 3.2vw, 2.6rem); margin-top: 18px; text-shadow: 0 0 26px rgba(233, 199, 122, .55), 0 4px 24px rgba(0, 0, 0, .6); }
.hero-final { transform: translate3d(0, 30px, 0); }
.hero-final.is-on { transform: none; }

/* designer: the pour plays as a short time-lapse */
.vis-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; pointer-events: none; }
.vis-stage.is-filling .vis-fill { opacity: 1; }
.vis-live { position: absolute; z-index: 4; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: rgba(4, 9, 22, .7); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.vis-live i { width: 7px; height: 7px; border-radius: 50%; background: #ff5a5a; box-shadow: 0 0 10px #ff5a5a; animation: rec 1s steps(2) infinite; }
.vis-stage.is-filling .vis-live { opacity: 1; transform: none; }
@keyframes rec { 50% { opacity: .2; } }

/* portfolio: a 3D track with a counter */
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.work-tools { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.work-filter { margin-top: 0; }
.work-count { display: flex; align-items: baseline; gap: 8px; font-family: var(--display); color: var(--muted); }
.work-count b { font-size: 44px; font-weight: 800; font-style: italic; font-variation-settings: 'wdth' 118; color: #fff; font-variant-numeric: tabular-nums; }
.work-count i { align-self: center; position: relative; width: 140px; height: 2px; margin-left: 12px; background: rgba(214, 233, 255, .16); overflow: hidden; border-radius: 2px; }
.work-count s { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform-origin: left; transform: scaleX(var(--wp, .125)); }
.work-stage { perspective: 1500px; perspective-origin: 50% 40%; }
.work.is-pinned .work-track { transform-style: preserve-3d; }
.work.is-pinned .card { transform: translate3d(0, 0, var(--tz, 0)) rotateY(var(--ry, 0deg)) scale(var(--cs, 1)); transform-origin: 50% 50%; transition: opacity .5s; will-change: transform; }
.card { border-radius: 26px; }
.card-no { position: absolute; z-index: 2; right: 18px; top: 14px; font: 800 italic 30px/1 var(--display); font-variation-settings: 'wdth' 118; color: rgba(255, 255, 255, .85); text-shadow: 0 2px 20px rgba(0, 0, 0, .5); }
.card-place { font-weight: 650; }
.card::before { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
@media (max-width: 900px) { .work-tools { align-items: flex-start; } .work-count b { font-size: 32px; } }

/* areas: Bournemouth to everywhere */
.areas { position: relative; overflow: hidden; padding: clamp(90px, 11vw, 150px) 0; background: radial-gradient(60% 70% at 85% 40%, rgba(29, 107, 255, .22), transparent 65%), var(--ink); }
.areas-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.area-list { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.area-list li { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; transition: background-color .3s, box-shadow .3s; }
.area-list li svg { width: 16px; height: 16px; color: var(--cyan); flex: none; }
.area-list li.is-hot { background: rgba(29, 107, 255, .2); box-shadow: inset 0 0 0 1px rgba(98, 205, 255, .5); }
.area-list li small { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.areas-map svg { width: 100%; height: auto; display: block; overflow: visible; stroke: none; }
.map-dots circle { fill: rgba(214, 233, 255, .1); }
.map-arc { fill: none; stroke: url(#arcGrad); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.areas-map.is-in .map-arc { transition: stroke-dashoffset 1.6s var(--ease) var(--d, 0s); stroke-dashoffset: 0; }
.map-runner { fill: #fff; filter: drop-shadow(0 0 6px #62cdff); opacity: 0; }
.areas-map.is-in .map-runner { opacity: 1; }
.map-city circle.dot { fill: #fff; }
.map-city circle.ring { fill: none; stroke: var(--cyan); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; opacity: 0; }
.areas-map.is-in .map-city circle.ring { animation: ping 2.6s var(--ease) infinite; animation-delay: var(--d, 0s); }
.map-city text { fill: #dbe7ff; font: 600 15px var(--body); letter-spacing: .02em; }
.map-city.home text { fill: #fff; font-size: 17px; font-weight: 700; }
.map-city.home circle.dot { fill: var(--cyan); }
.map-city { opacity: 0; transition: opacity .6s var(--d, 0s); }
.areas-map.is-in .map-city { opacity: 1; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(3.2); opacity: 0; } }
@media (max-width: 900px) { .areas-grid { grid-template-columns: 1fr; } .areas-map { order: -1; margin-bottom: 10px; } }

/* about: the crew */
.crew { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.crew div { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }
.crew b { font: 760 20px/1.1 var(--display); font-variation-settings: 'wdth' 110; }
.crew span { color: var(--muted); font-size: 14px; }

/* reviews: a ring of cards that turns as you scroll and can be spun by hand */
.ring-sec { position: relative; overflow: hidden; padding: clamp(90px, 10vw, 140px) 0 clamp(60px, 7vw, 100px); background: radial-gradient(50% 60% at 50% 60%, rgba(29, 107, 255, .28), transparent 70%), linear-gradient(180deg, var(--navy), var(--ink)); }
.ring-head { text-align: center; }
.ring-head .eyebrow { justify-content: center; }
.ring-scene { --cw: 320px; --ch: 440px; position: relative; height: calc(var(--ch) + 140px); display: grid; place-items: center; perspective: 1500px; perspective-origin: 50% 30%; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ring-scene.is-drag { cursor: grabbing; }
.ring { position: relative; width: var(--cw); height: var(--ch); transform-style: preserve-3d; will-change: transform; }
.ring-card { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 28px 26px; border-radius: 24px; background: linear-gradient(165deg, #12285e 0%, #0a1838 55%, #071026 100%); box-shadow: inset 0 0 0 1px rgba(214, 233, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .12), 0 40px 70px -40px rgba(0, 0, 0, .9); transform: rotateY(var(--a)) translateZ(var(--r)); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.ring-card .stars { display: flex; gap: 3px; color: #ffc94a; }
.ring-card .stars svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.ring-card blockquote { margin: 18px 0 auto; font-size: 15.5px; line-height: 1.5; color: #e8eefc; }
.ring-card figcaption { margin-top: 18px; display: grid; gap: 3px; font-size: 14px; }
.ring-card figcaption span { color: var(--muted); font-size: 13px; }
.ring-card .tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 11.5px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.ring-card.score { justify-content: center; text-align: center; align-items: center; background: linear-gradient(165deg, #1d6bff 0%, #0d47c4 60%, #0a2f86 100%); }
.ring-card.score .big { font: 860 italic clamp(4.6rem, 9vw, 6.4rem)/.9 var(--display); font-variation-settings: 'wdth' 120; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ring-card.score .big small { font-size: .32em; }
.ring-card.score b { margin-top: 12px; font: 760 22px/1.1 var(--display); font-variation-settings: 'wdth' 110; }
.ring-card.score p { margin: 8px 0 0; color: #dbe7ff; font-size: 14.5px; }
.ring-note { margin-top: 10px; text-align: center; color: var(--muted); font-size: 13.5px; }
.ring-note a { color: var(--cyan); }
@media (max-width: 700px) { .ring-scene { --cw: 262px; --ch: 420px; perspective: 1100px; } .ring-card { padding: 22px 20px; } .ring-card blockquote { font-size: 14.5px; } }
.rm .ring-scene { height: auto; perspective: none; overflow-x: auto; place-items: start; padding: 0 var(--gut); }
.rm .ring { display: flex; gap: 16px; width: auto; height: auto; transform: none !important; }
.rm .ring-card { position: relative; flex: none; width: var(--cw); height: var(--ch); transform: none; }

/* smooth scrolling (Lenis, desktop pointers only) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
@media (max-width: 900px) { .map-city text { font-size: 21px; } .map-city.home text { font-size: 23px; } .map-arc { stroke-width: 2.2; } }

/* ════ Round 3 (13 Nov): feel. Faster, shorter, steadier on iPhone ═══════════════════════════════ */
/* a shorter film: the whole story in about three flicks on a phone, ~30 wheel notches on desktop */
.film-on .hero { height: 440vh; }
@media (max-width: 768px), (orientation: portrait) { .film-on .hero { height: 400vh; } }
/* the stage fills the LARGE viewport, so it never changes size when Safari's toolbar shows or hides (no dark band,
   no canvas resize, no jump). Overlays near the bottom lift by the toolbar's height so they are never under it. */
.hero-stage { --tb: 0px; height: 100vh; height: 100lvh; }
@supports (height: 100lvh) { .hero-stage { --tb: calc(100lvh - 100svh); } }
@media (max-width: 768px) {
  .hero-intro { bottom: calc(112px + var(--tb)); }
  .hero-steps { bottom: calc(96px + var(--tb)); }
  .hero-scroll { bottom: calc(22px + var(--tb)); }
  .hero-final { bottom: calc(96px + var(--tb)); }
  .hero-unmade { bottom: calc(124px + var(--tb)); }
  .hero-note { bottom: calc(76px + var(--tb)); }
}
/* snappier reveals: content is there as soon as you reach it */
.motion .reveal { transform: translate3d(0, 18px, 0); transition: opacity .55s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
/* phone review cards: room for the longest real review */
@media (max-width: 700px) { .ring-scene { --cw: 270px; --ch: 470px; } .ring-card blockquote { font-size: 14.5px; line-height: 1.45; } }
/* phone tidy: long eyebrows wrap cleanly, the footer button centres like the links, the phone bar never hides the end */
@media (max-width: 760px) {
  .eyebrow { line-height: 1.35; letter-spacing: .16em; align-items: flex-start; }
  .eyebrow .dot { margin-top: .35em; flex: none; }
  .foot-cols .link-btn { margin: 0 auto; }
  .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}
/* touch: every tap answers instantly (a quick press-in), no grey iOS flash, no double-tap zoom wait */
html { -webkit-tap-highlight-color: transparent; }
a, button, label, [role='radio'], [data-handle] { touch-action: manipulation; }
@media (hover: none) {
  .btn:active, .mbar .btn:active, .fin:active, .vis-rooms button:active, .work-filter button:active, .vis-compare:active, .nav-burger:active, .chat-fab:active { transform: scale(.96); transition: transform .08s; }
  .choice input + span:active, .pill:active { transform: scale(.97); transition: transform .08s; }
}
/* pinned portfolio fits a laptop screen with room for the nav: heading and filters side by side, slightly tighter */
.work.is-pinned .work-pin { padding-top: 64px; }
.work.is-pinned .work-head { flex-wrap: nowrap; align-items: flex-end; }
.work.is-pinned .work-head > div:first-child { flex: 1 1 auto; min-width: 0; }
.work.is-pinned .h-xl { font-size: clamp(2.6rem, 4.6vw, 5rem); }
.work.is-pinned .sec-lede { max-width: 640px; }
.work.is-pinned .card-media { max-height: 50svh; }
@media (max-height: 820px) { .work.is-pinned .work-pin { padding-top: 84px; } .work.is-pinned .sec-lede { display: none; } .work.is-pinned .card-media { max-height: 42svh; } }
/* designer: the moment a finish is tapped, the stage says it is pouring */
.vis-stage.is-busy .vis-live { opacity: 1; transform: none; }
/* phone: the route map sits closer under the section above (less empty sky) */
@media (max-width: 900px) { .areas { padding-top: 48px; } .areas-map { margin: -24px -6px 0; } }
/* hero label stays readable over the bright marble */
.hero-intro .eyebrow { color: #8fdcff; text-shadow: 0 1px 2px rgba(4, 9, 22, .7), 0 2px 18px rgba(4, 9, 22, .85); }

/* ════ Round 4 (14 Nov): iPhone, checked in WebKit at a real Safari viewport (390x664 with toolbars) ═══════ */
@media (max-width: 768px) {
  /* the opening screen fits: full width (the 90px kept for the desktop gauge is gone), type sized by height too */
  .hero-intro { left: 16px; right: 16px; max-width: none; bottom: calc(86px + var(--tb)); }
  .hero-intro .h-hero { font-size: min(12.4vw, 7.6svh); line-height: .92; }
  .hero-intro .eyebrow { margin-bottom: 12px; font-size: 11.5px; }
  .hero-intro .lede { font-size: 15.5px; line-height: 1.5; margin-top: 14px; max-width: 34ch; }
  .hero-intro .cta-row { margin-top: 18px; gap: 10px; }
  .hero-intro .cta-row .btn { min-height: 48px; padding: 0 18px; font-size: 15px; }
  .hero-scroll { display: none; }
  /* lighter paint at 3x: shorter, softer shadows */
  .vis-stage { box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px rgba(0, 0, 0, .8); }
  .qform { box-shadow: 0 0 0 1px var(--ink-line), 0 24px 50px -30px rgba(11, 42, 122, .4); }
  .biz-card { box-shadow: inset 0 0 0 1px rgba(214, 233, 255, .2); }
}
@media (max-width: 768px) and (max-height: 600px) { .hero-intro .lede { display: none; } }
/* the hero pieces that fade with the scroll get their own layers, so nothing repaints while you scroll */
.film-on .hero-intro, .hero-shade, .badge-glow, .hero-unmade, .hero-concrete, .hero-final, .hero-steps li { will-change: opacity, transform; }

/* reviews on phones and tablets: a native swipe row, cards snap to the centre */
.ring-scene.is-flat { height: auto; perspective: none; display: block; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 0 22px; cursor: auto; -webkit-overflow-scrolling: touch; }
.ring-scene.is-flat::-webkit-scrollbar { display: none; }
.ring-scene.is-flat .ring { display: flex; gap: 14px; width: max-content; height: auto; padding: 0 max(16px, calc((100vw - 300px) / 2)); transform: none !important; transform-style: flat; will-change: auto; }
.ring-scene.is-flat .ring-card { position: relative; inset: auto; flex: none; width: min(300px, 80vw); min-height: 400px; height: auto; transform: none !important; opacity: 1 !important; scroll-snap-align: center; backface-visibility: visible; box-shadow: inset 0 0 0 1px rgba(214, 233, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .12); }
/* the next card always peeks in from the right, so it is obvious the row swipes; cards size to their words */
.ring-scene.is-flat { scroll-padding-inline: 16px; }
.ring-scene.is-flat .ring { padding: 0 16px; }
.ring-scene.is-flat .ring-card { width: min(296px, 78vw); min-height: 0; scroll-snap-align: start; }
.ring-scene.is-flat .ring-card blockquote { flex: none; }
.motion .reveal.reveal-off { opacity: 1; transform: none; transition: none; clip-path: none; }
/* once the film is drawing, the poster underneath is never seen: stop keeping its full-size bitmap in memory
   (iPhone Safari has a tight memory budget for painted layers; going over it costs a long frame elsewhere) */
.hero.ready .hero-poster { visibility: hidden; transition: visibility 0s 1s; }
.hero.is-away .hero-stage { visibility: hidden; }

/* ════ Round 5 (14 Nov): small iPhones (320-375 wide), tap sizes, native controls ═══════ */
/* grid children may shrink below their longest word, so nothing pushes past the screen edge */
.about-grid > *, .about-grid > * > *, .facts > *, .area-list li, .foot-cols > * { min-width: 0; }
.about-copy > p, .fact span { overflow-wrap: break-word; }
@media (max-width: 360px) { .facts { grid-template-columns: 1fr; } }
/* the big outline word fits the narrowest phones */
@media (max-width: 768px) { .ghost-word { font-size: clamp(2.6rem, 16vw, 17rem); } }
/* areas: the distance sits under the town on phones instead of crushing it */
@media (max-width: 520px) {
  .area-list li { flex-wrap: wrap; row-gap: 1px; padding: 12px 14px; }
  .area-list li small { margin-left: 26px; flex-basis: calc(100% - 26px); font-size: 11px; }
}
/* iPhone Safari ignores the height of a native select: draw our own so it matches the other fields (52px) */
.field select { -webkit-appearance: none; appearance: none; padding-right: 44px; line-height: 1.3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231d6bff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
/* thumb-sized targets on touch screens (44px, Apple's minimum) */
@media (hover: none), (max-width: 760px) {
  .foot-cols a, .foot-cols .link-btn { padding: 0; min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .text-link { min-height: 44px; }
}
.fact > *, .score-meta, .score-meta > * { min-width: 0; }
@media (max-width: 760px) { .fact-n { font-size: clamp(1.55rem, 7.2vw, 2.4rem); } }
@media (max-width: 420px) { .score { padding: 20px; gap: 16px; } }

/* ════ Round 6 (16 Nov): iPhone design pass. Phone only; desktop untouched ═════════════════════════════ */
@media (max-width: 768px) {
  /* opening screen: the words sit on a soft dark wash so they read over the bright marble (fades with the intro) */
  .hero-intro { isolation: isolate; }
  .hero-intro::before { content: ''; position: absolute; z-index: -1; left: -16px; right: -16px; top: -150px; bottom: calc(-86px - var(--tb) - 30px); pointer-events: none;
    background: linear-gradient(180deg, rgba(4, 9, 22, 0) 0%, rgba(4, 9, 22, .46) 20%, rgba(4, 9, 22, .5) 62%, rgba(4, 9, 22, .78) 100%); }
  .hero-intro .lede { color: #eef3fc; }
  .hero-intro .btn-ghost { background: rgba(4, 9, 22, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); }
  .hero-final .btn-ghost { background: rgba(4, 9, 22, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .34); }
}
@media (max-width: 760px) {
  /* tighter rhythm: less dead scrolling between sections */
  .vis, .work, .biz, .process, .about, .ring-sec, .quote { padding-top: 64px; padding-bottom: 64px; }
  .areas { padding-bottom: 64px; }
  .band { padding-bottom: 48px; }
  .foot { padding-top: 64px; padding-bottom: calc(36px + env(safe-area-inset-bottom)); }
  .sec-head { margin-bottom: 28px; }

  /* floor designer: rooms, picture and finishes fit one screen, so a tap on a finish pours where you can see it */
  .vis-rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; overflow: visible; }
  .vis-rooms button { justify-content: center; gap: 6px; padding: 0 6px; font-size: 13.5px; white-space: nowrap; }
  .vis-rooms button svg { width: 16px; height: 16px; flex: none; }
  .vis-app { gap: 12px; }
  .vis-stage { aspect-ratio: 1 / 1; }
  .vis-caption { left: 10px; right: 10px; bottom: 10px; padding: 8px 14px 8px 8px; border-radius: 14px; gap: 10px; }
  .vis-caption b { font-size: 16.5px; }
  .vis-swatch-mini { width: 32px; height: 32px; }
  .vis-compare { left: auto; right: 10px; top: 10px; bottom: auto; min-height: 40px; padding: 0 14px; font-size: 13.5px; }
  .vis-live { left: 10px; top: 10px; }
  .vis-finishes { grid-template-columns: repeat(6, 112px); gap: 8px; padding-top: 2px; padding-bottom: 6px; scroll-padding-inline: var(--gut); }
  .fin { padding: 7px; gap: 7px; border-radius: 16px; }
  .fin-swatch { aspect-ratio: 1.55; border-radius: 11px; }
  .fin-name { font-size: 13.5px; padding: 0 3px 1px; }
  .fin-look { font-size: 11.5px; }

  /* project cards: the words always read, whatever the photo behind them */
  .card-media::after { background: linear-gradient(180deg, rgba(4, 9, 22, 0) 22%, rgba(4, 9, 22, .62) 50%, rgba(4, 9, 22, .96) 80%); }
  .card-place { color: #8fdcff; }
  .card-body { padding: 20px; }
  .work-track { scroll-padding-inline: var(--gut); }
}
@media (max-width: 440px) { .vis-rooms button svg { display: none; } }
@media (max-width: 360px) { .vis-rooms button { font-size: 12.5px; } }

/* ════ Round 7 (18 Nov): footer with every town, floor and London page (search) ═════════════════════════ */
.foot-cols--seo { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
.foot-cols--seo > div:first-child a, .foot-cols--seo > div:first-child .link-btn { margin-top: 2px; }
.foot-cols--seo p + p { margin-top: 10px; }
.foot-cols--seo p a { display: inline; padding: 0; }
@media (max-width: 900px) { .foot-cols--seo { grid-template-columns: 1fr 1fr; } .foot-cols--seo > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .foot-cols--seo { text-align: left; gap: 28px 18px; } .foot-cols--seo a, .foot-cols--seo .link-btn { font-size: 14.5px; } }
.biz-more { margin: 16px 0 0; font-size: 14.5px; }
.biz-more a { color: var(--cyan); text-underline-offset: 3px; display: inline-block; padding: 8px 0; }
.light .biz-more a, .biz-card--dev .biz-more a { color: var(--blue-ink); }
@media (max-width: 760px) {
  .foot-cols--seo { grid-template-columns: 1fr; gap: 30px; }
  .foot-cols--seo > div:not(:first-child) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .foot-cols--seo h3 { grid-column: 1 / -1; }
  .foot-cols--seo a, .foot-cols--seo .link-btn { display: flex; justify-content: flex-start; align-items: center; text-align: left; min-height: 44px; margin: 0; line-height: 1.3; }
  .foot-cols--seo p a { display: inline; min-height: 0; }
}
.qdone:focus { outline: none; }
