/* Heimwyn landing page: "sheets on a desk" (design: brand/v2/page.html, palette 5 "Payne's grey & madder").
   Every colour lives in the token block below. Madder red (--thread, --thread-label, --map-seal) is reserved for
   the thread and its knots, the logo point, the village seal on the map and the "your line" label. */

/* ---------- fonts (self-hosted, OFL; licences in /fonts) ---------- */
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/spectral-400.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/spectral-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/spectral-500.woff2") format("woff2"); }
@font-face { font-family: "IM Fell English"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/imfell-english-400.woff2") format("woff2"); }
@font-face { font-family: "IM Fell English"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/imfell-english-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant SC"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/cormorant-sc-600.woff2") format("woff2"); }
/* Kurrent after J. F. Kiechel's 1788 copybook, digitised by Peter Wiegel ("18th Century Kurrent Text", OFL).
   Subset, so renamed as the OFL's Reserved Font Name clause requires. */
@font-face { font-family: "Heimwyn Hand"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/heimwyn-hand.woff2") format("woff2"); }

/* tokens:start */
:root {
  /* desk and sheets */
  --desk: #d9dadd;
  --paper: #f7f6f2; --paper-2: #fcfbf8; --card: #f9f8f5; --card-line: rgba(71, 88, 104, .16);
  --slip: #f4f3ef; --insert: #f3f2ed;
  --sheet-edge: rgba(38, 44, 51, .13); --shadow-near: rgba(38, 44, 51, .14); --shadow-far: rgba(38, 44, 51, .11);
  --fold-dark: rgba(38, 44, 51, .08); --fold-light: rgba(255, 255, 255, .65);
  /* type and rules */
  --ink: #262c33; --muted: #535b65;
  --rule: rgba(71, 88, 104, .15); --margin-rule: rgba(71, 88, 104, .32);
  --faded: #475868; --seal: #41566b;
  --record-edge: #d3d7dc;
  --btn-ink: #ffffff; --btn-inner: #e0e5ea;
  --field-line: rgba(38, 44, 51, .45);
  /* the red thread */
  --thread: #b23a57; --thread-shadow: rgba(38, 44, 51, .25); --thread-label: #a3334e;
  /* reading glass and ink */
  --ink-fresh: #1d2228; --ink-dry: #6a737e; --hand-ink: #2e353d;
  --lens-paper: rgba(252, 251, 248, .94);
  --brass: #a9a196; --brass-dark: #625c53;
  --glass-edge-light: rgba(255, 255, 255, .72); --glass-glow: rgba(232, 236, 240, .45);
  --glass-shadow: rgba(38, 44, 51, .26); --glass-hi: rgba(255, 255, 255, .36);
  --glass-clear: rgba(255, 255, 255, 0); --glass-tint: rgba(71, 88, 104, .08);
  --mask-on: #ffffff;
  /* map A (survey sheet) and the journey layer */
  --map-sheet: #f5f4ef; --map-land: #f3f2ec; --map-de: #f7f6f1;
  --map-water: #d5dee3; --map-water-line: #66859a; --map-lake: #c5d4dc; --map-river: #4d7590;
  --map-grat: #6b7581; --map-wash: #85909c; --map-hach: #4b535d;
  --map-border: #333a42; --map-coast: #2b3138; --map-ink: #262c33; --map-ink-2: #3c444d; --map-ink-3: #5a636d;
  --map-sea-label: #3e6077; --map-land-label: #41566b; --map-country-label: #4c545e; --map-range-label: #4b535d; --map-river-label: #335a73;
  --map-rose-dark: #2b3138; --map-rose-light: #f5f4ef;
  --map-seal: #b23a57; --map-route: #475868; --map-age: #5f6a76;
  --map-tint-1: #5a6e82; --map-tint-2: #8ea3b5; --map-tint-3: #c3a27c; --map-tint-4: #bcb07e; --map-tint-5: #9890ae;
  --map-tint-6: #86a28c; --map-tint-7: #bba57c; --map-tint-8: #a594b2; --map-tint-9: #b88e99;
}
/* tokens:end */

/* ---------- layout tokens; the register grid lives only on the ruled sheet (#paper) ---------- */
:root {
  color-scheme: light;
  --lh: 28px; --rule-off: 3px; --hair: 1px;
  --head-h: 84px;                       /* height of the letterhead band, a whole number of rules (set by script) */
  --margin: clamp(44px, 9vw, 120px);    /* x of the margin (and the thread) inside every sheet */
  --gutter: clamp(18px, 3vw, 40px);
  --pad-r: clamp(16px, 4vw, 56px);
  --desk-pad: clamp(8px, 3vw, 40px);
  --gap: clamp(22px, 4.5vw, 64px);      /* desk between two sheets */
  /* rhythm: inside a group 0 to 1 rule apart, between groups 2 to 3 */
  --in: calc(var(--lh) / 2);            /* paragraph to paragraph inside a group: 14px */
  --between: calc(var(--lh) * 2);       /* group to group: 56px (plus the 14px a group ends with = 2.5 rules) */
  --measure: 36em;                      /* running text: about 65 to 70 characters */
  /* type (owner decision 12.11.2026, variant C): IM Fell English only for the one big headline and the margin figures;
     all other headings in Spectral 500; labels in Spectral small caps. Each is one token, so a swap is a one-line change. */
  --display: "IM Fell English", Georgia, serif;
  --head: "Spectral", Georgia, serif; --head-weight: 500;
  --body: "Spectral", Georgia, serif;
  --label: 400 13px/var(--lh) var(--body);   /* labels: Spectral small caps (smcp), lowercase source, .14em, --muted */
  --kurrent: "Heimwyn Hand", Georgia, cursive;
}
@media (max-width: 600px) { :root { --margin: 30px; --gutter: 16px; --pad-r: 16px; --between: calc(var(--lh) * 1.5); } }

* { box-sizing: border-box; }
html { background: var(--desk); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--desk); font: 17px/var(--lh) var(--body); overflow-x: hidden; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--faded); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--faded); outline-offset: 2px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 60; background: var(--paper); color: var(--ink); padding: 6px 12px; box-shadow: 0 0 0 1px var(--sheet-edge); }
.skip:focus { top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nowrap { white-space: nowrap; }

.desk { position: relative; max-width: calc(1180px + 2 * var(--desk-pad)); margin: 0 auto; padding: 0 var(--desk-pad) calc(var(--lh) * 2); }
.sheet { position: relative; margin-top: var(--gap); padding: calc(var(--lh) * 1.5) var(--pad-r) calc(var(--lh) * 1.5) calc(var(--margin) + var(--gutter));
         box-shadow: 0 0 0 1px var(--sheet-edge), 0 1px 2px var(--shadow-near), 0 10px 28px -6px var(--shadow-far); }

/* ---------- shared type ---------- */
p, h1, h2, h3, ul, ol, table, figure, dl, form, fieldset { margin: 0; }
p { max-width: var(--measure); }
:where(p, li, td, th, h1, h2, h3, figcaption, footer) :where(a, em, strong, i, b, small, abbr, span:not(.num)) { line-height: 0; }
h1, h2, h3 { font-family: var(--head); font-weight: var(--head-weight); color: var(--ink); text-wrap: balance; }
h1 { font-family: var(--display); font-weight: 400; }
.sc { text-transform: lowercase; font-variant-caps: small-caps; letter-spacing: .14em; }
h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: calc(var(--lh) * 2); letter-spacing: -.005em; }
h2 { font-size: clamp(25px, 2.9vw, 31px); line-height: calc(var(--lh) * 1.5); letter-spacing: -.005em; }
h3 { font-size: 19px; line-height: var(--lh); }
.lead { font-size: clamp(18.5px, 2vw, 20px); }
p + p, p + ul, ul + p { margin-top: var(--in); }
.grp + .grp { margin-top: var(--between); }
.hint, .fine, .caption, .note { font-size: 14px; line-height: 22px; color: var(--muted); }
.note { font-style: italic; }
/* entry label: a small-caps style label; its figure hangs in the margin, left of the thread */
.entry { position: relative; font: var(--label); letter-spacing: .14em; text-transform: lowercase; font-variant-caps: small-caps; color: var(--muted); margin: 0; }
.entry + h1, .entry + h2 { margin-top: 0; }
h1 + p, h2 + p, h2 + .lead { margin-top: var(--in); }
.num { position: absolute; right: calc(100% + var(--gutter) + 16px); top: 0; font: normal 19px/var(--lh) var(--display); letter-spacing: 0;
       color: var(--seal); font-variant-numeric: oldstyle-nums; font-variant-caps: normal; text-transform: none; }
