/* ==========================================================================
   desynr: main stylesheet
   Sections follow the page order. Tokens first; motion states and
   reduced-motion overrides live at the end.
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */
:root {
  --bg: #0b0b0c;
  --bg-2: #111113;
  --bg-3: #17171a;
  --ink: #ece8e1;
  --ink-rgb: 236, 232, 225;
  --ink-2: #aaa59c;
  --ink-3: #85807a;
  --line: rgba(var(--ink-rgb), 0.1);
  --line-2: rgba(var(--ink-rgb), 0.18);
  --ok: #9ad3a6;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Fragment Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);

  --gutter: clamp(20px, 4.2vw, 64px);
  --maxw: 1520px;
  --section: clamp(120px, 14vw, 216px);
  --nav-h: 76px;

  --fs-hero: clamp(3.3rem, 10.4vw, 11.25rem);
  --fs-display: clamp(2.6rem, 5.8vw, 6.25rem);
  --fs-lead: clamp(1.0625rem, 1.2vw, 1.25rem);
}

/* 2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  color-scheme: dark;
  scrollbar-color: #2a2a2e var(--bg);
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Film grain: one static, composited layer over everything. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

h1, h2, h3, p, figure, blockquote, ol, ul, dl { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, canvas, video { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
em { font-style: italic; }
cite { font-style: normal; }

::selection { background: var(--ink); color: var(--bg); }

:focus-visible {
  outline: 1.5px solid var(--ink);
  outline-offset: 4px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.875rem;
  font-weight: 500;
  transform: translateY(-160%);
  transition: transform 0.4s var(--ease);
}
.skip:focus { transform: none; }

.container {
  width: min(100% - var(--gutter) * 2, var(--maxw));
  margin-inline: auto;
}

.section { padding-block: var(--section); }

section[id], footer[id] { scroll-margin-top: calc(24px - var(--nav-h) - 12px); }

/* 3. Type & shared components
   ========================================================================== */
.display {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 300;
  font-size: var(--fs-display);
  line-height: 1;
  letter-spacing: -0.024em;
  text-wrap: balance;
}
.display em { letter-spacing: -0.012em; }

