/* Booths Building Services — "More house. Same street."
   One fixed stage (the house, then the room it made) that the page travels past.
   Register: booths-livery (scrollcraft.json). Tokens first; nothing below uses a literal colour. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Grounds */
  --sky: #F2F3F7;                      /* the overcast sky in the pictures: ground of the daylight acts */
  --night: #17171B;                    /* the van's charcoal, taken down to night: ground of everything after */
  /* Ink on sky, chalk on night. Secondary text is the same ink, never a grey of its own. */
  --ink: #17171B;
  --ink-2: rgba(23, 23, 27, .74);
  --ink-rule: rgba(23, 23, 27, .16);
  --chalk: #F2F0EA;
  --chalk-2: rgba(242, 240, 234, .72);
  --chalk-rule: rgba(242, 240, 234, .16);
  /* Brand, from the van */
  --purple: #704E8C;                   /* the hexagon: every call button */
  --purple-hi: #7F5C9C;
  --green: #76C259;                    /* the lettering: new work, drawn on the house */
  --on-purple: #FFFFFF;
  --hold: #FFD76A;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(20px, 4.4vw, 72px);
  --head-h: 76px;
  --pill: 999px;
  --focus: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: rgba(23, 23, 27, .45) transparent;
  scroll-padding-top: 0;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--purple);
}
::selection { background: var(--purple); color: var(--on-purple); }
img, svg { display: block; max-width: none; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 400; }
p { margin: 0; text-wrap: pretty; }
dl, dd, ol { margin: 0; }
strong { font-weight: 650; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }

[hidden] { display: none !important; }
/* Call-back first once a form is connected (or on a preview link); call-first otherwise */
html:not([data-contact]) [data-c="cb"], html[data-contact] [data-c="call"] { display: none !important; }
html.has-dialog { overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: .7rem 1.1rem; border-radius: var(--pill);
  background: var(--ink); color: var(--chalk); text-decoration: none; font-size: 15px; font-weight: 600;
}
.skip:focus { top: 12px; }
.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ------------------------------------------------------------- type scale
   Eight steps. The big sizes are light and set tight, the way an architect's
   drawing titles are; weight comes back as the size comes down. Display tracks in
   as it grows; labels track out; body sits at zero. */
h1 {
  font-size: clamp(46px, min(8.6vw, 14.2vh), 148px);
  line-height: .94; letter-spacing: -.04em; font-weight: 380; font-stretch: 100%;
}
h1 .l { display: block; }
h2 {
  font-size: clamp(34px, min(5.2vw, 8.6vh), 84px);
  line-height: .98; letter-spacing: -.035em; font-weight: 400; font-stretch: 100%;
}
h3 {
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.1; letter-spacing: -.02em; font-weight: 500; font-stretch: 100%;
}
.lede { font-size: clamp(17px, 1.32vw, 20px); line-height: 1.5; font-weight: 400; }
.label, dt {
  font-size: 12px; line-height: 1.3; font-weight: 650; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: .14em;
}
.small { font-size: 13px; line-height: 1.45; font-weight: 500; }

/* ------------------------------------------------------------------ links */
.more {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: .5rem;
  font-size: 15px; font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px;
  transition: opacity .2s ease-in-out;
}
.more:hover { opacity: .72; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px 0 22px; border: 0; border-radius: var(--pill);
  background: var(--purple); color: var(--on-purple);
  font: 600 15px/1 var(--font);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease-in-out, transform .5s var(--ease);
}
.btn:hover { background: var(--purple-hi); }
.btn:active { transform: scale(.98); }
.btn-quiet { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-quiet:hover { background: var(--ink-rule); }

/* ----------------------------------------------------------------- header */
.head {
  position: fixed; inset: 0 0 auto; z-index: 20; height: var(--head-h);
  display: flex; align-items: center; gap: 2.5rem;
  padding: 0 var(--gutter);
  color: var(--ink);
  transition: color .3s ease-in-out;
}
.head[data-tone="chalk"] { color: var(--chalk); --focus: var(--chalk); }
.head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--night); border-bottom: 1px solid var(--chalk-rule);
  opacity: 0; transition: opacity .3s ease-in-out;
}
.head[data-solid="yes"]::before { opacity: 1; }
.head::after {
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -2; pointer-events: none;
  background: linear-gradient(to bottom, rgba(242, 243, 247, .82) 0%, rgba(242, 243, 247, .5) 60%, rgba(242, 243, 247, 0) 100%);
  opacity: var(--scrim, 1);
  transition: opacity .3s ease-in-out;
}
/* over the dusk the backdrop turns to night instead, so chalk holds its contrast
   through the crossfade */
