/* Monark Fire LLP. The Riser Section: a building cut open, floor by floor. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

:root {
  --limewash: #F4F5F2;
  --paper: #FCFCFA;
  --mortar: #E6E9E6;
  --stone: #98A1A6;
  --poche: #1D2227;
  --ink-2: #48525A;
  --riser: #C8102E;
  --flame: #F26A21;
  --flame-deep: #DB5810;
  --flame-ink: #B4460A;
  --flame-lit: #FF8442;
  --water: #2F6FB3;
  --green: #1F7A4D;
  --on-poche: #EEF0EC;
  --on-poche-2: #B3BCC2;
  --rule: rgb(29 34 39 / .16);
  --rule-strong: rgb(29 34 39 / .82);
  --gutter: clamp(1.25rem, 4.4vw, 4rem);
  --nav-h: 4.5rem;
  --tower-h: clamp(700px, calc(100svh - var(--nav-h)), 880px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --chamfer: 9px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  background: var(--limewash);
  color: var(--poche);
  font-family: "Archivo", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--flame); color: var(--poche); }
img, svg { max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--water); outline-offset: 3px; }
html { scrollbar-color: var(--stone) var(--limewash); caret-color: var(--flame-deep); }

.wrap { width: min(100% - 2 * var(--gutter), 82rem); margin-inline: auto; }
.skip { position: absolute; left: var(--gutter); top: -4rem; background: var(--poche); color: var(--on-poche); padding: .6rem 1rem; z-index: 20; }
.skip:focus { top: .5rem; }

/* Drawing lettering: narrow, inclined capitals. */
.display {
  font-stretch: 62%;
  font-style: italic;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .012em;
  line-height: .95;
  text-wrap: balance;
}
.note {
  font-size: .8125rem;
  font-stretch: 75%;
  font-style: italic;
  font-weight: 560;
  text-transform: uppercase;
  letter-spacing: .09em;
  line-height: 1.3;
}

