:root {
  /* colours from the brand guide (brand/guide.html) */
  --night: #0a0e16;      /* Dusk: the dark ground, taken from the 3D scene */
  --brand: #16213a;      /* Night: the brand colour */
  --brick: #9c4a2e;      /* the accent */
  --brick-hi: #b4553a;   /* brick, hovered */
  --plaster: #efece4;
  --ink: #1a1e27;
  --slate: #5e6473;
  --panel: #101623;
  --rule: rgba(239, 236, 228, .14);
  --text: #efece4;
  --dim: #9aa1ae;
  --soft: #cfd2d9;       /* secondary text on dark */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --serif: "Inter", system-ui, sans-serif;   /* display face */
}

* { box-sizing: border-box; }
html { scroll-padding-top: 5rem; }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font: 400 1rem/1.6 "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: var(--brick); color: #fff; }

.wrap { padding-inline: var(--gutter); max-width: 96rem; margin-inline: auto; }
section { padding-top: clamp(6rem, 13vw, 12rem); }

h1, h2, .xl { font-family: var(--serif); font-weight: 300; letter-spacing: -0.035em; text-wrap: balance; }
p, dd, li { text-wrap: pretty; }
.rows h3, .asks a, .fly-stats dd, .steps li::before { font-weight: 300; letter-spacing: -0.025em; }
h1 { font-size: clamp(3rem, 7.6vw, 7.2rem); line-height: .96; }
h2 { font-size: clamp(2.1rem, 4.6vw, 4.2rem); line-height: 1.02; max-width: 17ch; }
h3 { font-size: 1.15rem; font-weight: 500; }
.xl { font-size: clamp(1.6rem, 3.2vw, 3rem); line-height: 1.14; letter-spacing: -0.03em; max-width: 27ch; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: var(--soft); max-width: 30em; }
.lede.wide { max-width: 40em; margin-top: 2rem; }
.tag { color: var(--soft); font-size: .9rem; font-weight: 500; margin-bottom: 1.1rem; }
.small { font-size: .84rem; color: var(--dim); max-width: 34em; }
.head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }

