/*
 * TODO Growth — Virtual Tours
 * Direction: "Plan & Aperture". The site is an architect's drawing set:
 * plaster-paper pages drawn in ink, annotated in Space Mono, with dark
 * apertures cut into them that show the space from the inside. Brand type
 * (Space Grotesk / Space Mono) and accents follow todo.rw; yellow is the
 * action colour only.
 *
 * Motion language: things are *drawn* (plans, rules), *opened* (apertures
 * iris open from a viewpoint) and *walked* (spatial dolly between scenes).
 * The nav's viewpoint marker travels between pages via view transitions.
 */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --paper: #f1ede4;
  --paper-2: #e9e4d8;
  --paper-3: #dcd5c5;
  --ink: #12131c;
  --ink-2: #2b2d3a;
  --graphite: #4f5160;
  --rule: rgba(18, 19, 28, 0.16);
  --rule-2: rgba(18, 19, 28, 0.34);

  --night: #0b0d17;
  --night-2: #141626;
  --night-3: #1c1f33;
  --on-night: #f5f5f0;
  --on-night-body: rgba(245, 245, 240, 0.8);
  --on-night-muted: rgba(245, 245, 240, 0.62);
  --night-rule: rgba(255, 255, 255, 0.12);
  --night-rule-2: rgba(255, 255, 255, 0.24);

  --yellow: #e8c547;
  --yellow-hi: #f2d469;
  --lilac: #c8a8e9;
  --violet: #6544b0; /* lilac's text-safe partner on paper (6.0:1) */
  --teal: #5dd6b3;
  --teal-ink: #0d6e58;
  --coral: #e87d7d;
  --coral-ink: #a63a36;

  --font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1360px;
  --gutter: clamp(16px, 4.4vw, 64px);
  --section: clamp(88px, 6vw + 48px, 168px);
  --head-h: 72px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 160ms;
  --t: 280ms;
  --t-slow: 900ms;
}

/* ── Base ───────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--head-h) + 16px);
  background: var(--paper);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font: 400 1.0625rem/1.62 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
/* Restrained plaster grain. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .07 0 0 0 0 .07 0 0 0 0 .1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
ul,
ol,
figure,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2rem, 1.15rem + 3.1vw, 3.9rem);
}
h3 {
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
p {
  text-wrap: pretty;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}
.night :focus-visible {
  outline-color: var(--yellow);
}
[hidden] {
  display: none !important;
}
.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-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 16px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.mono {
  font-family: var(--mono);
}
.night {
  background: var(--night);
  color: var(--on-night-body);
}
.night h1,
.night h2,
.night h3 {
  color: var(--on-night);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font: 400 0.75rem/1.2 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow b {
  font-weight: 700;
  color: var(--violet);
}
.night .eyebrow {
  color: var(--on-night);
}
.night .eyebrow b {
  color: var(--lilac);
}
.lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
}
.night .lead {
  color: var(--on-night-body);
}
.hl {
  color: var(--violet);
}
.night .hl {
  color: var(--lilac);
}
.show-sm {
  display: none;
}
@media (max-width: 767.98px) {
  .hide-sm {
    display: none !important;
  }
  .show-sm {
    display: revert;
  }
}

/* ── Buttons: rectangular, drawn ───────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 22px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    color var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
.btn::before {
  /* hover fill sweeps in from the left, like a line being drawn */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms var(--ease);
}
.btn:hover::before {
  transform: scaleX(1);
}
.btn:active {
  transform: translateY(1px);
}
.btn-lg {
  min-height: 58px;
  padding: 0 28px;
  font-size: 1.0625rem;
}
.btn-sm {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.9375rem;
}
.btn-block {
  width: 100%;
}
.btn-primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.btn-primary::before {
  background: var(--yellow-hi);
}
.btn-primary:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost::before {
  background: var(--ink);
}
.btn-ghost:hover {
  color: var(--paper);
}
.night .btn-ghost,
.btn-ghost.on-night {
  color: var(--on-night);
  border-color: var(--on-night);
}
.night .btn-ghost::before,
.btn-ghost.on-night::before {
  background: var(--on-night);
}
.night .btn-ghost:hover,
.btn-ghost.on-night:hover {
  color: var(--night);
}
.night .btn-primary {
  border-color: var(--yellow);
  box-shadow: 3px 3px 0 rgba(232, 197, 71, 0.35);
}
.night .btn-primary:hover {
  box-shadow: 4px 4px 0 rgba(232, 197, 71, 0.45);
}
.btn .arr {
  transition: transform var(--t) var(--ease);
}
.btn:hover .arr {
  transform: translateX(4px);
}
.btn[disabled] {
  cursor: progress;
  opacity: 0.85;
  transform: none;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 100% 1.5px no-repeat;
  transition: background-size var(--t) var(--ease);
}
.link-arrow:hover {
  background-size: 0 1.5px;
  background-position: 100% calc(100% - 8px);
}
.night .link-arrow {
  color: var(--on-night);
}
.link-arrow .arr {
  transition: transform var(--t) var(--ease);
}
.link-arrow:hover .arr {
  transform: translateX(4px);
}

/* ── Annotation components ─────────────────────────────────────────────── */
/* Measurement rule: section divider with ticks, number and label. */
.rule {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(36px, 4vw, 64px);
  font: 400 0.75rem/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.rule-line {
  height: 9px;
  border-bottom: 1px solid var(--rule-2);
  background: repeating-linear-gradient(90deg, var(--rule-2) 0 1px, transparent 1px 24px) 0 100% / 100% 5px no-repeat;
  transform-origin: left;
}
.night .rule {
  color: var(--on-night);
}
.night .rule-line {
  border-color: var(--night-rule-2);
  background-image: repeating-linear-gradient(90deg, var(--night-rule-2) 0 1px, transparent 1px 24px);
}
/* Dimension line: |←— label —→| */
.dim {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 400 0.6875rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
  white-space: nowrap;
}
.dim::before,
.dim::after {
  content: "";
  flex: 1;
  height: 9px;
  border-top: 1px solid var(--rule-2);
  border-left: 1px solid var(--rule-2);
  transform: translateY(4px);
}
.dim::after {
  border-left: 0;
  border-right: 1px solid var(--rule-2);
}
/* Viewpoint marker glyph (dot + view cone). */
.vp {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: none;
  position: relative;
}
/* Dot on the left, view cone opening in the reading direction. */
.vp::before {
  content: "";
  position: absolute;
  left: 5px;
  right: 0;
  top: 2px;
  bottom: 2px;
  background: currentColor;
  opacity: 0.32;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}
.vp::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: currentColor;
}

/* Aperture: a dark window cut into the page, with print crop marks. */
.aperture {
  position: relative;
  background: var(--night);
  color: var(--on-night-body);
}
.aperture-crops {
  position: absolute;
  inset: -14px;
  pointer-events: none;
}
.aperture-crops i {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 0 solid var(--ink);
}
.aperture-crops i:nth-child(1) {
  left: 0;
  top: 0;
  border-right-width: 1px;
  border-bottom-width: 1px;
}
.aperture-crops i:nth-child(2) {
  right: 0;
  top: 0;
  border-left-width: 1px;
  border-bottom-width: 1px;
}
.aperture-crops i:nth-child(3) {
  left: 0;
  bottom: 0;
  border-right-width: 1px;
  border-top-width: 1px;
}
.aperture-crops i:nth-child(4) {
  right: 0;
  bottom: 0;
  border-left-width: 1px;
  border-top-width: 1px;
}

/* ── Review bar (review mode only) ──────────────────────────────────────── */
.review-bar {
  position: relative;
  z-index: 60;
  background: repeating-linear-gradient(-45deg, #e8c547 0 14px, #e1bb33 14px 28px);
  color: var(--ink);
  font: 400 0.75rem/1.45 var(--mono);
}
.review-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding-block: 8px;
}
.review-bar a {
  font-weight: 700;
}

/* ── Header + navigation ───────────────────────────────────────────────── */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(241, 237, 228, 0.9);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease);
  view-transition-name: site-head;
}
.site-head.is-stuck {
  border-bottom-color: var(--rule);
}
.site-head-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--head-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand img {
  width: 34px;
  height: 34px;
}
.brand-word {
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-word span {
  font-weight: 500;
  color: var(--graphite);
}
.brand-tag {
  padding-left: 10px;
  margin-left: 2px;
  border-left: 1px solid var(--rule-2);
  font: 400 0.6875rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
  white-space: nowrap;
}
.nav {
  position: relative;
  margin-left: auto;
}
.nav ul {
  display: flex;
  gap: 4px;
}
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.nav a .n {
  margin-right: 8px;
  font: 400 0.625rem/1 var(--mono);
  color: var(--graphite);
}
.nav a[aria-current="page"] {
  font-weight: 600;
}
/* The viewpoint marker under the current page; slides to hovered items and
   travels across page loads via its view-transition-name. */
.nav-marker {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 26px;
  height: 16px;
  margin-left: -13px;
  pointer-events: none;
  color: var(--violet);
  transition: transform 520ms var(--ease);
  view-transition-name: nav-marker;
}
.nav-marker::before {
  content: "";
  position: absolute;
  inset: 0 2px 5px;
  background: currentColor;
  opacity: 0.32;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  transform: rotate(180deg);
  transform-origin: 50% 100%;
}
.nav-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: currentColor;
}
.head-cta {
  margin-left: 12px;
}
.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  margin-left: auto;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  font: 700 0.75rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.menu-btn-icon {
  position: relative;
  width: 16px;
  height: 10px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}
@media (max-width: 1099.98px) {
  .nav,
  .head-cta {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
}
@media (max-width: 479.98px) {
  .brand-tag {
    display: none;
  }
}
@media (max-width: 359.98px) {
  .brand-word {
    display: none;
  }
}

/* Mobile menu: the site as a floor plan, each page a room. */
.menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition:
    clip-path 560ms var(--ease-io),
    visibility 0s linear 560ms;
}
.menu.is-open {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition:
    clip-path 560ms var(--ease-io),
    visibility 0s;
}
.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--head-h);
}
.menu-plan {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-block: 8px 24px;
  border: 2px solid var(--ink);
}
.menu-plan li {
  position: relative;
  border: 1px solid var(--ink);
}
.menu .menu-btn {
  display: inline-flex;
  margin-left: 0;
}
.menu-plan a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 112px;
  padding: 14px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color var(--t) var(--ease);
}
.menu-plan a:hover {
  background: var(--paper-2);
}
.menu-plan .room-no {
  font: 400 0.6875rem/1 var(--mono);
  letter-spacing: 0.12em;
  color: var(--graphite);
}
.menu-plan .room-name {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.menu-plan .room-desc {
  font-size: 0.875rem;
  color: var(--graphite);
}
.menu-plan a[aria-current="page"] {
  background: var(--paper-2);
}
.menu-plan a[aria-current="page"] .vp {
  position: absolute;
  right: 14px;
  top: 12px;
  color: var(--violet);
}
.menu-plan a:not([aria-current="page"]) .vp {
  display: none;
}
/* door gaps between rooms */
.menu-plan li::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 30%;
  width: 3px;
  height: 26px;
  background: var(--paper);
}
.menu-plan li:nth-child(even)::after {
  display: none;
}
.menu-cta {
  display: grid;
  gap: 10px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}
.menu-meta {
  margin-top: 6px;
  font: 400 0.75rem/1.5 var(--mono);
  color: var(--graphite);
}
@media (prefers-reduced-motion: no-preference) {
  .menu.is-open .menu-plan li {
    animation: rise 700ms var(--ease) both;
    animation-delay: calc(var(--i, 0) * 60ms + 160ms);
  }
}

/* ── Sticky mobile CTA dock ─────────────────────────────────────────────── */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 13, 23, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(110%);
  visibility: hidden;
  transition:
    transform 420ms var(--ease),
    visibility 0s linear 420ms;
}
.dock.is-shown {
  transform: none;
  visibility: visible;
  transition:
    transform 420ms var(--ease),
    visibility 0s;
}
.dock .btn {
  flex: 1;
  min-height: 50px;
  border-color: var(--yellow);
  box-shadow: none;
}
.dock-wa {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1.5px solid var(--night-rule-2);
  color: var(--on-night);
}
@media (min-width: 1100px) {
  .dock {
    display: none;
  }
}