/* Controls: chamfered at two corners, like a drawing's title tab. */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .7rem 1.35rem;
  border: 0;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
  transition: background-color .18s var(--ease-out), color .18s var(--ease-out);
}
.btn:focus-visible { outline: 2px solid var(--poche); outline-offset: -5px; }
.btn--primary { background: var(--flame); color: var(--poche); }
.btn--primary:hover { background: var(--flame-lit); }
.btn--poche { background: var(--poche); color: var(--on-poche); }
.btn--poche:hover { background: #000; }
.btn--poche:focus-visible { outline-color: var(--on-poche); }
.btn--line { background: var(--poche); color: var(--poche); }
.btn--line::before {
  content: "";
  position: absolute;
  inset: 1.5px;
  background: var(--limewash);
  clip-path: polygon(calc(var(--chamfer) - .6px) 0, 100% 0, 100% calc(100% - var(--chamfer) + .6px), calc(100% - var(--chamfer) + .6px) 100%, 0 100%, 0 calc(var(--chamfer) - .6px));
  transition: background-color .18s var(--ease-out);
}
.btn--line > span { position: relative; }
.btn--line:hover::before { background: var(--mortar); }
.textbtn { background: none; border: 0; padding: .4rem 0; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; font-size: .9375rem; }
.link { font-weight: 600; }

/* Navigation */
.nav { height: var(--nav-h); }
.nav__row { height: 100%; display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { width: auto; height: 2.6rem; }
.brand__name { font-stretch: 75%; font-weight: 700; font-size: 1.3rem; letter-spacing: .01em; white-space: nowrap; }
.nav__links { display: flex; gap: clamp(.9rem, 2vw, 1.9rem); font-size: .9375rem; }
.nav__links a { text-decoration: none; padding: .4rem 0; }
.nav__links a:hover { text-decoration: underline; }
.nav__links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.nav__cta { min-height: 2.6rem; padding-block: .5rem; font-size: .9375rem; }
.nav__menu { display: none; position: relative; }
.nav__menu summary { list-style: none; cursor: pointer; min-height: 2.6rem; display: flex; align-items: center; padding: 0 .2rem; font-weight: 650; font-size: .9375rem; text-decoration: underline; text-underline-offset: .18em; }
.nav__menu summary::-webkit-details-marker { display: none; }
.nav__sheet { position: absolute; right: 0; top: calc(100% + .4rem); z-index: 10; min-width: 15rem; background: var(--poche); color: var(--on-poche); padding: .5rem 0; box-shadow: 0 14px 30px -12px rgb(29 34 39 / .45); }
.nav__sheet a { display: block; padding: .7rem 1.2rem; text-decoration: none; font-weight: 600; }
.nav__sheet a:hover { background: rgb(238 240 236 / .1); }
.nav__sheet a:focus-visible { outline-color: var(--flame); outline-offset: -3px; }

/* Hero: the building in section */
.hero { position: relative; overflow-x: clip; }
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) auto minmax(0, 1fr);
  grid-template-rows: var(--tower-h);
  column-gap: clamp(1.75rem, 3.4vw, 3.5rem);
}
.hero__copy { position: relative; z-index: 1; display: flex; flex-direction: column; padding-top: clamp(1.25rem, 6vh, 4rem); }
.hero__title { font-size: clamp(2.9rem, 4.6vw, 4.7rem); }
.hero__lede { margin-top: clamp(1rem, 2.6vh, 1.75rem); max-width: 31em; color: var(--ink-2); font-size: 1.125rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: clamp(1.25rem, 3.4vh, 2.25rem); }
.done { margin-top: clamp(1.25rem, 4vh, 2.75rem); font-size: 2rem; line-height: 1.1; }
.hero__proof {
  margin-top: auto;
  height: calc(var(--tower-h) * .12);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.25rem);
  color: var(--on-poche);
  font-size: .9375rem;
  font-weight: 600;
  white-space: nowrap;
}

.hero__site { position: relative; z-index: 0; height: 100%; aspect-ratio: 440 / 1000; }
.hero__earth { position: absolute; top: 88%; bottom: 0; left: 50%; width: 300vw; transform: translateX(-50%); background: var(--poche); }
.tower { position: absolute; inset: 0; cursor: ns-resize; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.tower:focus-visible { outline: none; }
.tower:focus-visible .t-band { stroke: var(--water); stroke-width: 2.5; }
.tower__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tower__fallback { position: absolute; inset: 30% 0 auto; font-size: .9375rem; }
.tower__tag {
  position: absolute;
  transform: translateY(-50%);
  background: var(--flame);
  color: var(--poche);
  font-size: .8125rem;
  font-stretch: 75%;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
  padding: .28rem .6rem .28rem .7rem;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px);
}

