/* ==========================================================================
   Beton. Board-marked concrete, black ink, one signal colour.
   Grid: six columns in Modulor proportion (113 : 183 : 113 : 113 : 183 : 113),
   spacing and type sizes taken from the Modulor red and blue series.
   ========================================================================== */

:root {
  /* concrete, read off board-formed walls: cool grey with a little lime in it */
  --c0: #e3e2de;
  --c1: #d6d4cf;
  --c2: #c2c0ba;
  --c3: #a3a19b;
  --paper: #f4f3f0;
  --ink: #121211;
  --ink-2: #33322f;
  --mute: #55534e;
  --rule: rgba(18, 18, 17, .13);
  --rule-strong: rgba(18, 18, 17, .5);
  --signal: #f0461e;
  --on-signal: #121211;
  --shadow: 18, 18, 17;

  --bg: var(--c0);
  --fg: var(--ink);
  --fg-2: var(--mute);
  --fg-body: var(--ink-2);

  --f-sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --f-deva: "Anek Devanagari", "Noto Sans Devanagari", sans-serif;

  /* Modulor: red series 6 10 16 27 43 70 113 183 296, blue series 8 13 20 33 53 86 140 226 */
  --s6: 6px; --s8: 8px; --s10: 10px; --s13: 13px; --s16: 16px; --s20: 20px; --s27: 27px;
  --s33: 33px; --s43: 43px; --s53: 53px; --s70: 70px; --s86: 86px; --s113: 113px; --s183: 183px;

  --cols: 113fr 183fr 113fr 113fr 183fr 113fr;
  --gut: 16px;
  --nav-h: 46px;
  --ease: cubic-bezier(.2, .7, .1, 1);

  /* the studio's paper (the proposal itself) and text on photographs */
  --p-ink: #1b1a18;
  --p-mute: #5d5a54;
  --p-rule: rgba(27, 26, 24, .16);
  --signal-ink: #b52f0c; /* the signal, darkened for small text on paper (AA) */
  --on-photo: #f4f3f0;
  --on-photo-2: #e3e2de;
  --on-photo-mute: rgba(244, 243, 240, .66);
  --photo-shade: 14, 14, 13;
  --night-bg: #171716;
  --night-fg: #e3e2de;
  --night-fg-2: #a9a7a1;
  /* material tones for the room panels: kota stone, board-formed concrete, teak, lime plaster, kadappa */
  --t-kota: #a7aba3;
  --t-concrete: #c9c7c1;
  --t-teak: #6b5848;
  --t-lime: #e7e4dc;
  --t-kadappa: #2f3133;
}

html.is-night {
  --bg: var(--night-bg);
  --fg: var(--night-fg);
  --fg-2: var(--night-fg-2);
  --fg-body: #d2d0cb;
  --rule: rgba(227, 226, 222, .12);
  --rule-strong: rgba(227, 226, 222, .45);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 8px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color .9s var(--ease), color .9s var(--ease);
}
:lang(hi), :lang(mr) { font-family: var(--f-deva); letter-spacing: 0 !important; text-transform: none !important; }

a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--ink); color: var(--c0); padding: 8px 13px; text-decoration: none; }
.skip:focus { top: 8px; }

.tone { color: var(--fg-2); }

/* ---------- fixed layers ---------- */
.rules { position: fixed; inset: 0; z-index: 1; display: grid; grid-template-columns: var(--cols); pointer-events: none; }
.rules i { border-right: 1px solid var(--rule); }
.rules i:nth-child(3) { border-right-color: var(--rule); }

.sun {
  position: fixed; inset: -30vmax; z-index: 60; pointer-events: none;
  mix-blend-mode: multiply; opacity: 1;
  --ang: 104deg; --sw: 90px; --a: .06; --x: 0px;
  background-image: repeating-linear-gradient(var(--ang),
      rgba(var(--shadow), 0) 0px, rgba(var(--shadow), 0) calc(479px - var(--sw)),
      rgba(var(--shadow), var(--a)) calc(479px - var(--sw)), rgba(var(--shadow), var(--a)) 479px);
  transform: translate3d(var(--x), 0, 0);
  transition: opacity .9s;
}
html.is-night .sun { opacity: 0; }

/* ---------- wordmark + nav ---------- */
.mark {
  position: fixed; left: 0; top: 0; z-index: 41; width: 100%;
  pointer-events: none; overflow: hidden;
  transform-origin: 0 0;
}
.mark__word {
  display: inline-block; white-space: nowrap;
  font-weight: 600; font-variation-settings: "wdth" 84;
  font-size: 11.9vw; /* refined by fitMark() */
  line-height: .78; letter-spacing: -.06em;
  margin: -.13em 0 0 -.055em; /* cropped by the top edge */
  color: var(--fg);
  transform-origin: 0 0;
}