/* ── Page head (inner pages) ───────────────────────────────────────────── */
.page-head {
  padding-block: clamp(36px, 5vw, 88px) clamp(48px, 5vw, 96px);
}
.page-head-grid {
  display: grid;
  gap: 32px;
}
.page-head h1 {
  max-width: 14ch;
  font-size: clamp(2.5rem, 1.25rem + 5.1vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 700;
}
.page-head .lead {
  max-width: 36rem;
}
.page-head--compact {
  padding-block: clamp(28px, 3.4vw, 56px) clamp(32px, 3.4vw, 56px);
}
.page-head--compact h1 {
  font-size: clamp(2.4rem, 1.2rem + 4vw, 4.6rem);
  max-width: 16ch;
}
@media (min-width: 1024px) {
  .page-head-grid {
    grid-template-columns: 7fr 5fr;
    align-items: end;
    column-gap: 64px;
  }
}

/* ── Experience: hero ──────────────────────────────────────────────────── */
.hero {
  padding-block: clamp(12px, 2.4vw, 36px) clamp(56px, 6vw, 112px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}
.hero-title {
  font-size: clamp(2.35rem, 1.1rem + 5.6vw, 6.1rem);
  line-height: 0.94;
  letter-spacing: -0.052em;
  font-weight: 700;
}
.hero-title .ln {
  display: inline;
}
.hero-title .hl {
  font-weight: 700;
}
.hero-lead {
  max-width: 33rem;
  margin-top: 22px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
@media (max-width: 767.98px) {
  .hero-ctas .btn {
    flex: 1 1 100%;
  }
  .hero-ctas {
    gap: 10px;
  }
  /* Keep the live demo in the first screen on small phones. */
  .hero .hero-try,
  .hero .hero-dim {
    display: none;
  }
  .hero-grid {
    gap: 30px;
  }
}
@media (max-width: 379.98px) {
  .hero-lead {
    margin-top: 16px;
    font-size: 1rem;
  }
  .hero-ctas {
    margin-top: 20px;
  }
  .hero-ctas .btn-lg {
    min-height: 52px;
  }
  .hero .hero-grid {
    gap: 20px;
  }
  .hero {
    padding-top: 6px;
  }
}
.hero-try {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font: 400 0.75rem/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite);
}
.hero-visual {
  position: relative;
  min-width: 0;
}
.hero-dim {
  margin-bottom: 18px;
}
.hero-aperture {
  margin: 0 0 0 0;
}
.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.hero-plan {
  width: 100%;
  max-width: 300px;
}
@media (min-width: 768px) {
  .hero-title .ln {
    display: block;
  }
  .hero-foot {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
  }
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 10fr) minmax(0, 13fr);
    column-gap: clamp(40px, 4.5vw, 88px);
    align-items: start;
  }
  .hero-copy {
    padding-top: clamp(16px, 3vw, 56px);
  }
  .hero-title .ln {
    display: block;
  }
  .hero-title {
    font-size: clamp(3.6rem, 0.6rem + 4.4vw, 6.1rem);
  }
}

/* Entrance: lines rise through a mask; the room irises open from its
   viewpoint; annotations draw in. CSS-only, so CTAs never wait on JS. */
@media (prefers-reduced-motion: no-preference) {
  .js .in-rise {
    animation: rise 1000ms var(--ease) both;
    animation-delay: calc(var(--d, 0) * 80ms + 60ms);
  }
  .js .hero-title .ln {
    animation: mask-rise 1100ms var(--ease) both;
    animation-delay: calc(var(--d, 0) * 90ms + 40ms);
  }
  .js .hero-aperture .room {
    animation: iris 1500ms var(--ease-io) 220ms both;
  }
  .js .hero-dim::before,
  .js .hero-dim::after {
    animation: draw-x 1100ms var(--ease) 700ms both;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes mask-rise {
  from {
    clip-path: inset(0 0 100% 0);
    transform: translateY(0.35em);
  }
  to {
    clip-path: inset(-0.2em 0 -0.2em 0);
    transform: none;
  }
}
@keyframes iris {
  from {
    clip-path: circle(0% at 70% 62%);
    filter: brightness(2);
  }
  55% {
    filter: brightness(1.1);
  }
  to {
    clip-path: circle(150% at 70% 62%);
    filter: none;
  }
}
@keyframes draw-x {
  from {
    transform: translateY(4px) scaleX(0);
  }
  to {
    transform: translateY(4px) scaleX(1);
  }
}

/* ── The room viewer ───────────────────────────────────────────────────── */
.room {
  position: relative;
  overflow: hidden;
  background: #120f1c;
  isolation: isolate;
}
.room-viewport {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
  transition:
    transform 380ms var(--ease-io),
    filter 380ms var(--ease-io),
    opacity 380ms var(--ease-io);
}
@media (min-width: 768px) {
  .room-viewport {
    aspect-ratio: 16 / 11;
  }
}
.room.is-dragging .room-viewport {
  cursor: grabbing;
}
/* Walking between viewpoints: dolly forward, cut, settle. */
.room.is-walking .room-viewport {
  transform: scale(1.18);
  filter: blur(6px) brightness(1.4);
  opacity: 0;
}
.room.is-arriving .room-viewport {
  transform: scale(0.94);
  opacity: 0;
  transition: none;
}
.room-cube {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-style: preserve-3d;
  will-change: transform;
}
.room-face {
  position: absolute;
  inset: 0 -1px;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}
.room-face svg {
  width: 100%;
  height: 100%;
}
.room-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translate(-11px, -50%);
  cursor: pointer;
}
.room-pin i {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--lilac);
  background: rgba(200, 168, 233, 0.3);
}
.room-pin--move i {
  border-color: var(--yellow);
  background: rgba(232, 197, 71, 0.3);
}
.room-pin i::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px solid currentColor;
  color: var(--lilac);
  opacity: 0;
}
.room-pin--move i::after {
  color: var(--yellow);
}
@media (prefers-reduced-motion: no-preference) {
  .room-pin i::after {
    animation: ping 2.6s var(--ease) infinite;
  }
}
@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}
.room-pin b {
  padding: 5px 9px;
  background: rgba(7, 8, 15, 0.8);
  color: var(--on-night);
  font: 400 11px/1.2 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.room-pin.is-open b {
  background: var(--lilac);
  color: var(--night);
}
.room-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  font: 400 11px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-night);
}
.hud-tag,
.hud-heading {
  position: absolute;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(7, 8, 15, 0.66);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hud-tag {
  left: 14px;
}
.hud-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lilac);
}
.hud-heading {
  right: 14px;
}
.hud-heading b {
  color: var(--lilac);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.hud-hint {
  position: absolute;
  left: 14px;
  bottom: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(7, 8, 15, 0.72);
  transition:
    opacity 600ms var(--ease),
    transform 600ms var(--ease);
}
.room.is-touched .hud-hint {
  opacity: 0;
  transform: translateY(8px);
}
@media (prefers-reduced-motion: no-preference) {
  .hud-hint svg {
    animation: nudge 2.2s var(--ease-io) infinite;
  }
}
@keyframes nudge {
  0%,
  100% {
    transform: translateX(-3px);
  }
  50% {
    transform: translateX(3px);
  }
}
.hud-reticle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  opacity: 0.5;
  background:
    linear-gradient(var(--on-night), var(--on-night)) center / 1px 100% no-repeat,
    linear-gradient(var(--on-night), var(--on-night)) center / 100% 1px no-repeat;
  -webkit-mask: radial-gradient(circle, transparent 4px, #000 4.5px);
  mask: radial-gradient(circle, transparent 4px, #000 4.5px);
}
.hud-compass {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  height: 22px;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.hud-compass-track {
  --deg: 1.6px;
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: calc(var(--deg) * 1080);
  margin-left: calc(var(--deg) * -360);
  transform: translateX(calc(var(--yaw, 0) * var(--deg) * -1));
  background: repeating-linear-gradient(90deg, rgba(245, 245, 240, 0.35) 0 1px, transparent 1px calc(var(--deg) * 15)) 0 100% / 100% 6px no-repeat;
}
.hud-compass-track span {
  position: absolute;
  top: 0;
  left: calc((var(--a) + 360) * var(--deg));
  transform: translateX(-50%);
  color: var(--on-night-muted);
  font-size: 10px;
}
.hud-compass-caret {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2px;
  height: 10px;
  margin-left: -1px;
  background: var(--lilac);
}
.room-viewport:focus-visible ~ .room-hud .hud-tag {
  outline: 2px solid var(--yellow);
}
.room-turns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.room-turns button {
  min-height: 40px;
  min-width: 44px;
  padding: 0 12px;
  border: 1px solid var(--rule-2);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font: 400 0.75rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background-color var(--t) var(--ease),
    color var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
.room-turns button:hover {
  border-color: var(--ink);
}
.room-turns button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.night .room-turns button {
  border-color: var(--night-rule-2);
  color: var(--on-night-body);
}
.night .room-turns button:hover {
  border-color: var(--on-night);
}
.night .room-turns button[aria-pressed="true"] {
  background: var(--lilac);
  border-color: var(--lilac);
  color: var(--night);
}
.room-note {
  font: 400 0.75rem/1.5 var(--mono);
  color: var(--graphite);
}
.room-note a {
  color: var(--ink);
  font-weight: 700;
}
.night .room-note {
  color: var(--on-night-muted);
}

/* Floor plan */
.plan {
  position: relative;
  color: var(--ink);
}
.plan-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.plan-walls path {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: square;
}
.plan-walls path + path {
  stroke-width: 2.5;
}
.plan-windows rect {
  fill: var(--paper);
  stroke: currentColor;
  stroke-width: 1.2;
}
.plan-doors path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.6;
}
.plan-furniture > * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.45;
}
.plan-labels text {
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.14em;
  fill: currentColor;
  text-anchor: middle;
  opacity: 0.75;
}
.plan-cone {
  fill: var(--violet);
  opacity: 0.22;
  transition: transform 80ms linear;
}
.plan-dots {
  position: absolute;
  inset: 0;
}
.plan-dot {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
}
.plan-dot-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid currentColor;
  transition:
    transform var(--t) var(--ease),
    background-color var(--t) var(--ease);
}
.plan-dot-num {
  position: absolute;
  top: -4px;
  left: 30px;
  font: 700 9px/1 var(--mono);
  letter-spacing: 0.06em;
}
.plan-dot:hover .plan-dot-mark {
  transform: scale(1.3);
}
.plan-dot.is-current .plan-dot-mark {
  background: var(--violet);
  border-color: var(--violet);
  box-shadow: 0 0 0 5px rgba(101, 68, 176, 0.18);
}
.plan-dot.is-current {
  cursor: default;
}
.night .plan {
  color: var(--on-night);
}
.night .plan-windows rect,
.night .plan-dot-mark {
  fill: var(--night);
  background: var(--night);
}
.night .plan-cone {
  fill: var(--lilac);
  opacity: 0.3;
}
.night .plan-dot.is-current .plan-dot-mark {
  background: var(--lilac);
  border-color: var(--lilac);
  box-shadow: 0 0 0 5px rgba(200, 168, 233, 0.2);
}
.plan-card {
  padding: 14px 14px 10px;
  border: 1px solid var(--rule-2);
  background: var(--paper);
}
.plan-card-title {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font: 400 0.6875rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ── Section: why (the route through value) ────────────────────────────── */
.why {
  padding-block: var(--section);
}
.why-head {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(48px, 6vw, 96px);
}
.why-head h2 {
  max-width: 14ch;
}
.why-head .lead {
  max-width: 34rem;
}
@media (min-width: 1024px) {
  .why-head {
    grid-template-columns: 7fr 5fr;
    align-items: end;
    column-gap: 64px;
  }
}
/* Four rooms of a plan, walked in order. */
.route {
  position: relative;
  display: grid;
  border: 2px solid var(--ink);
}
.route-room {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px 22px 30px 56px;
  border-bottom: 1px solid var(--ink);
}
.route-room:last-child {
  border-bottom: 0;
}
.route-room::after {
  /* door gap */
  content: "";
  position: absolute;
  left: 40%;
  bottom: -2px;
  width: 44px;
  height: 3px;
  background: var(--paper);
}
.route-room:last-child::after {
  display: none;
}
.route-no {
  font: 400 0.6875rem/1 var(--mono);
  letter-spacing: 0.14em;
  color: var(--graphite);
}
.route-room h3 {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  letter-spacing: -0.035em;
}
.route-room p {
  max-width: 28rem;
}
.route-path {
  position: absolute;
  left: 27px;
  top: 34px;
  bottom: 34px;
  width: 0;
  border-left: 2px dotted var(--rule-2);
}
.route-walker {
  position: absolute;
  left: 18px;
  top: 30px;
  color: var(--violet);
  transition: top 1600ms var(--ease-io);
}
.route.is-in .route-walker {
  top: calc(100% - 52px);
}
.route-room .vp-stop {
  position: absolute;
  left: 22px;
  top: 32px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--paper);
}
@media (min-width: 900px) {
  .route {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .route-room {
    padding: 72px 26px 34px;
    border-bottom: 0;
    border-right: 1px solid var(--ink);
    min-height: 330px;
  }
  .route-room:last-child {
    border-right: 0;
  }
  .route-room::after {
    left: auto;
    right: -2px;
    top: 70%;
    bottom: auto;
    width: 3px;
    height: 44px;
  }
  .route-path {
    left: 34px;
    right: 34px;
    top: 38px;
    bottom: auto;
    width: auto;
    height: 0;
    border-left: 0;
    border-top: 2px dotted var(--rule-2);
  }
  .route-walker {
    left: 25px;
    top: 26px;
    transition: left 2000ms var(--ease-io);
  }
  .route.is-in .route-walker {
    top: 26px;
    left: calc(75% + 25px);
  }
  .route-room .vp-stop {
    left: 26px;
    top: 32px;
  }
}

/* ── Section: compare (photo vs tour) ──────────────────────────────────── */
.compare {
  padding-block: var(--section);
}
.compare-head {
  display: grid;
  gap: 22px;
}
.compare-head h2 {
  max-width: 17ch;
}
.compare-head .lead {
  max-width: 34rem;
}
@media (min-width: 1024px) {
  .compare-head {
    grid-template-columns: 7fr 5fr;
    align-items: end;
    column-gap: 64px;
  }
}
.strip {
  margin-top: clamp(40px, 5vw, 72px);
}
.strip-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--night-rule-2) transparent;
}
.strip-track {
  position: relative;
  width: max(100%, 1100px);
}
.strip-walls {
  display: flex;
}
.strip-wall {
  flex: 1 1 0;
  min-width: 0;
}
.strip-wall svg {
  overflow: hidden;
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 700;
}
.strip-frame {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 27.5%;
  width: 19%;
  border: 2px solid var(--yellow);
  box-shadow: 0 0 0 200vmax rgba(7, 8, 15, 0.82);
  transition:
    left 1100ms var(--ease-io),
    width 1100ms var(--ease-io),
    box-shadow 1100ms var(--ease-io),
    border-color 600ms var(--ease);
}
.strip[data-mode="tour"] .strip-frame {
  left: 6px;
  width: calc(100% - 12px);
  border-color: var(--lilac);
  box-shadow: 0 0 0 200vmax rgba(7, 8, 15, 0);
}
.strip-label {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 6px 9px;
  background: var(--yellow);
  color: var(--ink);
  font: 700 11px/1.2 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 400ms var(--ease);
}
.strip-label-tour {
  background: var(--lilac);
  opacity: 0;
}
.strip[data-mode="tour"] .strip-label-photo {
  opacity: 0;
}
.strip[data-mode="tour"] .strip-label-tour {
  opacity: 1;
}
/* Customer questions pinned to what a photo leaves out; answered by the tour. */
.strip-q {
  position: absolute;
  top: 18%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 190px;
  padding: 8px 11px;
  transform: translateX(-50%);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  transition:
    background-color 600ms var(--ease),
    color 600ms var(--ease);
}
.strip-q .q-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--ink);
  font: 700 12px/1 var(--mono);
}
.strip-q .q-mark::before {
  content: "?";
}
.strip[data-mode="tour"] .strip-q .q-mark::before {
  content: "✓";
}
.strip-q .q-done {
  display: none;
}
.strip[data-mode="tour"] .strip-q {
  background: rgba(7, 8, 15, 0.82);
  color: var(--on-night);
}
.strip[data-mode="tour"] .strip-q .q-mark {
  background: var(--teal);
}
.strip[data-mode="tour"] .strip-q .q-ask {
  display: none;
}
.strip[data-mode="tour"] .strip-q .q-done {
  display: inline;
}
.strip-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.strip-swipe {
  font: 400 0.75rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-night-muted);
}
@media (min-width: 1100px) {
  .strip-swipe {
    display: none;
  }
}
.segmented {
  display: inline-flex;
  border: 1.5px solid var(--on-night);
}
.segmented button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--on-night-body);
  font-weight: 500;
  font-size: 0.9375rem;
  transition:
    background-color var(--t) var(--ease),
    color var(--t) var(--ease);
}
.segmented button[aria-pressed="true"] {
  background: var(--on-night);
  color: var(--night);
}