.head[data-tone="chalk"]::after {
  opacity: var(--nscrim, 0);
  background: linear-gradient(to bottom, rgba(14, 14, 17, .5) 0%, rgba(14, 14, 17, .24) 60%, rgba(14, 14, 17, 0) 100%);
}
.brand { position: relative; display: block; width: 172px; height: 47px; flex: none; }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .3s ease-in-out; }
.brand-chalk { opacity: 0; }
.head[data-tone="chalk"] .brand-ink { opacity: 0; }
.head[data-tone="chalk"] .brand-chalk { opacity: 1; }
.nav { display: flex; gap: 1.9rem; margin-left: auto; }
.nav a {
  font-size: 15px; font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding: 4px 0; transition: background-size .4s var(--ease);
}
.nav a:hover { background-size: 100% 1.5px; }
.head-call {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  min-height: 44px; padding: 0 20px 0 16px; border-radius: var(--pill);
  background: var(--purple); color: var(--on-purple);
  font-size: 15px; font-weight: 600; text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: background-color .2s ease-in-out, opacity .3s ease-in-out, transform .5s var(--ease), visibility 0s;
}
.head-call:hover { background: var(--purple-hi); }
.head-call .ico { width: 16px; height: 16px; }
.head-call-s, .head-call-t { display: none; }
button.head-call, button.more { border: 0; font-family: inherit; cursor: pointer; }
button.more { padding: 0; background: none; color: inherit; }
/* "or call 0113 268 7345": the number, kept close but second */
.alt-call {
  display: inline-flex; align-items: center; min-height: 52px;
  font-size: 15px; font-weight: 600; color: inherit;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px;
  transition: opacity .2s ease-in-out;
}
.alt-call:hover { opacity: .72; }

/* ------------------------------------------------------------------ stage */
/* One canvas, drawn from the source pictures every frame the view changes: the
   house (with the pieces built back in, the green outlines and the dusk), and the
   kitchen through its doors. It is sized to the large viewport so the picture
   never jumps when a phone's address bar comes and goes. */
.stage {
  position: fixed; left: 0; top: 0; z-index: 0;
  width: 100%; height: 100vh; height: 100lvh;
  overflow: hidden; background: var(--sky);
  contain: strict;
}
.stage-canvas {
  position: absolute; left: 0; top: 0; display: block;
  opacity: 0; transition: opacity 1.1s var(--ease);
}
.stage.is-ready .stage-canvas { opacity: 1; }
.vh-probe { position: fixed; left: 0; top: 0; width: 0; height: 100vh; height: 100lvh; visibility: hidden; pointer-events: none; }

/* Layers above the picture: transform and opacity only, so they stay on the GPU */
.ground, .loft-plate, .veil, .callout { will-change: transform, opacity; }
.ground { position: absolute; inset: 0; background: var(--night); opacity: 0; transform: translateY(100%); }
.loft-plate {
  position: absolute; right: var(--gutter); top: 50%;
  width: min(36vw, 62vh); aspect-ratio: 1800 / 2240;
  margin-top: calc(min(36vw, 62vh) * -0.6222);
  overflow: hidden; opacity: 0;
}
/* built up from the bottom like everything else on the page */
.plate-in { position: absolute; inset: 0; overflow: hidden; }
.plate-in img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 100%; }
.veil {
  position: absolute; inset: 0; opacity: 0;
  background:
    linear-gradient(to bottom, rgba(242, 243, 247, .5) 0, rgba(242, 243, 247, 0) 120px),
    linear-gradient(to top, rgba(14, 14, 17, .86) 0%, rgba(14, 14, 17, .62) 26%, rgba(14, 14, 17, 0) 56%),
    linear-gradient(to right, rgba(14, 14, 17, .38) 0%, rgba(14, 14, 17, 0) 48%);
}
.callout {
  position: absolute; left: 0; top: 0; opacity: 0;
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-size: 13px; font-weight: 550; white-space: nowrap;
}
.callout i { position: relative; width: 9px; height: 9px; border-radius: var(--pill); background: var(--ink); flex: none; }
.callout i::after {
  content: ""; position: absolute; left: 9px; top: 4px; width: 22px; height: 1.5px; background: var(--ink);
  transform-origin: 0 50%; transform: scaleX(var(--lead, 1));
}
.callout span { margin-left: 26px; }
/* Outside the stage so on phones it keeps to the visible bottom edge as the
   browser's toolbars come and go; the night bands roll over it. */
.imp {
  position: fixed; right: var(--gutter); bottom: 18px; z-index: 1; pointer-events: none;
  padding: 4px 11px; border-radius: var(--pill);
  background: rgba(23, 23, 27, .66); color: var(--chalk);
  font-size: 12px; font-weight: 550; letter-spacing: .01em;
  transition: opacity .3s ease-in-out;
}
.stage[data-imp="off"] ~ .imp { opacity: 0; }

/* Headlines rise line by line out of their own masks */
.ln { display: block; overflow: hidden; padding: .06em 0 .12em; margin: -.06em 0 -.12em; }
.ln-in { display: block; }

/* ------------------------------------------------------------------- acts */
main { position: relative; z-index: 1; }
.act { position: relative; }
.act-hero { height: 170vh; }
.act-grow { height: 330vh; }
.act-inside { height: 460vh; }
.act-upstairs { height: 200vh; }
.act-close { height: 280vh; }
/* Each act starts the moment the one before lets go, so no scroll is spent on a
   pin sliding away: the next act overlaps the last screen of the one before. */