.nav {
  position: fixed; left: 0; right: 0; top: var(--nav-top, 0px); z-index: 40;
  height: var(--nav-h);
  display: grid; grid-template-columns: var(--cols);
  border-bottom: 1px solid var(--rule);
  background: color-mix(in srgb, var(--bg) 95%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .9s var(--ease);
}
.nav__cell {
  position: relative; display: flex; align-items: center;
  padding: 0 var(--gut); font-size: 13px; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
}
.nav__cell::before { /* the tick where the column rule meets the nav */
  content: ""; position: absolute; left: 0; bottom: -1px; width: 1px; height: 7px; background: var(--fg);
}
.nav__home::before { display: none; }
.nav__cell:not(.nav__cta):hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.nav__mark { font-weight: 600; letter-spacing: -.04em; font-size: 15px; opacity: var(--mark-small, 0); transition: opacity .2s; }
.nav__cta { background: var(--signal); color: var(--on-signal); font-weight: 500; justify-content: space-between; }
.nav__cta::after { content: "\2197"; font-size: 13px; transition: transform .25s var(--ease); }
.nav__cta:hover::after { transform: translate(2px, -2px); }
.nav__cta:active { transform: translateY(1px); }
.nav__menu { display: none; }

.sheet { position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 39; background: var(--bg); border-bottom: 1px solid var(--rule-strong); }
.sheet nav { display: grid; }
.sheet a { padding: 16px var(--gut); font-size: 27px; letter-spacing: -.04em; text-decoration: none; border-top: 1px solid var(--rule); }

/* ---------- sun dial ---------- */
.dial {
  position: fixed; z-index: 42; pointer-events: none; color: var(--fg);
  top: var(--nav-top-px, 0px); height: var(--nav-h);
  right: calc(100% * 113 / 818 + var(--gut));
  display: flex; align-items: center; gap: 10px;
  transition: opacity .3s;
}
.dial.is-away { opacity: 0; }
.dial__arc { width: 38px; height: 21px; overflow: visible; }
.dial__arc path { fill: none; stroke: var(--fg); stroke-width: 1; stroke-dasharray: 2 3; opacity: .5; }
.dial__arc line { stroke: var(--fg); stroke-width: 1; }
.dial__sun { fill: var(--fg); }
.dial__txt { display: grid; font-family: var(--f-mono); font-size: 10px; line-height: 1.3; letter-spacing: .02em; color: var(--fg-2); }
.dial__txt b { color: var(--fg); }
.dial__time { font-weight: 500; font-size: 11px; }
.dial__alt { color: var(--fg-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 27px;
  height: 53px; padding: 0 20px; min-width: 183px;
  font-size: 16px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  border: 1px solid var(--fg); border-radius: 0;
  transition: background-color .2s, color .2s, transform .12s;
}
.btn::after { content: "\2197"; transition: transform .25s var(--ease); }
.btn:hover::after { transform: translate(2px, -2px); }
.btn:active { transform: translateY(1px); }
.btn--signal { background: var(--signal); color: var(--on-signal); border-color: var(--signal); }
.btn--signal:hover { background: var(--ink); color: var(--c0); border-color: var(--ink); }
html.is-night .btn--signal:hover { background: var(--c0); color: var(--ink); border-color: var(--c0); }
.btn--line { background: transparent; color: var(--fg); }
.btn--line::after { content: "\2193"; }
.btn--line:hover { background: var(--fg); color: var(--bg); }
.btn--line:hover::after { transform: translateY(2px); }
.btn--big { height: 70px; font-size: 20px; min-width: 296px; padding: 0 27px; }

/* ---------- shared section bits ---------- */
main, .foot { position: relative; z-index: 2; }
section { position: relative; }
.sec-head { display: grid; grid-template-columns: var(--cols); padding: var(--s113) 0 var(--s70); }
.h2 {
  grid-column: 2 / 6; margin: 0; padding: 0 var(--gut);
  font-size: clamp(33px, 4.1vw, 70px); line-height: .98; letter-spacing: -.05em; font-weight: 500;
  font-variation-settings: "wdth" 92;
  text-wrap: balance;
}

/* ==========================================================================
   THE RUN
   ========================================================================== */
.run { position: relative; }
.run__stage { position: sticky; top: 0; height: 100vh; height: 100svh; z-index: 2; overflow: hidden; pointer-events: none; }
.run__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.run__fallback { position: absolute; display: none; right: 4vw; top: 22vh; width: 52vw; height: auto; }
.run__fallback line, .run__fallback path { vector-effect: non-scaling-stroke; }
.no-webgl .run__canvas { display: none; }
.no-webgl .run__fallback { display: block; }

.run__paper {
  position: absolute; left: var(--gut); right: var(--gut); top: calc(var(--nav-h) + 27px); bottom: 27px;
  background: var(--paper); opacity: 0;
  box-shadow: 0 1px 0 rgba(var(--shadow), .2), var(--sx, 18px) var(--sy, 22px) 0 -6px rgba(var(--shadow), var(--sa, .07));
  display: flex; justify-content: space-between; align-items: start; padding: 20px 27px;
  font-family: var(--f-mono); font-size: 11px; color: var(--p-mute);
}
.run__paper span:first-child { color: var(--p-ink); font-weight: 500; }
.run__paper::after { content: ""; position: absolute; left: 27px; right: 27px; top: 48px; border-top: 1px solid var(--p-rule); }
.labels { position: absolute; inset: 0; }
.lbl {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  font-family: var(--f-mono); font-size: 10px; line-height: 1.25; letter-spacing: .02em;
  color: var(--ink); opacity: 0; transform: translate(-50%, -50%);
  will-change: transform, opacity;
}
.lbl b { display: block; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.lbl span { color: var(--mute); }

.readout {
  position: absolute; right: var(--gut); bottom: 13px; margin: 0;
  display: flex; gap: 13px; align-items: baseline;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .02em; color: var(--fg);
}
.readout span { color: var(--fg-2); }
.readout b { font-weight: 500; font-variant-numeric: tabular-nums; }

.run__content { position: relative; z-index: 3; margin-top: -100vh; margin-top: -100svh; }

/* hero */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: var(--cols);
  align-items: end;
  padding-bottom: var(--s70);
}
.hero__copy { grid-column: 1 / 4; padding: 0 var(--gut); }
.hero__h1 {
  margin: 0 0 var(--s27);
  font-size: clamp(43px, 7vw, 113px); line-height: .9; letter-spacing: -.055em; font-weight: 500;
  font-variation-settings: "wdth" 90;
}
.hero__h1 .tone { display: block; }
.hero__sub { margin: 0 0 var(--s33); max-width: 30ch; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.4; letter-spacing: -.012em; color: var(--ink-2); }
.hero__ctas { display: flex; gap: var(--s10); flex-wrap: wrap; }

/* problem */
.problem { overflow: hidden; min-height: 150vh; display: grid; grid-template-columns: var(--cols); align-content: center; row-gap: var(--s43); padding: var(--s113) 0; }
.problem__big { pointer-events: none; grid-column: 1 / -1; margin: 0; font-weight: 500; line-height: .82; letter-spacing: -.065em; font-variation-settings: "wdth" 86; }
.problem__num { display: block; font-size: clamp(96px, 24vw, 420px); margin-left: -.06em; white-space: nowrap; }
.problem__per { word-spacing: .24em; display: block; font-size: clamp(43px, 7.4vw, 140px); padding-left: calc(100% * 296 / 818 + var(--gut)); line-height: .9; margin-top: .1em; letter-spacing: -.05em; }
.problem__p {
  grid-column: 4 / 6; margin: 0; padding: 0 var(--gut);
  font-size: clamp(16px, 1.4vw, 20px); line-height: 1.45; color: var(--ink-2); max-width: 34ch;
}

/* captions over the model */
.cap { min-height: 160vh; display: grid; grid-template-columns: var(--cols); align-items: center; }
.cap--read { min-height: 210vh; align-items: start; }
.cap--read .cap__box { position: sticky; top: calc(var(--nav-h) + 13vh); }
.cap--flat { min-height: 160vh; align-items: start; }
.cap--flat .cap__box { position: sticky; top: calc(var(--nav-h) + 27px + 70px); padding-left: calc(var(--gut) + 27px); margin-top: 40vh; }
.cap__box { grid-column: 1 / 3; padding: 0 var(--gut); }
.cap__h {
  margin: 0 0 var(--s20); font-size: clamp(33px, 3.7vw, 70px); line-height: .95; letter-spacing: -.05em; font-weight: 500;
  font-variation-settings: "wdth" 90; text-wrap: balance;
}
.cap__p { margin: 0; max-width: 32ch; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.45; color: var(--ink-2); }
.cap--flat .cap__box { grid-column: 1 / 4; }

/* ==========================================================================
   THE PROPOSAL
   ========================================================================== */
.proposal { background: var(--c0); z-index: 4; border-top: 1px solid var(--rule-strong); }
.proposal::before { /* rules continue on the concrete */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, transparent calc(100% - 1px), var(--rule) 0);
  background-size: calc(100% * 113 / 818) 100%;
  opacity: 0;
}
.proposal__body { display: grid; grid-template-columns: var(--cols); padding-bottom: var(--s113); }
.pindex {
  grid-column: 1 / 2; align-self: start; position: sticky; top: calc(var(--nav-h) + 43px);
  display: grid; gap: 0; padding: 0 var(--gut);
}
.pindex a { display: grid; gap: 2px; padding: 13px 0 13px 13px; text-decoration: none; border-left: 1px solid var(--rule-strong); transition: border-color .25s, padding .25s var(--ease); }
.pindex b { font-weight: 500; font-size: 16px; letter-spacing: -.02em; }
.pindex span { font-family: var(--f-mono); font-size: 11px; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.pindex a.is-on { border-left: 3px solid var(--fg); padding-left: 11px; }
.pindex a:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.sheets { grid-column: 2 / 7; display: grid; gap: var(--s43); padding: 0 var(--gut) 0 0; }

/* a proposal page: the studio's own document, paper on concrete */
.pg {
  position: relative; z-index: 2;
  background: var(--paper); color: var(--p-ink);
  padding: var(--s27) var(--s43) var(--s43);
  box-shadow: 0 1px 0 rgba(var(--shadow), .2), var(--sx, 18px) var(--sy, 22px) 0 -6px rgba(var(--shadow), var(--sa, .07));
}
.pg__run {
  display: flex; justify-content: space-between; gap: var(--s16); flex-wrap: wrap;
  padding-bottom: var(--s13); margin-bottom: var(--s43); border-bottom: 1px solid var(--p-rule);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .02em; color: var(--p-mute);
}
.pg__run span:first-child { color: var(--p-ink); font-weight: 500; }

/* cover */
.cover { display: grid; grid-template-columns: 5fr 8fr; gap: var(--s43); align-items: end; min-height: 520px; }
.cover__kicker { margin: 0 0 var(--s13); font-family: var(--f-mono); font-size: 12px; color: var(--p-mute); }
.cover__title { margin: 0 0 var(--s43); font-size: clamp(43px, 5vw, 86px); line-height: .9; letter-spacing: -.055em; font-weight: 500; font-variation-settings: "wdth" 88; }
.cover__meta { margin: 0; display: grid; gap: 0; }
.cover__meta div { display: grid; grid-template-columns: 9.5em 1fr; gap: var(--s13); padding: 8px 0; border-top: 1px solid var(--p-rule); font-size: 14px; }
.cover__meta dt { color: var(--p-mute); }
.cover__meta dd { margin: 0; }
.cover__plan { margin: 0; }
.cover__plan svg { width: 100%; height: auto; display: block; }
.cover__plan figcaption { margin-top: var(--s10); font-family: var(--f-mono); font-size: 11px; color: var(--p-mute); text-align: right; }

/* room chapter */
.room { display: grid; grid-template-columns: 8fr 5fr; gap: var(--s43); }
.room__pic { margin: 0; }
.crop { position: relative; overflow: hidden; aspect-ratio: 4 / 3.2; background: var(--c1); }
.crop img { position: absolute; left: 50%; top: 50%; width: 190%; max-width: none; height: auto; transform: translate(-66%, -46%); }
.room__h { margin: 0 0 var(--s10); font-size: clamp(33px, 3.3vw, 53px); line-height: .95; letter-spacing: -.05em; font-weight: 500; }
.room__size { display: flex; gap: var(--s16); margin: 0 0 var(--s27); font-family: var(--f-mono); font-size: 12px; color: var(--p-mute); }
.room__voice { margin: 0 0 var(--s27); font-size: 17px; line-height: 1.5; }
.room__scope { list-style: none; margin: 0 0 var(--s27); padding: 0; border-top: 1px solid var(--p-rule); }
.room__scope li { padding: 8px 0; font-size: 14px; }
.room__scope li + li { border-top: 1px solid var(--p-rule); }
.room__amt { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding-top: var(--s13); border-top: 2px solid var(--p-ink); }
.room__amt span { font-size: 14px; color: var(--p-mute); }
.room__amt b { font-weight: 500; font-size: 20px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

/* costing */
.cost { display: grid; grid-template-columns: 8fr 5fr; gap: var(--s43); align-items: start; }
.ctable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; font-size: 15px; }
.ctable caption { text-align: left; font-size: clamp(27px, 2.6vw, 43px); letter-spacing: -.045em; font-weight: 500; line-height: 1; padding-bottom: var(--s27); }
.ctable th, .ctable td { padding: 9px 0; text-align: left; font-weight: 400; }
.ctable thead th { font-family: var(--f-mono); font-size: 11px; color: var(--p-mute); border-bottom: 1px solid var(--p-ink); padding-top: 0; }
.ctable tbody tr + tr th, .ctable tbody tr + tr td { border-top: 1px solid var(--p-rule); }
.ctable .n { text-align: right; padding-left: var(--s16); }
.ctable tfoot th, .ctable tfoot td { border-top: 1px solid var(--p-rule); }
.ctable tfoot .sub th, .ctable tfoot .sub td { border-top: 1px solid var(--p-ink); }
.ctable .total th, .ctable .total td { border-top: 2px solid var(--p-ink); padding-top: 13px; font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.ctable .total td { color: var(--signal-ink); }
.stages { border-left: 1px solid var(--p-rule); padding-left: var(--s27); }
.stages__h { margin: 0 0 var(--s20); font-size: 20px; letter-spacing: -.03em; font-weight: 500; }
.stages__list { list-style: none; margin: 0; padding: 0; counter-reset: st; font-variant-numeric: tabular-nums; }
.stages__list li { display: grid; grid-template-columns: 1fr 3.2em 6.4em; gap: 8px; padding: 9px 0; font-size: 14px; border-top: 1px solid var(--p-rule); }
.stages__list i { font-style: normal; color: var(--p-mute); text-align: right; }
.stages__list b { font-weight: 400; text-align: right; }

/* timeline */
.gantt { display: grid; gap: 0; font-size: 14px; }
.gantt { --gl: 180px; }
.gantt__weeks, .gantt__row { display: grid; grid-template-columns: var(--gl) repeat(14, 1fr); align-items: center; }
.gantt__weeks { font-family: var(--f-mono); font-size: 11px; color: var(--p-mute); padding-bottom: 8px; border-bottom: 1px solid var(--p-ink); }
.gantt__weeks span:not(.gantt__lbl) { border-left: 1px solid var(--p-rule); padding-left: 5px; }
.gantt__row { height: 46px; border-bottom: 1px solid var(--p-rule);
  background-image: linear-gradient(to right, var(--p-rule) 1px, transparent 1px);
  background-size: calc((100% - var(--gl)) / 14) 100%; background-position: var(--gl) 0; background-repeat: repeat-x;
  background-clip: content-box; }
.gantt__row i {
  grid-column: calc(var(--s) + 1) / calc(var(--e) + 1); grid-row: 1;
  height: 20px; background: var(--p-ink); color: var(--paper);
  font-style: normal; font-family: var(--f-mono); font-size: 10px; line-height: 20px; padding: 0 6px; white-space: nowrap; overflow: hidden;
  transform-origin: 0 50%;
}
.gantt__row i.is-key { background: var(--paper); color: var(--p-ink); box-shadow: inset 0 0 0 2px var(--p-ink); }
.gantt__lbl { grid-column: 1; }
.signoff { display: flex; justify-content: space-between; align-items: end; gap: var(--s27); margin-top: var(--s43); }
.signoff__state { margin: 0; }
.signoff__stamp {
  display: inline-block; padding: 10px 16px; border: 2px solid var(--p-ink);
  font-weight: 600; font-size: 16px; letter-spacing: -.01em;
  transform: rotate(-2deg);
}
.signoff__by { margin: 0; text-align: right; font-family: var(--f-mono); font-size: 11px; color: var(--p-mute); line-height: 1.6; }

/* ==========================================================================
   HOW IT WORKS: six steps, one per Modulor column
   ========================================================================== */
.how { padding-bottom: var(--s43); }
.how__cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: var(--cols); border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); }
.how__col { padding: var(--s27) var(--gut) var(--s27); display: grid; grid-template-rows: auto 1fr auto; gap: var(--s13); min-height: 296px; position: relative; }
.how__col::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 3px; background: var(--fg); transition: width .5s var(--ease); }
.how__col:hover::before { width: 100%; }
.how__v { margin: 0; font-size: clamp(27px, 2.75vw, 43px); line-height: 1; letter-spacing: -.05em; font-weight: 500; }
.how__p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--fg-2); max-width: 22ch; }
.how__art { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--f-mono); font-size: 11px; }
.chip { display: inline-block; padding: 4px 8px; border: 1px solid var(--fg); }
.chip--stamp { border-width: 2px; font-family: var(--f-sans); font-weight: 600; font-size: 13px; transform: rotate(-3deg); }
.how__art--list { display: grid; gap: 0; }
.how__art--list span { padding: 4px 0; border-top: 1px solid var(--rule); }
.how__art--list span:lang(hi), .how__art--list span:lang(mr) { font-size: 14px; line-height: 1.3; }
.how__art--big { font-family: var(--f-sans); font-size: clamp(43px, 4.4vw, 70px); letter-spacing: -.06em; line-height: .85; font-weight: 500; color: var(--fg); }