.tower__tag--right { clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%); padding: .28rem .7rem .28rem .6rem; }
.tower__notes { position: absolute; inset: 0; pointer-events: none; }
.tower__note { position: absolute; transform: translateY(-50%); display: flex; align-items: center; gap: .35rem; white-space: nowrap; font-size: .6875rem; font-stretch: 75%; font-style: italic; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; line-height: 1; color: var(--ink-2); transition: opacity .2s var(--ease-out); }
.tower__note::before { content: ""; width: .7rem; height: 1px; background: currentColor; }
.tower__note--datum { font-style: normal; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.tower__note--light { color: var(--on-poche-2); }
.tower__note.is-off { opacity: 0; }

/* Tower drawing */
.t-int { fill: var(--paper); }
.t-open { fill: var(--limewash); }
.t-poche { fill: var(--poche); }
.t-glass { stroke: var(--stone); stroke-width: 1; }
.t-part { stroke: var(--stone); stroke-width: .7; opacity: .7; }
.t-rail { stroke: var(--poche); stroke-width: .9; }
.t-stair { stroke: var(--stone); stroke-width: .8; fill: none; }
.t-car { fill: var(--stone); }
.t-branch { stroke: var(--riser); stroke-width: .8; }
.t-drop { fill: var(--riser); }
.t-riser { stroke: var(--riser); stroke-width: 4; fill: none; stroke-linejoin: round; }
.t-valve { fill: var(--riser); }
.t-tank { fill: var(--water); stroke: var(--poche); stroke-width: 1.6; }
.t-tank--earth { stroke: var(--on-poche); }
.t-pump { fill: var(--paper); stroke: var(--poche); stroke-width: 1.6; }
.t-lmr { fill: var(--mortar); stroke: var(--poche); stroke-width: 1.6; }
.t-green { fill: var(--green); }
.t-ctx { stroke: var(--stone); stroke-width: .9; fill: none; opacity: .75; }
.t-tree { fill: var(--mortar); stroke: var(--stone); stroke-width: .9; }
.t-band { fill: var(--flame); stroke: none; }
.t-band--soft { opacity: .24; }
.t-bracket { fill: none; stroke: var(--flame); stroke-width: 3; }
.sys-riser .t-riser { stroke-width: 6.5; }
.sys-branch .t-branch { stroke-width: 1.9; }
.sys-branch .t-drop { stroke: var(--riser); stroke-width: 1.4; }
.t-ghost { fill: none; stroke: var(--poche); stroke-width: 1; stroke-dasharray: 3 2.5; opacity: 0; }
.tower:hover .t-ghost { opacity: .55; }
.fx { opacity: 0; }
.t-alarm { fill: var(--flame); }
.t-wet { stroke: var(--water); stroke-width: 2.4; }
.t-flow { stroke: var(--paper); stroke-width: 1.8; fill: none; stroke-dasharray: 5 7; }

/* Lens: the active level, enlarged */
.lens { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; padding-top: clamp(1rem, 4.5vh, 3rem); }
.lens > * { flex-shrink: 0; }
.lens__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.lens__title { font-size: clamp(1.7rem, 2.5vw, 2.3rem); }
.stepper { flex: none; display: flex; align-items: center; border: 1.5px solid var(--poche); }
.stepper__mark { min-width: 5.4rem; padding: 0 .5rem; text-align: center; font-size: .8125rem; font-stretch: 75%; font-weight: 700; letter-spacing: .03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stepbtn { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
.stepbtn:hover { background: var(--mortar); }
.stepbtn:focus-visible { outline-offset: -3px; }
.stepbtn svg { width: 1rem; height: 1rem; fill: none; stroke: var(--poche); stroke-width: 2; }
.lens__jump { display: none; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.jumpbtn { min-height: 2.75rem; padding: 0 .9rem; border: 1.5px solid var(--poche); background: none; font-weight: 650; font-size: .9375rem; cursor: pointer; }
.jumpbtn:hover { background: var(--mortar); }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lens__drawing { display: block; width: 100%; height: auto; aspect-ratio: 420 / 250; margin-top: .9rem; transition: opacity .2s var(--ease-out); }
.lens.is-swapping .lens__drawing { opacity: 0; }
.lens__text { margin-top: .85rem; font-size: .9688rem; color: var(--ink-2); max-width: 34em; }
.lens__systems { margin-top: .8rem; border-top: 1px solid var(--rule-strong); }
.lens__systems a { display: block; padding: .42rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; font-size: .9688rem; }
.lens__systems a:hover { text-decoration: underline; }
.drill { margin-top: .8rem; border-top: 1px solid var(--rule-strong); counter-reset: step; }
.drill li { counter-increment: step; display: grid; grid-template-columns: 1.6rem 1fr; padding: .42rem 0; border-bottom: 1px solid var(--rule); font-size: .9688rem; color: var(--stone); transition: color .35s var(--ease-out); }
.drill li::before { content: counter(step); font-variant-numeric: tabular-nums; font-weight: 700; }
.drill li.is-on { color: var(--poche); }
.drill li.is-on::before { color: var(--flame-ink); }
.lens__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem; margin-top: 1rem; }
.lens__licence { margin-top: auto; flex: none; height: calc(var(--tower-h) * .12); display: flex; align-items: center; color: var(--on-poche); font-size: .9375rem; font-weight: 600; max-width: 24em; }

.l-hint { fill: var(--mortar); }
.l-int { fill: var(--paper); }
.l-open { fill: var(--limewash); }
.l-earth { fill: var(--poche); }
.l-poche { fill: var(--poche); }
.l-stone { fill: var(--stone); }
.l-door { fill: var(--stone); stroke: var(--poche); stroke-width: 1; }
.l-white { fill: var(--paper); }
.l-red { fill: var(--riser); }
.l-green { fill: var(--green); }
.l-glass { fill: var(--stone); }
.l-tank { fill: var(--water); stroke: var(--poche); stroke-width: 3; }
.l-tank--earth { stroke: var(--on-poche); }
.l-riser { stroke: var(--riser); stroke-width: 5; fill: none; }
.l-pipe { stroke: var(--riser); stroke-width: 3; fill: none; }
.l-branch { stroke: var(--riser); stroke-width: 2.2; }
.l-thin { stroke: var(--poche); stroke-width: 1.4; fill: none; }
.l-stair { stroke: var(--poche); stroke-width: 3; fill: none; stroke-linejoin: round; }
.l-reel { fill: none; stroke: var(--paper); stroke-width: 3; }
.l-ring { fill: none; stroke: var(--riser); stroke-width: 2.4; }
.l-det { fill: var(--paper); stroke: var(--poche); stroke-width: 1.6; }
.l-panel { fill: var(--paper); stroke: var(--poche); stroke-width: 2.4; }
.l-pumpbody { fill: var(--paper); stroke: var(--poche); stroke-width: 3; }
.l-room { fill: var(--mortar); stroke: var(--poche); stroke-width: 4; }
.l-led { fill: var(--stone); }
.l-arrow { fill: none; stroke: var(--paper); stroke-width: 1.7; stroke-linecap: square; }
.l-lead { stroke: var(--flame); stroke-width: 1.1; }
.l-dot { fill: var(--flame); }
.l-note { font-size: 13.5px; font-stretch: 68%; font-style: italic; font-weight: 600; letter-spacing: .07em; fill: var(--poche); }
.l-note--light { fill: var(--paper); }
.l-note--sm { font-size: 11.5px; }
.l-sign { font-size: 10.5px; font-stretch: 75%; font-weight: 700; letter-spacing: .05em; fill: var(--paper); }
.fx-hit { fill: none; stroke: var(--flame); stroke-width: 2.4; transform-box: fill-box; transform-origin: center; animation: ring 1.1s var(--ease-out) 2; }
.fx-hit.is-past { opacity: .4; animation: none; }
.fx-spray { stroke: var(--water); stroke-width: 1.6; stroke-dasharray: 4 5; fill: none; }
.fx-led { fill: var(--flame); }
.fx-gas { fill: var(--stone); }
.fx-pipe { stroke: var(--paper); stroke-width: 1.8; fill: none; stroke-dasharray: 5 7; }
.fx-pumpon { fill: var(--flame); }

/* The test on each level: tower.js switches these on step by step */
.d-alarm .t-alarm { opacity: .9; animation: blink .5s steps(2, jump-none) 3; }
.d-wet .t-wet { opacity: 1; }
.d-flow .t-flow { opacity: 1; animation: rise .8s linear infinite; }
.d-pump .t-pump { fill: var(--flame); }
.d-spray .fx-spray { opacity: 1; animation: fall .7s linear infinite; }
.d-led .fx-led { opacity: 1; animation: blink .5s steps(2, jump-none) 6; }
.d-gas .fx-gas { opacity: .3; animation: haze 1.6s ease-in-out infinite alternate; }
.d-pipe .fx-pipe { opacity: 1; animation: rise .8s linear infinite; }
.d-pumps .fx-pumpon { opacity: 1; }
@keyframes ring { from { transform: scale(.45); opacity: 0; } 60% { opacity: 1; } to { transform: scale(1); opacity: 1; } }
@keyframes blink { from { opacity: .9; } to { opacity: .15; } }
@keyframes fall { to { stroke-dashoffset: -9; } }
@keyframes rise { to { stroke-dashoffset: -12; } }
@keyframes haze { from { opacity: .18; } to { opacity: .42; } }

.hero__leader { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 1; }
.hero__leader path { fill: none; stroke: var(--flame); stroke-width: 1.2; }

/* Sections */
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section--mortar { background: var(--mortar); }
.section--poche { background: var(--poche); color: var(--on-poche); }
.section--poche ::selection { background: var(--flame); color: var(--poche); }
.section--flame { background: var(--flame); }
.section--flame ::selection { background: var(--poche); color: var(--on-poche); }
.section__title { font-size: clamp(2.3rem, 4vw, 3.6rem); max-width: 14em; }
.section__label { color: var(--ink-2); }
.section__label--gap { margin-top: clamp(2.5rem, 5vw, 4rem); }
h3 { font-size: 1.25rem; line-height: 1.2; font-weight: 680; font-stretch: 88%; }
.plainlist li + li { margin-top: .3rem; }
.nowrap { white-space: nowrap; }

/* Three starting points */
.starts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(2rem, 4vw, 3.5rem); border-top: 2px solid var(--poche); }
.start { padding: 1.75rem clamp(1.25rem, 2.4vw, 2.5rem) 0; border-left: 1px solid var(--rule); }
.start:first-child { padding-left: 0; border-left: 0; }
.start p { margin-top: .7rem; color: var(--ink-2); }
.start .plainlist { margin-top: 1.2rem; font-weight: 600; }

/* How a project runs: six landing valves on one riser */
.run { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 4px solid var(--riser); counter-reset: run; }
.run li { position: relative; counter-increment: run; padding: 1.6rem 1.25rem 0 0; }
.run li::before { content: ""; position: absolute; top: -10px; left: 0; width: 16px; height: 16px; background: var(--riser); }
.run li::after { content: counter(run); display: block; order: -1; font-stretch: 62%; font-style: italic; font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--riser); font-variant-numeric: tabular-nums; }
.run li { display: flex; flex-direction: column; }
.run h3 { margin-top: .6rem; }
.run p { margin-top: .45rem; font-size: .9688rem; color: var(--ink-2); }

/* Compliance */
.comply { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.comply__copy p { margin-top: 1.1rem; color: var(--on-poche-2); max-width: 36em; }
.comply__copy .section__title + p { margin-top: 1.6rem; }
.comply__copy .link { color: var(--on-poche); }
.year__months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); border: 1px solid rgb(238 240 236 / .34); }
.year__months li { position: relative; aspect-ratio: 1 / 2.1; border-left: 1px solid rgb(238 240 236 / .34); display: flex; flex-direction: column; justify-content: flex-end; padding: 0 .35rem .45rem; font-size: .75rem; font-stretch: 75%; font-style: italic; font-weight: 560; text-transform: uppercase; letter-spacing: .06em; color: var(--on-poche-2); }
.year__months li:first-child { border-left: 0; }
.year__months li.is-due { background: var(--flame); color: var(--poche); }
.year__months b { position: absolute; left: .35rem; top: .5rem; writing-mode: vertical-rl; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; }
.year__note { margin-top: 1.1rem; color: var(--on-poche-2); max-width: 34em; font-size: .9688rem; }