/* ── Section: doorway (bridge to Explore) ──────────────────────────────── */
.doorway {
  padding-block: var(--section);
  overflow: hidden;
}
.doorway-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.doorway-arch {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 460px;
  width: 100%;
  margin-inline: auto;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  outline: 1.5px solid var(--night-rule-2);
  outline-offset: 12px;
}
.doorway-arch svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.doorway-arch .room-pin {
  pointer-events: none;
}
.doorway h2 {
  max-width: 13ch;
  margin-bottom: 20px;
}
.doorway-list {
  display: grid;
  gap: 0;
  margin: 28px 0 34px;
  border-top: 1px solid var(--night-rule);
}
.doorway-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--night-rule);
  color: var(--on-night);
}
.doorway-list .vp {
  color: var(--lilac);
}
@media (min-width: 1024px) {
  .doorway-grid {
    grid-template-columns: 5fr 7fr;
    column-gap: 80px;
  }
  .doorway-media {
    order: -1;
  }
}
/* The wrapper is observed (a clip-path of zero area never "intersects"). */
.reveal-ready .doorway-media[data-reveal] {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .doorway-media .doorway-arch {
    clip-path: inset(100% 0 0 0 round 999px 999px 0 0);
    transition: clip-path 1400ms var(--ease-io);
  }
  .reveal-ready .doorway-media.is-in .doorway-arch {
    clip-path: inset(0 0 0 0 round 999px 999px 0 0);
  }
}

/* ── Section: directory (industries teaser) ───────────────────────────── */
.directory {
  padding-block: var(--section);
}
.directory-head {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(36px, 4vw, 64px);
}
.directory-head h2 {
  max-width: 15ch;
}
@media (min-width: 1024px) {
  .directory-head {
    grid-template-columns: 7fr 5fr;
    align-items: end;
    column-gap: 64px;
  }
}
.dir-list {
  columns: 1;
  border-top: 2px solid var(--ink);
}
.dir-list li {
  break-inside: avoid;
  border-bottom: 1px solid var(--rule-2);
}
.dir-list a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  color: var(--ink);
  text-decoration: none;
  transition: padding-left 420ms var(--ease);
}
.dir-list .n {
  font: 400 0.6875rem/1 var(--mono);
  color: var(--graphite);
}
.dir-list .name {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.dir-list .arr {
  opacity: 0.4;
  transition:
    transform var(--t) var(--ease),
    opacity var(--t) var(--ease);
}
.dir-list a:hover {
  padding-left: 10px;
}
.dir-list a:hover .arr {
  opacity: 1;
  transform: translateX(4px);
}
@media (min-width: 900px) {
  .dir-list {
    columns: 2;
    column-gap: 64px;
  }
}
.directory-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  font-size: 0.9375rem;
}

/* ── Typographic route (process line) ─────────────────────────────────── */
.steps-line {
  padding-block: var(--section);
  border-top: 1px solid var(--rule);
}
.steps-type {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15em 0.4em;
  font-size: clamp(2.1rem, 0.6rem + 6.4vw, 7.4rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.95;
  color: var(--ink);
}
.steps-type .sep {
  color: var(--violet);
  font-weight: 400;
}
.steps-type .w {
  display: inline-block;
}
.steps-cols {
  display: grid;
  gap: 24px;
  margin-top: clamp(40px, 5vw, 72px);
}
.steps-cols li {
  padding-top: 16px;
  border-top: 1px solid var(--rule-2);
}
.steps-cols b {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font: 700 0.75rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .steps-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .steps-type .w {
    opacity: 0;
    transform: translateY(0.3em);
    transition:
      opacity 900ms var(--ease),
      transform 900ms var(--ease);
    transition-delay: calc(var(--i) * 140ms);
  }
  .reveal-ready .steps-type.is-in .w {
    opacity: 1;
    transform: none;
  }
  .reveal-ready .steps-type[data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ── Final CTA (night) ─────────────────────────────────────────────────── */
.final {
  position: relative;
  overflow: hidden;
  padding-block: clamp(96px, 10vw, 184px);
}
.final-inner {
  position: relative;
  display: grid;
  gap: 36px;
}
.final h2 {
  max-width: 15ch;
  font-size: clamp(2.4rem, 1.2rem + 5vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 700;
}
.final-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.final .final-plan {
  position: absolute;
  right: -10vw;
  top: 50%;
  width: min(62vw, 720px);
  transform: translateY(-50%);
  color: rgba(245, 245, 240, 0.1);
  pointer-events: none;
}
.final-plan .plan-cone {
  fill: var(--lilac);
  opacity: 0.18;
}
.final-plan .plan-windows rect {
  fill: var(--night);
}
@media (max-width: 767.98px) {
  .final-ctas .btn {
    flex: 1 1 100%;
  }
  .final .final-plan {
    width: 130vw;
    right: -50vw;
    top: 78%;
  }
}

/* ── Explore page ──────────────────────────────────────────────────────── */
.demo-flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px dashed var(--ink);
  font: 400 0.75rem/1.3 var(--mono);
  letter-spacing: 0.06em;
  color: var(--ink);
}
.viewer {
  padding-block: clamp(32px, 4vw, 64px) clamp(56px, 6vw, 104px);
}
.viewer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.viewer-stage .room-viewport {
  aspect-ratio: 4 / 5;
}
@media (min-width: 600px) {
  .viewer-stage .room-viewport {
    aspect-ratio: 16 / 11;
  }
}
.viewer-side {
  display: grid;
  gap: 22px;
  align-content: start;
}
.viewer-where {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--night-rule);
}
.viewer-where .vp-name {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--on-night);
}
.viewer-where .vp-no {
  font: 400 0.75rem/1 var(--mono);
  letter-spacing: 0.12em;
  color: var(--on-night-muted);
}
.viewer-label {
  margin-bottom: 10px;
  font: 400 0.6875rem/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-night-muted);
}
.viewer .plan {
  max-width: 420px;
}
.spot-list {
  display: grid;
  gap: 6px;
}
.spot-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid var(--night-rule-2);
  border-radius: 2px;
  background: transparent;
  color: var(--on-night);
  text-align: left;
  transition:
    border-color var(--t) var(--ease),
    background-color var(--t) var(--ease);
}
.spot-btn:hover {
  border-color: var(--lilac);
  background: rgba(200, 168, 233, 0.08);
}
.spot-btn-kind {
  flex: none;
  min-width: 60px;
  font: 400 0.625rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lilac);
}
.spot-btn--move .spot-btn-kind {
  color: var(--yellow);
}
.spot-btn-title {
  font-weight: 500;
}
.room-info {
  min-height: 112px;
  padding: 16px;
  border-left: 3px solid var(--lilac);
  background: var(--night-2);
}
.room-info-kicker {
  font: 400 0.625rem/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lilac);
}
.room-info-title {
  margin: 8px 0 4px;
  color: var(--on-night);
  font-size: 1.125rem;
  font-weight: 600;
}
.room-info-hint {
  color: var(--on-night-muted);
  font-size: 0.9375rem;
}
@media (min-width: 1024px) {
  .viewer-grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: 32px;
    align-items: start;
  }
}
.viewer-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

/* "What you just did" ledger */
.ledger {
  padding-block: var(--section);
}
.ledger-head {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(36px, 4vw, 64px);
}
.ledger-head h2 {
  max-width: 15ch;
}
@media (min-width: 1024px) {
  .ledger-head {
    grid-template-columns: 7fr 5fr;
    align-items: end;
    column-gap: 64px;
  }
}
.ledger-rows {
  border-top: 2px solid var(--ink);
}
.ledger-rows li {
  display: grid;
  gap: 6px 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule-2);
}
.ledger-rows .did {
  color: var(--ink);
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.ledger-rows .means {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font: 700 0.8125rem/1.3 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ledger-rows .means .vp {
  color: var(--violet);
}
.ledger-rows .note {
  font-size: 0.9375rem;
}
@media (min-width: 900px) {
  .ledger-rows li {
    grid-template-columns: 6fr 3fr 4fr;
    align-items: baseline;
  }
}
.ledger-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* Client tours (review only) + on request */
.clients {
  padding-block: var(--section);
}
.clients-head {
  display: grid;
  gap: 18px;
  margin-bottom: 36px;
}
.clients-head h2 {
  max-width: 16ch;
}
.on-request {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 4vw, 48px);
  border: 1.5px solid var(--ink);
}
.on-request h3 {
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem);
  margin-bottom: 12px;
}
.on-request p {
  max-width: 38rem;
}
.on-request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: end;
}
@media (min-width: 1024px) {
  .on-request {
    grid-template-columns: 7fr 5fr;
    align-items: end;
  }
  .on-request-actions {
    justify-content: flex-end;
  }
}
.review-note {
  margin-bottom: 16px;
  padding: 10px 14px;
  border: 1px dashed var(--coral-ink);
  color: var(--coral-ink);
  font: 400 0.8125rem/1.5 var(--mono);
}