/* ==========================================================================
   LANGUAGES
   ========================================================================== */
.lang { padding-bottom: var(--s86); }
.lang__rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.lang__row { display: grid; grid-template-columns: var(--cols); align-items: center; border-bottom: 1px solid var(--rule); min-height: 140px; }
.lang__say { grid-column: 1 / 5; margin: 0; padding: var(--s20) var(--gut); font-size: clamp(27px, 3.6vw, 64px); letter-spacing: -.045em; line-height: 1; font-weight: 500; }
.lang__say--deva { font-family: var(--f-deva); font-weight: 500; line-height: 1.25; font-size: clamp(27px, 3.4vw, 60px); padding-top: var(--s27); }
.lang__say--deva [lang="en"] { font-family: var(--f-sans); letter-spacing: -.045em !important; }
.lang__does { grid-column: 5 / 7; margin: 0; padding: var(--s16) var(--gut); display: grid; gap: 2px; font-family: var(--f-mono); font-size: 12px; font-variant-numeric: tabular-nums; }
.lang__does span { color: var(--fg-2); }
.lang__does s { color: var(--fg-2); text-decoration-thickness: 1px; }
.lang__does b { font-family: var(--f-sans); font-weight: 500; font-size: clamp(20px, 1.9vw, 27px); letter-spacing: -.02em; }
.lang__note { margin: 0; padding: var(--s20) var(--gut) 0; font-family: var(--f-mono); font-size: 11px; color: var(--fg-2); }
.lang__note { margin-left: calc(100% * 296 / 818); }

/* ==========================================================================
   MATHS: the calculation tape
   ========================================================================== */
