/* Wohl site: the depth pages. Tokens mirror the Paper file (Website · Depth, S01 to S98).
   The home page keeps assets/styles.css; nothing here touches it. */

:root {
  --color-background: #F3F3F3;
  --color-surface: #FFFFFF;
  --color-foreground: #141414;
  --color-muted-foreground: #616161;
  --color-border: #CFCFCF;
  --color-soft-line: #EDEDED;
  --color-primary: #0870B8;
  --color-primary-tint: #8CC2EE;
  --color-primary-wash: #DAEAF4;
  --color-sage: #8FA38A;
  --color-sage-field: #E4EAE1;
  --color-oat: #EEEAE3;
  --color-attention: #8C3B12;
  --color-attention-tint: #F6EDE8;
  --dark-line: #3A3A3A;
  --dark-muted: #9E9E9E;

  --font-sans: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, monospace;
  --font-pen: "Kalam", "Comic Sans MS", cursive;

  --text-display: 64px;
  --leading-display: 66px;
  --tracking-display: -0.035em;
  --text-section: 64px;
  --leading-section: 66px;
  --text-title: 44px;
  --leading-title: 46px;
  --text-body: 17px;
  --leading-body: 27px;
  --text-secondary: 15px;
  --leading-secondary: 22px;
  --text-label: 12px;
  --leading-label: 18px;
  --tracking-label: 0.12em;

  --radius-control: 12px;
  --radius-card: 16px;

  --gutter: 88px;
  --bar: 72px;
  --pad: max(var(--gutter), calc((100% - 1264px) / 2));

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-pen: cubic-bezier(0.45, 0, 0.25, 1);
}

/* S93 widths: 1280 and up, 1024 to 1279, 768 to 1023, below 768. */
@media (max-width: 1279px) {
  :root { --gutter: 48px; --text-display: 56px; --leading-display: 58px; --text-section: 56px; --leading-section: 58px; --text-title: 40px; --leading-title: 44px; }
}
@media (max-width: 1023px) {
  :root { --gutter: 32px; --bar: 56px; --text-display: 44px; --leading-display: 46px; --text-section: 32px; --leading-section: 36px; --text-title: 32px; --leading-title: 36px; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; --text-section: 28px; --leading-section: 32px; --text-title: 28px; --leading-title: 32px; --leading-body: 26px; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 16px); }