ul.plain { list-style: none; padding: 0; }
.dash { padding: 0; list-style: none; }
.dash li { position: relative; padding-left: 1.1em; }
/* list items as small pen ticks (what you get), instead of dashes */
.dash li { padding-left: 1.35em; }
.dash li::before { content: ""; position: absolute; left: 0; top: .42em; width: .78em; height: .78em; background: var(--faded);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.6 6.6 4.6 9.4 10.6 2.4' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.6 6.6 4.6 9.4 10.6 2.4' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.dash li.promise::before { content: none; }

/* buttons: one primary per row at most */
.btn { display: inline-block; font: 500 15px/var(--lh) var(--body); padding: 5px 18px; color: var(--btn-ink); background: var(--faded); white-space: nowrap;
       border: 3px double var(--btn-inner); outline: 1px solid var(--faded); text-decoration: none; cursor: pointer; text-align: center; }
.btn.ghost { background: transparent; color: var(--faded); border-color: transparent; }
.btn:not(.ghost):hover, .btn:not(.ghost):focus-visible { background: var(--ink); outline-color: var(--ink); color: var(--btn-ink); }
.btn.ghost:hover, .btn.ghost:focus-visible { color: var(--ink); outline-color: var(--ink); }
.btn:focus-visible { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--faded); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btns { display: flex; gap: 14px 18px; flex-wrap: wrap; align-items: center; }
.btns + .fine { margin-top: calc(var(--lh) / 2); }
.linkish { font: inherit; color: var(--faded); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkish:hover { color: var(--ink); }

/* ==================================================================
   SHEET 1: the register page. A printed letterhead band, then ruling + double margin.
   ================================================================== */
.register { background-color: var(--paper); isolation: isolate; padding-top: 0; }
.register:not(.ruled) { background-image: linear-gradient(to top, var(--rule) 1px, transparent 1px); background-size: 100% var(--lh); background-position: 0 var(--head-h); }
#ruling { position: absolute; left: 0; top: 0; width: 100%; z-index: -1; pointer-events: none; }
#ruling rect { fill: var(--rule); }
.register::before { content: ""; position: absolute; top: var(--head-h); bottom: 0; left: calc(var(--margin) - 3px); width: 6px;
                    border-left: 1px solid var(--margin-rule); border-right: 1px solid var(--margin-rule); pointer-events: none; }
.letterhead { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap;
              min-height: var(--head-h); background: var(--paper);
              margin: 0 calc(-1 * var(--pad-r)) 0 calc(-1 * (var(--margin) + var(--gutter)));
              padding: 10px var(--pad-r) 16px calc(var(--margin) + var(--gutter)); }
/* the printed double rule that closes the head: thin over thick */
.letterhead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; border-top: 1px solid var(--ink); border-bottom: 2.5px solid var(--ink); }
.logo { display: block; line-height: 0; color: var(--ink); }
.logo svg { display: block; height: 46px; width: auto; }
.logo .h { fill: var(--ink); } .logo .pt { fill: var(--thread); }
.letterhead nav { display: flex; gap: 4px 22px; align-items: center; flex-wrap: wrap; font-size: 15px; }
.letterhead nav a:not(.btn) { color: var(--ink); text-decoration: none; line-height: var(--lh); }
.letterhead nav a:not(.btn):hover { color: var(--faded); text-decoration: underline; }
.letterhead .btn { font-size: 14px; padding: 1px 14px; }
.register section { position: relative; padding-top: calc(var(--lh) * 2); }
.hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--between) clamp(24px, 5vw, 64px); }
@media (max-width: 860px) { .hero { grid-template-columns: minmax(0, 1fr); } }
.hero .entry { margin-bottom: 0; }
.record { background: var(--paper-2); border: 1px solid var(--record-edge); padding: 0 18px; margin: 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { font: var(--label); line-height: calc(var(--lh) - 8px); letter-spacing: .14em; text-transform: lowercase; font-variant-caps: small-caps; text-align: left; color: var(--muted); padding: 0 6px; vertical-align: top; }
td { padding: 0 6px; line-height: var(--lh); vertical-align: top; }
td.n { color: var(--seal); font-family: var(--display); }
.record + .hint { margin-top: 6px; }
.hint .linkish { margin-left: .4em; }

/* the reading glass on the inked Kurrent line */
@property --r { syntax: "<length>"; inherits: true; initial-value: 0px; }
.hand { position: relative; margin: 0; max-width: none; cursor: none; outline: none; touch-action: pan-y; -webkit-user-select: none; user-select: none;
        --x: 50%; --y: 50%; --r: 0px; --R: 64px; --mag: 1.12; transition: --r .35s cubic-bezier(.45,.05,.35,1); }
.hand.touch-on { touch-action: none; }
.hand.lens-on { --r: var(--R); }
.hand .ink { display: block; width: 100%; overflow: visible; }
.hand .new, .hand .gls { position: absolute; left: -6px; right: -6px; top: 0; bottom: 0; padding: 0 6px; z-index: 2;
             font: italic clamp(16.5px, 1.6vw, 19px)/calc(var(--lh) * 2) var(--body); color: var(--ink); background: var(--lens-paper);
             transform-origin: var(--x) var(--y); scale: var(--mag);
             -webkit-mask-image: radial-gradient(circle calc(var(--r) / var(--mag)) at var(--x) var(--y), var(--mask-on) 78%, transparent 100%);
                     mask-image: radial-gradient(circle calc(var(--r) / var(--mag)) at var(--x) var(--y), var(--mask-on) 78%, transparent 100%); }
.hand .new .l { display: block; line-height: calc(var(--lh) * 2); }
.hand .gls .gl { position: relative; display: block; height: calc(var(--lh) * 2); line-height: calc(var(--lh) * 2); }
.hand .gls .gl .bl { display: inline-block; width: 0; height: 0; }
.hand .gls .gl .g { position: absolute; top: 0; white-space: nowrap; text-align: center; }
.hand .lens { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; width: calc(var(--r) * 2); height: calc(var(--r) * 2);
              translate: calc(var(--x) - var(--r)) calc(var(--y) - var(--r)); border-radius: 50%; opacity: 0; transition: opacity .35s;
              box-shadow: inset 0 0 0 1px var(--glass-edge-light), 0 0 0 2px var(--brass), 0 0 0 2.6px var(--brass-dark),
                          0 0 0 3.2px var(--glass-glow), 0 3px 9px 1px var(--glass-shadow);
              background: radial-gradient(circle at 32% 26%, var(--glass-hi), var(--glass-clear) 34%),
                          radial-gradient(circle at 50% 50%, var(--glass-clear) 70%, var(--glass-tint) 100%); }
.hand .lens::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22%; height: 3px; translate: 0 -50%; rotate: 42deg;
                     transform-origin: 0 50%; margin-left: calc(var(--r) - 1px); background: linear-gradient(90deg, var(--brass-dark), var(--brass) 40%, var(--brass-dark));
                     border-radius: 2px; opacity: .85; }