.act-grow, .act-inside, .act-upstairs { margin-top: -100vh; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; pointer-events: none; }
.copy { pointer-events: auto; }
.anchor { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; }
.copy { position: absolute; left: var(--gutter); right: var(--gutter); }
.js .copy { opacity: 0; will-change: auto; }

/* Act 1 */
.copy-hero { top: calc(var(--head-h) + clamp(20px, 7vh, 100px)); }
.copy-hero h1 { max-width: 12ch; }
.copy-hero .lede { margin-top: clamp(18px, 3.4vh, 34px); max-width: 38ch; color: var(--ink-2); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3.6vh, 36px); }
.js .copy-hero { opacity: 1; }

/* Act 2: heading left, words right, both in the sky above the house */
.copy-split {
  top: calc(var(--head-h) + clamp(12px, 4vh, 56px));
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 5vw, 6rem);
  align-items: end;
}
.copy-split h2 { max-width: 11ch; }
.copy-body { max-width: 44ch; color: var(--ink-2); padding-bottom: .3rem; }
.copy-body .more { color: var(--ink); }

/* Act 4: on the room itself */
.copy-inside {
  bottom: clamp(36px, 9vh, 104px); right: auto; max-width: min(40rem, calc(100vw - 2 * var(--gutter)));
  color: var(--chalk); --focus: var(--chalk);
}
.copy-inside p { margin-top: 1.1rem; max-width: 46ch; color: var(--chalk-2); }
.copy-inside .more { color: var(--chalk); }

/* Act 5 */
.copy-up {
  top: 50%; transform: translateY(-50%); right: auto;
  width: min(30rem, calc(100vw - 2 * var(--gutter) - min(36vw, 62vh) - 4rem));
  color: var(--chalk);
}
.copy-up p { margin-top: 1.1rem; color: var(--chalk-2); max-width: 34ch; }