body {
  background: var(--color-surface);
  color: var(--color-foreground);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
:focus-visible { outline: 2px solid var(--color-foreground); outline-offset: 2px; border-radius: 4px; }
.on-dark :focus-visible, .close :focus-visible, .footer :focus-visible { outline-color: #FFFFFF; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 8px 14px; background: var(--color-foreground); color: #FFFFFF; border-radius: 8px; }
.skip:focus { top: 8px; }

/* ---------- Type: three sizes, plus the measured. ---------- */
.t-display { font-size: var(--text-display); line-height: var(--leading-display); letter-spacing: var(--tracking-display); font-weight: 700; text-wrap: balance; }
.t-section { font-size: var(--text-section); line-height: var(--leading-section); letter-spacing: var(--tracking-display); font-weight: 700; text-wrap: balance; }
.t-title { font-size: var(--text-title); line-height: var(--leading-title); letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
.t-card { font-size: 22px; line-height: 28px; letter-spacing: -0.01em; font-weight: 600; }
.t-body { font-size: var(--text-body); line-height: var(--leading-body); }
.t-secondary { font-size: var(--text-secondary); line-height: var(--leading-secondary); }
.t-small { font-size: 13px; line-height: 18px; }
.t-label { font-family: var(--font-mono); font-size: var(--text-label); line-height: var(--leading-label); letter-spacing: var(--tracking-label); text-transform: uppercase; font-weight: 400; }
.t-reading { font-family: var(--font-mono); font-size: var(--text-display); line-height: var(--leading-display); letter-spacing: -0.02em; font-weight: 500; font-variant-numeric: tabular-nums; }
.t-strong { font-weight: 700; }
.t-semibold { font-weight: 600; }
.t-muted { color: var(--color-muted-foreground); }
.t-blue { color: var(--color-primary); }
.t-pen { font-family: var(--font-pen); color: var(--color-primary); font-size: 24px; line-height: 28px; }
.on-dark .t-muted, .on-dark .t-label.t-muted { color: var(--dark-muted); }
.prose p + p { margin-top: 1em; }
.link { font-weight: 700; text-decoration: underline 1px; text-underline-position: from-font; text-underline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-thickness: 2px; }
  .menu-link:hover, .plain-link:hover, .footer a:hover { text-decoration: underline 1px; text-underline-position: from-font; }
}

/* ---------- Sections: full-bleed grounds, content stops at 1440 and centres. ---------- */
.sec { padding: 112px var(--pad) 96px; }
.sec--tight { padding-top: 96px; }
.sec--white { background: var(--color-surface); }
.sec--plaster { background: var(--color-background); --pill-live-bg: #FFFFFF; }
.sec--dark { background: var(--color-foreground); color: #FFFFFF; }
.sec--dark .t-label, .on-dark .t-label { color: var(--dark-muted); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; }
.sec-head__words { display: flex; flex-direction: column; gap: 16px; max-width: 1040px; }
.sec-head__aside { width: 440px; flex-shrink: 0; }
.stack { display: flex; flex-direction: column; }
.row-line { border-top: 1px solid var(--color-border); }
.row-line--ink { border-top: 1px solid var(--color-foreground); }
@media (max-width: 1023px) {
  .sec { padding-top: 72px; padding-bottom: 64px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .sec-head__aside { width: auto; max-width: 640px; }
}
@media (max-width: 767px) {
  .sec { padding-top: 48px; padding-bottom: 48px; }
  .sec-head { gap: 12px; }
  .sec-head__words { gap: 12px; }
}

/* ---------- The page head: one H1 per page. ---------- */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; padding: 112px var(--pad) 72px; background: var(--color-surface); }
.page-head__words { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.page-head__aside { display: flex; flex-direction: column; gap: 16px; width: 440px; flex-shrink: 0; }
@media (max-width: 1023px) {
  .page-head { flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 64px; padding-bottom: 48px; }
  .page-head__aside { width: auto; max-width: 640px; }
}
@media (max-width: 767px) {
  .page-head { padding-top: 40px; padding-bottom: 32px; gap: 12px; }
  .page-head__words, .page-head__aside { gap: 12px; }
}

/* ---------- Controls (Product System P06): radius 12, 48 and 40 tall, one blue per screen. ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 20px; border-radius: var(--radius-control);
  font-size: var(--text-body); line-height: 22px; font-weight: 600; white-space: nowrap;
  transition: transform 160ms ease-out;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--color-primary); color: #FFFFFF; }
.btn--inverse { background: #FFFFFF; color: var(--color-primary); padding: 0 24px; }
.btn--outline { background: #FFFFFF; color: var(--color-foreground); border: 1px solid var(--color-border); }
.btn--soft { background: var(--color-background); color: var(--color-foreground); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 15px; line-height: 18px; }
.btn--sm::after { content: ""; position: absolute; inset: -2px 0; }
.btn--block { display: flex; width: 100%; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ---------- Status pills (Product System P08). ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; align-self: flex-start;
  height: 26px; padding: 0 10px; border-radius: 999px;
  font-family: var(--font-sans); font-size: 13px; line-height: 16px; font-weight: 500; white-space: nowrap;
  letter-spacing: 0; text-transform: none;
}
.pill svg { width: 12px; height: 12px; }
.pill--sm { height: 22px; padding: 0 8px; font-size: 12px; }
.pill--live { background: var(--pill-live-bg, var(--color-background)); color: var(--color-foreground); }
.pill--example { background: var(--color-background); color: var(--color-foreground); }
.sec--plaster .pill--example { background: #FFFFFF; }
.pill--coming { border: 1px dashed #BDBDBD; color: var(--color-foreground); }
.pill--fill { border: 1px dashed #BDBDBD; background: #FFFFFF; color: var(--color-foreground); }
.pill--decide { background: var(--color-attention-tint); color: var(--color-attention); }
.on-dark .pill--live { background: #FFFFFF24; color: #FFFFFF; }
.on-dark .pill--coming { border-color: #FFFFFF73; color: #FFFFFF; }

/* Held: anything waiting on an answer. The build removes it; here it is outlined for review.
   ?ship previews the live page: held things go, fallbacks show. */
[data-fallback] { display: none !important; }
[data-hold]:not(.pill) { outline: 1px dashed rgba(140, 59, 18, 0.45); outline-offset: 4px; }
html.is-ship [data-hold] { display: none !important; }
html.is-ship [data-fallback] { display: revert !important; }

/* ---------- Shell: utility bar, the bar, five menus. ---------- */
.utility {
  height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--pad); background: var(--color-background);
  position: relative; z-index: 41; /* above the scrim, so the header stays one bright block over the dimmed page */
}
.utility__group { display: flex; align-items: center; gap: 24px; }
.utility__now { display: flex; align-items: center; gap: 8px; }
.utility__now::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: var(--color-foreground); }
.utility .t-label { white-space: nowrap; }
.utility a.t-label { color: var(--color-foreground); }

.bar {
  position: sticky; top: 0; z-index: 40;
  height: var(--bar); display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--pad); background: var(--color-surface); border-bottom: 1px solid var(--color-border);
}
.bar__lockup { color: var(--color-primary); flex-shrink: 0; }
.bar__lockup svg { width: 98px; height: 28px; }
.bar__triggers { display: flex; align-items: center; gap: 8px; height: 100%; }
.trigger {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: var(--text-body); line-height: 27px; white-space: nowrap;
}
.trigger svg { width: 10px; height: 6px; transition: transform 200ms var(--ease-out); }
.trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.trigger[aria-expanded="true"],
body[data-group="treat"] .trigger[data-group="treat"],
body[data-group="where"] .trigger[data-group="where"],
body[data-group="before"] .trigger[data-group="before"],
body[data-group="charge"] .trigger[data-group="charge"],
body[data-group="about"] .trigger[data-group="about"] { background: var(--color-background); font-weight: 600; }
.trigger:active { transform: scale(0.97); }
.trigger { transition: transform 160ms ease-out; }
.bar__end { display: flex; align-items: center; gap: 16px; }
.bar__menu { display: none; font-weight: 700; height: 40px; align-items: center; padding: 0 2px; position: relative; }
.bar__menu::after { content: ""; position: absolute; inset: -2px -8px; }
.bar__book-short { display: none; }

/* Panels open under the bar, full width, print white. Only opacity and a small slide move, never height. */
.panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--color-surface); border-bottom: 1px solid var(--color-border);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out), visibility 0s linear 150ms;
  max-height: calc(100vh - var(--bar) - 36px); overflow-y: auto;
}
.panel.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s; }
.panel.is-instant { transition: none !important; }
.panel__cols { display: flex; gap: 40px; padding: 40px var(--pad); }
.menu-col { display: flex; flex-direction: column; flex-shrink: 0; }
.menu-col__head { padding-bottom: 12px; border-bottom: 1px solid var(--color-border); color: var(--color-muted-foreground); }
.menu-col__head + .menu-col__list { padding-top: 16px; }
.menu-col__list { display: flex; flex-direction: column; gap: 10px; }
.menu-col__list--described { gap: 12px; }
.menu-col__list + .menu-col__head { margin-top: 32px; }
.menu-link { display: flex; flex-direction: column; gap: 2px; }
.menu-link__title { font-size: var(--text-body); line-height: var(--leading-body); }
.menu-link--lead .menu-link__title { font-weight: 700; }
.menu-link__desc { font-size: 12px; line-height: 18px; color: var(--color-muted-foreground); }
.menu-link--clinic { flex-direction: row; align-items: baseline; gap: 0; }
.menu-link--clinic .menu-link__title { width: 170px; flex-shrink: 0; }
.menu-link--inline { flex-direction: row; align-items: baseline; gap: 10px; }
.menu-programmes .menu-link__title { display: flex; align-items: baseline; gap: 16px; }
.menu-programmes .menu-link__title .t-label { width: 24px; flex-shrink: 0; }
.menu-programmes .menu-link__desc { padding-left: 40px; }
.menu-feature { margin-left: auto; width: 344px; flex-shrink: 0; padding: 24px; background: var(--color-background); display: flex; flex-direction: column; gap: 12px; position: relative; }
.menu-feature .t-reading { color: var(--color-primary); }
.menu-feature--ribbon { justify-content: flex-end; padding-right: 120px; min-height: 420px; }
.menu-feature--ribbon .ribbon-worth { position: absolute; left: 254px; top: 0; width: 44.69px; height: 395.83px; }
.menu-feature__photo { width: 296px; height: 222px; object-fit: cover; object-position: 50% top; }
.rail { padding: 0 var(--pad) 28px; }
.rail__line { display: flex; height: 16px; position: relative; }
.rail__line::before { content: ""; position: absolute; left: 0; right: 0; top: 7.5px; border-top: 1px solid var(--color-border); }
.rail__seg { flex: 1; position: relative; }
.rail__seg::before { content: ""; position: absolute; left: 0; top: 3px; height: 10px; border-left: 1px solid var(--color-muted-foreground); }
.rail__seg.is-here::after { content: ""; position: absolute; left: 0; right: 0; top: 6.5px; border-top: 3px solid var(--color-primary); }
.rail__labels { display: flex; margin-top: 10px; }
.rail__labels span { flex: 1; color: var(--color-muted-foreground); }
.rail__labels span.is-here { color: var(--color-foreground); }
.scrim {
  /* Graphite, not white: the print white panel has to read as a sheet over the page, not run into it. */
  position: fixed; inset: 0; z-index: 30; background: rgba(20, 20, 20, 0.32);
  opacity: 0; visibility: hidden; transition: opacity 150ms var(--ease-out), visibility 0s linear 150ms;
}
.scrim.is-on { opacity: 1; visibility: visible; transition: opacity 200ms var(--ease-out), visibility 0s; }