/* Work */
.work__lede { margin-top: 1.1rem; font-size: 1.25rem; color: var(--ink-2); }
.clients { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1rem; border-top: 2px solid var(--poche); }
.clients li { padding: 1.3rem 1.25rem; border-left: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: clamp(1.05rem, 1.45vw, 1.3rem); font-weight: 680; font-stretch: 88%; line-height: 1.2; }
.clients li:nth-child(4n+1) { border-left: 0; padding-left: 0; }

/* The firm */
.firm { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); }
.firm__copy p { margin-top: 1.1rem; max-width: 36em; }
.firm__copy .section__title + p { margin-top: 1.6rem; }
.values { margin-top: 1.6rem; border-top: 1px solid var(--rule-strong); max-width: 36em; }
.values li { padding: .6rem 0; border-bottom: 1px solid var(--rule); font-weight: 600; }
.firm__team { align-self: end; }
.team { margin-top: 1rem; border-top: 2px solid var(--poche); }
.team div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--rule); }
.team dt { font-weight: 680; }
.team dd { color: var(--ink-2); font-size: .9688rem; }

/* Index of systems and services */
.index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
.index h2, .index h3 { font-size: 1.25rem; line-height: 1.2; font-weight: 680; font-stretch: 88%; padding-bottom: .8rem; border-bottom: 2px solid var(--poche); }
.index__list a { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: .15rem 1.5rem; padding: .85rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.index__list b { font-weight: 680; }
.index__list span { color: var(--ink-2); font-size: .9688rem; }
.index__list a:hover b { text-decoration: underline; }

/* Questions */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 6rem); }
.faq__list { border-top: 2px solid var(--poche); }
.faq__list details { border-bottom: 1px solid var(--rule); }
.faq__list summary { cursor: pointer; list-style: none; padding: 1rem 2.5rem 1rem 0; font-weight: 680; font-size: 1.125rem; position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: .35rem; top: 50%; width: .62rem; height: .62rem; border-right: 2px solid var(--poche); border-bottom: 2px solid var(--poche); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease-out); }
.faq__list details[open] summary::after { transform: translateY(-25%) rotate(225deg); }
.faq__list details p { padding: 0 0 1.2rem; max-width: 40em; color: var(--ink-2); }