/* Act 6 */
.copy-close { top: calc(var(--head-h) + clamp(12px, 6vh, 80px)); color: var(--chalk); --focus: var(--chalk); }
.copy-close h2 { max-width: 13ch; }
.copy-close > p:not(.sr-only) { margin-top: 1.1rem; color: var(--chalk-2); max-width: 40ch; }
.tel-big {
  display: inline-flex; align-items: center; gap: .24em; margin-top: clamp(18px, 3.4vh, 34px);
  font-size: clamp(30px, min(4.4vw, 7.4vh), 68px); font-weight: 420; font-stretch: 100%;
  letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums;
  text-decoration: none; color: var(--chalk);
  padding: .26em 0 .16em; border-bottom: 2px solid var(--green);
  transition: border-color .2s ease-in-out;
}
.tel-big .ico { width: .62em; height: .62em; color: var(--green); }
.tel-big:hover { border-color: var(--chalk); }
.close-cb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; margin-top: clamp(18px, 3.4vh, 34px); }
.btn-big { min-height: 64px; padding: 0 32px 0 28px; gap: 12px; font-size: 18px; }
.btn-big .ico { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- process */
.process, .after, .foot {
  position: relative; z-index: 2;
  background: var(--night); color: var(--chalk); --focus: var(--chalk);
}
.process {
  padding: clamp(96px, 16vh, 200px) var(--gutter) clamp(80px, 13vh, 160px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px);
}
.process-head { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: end; }
.process-head h2 { grid-column: 1 / 7; }
.process-head p { grid-column: 8 / 13; color: var(--chalk-2); max-width: 40ch; }
.steps {
  grid-column: 8 / 13; grid-row: 2; list-style: none; padding: 0;
  margin-top: clamp(56px, 9vh, 112px);
}
/* each step holds long enough for its part of the drawing to go up */
.steps li { padding: clamp(28px, 4.4vh, 48px) 0; min-height: min(60vh, 560px); border-top: 1px solid var(--chalk-rule); }
.steps li:last-child { border-bottom: 1px solid var(--chalk-rule); min-height: 0; padding-bottom: clamp(48px, 9vh, 96px); }
.step-body { display: grid; gap: .9rem; margin-top: 1.1rem; color: var(--chalk-2); max-width: 46ch; }
.step-body strong { color: var(--chalk); }

/* The section drawing: the house as it stands in chalk, everything new in green.
   Pen weights stay the same at any size; hatching scales with the drawing. */
.sec {
  grid-column: 1 / 7; grid-row: 2; align-self: start;
  position: sticky; top: calc(var(--head-h) + clamp(24px, 9vh, 112px));
  margin: clamp(56px, 9vh, 112px) clamp(8px, 2vw, 40px) 0 0;
}
.sec-box { position: relative; }
.sec-dwg { display: block; width: 100%; height: auto; overflow: visible; }
.sec-l, .sec-in, .sec-lead { position: absolute; }
.sec-l { overflow: hidden; }
.sec-lead { inset: 0; }
.sec-in .sec-dwg, .sec-lead .sec-dwg { position: absolute; inset: 0; height: 100%; }
.sec-dwg path { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: miter; }
.sec-dwg pattern path, .sec-dwg pattern circle { vector-effect: none; }
.sec-dwg .underlay { fill: var(--night); }
.sec-dwg .hatch, .sec-dwg .fill { stroke: none; }
.sec-dwg .hl { stroke: var(--green); stroke-width: 1.8; opacity: .62; }
.sec-dwg .hl.x { stroke: var(--chalk); opacity: .32; }
.sec-dwg .hl.e { stroke: var(--chalk); opacity: .16; }
.sec-dwg .hd { fill: var(--green); opacity: .62; }
.sec-dwg .hd.x { fill: var(--chalk); opacity: .32; }
.sec-dwg .n { stroke: var(--green); }
.sec-dwg .x { stroke: rgba(242, 240, 234, .5); }
.sec-dwg .w1 { stroke-width: .9px; }
.sec-dwg .w2 { stroke-width: 1.3px; }
.sec-dwg .w3 { stroke-width: 1.8px; }
.sec-dwg .dash { stroke-dasharray: 5 4; }
.sec-dwg .f-screed { fill: var(--green); fill-opacity: .32; }
.sec-dwg .f-timber { fill: var(--green); fill-opacity: .16; }
.sec-dwg .f-metal { fill: var(--green); fill-opacity: .4; }
.sec-dwg .f-glass { fill: var(--green); fill-opacity: .12; }
.sec-dwg .f-steel { fill: var(--green); fill-opacity: .75; }
.sec-dwg .lead { stroke: var(--chalk-2); stroke-width: 1px; }
.sec-dwg .lead-dot { fill: var(--chalk); }
.sec-tags { position: absolute; inset: 0; pointer-events: none; }
.sec-tags .sec-dwg { overflow: visible; }
.sec-tag {
  position: absolute; transform: translate(10px, -50%); white-space: nowrap;
  color: var(--chalk); font-size: 13px; font-weight: 550; line-height: 1.2;
}
.sec-tag[data-side="l"] { transform: translate(calc(-100% - 10px), -50%); }
/* built from the ground up, a step at a time: each step's window rises over its
   part of the drawing while the drawing inside holds still (transform only, like
   the loft picture); the labels name what just went up */
.js .sec-l, .js .sec-in { will-change: transform; transition: transform 1.4s var(--ease), opacity .45s ease-in-out; }
.js .sec-l { opacity: 0; transform: translateY(100%); }
.js .sec-in { transform: translateY(calc(var(--h) * -1%)); }
.js .sec[data-step="1"] .sec-l[data-l="1"],
.js .sec[data-step="2"] .sec-l:is([data-l="1"], [data-l="2"]),
.js .sec[data-step="3"] .sec-l:is([data-l="1"], [data-l="2"], [data-l="3"]),
.js .sec[data-step="4"] .sec-l { opacity: 1; transform: none; }
.js .sec[data-step="1"] .sec-l[data-l="1"] .sec-in,
.js .sec[data-step="2"] .sec-l:is([data-l="1"], [data-l="2"]) .sec-in,
.js .sec[data-step="3"] .sec-l:is([data-l="1"], [data-l="2"], [data-l="3"]) .sec-in,
.js .sec[data-step="4"] .sec-in { transform: none; }
.sec-lead, .sec-tag { opacity: 0; transition: opacity .3s ease-in-out; }
.sec[data-step="0"] [data-for="0"], .sec[data-step="1"] [data-for="1"], .sec[data-step="2"] [data-for="2"],
.sec[data-step="3"] [data-for="3"], .sec[data-step="4"] [data-for="4"] { opacity: 1; transition-delay: .25s; }

/* ------------------------------------------------------------------ after */
.after { padding-top: clamp(80px, 13vh, 150px); display: flow-root; }
/* Before you call: a job sheet. One question at a time on the left; the sheet on the
   right fills in as each answer is tapped, in the green of new work. On phones the
   sheet sits above the question, so a tap and what it did are on screen together. */
.prep {
  padding: 0 var(--gutter) clamp(72px, 12vh, 140px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr;
  column-gap: clamp(16px, 2vw, 32px); align-items: start;
}
.prep-head { grid-column: 1 / 7; grid-row: 1; }
.prep-head p { margin-top: 1.1rem; color: var(--chalk-2); max-width: 38ch; }

/* the sheet: a drawing's title block, four lines and a footer */
.sheet {
  grid-column: 8 / 13; grid-row: 1 / span 2; align-self: start;
  position: sticky; top: calc(var(--head-h) + 32px);
  border: 1px solid rgba(242, 240, 234, .2); background: rgba(242, 240, 234, .035);
}
.sheet-top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 16px 20px; border-bottom: 1px solid rgba(242, 240, 234, .2);
}
.sheet-top .label { color: var(--chalk-2); }
.sheet-bars { display: flex; gap: 5px; }
.sheet-bars i { width: 22px; height: 3px; background: rgba(242, 240, 234, .16); transform-origin: 0 50%; }
.sheet-bars i.on { background: var(--green); animation: bar-fill .6s var(--ease) both; }
@keyframes bar-fill { from { transform: scaleX(0); } }
.rows { list-style: none; margin: 0; padding: 0; }
.row {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 14px; align-items: baseline;
  width: 100%; min-height: 60px; padding: 18px 20px; border: 0; border-bottom: 1px solid var(--chalk-rule);
  background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer;
  transition: background-color .2s ease-in-out, box-shadow .2s ease-in-out;
}
.row:hover { background: rgba(242, 240, 234, .035); }
.row:focus-visible { outline: 2px solid var(--chalk); outline-offset: -2px; }
.row.is-on { background: rgba(242, 240, 234, .07); box-shadow: inset 2px 0 0 var(--chalk); }
.row-k {
  color: var(--chalk-2); font-size: 12px; line-height: 1.3; font-weight: 650; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: .14em;
}
.row.is-on .row-k { color: var(--chalk); }
.row-v { font-size: clamp(17px, 1.32vw, 20px); line-height: 1.35; }
/* an empty line on the sheet: a short rule, waiting */
.row-v:empty::before { content: ""; display: inline-block; width: 18px; height: 1.5px; vertical-align: middle; background: rgba(242, 240, 234, .38); }
.row-v.is-set { color: var(--green); }
.row-v.is-new { animation: slot-rise .55s var(--ease) both; }
.row-v small { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; font-weight: 400; color: var(--chalk-2); }
@keyframes slot-rise { from { opacity: 0; transform: translateY(.45em); } }
.sheet-foot {
  display: flex; justify-content: space-between; gap: 1rem; padding: 12px 20px;
  color: rgba(242, 240, 234, .56); font-size: 12px; line-height: 1.3; font-weight: 650; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: .14em; flex-wrap: wrap;
}
/* narrower desktops and tablets: the sheet takes a column more */
@media (min-width: 761px) and (max-width: 1100px) {
  .sheet { grid-column: 7 / 13; }
  .row { grid-template-columns: 6.2rem minmax(0, 1fr); padding: 16px 18px; }
  .sheet-top, .sheet-foot { padding-left: 18px; padding-right: 18px; }
}

/* the questions, one at a time */
.asks, .done { grid-column: 1 / 7; grid-row: 2; margin-top: clamp(40px, 7vh, 72px); }
.q-count { color: var(--chalk-2); }
.q { margin: 12px 0 0; padding: 0; border: 0; min-width: 0; }
.q legend {
  float: left; width: 100%; padding: 0; color: var(--chalk);
  font-size: clamp(22px, 2.2vw, 32px); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; font-stretch: 100%;
}
.q:focus { outline: none; }
.q:focus-visible legend { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.opts { clear: both; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 22px; }
.opts label { position: relative; }
.opts input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; -webkit-appearance: none; appearance: none; border-radius: var(--pill); }
.opts span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px;
  border-radius: var(--pill); box-shadow: inset 0 0 0 1.5px rgba(242, 240, 234, .3);
  color: var(--chalk); font-size: 15px; font-weight: 600;
  transition: background-color .2s ease-in-out, color .2s ease-in-out, box-shadow .2s ease-in-out;
}
.opts label:hover span { box-shadow: inset 0 0 0 1.5px var(--chalk-2); }
.opts input:checked + span { background: var(--chalk); color: var(--ink); box-shadow: none; }
.opts input:focus-visible + span { outline: 2px solid var(--chalk); outline-offset: 3px; }
.opts-sm { padding-top: 4px; }
.opts-sm span { min-height: 44px; padding: 0 16px; font-size: 15px; }
.q-input {
  clear: both; display: block; width: min(100%, 24rem); min-height: 54px; margin-top: 0; padding: 0 22px;
  border: 0; border-radius: var(--pill); background: transparent; box-shadow: inset 0 0 0 1.5px rgba(242, 240, 234, .32);
  color: var(--chalk); font: 400 17px/1.4 var(--font); letter-spacing: .04em; text-transform: uppercase;
  transition: box-shadow .2s ease-in-out;
}
.q-input::placeholder { color: var(--chalk-2); letter-spacing: 0; text-transform: none; }
.q-input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--green); }
.q[data-q="where"] legend { margin-bottom: 22px; }
.q-note { clear: both; margin-top: 16px; color: var(--chalk-2); max-width: 40ch; }
.q-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 24rem; margin-top: 28px; min-height: 52px; }
.q-back, .q-on, .done-share {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--chalk-2); font: 600 15px/1 var(--font);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px;
  transition: color .2s ease-in-out, background-color .2s ease-in-out;
}
.q-back:hover, .q-on:hover, .done-share:hover { color: var(--chalk); }
.prep[data-step="job"] .q-back { visibility: hidden; }
/* once there's an answer, Skip becomes Next */
.q-on.is-next {
  min-height: 50px; padding: 0 24px; border-radius: var(--pill);
  background: var(--chalk); color: var(--ink); text-decoration: none;
}
.q-on.is-next:hover { background: #fff; color: var(--ink); }
.js .q:not(.is-on) { display: none; }
.js .q.is-on { animation: q-in .45s var(--ease) both; }
@keyframes q-in { from { opacity: 0; transform: translateY(10px); } }
.js .prep[data-step="done"] .asks, .js .prep:not([data-step="done"]) .done { display: none; }

/* the end of the sheet: the call */
.done:focus { outline: none; }
.done-h { color: var(--chalk-2); }
.js .done { animation: q-in .45s var(--ease) both; }
.done-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.done-acts { align-items: center; }
.done-more { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; margin-top: 14px; color: var(--chalk-2); }
.done-share { color: var(--chalk); }
.done-note { font-size: 15px; }

/* call-back: once a form service is connected, or marked as a preview */
/* Request a call back: one form for the page, in a panel that slides in from the
   right (up from the bottom on phones), on the night ground */
.contact {
  position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0;
  width: min(36rem, 100vw); max-width: none; height: 100%; max-height: none;
  border: 0; border-left: 1px solid rgba(242, 240, 234, .14);
  background: var(--night); color: var(--chalk); overflow: auto; overscroll-behavior: contain;
  --focus: var(--chalk);
}
.contact[open] { animation: drawer-in .5s var(--ease) both; }
.contact::backdrop { background: rgba(10, 10, 12, .62); animation: fade-in .3s ease-in-out both; }
@keyframes drawer-in { from { transform: translateX(100%); } }
@keyframes fade-in { from { opacity: 0; } }
.contact-in { position: relative; min-height: 100%; padding: clamp(28px, 6vh, 56px) clamp(22px, 3vw, 44px) 44px; }
.contact-x {
  position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: var(--pill); background: rgba(242, 240, 234, .08); color: var(--chalk); cursor: pointer;
  transition: background-color .2s ease-in-out;
}
.contact-x:hover { background: rgba(242, 240, 234, .16); }
.contact-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.contact-form { display: grid; gap: 22px; }
.contact h2 { padding-right: 52px; font-size: clamp(34px, 3.2vw, 46px); }
.contact h2:focus { outline: none; }
.contact-lede { margin-top: -8px; color: var(--chalk-2); max-width: 38ch; }
.contact .opts-sm { padding-top: 2px; }
.contact-sheet { padding: 14px 16px; border: 1px solid rgba(242, 240, 234, .2); color: var(--chalk-2); font-size: 15px; line-height: 1.45; }
.contact-sheet strong { color: var(--chalk); font-weight: 600; }
.contact-tel { color: var(--chalk-2); }
.contact-tel a { color: var(--chalk); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.contact .cb-sent { padding-top: 8px; }
.contact .cb-sent h2 { margin-bottom: .2rem; }
.cb-demo, .mail > .label { display: flex; align-items: baseline; gap: 10px; }
.cb-demo { color: var(--chalk-2); font-size: 13px; font-weight: 550; }
.cb-demo .hold { flex: none; margin: 0; }
.cb-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.cb-sent:focus { outline: none; }
.cb-sent > p { margin-top: .8rem; color: var(--chalk-2); max-width: 40ch; }
.cb-sent > p.cb-done { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; max-width: none; }
.cb-sent .cb-demo { margin-top: 1rem; }
/* what Booths would get: shown on previews in place of sending */
.mail { margin-top: clamp(24px, 4vh, 36px); max-width: 30rem; }
.mail > .label { color: var(--chalk-2); }
.mail-card {
  margin-top: 12px; padding: 18px 20px 20px;
  background: var(--chalk); color: var(--ink); box-shadow: 0 18px 44px rgba(0, 0, 0, .35);
}
.mail-from { color: var(--ink-2); font-size: 13px; font-weight: 550; }
.mail-sub { margin-top: 4px; font-size: 17px; font-weight: 600; line-height: 1.3; }
.mail-card dl { margin-top: 12px; }
.mail-card dl > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--ink-rule); }
.mail-card dt { color: var(--ink-2); }
.mail-card dd { margin: 0; font-size: 15px; line-height: 1.4; }
.prep .ready-holds { grid-column: 1 / -1; margin-top: clamp(40px, 7vh, 72px); }
.ready-list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px);
}
.ready-list > div { padding-top: 1rem; border-top: 1px solid var(--chalk-rule); }
.ready-list dt { color: var(--chalk-2); }
.ready-list dd { margin-top: .6rem; color: var(--chalk-2); max-width: 30ch; }
.ready-holds { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }

/* The livery, run full width: its twelve stripes edge to edge, the b² hexagon
   seated on them at the content edge, as it sits in the livery. Stripe and
   hexagon positions come from the logo artwork (stripes 0-721.9 units, hexagon 58.4-663.6). */
.livery { position: relative; height: clamp(92px, 11.5vw, 168px); }
.livery-stripes { position: absolute; inset: 0; width: 100%; height: 100%; }
.livery-stripes rect { transform-box: fill-box; transform-origin: 0 50%; transition: transform 1.6s var(--ease) calc(.18s + var(--i) * 45ms); }
.livery-mark { position: absolute; left: var(--gutter); top: 7.26%; height: 85.5%; width: auto; transition: opacity .8s var(--ease), transform 1.1s var(--ease); }
.js .livery:not(.is-in) .livery-stripes rect { transform: scaleX(0); }
.js .livery:not(.is-in) .livery-mark { opacity: 0; transform: scale(.94); }
.signoff {
  padding: clamp(40px, 7vh, 72px) var(--gutter) clamp(72px, 12vh, 140px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: end;
}
.signoff h2 { grid-column: 1 / 7; }
.signoff p { grid-column: 8 / 13; color: var(--chalk-2); max-width: 36ch; }

/* ----------------------------------------------------------------- footer */
.foot {
  padding: 36px var(--gutter) 40px; border-top: 1px solid var(--chalk-rule);
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 3rem; align-items: center;
}
.foot img { width: 160px; height: auto; }
.foot-facts { display: flex; flex-wrap: wrap; gap: 1rem 2.6rem; justify-content: flex-end; }
.foot-facts dt { color: var(--chalk-2); }
.foot-facts dd { font-size: 15px; font-weight: 600; margin-top: .2rem; }
.foot-facts a { display: inline-block; padding: 10px 0; margin: -10px 0; text-decoration: underline; text-decoration-color: var(--chalk-rule); text-underline-offset: 5px; }
.foot-note { grid-column: 1 / -1; color: var(--chalk-2); font-size: 13px; font-weight: 550; max-width: 54ch; }

/* ------------------------------------------------- call-back form fields */
.field { display: grid; gap: .45rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 15px; font-weight: 600; color: var(--chalk); padding: 0; }
.field input, .field textarea {
  width: 100%; padding: .85rem 0; border: 0; border-bottom: 1.5px solid rgba(242, 240, 234, .3); border-radius: 0;
  background: transparent; color: var(--chalk); font: 400 17px/1.4 var(--font);
  transition: border-color .2s ease-in-out;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--green); }