.btn { display: inline-block; text-decoration: none; font-weight: 500; padding: .9rem 1.5rem; border-radius: 100px; transition: background-color .2s, color .2s, border-color .2s; }
.btn.primary { background: var(--brick); color: #fff; }
.btn.primary:hover { background: var(--brick-hi); }
.btn.line { border: 1px solid rgba(239, 236, 228, .45); }
.btn.line:hover { border-color: var(--text); background: rgba(239, 236, 228, .08); }

/* header */
.site {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--gutter); transition: background-color .3s, backdrop-filter .3s;
}
.site.solid { background: rgba(10, 14, 22, .93); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(239, 236, 228, .08); }
.site .mark { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: 1.3rem; letter-spacing: -0.03em; line-height: 1; text-decoration: none; }
.site .mark .logo { width: 2.6rem; height: auto; color: #fff; flex: none; }

/* splash: the logo waits in the middle until the scene is ready, then flies up into the header */
.splash { display: none; }
.js .splash {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; align-content: center; gap: 2rem;
  background: var(--night); transition: background-color .7s ease;
  animation: splash-bail 0s 12s forwards;   /* if the script never runs, never trap the page */
}
.splash-logo { width: clamp(6rem, 16vw, 9rem); height: auto; color: #fff; transform-origin: 0 0; will-change: transform; }
.splash-bar { width: 7rem; height: 1px; background: var(--rule); position: relative; overflow: hidden; transition: opacity .3s; }
.splash-bar::after { content: ""; position: absolute; inset: 0; background: var(--brick); transform: translateX(-100%); animation: splash-load 1.4s cubic-bezier(.6, 0, .3, 1) infinite; }
.splash.go { background-color: rgba(10, 14, 22, 0); pointer-events: none; }
.splash.go .splash-bar { opacity: 0; }
.splashing, .splashing body { overflow: hidden; }
.splashing .site .mark .logo { opacity: 0; }
.site .mark span, .site nav { transition: opacity .6s ease .15s, transform .6s ease .15s; }
.splashing .site .mark span, .splashing .site nav { opacity: 0; transform: translateY(-.4rem); }
@keyframes splash-load { 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }
@keyframes splash-bail { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .splash-bar::after { animation: none; transform: none; opacity: .5; }
}
.site nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); font-size: .93rem; }
.site nav a { text-decoration: none; }
.site nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: .35em; }
.site nav .pill { border: 1px solid rgba(239, 236, 228, .45); padding: .45rem 1.05rem; border-radius: 100px; }
.site nav .pill:hover { background: var(--brick); border-color: var(--brick); color: #fff; text-decoration: none; }
.site .links a[aria-current] { color: #fff; text-decoration: underline; text-decoration-color: var(--brick); text-decoration-thickness: 2px; text-underline-offset: .45em; }
.site .links { display: contents; }
.menu-btn { display: none; background: none; border: 1px solid rgba(239, 236, 228, .45); padding: .45rem 1.05rem; border-radius: 100px; }

/* page controls: auto-scroll, skip and back to top */
.dock { position: fixed; right: var(--gutter); bottom: 2.4rem; z-index: 25; display: flex; align-items: center; gap: .5rem; transition: opacity .6s ease .15s; }
.dock [hidden] { display: none; }
.splashing .dock { opacity: 0; pointer-events: none; }
.dock button {
  display: inline-flex; align-items: center; gap: .5rem; height: 2.75rem; padding: 0 1.1rem; border-radius: 100px;
  border: 1px solid rgba(239, 236, 228, .3); background: rgba(10, 14, 22, .74); backdrop-filter: blur(12px);
  color: #efece4; font-size: .88rem; font-weight: 500; white-space: nowrap; transition: background-color .2s, border-color .2s;
}
.dock button:hover, #dock-play[aria-pressed="true"] { background: var(--brick); border-color: var(--brick); color: #fff; }
.dock button:focus-visible { outline-color: var(--brick-hi); }
.dock svg { width: 1rem; height: 1rem; flex: none; }
.dock i { font-style: normal; }
#dock-top { width: 2.75rem; padding: 0; justify-content: center; }
#dock-play .i-pause, #dock-play[aria-pressed="true"] .i-play { display: none; }
#dock-play[aria-pressed="true"] .i-pause { display: block; }

/* the scroll journey */
.fly { padding-top: 0; height: 1250vh; }
.fly-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #0d111b; }
.fly canvas, .fly noscript img, .fly .fly-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fly canvas { opacity: 0; transition: opacity 1.2s ease; }
.fly canvas.ready { opacity: 1; }
.fly-scrim { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(to top, rgba(10, 14, 22, .82), rgba(10, 14, 22, 0) 52%),
  linear-gradient(to bottom, rgba(10, 14, 22, .5), rgba(10, 14, 22, 0) 16%); }
.fly-text {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(3.4rem, 9vh, 6.5rem);
  opacity: 0; visibility: hidden; will-change: opacity, transform; pointer-events: none;
}
.fly-text h2 { max-width: 14ch; font-size: clamp(2.3rem, 5.4vw, 5.2rem); line-height: 1; }
.fly-text .lede { margin-top: 1.3rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.fly-stats { display: flex; flex-wrap: wrap; gap: 1.2rem clamp(1.5rem, 4vw, 4rem); margin-top: 1.8rem; }
.fly-stats dd { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1; }
.fly-stats dt { font-size: .86rem; color: var(--soft); margin-top: .35rem; }
.fly-text a, .fly-text button { pointer-events: auto; }
.fine { font-size: .8rem; color: #aab0bc; margin-top: 1rem; }
.fly-count { font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--soft); margin-bottom: .6rem; }
.fly-count span { display: block; font-size: clamp(4.5rem, 12vw, 11rem); font-weight: 300; letter-spacing: -0.05em; line-height: .86; color: var(--text); font-variant-numeric: tabular-nums; }

/* the floor picker */
.floors { max-width: 26rem; right: auto; background: rgba(10, 14, 22, .66); backdrop-filter: blur(12px); border: 1px solid rgba(239, 236, 228, .16); border-radius: 12px; padding: 1.5rem 1.6rem 1.3rem; }
.floors h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.floor-list { display: grid; margin-top: 1.4rem; border-top: 1px solid rgba(239, 236, 228, .25); pointer-events: auto; }
.floor-list button {
  text-align: left; background: none; border: 0; border-bottom: 1px solid rgba(239, 236, 228, .25);
  padding: .62rem .2rem .62rem .9rem; font-size: 1.02rem; color: #cfd2d9; position: relative; transition: color .2s, padding-left .2s;
}
.floor-list button::before { content: ""; position: absolute; left: 0; top: 50%; width: .42rem; height: .42rem; margin-top: -.21rem; border-radius: 50%; background: currentColor; opacity: .35; }
.floor-list button:hover { color: var(--text); padding-left: 1.15rem; }
.floor-list button[aria-pressed="true"] { color: #fff; font-weight: 500; }
.floor-list button[aria-pressed="true"]::before { opacity: 1; background: var(--brick); border-radius: 1px; }
.floor-out { margin-top: 1.1rem; min-height: 6.6rem; color: #dfe1e6; }
.floor-out .who { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; color: var(--text); margin-bottom: .25rem; }
.floor-out .who.ours { display: inline-block; background: var(--brick); color: #fff; padding: .1rem .6rem; border-radius: 4px; }

/* the map: one colony, five parts of the business */
.fly.map { height: 640vh; margin-top: clamp(6rem, 13vw, 12rem); }
.map-panel {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); width: min(27rem, calc(100% - 2 * var(--gutter)));
  background: rgba(10, 14, 22, .7); backdrop-filter: blur(14px); border: 1px solid rgba(239, 236, 228, .16); border-radius: 14px;
  padding: 1.7rem 1.7rem 1.6rem;
}
.map-panel h2 { font-size: clamp(1.8rem, 2.9vw, 2.6rem); }
.map-tabs { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1.4rem 0 1.3rem; }
.map-tabs button { background: none; border: 1px solid rgba(239, 236, 228, .28); border-radius: 100px; padding: .38rem .8rem; font-size: .86rem; color: #cfd2d9; transition: color .2s, border-color .2s, background-color .2s; }
.map-tabs button:hover { color: var(--text); border-color: var(--text); }
.map-tabs button[aria-selected="true"] { background: var(--brick); border-color: var(--brick); color: #fff; font-weight: 500; }
.map-out { min-height: 13.5rem; }
.map-out h3 { font-size: 1.45rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.map-out p { color: #d5d8de; margin: .55rem 0 1.2rem; font-size: .98rem; }
.map-list { margin: 0 0 1.2rem; border-top: 1px solid rgba(239, 236, 228, .2); }
.map-list a { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid rgba(239, 236, 228, .2); text-decoration: none; font-size: .92rem; }
.map-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: .3em; }
.map-list span { color: var(--dim); text-align: right; }
.map-out .btn { padding: .7rem 1.2rem; font-size: .95rem; }
.fly.map .fly-scrim { background: linear-gradient(to right, rgba(10, 14, 22, .55), rgba(10, 14, 22, 0) 55%), linear-gradient(to bottom, rgba(10, 14, 22, .6), rgba(10, 14, 22, 0) 18%); }
.fly.static.map, .fly.map.static { height: auto; }

/* stage rail */
.fly-rail { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: .1rem; counter-reset: stage; text-align: right; }
.fly-rail button {
  counter-increment: stage; background: none; border: 0; padding: .32rem 0; font-size: .82rem; color: rgba(239, 236, 228, .72);
  text-shadow: 0 0 .5rem rgba(10, 14, 22, .95), 0 0 1.4rem rgba(10, 14, 22, .8);   /* stays readable over lit buildings */
  display: inline-flex; align-items: center; gap: .7rem; transition: color .25s;
}
.fly-rail button::after { content: ""; width: 1.1rem; height: 1px; background: currentColor; transition: width .25s; }
.fly-rail button:hover { color: var(--text); }
.fly-rail button.on { color: #fff; }
.fly-rail button.on::after { background: var(--brick); height: 2px; }
.fly-rail button.on::after { width: 2.4rem; }

.fly-cue { position: absolute; right: var(--gutter); bottom: 6.4rem; font-size: .84rem; color: #cfd2d9; }
.fly-cue::after { content: ""; display: inline-block; width: 1px; height: 2.4rem; margin-left: .8rem; vertical-align: middle; background: currentColor; transform-origin: 50% 0; animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.fly-bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 1.4rem; height: 1px; background: rgba(239, 236, 228, .2); }
.fly-bar span { display: block; height: 100%; background: var(--brick); transform-origin: 0 50%; transform: scaleX(0); }
.fly-shade { position: absolute; inset: 0; background: var(--night); opacity: 0; pointer-events: none; }
.fly.static { height: auto; }
.fly.static .fly-stage { position: relative; }
.fly.static .fly-text:first-of-type { opacity: 1; visibility: visible; }
.fly.static .fly-bar, .fly.static .fly-cue { display: none; }

.statement { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 0 var(--gutter); align-items: end; }
.statement .tag { grid-column: 1 / -1; }
.statement .lede.wide { margin-top: 0; padding-top: 1.2rem; border-top: 1px solid var(--rule); }

/* collaboration */
.collab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: var(--gutter); align-items: start; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps li { counter-increment: step; padding: 1.3rem 1.5rem 0 0; border-top: 1px solid var(--rule); position: relative; }
.steps li::after { content: ""; position: absolute; top: -1px; left: 0; width: 2.2rem; height: 2px; background: var(--brick); }
.steps li::before { content: counter(step); display: block; font-size: clamp(2.2rem, 3.6vw, 3.4rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1; color: var(--heading, var(--text)); margin-bottom: 1.2rem; }
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4rem; }
.spec div { padding: 1.3rem 0 1.5rem; border-top: 1px solid var(--rule); }
.spec dt { font-weight: 500; margin-bottom: .4rem; }
.spec dd { color: var(--dim); font-size: .95rem; max-width: 36em; }
#spec .small { margin-top: 1.5rem; }
.steps p { color: var(--dim); margin-top: .4rem; font-size: .95rem; }

figure figcaption { font-size: .84rem; color: var(--dim); padding-top: .7rem; }
.frame, .compare-stage, .bleed { display: block; overflow: hidden; background: #131a28; border-radius: 6px; }
.compare-stage { position: relative; --pos: 50%; }
.compare-top { position: absolute; inset: 0; height: 100%; object-fit: cover; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--text); }
.compare-line::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 2.8rem; height: 2.8rem; translate: -50% -50%;
  border-radius: 50%; background-color: var(--text);
  background-image: linear-gradient(var(--night), var(--night)), linear-gradient(var(--night), var(--night));
  background-size: 1.5px 1rem; background-repeat: no-repeat; background-position: calc(50% - 4px) 50%, calc(50% + 4px) 50%;
}
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-stage:has(input:focus-visible) { outline: 2px solid currentColor; outline-offset: 3px; }
.compare figcaption { display: flex; justify-content: space-between; }

/* study */
.study-page .bleed { margin-inline: var(--gutter); border-radius: 6px; }
.spread { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: var(--gutter); margin-top: var(--gutter); align-items: start; }
.spread-text { position: sticky; top: 6.5rem; max-width: 31rem; color: var(--soft); }
.spread-text p + p { margin-top: 1em; }
.spread-pics { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 2rem); align-items: end; }
table { width: 100%; border-collapse: collapse; margin-top: 2.2rem; font-size: .93rem; }
th, td { text-align: left; padding: .65rem 0; border-top: 1px solid var(--rule); font-weight: 400; vertical-align: top; color: var(--text); }
th { color: var(--dim); width: 38%; }
tr:last-child th, tr:last-child td { border-bottom: 1px solid var(--rule); }

/* plot tool */
.plot-tool { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.4rem var(--gutter); align-items: start; }
.plot-controls { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; }
.sizes, .views { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .9rem; color: var(--dim); }
.sizes button, .views button { background: none; border: 1px solid var(--rule); border-radius: 100px; padding: .4rem .95rem; min-width: 3.3rem; }
.sizes button:hover, .views button:hover { border-color: var(--text); }
.sizes button[aria-pressed="true"], .views button[aria-pressed="true"] { background: var(--brick); border-color: var(--brick); color: #fff; font-weight: 500; }
.sizes span { margin-left: .4rem; }

.sheet { background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.sheet svg { display: block; width: 100%; height: auto; }
.sheet .ln { fill: none; stroke: #dfe3ea; stroke-width: 1.1; }
.sheet .ground { stroke-width: 1.8; }
.sheet .slab { fill: #dfe3ea; stroke: none; }
.sheet .wall { fill: none; stroke: #dfe3ea; stroke-width: 3; }
.sheet .room { fill: #18202f; stroke: #dfe3ea; stroke-width: 1.3; }
.sheet .core { fill: #243044; }
.sheet .plot { fill: none; stroke: #6f7889; stroke-dasharray: 7 5; stroke-width: 1.1; }
.sheet .dim { fill: none; stroke: #6f7889; stroke-width: 1; }
.sheet .share { fill: rgba(156, 74, 46, .55); }
.sheet text { font: 400 12px "Inter", sans-serif; fill: var(--text); }
.sheet text.sub, .sheet text.num { font-size: 10.5px; fill: var(--dim); }
.sheet text.mark { fill: #fff; font-weight: 600; }
.sheet.big text { font-size: 18px; }
.sheet.big text.sub, .sheet.big text.num { font-size: 15.5px; }

.readout div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); font-size: .95rem; }
.readout div:first-child { border-top: 1px solid var(--rule); }
.readout dt { color: var(--dim); }
.readout dd { text-align: right; font-weight: 500; }
.plot-side .small { margin: 1.2rem 0 1.5rem; }

/* practice rows */
.rows { border-top: 1px solid var(--rule); }
.rows a {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) minmax(0, .7fr); gap: .3rem var(--gutter); align-items: baseline;
  padding: 1.4rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; transition: padding-left .3s ease, color .3s;
}
.rows h3 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.7rem); font-weight: 400; line-height: 1.05; }
.rows p { color: var(--dim); }
.rows span { font-size: .86rem; color: var(--dim); text-align: right; }
.rows a:hover { padding-left: 1.2rem; color: var(--brick); }

/* built work */
.work .btn { margin-top: 2rem; }
.built { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem var(--gutter); margin-top: 3rem; }
.built:empty { display: none; }
.built img, .built .sheet { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.built .sheet svg { height: 100%; }
.built h3 { margin-top: .8rem; }
.built p { color: var(--dim); font-size: .88rem; }
.built .avail { color: var(--brick); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--gutter); align-items: start; }
.asks { border-top: 1px solid var(--rule); }
.direct { font-style: normal; display: grid; gap: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--rule); }
.direct p { color: var(--dim); font-size: .9rem; line-height: 1.75; }
.direct a, .direct span { color: var(--text); font-size: 1.2rem; text-underline-offset: .22em; text-decoration-color: var(--brick); }
.direct a:hover { color: var(--brick); }
.asks a {
  display: flex; justify-content: space-between; align-items: baseline; text-decoration: none;
  font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1.05;
  padding: 1rem 0; border-bottom: 1px solid var(--rule); transition: padding-left .3s ease, color .3s;
}
.asks a::after { content: "WhatsApp"; font: 400 .86rem "Inter", sans-serif; letter-spacing: 0; color: var(--dim); transition: color .3s; }
.asks a:hover::after { color: var(--brick); }
.asks a:hover { padding-left: 1.2rem; color: var(--brick); }
.contact .small { margin-top: 1rem; }
/* the wordmark on the left, contact details beside it on the right, sitting on its baseline */
.foot-main { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 1.5rem clamp(2rem, 5vw, 5rem); padding-right: var(--gutter); margin-bottom: 2.4rem; }
.foot-main .wordmark { font-size: 19vw; margin-bottom: 0; }
.foot address { font-style: normal; display: grid; gap: 1.4rem; max-width: 22rem; padding-bottom: .6vw; }
.foot address p { color: #aeb6c8; font-size: .9rem; line-height: 1.7; }
.foot address a, .foot address span { color: var(--plaster); font-size: 1.15rem; text-underline-offset: .2em; }
.foot address a:hover { color: #fff; }

/* footer */
.foot { background: var(--brand); padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: 1.6rem; overflow: hidden; }
.wordmark { font-weight: 600; font-size: 25.5vw; line-height: .78; letter-spacing: -0.065em; padding-inline: calc(var(--gutter) - .04em); color: var(--plaster); margin-bottom: 2.4rem; user-select: none; }
.foot-line { display: flex; justify-content: space-between; gap: 1rem; font-size: .86rem; color: #aeb6c8; }

/* light sections: the page below the 3D story, on Plaster with Night headings (brand guide, section 7) */
.light {
  --text: var(--ink); --dim: var(--slate); --soft: var(--slate); --rule: rgba(26, 30, 39, .14); --heading: var(--brand);
  background: var(--plaster); color: var(--ink);
  box-shadow: 0 0 0 100vmax var(--plaster); clip-path: inset(-1px -100vmax);   /* full-bleed colour behind a centred column; 1px over, so no seam shows between two */
  padding-top: clamp(4.5rem, 9vw, 8rem); padding-bottom: clamp(5rem, 10vw, 9rem);
}
.light:has(+ .light) { padding-bottom: 0; }
.light h2, .light .xl { color: var(--brand); }
.light .tag { color: var(--brick); }
.light .btn.line { border-color: rgba(26, 30, 39, .35); }
.light .btn.line:hover { border-color: var(--ink); background: rgba(26, 30, 39, .05); }
.light .sheet { --text: #efece4; --dim: #9aa1ae; --rule: rgba(239, 236, 228, .14); }
.light .frame, .light .compare-stage { background: #dcd8cf; }
.light .sizes button:hover, .light .views button:hover { border-color: var(--ink); }

/* images uncover as they arrive, and drift slightly slower than the page */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal .frame, .js .reveal .compare-stage { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s cubic-bezier(.2, .7, .1, 1); }
  .js .reveal.in .frame, .js .reveal.in .compare-stage { clip-path: inset(0); }
  .js .reveal img { transform: translate3d(0, var(--py, 0), 0) scale(1.1); will-change: transform; }
}

@media (max-width: 60rem) {
  .collab, .spread, .plot-tool, .statement, .contact-grid { grid-template-columns: 1fr; }
  .statement .lede.wide { margin-top: 2rem; }
  .direct { display: none; }                 /* the footer, directly below, carries the same details */
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .spec { grid-template-columns: 1fr; }
  .spread-text { position: static; }
  .rows a { grid-template-columns: 1fr; }
  .rows span { text-align: left; }
  .built { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 44rem) {
  .site nav { gap: .5rem; }
  .site .links { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 0 var(--gutter) .6rem; background: rgba(10, 14, 22, .96); border-bottom: 1px solid var(--rule); }
  .site .links a { padding: .9rem 0; font-size: 1.05rem; border-top: 1px solid var(--rule); }
  .site.open { background: rgba(10, 14, 22, .96); }
  .site.open .links { display: grid; }
  .js .menu-btn { display: inline-block; }
  .menu-btn[aria-expanded="true"] { background: var(--plaster); border-color: var(--plaster); color: var(--night); }
  .dock { right: 1rem; bottom: 1.2rem; }
  .dock.on-stage { bottom: auto; top: 4.7rem; }
  .dock button { height: 2.5rem; padding: 0 .9rem; font-size: .84rem; }
  #dock-top { width: 2.5rem; padding: 0; }
  .dock i { display: none; }
  .fly { height: 1050vh; }
  .fly-rail { display: none; }
  .fly.map { height: 560vh; }
  .map-panel { top: auto; bottom: 2.4rem; transform: none; padding: 1.2rem 1.2rem 1.2rem; }
  .map-panel .tag { display: none; }
  .map-panel h2 { font-size: 1.5rem; }
  .map-tabs { margin: .9rem 0 .9rem; }
  .map-out { min-height: 12.5rem; }
  .map-out h3 { font-size: 1.2rem; }
  .fly.map .fly-scrim { background: linear-gradient(to top, rgba(10, 14, 22, .8), rgba(10, 14, 22, 0) 60%); }
  .fly-scrim { background: linear-gradient(to top, rgba(10, 14, 22, .94), rgba(10, 14, 22, .7) 34%, rgba(10, 14, 22, 0) 68%), linear-gradient(to bottom, rgba(10, 14, 22, .5), rgba(10, 14, 22, 0) 16%); }
  .floors .lede { display: none; }
  .floors { padding: 1.1rem 1.1rem 1rem; }
  .floors { max-width: none; right: var(--gutter); }
  .floor-list { display: flex; flex-wrap: wrap; border-top: 0; gap: .35rem; }
  .floor-list button { border: 1px solid rgba(239, 236, 228, .3); border-radius: 100px; padding: .35rem .7rem; font-size: .85rem; }
  .floor-list button::before { display: none; }
  .floor-list button:hover { padding-left: .7rem; }
  .floor-list button[aria-pressed="true"] { background: var(--brick); border-color: var(--brick); color: #fff; }
  .floor-out { min-height: 7.5rem; }
  .fly-cue { display: none; }
  .fly-stats { gap: 1rem 1.6rem; }
  .asks a::after { display: none; }
  /* the five steps read as one list down the page: number on the left, step beside it */
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps li { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); padding: 1.2rem 0 1.5rem; }
  .steps li::before { grid-row: 1 / span 2; font-size: 2.3rem; margin: -.1rem 0 0; }
  .steps li h3, .steps li p { grid-column: 2; }
  .sizes span { margin-left: .2rem; }
  .foot-main { grid-template-columns: minmax(0, 1fr); padding-right: 0; }
  .foot-main .wordmark { font-size: 25.5vw; }
  .foot address { padding-inline: var(--gutter); }
  .actions .btn { flex: 1 1 auto; text-align: center; }
}
