/* ─── samandlucy.co.uk: the design system every page shares ────────────────────────────────────────────────────
   An advisor's site, not a template: charcoal and ivory, an editorial serif for headlines, a quiet bronze for the
   small accents. Sam's own photos are black and white; his companies' work keeps its real colours. Dark by design. */
:root {
  --bg: #0c0c0d;
  --bg-2: #111112;
  --bg-3: #161617;
  --bg-4: #1c1c1e;
  --line: #262527;
  --line-2: #363538;
  --ink: #eeebe5;
  --ink-2: #b2ada5;
  --ink-3: #8d8880;
  --accent: #c49a6c;
  --accent-2: #d7b48c;
  --paper: #f6f2ea;
  --paper-ink: #1f1c18;
  --bm-mere: #1a2420;
  --bm-lime: #f4efe5;
  --bm-bracken: #a85c2a;
  --p83: #0b1020;
  --p83-blue: #6d8bff;
  --focus: #e9d2b2;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --r: 10px;
  --r-lg: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 80px -40px rgba(0, 0, 0, .9);
  /* 15 Nov: the 8-point spacing scale every new page uses, and the warm gold of the main buttons */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s7: 56px; --s8: 64px; --s10: 80px; --s12: 96px; --s16: 128px;
  --sec-y: clamp(80px, 7vw + 32px, 136px);
  --gold: #d2ab79;
  --gold-hi: #ecd3ab;
  --gold-lo: #b8895a;
  --gold-ink: #1a130b;
  --glass: rgba(17, 17, 18, .8);
  color-scheme: dark;
}
/* the same dark palette whatever the device prefers: the photos and the type are designed for it */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; } }
:root[data-theme="dark"] { color-scheme: dark; }

/* ── base (the inner pages have no publish skeleton, so the reset lives here too) ── */
*, *::before, *::after { box-sizing: border-box; }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); overflow-x: clip; }
/* US visitors (an American time zone; the head partial adds .us to <html>): .us-only shows, .uk-only hides */
html:not(.us) .us-only, html.us .uk-only { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.65 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
[hidden] { display: none !important; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2 { font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; letter-spacing: -.02em; line-height: 1.05; margin: 0; text-wrap: balance; }
h3, h4 { font-family: var(--sans); font-weight: 600; letter-spacing: -.012em; line-height: 1.3; margin: 0; text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--ink-2); }
/* (16 Nov, speed: no text-wrap: pretty on paragraphs. Each time the fonts arrived it made the browser re-break every
   paragraph of the page the slow way: 1.3 s of a phone's time on /packages, against 0.1 s without it) */
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ink); color: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
/* --stick: how much of the screen the sticky header covers, for links that land on a section (the header's own --head-h,
   from assets/header.css; site.js used to measure it and set it on <html>, which re-styled every element at start-up) */
:root { --stick: var(--head-h, 64px); }
section, [id] { scroll-margin-top: calc(var(--stick, 130px) + 12px); }

/* ── type helpers ── */
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 500 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .8; }
.lede { font-size: clamp(17.5px, .45vw + 15.5px, 20.5px); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-2); }
.dim { color: var(--ink-3); }
.small { font-size: 14.5px; }
.link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.tag { justify-self: start; align-self: start; width: fit-content; display: inline-flex; align-items: center; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 6px; }