.field textarea { resize: vertical; min-height: 4.6em; }
.opt { font-weight: 450; color: var(--chalk-2); }
.field-err { color: var(--hold); font-size: 13px; font-weight: 550; }
.field-err:empty { display: none; }
.privacy { color: var(--chalk-2); font-size: 13px; font-weight: 550; }
.form-status:empty { display: none; }
.form-status { font-weight: 600; }
.form-status a { text-decoration: underline; text-underline-offset: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------- review copy only */
.draft-flag {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; margin: 0; padding: .5rem var(--gutter);
  background: var(--hold); color: var(--ink); font-size: 13px; font-weight: 550; text-align: center;
}
.hold {
  display: inline-block; margin-right: .5rem; padding: .15rem .55rem; border-radius: var(--pill);
  background: var(--hold); color: var(--ink);
  font-size: 12px; font-weight: 650; font-stretch: 112%; text-transform: uppercase; letter-spacing: .14em; vertical-align: .1em;
}
.notes { margin: 0 var(--gutter) clamp(56px, 9vh, 96px); padding-top: 1.2rem; border-top: 1px solid var(--chalk-rule); color: var(--chalk-2); }
.notes h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-stretch: 112%; color: var(--chalk-2); }
.notes ol { margin-top: .8rem; padding-left: 1.2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem 2.5rem; }