.label {
  display: flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.label__n {
  display: inline-flex;
  align-items: center;
  color: var(--ink-2);
}
.label__n::after {
  content: "";
  width: 28px;
  height: 1px;
  margin: 0 14px;
  background: var(--line-2);
}

.btn {
  --h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    color 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--light { background: var(--ink); color: var(--bg); }
.btn--light:hover { background: #fff; }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: rgba(var(--ink-rgb), 0.42); background: rgba(var(--ink-rgb), 0.04); }
.btn--sm { --h: 38px; padding: 0 17px; font-size: 0.875rem; }
.btn--lg { --h: 58px; padding: 0 28px; font-size: 1rem; }

.i-arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.5s var(--ease);
}
.btn:hover .i-arrow { transform: translateX(3px); }

.link {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.6s var(--ease), color 0.3s;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* 4. Navigation
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  pointer-events: none;
}

.nav__bar {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  pointer-events: auto;
}

.nav__bar::before {
  content: "";
  position: absolute;
  inset: 12px calc(var(--gutter) * -0.4);
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(16, 16, 18, 0.66);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  opacity: 0;
  transform: translateY(-8px) scale(0.985);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease);
}
.nav.is-scrolled .nav__bar::before,
.nav.is-open .nav__bar::before { opacity: 1; transform: none; }

.wordmark {
  font-family: var(--sans);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  padding: 8px 0;
}

.nav__links {
  position: absolute;
  left: 50%;
  display: flex;
  gap: clamp(22px, 2.6vw, 40px);
  transform: translateX(-50%);
}
.nav__links a {
  position: relative;
  padding: 8px 0;
  font-size: 0.875rem;
  color: var(--ink-2);
  transition: color 0.3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.nav__links a:hover,
.nav__links a.is-current { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }

.nav__end { display: flex; align-items: center; gap: 10px; }

.nav__toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.nav__toggle-icon { position: relative; width: 14px; height: 8px; }
.nav__toggle-icon i {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.nav__toggle-icon i:first-child { top: 0; }
.nav__toggle-icon i:last-child { top: 6.5px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon i { top: 3.25px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon i:first-child { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon i:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  background: var(--bg);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__nav { display: flex; flex-direction: column; gap: 6px; }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 11vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
}
.menu__nav a span {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: 0.04s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: 0.08s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: 0.12s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: 0.16s; }
.menu__foot { margin-top: 56px; color: var(--ink-2); }

/* 5. Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 56px) 0 128px;
  overflow: hidden;
}

/* Ambient light. The lens shader mirrors this gradient (see lens.js). */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle 64vw at 74% 0%, rgba(var(--ink-rgb), 0.06), rgba(var(--ink-rgb), 0));
}

.hero__inner { position: relative; }

.hero__label { margin-bottom: clamp(28px, 4.5vh, 48px); }

.hero__title {
  position: relative;
  z-index: 1;
  max-width: 7.6em;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 300;
  font-size: var(--fs-hero);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero__title em { letter-spacing: -0.015em; }

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 64px;
  margin-top: clamp(44px, 7.5vh, 88px);
}
.hero__lede {
  max-width: 31rem;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-2);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__meta {
  position: absolute;
  inset-inline: 0;
  bottom: 30px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__disciplines span { margin: 0 0.6em; color: rgba(var(--ink-rgb), 0.25); }

.status { display: inline-flex; align-items: center; gap: 11px; }
.status i { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.status i::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid var(--ok);
  border-radius: 50%;
  opacity: 0;
  animation: status-ring 3s var(--ease) infinite;
}
@keyframes status-ring {
  0% { opacity: 0.7; transform: scale(0.4); }
  70%, 100% { opacity: 0; transform: scale(1.4); }
}

.hero__scroll {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-3);
  transition: color 0.3s;
}
.hero__scroll:hover { color: var(--ink); }
.hero__scroll i {
  position: relative;
  width: 1px;
  height: 28px;
  overflow: hidden;
  background: var(--line);
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--ink-2);
  animation: scroll-cue 2.6s var(--ease-io) infinite;
}
@keyframes scroll-cue {
  0% { transform: translateY(-100%); }
  55%, 100% { transform: translateY(100%); }
}

/* The glass lens canvas (hero + footer). Positioned by lens.js. */
.lens {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}
.lens.is-on { opacity: 1; }

/* 6. Premise & facts
   ========================================================================== */
.premise__title { max-width: 15.5em; margin-top: 40px; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(80px, 10vw, 144px);
  border-top: 1px solid var(--line);
}
.facts .fact { padding: 40px 40px 0 0; }
.facts .fact + .fact { padding-left: 40px; border-left: 1px solid var(--line); }

.fact__value {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 300;
  font-size: clamp(3.75rem, 6.4vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  font-variant-numeric: lining-nums proportional-nums;
}
.fact__unit {
  margin-left: 0.06em;
  font-size: 0.4em;
  letter-spacing: 0;
  color: var(--ink-2);
}
.fact__unit--mid { margin: 0 0.04em; font-size: 0.9em; color: var(--ink-3); }

.fact figcaption p {
  max-width: 27ch;
  margin-top: 22px;
  color: var(--ink-2);
}
.fact cite {
  display: block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* 7. Section heads
   ========================================================================== */
.head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 36px;
  align-items: end;
}
.head > .label { grid-column: 1 / -1; }
.head__title { grid-column: 1 / span 7; }
.head__body { grid-column: 9 / -1; color: var(--ink-2); }
.head__body p { font-size: 1.0625rem; line-height: 1.65; }

.head--stack { display: block; }
.head--stack .head__title { max-width: 13em; margin-top: 36px; }
.head__aside { max-width: 33rem; margin-top: 32px; font-size: 1.0625rem; color: var(--ink-2); }

.caps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.caps li {
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ink-2);
}

/* 8. Exhibits (shared)
   ========================================================================== */
.discipline { overflow-x: clip; }
.exhibit { margin-top: clamp(72px, 8vw, 120px); }
.exhibit__stage { position: relative; isolation: isolate; }

.marker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 6;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  box-shadow: 0 0 0 4px rgba(11, 11, 12, 0.18), 0 8px 22px rgba(0, 0, 0, 0.35);
  transform: scale(0);
  transition: transform 0.8s var(--ease), box-shadow 0.4s var(--ease);
}
.marker::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(var(--ink-rgb), 0.85);
  border-radius: 50%;
  opacity: 0;
}
.exhibit.is-shown .marker { transform: scale(1); }
.exhibit.is-shown .marker[data-marker="2"] { transition-delay: 0.12s; }
.exhibit.is-shown .marker[data-marker="3"] { transition-delay: 0.24s; }
.exhibit.is-shown .marker[data-marker="4"] { transition-delay: 0.36s; }
.exhibit .marker.is-active { transform: scale(1.12); transition-delay: 0s; }
.marker.is-active::before { animation: marker-ring 1.8s var(--ease) infinite; }
@keyframes marker-ring {
  0% { opacity: 0.9; transform: scale(0.7); }
  100% { opacity: 0; transform: scale(1.7); }
}