.maths { display: grid; grid-template-columns: var(--cols); padding: var(--s113) 0; border-top: 1px solid var(--rule-strong); }
.maths__head { grid-column: 1 / 4; padding: 0 var(--gut); }
.maths__h { margin: 0 0 var(--s27); font-size: clamp(43px, 6.3vw, 113px); line-height: .86; letter-spacing: -.06em; font-weight: 500; font-variation-settings: "wdth" 86; }
.maths__p { margin: 0; max-width: 34ch; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.45; color: var(--ink-2); }
.tape {
  grid-column: 4 / 7; margin: 0 var(--gut); align-self: end;
  background: var(--paper); color: var(--p-ink); padding: var(--s27) var(--s27) var(--s20);
  font-family: var(--f-mono); font-size: 13px; font-variant-numeric: tabular-nums;
  background-image: linear-gradient(rgba(27, 26, 24, .06) 1px, transparent 1px);
  background-size: 100% 33px; background-position: 0 26px;
  box-shadow: var(--sx, 18px) var(--sy, 22px) 0 -6px rgba(var(--shadow), var(--sa, .07));
  position: relative; z-index: 2;
}
.tape__row { display: flex; justify-content: space-between; gap: var(--s16); height: 33px; align-items: center; }
.tape__k { color: var(--p-mute); }
.tape__v i { font-style: normal; color: var(--p-mute); margin-right: 6px; }
.tape__row--line { border-top: 1px solid var(--p-ink); }
.tape__row--line .tape__k, .tape__row--total .tape__k { color: var(--p-ink); }
.tape__row--total { border-top: 2px solid var(--p-ink); height: 46px; font-family: var(--f-sans); font-size: 20px; font-weight: 500; }
.tape__row--total .tape__v { color: var(--signal-ink); }

/* ==========================================================================
   WALKTHROUGH: pinned full-bleed stage
   ========================================================================== */
.walk { z-index: 4; background: var(--ink); color: var(--c0); }
.walk__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.walk__frames { position: absolute; inset: 0; }
.walk__f { position: absolute; inset: 0; margin: 0; overflow: hidden; opacity: 0; transition: opacity .7s var(--ease); }
.walk__f.is-on { opacity: 1; }
.walk__f img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.46); transform-origin: 50% 30%; }
.walk__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--photo-shade),.78) 0%, rgba(var(--photo-shade),.42) 32%, rgba(var(--photo-shade),0) 58%), linear-gradient(0deg, rgba(var(--photo-shade),.45), rgba(var(--photo-shade),0) 30%); }
.walk__head { position: absolute; left: 0; top: calc(var(--nav-h) + var(--s43)); width: calc(100% * 409 / 818); padding: 0 var(--gut); }
.walk__h { margin: 0 0 var(--s20); font-size: clamp(36px, 4.6vw, 86px); line-height: .9; letter-spacing: -.055em; font-weight: 500; color: var(--on-photo); text-wrap: balance; }
.walk__p { margin: 0 0 var(--s20); max-width: 34ch; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.45; color: var(--on-photo-2); }
.walk__price { margin: 0; display: inline-block; padding: 8px 13px; background: var(--paper); color: var(--ink); font-weight: 500; font-size: 15px; }
.walk__index { position: absolute; left: var(--gut); bottom: var(--s43); list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.walk__index button { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 6px 0; cursor: pointer; font-size: 14px; color: var(--on-photo-mute); text-align: left; }
.walk__index button::before { content: ""; width: 20px; height: 1px; background: currentColor; transition: width .3s var(--ease); }
.walk__index .is-on button { color: var(--on-photo); }
.walk__index .is-on button::before { width: 43px; background: var(--on-photo); height: 2px; }
.walk__index button:hover { color: var(--on-photo); }
.walk__card { position: absolute; right: var(--gut); bottom: var(--s43); width: min(360px, 40vw); background: var(--paper); color: var(--ink); padding: var(--s20) var(--s20) var(--s16); }
.walk__room { margin: 0 0 4px; font-size: 27px; letter-spacing: -.045em; font-weight: 500; line-height: 1; }
.walk__meta { margin: 0; font-family: var(--f-mono); font-size: 11px; color: var(--p-mute); }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing { padding-bottom: var(--s113); }
.sec-head--row { align-items: end; }
.sec-head--row .h2 { grid-column: 1 / 5; }
.bill { grid-column: 5 / 7; justify-self: end; margin: 0 var(--gut); display: inline-flex; border: 1px solid var(--fg); }
.bill__b { border: 0; background: none; padding: 10px 16px; font-size: 14px; cursor: pointer; white-space: nowrap; }
.bill__b.is-on { background: var(--fg); color: var(--bg); }
.bill__b:not(.is-on):hover { text-decoration: underline; text-underline-offset: 4px; }

.plans { display: grid; grid-template-columns: var(--cols); border-top: 1px solid var(--rule-strong); }
.plan { grid-column: span 2; padding: var(--s27) var(--gut) var(--s43); position: relative; display: grid; align-content: start; gap: var(--s20); }
.plan + .plan { border-left: 1px solid var(--rule-strong); }
.plan--main { background: var(--ink); color: var(--c0); }
.plan--main .plan__facts dt, .plan--main .plan__per, .plan--main .plan__rs { color: var(--night-fg-2); }
.plan--main .plan__facts div { border-color: rgba(227, 226, 222, .18); }
.plan__flag { position: absolute; top: 0; right: 0; margin: 0; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 500; padding: 6px 13px; }
.plan__name { margin: 0; font-size: clamp(27px, 2.6vw, 43px); letter-spacing: -.05em; font-weight: 500; line-height: 1; }
.plan__price { margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.plan__price b { font-size: clamp(53px, 6.3vw, 113px); font-weight: 500; letter-spacing: -.06em; line-height: .85; }
.plan__rs { font-size: 20px; color: var(--fg-2); }
.plan__per { font-size: 15px; color: var(--fg-2); }
.plan__facts { margin: 0; display: grid; }
.plan__facts div { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.plan__facts dt { color: var(--fg-2); }
.plan__facts dd { margin: 0; font-variant-numeric: tabular-nums; }

.credits { display: grid; grid-template-columns: var(--cols); align-items: start; padding-top: var(--s43); border-top: 1px solid var(--rule-strong); }
.credits__lead { grid-column: 1 / 3; margin: 0; padding: 0 var(--gut); font-size: clamp(20px, 1.9vw, 27px); letter-spacing: -.035em; line-height: 1.15; font-weight: 500; }
.credits__list { grid-column: 3 / 6; margin: 0; padding: 0 var(--gut); display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s27); }
.credits__list div { display: flex; justify-content: space-between; gap: var(--s13); padding: 8px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.credits__list dt { color: var(--fg-2); }
.credits__list dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.credits .btn { grid-column: 6 / 7; justify-self: stretch; margin: 0 var(--gut); min-width: 0; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; grid-template-columns: var(--cols); padding: var(--s113) 0; border-top: 1px solid var(--rule-strong); }
.faq__h { grid-column: 1 / 3; margin: 0; padding: 0 var(--gut); font-size: clamp(33px, 3.7vw, 70px); line-height: .95; letter-spacing: -.05em; font-weight: 500; align-self: start; position: sticky; top: calc(var(--nav-h) + 43px); }
.faq__list { grid-column: 3 / 7; padding: 0 var(--gut); border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 43px 20px 0; position: relative;
  font-size: clamp(18px, 1.65vw, 24px); letter-spacing: -.03em; font-weight: 500; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; font-size: 27px; font-weight: 400; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--fg-2); }
.faq details p { margin: 0; padding: 0 0 var(--s27); max-width: 56ch; color: var(--fg-2); font-size: 16px; line-height: 1.55; }

/* ==========================================================================
   DUSK
   ========================================================================== */
.end { overflow: hidden; padding: var(--s183) 0 var(--s113); border-top: 1px solid var(--rule-strong); }
.end__big { pointer-events: none; margin: 0 0 var(--s43); font-size: clamp(70px, 19.6vw, 360px); line-height: .8; letter-spacing: -.065em; font-weight: 500; white-space: nowrap; margin-left: -.06em; font-variation-settings: "wdth" 84; }
.end__row { display: grid; grid-template-columns: var(--cols); align-items: end; }
.end__p { grid-column: 2 / 4; margin: 0; padding: 0 var(--gut); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.45; color: var(--fg-2); max-width: 36ch; }
.end__row .btn { grid-column: 5 / 7; justify-self: start; margin: 0 var(--gut); }

.foot { display: grid; grid-template-columns: var(--cols); row-gap: var(--s27); padding: var(--s70) 0 var(--s70); border-top: 1px solid var(--rule-strong); font-size: 14px; color: var(--fg); }
.foot > * { margin: 0; padding: 0 var(--gut); }
.foot__mark { grid-column: 1 / 3; font-size: 27px; letter-spacing: -.05em; font-weight: 600; line-height: 1; }
.foot__by { grid-column: 3 / 4; color: var(--fg-2); align-self: end; }
.foot__nav { grid-column: 4 / 7; display: flex; flex-wrap: wrap; gap: 6px 27px; }
.foot__nav a { text-decoration: none; }
.foot__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__made { grid-column: 1 / 3; color: var(--fg-2); line-height: 1.6; }
.foot__grid { grid-column: 4 / 7; color: var(--fg-2); font-family: var(--f-mono); font-size: 11px; align-self: end; }

/* ==========================================================================
   reveal helpers (JS adds .rv; reduced motion never sets them)
   ========================================================================== */
.rv { opacity: 0; transform: translateY(27px); }


/* ==========================================================================
   FIX ROUND: word gaps on display type, body sizes, grid-placed captions
   ========================================================================== */
/* tight letters, but every word gap stays visible */
.mark__word, .nav__mark, .hero__h1, .problem__big, .cap__h, .h2, .cover__title, .room__h,
.ctable caption, .how__v, .lang__say, .maths__h, .walk__h, .walk__room, .plan__name, .credits__lead,
.faq__h, .faq summary, .end__big, .foot__mark, .sheet a, .stages__h {
  word-spacing: .16em;
}
.mark__word { letter-spacing: -.05em; word-spacing: .2em; }
.end__big, .problem__big, .maths__h { letter-spacing: -.05em; word-spacing: .18em; }
.hero__h1, .cap__h, .walk__h, .h2, .cover__title { letter-spacing: -.045em; }
.lang__say--deva { word-spacing: normal; }

/* body copy: 16px and up, ink-2 */
.how__p, .faq details p, .end__p, .walk__p, .plan__facts div, .credits__list div,
.room__scope li, .cover__meta div, .stages__list li, .gantt, .foot { font-size: 16px; }
.how__p, .faq details p, .end__p, .credits__list dt, .plan__facts dt, .foot__by, .foot__made,
.lang__does span, .lang__does s { color: var(--fg-body); }
.how__p { max-width: 24ch; }
.walk__p { font-size: clamp(16px, 1.3vw, 19px); }
.walk__index button { font-size: 15px; }
.lang__does { font-size: 13px; }
.lang__note, .pindex span, .room__size, .cover__kicker, .pg__run, .walk__meta, .gantt__weeks,
.how__art, .foot__grid, .readout, .signoff__by, .dial__txt { font-size: 12px; }
.dial__time { font-size: 12px; }
.lbl { font-size: 11px; }
.gantt__row i { font-size: 11px; }
.ctable thead th { font-size: 12px; }

p.how__art.how__art--big { font-size: clamp(43px, 4.4vw, 70px); }
/* the problem: the sentence sits on the third column line, under "for one proposal." */
.problem { row-gap: var(--s33); min-height: 118vh; }
.problem__p {
  grid-column: 3 / 6; padding-left: var(--gut);
  font-size: clamp(20px, 1.9vw, 27px); line-height: 1.32; letter-spacing: -.015em;
  max-width: 30ch; color: var(--ink-2);
  border-top: 1px solid var(--ink); padding-top: var(--s16); margin-left: var(--gut);
  padding-left: 0;
}

/* captions over the model: a title block on the first two columns, ruled at the top */
.cap__box { grid-column: 1 / 3; }
.cap__h { font-size: clamp(43px, 4.6vw, 86px); line-height: .92; margin-bottom: var(--s20); }
.cap__p { font-size: clamp(18px, 1.6vw, 23px); line-height: 1.38; max-width: 26ch; color: var(--ink-2); }
.cap__box::before { content: ""; display: block; height: 1px; background: var(--ink); margin-bottom: var(--s16); }
.cap--flat .cap__box::before { display: none; }


/* ==========================================================================
   PHOTOGRAPHS: crisp rectangles, hairline captions with figure numbers.
   Each slot loads ../photos/<name>.jpg; if that is missing it swaps to the
   closest walkthrough still (.is-fb, cropped clear of the walkthrough's labels),
   or hides itself so the drawn frame underneath stands on its own.
   ========================================================================== */
.ph { position: relative; overflow: hidden; background: var(--c1); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--op, 50% 50%); }
.ph img.is-fb { inset: auto; left: 50%; top: 50%; height: auto; width: var(--fbw, 190%); object-fit: initial;
  transform: translate(var(--fbx, -50%), var(--fby, -43%)); }
.ph__plan { position: absolute; inset: 8% 6%; width: 88%; height: 84%; color: var(--ink); opacity: .55; }
.ph-frame { margin: 0; }
.ph--desk, .ph--model {
  aspect-ratio: 3 / 2;
  background-color: var(--c1);
  background-image: repeating-linear-gradient(0deg, transparent 0 32px, rgba(var(--shadow), .055) 32px 33px),
    repeating-linear-gradient(90deg, transparent 0 183px, rgba(var(--shadow), .04) 183px 184px);
}
.figcap { display: flex; gap: 10px; align-items: baseline; padding-top: 8px; margin-top: 8px; border-top: 1px solid var(--rule-strong);
  font-family: var(--f-mono); font-size: 12px; line-height: 1.4; color: var(--fg-body); }
.figcap b { font-weight: 500; color: var(--fg); white-space: nowrap; }
.pg .figcap { border-top-color: var(--p-rule); color: var(--p-mute); }
.pg .figcap b { color: var(--p-ink); }

/* proposal chapter picture */
.ph--chapter { aspect-ratio: 4 / 3.2; --op: 50% 55%; --fbw: 190%; --fbx: -66%; --fby: -46%; }

/* problem: the hand-made proposal, on the first two columns */
.problem { min-height: 132vh; }
.problem__fig { grid-column: 1 / 3; grid-row: 2; padding: 0 var(--gut); align-self: start; position: relative; z-index: 1; }
.problem__p { grid-row: 2; align-self: start; }
.ph--desk { --op: 50% 40%; }

/* maths: the study model under the headline */
.maths { row-gap: var(--s43); }
.maths__head { grid-row: 1; }
.maths__fig { grid-column: 1 / 4; grid-row: 2; padding: 0 var(--gut); }
.tape { grid-row: 1 / 3; align-self: end; }
.ph--model { --op: 50% 55%; }

/* night ending: the client's home behind the name, kept dark so the type leads */
.end { position: relative; isolation: isolate; }
.end__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.end__bg img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 45%;
  filter: grayscale(.55) brightness(.42) contrast(1.05); }