.hand.lens-on .lens { opacity: 1; }
.hand.read { --r: 900px; --x: 50%; --y: 50%; }
.hand.read .new { scale: 1; }
.hand.read .gls, .hand:not(.read) .new { visibility: hidden; }
.hand.read .lens { opacity: 0; }
.hand:focus-visible { box-shadow: 0 0 0 2px var(--paper-2), 0 0 0 4px var(--faded); }
body.measuring .hand .new, body.measuring .hand .gls { scale: 1 !important; }
@media (hover: none) { .hand { cursor: default; } }
@media (max-width: 600px) { .hand { --R: 56px; --mag: 1.1; } }

/* ==================================================================
   Index cards and plain sheets
   ================================================================== */
.card { background: var(--card); max-width: 960px; }
.card.narrow { max-width: 820px; }
.card.small { max-width: 720px; }
.storyphoto { margin: 0 0 var(--lh); }
.storyphoto img { width: 100%; height: auto; border: 1px solid var(--record-edge); }
.card h2.ruled { padding-bottom: calc(var(--lh) / 2 - 2px); border-bottom: 2px solid var(--seal); margin-right: calc(-1 * var(--pad-r)); padding-right: var(--pad-r); }
.plainsheet { background: var(--paper-2); max-width: 1060px; }

/* a set: items share one box of fine rules */
.set { border-top: 1px solid var(--card-line); border-bottom: 1px solid var(--card-line); }

/* pain: the forum lines */
.quotes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.quotes li { position: relative; font: italic 17.5px/26px var(--body); padding: 12px 0 12px 1.4em; border-top: 1px solid var(--card-line); }
.quotes li:nth-child(-n+2) { border-top: 0; }
.quotes li::before { content: "“"; position: absolute; left: 0; top: 8px; font: 30px/1 var(--display); color: var(--faded); }
.quotes + .note { margin-top: 10px; }
.turn { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px 40px; align-items: start; }
.turn h3 { font-size: clamp(21px, 2.2vw, 24px); line-height: 32px; }
@media (max-width: 760px) { .quotes { grid-template-columns: minmax(0, 1fr); } .quotes li:nth-child(2) { border-top: 1px solid var(--card-line); } .turn { grid-template-columns: minmax(0, 1fr); } }

/* why: three benefits side by side, divided by fine rules */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.benefits > div { padding: 16px 22px 18px; border-left: 1px solid var(--card-line); }
.benefits > div:first-child { padding-left: 0; border-left: 0; }
.benefits > div:last-child { padding-right: 0; }
.benefits h3 { margin-bottom: 6px; }
.benefits p { font-size: 16px; line-height: 25px; }
@media (max-width: 820px) {
  .benefits { grid-template-columns: minmax(0, 1fr); }
  .benefits > div { padding: 14px 0; border-left: 0; border-top: 1px solid var(--card-line); }
  .benefits > div:first-child { border-top: 0; }
}
/* the example: what the papers say, what the register says */
.example { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr); gap: 10px 18px; align-items: stretch; }
.example .rec { background: var(--paper-2); border: 1px solid var(--record-edge); padding: 10px 16px 12px; }
.example .lbl { font: var(--label); letter-spacing: .14em; text-transform: lowercase; font-variant-caps: small-caps; color: var(--muted); line-height: 22px; margin-bottom: 4px; }
.example .rf { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dotted var(--card-line); font-size: 15px; }
.example .rf b { font-weight: 500; }
.example .rec .place { font: var(--head-weight) 21px/30px var(--head); }
.example .rec p { font-size: 15px; line-height: 23px; }
.example .script { font-style: italic; color: var(--muted); margin-top: 6px; }
.example .arrow { align-self: center; color: var(--faded); font: 26px/1 var(--body); }
.example + .fine { margin-top: 8px; }
@media (max-width: 760px) { .example { grid-template-columns: minmax(0, 1fr); } .example .arrow { justify-self: center; rotate: 90deg; } }
.honest { border-left: 3px double var(--faded); padding: 2px 0 2px 20px; }
.honest h3 { margin-bottom: 6px; }

/* how: a numbered column */
.how { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: s; }
.how li { counter-increment: s; position: relative; padding: 14px 22px 16px 46px; border-left: 1px solid var(--card-line); }
.how li:first-child { border-left: 0; }
.how li::before { content: counter(s); position: absolute; left: 14px; top: 10px; font: 30px/1 var(--display); color: var(--seal); font-variant-numeric: oldstyle-nums; }
.how li:first-child { padding-left: 32px; } .how li:first-child::before { left: 0; }
.how h3 { margin-bottom: 6px; }
.how p { font-size: 16px; line-height: 25px; }
@media (max-width: 820px) {
  .how { grid-template-columns: minmax(0, 1fr); }
  .how li, .how li:first-child { border-left: 0; border-top: 1px solid var(--card-line); padding: 14px 0 14px 32px; }
  .how li:first-child { border-top: 0; }
  .how li::before, .how li:first-child::before { left: 0; }
}

/* offer: one row per step, price in its own column */
/* a note on the sheet (e.g. "founding-client prices, indicative"): a pale slate band, not a box, so it never looks like a button */
.flag { display: inline-block; font: var(--label); letter-spacing: .14em; text-transform: lowercase; font-variant-caps: small-caps; color: var(--ink); background: var(--btn-inner); border-left: 3px solid var(--faded); padding: 1px 10px 1px 9px; line-height: 22px; }
.steps { display: grid; grid-template-columns: 12em minmax(0, 1fr) 12em; }
.steps > div { display: contents; }
.steps > div > * { padding: 14px 16px 15px 0; border-bottom: 1px solid var(--card-line); margin: 0; }
.steps > div:last-child > * { border-bottom: 0; }
.steps .stepname .entry { font-size: 12.5px; }
.steps h3 { font-size: 19px; }
.steps ul { font-size: 16px; line-height: 25px; }
.steps .promise { display: block; margin-top: 8px; font-size: 15px; line-height: 23px; font-style: italic; color: var(--faded); }
.steps .price { font: var(--head-weight) 21px/30px var(--head); color: var(--ink); padding-right: 0; }
.steps .price small { display: block; font: 14px/21px var(--body); color: var(--muted); margin-top: 4px; }
@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps > div > * { border-bottom: 0; padding: 0; }
  .steps > div > .stepname { padding-top: 14px; }
  .steps > div > ul { padding-top: 6px; }
  .steps > div > .price { padding: 8px 0 15px; border-bottom: 1px solid var(--card-line); }
  .steps > div:last-child > .price { border-bottom: 0; }
}
.extras { display: grid; grid-template-columns: 12em minmax(0, 1fr); gap: 4px 0; align-items: baseline; }
.extras h3 { font-size: 18px; }
.extras ul { display: flex; flex-wrap: wrap; gap: 4px 26px; padding: 0; list-style: none; font-size: 16px; }
.extras li::before { content: "+ "; color: var(--faded); }
@media (max-width: 760px) { .extras { grid-template-columns: minmax(0, 1fr); } }

/* samples */
.excerpts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 22px; }
.excerpt { margin: 0; }
.excerpt .zoom { display: block; width: 100%; padding: 0; border: 1px solid var(--record-edge); background: var(--paper-2); cursor: zoom-in;
                 box-shadow: 0 1px 2px var(--shadow-near), 0 6px 16px -6px var(--shadow-far); }