/* Focus dimmer: darkens everything except the active marker's area. */
.spot {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: rgba(7, 7, 9, 0.55);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  -webkit-mask: radial-gradient(circle var(--spot-r, 190px) at var(--sx, 50%) var(--sy, 50%), transparent 30%, #000 100%);
  mask: radial-gradient(circle var(--spot-r, 190px) at var(--sx, 50%) var(--sy, 50%), transparent 30%, #000 100%);
}
.exhibit.has-focus .spot { opacity: 1; }

.notes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.note {
  position: relative;
  padding: 26px 28px 6px 0;
  outline: none;
  cursor: default;
}
.note + .note { padding-left: 28px; border-left: 1px solid var(--line); }
.note::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 28px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.note + .note::before { left: 28px; right: 28px; }
.note.is-active::before { transform: scaleX(1); }

.note__n {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1;
  color: var(--ink-2);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.note.is-active .note__n { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.note h3 {
  margin-top: 20px;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.note p { margin-top: 8px; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); }

.exhibit__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 36px;
  font-size: 0.875rem;
  color: var(--ink-3);
}
.exhibit__label span {
  padding: 5px 10px 4px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* 9. Website exhibit: browser + Saltmere concept site
   ========================================================================== */
.exhibit--web .exhibit__stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -22%;
  z-index: -1;
  width: 110%;
  height: 90%;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(ellipse 50% 55% at 50% 0%, rgba(var(--ink-rgb), 0.07), transparent 72%);
}

.browser {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--ink-rgb), 0.1);
  border-radius: 14px;
  background: #141416;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 70px 120px -60px rgba(0, 0, 0, 0.95),
    0 40px 200px -70px rgba(236, 168, 120, 0.28);
}

.browser__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(#19191c, #141416);
}
.browser__dots { display: flex; gap: 7px; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: #2e2e33; }
.browser__url {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: min(300px, 40vw);
  height: 28px;
  padding: 0 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12.5px;
  color: var(--ink-3);
}
.browser__url svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.2; }

.browser__view {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1280 / 760;
  container-type: inline-size;
  background: #f3eee6;
}

/* Concept site, authored on a 1280 × 760 artboard. 1 design px = var(--u). */
.site {
  --u: calc(100cqw / 1280);
  position: absolute;
  inset: 0;
  background: #f3eee6;
  color: #1d2329;
  font-family: var(--sans);
  font-size: calc(var(--u) * 14);
  line-height: 1.5;
}

.site__nav {
  position: absolute;
  inset: 0 0 auto;
  height: calc(var(--u) * 64);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 calc(var(--u) * 40);
}
.site__links { display: flex; gap: calc(var(--u) * 28); font-size: calc(var(--u) * 13); color: #3b434a; }
.site__logo {
  padding-left: 0.34em;
  font-family: var(--serif);
  font-size: calc(var(--u) * 19);
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.site__navr {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 22);
  font-size: calc(var(--u) * 13);
  color: #3b434a;
}
.site__book {
  padding: calc(var(--u) * 10) calc(var(--u) * 18);
  border-radius: 999px;
  background: #1f2a33;
  color: #f3eee6;
  font-weight: 500;
}

.site__hero {
  position: absolute;
  left: calc(var(--u) * 24);
  right: calc(var(--u) * 24);
  top: calc(var(--u) * 64);
  bottom: calc(var(--u) * 24);
  overflow: hidden;
  border-radius: calc(var(--u) * 18);
  background: #1b2333;
}

.sea, .sea > i, .sea > svg, .sea > span { position: absolute; }
.sea { inset: 0; }

.sea__sky {
  inset: 0 0 49%;
  background: linear-gradient(180deg,
    #1d2840 0%,
    #2f3b58 16%,
    #5a5875 32%,
    #9a7b86 46%,
    #cf9787 62%,
    #eeb48e 80%,
    #f8d3a0 96%,
    #fbe2b6 100%);
}
.sea__cloud {
  height: calc(var(--u) * 16);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 214, 188, 0.42), rgba(255, 214, 188, 0) 70%);
  filter: blur(calc(var(--u) * 3));
  animation: cloud-drift 46s var(--ease-io) infinite alternate;
}
.sea__cloud--a { left: 6%; top: 24%; width: 44%; }
.sea__cloud--b { left: 52%; top: 15%; width: 34%; height: calc(var(--u) * 10); opacity: 0.7; animation-duration: 58s; animation-direction: alternate-reverse; }
@keyframes cloud-drift {
  from { transform: translateX(-3%); }
  to { transform: translateX(4%); }
}

.sea__sun {
  left: 66%;
  top: 51%;
  width: calc(var(--u) * 68);
  height: calc(var(--u) * 68);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff6e2 0 46%, #ffe0b0 62%, rgba(255, 214, 160, 0) 72%);
  box-shadow: 0 0 calc(var(--u) * 90) calc(var(--u) * 36) rgba(255, 200, 140, 0.34);
  clip-path: inset(-300% -300% 50% -300%);
}

.sea__land { left: 0; bottom: 49%; width: 100%; height: calc(var(--u) * 160); }
.sea__land-far { fill: #6f5f74; opacity: 0.7; }
.sea__land-near { fill: #2e2a3a; }

.sea__water {
  inset: 51% 0 0;
  background:
    radial-gradient(ellipse 34% 30% at 66% 0%, rgba(255, 206, 150, 0.45), rgba(255, 206, 150, 0) 70%),
    linear-gradient(180deg, #d5a289 0%, #8f7a87 7%, #535672 24%, #2c3550 52%, #1a2236 80%, #131a2a 100%);
}

.sea__glint {
  left: 66%;
  top: 51.5%;
  width: calc(var(--u) * 260);
  height: 48%;
  transform: translateX(-50%);
}
.sea__glint i {
  position: absolute;
  left: 50%;
  top: var(--y);
  width: var(--w);
  height: calc(var(--u) * 2);
  margin-left: calc(var(--w) / -2);
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 226, 182, 0), rgba(255, 226, 182, var(--o)) 50%, rgba(255, 226, 182, 0));
  animation: glint var(--t) ease-in-out infinite alternate;
}
@keyframes glint {
  0% { transform: scaleX(0.55); opacity: 0.45; }
  100% { transform: scaleX(1.15); opacity: 1; }
}

.sea__vignette {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 13, 22, 0) 58%, rgba(10, 13, 22, 0.45) 100%),
    radial-gradient(ellipse 120% 95% at 50% 35%, rgba(10, 13, 22, 0) 60%, rgba(10, 13, 22, 0.4) 100%);
}

.site__copy {
  position: absolute;
  left: calc(var(--u) * 56);
  bottom: calc(var(--u) * 50);
  width: calc(var(--u) * 540);
  color: #f7f0e4;
}
.site__kicker {
  margin-bottom: calc(var(--u) * 18);
  font-size: calc(var(--u) * 11);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}
.site__title {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: calc(var(--u) * 74);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.022em;
}
.site__text {
  max-width: calc(var(--u) * 380);
  margin-top: calc(var(--u) * 20);
  font-size: calc(var(--u) * 14.5);
  line-height: 1.55;
  opacity: 0.84;
}