/* Nothing in the bar shrinks: the full bar needs about 1330px, so below 1360 the compact bar takes over
   (triggers at 15, no chevrons, a short Book). site.js adds .bar-tight wherever the full bar still would not fit. */
.bar > *, .bar__triggers > *, .trigger svg { flex-shrink: 0; }
.bar__book { white-space: nowrap; }
@media (max-width: 1359px) {
  .trigger { font-size: 15px; padding: 0 10px; }
  .trigger svg { display: none; }
  .bar__triggers { gap: 4px; }
  .bar__book { height: 40px; padding: 0 16px; font-size: 15px; }
  .bar__book-long { display: none; }
  .bar__book-short { display: inline; }
}
html.bar-tight .trigger { font-size: 15px; padding: 0 10px; }
html.bar-tight .trigger svg { display: none; }
html.bar-tight .bar__triggers { gap: 4px; }
html.bar-tight .bar__book { height: 40px; padding: 0 16px; font-size: 15px; }
html.bar-tight .bar__book-long { display: none; }
html.bar-tight .bar__book-short { display: inline; }
@media (max-width: 1279px) {
  .menu-feature { display: none; }
  .panel__cols { gap: 32px; }
}

/* Below 1024: the phone bar and the full-screen sheet. */
@media (max-width: 1023px) {
  .utility, .bar__triggers, .panel, .scrim { display: none; }
  .bar__lockup svg { width: 84px; height: 24px; }
  .bar__menu { display: inline-flex; }
  .bar__book::after { content: ""; position: absolute; inset: -2px 0; }
}