/* ── buttons ── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 9px; border: 1px solid transparent; font: 500 15.5px/1.15 var(--sans); letter-spacing: -.005em; text-decoration: none; text-align: center; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: #0c0c0d; }
.btn-primary:hover { background: #ffffff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-3); background: rgba(255, 255, 255, .03); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14.5px; border-radius: 8px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
/* the gold button: "Book a strategy call", everywhere (one obvious next action on every screen) */
.btn-gold { overflow: hidden; color: var(--gold-ink); font-weight: 600; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); border-color: rgba(255, 228, 186, .4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(0, 0, 0, .14), 0 14px 34px -16px rgba(210, 171, 121, .75); }
.btn-gold:hover { background: linear-gradient(180deg, #f3dcb6, #dbb684 55%, #c49a6c); }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 16.5px; border-radius: 11px; }

/* ── the logo: a framed S&L monogram beside the name "Sam & Lucy" (17 Nov: was the framed SM, Sam's pick); the
   ampersand is Newsreader italic in gold, in the mark and in the name ── */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.logo-mark { flex: none; display: grid; grid-auto-flow: column; place-content: center; align-items: baseline; width: 40px; height: 40px; border: 1px solid currentColor; font: 400 15px/1 var(--serif); letter-spacing: 0; padding-top: 1px; }
.logo-mark i, .logo-name i { font-style: italic; color: var(--gold); }
.logo-mark i { margin: 0 .03em 0 .05em; font-size: .94em; }
.logo-name i { margin: 0 .02em; }
.logo-tx { display: grid; line-height: 1; min-width: 0; }
.logo-name { font: 400 21px/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.logo-sub { margin-top: 7px; font: 500 9.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
/* phones: the footer's logo without its second line */
@media (max-width: 420px) { .logo-sub { display: none; } .logo-name { font-size: 19px; } .logo-mark { width: 36px; height: 36px; font-size: 13.5px; } }

/* ── the header, its menus and the phone menu: assets/header.css (linked by _partials/header.html, 16 Nov) ── */
body.locked { overflow: hidden; }

/* ── page heads and the sticky sub-menu ── */
.phead { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(64px, 8vw, 128px) clamp(52px, 6vw, 92px); }
.phead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 85% 0%, rgba(196, 154, 108, .09), transparent 65%); }
.phead-in { display: grid; gap: 24px; }
.phead-in > * { max-width: 1000px; }
.phead h1 { font-size: clamp(2.7rem, 4.4vw + 1rem, 5.4rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.crumbs a { margin-block: -6px; padding-block: 6px; color: var(--ink-2); text-decoration: none; }   /* a bigger target for a thumb, same layout */
.crumbs a:hover { color: var(--ink); }
.subnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--head-h, 64px)); z-index: 30; background: rgba(12, 12, 13, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.subnav-in { display: flex; gap: 2px; overflow-x: auto; padding-block: 8px; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 9px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-3); transition: color .2s, background .2s; }
.subnav a:hover { color: var(--ink); }
.subnav a.on { color: var(--ink); background: rgba(255, 255, 255, .07); }

/* ── sections ── */
/* (16 Nov, perf: Sam found the site laggy) a page's later sections start skipped: the browser lays out and paints only
   the first two, so the first screen appears sooner. Once the page has loaded, site.js hands it the rest a piece at a
   time while it is idle (.cv-on): each section, then each block inside it (its heading, its grid, its screens), and
   each screen of a device pair and each card of the home page's heaviest grids, of "Who you'll deal with" and of the
   onward links on its own (16 Nov, v5: one piece per frame), so no single moment
   does a big share of the work (measured on a phone: no piece over a quarter of what a whole section was), and every
   part is ready, at its real size, before anyone scrolls to it. A skipped part keeps an estimated height. */
main > section ~ section ~ section, main > section ~ section ~ section > .wrap > *, main > section ~ section ~ section :is(.devices, .hm-get, .hm-pain-grid, .hm-us, .who, .onward-grid) > *, footer.ft > * { content-visibility: auto; contain-intrinsic-size: auto 600px; }
:is(main > section, main > section > .wrap > *, main > section :is(.devices, .hm-get, .hm-pain-grid, .hm-us, .who, .onward-grid) > *, footer.ft > *).cv-on { content-visibility: visible; }
.sec { padding-block: clamp(84px, 8vw, 136px); border-top: 1px solid var(--line); }
.sec.alt { background: var(--bg-2); }
.sec.tight { padding-block: clamp(60px, 6vw, 92px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.sec-head > div { display: grid; gap: 20px; }
.sec-head h2 { font-size: clamp(2.1rem, 2.5vw + 1rem, 3.6rem); }
.sec-head.solo { grid-template-columns: minmax(0, 880px); }
@media (max-width: 900px) { .sec-head { grid-template-columns: minmax(0, 1fr); align-items: start; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.top { align-items: start; }
.split.wl { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.split.wr { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.split.flip > :first-child { order: 2; }
@media (max-width: 920px) { .split, .split.wl, .split.wr { grid-template-columns: minmax(0, 1fr); } .split.flip > :first-child { order: 0; } }
.stack-sm { display: grid; gap: 20px; align-content: start; }
.prose { display: grid; gap: 20px; }
.prose p { font-size: 18px; line-height: 1.75; color: var(--ink-2); max-width: 64ch; }
.prose p strong { color: var(--ink); font-weight: 500; }
.prose h3 { font: 400 27px/1.2 var(--serif); letter-spacing: -.01em; margin-top: 10px; }

/* photos: Sam's are black and white; captions sit underneath, like a printed report */
.fig { margin: 0; display: grid; gap: 12px; min-width: 0; }
.frame { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--bg-3); border: 1px solid var(--line); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.fig figcaption { font-size: 13.5px; color: var(--ink-3); }
.r-45 { aspect-ratio: 4 / 5; } .r-32 { aspect-ratio: 3 / 2; } .r-43 { aspect-ratio: 4 / 3; } .r-wide { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .r-wide { aspect-ratio: 4 / 3; } }
.bleed { border-block: 1px solid var(--line); }
.bleed img { width: 100%; height: clamp(320px, 44vw, 620px); object-fit: cover; }

/* numbers and credentials */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 30px 26px 6px 0; min-width: 0; }
.stat + .stat { padding-left: 26px; border-left: 1px solid var(--line); }
.stat b { display: block; font: 400 clamp(2.4rem, 2.1vw + 1.3rem, 3.5rem)/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.stat span { display: block; margin-top: 14px; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); max-width: 28ch; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { border-left: 0; padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 22px; } }

/* editorial rows: number, title, words, arrow */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.25fr) 28px; gap: 28px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; text-decoration: none; color: inherit; }
.row .n { font: 500 13px/1 var(--mono); letter-spacing: .06em; color: var(--accent-2); padding-top: 12px; }
.row h3 { font: 400 clamp(1.6rem, 1vw + 1.1rem, 2.15rem)/1.15 var(--serif); letter-spacing: -.012em; }
.row p { color: var(--ink-2); }
.row .sub { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.row .go { justify-self: end; padding-top: 8px; color: var(--ink-3); font-size: 20px; transition: transform .25s var(--ease), color .2s; }
a.row:hover .go { transform: translateX(4px); color: var(--ink); }
@media (max-width: 860px) { .row { grid-template-columns: 40px minmax(0, 1fr); gap: 10px 16px; padding: 28px 0; } .row > .body { grid-column: 2; } .row .go { display: none; } .row .n { padding-top: 10px; } }

/* principles: hairline-topped columns */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.pgrid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pgrid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 36px; }
.pr { padding: 28px 0 34px; border-top: 1px solid var(--line); min-width: 0; display: grid; gap: 10px; align-content: start; }
.pr .n { font: 500 12.5px/1 var(--mono); letter-spacing: .08em; color: var(--accent-2); }
.pr h3 { font-size: 18.5px; margin-top: 6px; }
.pr p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 1000px) { .pgrid.c3, .pgrid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .pgrid, .pgrid.c3, .pgrid.c4 { grid-template-columns: minmax(0, 1fr); } }

/* lists with a short bronze dash */
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .78em; width: 14px; height: 1px; background: var(--accent); }
.ticks li b, .ticks li strong { color: var(--ink); font-weight: 500; }
.ticks.lg li { font-size: 17px; }

/* a quotation */
.quote { margin: 0; display: grid; gap: 22px; }
.quote blockquote { margin: 0; font: 300 clamp(1.9rem, 1.9vw + 1.1rem, 3rem)/1.22 var(--serif); font-style: italic; letter-spacing: -.012em; color: var(--ink); text-wrap: balance; }
.quote figcaption { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }

/* ── case studies: the companies, in their own colours ── */
.case { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-3); }
.case + .case { margin-top: 24px; }
.case-art { position: relative; min-height: 540px; overflow: hidden; isolation: isolate; }
.case.bm .case-art { background: radial-gradient(90% 80% at 80% 0%, rgba(168, 92, 42, .5), transparent 70%), var(--bm-mere); }
.case.p83 .case-art { background: radial-gradient(90% 80% at 20% 0%, rgba(109, 139, 255, .42), transparent 70%), var(--p83); }
.case.rev { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.case.rev .case-art { order: 2; }
.case.rev .case-body { border-left: 0; border-right: 1px solid var(--line); }
.case-body { padding: clamp(28px, 3vw, 44px); display: grid; gap: 22px; align-content: start; border-left: 1px solid var(--line); min-width: 0; }
.case-logo { height: 30px; width: auto; justify-self: start; }
.case.bm .case-logo { filter: brightness(0) invert(.93); height: 34px; }
.case h3 { font: 400 clamp(1.9rem, 1.3vw + 1.2rem, 2.6rem)/1.1 var(--serif); letter-spacing: -.015em; }
.case p { color: var(--ink-2); }
.facts { display: grid; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.facts dt { font: 500 11px/1.7 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { color: var(--ink); }
.case .btn-row { margin-top: 4px; }
.browser { position: absolute; border-radius: 10px; overflow: hidden; background: #0f0f10; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .08); }
.browser .bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #1b1b1d; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.browser .bar i { width: 8px; height: 8px; border-radius: 50%; background: #3b3a3d; }
.browser .bar span { margin-left: 8px; font: 500 10.5px/1 var(--mono); color: #8d8880; }
.phone-f { position: absolute; border-radius: 28px; padding: 6px; background: #0a0a0a; box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .12); }
.phone-f img { border-radius: 22px; width: 100%; }
.snap { position: absolute; border-radius: 8px; overflow: hidden; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .1); }
.snap img { width: 100%; height: 100%; object-fit: cover; }
.case.bm .browser { right: 6%; top: 9%; width: 72%; }
.case.bm .phone-f { left: 6%; bottom: 7%; width: 25%; }
.case.bm .snap { right: 7%; bottom: 7%; width: 27%; aspect-ratio: 4 / 5; }
.case.p83 .browser { left: 6%; top: 9%; width: 72%; }
.case.p83 .phone-f { right: 7%; bottom: 7%; width: 25%; }
@media (max-width: 980px) { .case, .case.rev { grid-template-columns: minmax(0, 1fr); } .case-art, .case.rev .case-art { order: 0; min-height: 0; aspect-ratio: 4 / 3.3; } .case-body, .case.rev .case-body { border: 0; border-top: 1px solid var(--line); } }
.gallery { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 12px; margin-top: 12px; }
.gallery .frame { aspect-ratio: 4 / 5; }
.gallery .frame:first-child { aspect-ratio: auto; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery .frame:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; } }

/* ── panels, tools and the little example screens ── */
.panel { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-3); padding: clamp(24px, 2.6vw, 34px); display: grid; gap: 16px; align-content: start; min-width: 0; }
.panel h3 { font: 400 clamp(1.5rem, .8vw + 1.15rem, 1.9rem)/1.15 var(--serif); letter-spacing: -.01em; }
.panel > p { color: var(--ink-2); }
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.panels.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .panels.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .panels, .panels.c3 { grid-template-columns: minmax(0, 1fr); } }
.mock { border-radius: 12px; background: #0f0f10; border: 1px solid var(--line); padding: 12px; display: grid; gap: 8px; font-size: 13.5px; min-width: 0; }
.mrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--bg-3); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; min-width: 0; }
.mrow b { font-weight: 500; font-size: 13.5px; }
.mrow small { display: block; color: var(--ink-3); font: 500 11px/1.45 var(--mono); }
.pill { flex: none; font: 500 11px/1 var(--mono); padding: 6px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; }
.pill.on { border-color: rgba(196, 154, 108, .55); color: var(--accent-2); }
.letter { background: var(--paper); color: var(--paper-ink); border-radius: 8px; padding: 18px 20px; font: 400 16px/1.55 var(--serif); }
.letter .lh { display: flex; justify-content: space-between; gap: 10px; font: 500 10.5px/1.3 var(--mono); color: #6e675c; margin-bottom: 10px; }
.chat { display: grid; gap: 8px; }
.bub { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; }
.bub.them { background: var(--bg-4); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bub.ai { justify-self: end; background: var(--ink); color: #0c0c0d; border-bottom-right-radius: 4px; }
.bub small { display: block; margin-top: 4px; font: 500 10.5px/1 var(--mono); opacity: .6; }
.typing { justify-self: end; display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 14px; background: var(--bg-4); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: dot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.bars { display: grid; gap: 9px; }
.bars div { display: grid; grid-template-columns: 116px minmax(0, 1fr) 30px; gap: 12px; align-items: center; font-size: 13px; color: var(--ink-2); }
.bars i { display: block; height: 8px; border-radius: 4px; background: var(--bg-4); position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--accent); border-radius: 4px; }
.bars span { font: 500 12px/1 var(--mono); text-align: right; color: var(--ink); }

/* ── the example proposal: a real document, in Brackmere's own colours ── */
.prop { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (min-width: 981px) { .prop-side { position: sticky; top: 160px; } }
@media (max-width: 980px) { .prop { grid-template-columns: minmax(0, 1fr); } }
.why { list-style: none; display: grid; gap: 22px; }
.why li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.why .n { font: 400 26px/1 var(--serif); color: var(--accent-2); }
.why b { display: block; font-weight: 500; color: var(--ink); }
.why p { color: var(--ink-2); font-size: 15.5px; margin-top: 4px; }
.pdoc { display: grid; gap: 28px; min-width: 0; }
.pp-link { display: block; text-decoration: none; border-radius: 6px; }
.ppage { container-type: inline-size; position: relative; display: flex; flex-direction: column; min-width: 0; background: #fbf8f2; color: var(--bm-mere); border-radius: 6px; overflow: hidden; box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .95), 0 0 0 1px rgba(26, 36, 32, .06); }
.ppage-in { flex: 1; display: grid; gap: 20px; align-content: start; padding: clamp(26px, 3.6vw, 50px); }
.pp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(26, 36, 32, .14); }
.pp-head img { height: 22px; width: auto; }
.pp-head span, .pp-meta-line { font: 500 10px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #6b6458; }
.pp-meta-line { display: flex; justify-content: space-between; gap: 12px; }
.pp-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px clamp(26px, 3.6vw, 50px); border-top: 1px solid rgba(26, 36, 32, .1); font: 500 9.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #6b6458; }
.pp-foot span:last-child { flex: none; white-space: nowrap; }
.pp-stamp { position: absolute; top: 16px; right: 16px; z-index: 3; font: 600 9.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #fbf8f2; background: rgba(26, 36, 32, .82); padding: 8px 10px; border-radius: 4px; }
.ppage:not(.cover) .pp-stamp { color: var(--bm-mere); background: rgba(168, 92, 42, .14); }
.pp-hero { position: relative; aspect-ratio: 16 / 8.2; overflow: hidden; background: var(--bm-mere); }
.pp-hero img.photo { width: 100%; height: 100%; object-fit: cover; }
.pp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 36, 32, .05) 35%, rgba(26, 36, 32, .88)); }
.pp-hero-tx { position: absolute; z-index: 2; left: clamp(26px, 3.6vw, 50px); right: 24px; bottom: clamp(20px, 2.6vw, 32px); display: grid; gap: 10px; }
.pp-hero-tx img { height: 26px; width: auto; filter: brightness(0) invert(1); }
.pp-kicker { font: 600 10.5px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: #e2b48c; }
.pp-title { font: 400 clamp(30px, 2.4vw + 14px, 44px)/1.05 var(--serif); letter-spacing: -.015em; color: var(--bm-mere); margin: 0; }
.pp-title em { font-style: italic; color: var(--bm-bracken); }
.pp-for { color: #5c5a52; font-size: 15px; margin-top: -8px; }
.pp-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid rgba(26, 36, 32, .14); border-radius: 8px; overflow: hidden; background: #fff; }
.pp-figs > div { padding: 16px 18px; min-width: 0; }
.pp-figs > div + div { border-left: 1px solid rgba(26, 36, 32, .14); }
.pp-figs small { display: block; font: 500 10px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #6b6458; }
.pp-figs b { display: block; margin-top: 8px; font: 400 27px/1 var(--serif); letter-spacing: -.01em; color: var(--bm-mere); font-weight: 400; }
.pp-figs span { display: block; margin-top: 5px; font-size: 12.5px; color: #6b6458; }
.pp-h { display: flex; align-items: center; gap: 12px; margin-top: 6px; font: 600 10.5px/1.2 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #8a4a20; }
.pp-h::after { content: ""; flex: 1; height: 1px; background: rgba(168, 92, 42, .28); }
.pp-p { font-size: 15.5px; line-height: 1.7; color: #39423d; }
.pp-p.small { font-size: 13.5px; color: #6a6459; }
/* the drawing sheet (6 Nov, Sam: "best architect drawing ever… custom… super nice"): it sits edge to edge on the
   page like a pinned sheet, and opens full size on a click or a tap (site.js) */
.pp-plan-wrap { position: relative; min-width: 0; margin-inline: calc(-1 * clamp(26px, 3.6vw, 50px)); border-block: 1px solid rgba(26, 36, 32, .16); background: #f6efe3; cursor: zoom-in; }
.pp-plan-wrap:focus-visible { outline: 2px solid var(--bm-bracken); outline-offset: -2px; }
.pp-plan-wrap::after { content: "View full size"; position: absolute; top: 12px; right: 12px; padding: 7px 10px; border-radius: 4px; background: rgba(26, 36, 32, .88); color: #fbf8f2; font: 600 9.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .35s var(--out); pointer-events: none; }
.pp-plan-wrap:hover::after, .pp-plan-wrap:focus-visible::after { opacity: 1; transform: none; }
.pp-plan { display: block; width: 100%; height: auto; }
.pp-plan-hint { display: none; margin-top: -8px; font: 500 10px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #6b6458; }
@media (hover: none) { .pp-plan-hint { display: block; } }
.pp-zoom { position: fixed; inset: 0; z-index: 400; display: grid; place-items: start center; overflow: auto; padding: 64px 16px 24px; background: #09090a; animation: page-in .3s both; }
.pp-zoom-in { width: min(1500px, 100%); overflow: auto; border-radius: 4px; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9); }
.pp-zoom-in svg { display: block; width: 100%; min-width: 980px; height: auto; }
.pp-zoom-x { position: fixed; top: 14px; right: 16px; z-index: 2; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(20, 20, 21, .7); color: #fff; font: 500 14px/1 var(--sans); cursor: pointer; }
.pp-checks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 22px; }
.pp-checks li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.45; color: #2b332f; }
.pp-checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%; background: var(--bm-bracken) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.pp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pp-table th { text-align: left; padding: 0 6px 10px; border-bottom: 1.5px solid var(--bm-mere); font: 500 10px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #6b6458; }
.pp-table td { padding: 12px 6px; border-bottom: 1px solid rgba(26, 36, 32, .1); vertical-align: top; color: #2b332f; }
.pp-table td.n { width: 34px; font: 500 11px/1.75 var(--mono); color: var(--bm-bracken); }
.pp-table td.r, .pp-table th.r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pp-table td small { display: block; margin-top: 2px; font-size: 12.5px; color: #6b6458; }
.pp-total { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 0; align-items: baseline; padding: 20px 22px; border-radius: 8px; background: var(--bm-mere); color: var(--bm-lime); }
.pp-total span { font-size: 14px; color: #b9c2bd; }
.pp-total b { padding-left: 24px; text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.pp-total .tl { margin-top: 6px; padding-top: 12px; border-top: 1px solid rgba(244, 239, 229, .18); color: var(--bm-lime); font-weight: 500; }
.pp-total .big { margin-top: 6px; padding-top: 12px; border-top: 1px solid rgba(244, 239, 229, .18); font: 400 30px/1 var(--serif); letter-spacing: -.01em; }
/* the programme (6 Nov, v2: Sam "looks meh"): a contractor's chart, with months, weeks and dates, numbered stages,
   milestones, bank-holiday weeks hatched, and the five stage payments on the same timeline */
.pg { --lw: 200px; --gap: 14px; --rule: rgba(26, 36, 32, .1); display: grid; min-width: 0; font-variant-numeric: tabular-nums; }
.pg-hd, .pg-row { display: grid; grid-template-columns: var(--lw) minmax(0, 1fr); column-gap: var(--gap); }
.pg-cal { padding-right: 11px; }
.pg-hd { align-items: end; padding-bottom: 8px; border-bottom: 1.5px solid var(--bm-mere); }
.pg-hd .pg-lb { display: grid; gap: 4px; font: 500 10px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #6b6458; }
.pg-hd .pg-lb b { font: 400 19px/1.05 var(--serif); letter-spacing: -.005em; text-transform: none; color: var(--bm-mere); }
.pg-cal { display: grid; gap: 8px; min-width: 0; }
.pg-mo, .pg-wk { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.pg-mo span { min-width: 0; overflow: hidden; padding-left: 6px; border-left: 1px solid rgba(26, 36, 32, .4); font: 600 10px/1.1 var(--mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: #8a4a20; }
.pg-wk span { position: relative; display: grid; justify-items: center; gap: 4px; min-width: 0; font: 600 10px/1 var(--mono); color: var(--bm-mere); }
.pg-wk small { font: 500 8.5px/1 var(--mono); white-space: nowrap; color: #6b6458; }
.pg-wk .bh::after { content: ""; position: absolute; top: -1px; right: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--bm-bracken); }
.pg-bd { position: relative; display: grid; }
.pg-ov { position: absolute; top: 0; bottom: 0; left: calc(var(--lw) + var(--gap)); right: 11px; pointer-events: none; }
.pg-ov i { position: absolute; top: 0; bottom: 0; left: calc(var(--m, var(--a)) * 100% / 12); }
.pg-ov .bh { width: calc((var(--b) - var(--a)) * 100% / 12); background: repeating-linear-gradient(135deg, rgba(26, 36, 32, .08) 0 1px, transparent 1px 5px); }
.pg-ov .mb { border-left: 1px solid rgba(26, 36, 32, .28); }
.pg-ov .bh, .pg-ov .mb { bottom: 44px; }
.pg-ov .ms { bottom: 20px; border-left: 1px dashed rgba(168, 92, 42, .65); }
.pg-row { position: relative; align-items: center; min-height: 31px; border-bottom: 1px solid var(--rule); }
.pg-row .pg-lb { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: baseline; gap: 6px; min-width: 0; }
.pg-n { font: 500 10px/1 var(--mono); color: var(--bm-bracken); }
.pg-t { min-width: 0; overflow: hidden; font-size: 13.5px; white-space: nowrap; text-overflow: ellipsis; color: #2b332f; }
.pg-d { font: 500 10px/1 var(--mono); white-space: nowrap; color: #6b6458; }
.pg-ln { position: relative; align-self: stretch; min-height: 31px; padding-right: 11px; background: linear-gradient(90deg, var(--rule) 1px, transparent 1px) 0 0 / calc(100% / 12) 100%; background-origin: content-box; background-clip: content-box; }
.pg-ln > i { position: absolute; top: 50%; height: 10px; margin-top: -5px; left: calc(var(--a) * (100% - 11px) / 12 + 2px); width: calc((var(--b) - var(--a)) * (100% - 11px) / 12 - 4px); border-radius: 2px; background: var(--bm-bracken); }
.pg-ln > .dm { position: absolute; z-index: 2; top: 50%; left: calc(var(--m) * (100% - 11px) / 12); width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; transform: rotate(45deg); background: var(--bm-mere); box-shadow: 0 0 0 2px #fbf8f2; }
.pg-pays { min-height: 44px; border-bottom: 0; }
.pg-pays .pg-lb { display: block; font: 600 10px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #8a4a20; }
.pg-pays .pg-ln { min-height: 44px; background: none; }
.pg-pays .pg-ln::before { content: ""; position: absolute; left: 0; right: 11px; top: 50%; border-top: 1.5px solid var(--bm-mere); }
.pg-pays .pd { position: absolute; z-index: 1; top: 50%; left: calc(var(--m) * (100% - 11px) / 12); width: 20px; height: 20px; margin: -10px 0 0 -10px; display: grid; place-items: center; border-radius: 50%; font: 600 10px/1 var(--mono); color: #fbf8f2; background: var(--c); box-shadow: 0 0 0 3px #fbf8f2; }
.pg-pays .pd.lt, .ps-i.lt, .ps-bar span.lt { color: var(--bm-mere); }
.pg-key { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; font-size: 12px; color: #5c5a52; }
.pg-key span { display: inline-flex; align-items: center; gap: 8px; }
.pg-key span::before { content: ""; flex: none; }
.pg-key .k-bar::before { width: 18px; height: 8px; border-radius: 2px; background: var(--bm-bracken); }
.pg-key .k-ms::before { width: 8px; height: 8px; margin-inline: 2px; transform: rotate(45deg); background: var(--bm-mere); }
.pg-key .k-pay::before { width: 12px; height: 12px; border-radius: 50%; background: var(--bm-mere); }
.pg-key .k-bh::before { width: 14px; height: 12px; background: repeating-linear-gradient(135deg, rgba(26, 36, 32, .4) 0 1px, transparent 1px 4px); box-shadow: inset 0 0 0 1px rgba(26, 36, 32, .15); }
/* how you pay: the five stages as one bar, then a schedule with dates */
.ps { display: grid; gap: 16px; }
.ps-bar { display: flex; gap: 3px; height: 26px; }
.ps-bar span { flex: var(--w) 1 0; min-width: 0; display: grid; place-items: center; overflow: hidden; border-radius: 3px; font: 600 10px/1 var(--mono); color: #fbf8f2; background: var(--c); }
.ps-t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ps-t th { padding: 0 0 9px; border-bottom: 1.5px solid var(--bm-mere); text-align: left; font: 500 10px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #6b6458; }
.ps-t td { padding: 13px 0; border-bottom: 1px solid rgba(26, 36, 32, .1); vertical-align: top; font-size: 14px; color: #2b332f; }
.ps-t td:first-child { position: relative; padding-left: 36px; }
.ps-t .r { padding-left: 16px; text-align: right; white-space: nowrap; }
.ps-t th.r { padding-left: 16px; text-align: right; }
.ps-t b { display: block; font-weight: 600; color: var(--bm-mere); }
.ps-t small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: #6b675d; }
.ps-i { position: absolute; left: 0; top: 12px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font: 600 10.5px/1 var(--mono); color: #fbf8f2; background: var(--c); }
.ps-t td.amt { font: 400 19px/1.1 var(--serif); letter-spacing: -.005em; color: var(--bm-mere); }
.ps-t tfoot td { padding-top: 15px; border-top: 1.5px solid var(--bm-mere); border-bottom: 0; }
.ps-t tfoot td.amt { font-size: 27px; }
.pp-promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.pp-promises > div { border-top: 2px solid var(--bm-mere); padding-top: 10px; font-size: 14px; color: #39423d; }
.pp-promises b { display: block; color: var(--bm-mere); font-size: 15px; font-weight: 600; }
.pp-signoff { display: grid; gap: 14px; padding: 20px 22px; border-radius: 8px; border: 1px solid rgba(26, 36, 32, .14); background: #fff; }
.pp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-actions span { font: 600 13px/1 var(--sans); padding: 12px 16px; border-radius: 6px; background: var(--bm-mere); color: var(--bm-lime); }
.pp-actions span.l { background: transparent; color: var(--bm-mere); box-shadow: inset 0 0 0 1.5px var(--bm-mere); }
.pp-cta { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font: 600 13.5px/1 var(--sans); color: var(--bm-mere); }
/* sized by the page itself, not the window: the page is narrow beside the notes on a laptop, wide on a tablet */
@container (max-width: 560px) {
  .pg { --lw: 140px; --gap: 10px; }
  .pg-row .pg-lb { grid-template-columns: 20px minmax(0, 1fr); }
  .pg-d, .pg-wk small { display: none; }
}
@container (max-width: 460px) {
  .pp-figs, .pp-checks, .pp-promises { grid-template-columns: minmax(0, 1fr); }
  .pp-figs > div + div { border-left: 0; border-top: 1px solid rgba(26, 36, 32, .14); }
  .pg { --lw: 100px; --gap: 8px; }
  .pg-row .pg-lb { grid-template-columns: minmax(0, 1fr); }
  .pg-n { display: none; }
  .pg-t { font-size: 12px; line-height: 1.2; white-space: normal; }
  .pg-hd .pg-lb b { font-size: 15px; }
  .pg-mo span { padding-left: 3px; font-size: 8.5px; letter-spacing: .05em; }
  .pg-wk span { font-size: 8.5px; }
  .pg-pays .pd { width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; font-size: 8.5px; box-shadow: 0 0 0 2px #fbf8f2; }
  .ps-t td:first-child { padding-left: 30px; }
  .ps-t td.amt { font-size: 17px; }
  .pp-table td.n { display: none; }
  .pp-hero { aspect-ratio: 4 / 3; }
  .pp-head span { display: none; }
}


/* ── the timeline of steps ── */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.steps.s4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { position: relative; padding: 30px 22px 0 0; min-width: 0; }
.step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px var(--bg); }
.sec.alt .step::before { box-shadow: 0 0 0 5px var(--bg-2); }
.step-when { font: 500 11.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.step h3 { font-size: 19px; margin-top: 12px; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .steps, .steps.s4 { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 1px solid var(--line-2); padding-left: 26px; gap: 30px; } .step { padding: 0; } .step::before { left: -31px; top: 4px; } }

/* ── areas ── */
.areas { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 56px); background: radial-gradient(60% 80% at 100% 0%, rgba(196, 154, 108, .1), transparent 70%), var(--bg-3); }
.areas h2 { font-size: clamp(2rem, 1.8vw + 1.2rem, 3rem); }
.areas p { color: var(--ink-2); margin-top: 16px; }
.slots { display: grid; gap: 10px; }
.slot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--line); background: var(--bg-2); border-radius: 10px; padding: 14px 16px; }
.slot b { font-weight: 500; font-size: 15px; }
.slot small { display: block; color: var(--ink-3); font-size: 13px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--ink-3); }
.dots i.on { background: var(--ink); border-color: var(--ink); }
@media (max-width: 900px) { .areas { grid-template-columns: minmax(0, 1fr); } }

/* ── packages ── */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-3); }
.plan { position: relative; padding: 34px 28px 30px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.rec { background: var(--bg-4); }
.plan.rec::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--accent); }
.plan-top { display: grid; gap: 10px; }
.tier { display: flex; justify-content: space-between; gap: 10px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.tier em { font-style: normal; color: var(--accent-2); }
.plan h3 { font: 400 32px/1 var(--serif); letter-spacing: -.015em; }
.plan .for { color: var(--ink-2); font-size: 14.5px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; padding-block: 18px; border-block: 1px solid var(--line); }
.price small { flex-basis: 100%; margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.price b { font: 400 50px/1 var(--serif); letter-spacing: -.02em; font-weight: 400; }
.price span { color: var(--ink-3); font-size: 14px; }
/* a price in words (bespoke apps: "priced on your specification and requirements", Sam 16 Nov item 79) */
:is(.price, .extra-price, .pricenote-price) b.is-words { font-size: clamp(24px, 1vw + 17px, 30px); line-height: 1.15; max-width: 16ch; text-wrap: balance; }
.plan ul { list-style: none; display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.plan li { position: relative; padding-left: 20px; }
.plan li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 1px; background: var(--ink-3); }
.plan li.all { color: var(--ink); font-weight: 600; }
.plan li.all::before { background: var(--accent); }
.plan .btn, .plan > .link-arrow { margin-top: auto; }
.plan .btn { width: 100%; white-space: normal; padding: 12px 16px; }
.plan:target { box-shadow: inset 0 0 0 1px var(--accent); }
@media (max-width: 1120px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plan:nth-child(3) { border-left: 0; } .plan:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 640px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan + .plan { border-left: 0; border-top: 1px solid var(--line); } }
/* the bespoke band under the packages */
.extra { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px 48px; margin-top: 20px; padding: 30px 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-3); }
.extra > * { min-width: 0; }
.extra h3 { margin-top: 12px; font: 400 clamp(23px, 1.1vw + 15px, 29px)/1.15 var(--serif); letter-spacing: -.01em; }
.extra h3 em { font-style: italic; color: var(--ink-2); }
.extra .for { margin-top: 8px; max-width: 620px; color: var(--ink-2); font-size: 14.5px; }
.extra-price { display: grid; justify-items: end; gap: 10px; text-align: right; }
.extra-price small { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.extra-price b { font: 400 46px/1 var(--serif); letter-spacing: -.02em; font-weight: 400; }
@media (max-width: 640px) { .extra { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; } .extra-price { justify-items: start; text-align: left; } }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-3); }
.cmp { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 14.5px; }
.cmp th, .cmp td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp th:first-child, .cmp td:first-child { text-align: left; }
.cmp thead th { position: sticky; top: 0; background: var(--bg-3); font: 400 21px/1.2 var(--serif); }
.cmp thead th small { display: block; font: 400 12.5px/1.2 var(--sans); color: var(--ink-3); margin-top: 4px; }
.cmp tbody th { text-align: left; font-weight: 400; color: var(--ink-2); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp .grp td { background: var(--bg-2); text-align: left; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.cmp .yes { display: inline-block; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eeebe5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat; }
.cmp .no { color: #5f5a54; }
.cmp .col-pick { background: rgba(255, 255, 255, .025); }
.cmp td.price-cell { font: 400 24px/1 var(--serif); }
.cmp td.price-cell small { display: block; font: 400 12.5px/1.2 var(--sans); color: var(--ink-3); margin-top: 4px; }
/* 16 Nov (QA P2-13): on a phone the table shows one package at a time, chosen with four tabs above it (site.js
   [data-cmp-tabs]); no sideways swiping, nothing clipped */
.cmp-tabs { display: none; }
@media (max-width: 600px) {
  .cmp-tabs { position: sticky; top: calc(var(--stick, 75px) + 8px); z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-bottom: 12px; padding: 5px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(17, 17, 18, .96); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .9); }
  .cmp-tabs button { display: grid; gap: 3px; place-content: center; min-height: 54px; padding: 0 2px; border-radius: 10px; border: 1px solid transparent; background: none; color: var(--ink-2); font: 500 12.5px/1.1 var(--sans); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
  .cmp-tabs button b { font: 400 18px/1 var(--serif); color: var(--ink); }
  .cmp-tabs button[aria-selected="true"] { border-color: rgba(210, 171, 121, .6); background: rgba(210, 171, 121, .12); color: var(--gold-hi); }
  .cmp-tabs button[aria-selected="true"] b { color: var(--gold-hi); }
  .cmp-wrap { overflow: visible; }
  .cmp { min-width: 0; table-layout: auto; }
  .cmp thead { display: none; }
  .cmp tr > :nth-child(n+2) { display: none; }
  .cmp tbody th { width: 68%; }
  .cmp[data-col="1"] tr > :nth-child(2), .cmp[data-col="2"] tr > :nth-child(3), .cmp[data-col="3"] tr > :nth-child(4), .cmp[data-col="4"] tr > :nth-child(5) { display: table-cell; }
  .cmp th, .cmp td { padding: 12px 12px; font-size: 14px; }
  .cmp .col-pick { background: none; }
  .cmp td.price-cell { font-size: 20px; }
}

/* terms, questions */
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.term { padding: 26px 0 30px; border-top: 1px solid var(--line); min-width: 0; }
.term h3 { font-size: 18px; }
.term p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 760px) { .terms { grid-template-columns: minmax(0, 1fr); } }
.faq { display: grid; border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; font: 500 17.5px/1.4 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 300 26px/1 var(--sans); color: var(--ink-3); transition: transform .25s var(--ease), color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--ink); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 72ch; }

/* ── forms ── */
.form { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 38px); min-width: 0; }
.form h2 { font-size: clamp(1.9rem, 1vw + 1.4rem, 2.3rem); }
.form .sub { color: var(--ink-3); font-size: 14.5px; margin: 10px 0 26px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: 14px; }
.field label span { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-2); background: #0f0f10; color: var(--ink); font: 400 16px/1.4 var(--sans); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 112px; padding: 12px 14px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #75706a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink-2); box-shadow: 0 0 0 3px rgba(238, 235, 229, .09); }
.field .err { display: none; font-size: 13.5px; color: #f0a789; font-weight: 500; }
.field.bad input, .field.bad select { border-color: #d9805f; }
.field.bad .err { display: block; }
.sel { position: relative; }
.sel::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border: solid var(--ink-3); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; }
.field select option { background: #161617; color: var(--ink); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin-top: 18px; cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--ink); }
.form .btn { width: 100%; margin-top: 22px; min-height: 54px; font-size: 16px; }
.form-small { margin-top: 14px; font-size: 13px; color: var(--ink-3); text-align: center; }
.done { display: grid; gap: 12px; text-align: center; padding: 26px 6px; }
.done-mark { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.done-mark::after { content: ""; position: absolute; left: 21px; top: 14px; width: 12px; height: 22px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.done h3 { font: 400 30px/1.15 var(--serif); }
.done p { color: var(--ink-2); }
.preview-note { margin-top: 6px; font: 500 12px/1.5 var(--mono); color: var(--ink-3); }
@media (max-width: 560px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }

/* ── the footer (15 Nov, Sam: "the footer needs to be way better"; the giant faded wordmark is gone): a booking panel
   with Sam and Lucy, every page of the site in clear columns, the address and the legal links ── */
.ft { position: relative; background: #0a0a0b; border-top: 1px solid var(--line); color: var(--ink-3); }
body.has-bookbar .ft { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
.ft a:not(.btn) { color: inherit; text-decoration: none; transition: color .2s; }
.ft a:not(.btn):hover { color: var(--ink); }
.ft-book { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); background: radial-gradient(60% 90% at 88% 0%, rgba(210, 171, 121, .15), transparent 62%), radial-gradient(45% 70% at 0% 100%, rgba(210, 171, 121, .07), transparent 60%), #0e0e0f; }
.ft-book::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(210, 171, 121, .75), transparent); }
.ft-book-in { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(40px, 6vw, 104px); align-items: center; padding-block: clamp(72px, 7vw, 120px); }
.ft-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-3); box-shadow: 0 60px 120px -60px rgba(0, 0, 0, .95); }
.ft-photo img { width: 100%; height: 100%; object-fit: cover; }
.ft-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 3px; padding: 56px 22px 20px; background: linear-gradient(180deg, transparent, rgba(10, 10, 11, .94)); }
.ft-photo figcaption b { font: 400 22px/1.15 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.ft-photo figcaption span { font-size: 13.5px; color: var(--ink-2); }
.ft-book-tx { display: grid; gap: 24px; align-content: center; max-width: 660px; min-width: 0; }
.ft-book h2 { font-size: clamp(2.3rem, 2.9vw + 1rem, 4.2rem); color: var(--ink); }
.ft-book-p { font-size: clamp(17px, .35vw + 15.5px, 19px); line-height: 1.6; color: var(--ink-2); max-width: 52ch; }
.ft-book-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-top: 4px; }
.ft-book-cta .btn { min-height: 58px; padding: 0 30px; font-size: 16.5px; border-radius: 11px; }
.next-slot { font: 500 12px/1.4 var(--mono); letter-spacing: .05em; color: var(--ink-3); }
.next-slot:empty { display: none; }
.next-slot.has-slot { color: var(--accent-2); }
.next-slot.has-slot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: #86d39a; box-shadow: 0 0 0 4px rgba(134, 211, 154, .15); vertical-align: 1px; }
.ft-ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.ft-ticks li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--ink-2); }
.ft-ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: rgba(210, 171, 121, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6c89f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ft-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3.1fr); gap: 56px; padding-block: 72px 48px; }
.ft-brand { display: grid; gap: 18px; align-content: start; max-width: 380px; min-width: 0; }
.ft-brand .logo { color: var(--ink); }
.ft-brand p { font-size: 14.5px; line-height: 1.6; }
.ft .ft-mail { color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; }
.ft-brand address { font-style: normal; font-size: 13.5px; line-height: 1.55; padding-left: 14px; border-left: 1px solid var(--accent); }
.ft-co { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.ft-co span { flex-basis: 100%; font: 500 10.5px/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.ft-co a { color: var(--ink-2); }
.ft-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; min-width: 0; }
.ft-col { min-width: 0; }
.ft-col summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); font: 500 11px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); cursor: default; }
.ft-col summary::-webkit-details-marker { display: none; }
.ft-links { display: grid; }
.ft-links a { padding: 6px 0; font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; }
.ft-links .ft-all { color: var(--accent-2); }
.ft-n { display: inline-block; width: 28px; font-size: 12.5px; font-variant-numeric: tabular-nums lining-nums; color: rgba(210, 171, 121, .62); }
.ft-links a:hover .ft-n { color: var(--gold-hi); }
.ft-links .ft-all::after { content: " →"; }
.ft-links a[aria-current="page"] { color: var(--ink); }
.ft-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 22px 30px; border-top: 1px solid var(--line); font-size: 13.5px; }
.ft-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ft-legal a { margin-block: -6px; padding-block: 6px; }
.to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--ink-2); background: none; cursor: pointer; font: 500 13.5px/1 var(--sans); }
.to-top:hover { color: var(--ink); border-color: var(--ink-3); }
@media (max-width: 1080px) { .ft-main { grid-template-columns: minmax(0, 1fr); gap: 48px; } .ft-brand { max-width: 600px; } }
@media (max-width: 860px) {
  .ft-book-in { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 64px 56px; }
  .ft-photo { display: grid; grid-template-columns: 68px minmax(0, 1fr); align-items: center; gap: 14px; aspect-ratio: auto; border: 0; border-radius: 0; overflow: visible; box-shadow: none; background: none; }
  .ft-photo img { width: 68px; height: 68px; border-radius: 50%; object-position: center 22%; border: 1px solid var(--line-2); }
  .ft-photo figcaption { position: static; padding: 0; background: none; }
  .ft-photo figcaption b { font-size: 20px; }
  .ft-book-cta .btn { width: 100%; }
}
@media (max-width: 760px) {
  .ft-main { padding-block: 56px 32px; }
  .ft-cols { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
  .ft-col { border-bottom: 1px solid var(--line); }
  .ft-col summary { min-height: 58px; padding: 0; margin: 0; border: 0; cursor: pointer; font-size: 12px; color: var(--ink); }
  .ft-col summary::after { content: "+"; font: 300 24px/1 var(--sans); letter-spacing: 0; color: var(--ink-3); transition: transform .3s var(--ease); }
  .ft-col[open]:not(.closing) summary::after { transform: rotate(45deg); }
  .ft-links { padding-bottom: 14px; overflow: hidden; transition: height .4s cubic-bezier(.76, 0, .24, 1); }
  .ft-base { flex-direction: column; align-items: flex-start; }
  .ft-desc { display: none; }
  .ft-book-in { padding-block: 52px 48px; gap: 22px; }
  .ft-book-tx { gap: 18px; }
  .ft-main { gap: 32px; }
}
/* the cookie question (16 Nov): asked only once tracking IDs are filled in (site.js TAGS), and then as one quiet line
   just above the booking bar after the visitor's first scroll, so it never covers the first screen or its gold button */
.cookie { position: fixed; z-index: 56; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(600px, calc(100% - 24px)); transform: translateX(-50%); display: flex; align-items: center; gap: 8px 14px; padding: 7px 7px 7px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(22, 22, 23, .97); color: var(--ink); box-shadow: var(--shadow); animation: rise .5s var(--ease) both; }
.cookie[hidden] { display: none; }
body.has-bookbar .cookie { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
.cookie p { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
.cookie p b { color: var(--ink); font-weight: 500; }
.cookie div { display: flex; gap: 6px; flex: none; }
.cookie .btn { min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; }
@media (max-width: 560px) { body.has-bookbar .cookie { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 16px); } .cookie p { font-size: 12.5px; } .cookie .btn { padding: 0 11px; font-size: 13px; } }

/* ── motion v2 (6 Nov, Sam: "more animations… way more professional… a £100m company"): it now runs in every
   browser, not only the newest Chrome (the old scroll-timeline version never played on most iPhones). Calm and quick,
   each thing moves once, and nothing moves for people who ask their device for less motion. site.js adds .in.
   (16 Nov, Sam: "very laggy"; items 58-62, "calm, realistic, subtle, never over the top": every arrival is shorter and
   travels less. The page fades in over 0.3 s, blocks rise 16px in about half a second, lists follow each other 40ms
   apart, headings rise in 0.7 s and photos unveil in 0.8 s, so nothing is still arriving when you look at it.) ── */
:root { --out: cubic-bezier(.16, 1, .3, 1); }
@keyframes rise { from { opacity: .001; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes page-in { from { opacity: 0; } }
@keyframes m-failsafe { to { opacity: 1; transform: none; } }
.intro > * { animation: rise .6s var(--ease) both; }
.intro > *:nth-child(2) { animation-delay: .05s; } .intro > *:nth-child(3) { animation-delay: .1s; } .intro > *:nth-child(4) { animation-delay: .15s; } .intro > *:nth-child(5) { animation-delay: .2s; } .intro > *:nth-child(n+6) { animation-delay: .25s; }
.intro > .words { animation: none; }
/* headings: each word rises from behind its own line */
.w { display: inline-block; vertical-align: top; overflow: hidden; padding: 0 .09em .17em 0; margin: 0 -.09em -.17em 0; }
.wi { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  main { animation: page-in .3s var(--out) backwards; }
  html.leaving main, html.leaving .ft { opacity: 0; transition: opacity .19s ease-in; }
  html.m .reveal:not(.stg) { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--out), transform .6s var(--out); }
  html.m .reveal.in:not(.stg) { opacity: 1; transform: none; }
  html.m .ppage.reveal:not(.in) { transform: translateY(28px) rotate(.4deg); }
  /* lists and grids: one after another */
  html.m .stg > * { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--out), transform .6s var(--out); transition-delay: calc(var(--i, 0) * 40ms + var(--d, 0ms)); }
  html.m .stg.in > * { opacity: 1; transform: none; }
  html.m .words .wi { transform: translateY(110%); transition: transform .7s var(--out); transition-delay: calc(var(--i, 0) * 30ms + var(--d, 0ms)); }
  html.m .words.in .wi { transform: none; }
  /* once they have risen, the words lose their masks (site.js adds .risen): a long page kept one clipping layer per word */
  html.m .words.risen .w { overflow: visible; }
  /* photos: a slow curtain, then the picture settles */
  /* (16 Nov, perf: the curtain is a cover over the photo that slides away, no longer a clip-path on the photo itself: a
     moving clip-path repainted the whole picture on every frame, a moving cover is shifted by the graphics chip alone.
     The frame is its own stacking layer, so the cover never rises above anything outside the photo.) */
  html.m .pic { position: relative; isolation: isolate; }
  html.m .pic::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--bg-3); transform-origin: 50% 100%; transition: transform .8s var(--out) var(--d, 0ms); }
  html.m .pic.in::after { transform: scaleY(0); }
  html.m .pic img { transform: scale(1.06); transition: transform 1.2s var(--out) var(--d, 0ms); }
  html.m .pic.in img { transform: none; }
  /* lines that draw themselves */
  html.m .reveal .kicker::before, html.m .stg .kicker::before { transform: scaleX(0); transform-origin: left center; transition: transform .6s var(--out) .15s; }
  html.m .in .kicker::before { transform: none; }
  .steps { position: relative; }
  html.m .steps::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--accent); opacity: .7; transform: scaleX(0); transform-origin: left center; transition: transform 1.2s var(--out) .1s; }
  html.m .steps.in::after { transform: none; }
  html.m .pg-ln > i { transform: scaleX(0); transform-origin: left center; transition: transform .8s var(--out); transition-delay: calc(var(--i, 0) * 60ms + .2s); }
  html.m .in .pg-ln > i { transform: none; }
  html.m .pg-ln > .dm, html.m .pg-pays .pd, html.m .ps-bar span { opacity: 0; transition: opacity .5s var(--out) .9s; }
  html.m .in .pg-ln > .dm, html.m .in .pg-pays .pd, html.m .in .ps-bar span { opacity: 1; }
  /* if site.js never runs, nothing stays hidden */
  html.m:not(.mj) .reveal { animation: m-failsafe 0s 2.5s forwards; }
}
/* for screenshots and checks: everything in its final place */
html.still *, html.still *::before, html.still *::after { animation: none !important; transition: none !important; }
html.still .reveal, html.still .stg > *, html.still .wi, html.still .pic img, html.still .pg-ln > i, html.still .pg-pays .pd, html.still .ps-bar span, html.still .kicker::before, html.still main { opacity: 1 !important; transform: none !important; }
html.still .pic img { clip-path: none !important; }
html.still .pic::after { display: none !important; }
html.still .pg-ln > .dm { opacity: 1 !important; }
/* depth: photos drift a little slower than the page (site.js sets translate) */
.bleed { overflow: hidden; }
html.m .px-img { scale: 1.1; will-change: translate; }
/* the hero's words ease away as you scroll: on their own layer, so moving them never repaints the hero (16 Nov) */
html.mj .pagehero-in, html.mj .hero .hero-copy { will-change: translate, opacity; }
/* the reading-progress line under the header follows the scroll by itself where the browser can (a scroll-driven
   animation, run by the graphics chip: no script while scrolling); elsewhere site.js moves it once per frame (16 Nov) */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) { #progress { animation: sm-read linear both; animation-timeline: scroll(root block); } }
}
@keyframes sm-read { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* hover: a soft light follows the pointer across cards; the main button catches the light */
@media (hover: hover) and (pointer: fine) {
  .spot { position: relative; }
  .spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(238, 235, 229, .055), transparent 45%); }
  .spot:hover::after { opacity: 1; }
  .btn-primary { overflow: hidden; }
  .btn-primary::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .6) 50%, transparent 65%); transform: translateX(-130%); }
  .btn-primary:hover::after { transform: translateX(130%); transition: transform .95s var(--out); }
  .row { transition: background .35s; }
  .row:hover { background: linear-gradient(90deg, rgba(238, 235, 229, .035), transparent 70%); }
}
/* a fine film grain over everything, the way printed work looks (laptops only since 16 Nov: on a phone it can't be
   seen, and a full-screen layer over the page costs every frame of every scroll) */
@media (max-width: 760px), (pointer: coarse) { body::after { display: none; } }
body::after { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .032; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ══ cinema (6 Nov, Sam: "where are the animations… something they've never seen on a site so good") ══ */
@property --gx { syntax: "<percentage>"; inherits: false; initial-value: 88%; }
@property --gy { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
/* (16 Nov: the opening splash, the "SM" curtain, is gone: it hid the home page for 2.5 s on every first visit) */
/* the trades, on a band that moves with your scrolling */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); padding-block: 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.mq { display: flex; align-items: center; gap: 30px; width: max-content; padding-left: 30px; white-space: nowrap; font: 500 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; will-change: transform; }
.mq span { color: var(--ink-3); }
.mq i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); font-size: 0; opacity: .85; }
/* the hero's light drifts towards the pointer */
.hero::before { background: radial-gradient(60% 55% at var(--gx) var(--gy), rgba(196, 154, 108, .13), transparent 62%) !important; transition: --gx 1.6s var(--out), --gy 1.6s var(--out); }
@media (prefers-reduced-motion: no-preference) {
  /* headings sweep up with a slight lean */
  /* the hero photo opens out from the middle */
  html.m .hero .pic img { clip-path: inset(24% 30% 24% 30%); transform: scale(1.35); transition: clip-path 1.7s cubic-bezier(.76, 0, .24, 1) var(--d, 0ms), transform 2.3s var(--out) var(--d, 0ms); }
  html.m .hero .pic.in img { clip-path: inset(0 0 0 0); transform: none; }
  .hero .fig { transition: transform 1s var(--out); transform-style: preserve-3d; }
  /* the four stages: a line fills as you read down them */
  .rows { position: relative; }
  html.mj .rows::before, html.mj .rows::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(-1 * min(26px, var(--gutter) - 6px)); width: 1px; }
  html.mj .rows::before { background: var(--line); }
  html.mj .rows::after { background: var(--accent); transform: scaleY(var(--p, 0)); transform-origin: top center; }
}
html.still .mq { transform: none !important; }
html.still .lit .wi { opacity: 1 !important; }

/* ══ booking (6 Nov, Sam: "no date and time picker… make the experience of booking feel WOW") ══ */
.bk-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); grid-template-areas: "intro book" "aside book"; column-gap: clamp(40px, 6vw, 90px); row-gap: 30px; align-items: start; }
.bk-intro { grid-area: intro; display: grid; gap: 24px; }
.bk-intro h1 { font-size: clamp(2.6rem, 3.4vw + 1rem, 4.6rem); }
.bk-me { display: flex; align-items: center; gap: 14px; }
.bk-me img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); }
.bk-me b { display: block; font-weight: 500; }
.bk-me span { color: var(--ink-3); font-size: 14px; }
.bk-aside { grid-area: aside; display: grid; gap: 22px; position: sticky; top: 100px; }
.bk-sum { border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px 8px; background: var(--bg-2); }
.bk-sum-h { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px; }
.bk-sum dl div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.bk-sum dt { color: var(--ink-3); font-size: 14px; }
.bk-sum dd { margin: 0; font-size: 15px; color: var(--ink); }
.bk-sum dd.empty { color: var(--ink-3); }
.bk-sum dd.pop { animation: bk-pop .5s var(--out); }
@keyframes bk-pop { from { opacity: 0; transform: translateY(6px); } }
.bk-trust { list-style: none; display: grid; gap: 10px; }
.bk-trust li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 15px; }
.bk-trust li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: rgba(196, 154, 108, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7b48c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.book { grid-area: book; position: relative; min-width: 0; border: 1px solid var(--line-2); border-radius: 22px; padding: clamp(22px, 3vw, 40px); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .008) 40%), var(--bg-3); box-shadow: 0 70px 140px -70px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .05); }
.bk-head { display: grid; gap: 14px; margin-bottom: 26px; }
.bk-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bk-steps i { position: relative; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.bk-steps i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left center; transition: transform .7s var(--out); }
.bk-steps i.on::after { transform: none; }
.bk-count { font: 500 11px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.bk-count b { color: var(--accent-2); font-weight: 500; }
.bk-stage { position: relative; }
.bk-stage.moving { overflow: hidden; transition: height .45s var(--out); }
.bk-step { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.bk-step.on { display: grid; gap: 18px; animation: bk-in .6s var(--out) both; }
.bk-step.on.back { animation-name: bk-in-back; }
@keyframes bk-in { from { opacity: 0; transform: translateX(28px); } }
@keyframes bk-in-back { from { opacity: 0; transform: translateX(-28px); } }
.bk-q { float: left; width: 100%; padding: 0; font: 400 clamp(27px, 1.5vw + 19px, 38px)/1.1 var(--serif); letter-spacing: -.015em; outline: none; }
.bk-q + * { clear: both; }
.bk-hint { color: var(--ink-3); font-size: 14.5px; margin-top: -6px; }
.bk-err { display: none; font-size: 13.5px; color: #f0a789; font-weight: 500; }
.bk-err.on { display: block; }
/* trade tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { position: relative; display: grid; gap: 12px; align-content: start; min-height: 104px; padding: 16px 14px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .018); cursor: pointer; transition: border-color .25s, background .25s, transform .35s var(--out); }
.tile:hover { border-color: rgba(238, 235, 229, .3); transform: translateY(-2px); }
.tile input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tile-ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); color: var(--ink-2); transition: background .3s, color .3s, border-color .3s; }
.tile-ic svg, .inp-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile-t { font-size: 14.5px; font-weight: 500; line-height: 1.3; padding-right: 18px; }
.tile::after { content: ""; position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .3s, border-color .3s, transform .4s var(--out); }
.tile.is-sel { border-color: var(--accent); background: rgba(196, 154, 108, .08); }
.tile.is-sel .tile-ic { background: var(--accent-2); border-color: transparent; color: #0c0c0d; }
.tile.is-sel::after { border-color: transparent; transform: scale(1.1); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c0c0d' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.tile:has(input:focus-visible), .pick:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.tiles.bad .tile { border-color: rgba(217, 128, 95, .55); }
.inp-ic { position: relative; }
.inp-ic > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); display: grid; pointer-events: none; }
.inp-ic input { padding-left: 42px !important; }
/* what would help: chips */
.picks { display: flex; flex-wrap: wrap; gap: 10px; }
.pick { position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 18px 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; color: var(--ink-2); cursor: pointer; transition: border-color .25s, background .25s, color .25s, transform .3s var(--out); }
.pick:hover { border-color: rgba(238, 235, 229, .3); }
.pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick::before { content: "+"; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font: 400 15px/1 var(--sans); color: var(--ink-3); transition: all .3s; }
.pick.is-sel { border-color: var(--accent); background: rgba(196, 154, 108, .1); color: var(--ink); }
.pick.is-sel::before { content: "✓"; background: var(--accent); border-color: transparent; color: #0c0c0d; font-size: 12px; }
/* the calendar */
.cal-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 16px; align-items: start; }
.cal-wrap.bad .cal { border-color: rgba(217, 128, 95, .55); }
.cal { border: 1px solid var(--line-2); border-radius: 16px; padding: 14px; background: rgba(0, 0, 0, .2); }
.cal-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.cal-top b { font: 400 19px/1 var(--serif); }
.cal-nav { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 400 18px/1 var(--sans); cursor: pointer; transition: border-color .2s; }
.cal-nav:hover:not([disabled]) { border-color: var(--ink-2); }
.cal-nav[disabled] { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-wd { padding: 6px 0; text-align: center; font: 500 10.5px/1 var(--mono); color: var(--ink-3); }
.cal-d { position: relative; aspect-ratio: 1; min-height: 38px; border-radius: 10px; border: 1px solid transparent; background: rgba(255, 255, 255, .045); color: var(--ink); font: 500 14px/1 var(--sans); cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .3s var(--out); }
.cal-d:hover:not([disabled]) { border-color: rgba(238, 235, 229, .4); transform: translateY(-1px); }
.cal-d[disabled] { background: transparent; color: #827d76; cursor: default; text-decoration: line-through; text-decoration-color: rgba(130, 125, 118, .5); }
.cal-d.today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.cal-d.is-sel { background: var(--ink); color: #0c0c0d; }
.cal-d.is-sel.today::after { background: #0c0c0d; }
.bk-slots { min-height: 100%; }
.bk-slots-h { margin-bottom: 10px; font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.bk-slots-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 318px; overflow-y: auto; padding: 2px 4px 2px 2px; scrollbar-width: thin; }
.bk-slot { height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 500 14.5px/1 var(--sans); cursor: pointer; transition: border-color .2s, background .2s, color .2s; animation: bk-pop .45s var(--out) both; animation-delay: calc(var(--k, 0) * 18ms); }
.bk-slot:hover:not([disabled]) { border-color: var(--accent); }
.bk-slot[disabled] { color: #827d76; border-style: dashed; cursor: default; text-decoration: line-through; }
.bk-slot.is-sel { background: var(--accent); border-color: var(--accent); color: #0c0c0d; }
.bk-slots-empty { display: grid; place-items: center; min-height: 160px; padding: 20px; border: 1px dashed var(--line-2); border-radius: 16px; color: var(--ink-3); font-size: 14.5px; text-align: center; }
@media (max-width: 640px) { .cal-wrap { grid-template-columns: minmax(0, 1fr); } .bk-slots-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: none; } }
/* your details */
.when-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(196, 154, 108, .4); background: rgba(196, 154, 108, .08); }
.when-card small { display: block; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.when-card b { display: block; margin-top: 6px; font: 400 21px/1.2 var(--serif); }
.when-card button { flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 500 14px/1 var(--sans); cursor: pointer; }
.bk-nav { display: flex; gap: 10px; margin-top: 26px; }
.bk-nav .btn { min-height: 56px; margin: 0; }
.bk-nav .bk-back { flex: none; padding: 0 22px; }
.bk-nav .bk-next { flex: 1; font-size: 16px; }
.book .consent { margin-top: 4px; }
.book.is-done .bk-head, .book.is-done .bk-nav, .book.is-done #bk-ticks, .book.is-done #bk-small { display: none; }
/* booked */
.bk-done { display: grid; gap: 16px; justify-items: start; outline: none; animation: bk-in .7s var(--out) both; }
.done-tick { width: 64px; height: 64px; }
.done-tick circle { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 189; stroke-dashoffset: 189; animation: tick-draw .9s var(--out) .1s forwards; }
.done-tick path { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: tick-draw .5s var(--out) .7s forwards; }
@keyframes tick-draw { to { stroke-dashoffset: 0; } }
.bk-done h2 { font-size: clamp(2rem, 1.6vw + 1.4rem, 2.8rem); }
.bk-done > p:not(.preview-note) { color: var(--ink-2); }
.done-card { width: 100%; display: grid; gap: 6px; padding: 18px 20px; border-radius: 14px; border: 1px solid rgba(196, 154, 108, .4); background: rgba(196, 154, 108, .08); }
.done-card small { font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.done-card b { font: 400 24px/1.2 var(--serif); }
.done-card span { color: var(--ink-3); font-size: 14px; }
.done-next { list-style: none; width: 100%; counter-reset: dn; border-top: 1px solid var(--line); }
.done-next li { counter-increment: dn; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.done-next li::before { content: counter(dn); grid-row: span 2; font: 400 22px/1 var(--serif); color: var(--accent-2); }
.done-next b { font-weight: 500; }
.done-next span { color: var(--ink-3); font-size: 14px; }
@media (max-width: 980px) {
  .bk-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "book" "aside"; }
  .bk-aside { position: static; }
}
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile { min-height: 96px; } .bk-nav .bk-back { padding: 0 16px; } }

html.still .done-tick circle, html.still .done-tick path { stroke-dashoffset: 0 !important; }

/* ══ v3 (15 Nov 2026): the shared parts of the multi-page site ═════════════════════════════════════════════════════
   Sam: "a page for each service… way less text, more pictures… more animations, not gimmicky… WOW, I need this guy".
   Every service, software, trade and case page is built from these parts, in this order (website/site/_templates and
   docs/site-ia-2026-11-15.md). Spacing is on the 8-point scale (--s1…--s16); motion lives in site.js and switches
   itself off for anyone whose device asks for less. Class names below are unique: grep before adding a new one. ══ */

/* ── the booking bar: fixed at the bottom of every page, on phones and computers. It glides away while a booking
   calendar is on screen, and while the phone menu is open. ── */
.bookbar { position: fixed; z-index: 54; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: min(600px, calc(100% - 24px)); transform: translate(-50%, calc(100% + 40px)); opacity: 0; pointer-events: none; transition: transform .7s var(--out), opacity .45s var(--out); }
.bookbar.on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
/* (16 Nov, perf: a solid bar instead of a frosted one: the blur behind a bar that never leaves the screen was
   recomputed on every frame of every scroll; fully opaque since the evening, so gold buttons never show through it) */
.bookbar-in { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 8px 8px 9px; border-radius: 999px; background: #141415; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 28px 70px -24px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .07); color: var(--ink); text-decoration: none; }
.bookbar img { flex: none; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255, 255, 255, .16); }
.bookbar-tx { display: grid; gap: 3px; min-width: 0; flex: 1; }
.bookbar-tx b { font: 500 14.5px/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bookbar-tx small { font: 500 11.5px/1.25 var(--mono); letter-spacing: .03em; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bookbar-tx small.has-slot { color: var(--accent-2); }
.bookbar-tx small.has-slot::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #86d39a; vertical-align: 1px; }
.bookbar-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 999px; font: 600 14.5px/1 var(--sans); color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 22px -10px rgba(210, 171, 121, .8); transition: filter .2s; }
.bookbar-btn .arr { transition: transform .25s var(--ease); }
.bookbar-in:hover .bookbar-btn { filter: brightness(1.06); }
.bookbar-in:hover .arr { transform: translateX(3px); }
.bookbar-short { display: none; }
@media (max-width: 560px) {
  .bookbar { width: calc(100% - 16px); bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  .bookbar-in { min-height: 60px; gap: 10px; padding: 7px 7px 7px 8px; }
  .bookbar img { width: 42px; height: 42px; }
  .bookbar-tx b { font-size: 14px; }
  .bookbar-tx small { font-size: 11px; }
  .bookbar-btn { height: 46px; padding: 0 16px; font-size: 14px; }
  .bookbar-long { display: none; }
  .bookbar-short { display: inline; }
}
@media (max-width: 340px) { .bookbar-tx small { display: none; } }

/* ── sections and headings ── */
.sec.flush { border-top: 0; }
.sec.deep { background: #0a0a0b; }
.sec-head.center { grid-template-columns: minmax(0, 860px); justify-content: center; justify-items: center; text-align: center; }
.sec-head.center > div { justify-items: center; }
.sec-head.center .lede { margin-inline: auto; }
.src { font: 400 12.5px/1.5 var(--sans); color: var(--ink-3); }
.src a { color: inherit; }
.center { text-align: center; }
.center .btn-row, .btn-row.center { justify-content: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: var(--s1); } .mt-2 { margin-top: var(--s2); } .mt-3 { margin-top: var(--s3); } .mt-4 { margin-top: var(--s4); } .mt-5 { margin-top: var(--s5); } .mt-6 { margin-top: var(--s6); } .mt-8 { margin-top: var(--s8); }

/* ── 1. the page hero: a full-bleed photograph, the words over its dark side, an animated reveal ── */
.pagehero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; min-height: clamp(580px, 88svh, 900px); background: var(--bg); }
.pagehero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--bg-3); }
.pagehero-media img, .pagehero-media video { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.pagehero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(12, 12, 13, .66) 0%, rgba(12, 12, 13, 0) 24%, rgba(12, 12, 13, .1) 46%, rgba(12, 12, 13, .84) 80%, var(--bg) 100%), linear-gradient(90deg, rgba(12, 12, 13, .88) 0%, rgba(12, 12, 13, .55) 40%, rgba(12, 12, 13, 0) 72%); }
.pagehero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(210, 171, 121, .8) 25%, rgba(210, 171, 121, .8) 75%, transparent); transform-origin: left center; }
.pagehero-in { position: relative; width: 100%; display: grid; gap: var(--s3); align-content: end; padding-top: calc(var(--s16) + var(--s4)); padding-bottom: clamp(56px, 6vw, 96px); }
.pagehero-in > * { max-width: 820px; }
.pagehero h1 { font-size: clamp(2.6rem, 3.9vw + 1rem, 5.4rem); line-height: 1.02; }
.pagehero h1 em { color: var(--gold-hi); }
.pagehero .lede { color: #d8d2c8; font-size: clamp(17.5px, .5vw + 15.6px, 21px); max-width: 54ch; }
.pagehero .crumbs { color: rgba(238, 235, 229, .62); }
.pagehero .crumbs a { color: rgba(238, 235, 229, .86); }
.pagehero .btn-row { padding-top: var(--s1); }
.pagehero.is-short { min-height: clamp(460px, 66svh, 660px); }
@media (max-width: 760px) {
  .pagehero { min-height: 0; }
  .pagehero-media { bottom: auto; height: min(62svh, 480px); }
  .pagehero::before { background: linear-gradient(180deg, rgba(12, 12, 13, .55) 0%, rgba(12, 12, 13, 0) 18%, rgba(12, 12, 13, .45) min(30svh, 230px), rgba(12, 12, 13, .86) min(46svh, 360px), var(--bg) min(62svh, 480px)); }
  .pagehero-in { padding-top: min(36svh, 280px); padding-bottom: var(--s7); gap: var(--s2); }
}

/* ── the page's own product in its first screen (16 Nov, QA P1-10: "heroes are mood photos, not the product"):
   <div class="pagehero-ui" aria-hidden="true"><span class="phu-k">Example</span> …ui-card / ui-notif / phu-ad /
   phu-mail / phu-kpis…</div> inside .pagehero (give the section .has-ui). Laptops: a stack of real screens on the
   right of the photo, arriving one by one. Phones: the first two, over the top of the photo. Tablets: none. ── */
.pagehero-ui { --ui-bg: #f7f5f1; --ui-ink: #171410; --ui-2: #6f685e; --ui-line: #e6e1d8; --ui-card: #fff; position: absolute; z-index: 1; right: max(24px, 3.2vw); bottom: clamp(120px, 17vh, 190px); display: grid; gap: 10px; width: 330px; pointer-events: none; }
.pagehero-ui > * { box-shadow: 0 28px 60px -26px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .08); }
.pagehero-ui .ui-card, .pagehero-ui .ui-notif { padding: 12px 14px; }
.pagehero-ui .ui-card b, .pagehero-ui .ui-notif b { font-size: 14px; }
.pagehero-ui .ui-card small, .pagehero-ui .ui-notif p { font-size: 12.5px; }
.pagehero-ui .ui-notif { background: rgba(250, 248, 244, .97); }
.pagehero-ui .ui-notif.is-gold { background: linear-gradient(180deg, #fffaf2, #f9efdd); box-shadow: 0 0 0 1px rgba(184, 137, 90, .5), 0 28px 60px -26px rgba(0, 0, 0, .9); }
.phu-k { justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 999px; background: rgba(12, 12, 13, .82); border: 1px solid rgba(238, 235, 229, .16); font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); box-shadow: none !important; }
.phu-k::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #86d39a; box-shadow: 0 0 0 4px rgba(134, 211, 154, .16); }
/* a Google advert, as it appears in the results */
.phu-ad { display: grid; gap: 3px; padding: 13px 15px; border-radius: 14px; background: #fffaf0; box-shadow: 0 0 0 2px var(--gold), 0 28px 60px -26px rgba(0, 0, 0, .9) !important; font-family: Arial, Helvetica, sans-serif; color: #202124; }
.phu-ad small { font-weight: 700; font-size: 11.5px; }
.phu-ad span { font-size: 12px; color: #4d5156; }
.phu-ad b { font-weight: 400; font-size: 16.5px; line-height: 1.25; color: #1a0dab; }
.phu-ad i { font-style: normal; color: #f4a91f; letter-spacing: 1px; }
/* an email, opened */
.phu-mail { display: grid; gap: 8px; padding: 14px 16px 16px; border-radius: 14px; background: #fff; color: #171410; }
.phu-mail-h { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.phu-mail-h .ui-avatar { width: 32px; height: 32px; font-size: 11.5px; }
.phu-mail-h b { font: 600 13px/1.2 var(--sans); }
.phu-mail-h small, .phu-mail-h time { display: block; font-size: 11.5px; color: #6f685e; }
.phu-mail > b { font: 600 15px/1.3 var(--sans); }
.phu-mail > p { font-size: 13px; line-height: 1.5; color: #6f685e; }
.phu-mail .ui-btn { height: 32px; font-size: 12px; }
/* three numbers from the monthly report (dark, like the report itself) */
.phu-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border-radius: 14px; background: #2a292d; border: 1px solid #2a292d; }
.phu-kpis > span { display: grid; gap: 3px; padding: 12px 12px 11px; background: #141416; }
.phu-kpis small { font: 500 11px/1.2 var(--sans); color: #8d8880; }
.phu-kpis b { font: 400 26px/1 var(--serif); color: #eeebe5; }
.phu-kpis em { font: 500 11px/1.2 var(--sans); font-style: normal; color: #86d39a; }
.phu-kpis > span.is-gold b { color: var(--gold-hi); }
@media (prefers-reduced-motion: no-preference) {
  html.mj .pagehero-ui > * { animation: rise .6s var(--out) both; animation-delay: calc(.4s + var(--i, 0) * .2s); }
}
@media (min-width: 1101px) { .pagehero.has-ui .pagehero-in > * { max-width: min(820px, calc(100vw - 480px)); } }
@media (max-width: 1100px) { .pagehero-ui { display: none; } }
@media (max-width: 760px) {
  .pagehero-ui { display: grid; top: 16px; bottom: auto; right: 16px; width: min(300px, calc(100% - 32px)); gap: 8px; }
  .pagehero-ui > :nth-child(n+4) { display: none; }
  .pagehero-ui .ui-card, .pagehero-ui .ui-notif { padding: 10px 12px; }
  .pagehero-ui .ui-card b, .pagehero-ui .ui-notif b { font-size: 13px; }
  .pagehero-ui .ui-card small, .pagehero-ui .ui-notif p { font-size: 12px; }
  .phu-mail > p, .phu-mail .ui-btn { display: none; }
  .phu-kpis b { font-size: 22px; }
}

/* ── chips: short facts in a row ("In: Leads · Growth", "Live in 2–3 weeks") ── */
.chiprow { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(238, 235, 229, .16); background: rgba(12, 12, 13, .72); font: 500 13.5px/1.2 var(--sans); color: var(--ink); text-decoration: none; white-space: nowrap; }
.chip > [data-ic] { display: grid; color: var(--gold); }
.chip svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chip.is-gold { border-color: rgba(210, 171, 121, .5); background: rgba(210, 171, 121, .1); color: var(--gold-hi); }
a.chip { transition: border-color .2s, background .2s; }
a.chip:hover { border-color: rgba(238, 235, 229, .34); background: rgba(255, 255, 255, .05); }

/* 16 Nov, phones (QA P3-24, P3-26): the hero's second button never sits under the booking bar (the gold one stays), and
   no small mono label is under 12px (the Carole test). The page-level labels are listed here too, so one rule covers
   every page ("Where this fits", sysmap numbers, onward kickers, before/after heads). */
@media (max-width: 760px) {
  .pagehero .btn-row .btn-ghost { display: none; }
  html body :is(.tag, .step-when, .tier, .extra-price small, .cmp .grp td, .ft-co span, .mnav .mn-h, .mn-n, .src, .how-n, .ba-h, .sysmap-n, .pricenote-price small, .onward-k, .bk-count, .bk-slots-h, .m-case small, .cal-wd, .when-card small, .done-card small, .fits-st, .fits-k, .tr-dev .device-cap, .s2-fit > p, .s2-tag, .hubx-tag, .hubx-n, .dirx-head, .gax-h, .hw-g-head, .hw-when, .ab-role, .ab-p small, .web-onpage > span, .tr-note span, .toc p, .s2-app-k span, .bq-k, .bq-prog, .bq-dl span, .bq-next li > span, .who-k) { font-size: 12px; }
}

/* ── 2. outcomes: what they get, in three (or four) cards with an icon each ── */
.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
.outcomes.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.outcome { position: relative; display: grid; gap: 12px; align-content: start; min-width: 0; padding: var(--s4) var(--s3) var(--s3); border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 55%), var(--bg-2); }
.outcome-ic, .how-ic, .flow-ic, .sysmap-ic { display: grid; place-items: center; color: var(--gold-hi); }
.outcome-ic { width: 52px; height: 52px; margin-bottom: 8px; border-radius: 14px; background: rgba(210, 171, 121, .1); border: 1px solid rgba(210, 171, 121, .3); }
.outcome-ic svg, .how-ic svg, .flow-ic svg, .sysmap-ic svg { width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.outcome h3 { font: 400 clamp(1.4rem, .6vw + 1.15rem, 1.65rem)/1.2 var(--serif); letter-spacing: -.01em; }
.outcome p { color: var(--ink-2); font-size: 15.5px; }
.outcome .link-arrow { margin-top: 6px; font-size: 15px; }
@media (max-width: 1080px) { .outcomes.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .outcomes, .outcomes.c4 { grid-template-columns: minmax(0, 1fr); } .outcome { grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; padding: var(--s3); } .outcome > :not(.outcome-ic) { grid-column: 2; } .outcome-ic { grid-row: span 3; margin: 0; } }

/* ── 3. "what your customers see": crisp screens in a phone and a laptop, built in HTML ── */
.showcase { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.showcase.flip { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); }
.showcase.flip > :first-child { order: 2; }
.showcase-copy { display: grid; gap: var(--s3); align-content: center; min-width: 0; }
.showcase-copy h2 { font-size: clamp(2.1rem, 2.4vw + 1rem, 3.5rem); }
.showcase-steps { list-style: none; counter-reset: sc; display: grid; border-top: 1px solid var(--line); }
.showcase-steps li { counter-increment: sc; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-3); font-size: 15.5px; transition: color .5s; }
.showcase-steps li::before { content: counter(sc, decimal-leading-zero); font: 500 12px/1.95 var(--mono); color: var(--ink-3); transition: color .5s; }
.showcase-steps li.on, html:not(.mj) .showcase-steps li { color: var(--ink); }
.showcase-steps li.on::before { color: var(--gold); }
.showcase-steps b { color: var(--ink); font-weight: 500; }
.devices { position: relative; display: grid; place-items: center; min-width: 0; isolation: isolate; }
.devices::before { content: ""; position: absolute; inset: 6% 4%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(210, 171, 121, .17), transparent); filter: blur(12px); }
/* a laptop with a phone in front of it: both sit in one grid cell, so the taller one sets the height */
.devices.pair { grid-template-areas: "stack"; place-items: initial; }
.devices.pair > * { grid-area: stack; }
.devices.pair .device-laptop { width: 88%; justify-self: start; align-self: center; }
.devices.pair .device-phone { justify-self: end; align-self: end; width: min(262px, 40%); margin-top: var(--s5); }
.devices.duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); align-items: end; }
@media (max-width: 920px) { .showcase, .showcase.flip { grid-template-columns: minmax(0, 1fr); } .showcase.flip > :first-child { order: 0; } }
@media (max-width: 560px) { .devices.duo, .devices.pair { grid-template-columns: minmax(0, 1fr); gap: var(--s4); padding: 0; } .devices.pair .device-laptop { width: 100%; } .devices.pair .device-phone { position: relative; justify-self: center; width: min(280px, 82vw); } }
/* 16 Nov: on a phone the pair no longer overlaps: the laptop (or inbox) first, then the phone under it, so neither
   hides the other's words (it used to sit on the advert and the email) */
@media (max-width: 560px) {
  .devices.pair { grid-template-areas: none; grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .devices.pair > * { grid-area: auto; }
  .devices.pair .device-laptop { width: 100%; justify-self: stretch; align-self: start; }
  .devices.pair .device-phone { justify-self: center; align-self: start; width: min(262px, 72%); margin-top: 0; }
}

.device-phone { position: relative; width: min(300px, 82vw); aspect-ratio: 9 / 18.8; padding: 10px; border-radius: 50px; background: linear-gradient(150deg, #3d3d42 0%, #141416 20%, #0a0a0b 62%, #2b2b2f 100%); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .09), inset 0 0 0 5px #060607, 0 0 0 1px rgba(0, 0, 0, .6), 0 70px 120px -60px rgba(0, 0, 0, .95), 0 30px 60px -32px rgba(0, 0, 0, .75); }
.device-phone::before { content: ""; position: absolute; z-index: 6; top: 21px; left: 50%; width: 30%; height: 25px; transform: translateX(-50%); border-radius: 999px; background: #050506; }
.device-phone .device-screen { height: 100%; border-radius: 40px; }
.device-laptop { position: relative; width: 100%; max-width: 840px; padding-bottom: 14px; }
.device-laptop .device-screen { aspect-ratio: 16 / 10; border-radius: 14px 14px 3px 3px; border: 11px solid #0d0d0f; border-bottom-width: 15px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 70px 120px -60px rgba(0, 0, 0, .95); }
.device-laptop::after { content: ""; position: absolute; left: -6%; right: -6%; bottom: 0; height: 15px; border-radius: 2px 2px 18px 18px / 2px 2px 12px 12px; background: linear-gradient(180deg, #46464b 0%, #232326 40%, #111113 100%); box-shadow: 0 30px 50px -18px rgba(0, 0, 0, .9); }
.device-laptop::before { content: ""; position: absolute; z-index: 1; left: 50%; bottom: 9px; width: 15%; height: 5px; transform: translateX(-50%); border-radius: 0 0 7px 7px; background: #141416; }
/* up to tablet width the laptop's base stays inside the screen (at -6% it pushed a 390px page 3px sideways) */
@media (max-width: 920px) { .device-laptop::after { left: -2.5%; right: -2.5%; } }
/* the screen: light, like the phone in a customer's hand; .is-dark for the business's own dashboards */
.device-screen { --ui-bg: #f7f5f1; --ui-ink: #171410; --ui-2: #6f685e; --ui-line: #e6e1d8; --ui-card: #ffffff; --ui-them: #e8e4dc; --ui-me: #1f1b16; --ui-me-ink: #f7f1e6; position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--ui-bg); color: var(--ui-ink); font: 400 14px/1.4 var(--sans); text-align: left; }
.device-screen.is-dark { --ui-bg: #111113; --ui-ink: #eeebe5; --ui-2: #8d8880; --ui-line: #26252a; --ui-card: #19191c; --ui-them: #232327; --ui-me: #d2ab79; --ui-me-ink: #1a130b; }
.device-cap { margin-top: var(--s2); font-size: 13.5px; color: var(--ink-3); text-align: center; }
/* a real screenshot inside a frame */
.device-screen > img, .ui-page > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* the kit inside the screens (.ui-…) */
.ui-status { flex: none; display: flex; justify-content: space-between; align-items: center; height: 50px; padding: 16px 28px 0 32px; font: 600 13.5px/1 var(--sans); }
.ui-status-r { display: inline-flex; align-items: center; gap: 6px; }
.ui-sig { width: 17px; height: 11px; background: linear-gradient(currentColor, currentColor) 0 100% / 3px 4px no-repeat, linear-gradient(currentColor, currentColor) 4.6px 100% / 3px 6px no-repeat, linear-gradient(currentColor, currentColor) 9.2px 100% / 3px 8.5px no-repeat, linear-gradient(currentColor, currentColor) 13.8px 100% / 3px 11px no-repeat; }
.ui-bat { position: relative; width: 24px; height: 12px; border: 1.3px solid currentColor; border-radius: 4px; opacity: .9; }
.ui-bat::before { content: ""; position: absolute; top: 1.5px; bottom: 1.5px; left: 1.5px; right: 5px; border-radius: 1.5px; background: currentColor; }
.ui-bat::after { content: ""; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; border-radius: 0 2px 2px 0; background: currentColor; opacity: .55; }
.ui-head { flex: none; display: grid; justify-items: center; gap: 3px; padding: 4px 16px 10px; border-bottom: 1px solid var(--ui-line); text-align: center; }
.ui-head b { font: 600 13px/1.2 var(--sans); }
.ui-head small { font-size: 11px; color: var(--ui-2); }
.ui-avatar { width: 46px; height: 46px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: linear-gradient(160deg, #40382e, #18150f); color: #f2e6d3; font: 600 15px/1 var(--sans); }
.ui-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ui-thread { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 12px 12px 14px; overflow: hidden; }
.ui-day { align-self: center; margin: 2px 0 4px; font: 500 10.5px/1 var(--sans); color: var(--ui-2); }
.ui-msg { max-width: 80%; padding: 8px 12px 9px; border-radius: 18px; font-size: 13.5px; line-height: 1.38; overflow-wrap: anywhere; }
.ui-msg.in { align-self: flex-start; background: var(--ui-them); color: var(--ui-ink); border-bottom-left-radius: 6px; transform-origin: left bottom; }
.ui-msg.out { align-self: flex-end; background: var(--ui-me); color: var(--ui-me-ink); border-bottom-right-radius: 6px; transform-origin: right bottom; }
.ui-msg time { display: block; margin-top: 3px; font-size: 10px; opacity: .55; }
.ui-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 18px 18px 18px 6px; background: var(--ui-them); }
.ui-typing.out { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: var(--ui-me); }
.ui-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ui-2); animation: dot 1.2s infinite; }
.ui-typing.out i { background: var(--ui-me-ink); opacity: .7; }
.ui-typing i:nth-child(2) { animation-delay: .15s; } .ui-typing i:nth-child(3) { animation-delay: .3s; }
.ui-compose { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 12px 26px; }
.ui-compose span { flex: 1; height: 34px; display: flex; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ui-line); font-size: 12.5px; color: var(--ui-2); background: var(--ui-card); }
.ui-compose i { width: 30px; height: 30px; border-radius: 50%; background: var(--ui-me); }
.ui-card { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--ui-card); border: 1px solid var(--ui-line); box-shadow: 0 8px 20px -14px rgba(0, 0, 0, .35); color: var(--ui-ink); }
.ui-thread > .ui-card { align-self: stretch; }
.ui-card b { display: block; font: 600 13px/1.25 var(--sans); }
.ui-card small { display: block; font-size: 11.5px; color: var(--ui-2); }
.ui-card.is-gold { border-color: rgba(184, 137, 90, .5); background: linear-gradient(180deg, #fffaf2, #f9efdd); }
.ui-ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #1f1b16; color: var(--gold-hi); }
.ui-ic svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ui-ic.is-soft { background: #efe9df; color: #6b5233; }
/* the lock screen and its notifications */
.ui-lock { flex: 1; display: grid; align-content: start; gap: 8px; padding: 30px 10px 12px; color: #fff; text-align: center; background: radial-gradient(90% 55% at 50% 0%, rgba(210, 171, 121, .45), transparent 70%), linear-gradient(170deg, #3a3027 0%, #17130f 55%, #0b0a09 100%); }
.ui-lock-date { font: 500 14px/1.2 var(--sans); opacity: .85; }
.ui-lock-time { margin-bottom: 18px; font: 300 64px/1 var(--sans); letter-spacing: -.03em; }
.ui-notif { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 11px 12px; border-radius: 18px; background: rgba(250, 248, 244, .93); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .55); color: #171410; text-align: left; }
/* (16 Nov: no backdrop blur on the notifications: a stack of them blurred on every scroll frame made the home page stutter) */
.ui-notif .ui-ic { width: 34px; height: 34px; border-radius: 9px; }
.ui-notif b { display: block; font: 600 12.5px/1.25 var(--sans); }
.ui-notif p { font-size: 12.5px; line-height: 1.35; color: #3a342c; }
.ui-notif time { font-size: 10.5px; color: #6f685e; }
/* email */
.ui-mail { display: grid; overflow: hidden; border-radius: 14px; border: 1px solid var(--ui-line); background: var(--ui-card); color: var(--ui-ink); }
.ui-mail-head { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--ui-line); }
.ui-mail-head .ui-avatar { width: 34px; height: 34px; font-size: 12px; }
.ui-mail-head b { display: block; font: 600 13px/1.2 var(--sans); }
.ui-mail-head small, .ui-mail-head time { font-size: 11.5px; color: var(--ui-2); }
.ui-mail-subj { padding: 12px 14px 2px; font: 600 15px/1.3 var(--sans); }
.ui-mail-body { display: grid; gap: 9px; padding: 6px 14px 16px; font-size: 13px; line-height: 1.55; color: var(--ui-2); }
.ui-mail-body p { color: inherit; }
.ui-btn { justify-self: start; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 9px; background: #1f1b16; color: #f7f1e6; font: 600 12.5px/1 var(--sans); }
.ui-btn.is-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--gold-ink); }
.ui-btn.is-line { background: transparent; color: var(--ui-ink); box-shadow: inset 0 0 0 1.5px var(--ui-ink); }
/* a browser window, a Google search, the map */
.ui-bar { flex: none; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #eceae6; border-bottom: 1px solid #dcd8d1; }
.ui-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d2cdc5; }
.ui-bar span { flex: 1; display: flex; align-items: center; justify-content: center; height: 20px; margin: 0 9%; border-radius: 6px; background: #fff; font: 500 10.5px/1 var(--sans); color: #6f685e; white-space: nowrap; overflow: hidden; }
.ui-page { flex: 1; min-height: 0; overflow: hidden; }
.ui-serp { display: grid; gap: 12px; align-content: start; padding: 14px 16px; background: #fff; color: #202124; font-family: Arial, Helvetica, sans-serif; }
.ui-search { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: 0 1px 6px rgba(32, 33, 36, .2); font-size: 13.5px; color: #202124; }
.ui-search::before { content: ""; flex: none; width: 11px; height: 11px; border: 2px solid #9aa0a6; border-radius: 50%; }
.ui-ad { display: grid; gap: 3px; }
.ui-ad small { font-weight: 700; font-size: 11.5px; color: #202124; }
.ui-ad .u { font-size: 12px; color: #4d5156; }
.ui-ad b { font-weight: 400; font-size: 17px; line-height: 1.3; color: #1a0dab; }
.ui-ad p { font-size: 12.5px; line-height: 1.45; color: #4d5156; }
.ui-ad.is-you { margin: 0 -10px; padding: 10px; border-radius: 12px; background: #fffaf0; box-shadow: inset 0 0 0 2px var(--gold); }
.ui-pack { overflow: hidden; border: 1px solid #e3e3e3; border-radius: 12px; }
.ui-map { height: 96px; background: radial-gradient(circle at 30% 60%, rgba(66, 133, 244, .1) 0 18%, transparent 19%), linear-gradient(115deg, transparent 47%, #fff 47% 50%, transparent 50%), linear-gradient(20deg, transparent 58%, #fff 58% 61%, transparent 61%), linear-gradient(75deg, transparent 30%, #f3e7c9 30% 33%, transparent 33%), #e8eee2; position: relative; }
.ui-map i { position: absolute; width: 14px; height: 14px; margin: -14px 0 0 -7px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #ea4335; box-shadow: 0 2px 4px rgba(0, 0, 0, .3); }
.ui-map i.is-you { background: var(--gold-lo); width: 18px; height: 18px; margin: -18px 0 0 -9px; }
.ui-place { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 12px; border-top: 1px solid #ececec; font-size: 12px; color: #4d5156; }
.ui-place b { font-size: 13.5px; font-weight: 400; color: #1a0dab; }
.ui-place.is-you { background: #fffaf0; box-shadow: inset 3px 0 0 var(--gold); }
.ui-stars { color: #fbbc04; letter-spacing: 1px; }
/* dashboards and reports */
.ui-dash { flex: 1; display: grid; gap: 12px; align-content: start; padding: 16px; background: #fbfaf8; color: #171410; }
.device-screen.is-dark .ui-dash { background: var(--ui-bg); color: var(--ui-ink); }
.ui-dash-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ui-dash-top b { font: 400 18px/1.1 var(--serif); letter-spacing: -.01em; }
.ui-kpis { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 8px; }
.ui-kpi { min-width: 0; padding: 10px 12px; border-radius: 10px; background: var(--ui-card); border: 1px solid var(--ui-line); }
.ui-kpi small { display: block; font: 600 9.5px/1.25 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ui-2); }
.ui-kpi b { display: block; margin-top: 6px; font: 400 22px/1 var(--serif); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ui-kpi em { display: block; margin-top: 4px; font-style: normal; font-size: 11px; color: #2f8a4c; }
.ui-kpi em.is-down { color: #b4532a; }
.ui-bars { display: grid; gap: 8px; }
.ui-bars > div { display: grid; grid-template-columns: minmax(70px, 34%) minmax(0, 1fr) 30px; gap: 8px; align-items: center; font-size: 11.5px; color: var(--ui-2); }
.ui-bars i { position: relative; display: block; height: 8px; overflow: hidden; border-radius: 4px; background: #efe9df; }
.device-screen.is-dark .ui-bars i { background: #26252a; }
.ui-bars i::after { content: ""; position: absolute; inset: 0; width: var(--w, 50%); border-radius: 4px; background: linear-gradient(90deg, var(--gold-lo), var(--gold)); transform-origin: left center; }
.ui-bars span { font: 600 11px/1 var(--mono); text-align: right; color: var(--ui-ink); }
.ui-chart { display: block; width: 100%; height: 52px; overflow: visible; }
.ui-chart .ln { fill: none; stroke: var(--gold-lo); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ui-chart .ar { fill: rgba(210, 171, 121, .16); }
.ui-chart .gr { stroke: #ece6dc; stroke-width: 1; }
.ui-chart path { vector-effect: non-scaling-stroke; }
.ui-label { margin-top: 2px; font: 600 9.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ui-2); }
.ui-table { display: grid; border-top: 1px solid var(--ui-line); font-size: 12px; }
.ui-table > div { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(var(--c, 2), minmax(0, 1fr)); gap: 8px; padding: 8px 2px; border-bottom: 1px solid var(--ui-line); color: var(--ui-2); }
.ui-table > div > :not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; color: var(--ui-ink); }
.ui-table b { font-weight: 600; color: var(--ui-ink); }
/* lists, pills, a CRM board, a calendar, a proposal, a letter */
.ui-app-top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 16px 10px; }
.ui-app-top b { font: 700 21px/1.1 var(--sans); letter-spacing: -.02em; }
.ui-list { display: grid; }
.ui-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--ui-line); }
.ui-row b { display: block; font: 600 12.5px/1.3 var(--sans); }
.ui-row small { display: block; font-size: 11px; color: var(--ui-2); }
.ui-pill { justify-self: start; display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px; border-radius: 999px; background: #efe9df; color: #5d564c; font: 600 10px/1 var(--sans); white-space: nowrap; }
.ui-pill.ok { background: #e1f2e5; color: #22713a; }
.ui-pill.hot { background: #fde6d8; color: #a34a17; }
.ui-pill.gold { background: #f6e9d4; color: #8a5b25; }
.ui-board { flex: 1; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 8px; align-content: start; padding: 12px; background: #f3f0eb; }
.ui-lane { display: grid; gap: 6px; align-content: start; min-width: 0; }
.ui-lane > small { display: flex; justify-content: space-between; padding: 2px 2px 4px; font: 600 9.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8a8276; }
.ui-deal { display: grid; gap: 4px; min-width: 0; padding: 8px 9px; border-radius: 8px; background: #fff; border: 1px solid #e7e1d6; box-shadow: 0 3px 8px -6px rgba(0, 0, 0, .25); }
.ui-deal b { font: 600 11.5px/1.25 var(--sans); color: #171410; }
.ui-deal small { font-size: 10.5px; color: #7a7266; }
.ui-deal.is-hot { box-shadow: inset 3px 0 0 var(--gold), 0 3px 8px -6px rgba(0, 0, 0, .25); }
.ui-cal { display: grid; gap: 6px; padding: 10px 12px; }
.ui-ev { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: start; }
.ui-ev time { font: 600 11px/1.5 var(--mono); color: var(--ui-2); }
.ui-ev > div { padding: 8px 10px; border-radius: 8px; background: #f6ead6; border-left: 3px solid var(--gold-lo); }
.ui-ev b { display: block; font: 600 12px/1.25 var(--sans); color: #171410; }
.ui-ev small { font-size: 11px; color: #6f685e; }
.ui-doc { flex: 1; display: grid; align-content: start; background: #fbf8f2; color: #1a2420; }
.ui-doc-hero { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #1a2420; }
.ui-doc-hero img { width: 100%; height: 100%; object-fit: cover; }
.ui-doc-in { display: grid; gap: 9px; padding: 14px; }
.ui-doc h4 { font: 400 20px/1.12 var(--serif); letter-spacing: -.01em; color: #1a2420; }
.ui-doc-price { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #1a2420; color: #f4efe5; font-size: 12px; }
.ui-doc-price b { font: 400 21px/1 var(--serif); }
.ui-sign { padding: 2px 0 4px; border-bottom: 1px solid #c8bfae; font: italic 400 24px/1.1 var(--serif); color: #1a2420; }
.ui-letter { padding: 22px 24px; border-radius: 3px; background: #fbf8f2; color: #2b2723; font: 400 14px/1.6 var(--serif); box-shadow: 0 40px 70px -36px rgba(0, 0, 0, .75), 0 0 0 1px rgba(0, 0, 0, .05); }
.devices .ui-letter { max-width: 360px; transform: rotate(-1.6deg); }
.ui-letter .ui-letter-h { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; font: 500 10.5px/1.3 var(--mono); letter-spacing: .06em; color: #7a7266; }
/* the sequence: messages arriving one after another (site.js plays [data-play] once it is on screen) */
@media (prefers-reduced-motion: no-preference) {
  html.mj [data-play] [data-seq] { opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .45s var(--out), transform .6s var(--out); }
  html.mj [data-play] [data-seq].on { opacity: 1; transform: none; }
  html.mj [data-play] .ui-bars i::after { transform: scaleX(0); transition: transform .9s var(--out); transition-delay: calc(var(--i, 0) * 70ms); }
  html.mj [data-play].played .ui-bars i::after { transform: none; }
}

/* ── 4. what's included: a two-column list with gold ticks ── */
.incl { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s5); border-top: 1px solid var(--line); }
.incl > li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.incl > li::before { content: ""; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: rgba(210, 171, 121, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6c89f' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.incl b { display: block; font-weight: 500; font-size: 16.5px; color: var(--ink); }
.incl span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--ink-3); }
@media (max-width: 760px) { .incl { grid-template-columns: minmax(0, 1fr); } }

/* ── 5. how it works: three or four steps on a rail that draws itself; each step says when and what you do ── */
/* (16 Nov, the hidden-animation check: the rails here, in .flow and in .sysmap are drawn UNDER the steps. They used to
   come last, so while the steps were arriving (each its own layer for a moment) the gold line ran across their icons.
   The list is its own stacking layer and its rails sit at the bottom of it.) */
.how-steps { list-style: none; position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.how-steps.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.how-steps::before, .how-steps::after { content: ""; position: absolute; z-index: -1; top: 28px; left: 28px; right: 28px; height: 1px; transform-origin: left center; }
.how-steps::before { background: var(--line-2); }
.how-steps::after { background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); }
.how-step { position: relative; display: grid; gap: 10px; align-content: start; min-width: 0; }
.how-ic { position: relative; z-index: 1; width: 56px; height: 56px; margin-bottom: 10px; border-radius: 50%; background: var(--bg); border: 1px solid rgba(210, 171, 121, .45); box-shadow: 0 0 0 8px var(--bg); }
.sec.alt .how-ic { background: var(--bg-2); box-shadow: 0 0 0 8px var(--bg-2); }
.how-n { font: 500 11.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.how-step h3 { font: 400 clamp(1.35rem, .5vw + 1.15rem, 1.6rem)/1.2 var(--serif); letter-spacing: -.01em; }
.how-step p { color: var(--ink-2); font-size: 15.5px; }
.how-step .how-you { margin-top: 4px; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 14px; color: var(--ink-3); }
.how-you b { color: var(--ink-2); font-weight: 500; }
@media (max-width: 920px) {
  .how-steps, .how-steps.c3 { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .how-steps::before, .how-steps::after { left: 27.5px; right: auto; top: 28px; bottom: 28px; width: 1px; height: auto; transform-origin: center top; }
  .how-step { grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; }
  .how-step > :not(.how-ic) { grid-column: 2; }
  .how-ic { grid-row: 1 / span 5; margin: 0; }
}

/* ── 6. the proof band: big gold numbers that count up, each with its source underneath ── */
.proof { position: relative; border-block: 1px solid var(--line); background: radial-gradient(70% 130% at 50% 0%, rgba(210, 171, 121, .08), transparent 62%), #0e0e0f; }
.proof-in { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); }
.proof-item { display: grid; gap: 12px; align-content: start; min-width: 0; padding: clamp(40px, 5vw, 72px) clamp(20px, 2.4vw, 36px); border-left: 1px solid var(--line); }
.proof-item:first-child { border-left: 0; }
.proof-num { display: block; font: 600 clamp(2.6rem, 2.6vw + 1.4rem, 3.8rem)/1 var(--sans); letter-spacing: -.035em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; color: var(--gold-hi); background: linear-gradient(180deg, #f7e6c8, #d2ab79 72%, #b8895a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.proof-item > span { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); max-width: 32ch; }
.proof-item .src { margin-top: 2px; }
@media (max-width: 900px) { .proof-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof-item:nth-child(odd) { border-left: 0; padding-left: 0; } .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .proof-in { grid-template-columns: minmax(0, 1fr); } .proof-item, .proof-item:nth-child(odd) { border-left: 0; padding: 36px 0; } .proof-item:nth-child(odd) { padding-left: 0; } .proof-item + .proof-item { border-top: 1px solid var(--line); } }

/* ── 7a. before and after ── */
.ba { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); align-items: stretch; }
.ba-col { display: grid; gap: 18px; align-content: start; min-width: 0; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-2); }
.ba-col > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.ba-before { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .014) 0 2px, transparent 2px 10px), var(--bg-2); }
.ba-before > img { filter: grayscale(1) brightness(.72) contrast(1.05); }
.ba-after { border-color: rgba(210, 171, 121, .42); background: radial-gradient(90% 70% at 100% 0%, rgba(210, 171, 121, .13), transparent 60%), var(--bg-3); box-shadow: 0 50px 90px -60px rgba(210, 171, 121, .45); }
.ba-h { font: 500 11.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.ba-after .ba-h { color: var(--gold); }
.ba-col h3 { font: 400 clamp(1.5rem, .8vw + 1.2rem, 2rem)/1.15 var(--serif); letter-spacing: -.01em; }
.ba-col ul { list-style: none; display: grid; gap: 12px; }
.ba-col li { position: relative; padding-left: 32px; font-size: 15.5px; color: var(--ink-2); }
.ba-col li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: center / 12px no-repeat; }
.ba-before li { color: var(--ink-3); }
.ba-before li::before { background-color: rgba(255, 255, 255, .05); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d8880' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E"); }
.ba-after li::before { background-color: rgba(210, 171, 121, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6c89f' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); }
.ba-mid { display: grid; place-items: center; }
.ba-mid span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(210, 171, 121, .5); background: var(--bg); color: var(--gold); font-size: 19px; }
@media (max-width: 860px) { .ba { grid-template-columns: minmax(0, 1fr); } .ba-mid { height: 64px; } .ba-mid span { transform: rotate(90deg); } }

/* ── 7b. the flow: a journey left to right (top to bottom on phones); each step lights up in turn ── */
.flow { list-style: none; position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: var(--s2); }
.flow::before, .flow::after { content: ""; position: absolute; z-index: -1; top: 32px; left: calc(50% / var(--n, 5)); right: calc(50% / var(--n, 5)); height: 2px; border-radius: 2px; transform-origin: left center; }
.flow::before { background: var(--line-2); }
.flow::after { background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); }
.flow-node { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; text-align: center; min-width: 0; }
.flow-ic { position: relative; z-index: 1; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 18px; background: var(--bg-3); border: 1px solid var(--line-2); color: var(--ink-2); box-shadow: 0 0 0 8px var(--bg); transition: border-color .6s, color .6s, background .6s; transition-delay: calc(var(--i, 0) * 260ms + 300ms); }
.sec.alt .flow-ic { box-shadow: 0 0 0 8px var(--bg-2); }
.flow.in .flow-ic, html:not(.mj) .flow-ic { border-color: rgba(210, 171, 121, .6); color: var(--gold-hi); background: radial-gradient(circle at 50% 0%, rgba(210, 171, 121, .2), transparent 70%), var(--bg-3); }
.flow-node b { font-weight: 500; font-size: 15.5px; color: var(--ink); }
.flow-node small { font-size: 13.5px; line-height: 1.45; color: var(--ink-3); max-width: 22ch; }
.flow-node a { color: inherit; text-decoration: none; }
.flow-node a:hover b { color: #fff; }
@media (max-width: 860px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
  .flow::before, .flow::after { top: 32px; bottom: 32px; left: 31px; right: auto; width: 2px; height: auto; transform-origin: center top; }
  .flow-node { grid-template-columns: 64px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 18px; row-gap: 2px; }
  .flow-ic { grid-row: 1 / span 3; margin: 0; }
  .flow-node > :not(.flow-ic) { grid-column: 2; }
}

/* ── the system map: what I do for you, in four stages (home and /services) ── */
.sysmap { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s2); padding-top: 52px; }
.sysmap::before, .sysmap::after { content: ""; position: absolute; z-index: -1; top: 19px; left: 30px; right: 30px; height: 1px; transform-origin: left center; }
.sysmap::before { background: var(--line-2); }
.sysmap::after { background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); }
.sysmap-stage { position: relative; display: grid; gap: 14px; align-content: start; min-width: 0; padding: 28px 24px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 55%), var(--bg-2); }
.sysmap-stage::before { content: ""; position: absolute; top: -39px; left: 24px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--gold); box-shadow: 0 0 0 6px var(--bg); }
.sec.alt .sysmap-stage::before { background: var(--bg-2); box-shadow: 0 0 0 6px var(--bg-2); }
.sysmap-ic { width: 48px; height: 48px; border-radius: 13px; background: rgba(210, 171, 121, .1); border: 1px solid rgba(210, 171, 121, .3); }
.sysmap-n { font: 500 11.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.sysmap-stage h3 { font: 400 clamp(1.6rem, 1vw + 1.1rem, 2.1rem)/1.1 var(--serif); letter-spacing: -.012em; }
.sysmap-out { font-size: 15.5px; color: var(--ink-2); }
.sysmap-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.sysmap-links a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink-2); text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.sysmap-links a:hover { border-color: rgba(210, 171, 121, .6); color: var(--ink); background: rgba(210, 171, 121, .06); }
.sysmap-result { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 28px; align-items: center; padding: 24px 28px; border-radius: var(--r-lg); border: 1px solid rgba(210, 171, 121, .45); background: radial-gradient(80% 160% at 100% 0%, rgba(210, 171, 121, .14), transparent 60%), var(--bg-3); }
.sysmap-result b { font: 400 clamp(1.4rem, 1vw + 1rem, 1.9rem)/1.2 var(--serif); letter-spacing: -.01em; }
.sysmap-result p { color: var(--ink-2); }
@media (max-width: 1000px) { .sysmap { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 0; } .sysmap::before, .sysmap::after, .sysmap-stage::before { display: none; } }
@media (max-width: 640px) {
  .sysmap { grid-template-columns: minmax(0, 1fr); padding-left: 26px; }
  .sysmap::before, .sysmap::after { display: block; top: 34px; bottom: 34px; left: 6px; right: auto; width: 1px; height: auto; transform-origin: center top; }
  .sysmap-stage::before { display: block; top: 30px; left: -26px; }
  .sysmap-result { grid-template-columns: minmax(0, 1fr); margin-left: -26px; }
}

/* ── the price note: which package it is in, from what price ── */
.pricenote { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s3) var(--s6); align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: radial-gradient(70% 140% at 100% 0%, rgba(210, 171, 121, .11), transparent 60%), var(--bg-3); }
.pricenote h3 { margin-top: 12px; font: 400 clamp(1.6rem, 1.2vw + 1.1rem, 2.3rem)/1.15 var(--serif); letter-spacing: -.012em; }
.pricenote p { margin-top: 8px; max-width: 62ch; color: var(--ink-2); }
.pricenote .chiprow { margin-top: var(--s2); }
.pricenote-price { display: grid; justify-items: end; gap: 6px; text-align: right; }
.pricenote-price small { font: 500 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.pricenote-price b { font: 400 clamp(2.8rem, 2vw + 1.8rem, 3.8rem)/1 var(--serif); letter-spacing: -.02em; }
.pricenote-price span { font-size: 14px; color: var(--ink-3); }
.pricenote-price .btn { margin-top: 10px; }
@media (max-width: 760px) { .pricenote { grid-template-columns: minmax(0, 1fr); } .pricenote-price { justify-items: start; text-align: left; } }

/* ── questions: the accordion opens smoothly (site.js); a quiet circle for the + ── */
.faq summary { transition: color .2s; }
.faq summary:hover { color: #fff; }
.faq summary::after { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font-size: 21px; transition: transform .3s var(--ease), color .2s, border-color .2s; }
.faq details[open]:not(.closing) summary::after { transform: rotate(45deg); color: var(--gold); border-color: rgba(210, 171, 121, .55); }
.faq details.closing summary::after { transform: none; }
.faq details > :not(summary) { padding-right: 52px; }
.faq.wide { max-width: none; }

/* ── the end of every page: related pages, and the next step ── */
.onward-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: var(--s2); }
.onward-card { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; min-width: 0; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); text-decoration: none; transition: border-color .3s, transform .6s var(--out); }
.onward-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.onward-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.1s var(--out); }
.onward-card:hover > img { transform: scale(1.04); }
.onward-card > span { display: grid; gap: 6px; align-content: start; padding: 18px 20px 22px; background: var(--bg-2); position: relative; }
.onward-k { font: 500 10.5px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.onward-card b { font: 400 22px/1.15 var(--serif); letter-spacing: -.01em; }
.onward-card small { font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.onward-next { display: grid; align-content: space-between; gap: var(--s3); min-width: 0; padding: var(--s4); border-radius: var(--r-lg); border: 1px solid rgba(210, 171, 121, .5); background: radial-gradient(90% 80% at 100% 0%, rgba(210, 171, 121, .17), transparent 60%), var(--bg-3); color: var(--ink); text-decoration: none; transition: border-color .3s; }
.onward-next:hover { border-color: var(--gold); }
.onward-next b { display: block; margin-top: 10px; font: 400 clamp(1.7rem, 1.2vw + 1.2rem, 2.4rem)/1.1 var(--serif); letter-spacing: -.012em; }
.onward-next p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.onward-next .btn { justify-self: start; }
.onward-book { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: var(--s2); padding: 18px 24px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink-2); }
.onward-book b { color: var(--ink); font-weight: 500; }
@media (max-width: 1080px) { .onward-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── "Who you'll deal with" (16 Nov, Sam: "also my story too"): Sam & Lucy with "Read our story", one case study and
   one trade, stamped by copy-site (_partials/who.html) above the onward links of every service, software and trade
   page. ── */
.who { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--s2); margin-bottom: clamp(56px, 6vw, 88px); }
.who > a { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; align-items: center; min-width: 0; padding: 14px 20px 14px 14px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); text-decoration: none; transition: border-color .3s, background .3s; }
.who > a:hover { border-color: var(--line-2); background: var(--bg-3); }
.who-us { border-color: rgba(210, 171, 121, .45) !important; background: radial-gradient(90% 120% at 0% 0%, rgba(210, 171, 121, .13), transparent 60%), var(--bg-3) !important; }
.who-us:hover { border-color: var(--gold) !important; }
.who-ph, .who-pic { display: block; width: 92px; height: 92px; overflow: hidden; border-radius: 12px; background: var(--bg-4); }
.who-ph { border-radius: 50%; box-shadow: 0 0 0 1px rgba(210, 171, 121, .45), 0 0 0 5px rgba(210, 171, 121, .08); }
.who-ph img, .who-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--out); }
.who-ph img { object-position: 50% 22%; }
.who > a:hover .who-pic img, .who > a:hover .who-ph img { transform: scale(1.06); }
.who-tx { display: grid; gap: 3px; min-width: 0; }
.who-k { font: 500 11.5px/1.3 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--accent-2); }
.who-tx b { font: 400 clamp(1.3rem, .5vw + 1.1rem, 1.55rem)/1.15 var(--serif); letter-spacing: -.01em; }
.who-tx small { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.who-tx .link-arrow { margin-top: 6px; font-size: 14.5px; color: var(--gold-hi); }
@media (max-width: 1080px) { .who { grid-template-columns: repeat(2, minmax(0, 1fr)); } .who-us { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .who { gap: 10px; margin-bottom: var(--s6); }
  .who > a { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 12px 14px 12px 12px; }
  .who-ph, .who-pic { width: 72px; height: 72px; }
  .who-card { grid-template-columns: minmax(0, 1fr) !important; align-content: start; padding: 0 0 14px !important; overflow: hidden; }
  .who-card .who-pic { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 0; }
  .who-card .who-tx { padding: 0 12px; }
  .who-card .who-tx b { font-size: 1.15rem; }
  .who-card .who-tx small { font-size: 13px; }
  .who-k { font-size: 12px; letter-spacing: .1em; }
}
@media (max-width: 640px) {
  .onward-grid { grid-template-columns: minmax(0, 1fr); }
  .onward-card { grid-template-columns: 116px minmax(0, 1fr); grid-template-rows: none; }
  .onward-card > img { height: 100%; aspect-ratio: auto; }
  .onward-card > span { padding: 16px; }
  .onward-card b { font-size: 19px; }
}

/* ── we map your patch: an aerial picture of their area, villages joined to the town one by one ── */
.patchmap { position: relative; isolation: isolate; overflow: hidden; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--r-lg); border: 1px solid var(--line); background: #0c0f12; }
.patchmap > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.patchmap::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(85% 75% at 50% 55%, transparent 45%, rgba(7, 8, 9, .72)), linear-gradient(180deg, rgba(7, 8, 9, .35), transparent 28%, transparent 70%, rgba(7, 8, 9, .8)); }
.patchmap svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pm-line { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; opacity: .9; }
.pm-dot { fill: var(--gold-hi); stroke: rgba(10, 10, 12, .85); stroke-width: 2; }
.pm-home { fill: var(--gold); stroke: #fff; stroke-width: 2.5; }
.pm-pulse { fill: none; stroke: var(--gold); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
.pm-label { font: 600 21px/1 var(--sans); fill: #fff; paint-order: stroke; stroke: rgba(8, 8, 10, .8); stroke-width: 4px; stroke-linejoin: round; }
.pm-label.is-home { font: 400 32px/1 var(--serif); }
.patchmap figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 24px; padding: 20px 24px; }
.patchmap figcaption b { display: block; font: 400 clamp(1.4rem, 1vw + 1rem, 2rem)/1.1 var(--serif); color: #fff; }
.patchmap figcaption span { font-size: 14px; color: rgba(238, 235, 229, .8); }
.pm-count { font: 300 clamp(2.4rem, 2vw + 1.4rem, 3.6rem)/1 var(--serif); color: var(--gold-hi); }
@media (max-width: 640px) { .patchmap { aspect-ratio: 4 / 5; } .pm-label { font-size: 27px; } .pm-label.is-home { font-size: 36px; } }
/* the live 3D flyover over the poster (assets/map3d/patch3d.js, on capable devices only): it sits above the picture and
   under the caption; once it's ready the poster's drawn lines step aside and the caption says it's live. Google's
   attribution goes top-left, clear of the caption. */
.patchmap .m3d { z-index: 0; --map3d-attr-bottom: auto; --map3d-attr-left: 14px; }
.patchmap .m3d .m3d-attr { top: 10px; }
.patchmap figcaption { z-index: 2; }
.patchmap > svg { transition: opacity .9s ease; }
.patchmap.is-3d > svg { opacity: 0; }
.pm-live { display: none; }
.patchmap.is-3d .pm-live { display: inline; }
.patchmap.is-3d .pm-ill { display: none; }

/* ── motion for the parts above (site.js adds .in once each is on screen; nothing hides without site.js) ── */
@media (prefers-reduced-motion: no-preference) {
  html.m .pagehero-media img, html.m .pagehero-media video { animation: ph-media 1.4s var(--out) both; }
  html.m .pagehero::after { animation: ph-line 1.2s var(--out) .3s both; }
  html.mj .how-steps::after, html.mj .flow::after, html.mj .sysmap::after { transform: scaleX(0); transition: transform 1.2s var(--out) .15s; }
  html.mj .how-steps.in::after, html.mj .flow.in::after, html.mj .sysmap.in::after { transform: none; }
  html.mj .how-ic { border-color: var(--line-2); transition: border-color .5s; transition-delay: calc(var(--i, 0) * 185ms + 270ms); }
  html.mj .how-steps.in .how-ic { border-color: rgba(210, 171, 121, .55); }
  html.mj .patchmap .pm-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--out); transition-delay: calc(var(--i, 0) * 120ms + 300ms); }
  html.mj .patchmap .pm-dot, html.mj .patchmap .pm-label:not(.is-home) { opacity: 0; transition: opacity .6s var(--out); transition-delay: calc(var(--i, 0) * 120ms + 900ms); }
  html.mj .patchmap.in .pm-line { stroke-dashoffset: 0; }
  html.mj .patchmap.in .pm-dot, html.mj .patchmap.in .pm-label { opacity: 1; }
  /* the town's pulse: once, as the map arrives, then still (16 Nov: it looped for ever, then three times; an SVG pulse
     is redrawn by the processor on every frame, so one calm ring is all it gets) */
  html.mj .patchmap.in .pm-pulse { animation: pm-pulse 2.2s var(--out) 1.1s 1 both; }
  html.mj .onward-card, html.mj .onward-next { transition: border-color .3s, transform .6s var(--out), opacity .75s var(--out); }
}
@media (max-width: 920px) and (prefers-reduced-motion: no-preference) { html.mj .how-steps::after { transform: scaleY(0); } html.mj .how-steps.in::after { transform: none; } }
@media (max-width: 860px) and (prefers-reduced-motion: no-preference) { html.mj .flow::after { transform: scaleY(0); } html.mj .flow.in::after { transform: none; } }
@media (max-width: 640px) and (prefers-reduced-motion: no-preference) { html.mj .sysmap::after { transform: scaleY(0); } html.mj .sysmap.in::after { transform: none; } }
@keyframes ph-media { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes ph-line { from { transform: scaleX(0); } to { transform: none; } }
@keyframes pm-pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.8); } }
/* for screenshots and checks: everything in its final place */
html.still [data-seq], html.still .pm-dot, html.still .pm-label { opacity: 1 !important; transform: none !important; }
html.still .how-steps::after, html.still .flow::after, html.still .sysmap::after, html.still .ui-bars i::after, html.still .pagehero::after, html.still .pagehero-media img { transform: none !important; opacity: 1 !important; }
html.still .pm-line { stroke-dashoffset: 0 !important; }
html.still .bookbar { transition: none !important; }

/* (17 Nov, Sam: "the logo and the text below aligned"; "the phone and the text a bit off") the hero sits in the ONE shared
   container (.wrap: --wrap 1240px and --gutter, the same as the header), so the logo's left edge is the text's and the
   header's Book button's right edge is the phone's, at every width; the headline is wider (21ch) so the text column
   reaches towards the phone instead of leaving a gulf. */
/* ── THE SERVICE HERO (.svh, 16 Nov 2026, Sam: "each page should have the nice demo and explanation of how it works
   and how it increases their business vs the old way… all above the fold"). On a laptop the first screen holds, on
   the left: the number and the service, the headline, "How it works" in three steps, "With us vs the old way" (real
   figures only, from docs/portal-stats-raw.json, each with its source) and the package with "Book a strategy call";
   on the right: the library demo for that service, playing. On a phone: headline → demo → how → comparison → CTA.
   Sentence case throughout, no mono caps (item 71). Markup: _templates/service.html. ── */
main > .svh:first-child { margin-top: calc(-1 * var(--head-h)); padding-top: var(--head-h); }
.svh { position: relative; isolation: isolate; overflow: clip; background: radial-gradient(48% 62% at 76% 46%, rgba(210, 171, 121, .09), transparent 72%), linear-gradient(180deg, #0f0f10, var(--bg)); border-bottom: 1px solid var(--line); }
.svh-in { --svh-demo: 400px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, var(--svh-demo)); grid-template-areas: ". demo" "eye demo" "h1 demo" "lede demo" "how demo" "cta demo" ". demo"; grid-template-rows: 1fr repeat(5, auto) 1fr; column-gap: clamp(40px, 5vw, 96px); min-height: min(calc(100svh - var(--head-h)), 940px); padding-block: 20px 28px; }
.svh-in.is-wide { --svh-demo: 640px; }
.svh-in.is-mid { --svh-demo: 420px; }
.svh-eye { grid-area: eye; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 0 0 18px; font: 500 14px/1.3 var(--sans); color: var(--ink-3); }
.svh-eye a { color: var(--ink-3); text-decoration: none; transition: color .2s; }
.svh-eye a:hover { color: var(--ink); }
.svh-eye > span[aria-hidden] { color: var(--line-2); }
.svh-eye b { display: inline-flex; align-items: baseline; gap: 10px; font-weight: 500; color: var(--ink); }
.svh-num { font: 500 13px/1 var(--sans); font-variant-numeric: tabular-nums lining-nums; letter-spacing: .02em; color: var(--gold); }
.svh h1 { grid-area: h1; max-width: 21ch; font-size: clamp(2.3rem, 1.9vw + 1.4rem, 3.5rem); line-height: 1.04; }
.svh h1 em { color: var(--gold-hi); }
.svh-lede { grid-area: lede; max-width: 52ch; margin-top: 20px; color: var(--ink-2); font-size: 16.5px; line-height: 1.55; }
.svh-demo { grid-area: demo; align-self: center; min-width: 0; }
.svh-demo .smd { --smd-chrome: 330px; }
/* the follow-ups demo is a tall timeline (about 800px at any width): a little smaller on a laptop so it fits the first screen */
@media (min-width: 1000px) { .svh-demo.is-zoom { zoom: .8; } }
.svh-k { margin: 0 0 10px; font: 500 13.5px/1.3 var(--sans); color: var(--ink-3); }
.svh-k b { font-weight: 500; color: var(--gold-hi); }
.svh-how { grid-area: how; margin-top: 48px; }
.svh-how ol { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.svh-how li { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: baseline; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.svh-how li > span:first-child { font: 500 13px/1 var(--sans); font-variant-numeric: tabular-nums lining-nums; color: var(--gold); }
.svh-how li b { font-weight: 500; color: var(--ink); }
/* (16 Nov, "crammed") the comparison has its own section under the hero (.vs-sec, at the end of this file) */
.svh-cta { grid-area: cta; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 48px; }
.svh-cta .chip { background: rgba(210, 171, 121, .08); }
@media (max-width: 1180px) { .svh-in.is-wide { --svh-demo: 520px; } }
/* below 1000px: one column, in the phone order (headline, demo, how it works, the comparison, the button) */
@media (max-width: 999.98px) {
  .svh-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "eye" "h1" "lede" "demo" "how" "cta"; grid-template-rows: none; min-height: 0; padding-block: 24px 40px; }
  .svh h1 { max-width: 20ch; }
  .svh-demo { margin-top: 24px; }
}
@media (max-width: 600px) {
  .svh-eye { margin-bottom: 12px; font-size: 13.5px; }
  .svh h1 { font-size: clamp(2.05rem, 7.4vw, 2.5rem); }
  .svh-lede { display: none; }
  .svh-demo { margin-top: 16px; }
  .svh-demo .smd { --smd-phone-w: min(264px, calc(100vw - 48px), max(180px, calc((100svh - 180px - var(--smd-xtra, 0px)) * 9 / 19.5))); }   /* the phone and its captions fit under the header (16 Nov) */
  .svh-how { margin-top: 32px; }
  .svh-how li { font-size: 15px; }
  .svh-cta .btn { width: 100%; }
}

/* ── WITH US, VS THE OLD WAY (.vs-sec, 17 Nov 2026, Sam: "not very stand out"): ONE component for the service pages,
   the trade pages and /software. Cards side by side in the shared container (two or three to a row, stacked on
   phones): the label, the big gold "with us" figure against the muted old way, thick bars that grow in when scrolled
   into view (numbers only; transform only), the ratio and a one-line punchline. Sources in small text under them. ── */
.vs-sec { position: relative; padding-block: clamp(64px, 6vw, 104px); border-bottom: 1px solid var(--line); background: radial-gradient(60% 80% at 50% 0%, rgba(210, 171, 121, .07), transparent 70%), var(--bg-2); }
.vs-h { max-width: 22ch; margin: 0 auto 40px; text-align: center; font-size: clamp(1.9rem, 1.6vw + 1.1rem, 2.8rem); }
.vs-h em { color: var(--gold-hi); }
.vs-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.vs-cards.n2 { max-width: 920px; margin-inline: auto; }
.vs-card { position: relative; display: flex; flex-direction: column; padding: 28px 28px 26px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; isolation: isolate; }
.vs-card::before { content: ""; position: absolute; z-index: -1; left: -20%; top: -40%; width: 80%; height: 90%; background: radial-gradient(closest-side, rgba(210, 171, 121, .16), transparent); pointer-events: none; }
.vs-l { margin: 0 0 18px; font: 500 15px/1.35 var(--sans); color: var(--ink-2); }
.vs-pair { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.vs-pair p { display: grid; gap: 4px; margin: 0; min-width: 0; }
.vs-pair small { font: 500 12.5px/1.2 var(--sans); color: var(--ink-3); }
.vs-us small { color: var(--gold); }
.vs-pair b { font: 500 clamp(2.4rem, 2.2vw + 1.2rem, 3.4rem)/1 var(--sans); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.02em; }
.vs-us b { color: var(--gold-hi); text-shadow: 0 0 34px rgba(210, 171, 121, .28); }
.vs-old b { font-size: clamp(1.7rem, 1.2vw + 1rem, 2.3rem); color: var(--ink-3); }
.vs-card.is-words .vs-pair b { font-size: clamp(1.3rem, .7vw + 1rem, 1.65rem); line-height: 1.15; letter-spacing: -.01em; }
.vs-card.is-words .vs-old b { font-size: clamp(1.1rem, .5vw + .9rem, 1.3rem); }
.vs-pair span { font-size: 13.5px; line-height: 1.35; color: var(--ink-3); }
.vs-bars { display: grid; gap: 8px; margin-top: 22px; }
.vs-bars i { display: block; height: 12px; border-radius: 999px; background: var(--line-2); transform-origin: left center; transform: scaleX(max(var(--w), .025)); }
.vs-bars i.is-us { height: 14px; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); box-shadow: 0 0 22px -4px rgba(210, 171, 121, .55); }
html.m .vs-card.reveal .vs-bars i { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.22, 1, .36, 1) .2s; }
html.m .vs-card.reveal .vs-bars i:not(.is-us) { transition-delay: .35s; }
html.m .vs-card.reveal.in .vs-bars i { transform: scaleX(max(var(--w), .025)); }
.vs-x { margin: 18px 0 0; font: 600 18px/1.25 var(--sans); color: var(--gold-hi); }
.vs-p { margin: 8px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.vs-card.is-words .vs-p { margin-top: 18px; }
.vs-src { max-width: 70ch; margin: 22px auto 0; text-align: center; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.vs-sec .tp-pkg { margin-top: 18px; text-align: center; }
@media (max-width: 640px) {
  .vs-card { padding: 24px 20px 22px; }
  .vs-h { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) { html.m .vs-card.reveal .vs-bars i { transition: none; transform: scaleX(max(var(--w), .025)); } }

/* (17 Nov, the mobile audit at 390 and 375) every link and button on a phone is at least 44px tall to tap: the footer's
   lists and legal links, the section bar, the "where it fits" strips, the contents lists, chips and arrow links. Only
   the hit area grows (no new spacing in the text around them). */
@media (max-width: 760px) {
  .ft-links a { display: flex; align-items: center; min-height: 44px; padding-block: 0; }
  .ft-legal a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -4px; padding-block: 0; }
  .subnav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
  .link-arrow, .chip, .logo { min-height: 44px; }
  html body :is(.fits, .toc, .s2-fit, .phead, .sysmap-links) a { display: inline-flex; align-items: center; min-height: 44px; }
  .cmp td, .cmp th { font-size: 14px; }
  .btn-sm { min-height: 44px; }
  :is(.crumbs, .svh-eye, .ft-co, .ft-legal, .phead) a, .flow-node > a, .subnav .smd-sound { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
}

/* ── THE DEMO SECTION (.dsec, 17 Nov 2026, Sam on the home page's villages and AI sections: "still looks meh", "it
   doesn't sit right... on ALL of them"). One reusable pattern for any section built around a demo phone (home, service
   and trade pages can share it): two columns in the shared container. The words: a kicker, a two-line headline, one
   line, one small detail (chips or tags) and an optional link. The phone: in its own 400px column, vertically centred
   with the words, with the demo's single caption and dots under it (no step list beside it). .is-flip puts the phone
   on the left, so consecutive sections alternate. Phones: words first, then the phone, centred. ── */
.dsec-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); grid-template-areas: "tx demo"; column-gap: clamp(48px, 6vw, 112px); align-items: center; }
.dsec.is-flip .dsec-in { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); grid-template-areas: "demo tx"; }
.dsec-tx { grid-area: tx; min-width: 0; max-width: 560px; }
.dsec.is-flip .dsec-tx { justify-self: end; }
.dsec-tx h2 { margin-top: 14px; font-size: clamp(2.2rem, 2vw + 1.3rem, 3.4rem); line-height: 1.04; max-width: 20ch; }
.dsec-tx .lede { margin-top: 20px; max-width: 40ch; color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.dsec-tx .link-arrow { margin-top: 28px; color: var(--gold-hi); }
.dsec-demo { grid-area: demo; min-width: 0; display: grid; justify-items: center; }
.dsec-demo > .smd { width: 100%; max-width: 400px; }
.dsec-chips, .dsec-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; }
.dsec-chips li { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 6px 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .025); font-size: 14px; color: var(--ink); }
.dsec-flip { display: grid; }
.dsec-flip > * { grid-area: 1 / 1; justify-self: end; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font: 500 12px/1 var(--sans); font-style: normal; white-space: nowrap; }
.dsec-flip > i { color: var(--ink-3); background: rgba(255, 255, 255, .05); opacity: 0; }
.dsec-flip > b { color: #8fd4a4; background: rgba(48, 160, 88, .14); }
html.m .dsec-chips.stg .dsec-flip > i { opacity: 1; transition: opacity .25s var(--out); transition-delay: calc(700ms + var(--i, 0) * 280ms); }
html.m .dsec-chips.stg .dsec-flip > b { opacity: 0; transform: scale(.9); transition: opacity .3s var(--out), transform .3s var(--out); transition-delay: calc(820ms + var(--i, 0) * 280ms); }
html.m .dsec-chips.stg.in .dsec-flip > i { opacity: 0; }
html.m .dsec-chips.stg.in .dsec-flip > b { opacity: 1; transform: none; }
.dsec-tags li { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(210, 171, 121, .32); background: rgba(210, 171, 121, .07); font-size: 14px; color: var(--gold-hi); }
.dsec-count { margin-top: 18px; color: var(--ink-2); font-size: 15px; }
.dsec-count b { margin-right: 6px; font: 400 clamp(2rem, 1.2vw + 1.4rem, 2.6rem)/1 var(--serif); color: var(--gold-hi); font-variant-numeric: tabular-nums lining-nums; }
@media (max-width: 999.98px) {
  .dsec-in, .dsec.is-flip .dsec-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "tx" "demo"; row-gap: 40px; }
  .dsec.is-flip .dsec-tx { justify-self: start; }
  .dsec-tx h2 { max-width: 18ch; }
}
@media (max-width: 600px) {
  .dsec-tx h2 { font-size: clamp(2rem, 8.4vw, 2.5rem); }
  .dsec-tx .lede { font-size: 16px; }
  .dsec-chips li:nth-child(n + 5) { display: none; }
  .dsec-demo > .smd { --smd-phone-w: min(264px, calc(100vw - 48px), max(180px, calc((100svh - 200px) * 9 / 19.5))); }
}
@media (prefers-reduced-motion: reduce) { html.m .dsec-chips.stg .dsec-flip > * { transition: none; } }

/* (17 Nov) the logo itself lives in lib/logo.js (stamped by copy-site); here only its size in the footer */
.ft-brand .sl-logo { --sl-size: 22px; }
@media (max-width: 420px) { .ft-brand .sl-logo { --sl-size: 19px; } }