.site__aside {
  position: absolute;
  right: calc(var(--u) * 32);
  bottom: calc(var(--u) * 32);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: calc(var(--u) * 12);
}
.site__proof {
  padding: calc(var(--u) * 8) calc(var(--u) * 15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(18, 22, 34, 0.42);
  font-size: calc(var(--u) * 12.5);
  color: #f7f0e4;
}
.site__stars { margin-right: calc(var(--u) * 6); letter-spacing: 0.08em; color: #f2cf92; }
.site__booking {
  display: flex;
  padding: calc(var(--u) * 8);
  border-radius: calc(var(--u) * 14);
  background: #f7f2ea;
  box-shadow: 0 calc(var(--u) * 24) calc(var(--u) * 48) rgba(8, 12, 22, 0.35);
}
.site__field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: calc(var(--u) * 2);
  min-width: calc(var(--u) * 118);
  padding: 0 calc(var(--u) * 20);
  border-right: 1px solid rgba(29, 35, 41, 0.12);
  line-height: 1.25;
}
.site__field small {
  font-size: calc(var(--u) * 9.5);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a8f93;
}
.site__field b { font-size: calc(var(--u) * 14); font-weight: 500; }
.site__cta {
  display: flex;
  align-items: center;
  height: calc(var(--u) * 52);
  margin-left: calc(var(--u) * 8);
  padding: 0 calc(var(--u) * 24);
  border-radius: calc(var(--u) * 10);
  background: #1f2a33;
  color: #f7f2ea;
  font-size: calc(var(--u) * 13.5);
  font-weight: 500;
}

/* 10. App exhibit: phone + Saltmere guest app
   ========================================================================== */
.apps {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: center;
}
.apps__copy { grid-column: 1 / span 6; }
.apps__title { margin-top: 36px; }
.apps__lede { max-width: 35rem; margin-top: 32px; font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); }

.fact--inline {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  max-width: 36rem;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.fact--inline .fact__value { font-size: clamp(3.25rem, 4.6vw, 4.75rem); }
.fact--inline figcaption p { margin-top: 4px; }

.notes--stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  max-width: 40rem;
  margin-top: 48px;
  border-top: 0;
}
.notes--stack .note,
.notes--stack .note + .note { padding: 22px 0 10px; border-left: 0; border-top: 1px solid var(--line); }
.notes--stack .note::before,
.notes--stack .note + .note::before { left: 0; right: 0; }

.exhibit--app {
  grid-column: 8 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
}
.exhibit--app .exhibit__stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 190%;
  height: 120%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(ellipse 45% 45% at 50% 45%, rgba(var(--ink-rgb), 0.075), transparent 70%);
}
.exhibit--app .exhibit__label { justify-content: center; text-align: center; }
.exhibit--app .spot { --spot-r: 130px; }

.phone { position: relative; width: min(372px, 80vw); }
.phone__frame {
  position: relative;
  padding: 3.1%;
  border-radius: 16% / 7.4%;
  background: linear-gradient(145deg, #4a4a51 0%, #1c1c20 20%, #2b2b30 48%, #141417 76%, #3c3c42 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 60px 110px -40px rgba(0, 0, 0, 0.9),
    0 30px 160px -50px rgba(236, 200, 160, 0.22);
}
.phone__frame::before {
  content: "";
  position: absolute;
  inset: 1.1%;
  border-radius: 15% / 6.9%;
  background: #050506;
}
.phone__frame::after {
  /* side buttons */
  content: "";
  position: absolute;
  right: -2px;
  top: 25%;
  width: 3px;
  height: 11%;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, #2b2b30, #4a4a51);
}
.phone__screen {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  border-radius: 13.4% / 6.2%;
  container-type: inline-size;
  background: #f3eee6;
}

.app {
  --u: calc(100cqw / 390);
  --sea: #2e4a5d;
  --ink-app: #1b232a;
  --muted-app: #737b81;
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #f3eee6;
  color: var(--ink-app);
  font-family: var(--sans);
  font-size: calc(var(--u) * 15);
  line-height: 1.35;
}
.app svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }

.app__status {
  position: absolute;
  inset: 0 0 auto;
  height: calc(var(--u) * 54);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--u) * 4) calc(var(--u) * 30) 0 calc(var(--u) * 40);
}
.app__clock { font-size: calc(var(--u) * 16); font-weight: 600; letter-spacing: -0.01em; }
.app .app__sys { width: calc(var(--u) * 66); height: calc(var(--u) * 12); fill: currentColor; stroke: none; }

.app__top {
  position: absolute;
  top: calc(var(--u) * 62);
  left: calc(var(--u) * 24);
  right: calc(var(--u) * 24);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app__logo { font-family: var(--serif); font-size: calc(var(--u) * 13); letter-spacing: 0.32em; text-transform: uppercase; }
.app__avatar {
  display: grid;
  place-items: center;
  width: calc(var(--u) * 34);
  height: calc(var(--u) * 34);
  border-radius: 50%;
  background: #dccfbd;
  color: #3b3127;
  font-family: var(--serif);
  font-size: calc(var(--u) * 15);
}

.app__hello { position: absolute; top: calc(var(--u) * 110); left: calc(var(--u) * 24); }
.app__greet {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: calc(var(--u) * 31);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.app__meta { margin-top: calc(var(--u) * 9); font-size: calc(var(--u) * 13); color: var(--muted-app); }

.app__key {
  position: absolute;
  top: calc(var(--u) * 214);
  left: calc(var(--u) * 20);
  right: calc(var(--u) * 20);
  height: calc(var(--u) * 166);
  overflow: hidden;
  padding: calc(var(--u) * 20) calc(var(--u) * 22);
  border-radius: calc(var(--u) * 24);
  background:
    radial-gradient(ellipse 80% 90% at 100% 0%, rgba(126, 168, 186, 0.35), rgba(126, 168, 186, 0) 60%),
    linear-gradient(155deg, #30505f 0%, #1d3040 58%, #253c4c 100%);
  color: #f3eee6;
  box-shadow: 0 calc(var(--u) * 16) calc(var(--u) * 30) rgba(28, 46, 60, 0.26);
  transition: transform 0.5s var(--ease);
}
.app__key::after {
  /* unlock sheen */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0) 70%);
  transform: translateX(-110%);
}
.app__key.is-pressed { transform: scale(0.975); }
.app__key.is-unlocked::after { transform: translateX(110%); transition: transform 1.1s var(--ease); }

.app__key-rings {
  position: absolute;
  right: calc(var(--u) * -64);
  top: 50%;
  width: calc(var(--u) * 250);
  height: calc(var(--u) * 250);
  transform: translateY(-50%);
}
.app__key-rings i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}
.app__key-rings i:nth-child(2) { inset: 18%; border-color: rgba(255, 255, 255, 0.16); }
.app__key-rings i:nth-child(3) { inset: 36%; border-color: rgba(255, 255, 255, 0.2); }
.app__key.is-unlocked .app__key-rings i { animation: key-ring 1.4s var(--ease) both; }
.app__key.is-unlocked .app__key-rings i:nth-child(2) { animation-delay: 0.08s; }
.app__key.is-unlocked .app__key-rings i:nth-child(3) { animation-delay: 0.16s; }
@keyframes key-ring {
  0% { transform: scale(1); border-color: rgba(255, 255, 255, 0.5); }
  100% { transform: scale(1.08); border-color: rgba(255, 255, 255, 0.12); }
}