.excerpt .zoom:hover { box-shadow: 0 0 0 1px var(--faded), 0 6px 16px -6px var(--shadow-far); }
.excerpt figcaption { font-size: 14px; line-height: 21px; color: var(--muted); margin-top: 8px; }
.excerpt figcaption strong { font-weight: 500; color: var(--ink); }
@media (max-width: 820px) { .excerpts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; } }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1000px); max-height: 94vh; }
dialog.lightbox::backdrop { background: color-mix(in srgb, var(--desk) 94%, transparent); }
dialog.lightbox img { max-height: 90vh; width: auto; margin: 0 auto; background: var(--paper-2); padding: 10px; box-sizing: border-box;
  box-shadow: 0 1px 2px var(--shadow-near), 0 14px 36px var(--shadow-far); border: 1px solid var(--sheet-edge); }
dialog.lightbox .close { position: fixed; top: 12px; right: 12px; background: var(--paper); color: var(--ink); border: 1px solid var(--sheet-edge); border-radius: 50%;
                         width: 44px; height: 44px; font: 26px/1 var(--body); cursor: pointer; }

/* FAQ */
.faq details { border-top: 1px solid var(--card-line); }
.faq details:first-child { border-top: 0; }
.faq summary { cursor: pointer; font: var(--head-weight) 18px/28px var(--head); padding: 12px 36px 12px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 11px; font: 400 22px/1 var(--body); color: var(--faded); }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--faded); }
.faq details > div { padding: 0 0 16px; }

/* ==================================================================
   Form slips: the brick-wall check and the request
   ================================================================== */
.slip { background: var(--slip); max-width: 820px; }
.form { border-top: 1px solid var(--card-line); padding-top: 18px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; align-items: end; }
.full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend { font: var(--label); letter-spacing: .14em; text-transform: lowercase; font-variant-caps: small-caps; color: var(--muted); line-height: 22px; padding: 0; }
.field .opt { text-transform: none; font-variant-caps: normal; letter-spacing: 0; font: italic 13.5px/22px var(--body); }
.field input[type=text], .field input[type=email], .field input[type=number], .field select {
  width: 100%; min-width: 0; font: 17px/26px var(--body); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--field-line);
  padding: 4px 2px; border-radius: 0; }
.field select { padding-right: 18px; cursor: pointer; }
.field textarea { width: 100%; min-height: 110px; resize: vertical; font: 17px/26px var(--body); color: var(--ink); border: 1px solid var(--field-line); background: var(--paper-2); padding: 6px 10px; border-radius: 0; margin-top: 4px; }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--faded); box-shadow: 0 2px 0 -0.5px var(--faded); }
.field textarea:focus { box-shadow: 0 0 0 1px var(--faded); }
.field [aria-invalid="true"] { border-color: var(--ink); border-bottom-width: 2px; }
::placeholder { color: var(--muted); opacity: .8; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; margin-top: 6px; }
.checks label, .consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 10px; align-items: start; font-size: 15.5px; line-height: 23px; cursor: pointer; }
.checks input, .consent input { accent-color: var(--seal); width: 18px; height: 18px; margin: 3px 0 0; }
.consent a { line-height: inherit; }
.form-foot { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 22px; }
.err { font-weight: 500; color: var(--ink); margin-top: 14px; padding-left: 26px; position: relative; }
.err::before { content: "!"; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: var(--paper);
               font: 600 13px/18px var(--body); text-align: center; }
.attached { font-size: 15px; font-style: italic; color: var(--faded); margin-bottom: 14px; padding-left: 12px; border-left: 3px double var(--faded); }
@media (max-width: 640px) { .fields, .checks { grid-template-columns: minmax(0, 1fr); } }

/* the first hint after the check: the level is marked by shape, not colour */
.result { margin-top: var(--between); border: 1px solid var(--record-edge); border-top: 3px double var(--faded); background: var(--paper-2); padding: 16px 20px 20px; }
.result .level { display: inline-flex; align-items: center; gap: 10px; font: var(--label); letter-spacing: .14em; text-transform: lowercase; font-variant-caps: small-caps; color: var(--seal); }
.result .level::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--seal); box-sizing: border-box; }
.result.good .level::before { background: var(--seal); }
.result.maybe .level::before { background: linear-gradient(90deg, var(--seal) 50%, transparent 50%); }
.result h3 { font-size: 22px; line-height: 32px; margin: 2px 0 8px; }
.result ul { padding-left: 1.2em; margin-top: 10px; max-width: var(--measure); }
.result li + li { margin-top: 6px; }
.result .btns { margin-top: 18px; }
.result .sub { font: var(--label); letter-spacing: .14em; text-transform: lowercase; font-variant-caps: small-caps; color: var(--muted); margin-top: 14px; }
.result .sub + ul { margin-top: 2px; }
.result .block { margin-top: 14px; padding-left: 12px; border-left: 3px double var(--faded); max-width: var(--measure); }

.thanks { padding: 8px 0; }
.thanks h3 { font-size: 22px; line-height: 32px; margin-bottom: 8px; }

/* ==================================================================
   The folded map insert (map A), with "Play the journey"
   ================================================================== */
.insert { background: var(--insert); }
.insert::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3; opacity: .55;
                 background:
                   linear-gradient(90deg, transparent calc(50% - 10px), var(--fold-dark) calc(50% - 1px), var(--fold-light) calc(50% + 1px), transparent calc(50% + 12px)),
                   linear-gradient(180deg, transparent calc(50% - 10px), var(--fold-dark) calc(50% - 1px), var(--fold-light) calc(50% + 1px), transparent calc(50% + 12px)); }
