/* PMSI — Property Management Superintelligence
   Visual system: drawing-office paper, ink and one signal colour. Rules are in DESIGN.md. */

:root {
  --paper: #F2EEE6;
  --paper-hi: #F9F7F2;
  --paper-lo: #E8E3D8;
  --ink: #16150F;
  --ink-2: #3A3932;
  --muted: #6B6960;
  --faint: #A09D92;
  --line: rgba(22, 21, 15, .13);
  --line-2: rgba(22, 21, 15, .26);
  --signal: #FF5A1F;
  --signal-deep: #BF3D0A;
  --night: #121310;
  --night-2: #1B1C17;
  --cream: #EEE9DE;
  --cream-2: rgba(238, 233, 222, .66);
  --cream-3: rgba(238, 233, 222, .42);
  --cream-line: rgba(238, 233, 222, .14);

  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --pad: clamp(16px, 4vw, 48px);
  --gut: clamp(16px, 2.2vw, 32px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .15, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--signal); color: #fff; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute; 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: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 3px; text-decoration: none; font-size: 14px; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Shared type ---------- */
/* Section headlines: the claim in ink, then one supporting sentence in grey on its own line, a size down */
.title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -.032em;
  color: var(--ink);
  text-wrap: balance;
  max-width: 24em;
}
.title span { display: block; max-width: 34em; margin-top: 16px; font-size: clamp(19px, 1.65vw, 24px); font-weight: 520; line-height: 1.42; letter-spacing: -.012em; color: var(--muted); text-wrap: pretty; }
.sec--night .title span { color: rgba(238, 233, 222, .5); }
.lede {
  margin-top: clamp(20px, 2.2vw, 28px);
  font-size: clamp(17px, 1.3vw, 18.5px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 36em;
  text-wrap: pretty;
}
.note { margin-top: 14px; font-size: 12.5px; line-height: 1.4; color: var(--faint); }

/* ---------- Buttons & links ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 22px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); border-radius: 3px;
  font: 500 15.5px/1 var(--sans); letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: #000; }
.btn .arr { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--small { --h: 38px; padding: 0 15px; font-size: 14px; }
.btn--signal { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.btn--signal:hover { background: #ff7040; }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--cream-3); }
.btn--ghost:hover { background: rgba(238, 233, 222, .08); border-color: var(--cream); }

.link {
  font-size: 15.5px; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line-2); padding-bottom: 3px;
  transition: border-color .25s;
}
.link:hover { border-color: currentColor; }
.link--night { color: var(--cream); border-color: var(--cream-3); }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--rd, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }


/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 238, 230, .84);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); height: 66px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 28px; height: 28px; margin: -2px 0; }
/* The PMSI mark: four blocks turning around an empty centre, one always active */
.lg__b { fill: currentColor; }
.lg__o { fill: var(--signal); }
.brand__word { font-weight: 600; font-size: 17px; letter-spacing: .08em; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { position: relative; font-size: 14.5px; color: var(--ink-2); text-decoration: none; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__menu { display: none; width: 40px; height: 40px; margin-right: -8px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.nav__menu span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__menu span:first-child { top: 15px; }
.nav__menu span:last-child { top: 23px; }
.nav__menu[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav__menu[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }
.mnav { border-top: 1px solid var(--line); padding: 8px var(--pad) 20px; background: var(--paper); }
.mnav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 24px; font-weight: 500; letter-spacing: -.025em; color: var(--ink); text-decoration: none; }
.mnav a:last-child { border-bottom: 0; }
.mnav[hidden] { display: none; }
@media (min-width: 1001px) { .mnav { display: none !important; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(30px, 3.4vw, 52px) 0 clamp(56px, 7vw, 104px); overflow-x: clip; }
.hero__title {
  font-family: var(--sans);
  font-weight: 500;
  /* Sized to its column: the longest word, Superintelligence, always takes about 90% of the width */
  font-size: clamp(40px, 12.4cqi, 68px);
  line-height: 1;
  letter-spacing: -.037em;
  color: var(--ink);
}
.hero__title .ln { display: block; overflow: hidden; padding: .02em .14em .1em; margin: -.02em -.14em -.1em; }
.hero__title .ln > span { display: inline-block; text-wrap: balance; }
/* The second line takes the same grey as the section subheaders */
.hero__title .ln--sub { color: var(--muted); }
.js .hero__title .ln > span { transform: translateY(108%); animation: rise 1.2s var(--ease) forwards; animation-delay: calc(var(--d) * 140ms + 120ms); }
@keyframes rise { to { transform: none; } }

/* Copy on the left, the drawing on the right */
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto; column-gap: clamp(32px, 4.8vw, 80px); }
/* Both columns share two rows: the intro sits level with the drawing, and the fee line shares one rule with the stage track */
.hero__copy, .sheet { grid-row: 1 / span 2; display: grid; grid-template-rows: subgrid; min-width: 0; }
/* The intro is the headline's size container (on the copy column itself it would switch off the subgrid) */
.hero__intro { align-self: center; container-type: inline-size; }
.sheet__foot { align-self: start; }
.hero__copy .hero__lede { margin-top: clamp(22px, 2.4vw, 34px); font-size: clamp(16.5px, 1.3vw, 18.5px); max-width: 31em; }
.hero__copy .hero__ctas { margin-top: clamp(24px, 2.4vw, 34px); }
.js .hero__copy .hero__lede, .js .hero__copy .fee, .js .hero__copy .hero__ctas { opacity: 0; animation: fade 1s var(--ease) .55s forwards; }

/* Fee comparison under the hero intro */
/* The rule sits on the track's centre line (14px down) and the sentence starts level with the caption text (44px) */
.fee { align-self: start; display: block; margin-top: 13px; padding-top: 31px; max-width: 31em; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--muted); text-decoration: none; transition: color .2s; }
.fee b { font-weight: 500; color: var(--ink); }
.fee:hover { color: var(--ink-2); }
.fee:hover b { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@keyframes grow { to { transform: none; } }
.hero__lede { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.58; color: var(--ink-2); max-width: 31em; text-wrap: pretty; }
.hero__ctas { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Drawing sheet */
.sheet { margin: 0; min-width: 0; }
.js .sheet { opacity: 0; animation: fade 1.1s var(--ease) .35s forwards; }
.sheet__stage { position: relative; }
.sheet__draw { position: relative; aspect-ratio: 40 / 27.85; overflow: hidden; }
/* Dusk: a warm light around the house that feathers out into the page, with no edge */
.sheet__stage::before { content: ""; position: absolute; z-index: -1; top: -16%; right: -24%; bottom: -34%; left: -24%; pointer-events: none; background: radial-gradient(ellipse 50% 50% at 50% 40%, rgba(242, 208, 180, .95) 0%, rgba(242, 212, 186, .62) 26%, rgba(242, 218, 196, .28) 50%, rgba(242, 226, 210, .08) 68%, rgba(242, 238, 230, 0) 82%); opacity: 0; transition: opacity 2.4s ease; }
.sheet__stage:has(.is-dusk)::before { opacity: 1; }
.sheet__draw > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* Live layer: car, family, open door */
.h-draw .f-car { fill: #2C2B26; }
.h-draw .f-car2 { fill: #1E1D19; }
.h-draw .f-car3 { fill: #3D3B34; }
.h-draw .f-carglass { fill: #CFC8B9; stroke: #16150F; }
.h-draw .f-tyre { fill: #16150F; }
.h-draw .f-lamp { fill: #FFD9A0; stroke: none; }
.h-draw .f-van { fill: #FBFAF6; }
.h-draw .f-van2 { fill: #E3DED2; }
.h-draw .f-van3 { fill: #EEEAE0; }
.h-draw .f-stripe { fill: var(--signal); stroke: none; }
.h-draw .f-mark { fill: var(--ink); stroke: none; }
.h-draw .f-mark-o { fill: var(--signal); stroke: none; }
.h-draw .h-dshadow { fill: rgba(22, 21, 15, .13); stroke: none; }
/* The camera drone */
.h-drone .h-rotor { fill: rgba(251, 250, 246, .78); stroke: var(--ink); stroke-width: calc(var(--px, .05) * .8px); animation: rotor .18s linear infinite; }
.h-drone .h-arm { fill: none; stroke: var(--ink); stroke-width: calc(var(--px, .05) * 1.7px); stroke-linecap: round; }
.h-drone .h-dbody { fill: var(--ink); }
.h-drone .h-dlens { fill: var(--signal); }
@keyframes rotor { 50% { fill-opacity: .4; } }
.h-person .h-linen { fill: #FFFFFF; stroke: var(--ink); stroke-width: calc(var(--px, .05) * 1px); }
.h-person .h-fold { fill: none; stroke: rgba(22, 21, 15, .45); stroke-width: calc(var(--px, .05) * .6px); }
.h-person .h-caddy { fill: var(--signal); stroke: var(--ink); stroke-width: calc(var(--px, .05) * 1px); }
.h-draw .h-spill { fill: rgba(255, 196, 128, .55); stroke: none; opacity: 0; transition: opacity .5s ease; }
.is-open .h-draw .h-spill { opacity: 1; }
.is-open .h-draw .f-door { fill: #2E241C; }
.h-draw .f-door { transition: fill .35s ease; }
.h-person .h-body, .h-person .h-headc { fill: var(--ink); stroke: var(--paper-hi); stroke-width: calc(var(--px, .05) * 1px); }
.h-person.is-bright .h-body { fill: var(--signal); }
.h-person .h-bag { fill: #D8D2C5; stroke: var(--ink); stroke-width: calc(var(--px, .05) * 1px); }
.h-person .h-handle { fill: none; stroke: var(--ink); stroke-width: calc(var(--px, .05) * 1.2px); }
.h-hit { cursor: pointer; }
.h-draw .f-door.h-hit:hover { fill: #FF7A45; }
.h-draw .f-water.h-hit:hover { fill: #D7E1DE; }

/* Speech bubbles */
.bubble {
  position: absolute; z-index: 3; transform: translate(-50%, calc(-100% - 8px));
  padding: 6px 10px 7px; border-radius: 12px; background: var(--ink); color: var(--paper-hi);
  font: 500 12.5px/1.2 var(--sans); white-space: nowrap; pointer-events: none;
  animation: bubble .3s var(--ease);
}
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px; background: inherit; transform: rotate(45deg); border-radius: 0 0 2px 0; }
.bubble[hidden] { display: none; }
.bubble--pop { background: var(--signal); color: var(--ink); animation: bubble .3s var(--ease), bubbleout .4s ease 1.8s forwards; }
@keyframes bubble { from { opacity: 0; transform: translate(-50%, calc(-100% + 2px)) scale(.85); } to { opacity: 1; transform: translate(-50%, calc(-100% - 8px)); } }
@keyframes bubbleout { to { opacity: 0; transform: translate(-50%, calc(-100% - 16px)); } }

/* The caption for the current stage: a strip under the drawing */
/* Caption under the drawing: label and title on the left, what the system does on the right */
.chapter { display: grid; grid-template-columns: 148px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 20px; min-height: 64px; padding: 16px 0 0; }
.chapter p, .chapter h3 { margin: 0; }
.chapter__n { grid-area: 1 / 1; margin-bottom: 7px !important; font: 500 11px/1 var(--mono); letter-spacing: .09em; color: var(--signal-deep); }
.chapter__title { grid-area: 2 / 1; font: 500 21px/1.1 var(--sans); letter-spacing: -.025em; color: var(--ink); white-space: nowrap; }
.chapter__text { grid-area: 1 / 2 / 3 / 3; max-width: 46em; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.chapter__metric { display: none; }
.chapter__metric i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.chapter.is-in > * { animation: chap .6s var(--ease) both; }
.chapter.is-in > :nth-child(2) { animation-delay: .05s; }
.chapter.is-in > :nth-child(3) { animation-delay: .1s; }
@keyframes chap { from { opacity: 0; transform: translateY(6px); } }

/* Stage nodes around the house */
.node { position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; transform: translate(-8px, -10px); pointer-events: auto; cursor: pointer; }
.node--l { align-items: flex-end; transform: translate(calc(-100% + 8px), -10px); }
.node__tag { display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 7px 0 3px; border-radius: 3px; background: var(--paper); font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); white-space: nowrap; transition: color .3s, background .3s; }
.node--l .node__tag { padding: 0 3px 0 7px; }
.node--l .node__dot { order: 2; }
.node--b { flex-direction: column-reverse; transform: translate(-8px, calc(-100% + 10px)); }
.node--b .node__status { margin: 0 0 4px; }
.node__dot { flex: none; box-sizing: border-box; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; background: var(--paper-hi); transition: background .3s, border-color .3s; }
.node.is-online .node__dot { border-radius: 2px; }
.node__n { font-weight: 500; opacity: .75; }
.node.is-done .node__tag { color: var(--ink-2); }
.node.is-done .node__dot { background: var(--ink); border-color: var(--ink); }
.node.is-active .node__tag { background: var(--ink); color: var(--paper-hi); }
.node.is-active .node__dot { background: var(--signal); border-color: var(--signal); }
.node:hover .node__tag { color: var(--ink); }
.node.is-active:hover .node__tag { color: var(--paper-hi); }
.node__status { display: none; margin-top: 4px; padding: 2px 5px; border-radius: 2px; background: var(--paper); font: 500 12px/1.3 var(--sans); color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.node.is-active .node__status { display: block; }
.is-compact .node__name, .is-compact .node__status { display: none !important; }
.is-tight .node__status { display: none !important; }
.is-compact .node__tag { gap: 4px; padding: 0 5px 0 3px; font-size: 9px; }
.is-compact .node--l .node__tag { padding: 0 3px 0 5px; }
.h-lead .h-leader { fill: none; stroke: rgba(22, 21, 15, .22); stroke-width: calc(var(--px, .05) * .8px); transition: stroke .4s; }
.h-lead .h-leader.is-done { stroke: rgba(22, 21, 15, .48); }
.h-lead .h-leader.is-online { stroke-dasharray: calc(var(--px, .05) * 3px) calc(var(--px, .05) * 3px); }
.h-lead .h-leader.is-active { stroke: var(--signal); stroke-width: calc(var(--px, .05) * 1.3px); stroke-dasharray: calc(var(--px, .05) * 5px) calc(var(--px, .05) * 3px); animation: flow 1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: calc(var(--px, .05) * -16px); } }
.h-lead .h-pin { fill: var(--paper-hi); stroke: rgba(22, 21, 15, .45); stroke-width: calc(var(--px, .05) * 1px); transition: fill .3s; }
.h-lead .h-pin.is-done { fill: var(--ink); stroke: var(--paper-hi); }
.h-lead .h-pin.is-active { fill: var(--signal); stroke: var(--paper-hi); stroke-width: calc(var(--px, .05) * 1.6px); }

/* Things that appear over the drawing: photos, the listing, repair notes, the review */
.ov { position: absolute; pointer-events: none; font-family: var(--sans); color: var(--ink); }
.ov-photos, .ov-listing, .ov-extras, .ov-review {
  top: 4%; right: 2.6%; transform-origin: top right; transform: scale(var(--ovs, 1));
  opacity: 0; visibility: hidden; translate: 0 10px; transition: opacity .45s ease, translate .6s var(--ease), visibility 0s .45s;
}
.ov.is-on { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .45s ease, translate .6s var(--ease), visibility 0s; }
.ov-card { background: var(--paper-hi); border: 1px solid var(--ink); border-radius: 6px; box-shadow: 0 22px 44px -26px rgba(22, 21, 15, .55); }

.ov-photos { display: flex; align-items: flex-start; }
.ovp { width: 124px; margin: 0 0 0 -14px; padding: 6px 6px 9px; background: #fff; border: 1px solid var(--line-2); border-radius: 2px; box-shadow: 0 16px 30px -18px rgba(22, 21, 15, .55); opacity: 0; transform: translateY(-14px) rotate(var(--r)) scale(.92); transition: opacity .35s ease, transform .6s var(--ease); }
.ovp:nth-child(1) { --r: -4deg; margin-top: 8px; }
.ovp:nth-child(2) { --r: 2deg; }
.ovp:nth-child(3) { --r: -1.5deg; margin-top: 14px; }
.ovp.is-in { opacity: 1; transform: rotate(var(--r)); }
.ovp__img { display: grid; place-items: center; aspect-ratio: 4 / 3; background: #ECE6DA; }
.ovp__img svg { width: 64%; }
.ovp figcaption { margin-top: 7px; font: 500 9.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.ovp__ok { float: right; color: var(--signal-deep); }

.ov-listing { display: grid; grid-template-columns: minmax(0, 1fr) 156px; column-gap: 14px; width: 440px; padding: 11px 12px 12px; }
.ovl__top { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: center; }
.ovl__photo { display: grid; place-items: center; aspect-ratio: 1; border-radius: 4px; background: #ECE6DA; }
.ovl__photo svg { width: 46%; }
.ovl__top p { margin: 0; }
.ovl__title { font: 600 16.5px/1.1 var(--sans); letter-spacing: -.02em; }
.ovl__sub { margin-top: 3px !important; font-size: 12px; color: var(--muted); }
.ovl__rate { margin-top: 7px !important; font-size: 12.5px; color: var(--ink-2); }
.ovl__price { font-weight: 600; color: var(--ink); }
.ovl__delta { display: none; margin-left: 5px; padding: 2px 5px; border-radius: 3px; background: var(--signal); font: 600 10px/1.2 var(--mono); font-style: normal; color: var(--ink); }
.is-raised .ovl__delta { display: inline-block; animation: chap .45s var(--ease); }
.ovl__chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.ovl__chips span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px 4px 6px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 9.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); transition: color .3s, border-color .3s; }
.ovl__chips span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; transition: background .3s, border-color .3s; }
.ovl__chips span.is-on { color: var(--ink); border-color: var(--ink); }
.ovl__chips span.is-on::before { background: var(--signal); border-color: var(--signal); }
.ovl__cal { margin: 0; }
.ovl__mo { margin: 0 0 6px; font: 500 9.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ovl__days { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 2px; }
.ovl__days i { aspect-ratio: 1; border: 1px solid var(--line-2); border-radius: 2px; transition: background .3s, border-color .3s; }
.ovl__days i.is-on { background: var(--ink); border-color: var(--ink); }
.ovl__days i.is-new { background: var(--signal); border-color: var(--signal); }
.ovl__foot { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.ovl__foot b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }


.ov-extras { width: 300px; padding: 13px 14px 12px; }
.ov-extras p { margin: 0; }
.ovx__k { font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ovx__list { list-style: none; margin: 9px 0 0; padding: 0; border-top: 1px solid var(--line); }
.ovx__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.ovx__list b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.ovx__list i { display: none; padding: 2px 6px; border-radius: 3px; background: var(--signal); font: 600 9.5px/1.3 var(--mono); font-style: normal; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.ovx__list li.is-booked { color: var(--ink); }
.ovx__list li.is-booked i { display: inline-block; animation: chap .4s var(--ease); }
.ov-extras.is-on .ovx__list li { animation: chap .5s var(--ease) both; animation-delay: calc(var(--k) * .12s + .15s); }
.ovx__foot { margin-top: 9px !important; font-size: 12.5px; color: var(--muted); visibility: hidden; }
.ovx__foot b { font-weight: 600; color: var(--signal-deep); }
.ov-extras.is-booked .ovx__foot { visibility: visible; }
.ov-review { width: 270px; padding: 16px 18px 15px; }
.ov-review p { margin: 0; }
.ovr__stars { font-size: 15px; letter-spacing: 3px; color: var(--signal); }
.ovr__quote { margin-top: 8px !important; font: 500 15.5px/1.4 var(--sans); letter-spacing: -.01em; }
.ovr__by { margin-top: 11px !important; font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Small moments in the drawing */
.h-live .h-flash { fill: rgba(255, 255, 255, .92); stroke: var(--signal); stroke-width: calc(var(--px, .05) * 1.2px); }
.h-live .h-ripple { fill: none; stroke: rgba(255, 255, 255, .95); stroke-width: calc(var(--px, .05) * 1.3px); }
.h-person .h-box { fill: #DCCBB0; stroke: var(--ink); stroke-width: calc(var(--px, .05) * 1px); }
.h-person .h-lens { fill: var(--signal); stroke: none; }
#house.is-flashin .h-full0 .f-glass, #house.is-flashin .h-full0 .f-glass2 { fill: #FFFFFF; transition: none; }
.h-smoke .h-puff { fill: #FBF7F1; stroke: none; opacity: 0; transform-box: fill-box; transform-origin: center; }
.is-smoke .h-smoke .h-puff { animation: puff 5.2s ease-out infinite; animation-delay: calc(var(--k) * 1.3s); }
@keyframes puff { 0% { opacity: 0; transform: translate(0, 0) scale(.5); } 15% { opacity: .9; } 100% { opacity: 0; transform: translate(1.8px, -4px) scale(2.2); } }
.h-draw .f-wall, .h-draw .f-shade, .h-draw .f-roof, .h-draw .f-water { transition: fill 2.4s ease; }
.is-dusk .h-draw .f-wall { fill: #F6EDE3; }
.is-dusk .h-draw .f-shade { fill: #DDD3C8; }
.is-dusk .h-draw .f-roof { fill: #E6DCD0; }
.is-dusk .h-draw .f-water { fill: #D2E2DF; }

/* Inside the house: rooms, cut walls, furniture */
.h-draw .f-floor { fill: #EEE8DC; transition: fill 1.2s ease; }
.h-draw .f-rug { fill: #E3DACA; }
.h-draw .f-wallin { fill: #F5F1E9; transition: fill 1.2s ease; }
.h-draw .f-wallin2 { fill: #EAE4D8; }
.h-draw .f-poche { fill: #2B2A25; stroke: #2B2A25; }
.h-draw .f-slab { fill: #CFC8B9; }
.h-draw .f-slab2 { fill: #BDB5A5; }
.h-draw .f-void { fill: #3A3832; }
.h-draw .f-cab { fill: #E4DED1; }
.h-draw .f-cab2 { fill: #D4CDBE; }
.h-draw .f-worktop { fill: #C8C0AF; }
.h-draw .f-sink { fill: #ADA697; }
.h-draw .f-wood { fill: #DCCBB0; }
.h-draw .f-wood2 { fill: #CBB797; }
.h-draw .f-wood3 { fill: #B9A383; }
.h-draw .f-sofa { fill: #B9BEAF; }
.h-draw .f-sofa2 { fill: #A4AA9B; }
.h-draw .f-sofa3 { fill: #8F9587; }
.h-draw .f-bed { fill: #E2DCCF; }
.h-draw .f-bed2 { fill: #D2CBBC; }
.h-draw .f-bedtop { fill: #F1EDE4; }
.h-draw .f-pillow { fill: #EEE9DF; }
.h-draw .f-pillow2 { fill: #DED8CB; }
.h-draw .f-duvet { fill: #FFFFFF; }
.h-draw .f-duvet2 { fill: #F1EDE4; }
.h-draw .f-duvet3 { fill: #E3DDD0; }
.h-draw .f-throw { fill: var(--signal); }
.h-draw .f-throw2 { fill: #BDB5A5; }
.h-draw .f-used { fill: #D2CBBD; }
.h-draw .f-used2 { fill: #C3BBAC; }
.h-draw .f-used3 { fill: #B4AC9C; }
.h-draw .f-bathin { fill: #D6DEDB; }
.h-draw .f-hamper { fill: #DCCBB0; }
.h-draw .f-hamper2 { fill: #CBB797; }
.h-draw .f-hamper3 { fill: #B9A383; }
.h-draw .f-lampshade { fill: #FFF1D8; }
.h-draw .s-ribbon { stroke: var(--signal); stroke-width: calc(var(--px, .05) * 1.8px); }
.h-draw .s-reg { stroke-width: calc(var(--px, .05) * 1.3px); }
.h-draw .h-drip { fill: #6E8C99; stroke: none; }
.is-lit .h-draw .f-floor { fill: #F8E3C6; }
.is-lit .h-draw .f-wallin { fill: #FCEFDB; }
.h-cut, .h-full { transition: none; }

/* People and their kit */
.h-person .h-tools { fill: var(--ink-2); stroke: var(--ink); stroke-width: calc(var(--px, .05) * 1px); }
.h-person .h-pole { fill: none; stroke: var(--ink-2); stroke-width: calc(var(--px, .05) * 1.4px); stroke-linecap: round; }
.h-person .h-bshell { fill: var(--paper-hi); stroke: var(--ink); stroke-width: calc(var(--px, .05) * 1.1px); }
.h-person .h-bdark, .h-person .h-btrack { fill: var(--ink); stroke: none; }
.h-person .h-bhub { fill: var(--paper-hi); stroke: none; }
.h-person .h-bpanel { fill: none; stroke: var(--ink); stroke-width: calc(var(--px, .05) * .7px); }
.h-person .h-beye { fill: var(--signal); stroke: none; }
.h-person .h-barm { fill: none; stroke: var(--ink); stroke-width: calc(var(--px, .05) * 1.6px); stroke-linecap: round; stroke-linejoin: round; }
.h-person .h-antenna { fill: none; stroke: var(--ink); stroke-width: calc(var(--px, .05) * 1.2px); }
.h-person.is-chef .h-body { fill: #FFFFFF; stroke: var(--ink); }
.h-person .h-hat { fill: #FFFFFF; stroke: var(--ink); stroke-width: calc(var(--px, .05) * 1px); }

/* Exploded-drawing guides */
.h-guides .h-guide { fill: none; stroke: rgba(22, 21, 15, .45); stroke-width: calc(var(--px, .05) * .9px); stroke-dasharray: calc(var(--px, .05) * 3px) calc(var(--px, .05) * 3px); }

/* Timeline under the drawing */
.sheet__time { padding: 0; }
/* One segment per stage, sized to its share of the story */
.tl__segs { position: absolute; inset: 0 7px; }
.tl__segs button { position: absolute; top: 0; bottom: 0; left: calc(var(--x) * 100% + 2px); width: calc(var(--w) * 100% - 4px); padding: 0; border: 0; border-radius: 2px; background: none; cursor: pointer; }
.tl__segs button::before, .tl__segs i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 1px; background: var(--line-2); }
.tl__segs i { background: var(--ink); transform: scaleX(var(--f, 0)); transform-origin: left; }
.tl__segs button:focus-visible { outline: 2px solid var(--signal); outline-offset: 1px; }
.tl { position: relative; height: 28px; }
.tl input[type="range"] { position: absolute; inset: 0; width: 100%; height: 28px; margin: 0; background: none; }
.tl input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: transparent; }
.tl input[type="range"]::-webkit-slider-thumb { width: 14px; height: 14px; margin-top: -6px; border: 2.5px solid var(--paper); background: var(--signal); box-shadow: 0 0 0 1px var(--signal); }
.tl input[type="range"]::-moz-range-track { height: 2px; background: transparent; }
.tl input[type="range"]::-moz-range-progress { height: 2px; background: transparent; }
.tl input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; border: 2.5px solid var(--paper); background: var(--signal); box-shadow: 0 0 0 1px var(--signal); }

/* SVG drawing */
.h-draw path, .h-draw circle { fill: none; stroke: var(--ink); stroke-width: calc(var(--px, .05) * 1.05px); stroke-linejoin: round; stroke-linecap: round; }
.h-draw .f-wall { fill: #FBFAF6; }
.h-draw .f-shade { fill: #E6E1D5; }
.h-draw .f-shade2 { fill: #D9D3C5; }
.h-draw .f-roof { fill: #ECE7DC; }
.h-draw .f-hi { fill: var(--paper-hi); }
.h-draw .f-glass { fill: #DCD6C9; }
.h-draw .f-glass2 { fill: #CFC8B9; }
.h-draw .f-door { fill: var(--signal); }
.h-draw .f-water { fill: #E2DED3; }
.h-draw .f-canopy { fill: #EFEBE2; }
.h-draw .f-glass, .h-draw .f-glass2 { transition: fill 1.6s ease; }
.is-lit .h-draw .f-glass { fill: #FFD6A6; }
.is-lit .h-draw .f-glass2 { fill: #F6C48C; }
.h-draw .s-thin { stroke-width: calc(var(--px, .05) * .6px); stroke: rgba(22, 21, 15, .62); }
.h-draw .s-hair { stroke-width: calc(var(--px, .05) * .5px); stroke: rgba(22, 21, 15, .38); }
.h-draw .s-door { stroke: rgba(22, 21, 15, .45); stroke-width: calc(var(--px, .05) * .6px); }
.h-draw .s-dash { stroke: rgba(22, 21, 15, .42); stroke-width: calc(var(--px, .05) * .8px); stroke-dasharray: calc(var(--px, .05) * 5px) calc(var(--px, .05) * 4px); }

.js .h-draw [pathLength] { stroke-dasharray: 1 1; stroke-dashoffset: 1; fill-opacity: 0; animation: draw 1.5s var(--ease) forwards, fillin .9s ease forwards; animation-delay: calc(var(--i) * 9ms + 300ms), calc(var(--i) * 9ms + 1100ms); }
.js .h-draw .s-dash { opacity: 0; animation: fadein 1s ease .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { fill-opacity: 1; } }
@keyframes fadein { to { opacity: 1; } }

.h-lead path { fill: none; stroke: rgba(22, 21, 15, .42); stroke-width: calc(var(--px, .05) * .8px); transition: stroke .5s; }
.js .h-lead { opacity: 0; animation: fadein .8s ease 2.1s forwards; }

/* Overlay layer */
.callouts { position: absolute; inset: 0; pointer-events: none; }

/* ---------- Sections ---------- */
.sec { padding: clamp(96px, 10vw, 152px) 0; }
.sec--rule { border-top: 1px solid var(--line); }
.sec--tint { background: var(--paper-lo); }
.head { margin-bottom: clamp(44px, 5vw, 72px); }


/* Pricing: the fee and what an owner keeps */
.price { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gut); align-items: start; }
.price__copy { grid-column: 1 / span 6; }
.calc { grid-column: 8 / span 5; --rd: .12s; }
.calc__rows { padding: 4px 20px; }
.calc__row { display: grid; grid-template-columns: 9.4em minmax(0, 1fr) 5.6em; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.calc__row:last-child { border-bottom: 0; }
.calc__row--us { color: var(--ink); font-weight: 600; }
.calc__bar { position: relative; height: 10px; }
.calc__bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--line-2); border-radius: 1px; transition: width .35s var(--ease); }
.calc__row--us .calc__bar i { background: var(--ink); min-width: 3px; }
.calc__row b { justify-self: end; font: 500 14px/1 var(--mono); font-variant-numeric: tabular-nums; color: inherit; }
.calc__total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 16px 20px 18px; border-top: 1px solid var(--ink); background: var(--paper); }
.calc__total span { font-size: 15px; color: var(--ink-2); }
.calc__total b { font-size: 36px; font-weight: 500; line-height: 1; letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }

/* What it runs: the live console */
.console { overflow: hidden; background: var(--paper-hi); border: 1px solid var(--line-2); border-radius: 4px; }
.console__top { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--paper); border-bottom: 1px solid var(--line-2); font-size: 13.5px; line-height: 1.2; color: var(--muted); }
.console__top span:first-child { color: var(--ink); font-weight: 600; }
/* One row per phase, banded so each reads as its own stretch of the job */
.console__grid { display: grid; grid-template-columns: 148px repeat(5, minmax(0, 1fr)); }
.console__row { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; border-top: 1px solid var(--line-2); }
.console__row:first-child { border-top: 0; }
/* The phase column is a quiet sidebar: a shade deeper than the tiles, with a firmer rule beside it */
.console__phase { grid-column: 1; padding: 16px 16px 18px; background: var(--paper); font-size: 17px; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.console__phase + .op { border-left-color: var(--line-2); }
.console__n { display: block; margin-bottom: 10px; font: 500 11px/1 var(--mono); letter-spacing: .08em; color: var(--signal); }
.console__d { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 400; line-height: 1.35; letter-spacing: 0; color: var(--muted); }
.op { grid-column: span var(--span, 1); display: flex; flex-direction: column; min-width: 0; padding: 16px 16px 14px; border-left: 1px solid var(--line); transition: background .25s; }
.op:hover { background: #FFFFFF; }
.op__name { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.op__viz { margin: 12px 0 11px; }
.op__viz svg { display: block; width: 100%; height: auto; overflow: visible; }
.op__how { font-size: 13px; line-height: 1.42; color: var(--muted); text-wrap: pretty; }
.op__now { margin-top: auto; padding-top: 10px; font: 400 12px/1.3 var(--mono); color: var(--ink); }

/* Instrument drawing */
.op__viz * { vector-effect: non-scaling-stroke; }
.v-l { fill: none; stroke: var(--line-2); stroke-width: 1; }
.v-gapline { stroke: var(--paper-hi); stroke-width: 3; }
.v-box { fill: none; stroke: var(--line-2); stroke-width: 1; }
.v-fill, .v-ink, .v-dot, .v-bar, .v-star { fill: var(--ink); }
.v-mid { fill: #CFC8B9; }
.v-grey { fill: #D9D3C5; }
.v-grey2 { fill: #E6E1D5; }
.v-photo { fill: #ECE6DA; stroke: var(--line-2); stroke-width: 1; }
.v-mtn { fill: #CFC8B9; }
.v-x { stroke: var(--ink); stroke-width: 1.3; }
.v-sigbar, .v-sigdot, .v-pulse { fill: var(--signal); }
.v-dash { stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 3 3; }
.v-gap { fill: none; stroke: var(--signal); stroke-width: 1; stroke-dasharray: 2 2; }
.v-tick { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.v-bub { fill: #E6E1D5; }
.v-bub2 { fill: var(--ink); }
.v-shackle { fill: none; stroke: var(--ink); stroke-width: 2.2; }
.v-route { fill: none; stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 3 3; }
.v-house { fill: var(--paper-hi); stroke: var(--ink); stroke-width: 1.2; }
.v-pill { fill: none; stroke: var(--line-2); stroke-width: 1; }
.v-pill--on { fill: var(--signal); stroke: none; }
.v-flagbox { fill: none; stroke: var(--signal); stroke-width: 1.6; }
.v-node { fill: var(--ink); stroke: var(--paper-hi); stroke-width: 1.5; }
.v-progress { stroke: var(--ink); stroke-width: 2; }
.v-band { fill: none; stroke: var(--ink); stroke-width: 3; }
.v-needle { stroke: var(--signal); stroke-width: 2; stroke-linecap: round; }
.v-grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 3; }
.v-area { fill: rgba(22, 21, 15, .06); }
.v-line { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.v-ext { fill: none; stroke: var(--signal); stroke-width: 1.2; stroke-dasharray: 2 2; }
.v-t { font: 500 8.5px var(--mono); fill: var(--muted); }
.v-t--ink { fill: var(--ink); }
.v-t--paper { fill: var(--paper-hi); }
.v-t--sig { fill: var(--signal-deep); }
.v-t--s { font-size: 7.5px; }
.v-big { font: 500 17px var(--mono); fill: var(--ink); }
.v-big--l { font: 600 26px var(--sans); letter-spacing: -.03em; }
.v-num { font: 500 13px var(--mono); fill: var(--ink); }
.v-c1 { fill: var(--ink); }
.v-c2 { fill: #4A4842; }
.v-c3 { fill: #7D7A70; }
.v-c4 { fill: #ABA698; }
.v-c5 { fill: #CFC8B9; }
.v-avg { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 2; }
.v-dashline { fill: none; stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 3 3; }
.v-lift { fill: rgba(255, 90, 31, .16); }
.v-ghost { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 3; }

/* Instruments fill in when the console comes into view; live ones keep moving */
.js .console .f { opacity: 0; transition: opacity .35s ease; transition-delay: calc(var(--i, 0) * 26ms + 250ms); }
.js .console.is-in .f { opacity: 1; }
.js .console .v-grow { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 24ms + 250ms); }
.js .console.is-in .v-grow { transform: none; }
.js .console .v-growx { transform-box: fill-box; transform-origin: left; transform: scaleX(0); transition: transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 24ms + 250ms); }
.js .console.is-in .v-growx { transform: none; }
.js .console .v-progress { transform-box: fill-box; transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--ease) .4s; }
.js .console.is-in .v-progress { transform: none; }
.v-pulse { opacity: 0; animation: sync 2.6s linear infinite; animation-delay: var(--d); }
@keyframes sync { 0% { transform: translateX(0); opacity: 0; } 12%, 85% { opacity: 1; } 100% { transform: translateX(var(--len)); opacity: 0; } }

/* 04 Network (night) */
.sec--night { background: var(--night); color: var(--cream); }
.sec--night .title { color: var(--cream); }
.sec--night .lede { color: var(--cream-2); }
.net { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gut); border-top: 1px solid var(--cream-line); border-bottom: 1px solid var(--cream-line); }
.net__map { grid-column: 1 / span 8; padding: 28px 0; }
.net__map svg { width: 100%; height: auto; overflow: visible; }
.net__log { grid-column: 9 / span 4; border-left: 1px solid var(--cream-line); padding: 26px 0 26px var(--gut); display: flex; flex-direction: column; }
.net__log-title { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 500; line-height: 1; color: var(--cream); padding-bottom: 16px; border-bottom: 1px solid var(--cream-line); }
.net__live { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; color: var(--cream-2); }
#netLog { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 360px; }
#netLog li { display: grid; grid-template-columns: 3.6em 1.3em 1fr; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--cream-line); font: 450 12.5px/1.45 var(--mono); color: var(--cream-2); }
#netLog li time { color: var(--cream-3); }
#netLog li b { font-weight: 500; color: var(--cream); }
#netLog li .sym { color: var(--signal); }
#netLog li.ok .sym { color: var(--cream); }
#netLog li.new { animation: lognew .6s var(--ease); }
@keyframes lognew { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.net__note { margin-top: 16px; font-size: 12.5px; color: var(--cream-3); }

.n-rings ellipse { fill: none; stroke: var(--cream-line); stroke-dasharray: 3 5; }
.n-rings text { fill: var(--cream-3); font: 500 10.5px var(--mono); letter-spacing: .06em; }
.n-field circle { fill: var(--cream); }
.n-link { stroke: rgba(238, 233, 222, .16); stroke-width: 1; transition: stroke .4s; }
.n-link.is-active { stroke: var(--signal); }
.n-node circle.core { fill: var(--night); stroke: var(--cream-2); stroke-width: 1.4; transition: fill .4s, stroke .4s; }
.n-node circle.halo { fill: none; stroke: var(--signal); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.n-node.is-active circle.core { fill: var(--signal); stroke: var(--signal); }
.n-node.is-active circle.halo { animation: halo 1.6s ease-out infinite; }
.n-node.is-done circle.core { fill: var(--cream); stroke: var(--cream); }
.n-node text { font: 450 13px var(--sans); fill: var(--cream); }
.n-node text.sub { font: 450 10.5px var(--mono); fill: var(--cream-3); letter-spacing: .03em; }
.n-node.is-active text.sub { fill: var(--signal); }
@keyframes halo { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(3.4); } }

.n-home text { font: 500 11px var(--mono); fill: var(--cream); letter-spacing: .08em; text-transform: uppercase; }
.n-home .n-mark { fill: var(--cream); }
.n-home .n-mark-o { fill: var(--signal); }
.n-pulse { fill: var(--signal); }
.n-pulse--back { fill: var(--cream); }
.is-compact .n-node text { font-size: 15px; }
.is-compact .n-rings text { font-size: 11px; }
.is-compact .n-home text { font-size: 11.5px; }

.net__cta { margin-top: clamp(48px, 5vw, 72px); }

/* 05 Control */
.ctrl { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gut); align-items: start; }
.panel { background: var(--paper-hi); border: 1px solid var(--line-2); border-radius: 4px; }
.panel__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 14px 20px; background: var(--paper); border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.3; color: var(--muted); }
.panel__head span:first-child { color: var(--ink); font-weight: 600; }
.mandate { grid-column: 1 / span 6; }
.decide { grid-column: 8 / span 5; --rd: .12s; }
.m-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.m-row:last-child { border-bottom: 0; }
.m-row b { font-weight: 500; color: var(--ink); text-align: right; }
.m-row--slider { display: block; padding: 20px 20px 16px; }
.m-slider-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.m-slider-top label { font-size: 15px; color: var(--ink-2); max-width: 13em; line-height: 1.35; }
.m-slider-top output { font-family: var(--sans); font-weight: 500; font-size: 42px; line-height: .9; letter-spacing: -.035em; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.m-scale { display: flex; justify-content: space-between; font: 450 10.5px/1 var(--mono); color: var(--faint); }
.m-hint { margin: 14px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.m-row--chips { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips i { font-style: normal; font-size: 13px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; margin: 10px 0 4px; background: transparent; cursor: pointer; --p: 12.5%; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: linear-gradient(to right, var(--ink) var(--p), var(--line-2) var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 50%; background: var(--paper-hi); border: 1.5px solid var(--ink); box-shadow: 0 2px 6px rgba(22, 21, 15, .18); transition: transform .2s; }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--line-2); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--ink); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--paper-hi); border: 1.5px solid var(--ink); }

.dlist { list-style: none; margin: 0; padding: 0; }
.dlist li { display: grid; grid-template-columns: 12px 1fr auto 7.4em; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.dlist li:last-child { border-bottom: 0; }
.dlist__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); transition: background .3s; }
.dlist__what { color: var(--ink); }
.dlist__cost { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.dlist .st { justify-self: end; font-size: 13px; font-weight: 500; line-height: 1; color: var(--muted); transition: background .3s, color .3s, border-color .3s; white-space: nowrap; }
.dlist li[data-state="ask"] .dlist__dot { background: var(--signal); }
.dlist li[data-state="ask"] .st { color: var(--signal-deep); }

.msg { margin-top: 16px; background: var(--paper-hi); color: var(--ink); border: 1px solid var(--line-2); border-radius: 4px; padding: 20px 22px 22px; }
.msg__head { display: flex; justify-content: space-between; font-size: 13px; line-height: 1; color: var(--muted); margin-bottom: 14px; }
.msg__head b { color: var(--signal); font-weight: 500; }
.msg p { font-size: 16px; line-height: 1.55; color: var(--ink); max-width: 40em; }
.msg p b { font-weight: 500; }
.msg__actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.msg__qa { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.msg__qa p { color: var(--ink-2); }
.msg__qa .msg__you { color: var(--ink); margin-bottom: 8px; padding-left: 12px; border-left: 2px solid var(--line-2); }
.msg .btn--ghost { color: var(--ink); border-color: var(--line-2); }
.msg .btn--ghost:hover { background: transparent; border-color: var(--ink); }
.msg__approved, .msg__auto { display: none; }
.msg[data-state="approved"] .msg__ask, .msg[data-state="auto"] .msg__ask { display: none; }
.msg[data-state="approved"] .msg__approved, .msg[data-state="auto"] .msg__auto { display: block; animation: logflash .6s var(--ease); }
.tick { display: inline-block; width: 16px; height: 16px; margin-right: 10px; vertical-align: -2px; border-radius: 50%; background: var(--signal); position: relative; }
.tick::after { content: ""; position: absolute; left: 5.5px; top: 3px; width: 3.6px; height: 7px; border: solid #FFFFFF; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }

/* Accounts: the statement as a ledger */
.ledger { overflow: hidden; background: var(--paper-hi); border: 1px solid var(--line-2); border-radius: 4px; }
.ledger__top { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px; background: var(--paper); border-bottom: 1px solid var(--line-2); font-size: 13.5px; line-height: 1.2; color: var(--muted); }
.ledger__top span:first-child { color: var(--ink); font-weight: 600; }
/* Where the month's money went: one figure, one bar */
.ledger__split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-bottom: 1px solid var(--line); }
.ledger__paid { padding: 24px 20px 26px; border-right: 1px solid var(--line); }
.ledger__paid span { display: block; font-size: 13px; color: var(--muted); }
.ledger__paid b { display: block; margin-top: 10px; font-size: clamp(44px, 4.4vw, 64px); font-weight: 500; line-height: .95; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.ledger__paid p { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.ledger__where { align-self: end; padding: 24px 22px 26px; }
.split { display: flex; gap: 2px; height: 10px; }
.split i { width: var(--w); min-width: 4px; border-radius: 1px; }
.s-you { background: var(--ink); }
.s-ops { background: #B9B3A6; }
.s-fee { background: var(--signal); }
.js .ledger .split i { transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .3s; }
.js .ledger.is-in .split i { transform: none; }
/* September as a line, with a dot for each payout: the amount above, the date below */
.payouts { position: relative; height: 56px; margin: 26px 8px 0 4px; }
.payouts::before { content: ""; position: absolute; left: -4px; right: -8px; top: 27px; border-top: 1px solid var(--line-2); }
.payouts i { position: absolute; left: var(--x); top: 23px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--ink); font-style: normal; }
.payouts b, .payouts span { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 400 11px/1 var(--mono); }
.payouts b { bottom: 17px; font-weight: 500; color: var(--ink); }
.payouts span { top: 17px; color: var(--muted); }
.split__note { margin: 12px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.split__key { margin: 16px 0 0; }
.split__key div { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.split__key div:first-child { border-top: 0; }
.split__key dt { display: flex; align-items: center; gap: 9px; color: var(--ink-2); }
.split__key dt i { width: 8px; height: 8px; border-radius: 1px; }
.split__key dd { margin: 0; font: 400 13px var(--mono); font-variant-numeric: tabular-nums; color: var(--ink); }
.ledger__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ledger__list { border-right: 1px solid var(--line); }
.ledger__list ol { list-style: none; margin: 0; padding: 0; }
.ledger__head, .ledger__row { display: grid; grid-template-columns: 4.6em minmax(0, 1fr) 6.4em; gap: 14px; align-items: baseline; padding-left: 20px; padding-right: 20px; }
.ledger__head { padding-top: 11px; padding-bottom: 9px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.ledger__head span:nth-child(n + 3) { justify-self: end; }
.ledger__row { width: 100%; padding-top: 11px; padding-bottom: 11px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; font: inherit; font-size: 14px; color: var(--ink-2); transition: background .15s; }
.ledger__list li:last-child .ledger__row { border-bottom: 0; }
.ledger__row time { font: 400 12px var(--mono); color: var(--muted); }
.ledger__row .what { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ledger__row .amt { justify-self: end; font: 400 13px var(--mono); font-variant-numeric: tabular-nums; }
.ledger__row .amt.is-in { color: var(--ink); }
.ledger__row:hover { background: #fff; }
.ledger__row[aria-pressed="true"] { background: var(--paper); box-shadow: inset 2px 0 0 var(--ink); }
.ledger__row[aria-pressed="true"] .what { font-weight: 600; }
.ledger__row:focus-visible { outline: 2px solid var(--signal); outline-offset: -2px; }

/* The evidence behind the selected line */
.ledger__ev { padding: 20px 22px 24px; }
.ev__k { font: 400 12px var(--mono); color: var(--muted); }
.ev__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.ev__t { font-size: 20px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.ev__amt { font: 500 16px var(--mono); white-space: nowrap; }
.ev__h { margin-top: 18px; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.ev__cap { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.ev__rows { margin: 16px 0 0; }
.ev__h + .ev__rows { margin-top: 0; }
.ev__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ev__rows dt { color: var(--ink-2); }
.ev__rows dd { margin: 0; text-align: right; color: var(--ink); }
.ev__bars { display: flex; align-items: flex-end; gap: 6px; height: 96px; padding-top: 18px; }
.ev__bars span { position: relative; flex: 1; height: var(--h); min-height: 8px; background: var(--ink); border-radius: 1px; }
.ev__bars b { position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%); font: 400 11px var(--mono); color: var(--ink); white-space: nowrap; }
.ev__bars i { display: none; }
.ev__checks { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 3px; }
.ev__checks i { aspect-ratio: 1; border-radius: 1.5px; background: var(--ink); }
.ev__checks i.was-flagged { background: var(--ink); box-shadow: 0 0 0 1.5px var(--signal); }
.ev__quotes { list-style: none; margin: 0; padding: 0; }
.ev__quotes li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) 4em; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.ev__quotes i { height: 8px; width: var(--w); background: var(--line-2); border-radius: 1px; }
.ev__quotes b { justify-self: end; font: 400 13px var(--mono); }
.ev__quotes li.is-picked { color: var(--ink); font-weight: 600; }
.ev__quotes li.is-picked i { background: var(--ink); }
.ev__quotes--fee li:first-child i { background: var(--line-2); }
.ev__steps { list-style: none; margin: 0; padding: 0; }
.ev__steps li { display: grid; grid-template-columns: 3.6em 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.ev__steps time { font: 400 12.5px var(--mono); color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gut); }
.faq__head { grid-column: 1 / span 6; }
.faq__list { grid-column: 8 / span 5; border-bottom: 1px solid var(--line); --rd: .1s; }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-weight: 500; font-size: clamp(19px, 1.65vw, 23px); letter-spacing: -.018em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: none; width: 16px; height: 16px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--ink); transition: transform .4s var(--ease); }
.pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq details p { padding: 0 0 30px; max-width: 40em; font-size: 17px; color: var(--ink-2); }
.faq summary:hover { color: var(--ink-2); }

/* Request access */
.cta { padding: clamp(96px, 10vw, 152px) 0; border-top: 1px solid var(--line); }
.cta__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gut); align-items: start; }
.cta__copy { grid-column: 1 / span 6; }
.form { grid-column: 8 / span 5; --rd: .1s; }
.seg { display: inline-flex; padding: 4px; margin: 0 0 30px; border: 1px solid var(--line-2); border-radius: 999px; gap: 2px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: 9px 16px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: background .25s, color .25s; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px var(--gut); }
.field--wide { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 500; line-height: 1; color: var(--ink-2); margin-bottom: 8px; }
.field input {
  width: 100%; padding: 8px 0 12px; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  background: transparent; font-size: 21px; color: var(--ink); outline: none; transition: border-color .25s;
}
.field input::placeholder { color: var(--faint); }
.field input:focus { border-bottom-color: var(--ink); }
.field input[aria-invalid="true"] { border-bottom-color: var(--signal); }
.form__foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 36px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.form.is-sent .form__note { display: none; }
.form__status { font-size: 15px; color: var(--ink-2); max-width: 30em; }
.form__status.is-error { color: var(--signal-deep); }
.form.is-sent .form__grid, .form.is-sent .seg, .form.is-sent .btn { display: none; }
.form.is-sent .form__status { font-weight: 500; font-size: clamp(22px, 2.1vw, 28px); letter-spacing: -.02em; line-height: 1.3; color: var(--ink); max-width: 20em; }

/* Footer: a dark closing band with the offer, then the links */
/* Footer: a charcoal closing band */
.foot { background: var(--night); color: var(--cream); padding: clamp(56px, 6vw, 88px) 0 30px; }
.foot__close { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; padding-bottom: clamp(40px, 4.5vw, 64px); border-bottom: 1px solid var(--cream-line); }
.foot__offer span { color: var(--cream-3); }
.foot__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.foot__offer { max-width: 14.5em; font-size: clamp(26px, 2.8vw, 40px); font-weight: 500; line-height: 1.12; letter-spacing: -.03em; color: var(--cream); text-wrap: balance; }
.foot__row { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; padding-top: 26px; }
.foot__logo { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; }
.foot__mark { width: 22px; height: 22px; }
.foot__logo b { font-size: 16px; font-weight: 600; letter-spacing: .08em; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot__links a { font-size: 14px; color: var(--cream-2); text-decoration: none; transition: color .2s; }
.foot__links a:hover { color: var(--cream); }
.foot__meta { font: 400 12px/1.4 var(--mono); color: var(--cream-3); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: clamp(32px, 6vw, 48px); }
  .hero__copy, .sheet { grid-row: auto; display: block; }
  .fee { margin-top: clamp(26px, 2.6vw, 36px); padding-top: 18px; }
  .sheet__time { padding-top: 10px; }
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
  .nav__menu { display: block; }
  .nav__inner { gap: 12px; }
  .price__copy, .calc { grid-column: 1 / -1; }
  .net__map, .net__log { grid-column: 1 / -1; }
  .net__log { border-left: 0; border-top: 1px solid var(--cream-line); padding-left: 0; }
  #netLog { min-height: 0; }
  .mandate, .decide { grid-column: 1 / -1; }
  .ledger__body { grid-template-columns: minmax(0, 1fr); }
  .ledger__split { grid-template-columns: minmax(0, 1fr); }
  .ledger__paid { border-right: 0; border-bottom: 1px solid var(--line); }
  .ledger__list { border-right: 0; border-bottom: 1px solid var(--line); }
  .faq__head, .faq__list { grid-column: 1 / -1; }
  .cta__copy, .form { grid-column: 1 / -1; }
}

@media (max-width: 1180px) {
  .console__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .console__row { margin-left: -1px; }
  .console__phase { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; padding: 14px 16px 12px 17px; }
  .console__n, .console__d { margin: 0; }
  .console__d::before { content: "·"; margin-right: 10px; }
  .op { border-top: 1px solid var(--line); }
}
/* On the three-column console the last tile in each phase runs to the end of its line, so no row ends in a gap */
@media (min-width: 721px) and (max-width: 1180px) {
  .console__row > .op:last-child { grid-column: span 2; }
  .console__row:last-child > .op:last-child { grid-column: 1 / -1; }
  /* The stretched tile keeps its instrument at its usual size */
  .console__row > .op:last-child .op__viz { max-width: 50%; }
  .console__row:last-child > .op:last-child .op__viz { max-width: 66.6%; }
}

@media (max-width: 860px) {
  .sheet__draw { aspect-ratio: 8 / 7; }
  .chapter { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 8px; min-height: 160px; padding: 16px 0 4px; }
  .chapter__n, .chapter__title, .chapter__text { grid-area: auto; }
  .chapter__n { margin-bottom: 0 !important; }
  .chapter__title { font-size: 24px; }
  .chapter__metric { display: inline-flex; justify-self: start; align-items: center; gap: 8px; margin-top: 4px !important; padding: 6px 11px 6px 9px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 12.5px/1.2 var(--sans); color: var(--ink); }
}

@media (max-width: 720px) {
  .title { font-size: 27px; }
  .title span { margin-top: 12px; font-size: 18px; line-height: 1.45; letter-spacing: -.005em; }
  body { font-size: 16px; }
  .bubble { font-size: 10.5px; padding: 4px 7px 5px; }
  .chapter { padding: 14px 0 16px; }

  .console__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .op { grid-column: auto; padding: 14px 14px 12px; }
  .op--wide, .op--solo { grid-column: 1 / -1; }
  .op--solo .op__viz { max-width: 260px; }
  .op__how { font-size: 12.5px; }
  .console__top span:last-child { display: none; }

  .dlist li { grid-template-columns: 10px 1fr auto; row-gap: 8px; padding: 14px 16px; }
  .dlist .st { grid-column: 2 / -1; justify-self: start; }
  .m-row { padding: 14px 16px; }
  .m-row--slider { padding: 18px 16px 14px; }
  .panel__head { padding: 13px 16px; }
  .msg { padding: 18px 16px 20px; }
  .form__grid { grid-template-columns: 1fr; }
  .payouts b { display: none; }
  .payouts { height: 40px; }
  .payouts::before { top: 12px; }
  .payouts i { top: 8px; }
  .payouts span { top: 15px; font-size: 10px; }
  .ledger__head, .ledger__row { grid-template-columns: 3.6em minmax(0, 1fr) 5.6em; gap: 10px; padding-left: 14px; padding-right: 14px; }
  .ledger__ev { padding: 18px 16px 22px; }
  .foot__row { flex-direction: column; align-items: flex-start; }
  .foot__links { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 32px; }
  .foot__actions { width: 100%; flex-direction: column; }
  .foot__close .btn { width: 100%; justify-content: center; }
}

@media (max-width: 420px) {
  .hero__ctas { gap: 18px; }
  .hero__ctas .btn { width: 100%; }
  .seg { display: flex; width: 100%; }
  .seg label { flex: 1; text-align: center; }
  .seg span { padding: 9px 8px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .h-drone .h-rotor { animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; animation-delay: 0s !important; }
}