.app__key-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: calc(var(--u) * 11);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.app__key-top > span:first-child { opacity: 0.75; }
.app__key-state {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--u) * 6);
  padding: calc(var(--u) * 5) calc(var(--u) * 10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: calc(var(--u) * 10.5);
  letter-spacing: 0.08em;
}
.app__key-state i {
  width: calc(var(--u) * 6);
  height: calc(var(--u) * 6);
  border-radius: 50%;
  background: #cfe3d4;
  transition: background-color 0.4s;
}
.app__key.is-unlocked .app__key-state i { background: #8fe0a8; box-shadow: 0 0 calc(var(--u) * 8) #8fe0a8; }

.app__key-num {
  position: relative;
  display: block;
  margin-top: calc(var(--u) * 14);
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: calc(var(--u) * 56);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}
.app__key-hint {
  position: absolute;
  left: calc(var(--u) * 22);
  bottom: calc(var(--u) * 20);
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 8);
  font-size: calc(var(--u) * 13);
  opacity: 0.88;
}
.app__key-hint svg { width: calc(var(--u) * 18); height: calc(var(--u) * 18); stroke-width: 1.6; }
.app__key-check {
  position: absolute;
  right: calc(var(--u) * 20);
  bottom: calc(var(--u) * 16);
  display: grid;
  place-items: center;
  width: calc(var(--u) * 36);
  height: calc(var(--u) * 36);
  border-radius: 50%;
  background: #f3eee6;
  color: var(--sea);
  transform: scale(0);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.app__key-check svg { width: 62%; height: 62%; stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.app__key.is-unlocked .app__key-check { transform: scale(1); }
.app__key.is-unlocked .app__key-check svg { stroke-dashoffset: 0; transition: stroke-dashoffset 0.5s var(--ease) 0.2s; }

.app__section { position: absolute; left: calc(var(--u) * 24); right: calc(var(--u) * 24); }
.app__section--tonight { top: calc(var(--u) * 400); }
.app__section--needs { top: calc(var(--u) * 608); }
.app__h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: calc(var(--u) * 15);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.app__h small { font-size: calc(var(--u) * 12.5); font-weight: 400; color: var(--muted-app); }

.app__list { margin-top: calc(var(--u) * 8); }
.app__list li {
  display: grid;
  grid-template-columns: calc(var(--u) * 62) 1fr;
  padding: calc(var(--u) * 8) 0;
  border-top: 1px solid rgba(27, 35, 42, 0.08);
}
.app__time { font-size: calc(var(--u) * 13.5); font-weight: 500; font-variant-numeric: tabular-nums; }
.app__time small { margin-left: calc(var(--u) * 2); font-size: calc(var(--u) * 10); font-weight: 400; color: var(--muted-app); }
.app__item { display: flex; flex-direction: column; gap: calc(var(--u) * 2); }
.app__item b { font-size: calc(var(--u) * 14.5); font-weight: 500; }
.app__item small { font-size: calc(var(--u) * 12.5); color: var(--muted-app); }

.app__chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(var(--u) * 8);
  margin-top: calc(var(--u) * 12);
}
.app__chip {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 9);
  height: calc(var(--u) * 46);
  padding: 0 calc(var(--u) * 13);
  border: 1px solid rgba(27, 35, 42, 0.08);
  border-radius: calc(var(--u) * 14);
  background: #fbf8f3;
  font-size: calc(var(--u) * 13.5);
  font-weight: 500;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.app__chip svg { flex: none; width: calc(var(--u) * 18); height: calc(var(--u) * 18); stroke-width: 1.5; color: var(--sea); transition: color 0.35s; }
.app__chip.is-pressed { transform: scale(0.96); }
.app__chip.is-on { background: #1f2a33; color: #f3eee6; }
.app__chip.is-on svg { color: #f3eee6; }

.app__tabbar {
  position: absolute;
  inset: auto 0 0;
  height: calc(var(--u) * 86);
  display: flex;
  justify-content: space-around;
  padding: calc(var(--u) * 10) calc(var(--u) * 10) 0;
  border-top: 1px solid rgba(27, 35, 42, 0.07);
  background: rgba(246, 242, 235, 0.94);
}
.app__tabbar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--u) * 4);
  width: calc(var(--u) * 60);
  font-size: calc(var(--u) * 10.5);
  font-weight: 500;
  color: #8b9196;
}
.app__tabbar svg { width: calc(var(--u) * 24); height: calc(var(--u) * 24); stroke-width: 1.5; }
.app__tabbar .is-active { color: var(--ink-app); }
.app__home {
  position: absolute;
  left: 50%;
  bottom: calc(var(--u) * 8);
  width: calc(var(--u) * 134);
  height: calc(var(--u) * 5);
  margin-left: calc(var(--u) * -67);
  border-radius: 99px;
  background: var(--ink-app);
}