.playrow { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; margin: 0 0 14px; }
.play { font: 500 15px/var(--lh) var(--body); color: var(--faded); background: transparent; border: 1px solid var(--faded); padding: 3px 14px 3px 12px; cursor: pointer; }
.play:hover, .play:focus-visible { color: var(--ink); border-color: var(--ink); }
.play::before { content: ""; display: inline-block; width: 0; height: 0; margin-right: 9px; vertical-align: 0;
                border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.play.playing::before { width: 8px; height: 10px; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; vertical-align: -1px; }
.play[disabled] { opacity: .6; cursor: progress; }
.playrow .hint { margin: 0; }
@media (prefers-reduced-motion: reduce) { .playrow { display: none; } }
.mapbox { position: relative; margin: 0 0 10px; aspect-ratio: 1000 / 840; background: var(--map-sheet); }
.mapbox.loaded { aspect-ratio: auto; background: none; }
.mapbox .mapwait { position: absolute; inset: 0; display: grid; place-items: center; font-style: italic; color: var(--muted); font-size: 15px;
                   border: 1px solid var(--record-edge); }
.mapbox .still { width: 100%; height: auto; }
.mapbox .ride { position: absolute; inset: 0; width: 100%; height: 100%; display: none; opacity: 0; z-index: 2;
                clip-path: inset(3.5714% 3% 3.5714% 3%); }
.mapbox.riding .ride { display: block; }
.mapbox.phone .ride { clip-path: none; }
.mapbox.riding .map .deg { visibility: hidden; }
.caption { font-style: italic; min-height: 44px; max-width: var(--measure); }
.caption.live { color: var(--ink); }
.insert .close { margin-top: var(--in); }
@media (max-width: 600px) { .mapbox:not(.loaded) { aspect-ratio: 555 / 746; } }

/* map A: the survey sheet. Also embedded in the no-script still (assets-src/build-map.mjs). */
/* map:start */
.map { display: block; width: 100%; height: auto; }
.map .sheet { fill: var(--map-sheet); }
.map .sea { fill: var(--map-water); }
.map .land { fill: var(--map-land); }
.map .grat { fill: none; stroke: var(--map-grat); stroke-width: .35; stroke-opacity: .32; }
.map .wash path { fill: none; stroke: var(--map-wash); stroke-opacity: .16; stroke-linecap: round; stroke-linejoin: round; }
.map .hach { fill: none; stroke: var(--map-hach); stroke-width: .5; stroke-opacity: .7; stroke-linecap: round; }
.map .rivers path { fill: none; stroke: var(--map-river); stroke-linecap: round; stroke-linejoin: round; }
.map .lakes path { fill: var(--map-lake); stroke: var(--map-river); stroke-width: .6; }
.map .border { fill: none; stroke: var(--map-border); stroke-width: .85; stroke-dasharray: 5 2 1.2 2; stroke-opacity: .7; }
.map .coast { fill: none; stroke: var(--map-coast); stroke-width: .8; }
.map .t1 circle { fill: var(--map-land); stroke: var(--map-ink); stroke-width: 1.1; }
.map .t1 .dot, .map .t2, .map .t3 { fill: var(--map-ink); stroke: none; }
.map text { font-family: "IM Fell English", Georgia, serif; }
.map .town { font-family: "Cormorant SC", Georgia, serif; font-weight: 600; fill: var(--map-ink); }
.map .town.r1 { font-size: 16px; letter-spacing: .05em; }
.map .town.r2 { font-size: 13.5px; }
.map .town.r3 { font-size: 12px; fill: var(--map-ink-2); }
.map text.sea { font-style: italic; font-size: 17px; fill: var(--map-sea-label); }
.map .land0 { font-size: 36px; fill: var(--map-land-label); fill-opacity: .38; }
.map .land1 { font-size: 13px; fill: var(--map-country-label); fill-opacity: .72; }
.map .region { font-style: italic; font-size: 14.5px; fill: var(--map-land-label); fill-opacity: .68; }
.map .range { font-style: italic; font-size: 11.5px; fill: var(--map-range-label); letter-spacing: .1em; }
.map .river { font-family: "Spectral", Georgia, serif; font-style: italic; font-size: 11.5px; fill: var(--map-river-label); }
.map .deg text { font-family: "Spectral", Georgia, serif; font-size: 10px; fill: var(--map-ink-3); }
/* the frame: the checkered degree band is left out; a fine double neat line in the border colour instead */
.map .band { display: none; }
.map .neat { fill: none; stroke: var(--map-border); stroke-width: .7; stroke-opacity: .8; }
.map .neat.outer { stroke-width: 1.1; } .map .neat.thin { stroke-width: .45; stroke-opacity: .6; }
/* the compass rose, quieter */
.map .rose { opacity: .62; }
.map .rose .ring { fill: var(--map-land); fill-opacity: .55; stroke: var(--map-ink-3); stroke-width: .7; }
.map .rose .ring.thin { stroke-width: .45; fill: none; }
.map .rose .tick { stroke: var(--map-ink-3); stroke-width: .45; }
.map .rose .dk { fill: var(--map-ink-3); } .map .rose .lt { fill: var(--map-rose-light); stroke: var(--map-ink-3); stroke-width: .5; }
.map .rose .hub { fill: var(--map-ink-3); } .map .rose .n { font-size: 20px; fill: var(--map-ink-2); }
.map .scale .b { fill: var(--map-ink-2); } .map .scale .w { fill: var(--map-land); stroke: var(--map-ink-2); stroke-width: .6; }
.map .scale text { font-family: "Spectral", Georgia, serif; font-size: 10px; fill: var(--map-ink); }
.map .scale text.cap { font-family: "IM Fell English", Georgia, serif; font-style: italic; font-size: 12px; }
.map .scale .kl { stroke: var(--map-ink); stroke-width: .8; }
.map .cart .box { fill: var(--map-sheet); stroke: var(--map-border); stroke-width: 1; } .map .cart .box.in { fill: none; stroke-width: .5; }
.map .cart .c1 { font-size: 19px; letter-spacing: .18em; fill: var(--map-ink); }
.map .cart .c2 { font-style: italic; font-size: 14px; fill: var(--map-country-label); }
.map .cart .c3 { font-family: "Spectral", Georgia, serif; font-size: 12.5px; fill: var(--map-ink); }
.map .cart .c4 { font-family: "Spectral", Georgia, serif; font-style: italic; font-size: 10.5px; fill: var(--map-ink-3); }
.map .cart .rule { stroke: var(--map-route); stroke-width: .6; }
.map .lg-thread { stroke: var(--map-seal); stroke-width: 2.4; stroke-linecap: round; }
.map .lg-vil { fill: var(--map-land); stroke: var(--map-seal); stroke-width: 1.5; } .map .lg-vil-dot { fill: var(--map-seal); }
.map .mthread { fill: none; stroke: none; }
.map .stop { opacity: 0; transition: opacity .7s cubic-bezier(.45,.05,.35,1); }
.map .stop.on { opacity: 1; }
.map .port { fill: var(--map-land); stroke: var(--map-ink); stroke-width: 1.4; }
.map .anchor { fill: none; stroke: var(--map-ink); stroke-width: 1.2; stroke-linecap: round; }
.map .note { font-family: "Spectral", Georgia, serif; font-style: italic; font-size: 12.5px; fill: var(--map-ink-2); }
.map .halo { fill: var(--map-seal); fill-opacity: .13; }
.map .vil { fill: var(--map-land); stroke: var(--map-seal); stroke-width: 2; } .map .vil-dot { fill: var(--map-seal); }
.map .vlabel { font-style: italic; font-size: 21px; fill: var(--map-ink); paint-order: stroke; stroke: var(--map-land); stroke-width: 4px; stroke-linejoin: round; }
.map .town, .map .note { paint-order: stroke; stroke: var(--map-land); stroke-width: 2.5px; stroke-linejoin: round; }
.map.phone { outline: 1px solid var(--map-border); outline-offset: -1px; background: var(--map-water); }
.map.phone .hach { stroke-width: .6; }
.map.phone :is(.ph-hide, .cart, .rose, .scalebox, .band, .deg, .neat, .town.r3, .range, .river, .land1) { display: none; }
.map.phone .town.r1 { font-size: 25px; } .map.phone .town.r2 { font-size: 21px; }
.map.phone .land0 { font-size: 52px; } .map.phone .region { font-size: 21px; }
.map.phone text.sea { font-size: 25px; } .map.phone .note { font-size: 19px; }
.map.phone .vlabel { font-size: 32px; stroke-width: 6px; }
/* map:end */

/* the journey layer (camera ride in map A's projection) */
.ride * { vector-effect: non-scaling-stroke; }
.ride .r-sea { fill: var(--map-water); }
.ride .r-land { fill: var(--map-land); }
.ride .r-de { fill: var(--map-de); stroke: var(--map-tint-1); stroke-opacity: .4; stroke-width: 3px; stroke-linejoin: round; }
.ride .r-grat { fill: none; stroke: var(--map-grat); stroke-opacity: .25; stroke-width: .6px; }
.ride .r-rivers path { fill: none; stroke: var(--map-river); stroke-linecap: round; stroke-linejoin: round; }
.ride .r-lakes path { fill: var(--map-lake); stroke: var(--map-river); stroke-width: .7px; }
.ride .r-border { fill: none; stroke: var(--map-border); stroke-width: .9px; stroke-dasharray: 5 2 1.2 2; stroke-opacity: .65; }
.ride .r-coast { fill: none; stroke: var(--map-coast); stroke-width: .9px; }
.ride .r-vdots { fill: none; stroke: var(--map-ink-2); stroke-width: 3px; stroke-linecap: round; stroke-opacity: .55; }
.ride .r-tdot { fill: none; stroke: var(--map-ink); stroke-linecap: round; }
.ride .r-tdot.r1 { stroke-width: 7px; } .ride .r-tdot.r2 { stroke-width: 5px; } .ride .r-tdot.r3 { stroke-width: 4px; }
.ride .r-searoute { fill: none; stroke: var(--map-ink-2); stroke-width: 1.3px; stroke-dasharray: 1 5; stroke-linecap: round; stroke-opacity: .55; }
.ride .r-searoute.drawn { stroke: var(--map-route); stroke-width: 2px; stroke-dasharray: none; stroke-opacity: 1; }
.ride .r-thread { fill: none; stroke: var(--thread); stroke-width: 2.6px; stroke-linecap: round; stroke-linejoin: round; }
.ride .ship path { fill: var(--map-ink); stroke: var(--map-ink); stroke-width: 1.4px; stroke-linejoin: round; }
.ride text { font-family: "IM Fell English", Georgia, serif; paint-order: stroke; stroke: var(--map-land); stroke-width: 3px; stroke-linejoin: round; }
.ride .ocean text, .ride .sea text { font-style: italic; font-size: 17px; letter-spacing: .4em; fill: var(--map-sea-label); stroke: var(--map-water); }
.ride .cont text { font-size: 15px; letter-spacing: .45em; fill: var(--map-ink-3); }
.ride .port text { font-family: "Cormorant SC", Georgia, serif; font-weight: 600; font-size: 17px; fill: var(--map-ink); }
.ride .land0 text { font-size: 30px; letter-spacing: .6em; fill: var(--map-land-label); fill-opacity: .55; stroke: none; }
.ride .land1 text { font-size: 13px; letter-spacing: .3em; fill: var(--map-country-label); stroke: none; }
.ride .town text { font-family: "Cormorant SC", Georgia, serif; font-weight: 600; fill: var(--map-ink); }
.ride .town.r1 text { font-size: 16px; } .ride .town.r2 text { font-size: 14px; } .ride .town.r3 text { font-size: 13px; fill: var(--map-ink-2); }
.ride .region text { font-style: italic; font-size: 17px; letter-spacing: .3em; fill: var(--map-land-label); fill-opacity: .7; stroke: none; }
.ride .bmark circle { fill: var(--map-land); stroke: var(--map-ink); stroke-width: 1.6px; }
.ride .vil { fill: var(--map-land); stroke: var(--map-seal); stroke-width: 2.2px; } .ride .vil-dot { fill: var(--map-seal); stroke: none; }
.ride .vlabel { font-style: italic; font-size: 22px; fill: var(--map-ink); stroke-width: 5px; }
@media (max-width: 600px) { .ride :is(.cont, .land1) { display: none; } }

/* ==================================================================
   The red thread: one stitched path over the whole desk
   ================================================================== */
#thread { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; z-index: 5; filter: drop-shadow(0 1px .6px var(--thread-shadow)); }
#revealPath { stroke: var(--mask-on); }
#thread .line { fill: none; stroke: var(--thread); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 9 6; }
#thread .cap { font: italic 13px var(--body); fill: var(--thread-label); letter-spacing: .02em; }
#thread .knot > g { opacity: 0; transform: scale(.6); transition: opacity .6s cubic-bezier(.45,.05,.35,1), transform .6s cubic-bezier(.45,.05,.35,1); }
#thread .knot.on > g { opacity: 1; transform: scale(1); }
#thread .knot circle { fill: var(--thread); }
#thread .knot path { fill: none; stroke: var(--thread); stroke-width: 1.4; stroke-linecap: round; }
#thread .onmap { transition: opacity .5s; }
.desk.riding #thread .onmap { opacity: 0; transition: none; }

footer.foot { padding: calc(var(--lh) * 1.5) var(--pad-r) 0 calc(var(--margin) + var(--gutter)); font-size: 14px; line-height: 22px; color: var(--muted); }
footer.foot p { max-width: none; }
footer.foot p + p { margin-top: 6px; }
footer.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 10px; }
footer.foot a { color: var(--muted); }
footer.foot a:hover { color: var(--ink); }