.end__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 22%, transparent 60%, var(--bg) 100%); }
.end__bg .ph__plan { inset: 6% -4% auto auto; width: 70%; height: 88%; color: var(--fg); opacity: .09; }
html:not(.is-night) .end__bg { opacity: 0; }
.end__bg { transition: opacity .9s var(--ease); }

/* ==========================================================================
   THE PROPOSAL'S ROOMS: full-height panels sliding sideways while pinned
   ========================================================================== */
.rooms { position: relative; z-index: 4; background: var(--bg); border-top: 1px solid var(--rule-strong); }
.rooms__pin { height: 100vh; height: 100svh; overflow: hidden; }
.rooms__track { display: flex; height: 100%; width: max-content; }
.rooms__intro { width: calc(100vw * 409 / 818); flex: none; display: flex; flex-direction: column; justify-content: end;
  padding: calc(var(--nav-h) + var(--s43)) var(--s43) var(--s70) var(--gut); }
.rooms__h { margin: 0 0 var(--s27); font-size: clamp(43px, 5.4vw, 98px); line-height: .9; letter-spacing: -.05em; word-spacing: .16em; font-weight: 500; font-variation-settings: "wdth" 88; }
.rooms__p { margin: 0 0 var(--s33); max-width: 30ch; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; color: var(--fg-body); }
.rooms__sum { margin: 0; display: flex; justify-content: space-between; align-items: baseline; max-width: 30ch; padding-top: 10px; border-top: 2px solid var(--fg);
  font-variant-numeric: tabular-nums; }
.rooms__sum span { font-family: var(--f-mono); font-size: 12px; color: var(--fg-body); }
.rooms__sum b { font-weight: 500; font-size: 22px; letter-spacing: -.01em; white-space: nowrap; }

.panel { --pc: var(--ink); width: calc(100vw * 409 / 818); flex: none; height: 100%; display: flex; flex-direction: column; color: var(--pc);
  border-left: 1px solid rgba(var(--shadow), .25); padding-top: var(--nav-h); }