/* ------------------------------------------------------------------ sizes */
@media (max-width: 1080px) {
  .nav { display: none; }
  .head-call { margin-left: auto; }
}
@media (max-width: 760px) {
  :root { --head-h: 62px; --safe-b: env(safe-area-inset-bottom, 0px); }
  h1 { font-size: clamp(44px, 14.4vw, 60px); }
  h2 { font-size: clamp(34px, 10.8vw, 46px); }
  .brand { width: 138px; height: 44px; }
  .brand img { object-fit: contain; object-position: left center; }
  .head-call { min-height: 44px; padding: 0 16px 0 13px; }
  /* One call on screen: the header's steps aside while the opening screen's own
     call button is up, and while the big number at dusk is. Nothing sits over the picture. */
  html[data-bigcall="on"] .head-call {
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity .3s ease-in-out, transform .5s var(--ease), visibility 0s linear .3s;
  }

  .copy-split { display: block; top: calc(var(--head-h) + 14px); }
  .copy-split h2 { max-width: 12ch; }
  .copy-body { margin-top: .9rem; font-size: 16px; line-height: 1.55; }
  .copy-inside { bottom: calc(56px + var(--safe-b)); }

  /* the loft picture starts under the header so the header always sits on night */
  .loft-plate { inset: var(--head-h) 0 auto; right: 0; width: 100%; height: 52svh; aspect-ratio: auto; margin-top: 0; }
  .copy-up { top: auto; bottom: calc(56px + var(--safe-b)); transform: none; width: auto; right: var(--gutter); }

  .process-head h2, .process-head p { grid-column: 1 / -1; }
  .process-head p { margin-top: 1rem; }
  .step-body { margin-top: 1rem; }
  /* the drawing pins under the header and the steps pass beneath it */
  .sec {
    grid-column: 1 / -1; grid-row: auto; top: var(--head-h); z-index: 1;
    margin: 28px calc(-1 * var(--gutter)) 0; padding: 14px 0 16px; background: var(--night);
  }
  .sec::after {
    content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 28px; pointer-events: none;
    background: linear-gradient(var(--night), rgba(23, 23, 27, 0));
  }
  .sec-tags { display: none; }
  .steps { grid-column: 1 / -1; grid-row: auto; margin-top: 8px; }
  .steps li { min-height: 44svh; }
  .ready-list, .ready-holds { grid-template-columns: 1fr; row-gap: 1.6rem; }
  .prep-head, .sheet, .asks, .done { grid-column: 1 / -1; grid-row: auto; }
  .sheet { position: static; margin-top: 26px; }
  .sheet-top { padding: 13px 16px; }
  .row { grid-template-columns: 6.2rem minmax(0, 1fr); gap: 10px; min-height: 50px; padding: 13px 16px; }
  .sheet-foot { gap: 2px 1rem; padding: 11px 16px; }
  .asks, .done { margin-top: 24px; }
  .q { margin-top: 8px; }
  .opts { padding-top: 16px; }
  .opts span { min-height: 46px; padding: 0 18px; }
  .q-input { width: 100%; }
  .q[data-q="where"] legend { margin-bottom: 16px; }
  .q-nav { max-width: none; margin-top: 18px; }
  .done-acts .btn, .cb-foot .btn, .done-acts .alt-call { width: 100%; justify-content: center; }
  .contact { inset: auto 0 0 0; width: 100vw; height: 100%; border-left: 0; }
  .contact[open] { animation-name: sheet-up; }
  @keyframes sheet-up { from { transform: translateY(100%); } }
  .contact-in { padding: 64px 20px calc(36px + var(--safe-b)); }
  .contact-x { top: 10px; right: 10px; }
  .btn-big { min-height: 58px; font-size: 17px; }
  .signoff h2, .signoff p { grid-column: 1 / -1; }
  .signoff p { margin-top: 1rem; }
  .foot { grid-template-columns: 1fr; }
  .foot-facts { justify-content: flex-start; }
  .notes ol { grid-template-columns: 1fr; }
  .imp { bottom: calc(14px + var(--safe-b)); }
  /* the kitchen's words sit higher on phones, so the scrim behind them reaches higher */
  .veil {
    background:
      linear-gradient(to bottom, rgba(242, 243, 247, .5) 0, rgba(242, 243, 247, 0) 110px),
      linear-gradient(to top, rgba(14, 14, 17, .9) 0%, rgba(14, 14, 17, .78) 38%, rgba(14, 14, 17, 0) 68%);
  }
  .after { padding-bottom: 0; }
  .foot { padding-bottom: calc(40px + var(--safe-b)); }
}
@media (max-width: 400px) {
  .head-call-l { display: none; }
  .head-call-t { display: inline; }
}
@media (max-width: 380px) {
  .brand { width: 120px; height: 33px; }
}