/* Tour theatre (real client tours) */
.theatre-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.theatre-index {
  min-width: 0;
}
@media (min-width: 1024px) {
  .theatre-grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: 24px;
    align-items: start;
  }
  .theatre-index {
    position: relative;
    align-self: stretch;
  }
}
.theatre-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #05060b;
  isolation: isolate;
  color: var(--on-night-body);
}
@media (max-width: 767.98px) {
  .theatre-stage {
    aspect-ratio: 4 / 5;
  }
}
.theatre-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1400ms var(--ease),
    filter 900ms var(--ease),
    opacity 600ms var(--ease);
}
.theatre-stage:hover .theatre-poster {
  transform: scale(1.025);
}
.theatre-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 11, 0.3) 0%, rgba(5, 6, 11, 0) 26%, rgba(5, 6, 11, 0.55) 58%, rgba(5, 6, 11, 0.94) 100%),
    linear-gradient(90deg, rgba(5, 6, 11, 0.55) 0%, rgba(5, 6, 11, 0) 60%);
  transition: opacity 600ms var(--ease);
}
.theatre-launch {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(18px, 3vw, 36px);
  transition:
    opacity 400ms var(--ease),
    transform 600ms var(--ease);
}
.kicker {
  font: 400 0.75rem/1.3 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lilac);
}
.theatre-title {
  margin-top: 10px;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.75rem);
  color: var(--on-night);
}
.theatre-client {
  margin: 6px 0 18px;
}
.theatre-hint {
  margin-top: 12px;
  font: 400 0.6875rem/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-night-muted);
}
.theatre-pending {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 3;
  display: none;
  padding: 6px 10px;
  background: var(--yellow);
  color: var(--ink);
  font: 700 0.6875rem/1.2 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.theatre-stage.is-pending .theatre-pending {
  display: block;
}
.theatre-stage[data-state="live"] .theatre-pending {
  display: none;
}
.theatre-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 700ms var(--ease);
}
.theatre-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.theatre-loading,
.theatre-error,
.theatre-bar {
  display: none;
}
.theatre-stage[data-state="loading"] .theatre-poster {
  transform: scale(1.08);
  filter: blur(8px) brightness(0.4);
}
.theatre-stage[data-state="loading"] .theatre-launch {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.theatre-stage[data-state="loading"] .theatre-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  color: var(--lilac);
  text-align: center;
}
.theatre-loading-name {
  color: var(--on-night);
  font-size: 1.25rem;
  font-weight: 600;
}
.theatre-slow {
  margin-top: 6px;
  color: var(--on-night);
  font-size: 0.9375rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 500ms var(--ease);
}
.theatre-stage.is-slow .theatre-slow {
  opacity: 1;
  visibility: visible;
}
@media (prefers-reduced-motion: no-preference) {
  .aperture-arc {
    transform-origin: 40px 40px;
    animation: spin 1.1s linear infinite;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.theatre-stage[data-state="live"] .theatre-frame {
  opacity: 1;
}
.theatre-stage[data-state="live"] .theatre-launch,
.theatre-stage[data-state="live"] .theatre-scrim,
.theatre-stage[data-state="live"] .theatre-poster {
  opacity: 0;
  pointer-events: none;
}
/* Top-left: Kuula puts its own fullscreen control top-right. */
.theatre-stage[data-state="live"] .theatre-bar {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.theatre-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--night-rule-2);
  background: rgba(7, 8, 15, 0.84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--on-night);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.theatre-bar-btn:hover {
  border-color: var(--lilac);
}
.theatre-bar-note {
  display: none;
  align-self: center;
  padding: 0 6px;
  color: var(--on-night);
  font: 400 0.6875rem/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px #000;
}
.theatre-stage.is-frame-pending .theatre-bar-note {
  display: inline;
}
.theatre-stage[data-state="error"] .theatre-poster {
  filter: grayscale(0.6) brightness(0.3);
}
.theatre-stage[data-state="error"] .theatre-launch {
  opacity: 0;
  pointer-events: none;
}
.theatre-stage[data-state="error"] .theatre-error {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
}
.theatre-error-title {
  color: var(--on-night);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.theatre-error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.index-label {
  margin-bottom: 10px;
  font: 400 0.75rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
}
.theatre-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}
.theatre-tab {
  position: relative;
  flex: 0 0 min(78%, 280px);
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  padding: 8px;
  border: 1px solid var(--rule-2);
  border-radius: 2px;
  background: transparent;
  text-align: left;
  scroll-snap-align: start;
  transition:
    background-color var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
.theatre-tab img {
  grid-row: 1 / 3;
  width: 72px;
  height: 54px;
  object-fit: cover;
}
.theatre-tab-text {
  display: grid;
  min-width: 0;
}
.theatre-tab-title {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.25;
}
.theatre-tab-client {
  overflow: hidden;
  color: var(--graphite);
  font-size: 0.8125rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.theatre-tab-flag {
  grid-column: 2;
  justify-self: start;
  margin-top: 4px;
  color: var(--coral-ink);
  font: 400 0.625rem/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.theatre-tab:hover {
  border-color: var(--ink);
}
.theatre-tab[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--paper-2);
  box-shadow: inset 3px 0 0 var(--violet);
}
@media (min-width: 1024px) {
  .theatre-list {
    position: absolute;
    top: 28px;
    bottom: 0;
    left: 0;
    right: 0;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: none;
    padding: 2px 6px 2px 2px;
  }
  .theatre-tab {
    flex: none;
    grid-template-columns: 88px minmax(0, 1fr);
  }
  .theatre-tab img {
    width: 88px;
    height: 60px;
  }
}

/* ── Industries page ───────────────────────────────────────────────────── */
.ind-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.ind-index {
  position: sticky;
  top: var(--head-h);
  z-index: 10;
  margin-inline: calc(var(--gutter) * -1);
  padding: 10px var(--gutter);
  background: rgba(241, 237, 228, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-block: 1px solid var(--rule);
}
.ind-index ol {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ind-index a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--rule-2);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.ind-index a .n {
  font: 400 0.625rem/1 var(--mono);
  color: var(--graphite);
}
.ind-index a[aria-current="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.ind-index a[aria-current="true"] .n {
  color: var(--lilac);
}
@media (min-width: 1100px) {
  .ind-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: 56px;
  }
  .ind-index {
    top: calc(var(--head-h) + 32px);
    align-self: start;
    margin: 0;
    padding: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
  }
  .ind-index ol {
    flex-direction: column;
    gap: 0;
    overflow: visible;
    border-top: 2px solid var(--ink);
  }
  .ind-index a {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-bottom: 1px solid var(--rule-2);
    padding: 0 4px;
    transition:
      padding-left var(--t) var(--ease),
      background-color var(--t) var(--ease);
  }
  .ind-index a:hover {
    padding-left: 10px;
  }
  .ind-index a[aria-current="true"] {
    padding-left: 10px;
  }
}
.ind {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-block: clamp(56px, 6vw, 112px);
  border-bottom: 1px solid var(--rule-2);
}
.ind:last-child {
  border-bottom: 0;
}
.ind-no {
  font: 400 0.75rem/1 var(--mono);
  letter-spacing: 0.14em;
  color: var(--graphite);
}
.ind h2 {
  margin: 12px 0 18px;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem);
}
.ind-q {
  display: block;
  margin-bottom: 18px;
  padding-left: 16px;
  border-left: 3px solid var(--coral);
  color: var(--ink);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.ind-shows {
  margin: 22px 0 26px;
  border-top: 1px solid var(--rule-2);
}
.ind-shows-label {
  margin: 0 0 4px;
  padding-top: 14px;
  font: 700 0.6875rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.ind-shows li {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--rule-2);
  color: var(--ink-2);
}
.ind-shows .vp {
  margin-top: 4px;
  color: var(--violet);
}
.ind-art {
  position: relative;
  color: var(--ink);
}
.ind-art svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.ind-art .ln {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
.ind-art .wall {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
}
.ind-art .soft {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.45;
}
.ind-art .fill {
  fill: currentColor;
  opacity: 0.08;
  stroke: none;
}
.ind-art .cone {
  fill: var(--violet);
  opacity: 0.2;
  stroke: none;
}
.ind-art .dot {
  fill: var(--violet);
  stroke: none;
}
.ind-art text {
  font: 400 11px/1 var(--mono);
  letter-spacing: 0.12em;
  fill: currentColor;
  opacity: 0.7;
}
.ind-art figcaption {
  margin-top: 10px;
  font: 400 0.6875rem/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite);
}
@media (min-width: 900px) {
  .ind {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: 56px;
    align-items: center;
  }
  .ind--flip .ind-art {
    order: -1;
  }
  .ind--wide {
    grid-template-columns: minmax(0, 1fr);
  }
  .ind--wide .ind-copy {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: 56px;
    align-items: start;
  }
}
/* Night variant for one industry: the drawing glows. */
.ind--night {
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  background: var(--night);
  color: var(--on-night-body);
  border-bottom: 0;
}
.ind--night h2,
.ind--night .ind-q,
.ind--night .ind-shows-label,
.ind--night .ind-shows li {
  color: var(--on-night);
}
.ind--night .ind-no,
.ind--night .ind-art figcaption {
  color: var(--on-night-muted);
}
.ind--night .ind-art {
  color: var(--lilac);
}
.ind--night .ind-shows,
.ind--night .ind-shows li {
  border-color: var(--night-rule-2);
}
.ind--night .ind-shows .vp,
.ind--night .ind-art .dot {
  color: var(--yellow);
  fill: var(--yellow);
}
.ind--night .ind-art .cone {
  fill: var(--yellow);
}
@media (min-width: 1100px) {
  .ind--night {
    margin-inline: 0 calc(var(--gutter) * -1);
    padding-inline: 48px var(--gutter);
  }
}
.ind-note {
  margin-top: 28px;
  padding: 14px 16px;
  border: 1px dashed var(--rule-2);
  font: 400 0.8125rem/1.5 var(--mono);
  color: var(--graphite);
}

/* Draw-on-reveal for plan drawings */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-draw] .ln,
  .reveal-ready [data-draw] .wall,
  .reveal-ready [data-draw] .soft {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1800ms var(--ease-io);
  }
  .reveal-ready [data-draw] .soft {
    transition-delay: 500ms;
  }
  .reveal-ready [data-draw].is-in .ln,
  .reveal-ready [data-draw].is-in .wall,
  .reveal-ready [data-draw].is-in .soft {
    stroke-dashoffset: 0;
  }
  .reveal-ready [data-draw] .cone,
  .reveal-ready [data-draw] .dot,
  .reveal-ready [data-draw] text {
    opacity: 0;
    transition: opacity 700ms var(--ease) 1200ms;
  }
  .reveal-ready [data-draw].is-in .cone {
    opacity: 0.2;
  }
  .reveal-ready [data-draw].is-in .dot {
    opacity: 1;
  }
  .reveal-ready [data-draw].is-in text {
    opacity: 0.7;
  }
}

/* ── Process page ──────────────────────────────────────────────────────── */
.proc {
  position: relative;
  padding-block: clamp(24px, 3vw, 48px) var(--section);
}
.proc-track {
  display: none;
}
@media (min-width: 1100px) {
  .proc-layout {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    column-gap: 40px;
  }
  .proc-track {
    display: block;
    position: relative;
  }
  .proc-track-line {
    position: sticky;
    top: calc(var(--head-h) + 40px);
    height: calc(100vh - var(--head-h) - 80px);
  }
  .proc-track-line::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    border-left: 2px dotted var(--rule-2);
  }
  .proc-track-fill {
    position: absolute;
    left: calc(50% - 1px);
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--violet);
    transform-origin: top;
    transform: scaleY(var(--p, 0));
  }
  .proc-walker {
    position: absolute;
    left: 50%;
    top: calc(var(--p, 0) * 100%);
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    color: var(--violet);
  }
  .proc-walker .vp {
    width: 30px;
    height: 30px;
    transform: rotate(90deg);
  }
  .proc-stops {
    position: absolute;
    inset: 0;
  }
  .proc-stops span {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 4px 6px;
    background: var(--paper);
    font: 700 0.625rem/1 var(--mono);
    letter-spacing: 0.1em;
    color: var(--graphite);
  }
  .proc-stops span.is-on {
    color: var(--ink);
  }
}
.stage {
  display: grid;
  gap: 24px;
  padding-block: clamp(48px, 6vw, 104px);
  border-top: 2px solid var(--ink);
}
.stage-name {
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.stage-no {
  font: 400 0.8125rem/1 var(--mono);
  letter-spacing: 0.12em;
  color: var(--violet);
}
.stage h2 {
  font-size: clamp(2.8rem, 1.2rem + 6.4vw, 7.2rem);
  letter-spacing: -0.06em;
  font-weight: 700;
  line-height: 0.9;
}
.stage-what {
  max-width: 40rem;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  color: var(--ink-2);
}
.stage-ledger {
  display: grid;
  gap: 0;
  border: 1.5px solid var(--ink);
}
.stage-ledger > div {
  padding: 18px 18px 20px;
}
.stage-ledger > div + div {
  border-top: 1px solid var(--ink);
}
.stage-ledger h3 {
  margin-bottom: 10px;
  font: 700 0.6875rem/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.stage-ledger li {
  position: relative;
  padding: 5px 0 5px 18px;
  color: var(--ink-2);
}
.stage-ledger li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 8px;
  height: 1.5px;
  background: currentColor;
}
.stage-ledger .ours {
  background: var(--paper-2);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper);
  font: 400 0.75rem/1.2 var(--mono);
  letter-spacing: 0.06em;
}
.tags .vp {
  width: 14px;
  height: 14px;
  color: var(--yellow);
}
@media (min-width: 900px) {
  .stage {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: 56px;
    align-items: start;
  }
  .stage-name,
  .stage-what {
    grid-column: 1 / -1;
  }
  .stage-ledger {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stage-ledger > div + div {
    border-top: 0;
    border-left: 1px solid var(--ink);
  }
}
.receive-plate {
  display: grid;
  gap: 0;
  border: 2px solid var(--ink);
}
.receive-plate li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--ink);
}
.receive-plate li:last-child {
  border-bottom: 0;
}
.receive-plate .n {
  font: 700 0.75rem/1.7 var(--mono);
  color: var(--violet);
}
.receive-plate b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
@media (min-width: 900px) {
  .receive-plate {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .receive-plate li:nth-child(odd) {
    border-right: 1px solid var(--ink);
  }
  .receive-plate li:nth-last-child(-n + 2):nth-child(odd),
  .receive-plate li:last-child {
    border-bottom: 0;
  }
  .receive-plate li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: 0;
  }
}
.faq {
  padding-block: var(--section);
}
.faq-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: 5fr 7fr;
    column-gap: 64px;
  }
}
.faq-list {
  border-top: 2px solid var(--ink);
}
.faq-list details {
  border-bottom: 1px solid var(--rule-2);
}
.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 14px 44px 14px 0;
  color: var(--ink);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat;
  transition: transform var(--t) var(--ease);
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list .a {
  max-width: 42rem;
  padding: 0 0 22px;
  color: var(--ink-2);
}