.panel--kota { background: var(--t-kota); }
.panel--concrete { background: var(--t-concrete); }
.panel--teak { background: var(--t-teak); --pc: var(--on-photo); }
.panel--lime { background: var(--t-lime); }
.panel--kadappa { background: var(--t-kadappa); --pc: var(--on-photo); }
.panel__fig { margin: 0; flex: 0 0 54%; display: flex; flex-direction: column; padding: var(--s16) var(--s16) 0; }
.panel__fig .ph { flex: 1; }
.panel__fig .figcap { color: inherit; border-top-color: color-mix(in srgb, var(--pc) 35%, transparent); opacity: .85; margin-top: 6px; }
.panel__fig .figcap b { color: inherit; }
.ph--panel { --fbw: 200%; --fby: -44%; }
.ph--sitout { --fbx: -42%; --op: 30% 55%; }
.ph--living { --fbx: -66%; --op: 50% 55%; }
.ph--dining { --fbx: -55%; --op: 62% 55%; }
.ph--bedroom { --fbx: -50%; --op: 35% 60%; }
.ph--master { --fbx: -58%; --op: 55% 60%; }
.panel__block { flex: 1; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto auto; column-gap: var(--s27);
  padding: var(--s20) var(--s27) var(--s27) var(--s16); }
.panel__scope { grid-column: 1; grid-row: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s20); }
.panel__scope li { font-size: 15px; line-height: 1.35; padding: 7px 0; border-bottom: 1px solid color-mix(in srgb, var(--pc) 28%, transparent); }
.panel__key { grid-column: 2; grid-row: 1 / span 2; width: 132px; height: 101px; color: var(--pc); }
.panel__word { word-spacing: .16em; grid-column: 1; grid-row: 3; margin: 0; font-size: clamp(53px, 6.2vw, 113px); line-height: .82; letter-spacing: -.055em; font-weight: 500; font-variation-settings: "wdth" 86; }
.panel__count { grid-column: 1; grid-row: 4; margin: var(--s13) 0 0; font-family: var(--f-mono); font-size: 13px; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 8px; }
.panel__count::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.panel__figs { grid-column: 2; grid-row: 3 / span 2; align-self: end; margin: 0; display: grid; text-align: right; font-variant-numeric: tabular-nums; line-height: 1.45; }
.panel__figs span { font-family: var(--f-mono); font-size: 12px; opacity: .85; }
.panel__figs b { font-weight: 500; font-size: 22px; letter-spacing: -.01em; margin-top: 4px; }


/* the proposal on the client's phone: a live page, scrolled by the section */
.sec-head--phone { align-items: end; row-gap: var(--s43); }
.sec-head--phone .h2 { grid-column: 2 / 5; align-self: end; padding-bottom: var(--s43); }
.mono { grid-column: 5 / 7; justify-self: center; margin: 0; width: 300px; }
.mono__screen { height: 600px; overflow: hidden; background: var(--paper); color: var(--p-ink);
  border: 10px solid var(--ink); box-shadow: var(--sx, 18px) var(--sy, 22px) 0 -6px rgba(var(--shadow), var(--sa, .07)); }
.mono__page { padding: 0 0 var(--s27); will-change: transform; }
.mono__ph { aspect-ratio: 4 / 5; --op: 66% 55%; --fbw: 330%; --fbx: -60%; --fby: -44%; }
.mono__studio { margin: var(--s16) var(--s16) 0; font-family: var(--f-mono); font-size: 11px; color: var(--p-mute); }
.mono__title { margin: 6px var(--s16) 6px; font-size: 34px; line-height: .95; letter-spacing: -.045em; word-spacing: .14em; font-weight: 500; }
.mono__meta { margin: 0 var(--s16) var(--s16); font-size: 13px; line-height: 1.4; color: var(--p-mute); }
.mono__plan { display: block; width: calc(100% - 32px); height: 190px; margin: 0 var(--s16) var(--s16); color: var(--p-ink); border-top: 1px solid var(--p-rule); border-bottom: 1px solid var(--p-rule); padding: 10px 0; }
.mono__h { margin: 0 var(--s16) 4px; font-size: 22px; letter-spacing: -.035em; font-weight: 500; }
.mono__dim { margin: 0 var(--s16) var(--s10); font-family: var(--f-mono); font-size: 11px; color: var(--p-mute); }
.mono__p { margin: 0 var(--s16) var(--s16); font-size: 14px; line-height: 1.45; }
.mono__row { display: flex; justify-content: space-between; margin: 0 var(--s16); padding: 8px 0; border-top: 1px solid var(--p-rule); font-size: 13px; font-variant-numeric: tabular-nums; }
.mono__row b { font-weight: 500; }
.mono__row--total { border-top: 2px solid var(--p-ink); font-size: 15px; }
.mono__row--total b { color: var(--signal-ink); }
.mono__cap { display: flex; justify-content: space-between; gap: 8px; margin-top: var(--s16); font-family: var(--f-mono); font-size: 12px; color: var(--fg-body); }
.mono__cap span { flex: 1; padding-top: 6px; border-top: 1px solid var(--rule-strong); }
.mono__cap span:last-child { border-top-color: var(--fg); border-top-width: 2px; }


/* ==========================================================================
   CONVERSION PASS: one action, the problem made concrete, pricing that sells
   ========================================================================== */
.nav__cta { grid-column: 5 / 7; }
.dial { right: calc(100% * 522 / 818 + var(--gut)); }
.hero__h1 { font-size: clamp(43px, 5.4vw, 92px); line-height: .92; }
.hero__l { display: block; }
.hero__sub { max-width: 34ch; }
.proof-slot { display: inline-block; margin: var(--s20) 0 0; padding: 6px 10px; border: 1px dashed var(--rule-strong);
  font-family: var(--f-mono); font-size: 12px; color: var(--fg-body); }

/* Today / With Pixaro */
.versus { grid-column: 3 / 7; grid-row: 2; align-self: start; margin: 0 var(--gut);
  background: var(--paper); color: var(--p-ink); padding: var(--s20) var(--s27) var(--s16); position: relative; z-index: 1;
  box-shadow: var(--sx, 18px) var(--sy, 22px) 0 -6px rgba(var(--shadow), var(--sa, .07)); }
.versus__row { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s27); padding: 11px 0; border-top: 1px solid var(--p-rule); font-size: 17px; line-height: 1.35; }
.versus__row span:first-child { color: var(--p-mute); }
.versus__head { border-top: 0; padding-top: 0; font-family: var(--f-mono); font-size: 12px; }
.versus__head span:last-child { color: var(--p-ink); font-weight: 500; }
.versus__time { border-top: 2px solid var(--p-ink); font-size: clamp(22px, 2.2vw, 33px); letter-spacing: -.03em; font-weight: 500; padding-top: 13px; }
.versus__time span:first-child { color: var(--p-mute); text-decoration: line-through; text-decoration-thickness: 2px; }
.versus__time span:last-child { color: var(--p-ink); }
.problem__fig { grid-row: 2; }

/* the action, with its one line of promise */
.act__sub { margin: 10px 0 0; font-size: 15px; line-height: 1.4; color: var(--fg-body); max-width: 40ch; }
.act--band { display: grid; grid-template-columns: var(--cols); align-items: end; padding: var(--s43) 0 var(--s113); border-top: 1px solid var(--rule-strong); }
.act__lead { grid-column: 2 / 4; margin: 0; padding: 0 var(--gut); font-size: clamp(27px, 2.8vw, 43px); line-height: 1; letter-spacing: -.045em; word-spacing: .14em; font-weight: 500; }
.act--band .act__go { grid-column: 4 / 7; padding: 0 var(--gut); }
.btn { white-space: nowrap; }

/* pricing: Studio leads */
.plans { align-items: stretch; }
.plan { margin-top: var(--s43); }
.plan--main { margin-top: 0; padding-top: var(--s70); box-shadow: 0 0 0 1px var(--ink); }
.plan--main .plan__price b { font-size: clamp(70px, 7.6vw, 140px); }
.plan__flag { font-size: 14px; padding: 8px 16px; }
.plan__pp { font-weight: 500; }
.plan--main .plan__pp { color: var(--on-photo); }
.act--plan { margin-top: var(--s10); }
.act--plan .btn { width: 100%; }
.act--plan .act__sub { color: var(--night-fg-2); }
.plans__single { margin: 0; padding: var(--s20) var(--gut); border-top: 1px solid var(--rule-strong); font-size: 17px; color: var(--fg-body); }
.plans__single b { color: var(--fg); font-weight: 500; }
.credits { padding-bottom: var(--s27); }
.credits__list { grid-column: 3 / 7; }