/* phone */
@media (max-width: 600px) {
  body { font-size: 16px; }
  h2 { line-height: 34px; }
  .num { font-size: 16px; right: calc(100% + var(--gutter) + 9px); }
  .logo svg { height: 38px; }
  .letterhead { padding-top: 6px; padding-bottom: 12px; gap: 0 16px; }
  .letterhead nav { font-size: 14.5px; gap: 0 16px; }
  .letterhead nav .btn { padding: 3px 12px; font-size: 13.5px; line-height: 24px; }
  table { font-size: 14px; }
  .record { padding: 0 10px; }
  .record th, .record td { padding: 0 4px; }
  th { letter-spacing: .08em; font-size: 10.5px; }
  .hand .new, .hand .gls { font-size: 17px; }
  .btns .btn { flex: 1 1 auto; }
  .mapbox { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--pad-r) + 8px); }
  .quotes li { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .hand, .hand .lens, .map .stop, #thread .knot > g, #thread .onmap { transition: none !important; }
}

/* how it works: three columns need the wide sheet (owner review 12.11.) */
#how { max-width: 1180px; }
#how .how p, #how .how h3 { max-width: none; }

/* historic pictures as prints laid on the sheet (12.11.): a paper mat, a hairline edge, a small credit */
.print { margin: 0; background: var(--paper-2); padding: 8px 8px 0; border: 1px solid var(--record-edge); box-shadow: 0 6px 16px -10px var(--shadow-far); }
.print img { display: block; width: 100%; height: auto; border: 0; }
.print figcaption { font-size: 12.5px; line-height: 18px; color: var(--muted); padding: 7px 2px 9px; }
.storyphoto.print { margin: 0 0 var(--lh); }
.turnhead .print { margin-top: 18px; max-width: 360px; }
#home .print.aside { margin: 18px 0 0; max-width: 420px; }
@media (min-width: 980px) {
  #home .grp:first-child { position: relative; }
  #home .print.aside { position: absolute; right: 0; top: 4px; width: 34%; max-width: 360px; margin: 0; rotate: .6deg; }
  #home .grp:first-child { min-height: 300px; }
  #home .grp:first-child > p, #home .grp:first-child > h2 { max-width: 58%; }
}

/* picture credits: a small index number on the print, the credits collected in the footer (owner review 12.11.) */
.print { position: relative; padding-bottom: 8px; }
.picref { position: absolute; right: 13px; bottom: 13px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  font: 500 11px/18px var(--body); text-align: center; text-decoration: none; color: var(--ink); background: rgba(252, 251, 248, .82); }
.picref:hover, .picref:focus-visible { background: var(--paper-2); outline: 1px solid var(--faded); }
footer.foot .credits { font-size: 12.5px; line-height: 19px; }
footer.foot .credits b { font-weight: 500; color: var(--ink); }

/* Capacity notice in the request form (shown only when /api/status reports waitWeeks > 0) */
.capacity { margin-top: var(--in); padding: 10px 14px; border-left: 3px solid var(--seal); background: color-mix(in srgb, var(--seal) 8%, transparent); color: var(--ink); font-size: 15px; line-height: 22px; }

/* ---------- confidence circles (DESIGN.md §13), project-wide ----------
   <span class="conf" data-c="most"><i class="cf"></i>very likely</span>  –  data-c: full | most | half | quarter | open
   Fill 100 / 85 / 65 / 35 / 0 %, clockwise from 12 o'clock – the same as the client reports (business/muster/demo-01/stil.typ).
   Rule: a .confkey line comes before the first circle on a page. */
.cf { display: inline-block; width: .78em; height: .78em; border-radius: 50%; box-sizing: border-box; vertical-align: -.06em;
      border: 1.3px solid var(--seal); background: conic-gradient(var(--seal) 0 var(--p, 0%), transparent var(--p, 0%) 100%); }