/* Survey */
.survey { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 6rem); }
.survey__copy p { margin-top: 1.2rem; font-size: 1.125rem; max-width: 24em; }
.survey__copy address { margin-top: 1.8rem; line-height: 1.7; font-weight: 600; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.field--wide { grid-column: 1 / -1; }
.field label { display: block; font-weight: 680; font-size: .9375rem; margin-bottom: .35rem; }
.optional { font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 3rem; padding: .6rem .8rem; border: 1.5px solid var(--poche); border-radius: 0; background: var(--limewash); }
.field textarea { resize: vertical; display: block; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--poche); outline-offset: 2px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-width: 3px; }
.form__fields { display: contents; }
.field__label { display: block; font-weight: 680; font-size: .9375rem; margin-bottom: .35rem; }
.field__help { margin-top: .35rem; font-size: .875rem; }
.field__error { margin-top: .35rem; font-size: .9375rem; font-weight: 650; }
.form__error { font-weight: 650; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.choice { display: flex; align-items: center; gap: .5rem; font-weight: 400; }
.choice input { width: 1.15rem; min-height: 1.15rem; height: 1.15rem; padding: 0; accent-color: var(--poche); }
.form__note { font-size: 1.125rem; font-weight: 650; max-width: 30em; outline: none; }
.form__note p + p { margin-top: .5rem; }
.form__note a { text-decoration: underline; }
.survey__form .form__either, .contact__form .form__either { margin: 0 0 1rem; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; margin-top: .4rem; }
.form__status { font-weight: 600; max-width: 30em; }
.form__either { margin-top: .35rem; font-size: .9375rem; font-weight: 600; }

/* Footer: below ground */
.footer { background: var(--poche); color: var(--on-poche-2); padding-block: clamp(3rem, 6vw, 5rem) 2.5rem; font-size: .9688rem; }
.footer ::selection { background: var(--flame); color: var(--poche); }
.footer :focus-visible { outline-color: var(--flame); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 5vw, 5rem); }
.footer__brand img { width: auto; height: 4rem; }
.footer__name { margin-top: .8rem; color: var(--on-poche); font-stretch: 75%; font-weight: 700; font-size: 1.4rem; }
.footer__small { margin-top: .6rem; }
.footer h2 { color: var(--on-poche); margin-bottom: .9rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--on-poche); text-decoration: underline; }
.footer__legal { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid rgb(238 240 236 / .22); }
.footer__legal p + p { margin-top: .5rem; }