/* The sheet: rises in 280 ms, drops in 200 ms; levels slide 240 ms in, 200 ms back. */
.sheet {
  position: fixed; inset: 0; z-index: 60; background: var(--color-surface);
  transform: translateY(100%); visibility: hidden;
  transition: transform 200ms var(--ease-drawer), visibility 0s linear 200ms;
  overflow: hidden;
}
.sheet.is-open { transform: none; visibility: visible; transition: transform 280ms var(--ease-drawer), visibility 0s; }
.sheet__level {
  position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--color-surface);
  transform: translateX(100%); visibility: hidden;
  transition: transform 200ms var(--ease-drawer), visibility 0s linear 200ms;
}
.sheet__level.is-root { transform: none; visibility: visible; }
.sheet__level.is-open { transform: none; visibility: visible; transition: transform 240ms var(--ease-drawer), visibility 0s; z-index: 2; }
.sheet__top { height: 56px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); border-bottom: 1px solid var(--color-border); padding-top: env(safe-area-inset-top); box-sizing: content-box; }
.sheet__top .bar__lockup svg { width: 84px; height: 24px; }
.sheet__close, .sheet__back { font-weight: 700; height: 44px; display: inline-flex; align-items: center; gap: 10px; }
.sheet__back svg { width: 8px; height: 12px; }
.sheet__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 24px var(--gutter) 32px; }
.sheet__row { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 64px; border-bottom: 1px solid var(--color-border); font-weight: 600; }
.sheet__row svg { width: 8px; height: 12px; }
.sheet__actions { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }
.sheet__foot { flex-shrink: 0; background: var(--color-background); padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 6px; }
.sheet__foot .t-label { color: var(--color-muted-foreground); }
.sheet__foot .utility__now { color: var(--color-foreground); }
.sheet__count { color: var(--color-muted-foreground); }
.sheet__title { font-size: 44px; line-height: 46px; letter-spacing: var(--tracking-display); font-weight: 700; margin: 8px 0 28px; }
.sheet__group { color: var(--color-muted-foreground); padding-bottom: 10px; border-bottom: 1px solid var(--color-border); margin-top: 28px; }
.sheet__group:first-of-type { margin-top: 0; }
.sheet__link { display: flex; align-items: center; min-height: 44px; }
.sheet__pinned { flex-shrink: 0; display: flex; gap: 12px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--color-border); background: var(--color-surface); }
.sheet__pinned .btn--primary { flex: 1; }
html.is-locked, html.is-locked body { overflow: hidden; }