[data-c="full"] > .cf, .cf[data-c="full"] { --p: 100%; } [data-c="most"] > .cf, .cf[data-c="most"] { --p: 85%; }
[data-c="half"] > .cf, .cf[data-c="half"] { --p: 65%; } [data-c="quarter"] > .cf, .cf[data-c="quarter"] { --p: 35%; }
[data-c="open"] > .cf, .cf[data-c="open"] { --p: 0%; }
.conf { white-space: nowrap; font: var(--label); letter-spacing: .06em; text-transform: lowercase; font-variant-caps: small-caps; color: var(--seal); }
.conf .cf { margin-right: .35em; }
.confkey { font-size: 14px; line-height: 22px; color: var(--muted); max-width: none; }
.confkey .conf { margin-left: .7em; }

/* ---------- explainer box (as in the reports and the chronicle book): one word or idea in two or three lines ---------- */
.explain { background: var(--slip); border-left: 3px solid var(--seal); padding: 10px 14px 12px; max-width: 420px; font-size: 15px; line-height: 23px; }
.explain .lbl { font: var(--label); letter-spacing: .12em; text-transform: lowercase; font-variant-caps: small-caps; color: var(--muted); margin: 0 0 2px; }
.explain p { margin: 0; max-width: none; }
.explains { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--in); }
.explains .explain { flex: 1 1 260px; }

/* ---------- peek bar (16.11.2026): appears when the reader scrolls UP past the first sheet, hides while reading down.
   Paper strip with a hairline, not a dark app bar. On phones only the button, as a small tab at the top right. ---------- */
.peekbar { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; gap: 22px;
  padding: 8px max(16px, calc((100vw - 1100px) / 2)); background: color-mix(in srgb, var(--paper) 96%, transparent);
  border-bottom: 1px solid var(--sheet-edge); box-shadow: 0 6px 18px var(--shadow-far);
  transform: translateY(-110%); transition: transform .25s ease; font-size: 15px; }
.peekbar.on { transform: none; }
.peekbar .pk-name { font: 500 17px/1 var(--display, var(--body)); letter-spacing: .14em; text-transform: lowercase; font-variant-caps: small-caps; color: var(--ink); text-decoration: none; }
.peekbar .pk-links { display: flex; gap: 20px; margin-left: auto; }
.peekbar .pk-links a { color: var(--ink); text-decoration: none; }
.peekbar .pk-links a:hover { color: var(--faded); text-decoration: underline; }
.peekbar .btn { padding-top: 6px; padding-bottom: 6px; }
.peekbar .pk-short { display: none; }
@media (max-width: 640px) {
  .peekbar { padding: 6px 12px; gap: 12px; font-size: 14px; }
  .peekbar .pk-name { display: none; }
  .peekbar .pk-links { margin-left: 0; gap: 14px; }
  .peekbar .btn { margin-left: auto; padding: 4px 12px; font-size: 13.5px; white-space: nowrap; }
  .peekbar .pk-long { display: none; } .peekbar .pk-short { display: inline; }
}
@media (max-width: 360px) { .peekbar .pk-links a:nth-child(2) { display: none; } }
@media (prefers-reduced-motion: reduce) { .peekbar { transition: none; } }

/* ---------- homepage review 16.11.2026 ---------- */
/* brick-wall check: four questions visible, the rest in a fold-out */
.form details.more { margin-top: 22px; border-top: 1px solid var(--card-line); border-bottom: 1px solid var(--card-line); }
.form details.more > summary { cursor: pointer; list-style: none; position: relative; padding: 12px 32px 12px 0; font: var(--head-weight, 500) 17px/26px var(--head, var(--body)); }
.form details.more > summary::-webkit-details-marker { display: none; }
.form details.more > summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font: 400 22px/1 var(--body); color: var(--faded); }
.form details.more[open] > summary::after { content: "–"; }
.form details.more > summary .opt { color: var(--muted); font-size: 14px; }
.form details.more > .fields { padding: 4px 0 20px; }
/* samples grouped by document: one page | three pages */
.excerpts.grouped { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 26px 28px; }
.exg { min-width: 0; }
.exlbl { font: var(--label); letter-spacing: .12em; text-transform: lowercase; font-variant-caps: small-caps; color: var(--ink); margin: 0 0 8px; border-bottom: 1px solid var(--card-line); }
.exlbl span { color: var(--muted); }
.exrow { display: grid; gap: 22px; }
.exrow.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .excerpts.grouped { grid-template-columns: minmax(0, 1fr); } .exrow.one { max-width: 50%; } }
/* samples sheet: the two case stories as small cards, then the guides (16.11.2026) */
.tales { margin-top: var(--between); }
.tales > .exlbl { max-width: none; }
.talerow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.tale { position: relative; background: var(--card); border: 1px solid var(--card-line); padding: 8px 8px 14px; }
.talepic { position: relative; aspect-ratio: 4 / 1; overflow: hidden; background: var(--paper-2); border: 1px solid var(--record-edge); }
.talepic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.talepic .picref { right: 5px; bottom: 5px; z-index: 2; }
.tale h3 { margin: 12px 6px 4px; font-size: 18px; line-height: 26px; }
.tale h3 a { color: var(--ink); text-decoration: none; }
.tale h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tale:hover h3 a, .tale h3 a:focus-visible { color: var(--faded); text-decoration: underline; }
.tale:hover { box-shadow: 0 0 0 1px var(--faded), 0 6px 16px -6px var(--shadow-far); }
.tale p { margin: 0 6px; font-size: 15px; line-height: 23px; color: var(--muted); max-width: none; }
.guides { margin-top: var(--in); font-size: 15px; max-width: none; }
.guides .exlbl { display: inline; border: 0; margin-right: .6em; }
@media (max-width: 560px) { .talerow { grid-template-columns: minmax(0, 1fr); } }
/* five menu items since 16.11.2026: on narrow phones the four links keep to one line beside nothing else (button hidden under 600) */
@media (max-width: 400px) { .letterhead nav { font-size: 14px; gap: 0 12px; } }
/* how it works: a quiet link under each step */
.how .go { margin-top: 8px; font-size: 14.5px; }
#read .confkey { margin-top: var(--in); }
.giftline { grid-column: 1 / -1; max-width: none; margin-top: var(--in); padding-top: 10px; border-top: 1px solid var(--card-line); font-size: 15.5px; }

/* brick-wall check result (16.11.2026): gauge + clues like the sample case review, details folded */
.result .res-top { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 22px; align-items: center; }
.result .res-top p { margin: 0; max-width: var(--measure); }
.gauge { width: 150px; height: auto; display: block; }
.gauge .seg { fill: color-mix(in srgb, var(--seal) 16%, transparent); }
.gauge .seg.on { fill: var(--seal); }
.gauge .needle { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.gauge .hub { fill: var(--ink); }
.gauge .lbl { font: 9px var(--body); letter-spacing: .08em; text-transform: lowercase; font-variant-caps: small-caps; fill: var(--muted); }
.gauge .lbl.on { fill: var(--ink); font-weight: 600; }
.result .clues { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; max-width: none; }
.result .clues li { margin: 0; padding: 3px 10px 3px 8px; border: 1px solid var(--card-line); border-radius: 14px; background: var(--paper); font-size: 14.5px; line-height: 20px; display: inline-flex; align-items: center; gap: 6px; }
.result .clues li.gap { border-color: color-mix(in srgb, var(--thread) 45%, transparent); color: var(--thread-label); }
.result .clues i, .result .clues-key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; box-sizing: border-box; border: 1.5px solid var(--seal); }
.result .strong i { background: var(--seal); }
.result .some i { background: conic-gradient(var(--seal) 0 65%, transparent 65% 100%); }
.result .gap i { border-color: var(--thread); background: none; }
.result .clues-key { margin-top: 6px; } .result .clues-key span { margin-right: 12px; display: inline-flex; align-items: center; gap: 5px; }
.result details.more { margin-top: 14px; border-top: 1px solid var(--card-line); border-bottom: 1px solid var(--card-line); }
.result details.more > summary { cursor: pointer; list-style: none; position: relative; padding: 10px 30px 10px 0; font-size: 16px; }
.result details.more > summary::-webkit-details-marker { display: none; }
.result details.more > summary::after { content: "+"; position: absolute; right: 4px; top: 8px; font-size: 20px; color: var(--faded); }
.result details.more[open] > summary::after { content: "–"; }
.result details.more > div { padding-bottom: 12px; }
@media (max-width: 560px) { .result .res-top { grid-template-columns: minmax(0, 1fr); } .gauge { width: 130px; } }