/* objections, and the days-back calculator */
.sure { display: grid; grid-template-columns: var(--cols); align-items: start; padding-top: var(--s43); border-top: 1px solid var(--rule-strong); }
.sure__list { grid-column: 1 / 4; list-style: none; margin: 0; padding: 0 var(--gut); }
.sure__list li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 17px; line-height: 1.4; color: var(--fg-body); }
.sure__list li:first-child { border-top: 1px solid var(--rule); }
.sure__list b { color: var(--fg); font-weight: 500; margin-right: 6px; }
.calc { grid-column: 4 / 7; margin: 0 var(--gut); padding: var(--s20) var(--s27) var(--s20); background: var(--paper); color: var(--p-ink);
  box-shadow: var(--sx, 18px) var(--sy, 22px) 0 -6px rgba(var(--shadow), var(--sa, .07)); }
.calc__h { margin: 0 0 var(--s16); font-size: 27px; letter-spacing: -.04em; word-spacing: .14em; font-weight: 500; }
.calc__in { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s16); }
.calc__f { display: grid; gap: 6px; font-size: 14px; color: var(--p-mute); }
.calc__f input { width: 100%; height: 53px; padding: 0 12px; border: 1px solid var(--p-ink); border-radius: 0; background: #fff; color: var(--p-ink);
  font: 500 27px/1 var(--f-sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc__f input:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.calc__out { margin-top: var(--s20); border-top: 2px solid var(--p-ink); }
.calc__out p { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--p-rule); font-size: 15px; }
.calc__out span { color: var(--p-mute); }
.calc__out b { font-weight: 500; font-size: 33px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc__out p:first-child b { color: var(--p-ink); font-size: 43px; }
.calc__note { margin: 10px 0 0; font-family: var(--f-mono); font-size: 12px; color: var(--p-mute); }

/* phones: the docked action */
.dock { display: none; }


/* ==========================================================================
   NEXT STEP ON EVERY SCREEN; the action is always the brightest thing
   ========================================================================== */
.nav__sample { font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav__sample::after { content: "\2193"; margin-left: 6px; }
.act-row { position: relative; z-index: 4; background: var(--bg); display: grid; grid-template-columns: var(--cols); align-items: center;
  padding: var(--s27) 0; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); }
.act-row__lead { grid-column: 1 / 4; margin: 0; padding: 0 var(--gut); font-size: clamp(20px, 1.9vw, 27px); line-height: 1.2; letter-spacing: -.03em; word-spacing: .1em; font-weight: 500; }
.act-row .btn { grid-column: 4 / 6; justify-self: start; margin-left: var(--gut); }
.act-row__link { grid-column: 6 / 7; padding: 0 var(--gut); font-size: 16px; font-weight: 500; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.act-row__link::after { content: " \2193"; }
.act-row__link:hover { text-decoration-thickness: 2px; }

/* what happens after you message */
.next { display: grid; grid-template-columns: var(--cols); padding: var(--s86) 0 var(--s86); border-top: 1px solid var(--rule-strong); }
.next__h { grid-column: 1 / 3; margin: 0; padding: 0 var(--gut); font-size: clamp(27px, 2.8vw, 43px); line-height: 1; letter-spacing: -.045em; word-spacing: .14em; font-weight: 500; }
.next__steps { grid-column: 3 / 7; list-style: none; margin: 0; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s27); }
.next__steps li { border-top: 2px solid var(--fg); padding-top: var(--s13); }
.next__steps b { display: block; font-size: clamp(43px, 4.4vw, 70px); line-height: .9; letter-spacing: -.05em; font-weight: 500; margin-bottom: var(--s13); font-variant-numeric: tabular-nums; }
.next__steps p { margin: 0; font-size: 17px; line-height: 1.4; color: var(--fg-body); max-width: 26ch; }

/* the ending is the action itself */
.end__big { white-space: normal; font-size: clamp(56px, 11.4vw, 210px); line-height: .86; max-width: 11ch; }

/* ==========================================================================
   TABLET
   ========================================================================== */
@media (max-width: 1100px) {
  .nav { grid-template-columns: 1fr auto auto; }
  .nav__cell:not(.nav__home):not(.nav__cta) { display: none; }
  .nav__cta { padding: 0 var(--s20); gap: 13px; }
  .dial { display: none; }
  .nav__menu { display: flex; align-items: center; padding: 0 var(--s20); border: 0; border-left: 1px solid var(--rule); background: transparent; font-size: 13px; cursor: pointer; }
  .how__cols { grid-template-columns: 1fr 1fr 1fr; }
  .how__col { min-height: 300px; border-bottom: 1px solid var(--rule); }
  .how__col:nth-child(3n+1) { border-left: 0; }
  .room, .cost { grid-template-columns: 1fr; }
  .stages { border-left: 0; padding-left: 0; }
  .credits { row-gap: var(--s20); }
  .credits__lead { grid-column: 1 / -1; }
  .cover { grid-template-columns: 1fr; min-height: 0; }
  .pindex { grid-column: 1 / -1; position: static; display: flex; flex-wrap: wrap; margin-bottom: var(--s20); }
  .pindex a { padding: 8px 13px; border-left: 1px solid var(--rule); }
  .pindex a.is-on { padding-left: 11px; }
  .pindex span { display: none; }
  .sheets { grid-column: 1 / -1; padding: 0 var(--gut); }
  .credits__list { grid-column: 1 / 5; }
  .credits .btn { grid-column: 5 / 7; }
}

/* ==========================================================================
   PHONE
   ========================================================================== */
@media (max-width: 760px) {
  :root { --cols: 113fr 183fr; --gut: 16px; --s113: 70px; --s183: 113px; }
  .rules i:nth-child(n+2) { display: none; }
  .nav__mark { font-size: 14px; }
  .nav__cta { padding: 0 var(--s13); }
  .nav__menu { padding: 0 var(--s13); }
  .dial { display: none; }

  .mark__word { font-size: 19vw; line-height: .8; }

  .hero { align-items: end; padding-bottom: var(--s33); }
  .hero__copy, .problem__p, .cap__box, .cap--flat .cap__box, .h2, .sec-head--row .h2,
  .maths__head, .tape, .pindex, .sheets, .faq__h, .faq__list, .credits__lead, .credits__list,
  .end__p, .foot > * { grid-column: 1 / -1; }
  .hero__h1 { font-size: 15vw; }
  .hero__sub { font-size: 16px; margin-bottom: var(--s20); }
  .hero__ctas .btn { flex: 1 1 0; min-width: 0; padding: 0 13px; gap: 8px; font-size: 15px; }
  .readout { left: var(--gut); right: auto; top: calc(var(--nav-top-px, 0px) + var(--nav-h) + 10px); bottom: auto; }

  .problem { min-height: 120vh; }
  .problem__per { padding-left: var(--gut); }
  .cap { min-height: 130vh; align-items: end; padding-bottom: 8vh; }
  .cap--read { min-height: 170vh; }
  .cap--read .cap__box { top: auto; bottom: 6vh; position: sticky; margin-top: 60vh; }
  .cap__box { background: color-mix(in srgb, var(--c0) 86%, transparent); padding-top: 13px; padding-bottom: 16px; }
  .cap--flat .cap__box { background: transparent; padding-left: calc(var(--gut) + 16px); margin-top: 30vh; }
  .run__paper { left: 8px; right: 8px; padding: 14px 16px; }
  .run__paper span:nth-child(2) { display: none; }
  .run__paper::after { left: 16px; right: 16px; top: 40px; }
  .lbl span { display: none; }
  .lbl { font-size: 8px; }
  .lbl b { letter-spacing: .03em; }
  .ctable .total td { white-space: nowrap; font-size: 17px; }
  .tape__row { height: auto; min-height: 33px; padding: 6px 0; align-items: baseline; }
  .tape__k { flex: 1 1 auto; }
  .tape__v { flex: 0 0 auto; text-align: right; }

  .sec-head { padding: var(--s70) 0 var(--s43); }
  .pindex { position: static; grid-template-columns: repeat(4, auto); overflow-x: auto; margin-bottom: var(--s20); gap: 0; }
  .pindex a { padding: 8px 10px; border-left: 1px solid var(--rule); }
  .pindex a.is-on { padding-left: 8px; }
  .pindex span { display: none; }
  .sheets { padding: 0 var(--gut); gap: var(--s27); }
  .pg { padding: var(--s16) var(--s16) var(--s27); }
  .pg__run { margin-bottom: var(--s27); }
  .pg__run span:nth-child(2) { display: none; }
  .cover { grid-template-columns: 1fr; min-height: 0; gap: var(--s27); }
  .cover__meta div { grid-template-columns: 8.4em 1fr; font-size: 13px; }
  .room { gap: var(--s20); }
  .ctable { font-size: 13px; }
  .ctable th:nth-child(3), .ctable td:nth-child(3) { display: none; }
  .ctable tfoot th { }
  .gantt { --gl: 92px; }
  .gantt__row { height: 52px; font-size: 12px; line-height: 1.2; }
  .gantt__weeks span:not(.gantt__lbl) { padding-left: 1px; font-size: 9px; }
  .gantt__row i { font-size: 0; }
  .signoff { flex-direction: column; align-items: start; }
  .signoff__by { text-align: left; }

  .how__cols { grid-template-columns: 1fr; }
  .how__col { min-height: 0; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; padding: var(--s20) var(--gut); }
  .how__v { grid-column: 1; }
  .how__p { grid-column: 2; grid-row: 1 / 3; }
  .how__art { grid-column: 1; }
  .how__art--big { font-size: 33px; }

  .lang__row { grid-template-columns: 1fr; min-height: 0; padding: var(--s16) 0; }
  .lang__say, .lang__does { grid-column: 1; padding-top: 4px; padding-bottom: 4px; }
  .lang__say { font-size: 27px; }
  .lang__say--deva { font-size: 26px; }
  .lang__note { margin-left: 0; }

  .maths { row-gap: var(--s43); padding: var(--s70) 0; }
  .tape { padding: var(--s16); font-size: 12px; }

  .walk__head { width: 100%; top: calc(var(--nav-h) + var(--s27)); }
  .walk__shade { background: linear-gradient(180deg, rgba(var(--photo-shade),.82) 0%, rgba(var(--photo-shade),.5) 45%, rgba(var(--photo-shade),.15) 70%, rgba(var(--photo-shade),.6) 100%); }
  .walk__index { display: none; }
  .walk__card { left: var(--gut); right: var(--gut); width: auto; bottom: var(--s20); }
  .walk__f img { transform: scale(1.3); transform-origin: 46% 32%; }

  .bill { grid-column: 1 / -1; justify-self: start; margin-top: var(--s20); }
  .plans { grid-template-columns: 1fr; }
  .plan { grid-column: 1; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--rule-strong); }
  .credits { row-gap: var(--s20); }
  .credits__list { grid-template-columns: 1fr; }
  .credits .btn { grid-column: 1 / -1; }

  .faq { row-gap: var(--s27); }
  .faq__h { position: static; }
  .end { padding-top: var(--s113); }
  .end__row { row-gap: var(--s27); }
  .end__row .btn { grid-column: 1 / -1; justify-self: stretch; min-width: 0; }
  .btn--big { height: 60px; font-size: 18px; }
  .foot__by { align-self: start; }
}


/* fix round, phone */
@media (max-width: 760px) {
  .problem__p { grid-column: 1 / -1; margin: 0 var(--gut); font-size: 19px; }
  p.how__art.how__art--big { font-size: 33px; }
  .problem { min-height: 110vh; }
  .cap__h { font-size: 40px; }
  .cap__p { font-size: 17px; }
  .how__p, .faq details p, .end__p, .walk__p, .plan__facts div, .credits__list div,
  .room__scope li, .cover__meta div, .stages__list li, .foot { font-size: 15px; }
  .hero__sub { font-size: 17px; }
  .ctable { font-size: 14px; }
  .labels { display: none; }
  .tape { font-size: 12px; }
  .gantt__row { font-size: 13px; }
}


/* rooms and photographs, phone */
@media (max-width: 1100px) {
  .sec-head--phone .h2 { grid-column: 1 / -1; padding-bottom: 0; }
  .mono { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .mono { width: 280px; }
  .mono__screen { height: 540px; }
  .rooms__pin { height: auto; }
  .rooms__track { flex-direction: column; width: auto; }
  .rooms__intro { width: auto; padding: var(--s70) var(--gut) var(--s43); }
  .panel { width: auto; height: auto; padding-top: 0; border-left: 0; border-top: 1px solid rgba(var(--shadow), .25); }
  .panel__fig { flex: none; }
  .panel__fig .ph { flex: none; aspect-ratio: 4 / 3; }
  .ph--panel { --fbw: 205%; }
  .panel__block { padding: var(--s16) var(--gut) var(--s27); row-gap: 0; }
  .panel__scope { grid-template-columns: 1fr; }
  .panel__key { width: 92px; height: 71px; }
  .panel__word { font-size: 53px; margin-top: var(--s27); }
  .problem__fig, .maths__fig { grid-column: 1 / -1; }
  .problem__fig { grid-row: 2; }
  .problem__p { grid-row: 3; }
  .maths__fig { grid-row: 2; }
  .tape { grid-row: 3; }
  .problem { min-height: 140vh; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .rooms__intro, .panel { width: 72vw; }
}


/* conversion pass, tablet and phone */
@media (max-width: 1100px) {
  .nav__cta { grid-column: auto; }
  .sure__list, .calc { grid-column: 1 / -1; }
  .calc { margin-top: var(--s27); }
  .act--band .act__lead, .act--band .act__go { grid-column: 1 / -1; }
  .act--band { row-gap: var(--s20); }
}
@media (max-width: 760px) {
  .nav__cta { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .hero__h1 { font-size: 11.6vw; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { flex: none; width: 100%; height: 50px; font-size: 16px; padding: 0 16px; }
  .proof-slot { margin-top: 13px; }
  .versus { grid-column: 1 / -1; grid-row: 3; padding: var(--s16); }
  .versus__row { font-size: 15px; column-gap: var(--s16); }
  .problem__fig { grid-row: 4; margin-top: var(--s20); }
  .plan { margin-top: 0; }
  .plan--main { order: -1; padding-top: var(--s53); }
  .plan--main .plan__price b { font-size: 70px; }
  .credits__list { grid-column: 1 / -1; }
  .act--band { padding-bottom: var(--s70); }
  .act--band .btn, .end__row .btn { white-space: normal; text-align: left; }
  .calc { padding: var(--s16); }
  .calc__in { grid-template-columns: 1fr; }
  .dock {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 45; height: 52px; padding: 0 16px;
    background: var(--signal); color: var(--on-signal); font-size: 16px; font-weight: 500; text-decoration: none;
    box-shadow: 0 6px 20px rgba(var(--shadow), .18);
    transform: translateY(140%); transition: transform .35s var(--ease);
  }
  .dock::after { content: "\2197"; }
  .dock.is-on { transform: none; }
}


/* next step rows, phone and tablet */
@media (max-width: 1100px) {
  .act-row { row-gap: var(--s16); }
  .act-row__lead { grid-column: 1 / -1; }
  .act-row .btn { grid-column: 1 / 4; }
  .act-row__link { grid-column: 4 / 7; justify-self: end; }
  .next__h, .next__steps { grid-column: 1 / -1; }
  .next { row-gap: var(--s27); }
}
@media (max-width: 760px) {
  .act-row .btn { grid-column: 1 / -1; margin: 0 var(--gut); justify-self: stretch; white-space: normal; }
  .act-row__link { grid-column: 1 / -1; justify-self: start; }
  .next__steps { grid-template-columns: 1fr; gap: var(--s20); }
  .end__big { font-size: 15.5vw; margin-left: 0; padding: 0 var(--gut); }
  .end__bg img { object-position: 72% 40%; }
}

/* ==========================================================================
   REDUCED MOTION: a readable static page
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .sun, .dial { display: none; }
  .mark { position: relative; }
  .nav { position: sticky; top: 0; }
  .run { display: flex; flex-direction: column; }
  .run__content { display: contents; }
  .hero { order: 1; }
  .run__stage { order: 2; position: relative; height: auto; }
  .problem, .cap { order: 3; }
  .run__canvas, .labels, .readout { display: none; }
  .run__fallback { display: block; position: relative; right: auto; top: auto; width: min(900px, 92vw); margin: var(--s43) auto 0; }
  .run__content { margin-top: 0; }
  .hero { min-height: 0; padding-top: var(--s43); }
  .problem, .cap, .cap--read, .cap--flat { min-height: 0; padding: var(--s70) 0; }
  .cap--read .cap__box { position: static; }
  .walk__pin { height: auto; }
  .walk__frames { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2px; padding-top: 360px; }
  .walk__f { position: relative; opacity: 1; aspect-ratio: 16 / 10; }
  .walk__shade, .walk__index, .walk__card { display: none; }
  .rooms__pin { height: auto; }
  .rooms__track { width: auto; flex-wrap: wrap; }
  .rooms__intro { width: 100%; }
  @media (min-width: 761px) {
    .panel { width: 50%; height: auto; min-height: 760px; }
    .panel__fig { flex: none; height: 440px; }
  }
}