/* Inner pages */
.page { display: grid; grid-template-columns: minmax(0, 46rem) minmax(0, 1fr); grid-template-areas: "head aside" "body aside"; grid-template-rows: auto 1fr; column-gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem); }
.page--plain { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; grid-template-rows: none; }
.page__main { min-width: 0; }
.page__head { grid-area: head; min-width: 0; }
.page__body { grid-area: body; min-width: 0; }
.page__title { font-size: clamp(2.7rem, 5.4vw, 5rem); max-width: 11em; }
.page__lede { margin-top: 1.4rem; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.45; color: var(--ink-2); max-width: 32em; }
.prose { margin-top: clamp(2rem, 4vw, 3.25rem); max-width: 44rem; }
.prose > * + * { margin-top: 1rem; }
.prose > .sub + * { margin-top: .9rem; }
.sub { margin-top: clamp(2.25rem, 4vw, 3.25rem); padding-top: 1rem; border-top: 2px solid var(--poche); font-size: 1.35rem; line-height: 1.2; font-weight: 680; font-stretch: 88%; }
.prose > .sub:first-child { margin-top: 0; }
.prose > .sub { margin-top: clamp(2.25rem, 4vw, 3.25rem); }
.ticks li { position: relative; padding: .55rem 0 .55rem 1.5rem; border-bottom: 1px solid var(--rule); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 7px; height: 7px; background: var(--poche); }
.sheet div { display: grid; grid-template-columns: minmax(8rem, 13rem) minmax(0, 1fr); gap: 1.25rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.sheet dt { font-weight: 680; }
.sheet dd { color: var(--ink-2); }
.pull { font-stretch: 62%; font-style: italic; font-weight: 600; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; padding-top: .75rem; text-wrap: balance; }
.page__aside { grid-area: aside; justify-self: center; }
.sitefig { position: sticky; top: 1.5rem; width: 16.5rem; }
.mini { height: min(38rem, 76vh); aspect-ratio: 440 / 1000; margin-inline: auto; }
.sitefig figcaption { margin-top: 1rem; padding-top: .8rem; border-top: 2px solid var(--poche); font-size: .9375rem; color: var(--ink-2); }
.sitefig figcaption .note { display: block; margin-bottom: .3rem; color: var(--poche); }
.sitefig figcaption a { display: block; margin-top: .6rem; color: var(--poche); font-weight: 600; }
.related { max-width: 44rem; }
.related .index__list a { grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); }
.page--plain .index { margin-top: clamp(2rem, 4vw, 3.25rem); }
.about__work { margin-top: clamp(2.25rem, 4vw, 3.25rem); }
.about__work .sub { margin-top: 0; }
.about__work p { margin-top: .9rem; }
.about__work .clients { margin-top: 1.25rem; border-top: 1px solid var(--rule); }
.prose .team { margin-top: .9rem; border-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: clamp(2.5rem, 6vw, 6rem); align-items: start; margin-top: clamp(2rem, 4vw, 3.25rem); }
.split > .prose { margin-top: 0; }
.split .form { grid-template-columns: minmax(0, 1fr); margin-top: 1.1rem; }
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.25rem) clamp(2rem, 4vw, 4rem); margin-top: clamp(2rem, 4vw, 3.25rem); }
.groups .sub { margin-top: 0; }
.groups p { margin-top: .9rem; }
.form--ink { max-width: 44rem; }
.wixform { margin-top: 1.25rem; }
.survey__form .wixform, .contact__form .wixform { margin-top: 0; }
.form--ink input, .form--ink select, .form--ink textarea { background: var(--paper); }
.form__hint { margin-top: 1rem; max-width: 44rem; color: var(--ink-2); font-size: .9688rem; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 6rem); margin-top: clamp(2rem, 4vw, 3.25rem); }
.contact address { line-height: 1.7; font-weight: 600; }
.contact .form--ink { max-width: none; }
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; }
.cta p { margin-top: 1rem; font-size: 1.125rem; max-width: 26em; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.year--ink { margin-top: 1.25rem; }
.year--ink .year__months { border-color: var(--rule-strong); }
.year--ink .year__months li { border-left-color: var(--rule); color: var(--ink-2); aspect-ratio: 1 / 1.7; }
.year--ink .year__months li.is-due { color: var(--poche); }

/* Narrow screens: the tower stands on its own row, the lens beneath it */
@media (max-width: 70rem) {
  .nav__links { display: none; }
  .nav__menu { display: block; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 1.75rem; }
  .hero__copy { padding-top: 1.5rem; }
  .hero__title { font-size: clamp(3rem, 13vw, 5rem); }
  .hero__proof { height: auto; margin-top: 1.5rem; color: var(--ink-2); flex-wrap: wrap; row-gap: .25rem; }
  .hero__site { height: 35rem; justify-self: center; }
  .lens { padding: 0 0 3.5rem; }
  .lens__licence { height: auto; margin: 1.5rem 0 0; color: var(--ink-2); }
  .hero__leader { display: none; }
  .starts, .comply, .firm, .index, .faq, .survey { grid-template-columns: minmax(0, 1fr); }
  .start { padding: 1.5rem 0; border-left: 0; border-top: 1px solid var(--rule); }
  .start:first-child { border-top: 0; }
  .run { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 4px solid var(--riser); margin-left: 6px; }
  .run li { padding: 0 0 1.75rem 1.5rem; }
  .run li::before { top: .6rem; left: -10px; }
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients li { padding-left: 0; padding-right: 1rem; border-left: 0; }
  .firm__team { align-self: start; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .page { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "aside" "body"; grid-template-rows: none; }
  .lens__jump { display: flex; }
  .split { grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; }
  .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page__aside { justify-self: stretch; margin-top: 1.75rem; }
  .sitefig { position: static; width: auto; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.25rem; align-items: end; }
  .mini { height: 13.5rem; margin: 0; }
  .sitefig figcaption { margin-top: 0; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .cta { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (min-width: 70.01rem) and (max-height: 939px) {
  .lens__text { display: none; }
  .drill li, .lens__systems a { padding-block: .3rem; }
  .lens__actions { margin-top: .7rem; }
}
@media (min-width: 70.01rem) and (max-height: 819px) {
  .lens__systems, .drill { margin-top: .5rem; }
  .drill li, .lens__systems a { padding-block: .1rem; }
  .lens__actions { margin-top: .5rem; }
}
@media (pointer: coarse) {
  .stepbtn { width: 2.75rem; height: 2.75rem; }
}
@media (max-width: 36rem) {
  .nav__cta { display: none; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .sheet div { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .groups { grid-template-columns: minmax(0, 1fr); }
  .related .index__list a { grid-template-columns: minmax(0, 1fr); }
  .index__list a { grid-template-columns: minmax(0, 1fr); }
  .team div { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .year__months li span { font-size: .625rem; letter-spacing: 0; }
  .year__months li, .year--ink .year__months li { aspect-ratio: 1 / 3.6; padding-inline: .2rem; }
  .year__months b { left: .2rem; font-size: .6875rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}