/* ── Start page ────────────────────────────────────────────────────────── */
.start {
  padding-block: clamp(28px, 4vw, 72px) var(--section);
}
.start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
.start-aside h1 {
  max-width: 13ch;
  font-size: clamp(2.3rem, 1.2rem + 4.2vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 700;
  margin-bottom: 18px;
}
/* Phones: intro → form → reassurance. The decorative sheet is a desktop
   companion (it is only meaningful when visible beside the form). */
@media (max-width: 1099.98px) {
  .start-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .start-aside {
    display: contents;
  }
  .start-aside > * {
    order: 1;
  }
  .start-grid .form-panel {
    order: 2;
    margin-block: 28px 40px;
  }
  .start-aside .next-steps,
  .start-aside .alt-contact {
    order: 3;
  }
}
@media (max-width: 767.98px) {
  .start-aside .sheet {
    display: none;
  }
  .start-aside h1 {
    font-size: clamp(2.1rem, 1.3rem + 4vw, 2.8rem);
  }
}
@media (min-width: 1100px) {
  .start-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: 72px;
    align-items: start;
  }
  .start-aside {
    position: sticky;
    top: calc(var(--head-h) + 32px);
  }
}
/* Project sheet: the enquiry, drafted as a drawing while it is filled in. */
.sheet {
  position: relative;
  margin: 28px 0;
  padding: 18px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
}
.sheet-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  font: 400 0.6875rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.sheet-body {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.sheet-art {
  aspect-ratio: 1;
  border: 1px solid var(--rule-2);
  color: var(--ink);
}
.sheet-art svg {
  width: 100%;
  height: 100%;
}
.sheet-art .ln {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.sheet-art .cone {
  fill: var(--violet);
  opacity: 0.22;
}
.sheet-art .dot {
  fill: var(--violet);
}
.sheet-rows {
  display: grid;
  gap: 0;
}
.sheet-rows div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--rule-2);
}
.sheet-rows dt {
  font: 400 0.625rem/1.8 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
}
.sheet-rows dd {
  overflow: hidden;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9375rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sheet-rows dd.is-empty {
  color: var(--graphite);
  font-weight: 400;
  opacity: 0.6;
}
@media (prefers-reduced-motion: no-preference) {
  .sheet-rows dd.is-fresh {
    animation: ink 700ms var(--ease);
  }
}
@keyframes ink {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
.next-steps {
  display: grid;
  gap: 14px;
  counter-reset: s;
}
.next-steps li {
  position: relative;
  padding-left: 44px;
  counter-increment: s;
  color: var(--ink-2);
}
.next-steps li::before {
  content: "0" counter(s);
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--ink);
  font: 700 0.6875rem/1 var(--mono);
  color: var(--ink);
}
.next-steps strong {
  color: var(--ink);
}
.alt-contact {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--rule-2);
  font-size: 0.9375rem;
}
.alt-contact p {
  color: var(--graphite);
}
.alt-contact a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-right: 18px;
  color: var(--ink);
  font-weight: 600;
}
.form-panel {
  position: relative;
  padding: clamp(20px, 3.6vw, 48px);
  border: 2px solid var(--ink);
  background: #f7f4ee;
  box-shadow: 8px 8px 0 var(--ink);
}
@media (max-width: 599.98px) {
  .form-panel {
    box-shadow: 5px 5px 0 var(--ink);
    margin-right: 5px;
  }
}
.lead-form fieldset {
  display: grid;
  gap: 18px;
  min-width: 0;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
}
.lead-form legend {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0 0 16px;
  font: 700 0.75rem/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.lead-form legend::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule-2);
}
.form-legend {
  margin-bottom: 24px;
  font-size: 0.875rem;
  color: var(--graphite);
}
.req {
  color: var(--coral-ink);
  font-weight: 700;
}
.opt {
  color: var(--graphite);
  font-weight: 400;
}
.field-row {
  display: grid;
  gap: 18px;
}
@media (min-width: 640px) {
  .field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.field {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
}
.field > label {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}
.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 14px;
  border: 1.5px solid var(--rule-2);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem; /* ≥16px avoids iOS zoom on focus */
  line-height: 1.4;
  transition:
    border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease);
}
.field textarea {
  min-height: 132px;
  resize: vertical;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%2312131c' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field ::placeholder {
  color: rgba(18, 19, 28, 0.42);
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
  box-shadow: 3px 3px 0 var(--violet);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--coral-ink);
}
.field.has-error input:focus,
.field.has-error select:focus,
.field.has-error textarea:focus {
  box-shadow: 3px 3px 0 var(--coral-ink);
}
.field-hint {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--graphite);
}
.count {
  flex: none;
  font-family: var(--mono);
  font-size: 0.75rem;
}
.field-error {
  color: var(--coral-ink);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}
.field-error:empty {
  display: none;
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  font-size: 0.9375rem;
  color: var(--ink-2);
  cursor: pointer;
}
.check input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--ink);
}
.form-summary {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--coral-ink);
  background: rgba(232, 125, 125, 0.14);
  color: var(--ink);
  font-weight: 600;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(18, 19, 28, 0.25);
  border-top-color: var(--ink);
  border-radius: 50%;
}
.is-busy .spinner {
  display: inline-block;
  animation: spin 0.8s linear infinite;
}
.form-notice {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 18px 18px 20px;
  border: 1.5px solid var(--ink);
  border-left-width: 6px;
  border-left-color: var(--yellow);
  background: var(--paper);
  color: var(--ink-2);
  outline: none;
}
.form-notice[data-kind="error"] {
  border-left-color: var(--coral-ink);
}
.notice-title {
  color: var(--ink);
  font-weight: 700;
}
.notice-dev {
  font: 400 0.75rem/1.5 var(--mono);
  color: var(--coral-ink);
}
.notice-dev code {
  font-family: inherit;
}
.form-notice .btn {
  justify-self: start;
  white-space: normal;
  text-align: left;
  min-height: 48px;
  padding-block: 10px;
}
.form-success {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: 12px 0;
  color: var(--ink-2);
}
.form-success h2,
.form-success h3 {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  outline: none;
}
.success-mark {
  color: var(--teal-ink);
}
@media (prefers-reduced-motion: no-preference) {
  .success-mark path {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: draw 700ms var(--ease) 200ms forwards;
  }
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-foot {
  padding-block: clamp(56px, 6vw, 96px) calc(32px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--night-rule);
}
.foot-grid {
  display: grid;
  gap: 36px;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot-brand .brand-word {
  color: var(--on-night);
}
.foot-brand .brand-word span {
  color: var(--on-night-muted);
}
.foot-pos {
  margin-top: 14px;
  max-width: 24rem;
  color: var(--on-night-muted);
  font-size: 0.9375rem;
}
.foot-h {
  margin-bottom: 10px;
  font: 400 0.6875rem/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-night-muted);
}
.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--on-night);
  text-decoration: none;
}
.foot-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--night-rule);
  font: 400 0.75rem/1.5 var(--mono);
  color: var(--on-night-muted);
}
@media (min-width: 900px) {
  .foot-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}
@media (max-width: 1099.98px) {
  body:not(.no-dock) .site-foot {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }
}

/* ── Scroll reveals ─────────────────────────────────────────────────────── */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 900ms var(--ease),
    transform 900ms var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.reveal-ready .rule[data-reveal] {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .rule[data-reveal] .rule-line {
    transform: scaleX(0);
    transition: transform 1400ms var(--ease-io) 100ms;
  }
  .reveal-ready .rule[data-reveal].is-in .rule-line {
    transform: scaleX(1);
  }
}

/* ── Cross-page transitions (progressive enhancement) ──────────────────── */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  ::view-transition-old(root) {
    animation: vt-out 320ms var(--ease-io) both;
  }
  ::view-transition-new(root) {
    animation: vt-in 640ms var(--ease) both;
  }
  ::view-transition-group(nav-marker) {
    animation-duration: 640ms;
    animation-timing-function: var(--ease);
  }
}
@keyframes vt-out {
  to {
    opacity: 0;
    transform: translateY(-12px);
  }
}
@keyframes vt-in {
  from {
    opacity: 0;
    clip-path: inset(6% 0 0 0);
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: none;
  }
}

/* ── Reduced motion: complete and calm ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
}

/* Route walker looks along its path: down on phones, right on wide screens. */
.route-walker .vp {
  transform: rotate(90deg);
}
@media (min-width: 900px) {
  .route-walker .vp {
    transform: none;
  }
}

/* ════════════════════════════════════════════════════════════════════════
   REAL-SPACES GALLERY: the portfolio as an exhibition you can walk into.
   One stage, at most one live iframe, entered deliberately.
   ════════════════════════════════════════════════════════════════════════ */
.gallery {
  padding-block: var(--section);
  overflow: hidden;
}
.gallery-head {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(32px, 4vw, 64px);
}
.gallery-head h2 {
  max-width: 16ch;
  font-size: clamp(2.2rem, 1.1rem + 4vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.048em;
}
.gallery-head .lead {
  max-width: 32rem;
}
@media (min-width: 1024px) {
  .gallery-head {
    grid-template-columns: 7fr 5fr;
    align-items: end;
    column-gap: 64px;
  }
}
.gal {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}
@media (min-width: 1024px) {
  .gal {
    grid-template-columns: minmax(0, 8.4fr) minmax(0, 3.6fr);
    gap: 40px;
    align-items: start;
  }
}
.gallery .theatre-stage {
  aspect-ratio: 4 / 5;
  background: #05060b;
  box-shadow: 0 0 0 1px var(--night-rule);
}
@media (min-width: 600px) {
  .gallery .theatre-stage {
    aspect-ratio: 16 / 10;
  }
}
/* Poster: slow depth on hover; leave and enter through an aperture. */
.gallery .theatre-poster {
  transition:
    transform 1600ms var(--ease),
    filter 700ms var(--ease),
    opacity 300ms var(--ease),
    clip-path 900ms var(--ease-io);
  clip-path: circle(150% at 50% 50%);
}
.gallery .theatre-stage:hover .theatre-poster {
  transform: scale(1.035);
}
.gallery .theatre-stage.is-leaving .theatre-poster {
  opacity: 0;
  transform: scale(1.06);
  filter: blur(6px);
}
.gallery .theatre-stage.is-entering .theatre-poster {
  clip-path: circle(0% at 50% 50%);
  transition: none;
}
.gallery .theatre-scrim {
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(5, 6, 11, 0) 40%, rgba(5, 6, 11, 0.55) 100%),
    linear-gradient(180deg, rgba(5, 6, 11, 0.45) 0%, rgba(5, 6, 11, 0) 22%, rgba(5, 6, 11, 0) 70%, rgba(5, 6, 11, 0.5) 100%);
}
.gal-live-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 10px;
  background: rgba(7, 8, 15, 0.72);
  color: var(--on-night);
  font: 400 0.6875rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.gal-live-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(93, 214, 179, 0.25);
}
.gallery .theatre-stage:not([data-state="preview"]) .gal-live-tag {
  display: none;
}
/* The entry control: an aperture you step through. */
.gallery .theatre-launch {
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}
.gal-enter {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 8px;
  border: 0;
  background: none;
  color: var(--on-night);
}
.gal-enter-ring {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 245, 240, 0.85);
  background: rgba(7, 8, 15, 0.32);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition:
    transform 520ms var(--ease),
    background-color 520ms var(--ease),
    border-color 520ms var(--ease);
}
.gal-enter-ring::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--on-night);
  transition: transform 520ms var(--ease);
}
.gal-enter-ring::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(245, 245, 240, 0.35);
}
@media (prefers-reduced-motion: no-preference) {
  .gal-enter-ring::after {
    animation: ping 3s var(--ease) infinite;
  }
}
.gal-enter-label {
  padding: 9px 14px;
  background: rgba(7, 8, 15, 0.7);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.gal-enter:hover .gal-enter-ring,
.gal-enter:focus-visible .gal-enter-ring {
  transform: scale(1.1);
  background: rgba(200, 168, 233, 0.28);
  border-color: var(--lilac);
}
.gal-enter:hover .gal-enter-ring::before {
  transform: scale(1.5);
}
.gal-enter:focus-visible {
  outline: none;
}
.gal-enter:focus-visible .gal-enter-label {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}
.gallery .theatre-hint {
  margin: 0;
  padding: 6px 10px;
  background: rgba(7, 8, 15, 0.55);
  color: var(--on-night-body);
}
@media (max-width: 479.98px) {
  .gallery .theatre-hint {
    display: none;
  }
}
.gal-step {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 1px solid var(--night-rule-2);
  border-radius: 50%;
  background: rgba(7, 8, 15, 0.6);
  color: var(--on-night);
  transition:
    background-color var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
.gal-step:hover {
  background: rgba(7, 8, 15, 0.85);
  border-color: var(--on-night);
}
.gal-step--prev {
  left: 14px;
}
.gal-step--next {
  right: 14px;
}
.gallery .theatre-stage:not([data-state="preview"]) .gal-step {
  display: none;
}
.gallery .theatre-pending {
  left: 16px;
  top: 16px;
}
/* Live: a solid control strip above the tour, so nothing covers Kuula's UI. */
.gallery .theatre-stage[data-state="live"] .theatre-frame {
  top: 56px;
}
.gallery .theatre-stage[data-state="live"] .theatre-bar {
  left: 0;
  right: 0;
  top: 0;
  height: 56px;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: var(--night);
  border-bottom: 1px solid var(--night-rule);
}
.theatre-bar-end {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.gallery .theatre-bar-btn {
  min-height: 44px;
  border-color: var(--night-rule-2);
  background: transparent;
}
.gallery .theatre-bar-btn:hover {
  border-color: var(--on-night);
}
/* Phones: the live tour becomes the whole screen, with a clear way out. */
.gallery .theatre-stage.is-immersive {
  position: fixed;
  inset: 0;
  z-index: 95;
  aspect-ratio: auto;
  height: 100vh;
  height: 100dvh;
  box-shadow: none;
}
.gallery .theatre-stage.is-immersive[data-state="live"] .theatre-frame {
  top: calc(56px + env(safe-area-inset-top));
  bottom: env(safe-area-inset-bottom);
}
.gallery .theatre-stage.is-immersive .theatre-bar {
  height: calc(56px + env(safe-area-inset-top));
  padding-top: calc(6px + env(safe-area-inset-top));
}
html.tour-open {
  overflow: hidden;
}
html.tour-open .dock {
  visibility: hidden;
}
/* Caption: editorial title, honest description, verified facts. */
.gal-caption {
  display: grid;
  gap: 18px;
  padding-top: 22px;
}
.gal-client {
  margin-bottom: 8px;
  font: 400 0.75rem/1.3 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lilac);
}
.gal-title {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.gal-desc {
  max-width: 34rem;
  margin-top: 12px;
  color: var(--on-night-body);
}
.gal-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--night-rule-2);
}
.gal-facts div {
  padding: 12px 12px 0 0;
}
.gal-facts div + div {
  padding-left: 12px;
  border-left: 1px solid var(--night-rule);
}
.gal-facts dt {
  font: 400 0.625rem/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-night-muted);
}
.gal-facts dd {
  margin-top: 6px;
  color: var(--on-night);
  font-weight: 500;
  line-height: 1.3;
}
@media (min-width: 900px) {
  .gal-caption {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: 40px;
    align-items: end;
  }
}
/* Index: the rooms, numbered like an exhibition guide. */
.gallery .index-label {
  display: flex;
  justify-content: space-between;
  color: var(--on-night-muted);
}
.gallery .theatre-list {
  position: static;
  display: grid;
  gap: 0;
  overflow: visible;
  padding: 0;
  border-top: 1px solid var(--night-rule-2);
}
.gallery .theatre-tab {
  flex: none;
  grid-template-columns: 30px 76px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  width: 100%;
  min-height: 76px;
  padding: 10px 8px;
  border: 0;
  border-bottom: 1px solid var(--night-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: background-color var(--t) var(--ease);
}
.gallery .theatre-tab-num {
  position: static;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--on-night-muted);
  font: 400 0.75rem/1 var(--mono);
  text-shadow: none;
}
.gallery .theatre-tab img {
  grid-row: 1 / 3;
  width: 76px;
  height: 54px;
  filter: saturate(0.5) brightness(0.75);
  transition: filter var(--t) var(--ease);
}
.gallery .theatre-tab-title {
  align-self: end;
  color: var(--on-night);
  font-size: 1.0625rem;
}
.gallery .theatre-tab-client {
  align-self: start;
  color: var(--on-night-muted);
}
.gallery .theatre-tab-flag {
  grid-column: 3;
  color: var(--yellow);
}
.gallery .theatre-tab:hover,
.gallery .theatre-tab[aria-selected="true"] {
  background: var(--night-2);
}
.gallery .theatre-tab[aria-selected="true"] {
  box-shadow: inset 3px 0 0 var(--lilac);
}
.gallery .theatre-tab[aria-selected="true"] img,
.gallery .theatre-tab:hover img {
  filter: none;
}
.gallery .theatre-tab[aria-selected="true"] .theatre-tab-num {
  color: var(--lilac);
}
.gallery .review-note {
  border-color: var(--yellow);
  color: var(--yellow);
}
/* Public fallback: an honest invitation, illustrated with the demo. */
.gal-request {
  display: grid;
  gap: 36px;
  align-items: center;
}
.gal-request-media {
  margin: 0;
}
.gal-request-media .doorway-arch {
  max-width: 400px;
}
.gal-request-tag {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  font: 400 0.6875rem/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-night-muted);
}
.gal-request-tag .vp {
  color: var(--lilac);
}
.gal-request-copy h3 {
  font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.gal-request-copy p {
  max-width: 34rem;
}
.gal-request-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}
@media (min-width: 1024px) {
  .gal-request {
    grid-template-columns: 5fr 7fr;
    gap: 72px;
  }
}