/* Dynamic Island: idle pill that expands into the confirmation. */
.app__island {
  position: absolute;
  z-index: 10;
  top: calc(var(--u) * 11);
  left: 50%;
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 12);
  width: calc(var(--u) * 124);
  height: calc(var(--u) * 36);
  margin-left: calc(var(--u) * -62);
  padding: 0 calc(var(--u) * 14);
  overflow: hidden;
  border-radius: calc(var(--u) * 20);
  background: #000;
  color: #fff;
  transition:
    width 0.6s cubic-bezier(0.32, 1.3, 0.42, 1),
    height 0.6s cubic-bezier(0.32, 1.3, 0.42, 1),
    margin-left 0.6s cubic-bezier(0.32, 1.3, 0.42, 1),
    border-radius 0.6s cubic-bezier(0.32, 1.3, 0.42, 1);
}
.app__island.is-open {
  width: calc(var(--u) * 352);
  height: calc(var(--u) * 74);
  margin-left: calc(var(--u) * -176);
  border-radius: calc(var(--u) * 38);
}
.app__island > span { flex: none; opacity: 0; transform: scale(0.9); transition: opacity 0.25s, transform 0.25s; }
.app__island.is-open > span { opacity: 1; transform: none; transition: opacity 0.4s var(--ease) 0.22s, transform 0.5s var(--ease) 0.22s; }
.app__island-icon {
  display: grid;
  place-items: center;
  width: calc(var(--u) * 38);
  height: calc(var(--u) * 38);
  margin-left: calc(var(--u) * 4);
  border-radius: 50%;
  background: #4fbf74;
}
.app__island-icon svg { width: 60%; height: 60%; stroke-width: 2.6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.app__island.is-open .app__island-icon svg { stroke-dashoffset: 0; transition: stroke-dashoffset 0.5s var(--ease) 0.4s; }
.app__island-text { display: flex; flex-direction: column; gap: calc(var(--u) * 2); white-space: nowrap; }
.app__island-text b { font-size: calc(var(--u) * 14.5); font-weight: 600; }
.app__island-text small { font-size: calc(var(--u) * 12); color: rgba(255, 255, 255, 0.62); }

.app__touch {
  position: absolute;
  z-index: 20;
  left: 0;
  top: 0;
  width: calc(var(--u) * 48);
  height: calc(var(--u) * 48);
  margin: calc(var(--u) * -24) 0 0 calc(var(--u) * -24);
  border-radius: 50%;
  background: rgba(27, 35, 42, 0.16);
  box-shadow: inset 0 0 0 calc(var(--u) * 1.5) rgba(255, 255, 255, 0.75), 0 calc(var(--u) * 4) calc(var(--u) * 14) rgba(27, 35, 42, 0.18);
  opacity: 0;
  transform: translate(var(--tx, 50%), var(--ty, 50%)) scale(0.6);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.app__touch.is-down { opacity: 1; transform: translate(var(--tx), var(--ty)) scale(1); }
.app__touch.is-press { transform: translate(var(--tx), var(--ty)) scale(0.82); }

/* 11. Approach
   ========================================================================== */
.approach {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
}
.approach__head {
  position: sticky;
  top: calc(var(--nav-h) + 48px);
  grid-column: 1 / span 5;
}
.approach__title { margin-top: 36px; }
.approach__lede { max-width: 30rem; margin-top: 32px; font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); }

.questions { grid-column: 7 / -1; margin-top: 4px; }
.question {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  padding: 34px 0 38px;
  border-top: 1px solid var(--line);
}
.question:last-child { border-bottom: 1px solid var(--line); }
.question__n {
  padding-top: 0.95em;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1;
  color: var(--ink-3);
  transition: color 0.4s;
}
.question__q {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(1.625rem, 2.5vw, 2.375rem);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.016em;
  text-wrap: balance;
  transition: transform 0.7s var(--ease);
}
.question__a {
  grid-column: 2;
  max-width: 34rem;
  margin-top: 16px;
  color: var(--ink-2);
}
.question__a span {
  display: inline-block;
  margin-right: 12px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
@media (hover: hover) {
  .question:hover .question__q { transform: translateX(8px); }
  .question:hover .question__n { color: var(--ink); }
}

/* 12. Interlude
   ========================================================================== */
.interlude {
  padding-block: clamp(40px, 6vw, 96px) clamp(96px, 12vw, 180px);
  text-align: center;
}
.interlude__quote p {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(2.75rem, 8vw, 8.5rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.interlude__quote footer {
  margin-top: 36px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.interlude__quote footer cite { color: var(--ink-2); }

/* 13. Process
   ========================================================================== */
.steps-wrap { position: relative; margin-top: clamp(72px, 8vw, 120px); }
.steps__rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  height: 1px;
  background: var(--line);
}
.steps__rail i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(var(--ink-rgb), 0.2), var(--ink));
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}
.step { position: relative; padding-top: 40px; }
.step__dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 9px;
  height: 9px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--bg);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.step.is-lit .step__dot { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 6px rgba(var(--ink-rgb), 0.08); }
.step__n { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-3); }
.step h3 {
  margin-top: 14px;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(1.5rem, 2.1vw, 2.125rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.016em;
}
.step p { max-width: 24ch; margin-top: 14px; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); }