/* step 2: what goes along from the brick-wall check (16.11.2026) */
.bwsum { margin-bottom: 16px; padding: 10px 14px 12px; border: 1px solid var(--card-line); border-left: 3px solid var(--seal); background: var(--paper-2); }
.bwsum p { margin: 0; max-width: none; }
.bwsum .bwsum-h { font: var(--label); letter-spacing: .12em; text-transform: lowercase; font-variant-caps: small-caps; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.bwsum .bwsum-h a { font: 14px/var(--lh) var(--body); letter-spacing: 0; text-transform: none; font-variant-caps: normal; }
.bwsum .bwsum-facts { font-size: 15px; line-height: 22px; }
.bwsum .clues { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.bwsum .clues li { margin: 0; padding: 2px 9px 2px 7px; border: 1px solid var(--card-line); border-radius: 14px; background: var(--paper); font-size: 13.5px; line-height: 19px; display: inline-flex; align-items: center; gap: 5px; }
.bwsum .clues li.gap { border-color: color-mix(in srgb, var(--thread) 45%, transparent); color: var(--thread-label); }
.bwsum .clues i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; box-sizing: border-box; border: 1.5px solid var(--seal); }
.bwsum .strong i { background: var(--seal); }
.bwsum .some i { background: conic-gradient(var(--seal) 0 65%, transparent 65% 100%); }
.bwsum .gap i { border-color: var(--thread); background: none; }
.bwsum.empty { border-left-style: dashed; font-size: 15px; font-style: italic; color: var(--faded); }

/* ---------- examples as archive folders (16.11.2026; brand/nav-compare.html idea 2) ---------- */
.folders { --f-front: color-mix(in srgb, var(--desk) 22%, var(--paper)); --f-back: color-mix(in srgb, var(--desk) 48%, var(--paper));
           position: relative; margin-top: var(--in); max-width: 900px; }
.ftabs { position: relative; z-index: 3; display: flex; gap: 6px; padding-left: 10px; }
.ftabs[hidden] { display: none; }
.ftab { position: relative; font: var(--label); font-size: 14px; letter-spacing: .1em; text-transform: lowercase; font-variant-caps: small-caps; color: var(--muted);
        background: var(--f-back); border: 1px solid var(--card-line); border-bottom: 0; border-radius: 7px 7px 0 0; padding: 7px 18px 8px; min-height: 40px;
        cursor: pointer; translate: 0 5px; transition: translate .2s cubic-bezier(.45,.05,.35,1), background-color .2s; }
.ftab:hover { color: var(--ink); translate: 0 2px; }
.ftab[aria-selected="true"] { color: var(--ink); background: var(--f-front); translate: 0 1px; z-index: 2; }
.ftab:focus-visible { outline: 2px solid var(--faded); outline-offset: 2px; }
.fstack { position: relative; }
.folders.js .fstack::before, .folders.js .fstack::after { content: ""; position: absolute; left: 6px; right: -6px; top: -4px; bottom: 6px; background: var(--f-back);
                                   border: 1px solid var(--card-line); z-index: 0; }
.folders.js .fstack::after { left: 12px; right: -12px; top: -8px; bottom: 12px; z-index: -1; }
.fpanel { position: relative; z-index: 1; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 22px 28px; align-items: start;
          background: var(--f-front); border: 1px solid var(--card-line); padding: 20px 22px 22px;
          box-shadow: 0 1px 2px var(--shadow-near), 0 10px 22px -12px var(--shadow-far); }
.folders:not(.js) .fpanel + .fpanel { margin-top: 14px; }
.fpanel[hidden] { display: none; }
.fpanel:focus-visible { outline: 2px solid var(--faded); outline-offset: 3px; }
.fpanel.in { animation: fin .28s cubic-bezier(.45,.05,.35,1); }
@keyframes fin { from { transform: translateY(12px); opacity: .35; } }
.fthumb { position: relative; margin: 0; background: var(--paper-2); padding: 7px; border: 1px solid var(--record-edge); box-shadow: 0 6px 16px -10px var(--shadow-far); rotate: -.6deg; }
.fthumb .zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.fthumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--focus, 50% 0%); }
.fthumb.fpages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.fthumb.fpages img { aspect-ratio: 1200 / 1698; object-fit: contain; }
.fthumb .picref { right: 11px; bottom: 11px; }
.ftext .exlbl { border: 0; margin: 0 0 2px; color: var(--muted); }
.ftext h3 { font-size: 21px; line-height: 30px; }
.ftext p { font-size: 16px; line-height: 25px; margin-top: 6px; }
.ftext .go { margin-top: 12px; font-size: 15px; }
@media (max-width: 560px) {
  .ftabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding-left: 0; }
  .ftab { padding: 6px 8px 7px; font-size: 13px; letter-spacing: .06em; text-align: left; line-height: 18px; }
  .ftab:nth-child(-n+2) { translate: 0 2px; } .ftab:nth-child(-n+2)[aria-selected="true"] { translate: 0 1px; }
  .fpanel { grid-template-columns: minmax(0, 1fr); padding: 14px 14px 18px; }
  .fthumb { rotate: 0deg; } .fthumb:not(.fpages) img { aspect-ratio: 16 / 9; }
  .folders.js .fstack::before { left: 4px; right: -4px; } .folders.js .fstack::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ftab { transition: none; } .fpanel.in { animation: none; } }
.fpanel#fp2 { grid-template-columns: 380px minmax(0, 1fr); }
@media (max-width: 760px) { .fpanel#fp2 { grid-template-columns: minmax(0, 1fr); } }
.fields > .field[hidden] { display: none; }
/* footer links: own line height (the global inline rule sets it to 0, which made wrapped links overlap on phones) */
footer.foot nav a { display: inline-block; line-height: 22px; }

/* ---------- guides (16.11.2026): guide cards (homepage #samples, /guides) and the "Read next" box at the end of each guide ---------- */
.talerow.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.talerow.three .talepic { aspect-ratio: 5 / 2; }
@media (max-width: 820px) { .talerow.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .talerow.three { grid-template-columns: minmax(0, 1fr); } }
.tale p.more { position: relative; z-index: 2; margin-top: 6px; font-size: 14.5px; }
.allguides { margin-top: var(--in); font-size: 15px; max-width: none; }
.readnext { margin-top: var(--between); padding: 10px 16px 12px; border: 1px solid var(--card-line); border-left: 3px solid var(--seal); background: var(--paper-2); max-width: var(--measure); }
.readnext .rn-h { margin: 0; font: var(--label); letter-spacing: .12em; text-transform: lowercase; font-variant-caps: small-caps; color: var(--muted); }
.readnext ul { list-style: none; padding: 0; margin: 4px 0 0; }
.readnext li { margin: 0; max-width: none; font-size: 15.5px; line-height: 24px; }
.readnext li + li { margin-top: 4px; }
.readnext li span { color: var(--muted); }
.readnext .rn-all { margin: 8px 0 0; font-size: 15px; line-height: 22px; }
.confkey br + .conf { margin-left: 0; }