/* ── What you receive (Experience) ─────────────────────────────────────── */
.deliver {
  padding-block: var(--section);
  border-top: 1px solid var(--rule);
}
.deliver-grid {
  display: grid;
  gap: 36px;
}
.deliver-grid h2 {
  max-width: 15ch;
  margin-bottom: 20px;
}
.deliver-grid .lead {
  max-width: 30rem;
  margin-bottom: 20px;
}
.deliver-list {
  display: grid;
  border-top: 2px solid var(--ink);
}
.deliver-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-2);
}
.deliver-list .n {
  grid-row: 1 / 3;
  font: 700 0.75rem/1.8 var(--mono);
  color: var(--violet);
}
.deliver-list b {
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
@media (min-width: 900px) {
  .deliver-grid {
    grid-template-columns: 5fr 7fr;
    column-gap: 64px;
  }
  .deliver-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
  }
}

/* Compare section on paper: controls in ink, the strip stays a dark band. */
.compare:not(.night) .segmented {
  border-color: var(--ink);
}
.compare:not(.night) .segmented button {
  color: var(--ink-2);
}
.compare:not(.night) .segmented button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.compare:not(.night) .strip-swipe {
  color: var(--graphite);
}
.compare:not(.night) .strip-scroller {
  background: var(--night);
}
.gallery .theatre-tab-num { grid-column: 1; }
.gallery .theatre-tab img { grid-column: 2; }
.gallery .theatre-tab-text { grid-column: 3; grid-row: 1; }
.gallery .theatre-tab-flag { grid-row: 2; }
.gallery-head h2 { max-width: 20ch; font-size: clamp(2.1rem, 1.1rem + 3.2vw, 4.2rem); }

/* Industries: why it matters */
.ind-why {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--paper-2);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.45;
}
.ind-why b {
  display: block;
  margin-bottom: 4px;
  font: 700 0.6875rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
}
.ind--night .ind-why {
  background: var(--night-2);
  color: var(--on-night);
}
.ind--night .ind-why b {
  color: var(--lilac);
}

/* Explore: exploration feedback */
.vp-visited {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: -8px;
  font: 400 0.75rem/1.3 var(--mono);
  letter-spacing: 0.08em;
  color: var(--on-night-muted);
}
.vp-visited-dots {
  display: inline-flex;
  gap: 5px;
}
.vp-visited-dots i {
  width: 22px;
  height: 4px;
  background: var(--night-rule-2);
  transition: background-color 500ms var(--ease);
}
.vp-visited-dots i.is-on {
  background: var(--lilac);
}

/* Process: stage overview */
.proc-overview ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule-2);
}
.proc-overview li + li {
  border-left: 1px solid var(--rule-2);
}
.proc-overview li:nth-child(3) {
  border-left: 0;
}
.proc-overview li:nth-child(n + 3) {
  border-top: 1px solid var(--rule-2);
}
.proc-overview a {
  display: grid;
  gap: 4px;
  min-height: 100%;
  padding: 16px 14px 18px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color var(--t) var(--ease);
}
.proc-overview a:hover {
  background: var(--paper-2);
}
.proc-overview .n {
  font: 400 0.6875rem/1 var(--mono);
  color: var(--violet);
}
.proc-overview b {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  letter-spacing: -0.03em;
}
.proc-overview a > span:last-child {
  font-size: 0.875rem;
  color: var(--graphite);
}
@media (min-width: 900px) {
  .proc-overview ol {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .proc-overview li:nth-child(3) {
    border-left: 1px solid var(--rule-2);
  }
  .proc-overview li:nth-child(n + 3) {
    border-top: 0;
  }
}

/* Start: progress, privacy expectation, ready state */
.form-progress {
  margin-bottom: 24px;
}
.form-progress-bar {
  height: 4px;
  margin-bottom: 10px;
  background: var(--rule);
  overflow: hidden;
}
.form-progress-bar i {
  display: block;
  height: 100%;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms var(--ease);
}
.form-progress p {
  font-size: 0.875rem;
  color: var(--graphite);
}
.form-progress [data-progress-text] {
  color: var(--ink);
  font-weight: 600;
}
.form-privacy {
  margin: -6px 0 14px;
  font-size: 0.875rem;
  color: var(--graphite);
}
.sheet.is-ready {
  box-shadow: 4px 4px 0 var(--violet);
}
.sheet.is-ready [data-sheet-status] {
  color: var(--violet);
  font-weight: 700;
}
.final h2 { font-size: clamp(2.3rem, 1.2rem + 4vw, 5rem); }

/* ════════════════════════════════════════════════════════════════════════
   HERO: THE THRESHOLD
   The room fills the hero. Two paper doors, drawn like the plan, part to let
   the visitor in; the title block carries the promise from the first frame.
   Mobile recomposes it as: headline → room → actions → plan.
   ════════════════════════════════════════════════════════════════════════ */
.hero.hx {
  --scene-h: clamp(600px, calc(100svh - var(--head-h) - 52px), 900px);
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "scene" "next";
  padding: 0;
  background: var(--night);
}
.hx-stage {
  grid-area: scene;
  position: relative;
  height: var(--scene-h);
  overflow: hidden;
  isolation: isolate;
}
.hx .room {
  position: absolute;
  inset: 0;
  animation: none;
}
.hx .room-viewport {
  position: absolute;
  inset: 0;
  height: 100%;
  aspect-ratio: auto;
}
/* Light falls off towards the edges, so the title block sits in shadow. */
.hx-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 70% at 62% 42%, rgba(7, 8, 15, 0) 45%, rgba(7, 8, 15, 0.6) 100%),
    linear-gradient(0deg, rgba(7, 8, 15, 0.55) 0%, rgba(7, 8, 15, 0) 35%);
}
.hx .room-hud {
  z-index: 2;
}
.hx .hud-tag {
  left: var(--edge);
  top: 20px;
}
.hx .hud-heading {
  right: var(--edge);
  top: 20px;
}
.hx .hud-compass {
  left: 50%;
  right: auto;
  top: 24px;
  bottom: auto;
  width: min(320px, 40vw);
  transform: translateX(-50%);
}
.hx .hud-hint {
  left: 50%;
  bottom: auto;
  top: 44%;
  transform: translateX(-50%);
  padding: 10px 16px;
  font-size: 12px;
}
.hx .room.is-touched .hud-hint {
  transform: translate(-50%, 8px);
}

/* The doors: paper, drawn on, parting from the centre. */
.hx-doors {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  pointer-events: none;
}
.hx-door {
  position: relative;
  flex: 1;
  background:
    repeating-linear-gradient(90deg, transparent 0 63px, rgba(18, 19, 28, 0.07) 63px 64px),
    var(--paper);
}
.hx-door--l {
  border-right: 1px solid var(--ink);
}
.hx-door--r {
  border-left: 1px solid var(--ink);
}
.hx-door-mark {
  position: absolute;
  top: 50%;
  font: 400 0.75rem/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.hx-door--l .hx-door-mark {
  right: 22px;
}
.hx-door--r .hx-door-mark {
  left: 22px;
}
.hx-door-mark::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--violet);
}
.hx-door--l .hx-door-mark::before {
  right: -26px;
}
.hx-door--r .hx-door-mark::before {
  display: none;
}
@media (prefers-reduced-motion: no-preference) {
  .js .hx-door--l {
    animation: door-l 1250ms var(--ease-io) 250ms both;
  }
  .js .hx-door--r {
    animation: door-r 1250ms var(--ease-io) 250ms both;
  }
  /* Stepping in: the room settles forward as the doors open. */
  .js .hx .room-viewport {
    animation: step-in 2000ms var(--ease) 200ms both;
  }
}
.no-js .hx-doors {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .hx-doors {
    display: none;
  }
}
@keyframes door-l {
  to {
    transform: translateX(-101%);
    visibility: hidden;
  }
}
@keyframes door-r {
  to {
    transform: translateX(101%);
    visibility: hidden;
  }
}
@keyframes step-in {
  from {
    transform: scale(1.12);
    filter: brightness(1.5);
  }
  to {
    transform: none;
    filter: none;
  }
}

/* Title block */
.hx-plate {
  grid-area: scene;
  position: relative;
  z-index: 6;
  align-self: end;
  justify-self: start;
  width: min(600px, 54vw);
  margin: 0 0 clamp(24px, 3.4vw, 56px) var(--edge);
  padding: clamp(24px, 2.6vw, 40px);
  background: var(--paper);
  color: var(--graphite);
}
.hx-plate::before {
  /* registration mark: the block is a sheet laid on the scene */
  content: "";
  position: absolute;
  left: -1px;
  top: -12px;
  width: 64px;
  height: 3px;
  background: var(--violet);
}
.hx .hero-title {
  font-size: clamp(2.6rem, 0.9rem + 4vw, 5.4rem);
  line-height: 0.92;
}
.hx .hero-title .ln {
  display: block;
}
.hx .hero-lead {
  margin-top: 18px;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
}
.hx .hero-ctas {
  margin-top: 24px;
}
.hx .eyebrow {
  margin-bottom: 16px;
}

/* Plan + turns, laid on the opposite corner */
.hx-tools {
  grid-area: scene;
  position: relative;
  z-index: 6;
  align-self: end;
  justify-self: end;
  display: grid;
  gap: 10px;
  width: 280px;
  margin: 0 var(--edge) clamp(24px, 3.4vw, 56px) 0;
}
.hx .plan-card {
  background: var(--paper);
  border: 0;
}
.hx-tools .room-turns button {
  background: rgba(7, 8, 15, 0.72);
  border-color: var(--night-rule-2);
  color: var(--on-night);
}
.hx-tools .room-turns button:hover {
  border-color: var(--on-night);
}
.hx-tools .room-turns button[aria-pressed="true"] {
  background: var(--lilac);
  border-color: var(--lilac);
  color: var(--night);
}
@media (min-width: 768px) and (max-width: 1099.98px) {
  .hx-tools {
    align-self: start;
    width: 220px;
    margin-top: 64px;
  }
  .hx .hud-compass {
    display: none;
  }
}