/* 14. Standards
   ========================================================================== */
.specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(64px, 7vw, 104px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.spec {
  position: relative;
  padding: 36px 32px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.spec::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 240px at var(--mx, 50%) var(--my, 50%), rgba(var(--ink-rgb), 0.065), rgba(var(--ink-rgb), 0) 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.spec:hover::before { opacity: 1; }
.spec__icon {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.spec__icon .d { fill: var(--ink); stroke: none; }
.spec h3 { margin-top: 52px; font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; }
.spec p { margin-top: 8px; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); }

/* 15. FAQ
   ========================================================================== */
.faq {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: start;
}
.faq__head { grid-column: 1 / span 5; }
.faq__title { margin-top: 36px; }
.faq__note { margin-top: 32px; color: var(--ink-2); }
.faq__note .link { color: var(--ink); }
.faq__list { grid-column: 7 / -1; border-top: 1px solid var(--line); }

.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: border-color 0.3s, background-color 0.3s, transform 0.6s var(--ease);
}
.qa summary i::before,
.qa summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.6s var(--ease);
}
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] summary i { transform: rotate(180deg); background: rgba(var(--ink-rgb), 0.06); }
.qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa summary:hover i { border-color: rgba(var(--ink-rgb), 0.45); }
.qa__a { overflow: hidden; }
.qa__a p { max-width: 40rem; padding: 0 64px 32px 0; color: var(--ink-2); }

/* 16. Enquire
   ========================================================================== */
/* The glow is allowed to spill past the section so it pools over the footer line. */
.enquire { position: relative; isolation: isolate; overflow-x: clip; }
.enquire::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -38vw;
  z-index: -1;
  width: 150vw;
  height: 70vw;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(var(--ink-rgb), 0.075), rgba(var(--ink-rgb), 0) 62%);
}
.enquire__title { max-width: 11em; margin-top: 36px; }
.enquire__intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 36px;
  align-items: end;
  margin-top: 32px;
}
.enquire__lede { grid-column: 1 / span 6; max-width: 34rem; font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); }

.brief { max-width: 1120px; margin-top: clamp(64px, 7.5vw, 112px); }
.brief__label { margin-bottom: 20px; }
.brief__line {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(1.5rem, 3.1vw, 2.875rem);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.012em;
  color: var(--ink-2);
}
.brief__field { position: relative; display: inline-block; }
.brief__field--tight > .brief__input,
.brief__field--tight > select { margin-right: 0; }
.brief__input,
.brief__select select {
  margin: 0 0.12em;
  padding: 0 0.08em 0.04em;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  line-height: 1.2;
  letter-spacing: inherit;
  field-sizing: content;
  transition: border-color 0.3s;
}
.brief__input { min-width: 3ch; }
.brief__input::placeholder { color: var(--ink-3); font-style: italic; opacity: 1; }
.brief__input:focus,
.brief__select select:focus { outline: none; border-bottom-color: var(--ink); }
.brief__input:focus-visible,
.brief__select select:focus-visible { outline: none; }
.brief__input.is-invalid { border-bottom-color: #e59a8c; }
.brief__select select {
  padding-right: 0.9em;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.brief__select option { background: var(--bg-2); color: var(--ink); font-family: var(--sans); font-size: 1rem; }
.brief__select svg {
  position: absolute;
  right: 0.18em;
  top: 50%;
  width: 0.42em;
  height: 0.42em;
  margin-top: -0.18em;
  fill: none;
  stroke: var(--ink-2);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.brief__more { display: block; margin-top: 44px; }
.brief__more textarea {
  display: block;
  width: 100%;
  min-height: 3.4em;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.3s;
}
.brief__more textarea::placeholder { color: var(--ink-3); opacity: 1; }
.brief__more textarea:focus { outline: none; border-bottom-color: var(--ink); }
.brief__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 44px; }
.brief__hint { font-size: 0.875rem; color: var(--ink-3); }
.brief__hint.is-error { color: #e59a8c; }
.brief__hint.is-done { color: var(--ink-2); }

/* The two ways in: email directly (beside the intro) or send the note below. */
.direct {
  grid-column: 8 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.direct__label,
.brief__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.direct__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.direct__email {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.8s var(--ease);
}
.direct__email:hover { background-size: 100% 1px; }
.direct__copy {
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}
.direct__copy:hover { border-color: rgba(var(--ink-rgb), 0.45); background: rgba(var(--ink-rgb), 0.04); }

/* 17. Footer
   ========================================================================== */
.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(72px, 8vw, 112px);
  border-top: 1px solid var(--line);
}
.footer__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 20px; }
.footer__sign {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(1.625rem, 2.8vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.016em;
}
.footer__top-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--ink-2); transition: color 0.3s; }
.footer__top-link:hover { color: var(--ink); }
.footer__top-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.5s var(--ease); }
.footer__top-link:hover svg { transform: translateY(-3px); }

.footer__mark { position: relative; margin-top: clamp(48px, 7vw, 96px); }
.footer__word {
  font-family: var(--sans);
  font-size: calc(min(100vw - var(--gutter) * 2, var(--maxw)) * 0.327);
  font-weight: 600;
  line-height: 0.74;
  letter-spacing: -0.068em;
  text-align: center;
  white-space: nowrap;
  color: rgba(var(--ink-rgb), 0.92);
  padding-bottom: 0.2em;
  user-select: none;
}
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(28px, 4vw, 48px);
  padding: 26px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--ink-3);
}
.footer__base .link { color: var(--ink-2); }