/* Reduced motion: the stage still shows the right picture for where you are,
   it just changes by fading instead of moving. */
@media (prefers-reduced-motion: reduce) {
  .js .q.is-on, .js .done, .row-v.is-new, .sheet-bars i.on, .contact[open], .contact::backdrop { animation: none; }
  .js .sec-l, .js .sec-in { transition: opacity .35s ease-in-out !important; }
  .js .sec-l, .js .sec-in { transform: none !important; }
  .copy, .ground, .loft-plate, .veil, .callout, .copy-rest {
    transition: opacity .35s ease-in-out !important;
  }
  .stage-canvas { transition-duration: .35s; }
  html[data-bigcall] .head-call { transform: none; }
  .livery-stripes rect, .livery-mark { transition-delay: 0s !important; transition-duration: .01ms !important; }
  .btn, .nav a { transition: none; }
}

/* Without the script: a plain, readable page on the night ground */
html:not(.js) .stage, html:not(.js) .imp { display: none; }
html:not(.js) body { color: var(--chalk); }
html:not(.js) .head { color: var(--chalk); background: var(--night); }
html:not(.js) .head::after { display: none; }
html:not(.js) .brand-ink { opacity: 0; }
html:not(.js) .brand-chalk { opacity: 1; }
html:not(.js) .act { height: auto; }
html:not(.js) .act-grow, html:not(.js) .act-inside, html:not(.js) .act-upstairs { margin-top: 0; }
html:not(.js) .pin { position: static; height: auto; overflow: visible; padding: calc(var(--head-h) + 48px) 0 64px; }
html:not(.js) .copy { position: static; transform: none; width: auto; margin: 0 var(--gutter); color: var(--chalk); }
html:not(.js) .copy-split + .copy-split { margin-top: 64px; }
html:not(.js) .copy-hero .lede, html:not(.js) .copy-body { color: var(--chalk-2); }
html:not(.js) .copy-body .more { color: var(--chalk); }
html:not(.js) .sheet, html:not(.js) .q-count, html:not(.js) .q-nav, html:not(.js) .done-h, html:not(.js) .done-more { display: none; }
html:not(.js) .q { margin: 0; padding: 26px 0; border-top: 1px solid var(--chalk-rule); }
html:not(.js) .done { grid-row: 3; margin-top: 28px; }
@media (min-width: 761px) { html:not(.js) .asks, html:not(.js) .done { grid-column: 1 / 8; } }
html:not(.js) .sec-tags { display: none; }