/* The connector into the real rooms */
.hx-next {
  grid-area: next;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 10px var(--gutter);
  border-top: 1px solid var(--night-rule);
  color: var(--on-night-muted);
  font: 400 0.75rem/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}
.hx-next b {
  color: var(--on-night);
  font-weight: 700;
}
.hx-next-line {
  width: 1px;
  height: 22px;
  background: var(--lilac);
}
.hx-next:hover b {
  color: var(--lilac);
}
@media (prefers-reduced-motion: no-preference) {
  .hx-next-line {
    animation: drop 2.4s var(--ease-io) infinite;
    transform-origin: top;
  }
}
@keyframes drop {
  0% {
    transform: scaleY(0);
  }
  50% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}

/* Phones: headline → room → actions → lead → plan */
@media (max-width: 767.98px) {
  .hero.hx {
    grid-template-areas: "head" "stage" "actions" "lead" "tools" "next";
    background: var(--paper);
  }
  .hx-plate {
    display: contents;
  }
  .hx-plate::before {
    display: none;
  }
  .hx-head {
    grid-area: head;
    padding: 18px var(--gutter) 20px;
  }
  .hx-stage {
    grid-area: stage;
    height: auto;
    aspect-ratio: 5 / 4;
  }
  .hx .hero-ctas {
    grid-area: actions;
    margin: 0;
    padding: 18px var(--gutter) 0;
  }
  .hx .hero-lead {
    grid-area: lead;
    margin: 0;
    padding: 18px var(--gutter) 0;
  }
  .hx-tools {
    grid-area: tools;
    width: auto;
    margin: 0;
    padding: 22px var(--gutter) 28px;
    grid-template-columns: minmax(0, 1fr);
  }
  .hx .plan-card {
    border: 1px solid var(--rule-2);
  }
  .hx-tools .room-turns button {
    background: transparent;
    border-color: var(--rule-2);
    color: var(--ink);
  }
  .hx-tools .room-turns button[aria-pressed="true"] {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
  }
  .hx .hero-title {
    font-size: clamp(2.3rem, 1.3rem + 5vw, 3rem);
  }
  .hx .hero-title .ln {
    display: inline;
  }
  .hx .hud-compass {
    display: none;
  }
  .hx .hud-tag,
  .hx .hud-heading {
    top: 12px;
  }
  .hx .hud-tag {
    left: 12px;
  }
  .hx .hud-heading {
    right: 12px;
  }
  .hx-next {
    background: var(--night);
  }
  .hx-door-mark {
    font-size: 0.625rem;
  }
}

/* ════════════════════════════════════════════════════════════════════════
   THE ROOM SEQUENCE: real rooms, one at a time.
   ════════════════════════════════════════════════════════════════════════ */
.seq {
  display: grid;
  gap: 0;
}
.seq-frame {
  position: relative;
}
.gallery .seq .theatre-stage {
  aspect-ratio: 4 / 5;
  box-shadow: none;
}
@media (min-width: 600px) {
  .gallery .seq .theatre-stage {
    aspect-ratio: 16 / 10;
  }
}
@media (min-width: 900px) {
  .gallery .seq .theatre-stage {
    aspect-ratio: 2 / 1;
  }
}
.gallery .seq .theatre-poster {
  clip-path: none;
  transition:
    transform 1600ms var(--ease),
    filter 700ms var(--ease),
    opacity 600ms var(--ease);
}
.gallery .seq .theatre-stage:hover .theatre-poster {
  transform: scale(1.03);
}
/* Doors: the next room parts open from the centre. */
.seq-doors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  clip-path: inset(0 50% 0 50%);
  transition: none;
  pointer-events: none;
}
.seq-doors.is-open {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transition: clip-path 900ms var(--ease-io);
}
@media (prefers-reduced-motion: no-preference) {
  .seq.is-turning .theatre-poster {
    animation: recede 900ms var(--ease-io);
  }
  .seq.is-turning .seq-plate > * {
    animation: rise 700ms var(--ease) both;
  }
  .seq.is-turning .seq-plate > :nth-child(2) {
    animation-delay: 60ms;
  }
  .seq.is-turning .seq-plate > :nth-child(3) {
    animation-delay: 120ms;
  }
  .seq.is-turning .seq-plate > :nth-child(4) {
    animation-delay: 180ms;
  }
  .seq.is-turning .seq-plate > :nth-child(5) {
    animation-delay: 240ms;
  }
}
@keyframes recede {
  50% {
    transform: scale(1.05);
    filter: brightness(0.55);
  }
}
.gallery .seq .theatre-scrim {
  background:
    linear-gradient(90deg, rgba(5, 6, 11, 0.6) 0%, rgba(5, 6, 11, 0) 50%),
    linear-gradient(180deg, rgba(5, 6, 11, 0.4) 0%, rgba(5, 6, 11, 0) 20%);
}
.seq-tag {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 10px;
  background: rgba(7, 8, 15, 0.72);
  color: var(--on-night);
  font: 400 0.6875rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.seq-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(93, 214, 179, 0.25);
}
.gallery .seq .theatre-stage:not([data-state="preview"]) .seq-tag {
  display: none;
}
.theatre-bar-room {
  overflow: hidden;
  padding: 0 8px;
  color: var(--on-night);
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media (max-width: 599.98px) {
  .theatre-bar-room {
    display: none;
  }
}

/* The title block, laid on the room */
.seq-plate {
  position: relative;
  z-index: 3;
  margin: -40px var(--gutter) 0;
  padding: 24px 22px 22px;
  background: var(--paper);
  color: var(--ink-2);
  transition: opacity 400ms var(--ease);
}
.seq-plate::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -12px;
  width: 64px;
  height: 3px;
  background: var(--lilac);
}
.seq-no {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule-2);
  font: 700 1.75rem/1 var(--mono);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.seq-of {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--graphite);
}
.seq-plate .gal-client {
  color: var(--violet);
}
.seq-plate .gal-title {
  color: var(--ink);
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem);
}
.seq-plate .gal-desc {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.seq-plate .gal-facts {
  margin-top: 18px;
  border-top-color: var(--rule-2);
}
.seq-plate .gal-facts div + div {
  border-left-color: var(--rule);
}
.seq-plate .gal-facts dt {
  color: var(--graphite);
}
.seq-plate .gal-facts dd {
  color: var(--ink);
  font-size: 0.9375rem;
}
.seq-enter {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 58px;
  margin-top: 22px;
  padding: 0 20px;
  border: 0;
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font-size: 1.0625rem;
  font-weight: 600;
  text-align: left;
  transition: background-color var(--t) var(--ease);
}
.seq-enter .arr {
  margin-left: auto;
  transition: transform var(--t) var(--ease);
}
.seq-enter:hover {
  background: var(--violet);
}
.seq-enter:hover .arr {
  transform: translateX(4px);
}
.seq-enter-eye {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
}
.seq-enter-eye::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: currentColor;
  transition: transform var(--t) var(--ease);
}
.seq-enter:hover .seq-enter-eye::after {
  transform: scale(1.6);
}
.seq-enter:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}
@media (max-width: 767.98px) {
  .gallery .seq-frame {
    margin-inline: calc(var(--gutter) * -1);
  }
  .seq-plate {
    margin-inline: var(--gutter);
  }
}
@media (min-width: 900px) {
  .seq-plate {
    position: absolute;
    left: 24px;
    bottom: 24px;
    width: min(440px, 40%);
    margin: 0;
    padding: 26px 26px 24px;
  }
  .seq[data-state="loading"] .seq-plate,
  .seq[data-state="live"] .seq-plate,
  .seq[data-state="error"] .seq-plate {
    opacity: 0;
    visibility: hidden;
  }
}
@media (min-width: 900px) and (max-width: 1099.98px) {
  .seq-plate .gal-desc {
    display: none;
  }
}
.gallery .seq .gal-step--prev {
  left: auto;
  right: 76px;
  top: auto;
  bottom: 20px;
  margin: 0;
}
.gallery .seq .gal-step--next {
  right: 20px;
  top: auto;
  bottom: 20px;
  margin: 0;
}
@media (max-width: 899.98px) {
  .gallery .seq .gal-step--prev,
  .gallery .seq .gal-step--next {
    bottom: 56px;
  }
}

/* The rail: five rooms in sequence */
.seq .theatre-index {
  margin-top: 28px;
}
.gallery .seq .index-label {
  margin-bottom: 12px;
}
.gallery .seq .theatre-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 0;
}
.gallery .seq .theatre-tab {
  position: relative;
  display: grid;
  grid-template-columns: 64px 30px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 14px;
  min-height: 72px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--night-rule);
  box-shadow: none;
  background: transparent;
}
.gallery .seq .theatre-tab-bar {
  display: none;
}
.gallery .seq .theatre-tab img {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 64px;
  height: 48px;
}
.gallery .seq .theatre-tab-num {
  grid-column: 2;
  grid-row: 1 / 3;
}
.gallery .seq .theatre-tab-text {
  grid-column: 3;
  grid-row: 1 / 3;
  display: grid;
}
.gallery .seq .theatre-tab-flag {
  grid-column: 3;
  grid-row: 3;
}
.gallery .seq .theatre-tab[aria-selected="true"] {
  background: var(--night-2);
  box-shadow: inset 3px 0 0 var(--lilac);
}
@media (min-width: 900px) {
  .gallery .seq .theatre-list {
    grid-template-columns: repeat(var(--rooms, 5), minmax(0, 1fr));
    gap: 0 20px;
  }
  .gallery .seq .theatre-tab {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-content: start;
    gap: 8px;
    min-height: 96px;
    padding: 18px 0 14px;
    border-bottom: 0;
    background: transparent;
    box-shadow: none;
    text-align: left;
  }
  .gallery .seq .theatre-tab[aria-selected="true"] {
    background: transparent;
    box-shadow: none;
  }
  .gallery .seq .theatre-tab-bar {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    display: block;
    height: 2px;
    background: var(--night-rule-2);
  }
  .gallery .seq .theatre-tab-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--lilac);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 700ms var(--ease-io);
  }
  .gallery .seq .theatre-tab[aria-selected="true"] .theatre-tab-bar::after,
  .gallery .seq .theatre-tab:hover .theatre-tab-bar::after {
    transform: scaleX(1);
  }
  .gallery .seq .theatre-tab:hover .theatre-tab-bar::after {
    opacity: 0.5;
  }
  .gallery .seq .theatre-tab[aria-selected="true"] .theatre-tab-bar::after {
    opacity: 1;
  }
  .gallery .seq .theatre-tab img {
    display: none;
  }
  .gallery .seq .theatre-tab-num,
  .gallery .seq .theatre-tab-text,
  .gallery .seq .theatre-tab-flag {
    grid-column: 1;
    grid-row: auto;
  }
  .gallery .seq .theatre-tab-title {
    font-size: clamp(1rem, 0.8rem + 0.5vw, 1.25rem);
    color: var(--on-night-muted);
    transition: color var(--t) var(--ease);
  }
  .gallery .seq .theatre-tab[aria-selected="true"] .theatre-tab-title,
  .gallery .seq .theatre-tab:hover .theatre-tab-title {
    color: var(--on-night);
  }
}
@media (min-width: 768px) {
  .hx .hud-hint {
    left: 70%;
    top: 46%;
  }
}
@media (max-width: 767.98px) {
  .hx .hud-hint {
    left: 12px;
    top: auto;
    bottom: 12px;
    transform: none;
  }
  .hx .room.is-touched .hud-hint {
    transform: translateY(8px);
  }
}
@media (max-width: 379.98px) {
  .hx-stage {
    aspect-ratio: 3 / 2;
  }
  .hx-head {
    padding-block: 12px 14px;
  }
  .hx .hero-ctas {
    padding-top: 14px;
  }
}
@media (min-width: 768px) and (max-width: 1099.98px) {
  .hx .hud-hint {
    left: auto;
    right: var(--edge);
    top: auto;
    bottom: clamp(24px, 3.4vw, 56px);
    transform: none;
  }
  .hx .room.is-touched .hud-hint {
    transform: translateY(8px);
  }
}
.gallery .seq .theatre-stage.is-immersive {
  aspect-ratio: auto;
  width: 100%;
  height: 100vh;
  height: 100dvh;
}
@media (max-width: 379.98px) {
  .hx .hero-title {
    font-size: 2.05rem;
  }
  .hx .eyebrow {
    margin-bottom: 10px;
  }
}

/* ════════════════════════════════════════════════════════════════════════
   FINISHING PASS: one dark architectural language for the hero field, the
   tour-viewing state, the navigation and the footer.
   ════════════════════════════════════════════════════════════════════════ */