/* Book on phones: a small sheet with Call and WhatsApp (S94 proposal, pending Jaic). */
.booksheet { position: fixed; inset: 0; z-index: 80; visibility: hidden; transition: visibility 0s linear 200ms; }
.booksheet.is-open { visibility: visible; transition: visibility 0s; }
.booksheet__scrim { position: absolute; inset: 0; background: rgba(20, 20, 20, 0.4); opacity: 0; transition: opacity 200ms var(--ease-out); }
.booksheet.is-open .booksheet__scrim { opacity: 1; transition-duration: 280ms; }
.booksheet__card {
  position: absolute; left: 0; right: 0; bottom: 0; background: var(--color-surface); border-radius: 24px 24px 0 0;
  padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px;
  transform: translateY(100%); transition: transform 200ms var(--ease-drawer);
}
.booksheet.is-open .booksheet__card { transform: none; transition-duration: 280ms; }
.booksheet__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; }

/* ---------- The close: Wohl blue, the brand line, one Book. ---------- */
.close {
  position: relative; overflow: hidden;
  min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end; gap: 24px;
  padding: 120px var(--pad) 72px; background: var(--color-primary); color: #FFFFFF;
}
.close .t-label { color: #FFFFFF; }
.close__actions { display: flex; align-items: center; gap: 24px; padding-top: 8px; flex-wrap: wrap; }
.close__ribbon { position: absolute; top: 0; right: calc(var(--pad) + 105px); width: 67.04px; height: 347.65px; }
@media (max-width: 1279px) { .close__ribbon { right: var(--pad); } }
@media (max-width: 1023px) {
  .close { min-height: 0; padding-top: 72px; padding-bottom: 48px; }
  .close__ribbon { width: 53.6px; height: 278px; }
}
@media (max-width: 767px) {
  .close { padding: 56px var(--gutter) 40px; gap: 16px; }
  .close .t-display { max-width: 290px; text-wrap: wrap; }
  .close__actions { flex-direction: column; align-items: stretch; gap: 16px; }
  .close__actions .btn { width: 100%; }
  .close__ribbon { right: var(--gutter); width: 40px; height: 209px; }
}

/* ---------- Footer: the Wohlness band first, then the site map, then facts and legal. ---------- */
.footer { background: var(--color-foreground); color: #FFFFFF; }
.footer .t-label { color: var(--dark-muted); }
.band { display: flex; justify-content: space-between; align-items: flex-start; gap: 64px; padding: 56px var(--pad) 48px; border-bottom: 1px solid var(--dark-line); }
.band__words { width: 420px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; }
.band__words .t-label { color: var(--color-primary-tint); }
.band__list { flex: 1; display: flex; flex-direction: column; }
.band__item { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--dark-line); }
.band__item:last-child { border-bottom: 0; }
.band__item--coming { color: var(--dark-muted); }
.sitemap { display: flex; gap: 40px; padding: 48px var(--pad); border-bottom: 1px solid var(--dark-line); }
.sitemap__col { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.sitemap__col .t-label { padding-bottom: 8px; }
.base { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding: 40px var(--pad) 48px; }
.base__brand { display: flex; flex-direction: column; gap: 20px; }
.base__brand svg { width: 140px; height: 40px; color: var(--color-primary-tint); }
.base__facts { width: 560px; flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; }
.base__links { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 12px; }
.base__links a { color: var(--dark-muted); }
.tint { color: var(--color-primary-tint); }
@media (max-width: 1023px) {
  .band { flex-direction: column; gap: 24px; padding-top: 40px; }
  .band__words { width: auto; max-width: 640px; }
  .band__list { width: 100%; }
  .sitemap { flex-wrap: wrap; gap: 32px 24px; }
  .sitemap__col { flex: 0 0 calc(50% - 12px); }
  .base { flex-direction: column-reverse; align-items: flex-start; gap: 40px; }
  .base__facts { width: auto; }
}
@media (max-width: 767px) {
  .band, .sitemap, .base { padding-left: var(--gutter); padding-right: var(--gutter); }
}

/* ---------- Drawings, the load layer and the pen. Only the measurement moves. ---------- */
.figure { position: relative; }
.figure > img, .figure > .layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.figure > img:first-child { position: relative; }
/* Strokes are drawn by site.js with the Web Animations API (CSS transitions on SVG strokes stall in
   some Chrome builds); --t and --d set duration and delay, as for every other draw. */
.js .draw [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .draw.is-drawn [pathLength] { stroke-dashoffset: 0; }
.js .draw .draw-fade { opacity: 0; transition: opacity 240ms var(--ease-out) var(--d, 0ms); }
.js .draw.is-drawn .draw-fade { opacity: 1; }
.js .draw .pen-words { clip-path: inset(0 100% 0 0); transition: clip-path calc(var(--n, 12) * 45ms) linear var(--d, 0ms); }
.js .draw.is-drawn .pen-words { clip-path: inset(0 0 0 0); }
.js .draw .draw-clip { clip-path: inset(0 100% 0 0); transition: clip-path var(--t, 900ms) var(--ease-pen) var(--d, 0ms); }
.js .draw .draw-clip--down { clip-path: inset(0 0 100% 0); }
.js .draw.is-drawn .draw-clip { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  .js .draw [pathLength] { stroke-dashoffset: 0; transition: none; }
  .js .draw .draw-fade, .js .draw .pen-words, .js .draw .draw-clip { opacity: 1; clip-path: none; transition: none; }
  .panel, .panel.is-open { transform: none; }
  .panel.is-open { transition: opacity 150ms linear, visibility 0s; }
  .panel { transition: opacity 150ms linear, visibility 0s linear 150ms; }
  .sheet, .sheet.is-open, .sheet__level, .sheet__level.is-open, .booksheet__card { transform: none !important; }
  .sheet { opacity: 0; transition: opacity 150ms linear, visibility 0s linear 150ms; }
  .sheet.is-open { opacity: 1; transition: opacity 150ms linear, visibility 0s; }
  .sheet__level { opacity: 0; transition: opacity 150ms linear, visibility 0s linear 150ms; }
  .sheet__level.is-root, .sheet__level.is-open { opacity: 1; transition: opacity 150ms linear, visibility 0s; }
  .btn, .trigger { transition: none; }
  .btn:active, .trigger:active { transform: none; }
}

/* ---------- Shared bits used on many pages. ---------- */
.label-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.dash-slot { border: 1px dashed #BDBDBD; border-radius: 12px; background: var(--color-background); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 16px; color: var(--color-muted-foreground); }
.qa { display: flex; gap: 40px; padding: 18px 0; border-top: 1px solid var(--color-border); }
.qa:first-child { border-top-color: var(--color-foreground); }
.qa:last-child { border-bottom: 1px solid var(--color-border); }
.qa__q { width: 300px; flex-shrink: 0; font-weight: 700; }
.qa__a { flex: 1; display: flex; justify-content: space-between; gap: 16px; }
@media (max-width: 767px) {
  .qa { flex-direction: column; gap: 6px; padding: 16px 0; }
  .qa__q { width: auto; }
  .qa__a { flex-direction: column; gap: 8px; }
}