/* 18. Motion states (only with JS; no-JS gets the finished page)
   ========================================================================== */
.js .nav { opacity: 0; transition: opacity 1.2s var(--ease) 0.5s; }
.js.is-ready .nav { opacity: 1; }

.js [data-intro] { opacity: 0; transform: translate3d(0, 18px, 0); }
.js.is-ready [data-intro] {
  opacity: 1;
  transform: none;
  transition: opacity 1.4s var(--ease) var(--d, 0.55s), transform 1.6s var(--ease) var(--d, 0.55s);
}
.js.is-ready .hero__label { --d: 0.1s; }
.js.is-ready .hero__actions { --d: 0.68s; }
.js.is-ready .hero__meta { --d: 0.9s; }

.js [data-reveal] { opacity: 0; transform: translate3d(0, 30px, 0); }
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 1.2s var(--ease) var(--d, 0s), transform 1.4s var(--ease) var(--d, 0s);
}

.js [data-split],
.js [data-hero-title] { visibility: hidden; }
.js [data-split].is-split,
.js [data-hero-title].is-split { visibility: visible; }

.ln {
  display: block;
  overflow: hidden;
  padding-bottom: 0.15em;
  margin-bottom: -0.15em;
}
.ln__i {
  display: block;
  white-space: nowrap;
  transform: translate3d(0, calc(100% + 0.32em), 0);
}
.is-in > .ln > .ln__i {
  transform: none;
  transition: transform 1.3s var(--ease) calc(var(--i) * 85ms + var(--d, 0s));
}

.spec__icon > :not(.d) { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .spec .spec__icon > :not(.d) { stroke-dashoffset: 1; }
.js .spec.is-in .spec__icon > :not(.d) { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease) calc(var(--d, 0s) + 0.2s); }

/* 19. Responsive
   ========================================================================== */
/* Portrait tablets: let the headline fill the taller canvas. */
@media (min-width: 601px) and (max-aspect-ratio: 4/5) {
  :root { --fs-hero: clamp(3.3rem, 13vw, 11.25rem); }
}

@media (max-width: 1180px) {
  .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notes .note:nth-child(3) { padding-left: 0; border-left: 0; }
  .notes .note:nth-child(3)::before { left: 0; }
  .notes .note:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .head__title { grid-column: 1 / span 8; }
  .head__body { grid-column: 1 / span 8; }
  .head { row-gap: 28px; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
  .apps { row-gap: 72px; }
  .apps__copy, .exhibit--app { grid-column: 1 / -1; }
  .approach__head { position: static; grid-column: 1 / -1; }
  .questions { grid-column: 1 / -1; margin-top: 56px; }
  .faq__head, .faq__list { grid-column: 1 / -1; }
  .faq__list { margin-top: 56px; }
  .steps { grid-template-columns: 1fr; gap: 44px; padding-left: 40px; }
  .steps__rail { left: 4px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .steps__rail i { background: linear-gradient(180deg, rgba(var(--ink-rgb), 0.2), var(--ink)); transform: scaleY(var(--p, 0)); transform-origin: top; }
  .step { padding-top: 0; }
  .step__dot { left: -40px; top: 6px; }
  .step p { max-width: 36rem; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .hero__meta { grid-template-columns: 1fr auto; }
  .hero__disciplines { display: none; }
  .head__title, .head__body { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr; }
  .enquire__lede, .direct { grid-column: 1 / -1; }
  .direct__email { font-size: clamp(2rem, 5.6vw, 3rem); }
  .facts .fact, .facts .fact + .fact { padding: 36px 0 40px; border-left: 0; }
  .facts .fact + .fact { border-top: 1px solid var(--line); }
  .marker { width: 20px; height: 20px; margin: -10px 0 0 -10px; font-size: 9.5px; }
  .marker::before { inset: -5px; }
  .browser__bar { height: 36px; padding: 0 12px; }
  .browser__dots i { width: 9px; height: 9px; }
  .browser__url { min-width: 0; height: 22px; font-size: 11px; }
  .browser { border-radius: 10px; }
}

@media (max-width: 600px) {
  :root { --nav-h: 68px; }
  .hero { padding-bottom: 112px; }
  .hero__foot { margin-top: 36px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .notes, .notes--stack { grid-template-columns: 1fr; }
  .notes .note,
  .notes .note + .note { padding: 22px 0 8px; border-left: 0; border-top: 1px solid var(--line); }
  .notes .note::before,
  .notes .note + .note::before { left: 0; right: 0; }
  .notes { border-top: 0; }
  .specs { grid-template-columns: 1fr; }
  .spec { padding: 30px 24px 34px; }
  .spec h3 { margin-top: 32px; }
  .question { grid-template-columns: 44px minmax(0, 1fr); }
  .qa__a p { padding-right: 0; }
  .fact--inline { flex-direction: column; gap: 12px; }
  .direct__email { font-size: clamp(1.75rem, 9vw, 2.5rem); }
  .brief__line { line-height: 1.7; }
}

/* 20. Reduced motion: no movement, gentle fades only
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .js [data-intro],
  .js [data-reveal] { transform: none; }
  .js.is-ready [data-intro],
  .js [data-reveal].is-in { transition: opacity 0.6s linear; }
  .ln__i { transform: none; }
  .js [data-split],
  .js [data-hero-title] { visibility: visible; }
  .sea__cloud, .sea__glint i, .status i::after, .hero__scroll i::after { animation: none; }
  .marker.is-active::before { animation: none; opacity: 0.6; transform: scale(1.2); }
  .question__q, .marker, .app__key, .app__chip { transition: none; }
}