/* ── Hero: a dark field that dissolves into the room ───────────────────── */
.hx .hx-plate {
  width: min(760px, 62vw);
  padding: clamp(28px, 3vw, 48px) clamp(72px, 9vw, 150px) clamp(28px, 3vw, 44px) clamp(24px, 2.6vw, 40px);
  background: linear-gradient(
    100deg,
    rgba(9, 10, 18, 0.95) 0%,
    rgba(9, 10, 18, 0.9) 52%,
    rgba(9, 10, 18, 0.62) 76%,
    rgba(9, 10, 18, 0) 100%
  );
  color: var(--on-night-body);
  border-left: 1px solid rgba(200, 168, 233, 0.55);
}
.hx .hx-plate::before {
  top: -1px;
  height: 1px;
  width: 55%;
  background: linear-gradient(90deg, var(--lilac), rgba(200, 168, 233, 0));
}
.hx .hx-plate::after {
  /* the plate's lower edge: a floor line that fades out like the field */
  content: "";
  position: absolute;
  left: -1px;
  bottom: -1px;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 168, 233, 0.55), rgba(200, 168, 233, 0));
}
.hx .hero-title .hl {
  color: var(--lilac);
}
/* The room darkens towards the copy, so the two read as one scene. */
.hx-stage::after {
  background:
    linear-gradient(90deg, rgba(7, 8, 15, 0.62) 0%, rgba(7, 8, 15, 0.25) 40%, rgba(7, 8, 15, 0) 62%),
    radial-gradient(ellipse 75% 70% at 66% 42%, rgba(7, 8, 15, 0) 45%, rgba(7, 8, 15, 0.55) 100%),
    linear-gradient(0deg, rgba(7, 8, 15, 0.6) 0%, rgba(7, 8, 15, 0) 32%);
}
.hx .plan-card {
  background: rgba(9, 10, 18, 0.84);
  border: 1px solid var(--night-rule-2);
}
.hx .plan-card-title {
  color: var(--on-night);
}
.hx .plan-windows rect,
.hx .plan-dot-mark {
  fill: #090a12;
  background: #090a12;
}
/* Doors in the same dark material, drawn in lilac. */
.hx-door {
  background:
    repeating-linear-gradient(90deg, transparent 0 63px, rgba(200, 168, 233, 0.08) 63px 64px),
    #0d0f1c;
}
.hx-door--l {
  border-right-color: rgba(200, 168, 233, 0.6);
}
.hx-door--r {
  border-left-color: rgba(200, 168, 233, 0.6);
}
.hx-door-mark {
  color: var(--on-night);
}
.hx-door-mark::before {
  background: var(--lilac);
}
@media (max-width: 767.98px) {
  .hero.hx {
    background: var(--night);
  }
  .hx .hx-plate {
    width: auto;
    padding: 0;
    background: none;
    border: 0;
  }
  .hx .hx-plate::after {
    display: none;
  }
  .hx-head {
    padding-top: 22px;
  }
  /* On phones the room is framed above and below by the same dark field. */
  .hx-stage::after {
    background:
      linear-gradient(180deg, rgba(11, 13, 23, 0.9) 0%, rgba(11, 13, 23, 0) 22%),
      linear-gradient(0deg, rgba(11, 13, 23, 0.95) 0%, rgba(11, 13, 23, 0) 26%);
  }
  .hx-tools .room-turns button {
    background: transparent;
    border-color: var(--night-rule-2);
    color: var(--on-night-body);
  }
  .hx-tools .room-turns button[aria-pressed="true"] {
    background: var(--lilac);
    border-color: var(--lilac);
    color: var(--night);
  }
  .hx .plan-card {
    border-color: var(--night-rule-2);
  }
  .hx-next {
    border-top-color: var(--night-rule);
  }
}

/* ── The tour-viewing state: from the exhibition into the space ───────── */
.gallery .seq .theatre-stage.is-immersive {
  background: #05060b;
}
@media (prefers-reduced-motion: no-preference) {
  .gallery .seq .theatre-stage.is-immersive {
    animation: immerse 560ms var(--ease) both;
  }
  .seq.is-returning .seq-plate,
  .seq.is-returning .theatre-index {
    animation: rise 700ms var(--ease) both;
  }
  .seq.is-returning .theatre-index {
    animation-delay: 90ms;
  }
}
@keyframes immerse {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.gallery .theatre-stage.is-immersive .theatre-bar,
.gallery .theatre-stage.is-immersive[data-state="loading"] .theatre-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  height: calc(60px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(10px, env(safe-area-inset-right)) 0 max(10px, env(safe-area-inset-left));
  background:
    repeating-linear-gradient(90deg, rgba(245, 245, 240, 0.16) 0 1px, transparent 1px 16px) 0 100% / 100% 4px no-repeat,
    linear-gradient(rgba(245, 245, 240, 0.12), rgba(245, 245, 240, 0.12)) 0 100% / 100% 1px no-repeat,
    var(--night);
}
.gallery .theatre-stage.is-immersive[data-state="live"] .theatre-frame {
  top: calc(60px + env(safe-area-inset-top));
  bottom: env(safe-area-inset-bottom);
  left: env(safe-area-inset-left);
  right: env(safe-area-inset-right);
}
.gallery .theatre-stage.is-immersive .theatre-loading {
  padding-top: 60px;
}
.theatre-bar-room {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
.theatre-bar-room .vp-code {
  flex: none;
  font: 400 0.6875rem/1 var(--mono);
  letter-spacing: 0.12em;
  color: var(--lilac);
}
.theatre-bar-room [data-theatre-field="title"] {
  overflow: hidden;
  text-overflow: ellipsis;
}
.gallery .theatre-bar-btn {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--night-rule-2);
  border-radius: 2px;
  font-size: 0.9375rem;
}
.gallery .theatre-bar-btn[data-theatre-close] {
  border-color: var(--on-night);
}
.gallery .theatre-bar-btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}
@media (max-width: 599.98px) {
  .theatre-bar-room {
    display: flex;
  }
  .theatre-bar-room [data-theatre-field="title"],
  .theatre-bar-btn .hide-xs {
    display: none;
  }
  .gallery .theatre-bar-btn {
    padding: 0 12px;
  }
}

/* ── Navigation: a measured plan of the site ──────────────────────────── */
.site-head {
  background: var(--night);
  color: var(--on-night);
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-head::after {
  /* the ruler the rooms are measured against */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(245, 245, 240, 0.2) 0 1px, transparent 1px 16px) 0 100% / 100% 4px no-repeat,
    linear-gradient(rgba(245, 245, 240, 0.12), rgba(245, 245, 240, 0.12)) 0 100% / 100% 1px no-repeat;
}
.site-head.is-stuck {
  border-bottom-color: transparent;
}
.site-head .brand,
.menu .brand {
  color: var(--on-night);
}
.site-head .brand-word span,
.menu .brand-word span {
  color: var(--on-night-muted);
}
.site-head .brand-tag {
  border-left-color: var(--night-rule-2);
  color: var(--on-night-muted);
}
@media (min-width: 1100px) {
  .nav {
    align-self: stretch;
    display: flex;
  }
}
.nav ul {
  gap: 0;
}
.nav li {
  display: flex;
}
.nav a {
  min-height: var(--head-h);
  padding: 0 22px;
  color: var(--on-night-muted);
  font-weight: 500;
  transition: color var(--t) var(--ease);
}
/* walls between rooms, stopping short of the floor: a doorway */
.nav li + li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 24px;
  width: 1px;
  background: var(--night-rule-2);
}
.nav a .n {
  color: rgba(200, 168, 233, 0.7);
  transition: color var(--t) var(--ease);
}
.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current="page"] {
  color: var(--on-night);
}
.nav a[aria-current="page"] .n {
  color: var(--lilac);
}
.nav a:focus-visible {
  outline-offset: -6px;
}
/* The marker: a lilac floor line under the room you are in, with the
   viewpoint standing on it. It travels between pages (view transition). */
.nav-marker {
  bottom: 0;
  height: 2px;
  width: 0;
  margin-left: 0;
  color: var(--lilac);
  background: var(--lilac);
  transition:
    transform 520ms var(--ease),
    width 520ms var(--ease);
}
.nav-marker::before {
  left: 50%;
  right: auto;
  top: -15px;
  bottom: auto;
  width: 22px;
  height: 12px;
  margin-left: -11px;
  inset: auto;
  top: -15px;
  left: calc(50% - 11px);
  opacity: 0.35;
  transform: none;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  transform: rotate(180deg);
  transform-origin: 50% 100%;
  top: -27px;
}
.nav-marker::after {
  bottom: 2px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
}
.site-head .head-cta {
  margin-left: 20px;
  border-color: var(--yellow);
  box-shadow: none;
}
.site-head .head-cta:hover {
  box-shadow: none;
  transform: none;
}
.site-head .head-cta[aria-current="page"] {
  background: transparent;
  color: var(--yellow);
}
.site-head .head-cta[aria-current="page"]::before {
  background: rgba(232, 197, 71, 0.12);
}
.site-head .menu-btn,
.menu .menu-btn {
  border-color: var(--night-rule-2);
  color: var(--on-night);
}
.site-head .menu-btn:hover,
.menu .menu-btn:hover {
  border-color: var(--on-night);
}
.site-head :focus-visible,
.menu :focus-visible {
  outline-color: var(--yellow);
}

/* Mobile menu: the site as a lit floor plan */
.menu {
  background: var(--night);
  color: var(--on-night);
}
.menu-plan {
  border-color: var(--on-night);
}
.menu-plan li {
  border-color: rgba(245, 245, 240, 0.4);
}
.menu-plan a {
  color: var(--on-night);
}
.menu-plan a:hover,
.menu-plan a[aria-current="page"] {
  background: var(--night-2);
}
.menu-plan a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--lilac);
}
.menu-plan .room-no,
.menu-plan .room-desc,
.menu-meta {
  color: var(--on-night-muted);
}
.menu-plan a[aria-current="page"] .room-no {
  color: var(--lilac);
}
.menu-plan a[aria-current="page"] .vp {
  color: var(--lilac);
}
.menu-plan li::after {
  background: var(--night);
}
.menu-cta .btn-primary {
  border-color: var(--yellow);
  box-shadow: none;
}
.menu-meta a {
  color: var(--on-night);
}

/* ── Footer: the closing chapter ──────────────────────────────────────── */
.site-foot {
  position: relative;
  overflow: hidden;
  padding-block: 0 calc(28px + env(safe-area-inset-bottom));
  border-top: 0;
  background: var(--night);
}
.foot-rule {
  height: 6px;
  background:
    repeating-linear-gradient(90deg, rgba(245, 245, 240, 0.22) 0 1px, transparent 1px 16px) 0 0 / 100% 5px no-repeat,
    linear-gradient(rgba(245, 245, 240, 0.14), rgba(245, 245, 240, 0.14)) 0 0 / 100% 1px no-repeat;
}
.foot-lead {
  display: grid;
  gap: 28px;
  padding-block: clamp(72px, 9vw, 150px) clamp(48px, 6vw, 96px);
  border-bottom: 1px solid var(--night-rule);
}
.foot-statement {
  max-width: 14ch;
  color: var(--on-night);
  font-size: clamp(2.4rem, 1.1rem + 5vw, 6.2rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.052em;
  text-wrap: balance;
}
.foot-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}
.site-foot .btn-primary {
  border-color: var(--yellow);
  box-shadow: none;
}
@media (min-width: 1024px) {
  .foot-lead {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    align-items: end;
    column-gap: 64px;
  }
  .foot-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
.site-foot .foot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
  padding-block: 40px 8px;
}
.site-foot .foot-col:last-child {
  grid-column: 1 / -1;
}
@media (min-width: 768px) {
  .site-foot .foot-grid {
    grid-template-columns: 1fr 1fr 1.4fr;
  }
  .site-foot .foot-col:last-child {
    grid-column: auto;
  }
}
.site-foot .foot-links li + li {
  margin-top: 2px;
}
.site-foot .foot-links a {
  min-height: 40px;
  color: var(--on-night);
  transition: color var(--t) var(--ease);
}
.site-foot .foot-links a:hover {
  color: var(--lilac);
}
.site-foot .foot-links a[aria-current="page"] {
  color: var(--lilac);
}
.site-foot .foot-pos {
  max-width: 22rem;
  margin-top: 0;
}
.foot-mark {
  margin-top: clamp(28px, 4vw, 56px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 245, 240, 0.16);
  font-size: clamp(3.4rem, 1rem + 12vw, 13rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.06em;
  white-space: nowrap;
  user-select: none;
}
.site-foot .foot-base {
  align-items: center;
  margin-top: 18px;
}
.foot-base .foot-brand img {
  width: 24px;
  height: 24px;
}
.foot-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-night);
  text-decoration: none;
}
.foot-top:hover {
  color: var(--lilac);
}
@media (max-width: 1099.98px) {
  body:not(.no-dock) .site-foot {
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
  }
}
.site-head .nav-marker::before {
  inset: auto;
  left: calc(50% - 10px);
  top: -24px;
  width: 20px;
  height: 22px;
  background: currentColor;
  opacity: 0.26;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  transform: none;
}
/* Hero field: only a short lilac mark; the field itself has no edges. */
.hx .hx-plate {
  border-left: 0;
}
.hx .hx-plate::before {
  width: 64px;
  height: 2px;
  top: -2px;
  background: var(--lilac);
}
.hx .hx-plate::after {
  display: none;
}
.site-head .nav-marker::before {
  opacity: 0.4;
  width: 16px;
  left: calc(50% - 8px);
  height: 16px;
  top: -18px;
  background: linear-gradient(0deg, var(--lilac), rgba(200, 168, 233, 0));
}
.gallery .theatre-bar-btn {
  white-space: nowrap;
}
@media (max-width: 599.98px) {
  .gallery .theatre-stage.is-immersive .theatre-bar-room,
  .gallery .theatre-stage.is-immersive .theatre-bar-note {
    display: none;
  }
  .gallery .theatre-stage.is-immersive .theatre-bar {
    justify-content: flex-start;
  }
}
[data-theatre-rooms] {
  text-transform: capitalize;
}
@media (min-width: 768px) {
  /* The field rises out of the room: no hard top edge. */
  .hx .hx-plate {
    padding-top: clamp(72px, 7vw, 110px);
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 clamp(64px, 6vw, 96px));
    mask-image: linear-gradient(180deg, transparent 0, #000 clamp(64px, 6vw, 96px));
  }
  .hx .hx-plate::before {
    display: none;
  }
}
