/* base.css: reset, layout, preview banner, placeholders, frames. Theme lives in tokens.css.
   Every colour here is a token, so light and dark themes both work by editing tokens.css only.
   Optional components (use what the client needs): .scheme-bar (preview colour schemes), .reviews, .hero-flank, .lockup, .script, .ornament, .strip, .booker,
   .cards, .ledger, .menu-list, .inline-list, .frame-line, .media-note, .proof-empty, .hero-bleed, .wordmark.logo, .occasions,
   .checklist, .mail-preview. Optional tokens: --h-case/--h-tracking (h1, h2), --label-case/--label-tracking (buttons, nav), --nav-size, --logo-h,
   --script-size (default --step-2), --menu-col (default 11rem). */

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--banner-h) + 1rem); color-scheme: var(--page-scheme, normal); }
body { margin: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

/* Smooth scrolling only once the visitor has tapped or pressed a key (main.js adds .smooth-scroll), so a
   refresh restores the scroll position instantly. With it on from the start, iPhone Safari animated the
   restore and the jump to a #section on reload (Petar: the page scrolled up and down on refresh, 2026-11-23). */
@media (prefers-reduced-motion: no-preference) {
  html.smooth-scroll { scroll-behavior: smooth; }
}

/* Base type */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  padding-top: var(--banner-h);
  overflow-x: clip;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--heading);
}
h1, h2 { text-transform: var(--h-case, none); letter-spacing: var(--h-tracking, -0.01em); }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; }
p { max-width: var(--measure); text-wrap: pretty; }
p + p { margin-top: 0.9em; }
.h-small { font-size: var(--step-1); }
.lede { font-size: var(--step-1); line-height: 1.45; color: var(--muted); }
.small { font-size: var(--step--1); color: var(--muted); }

:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.on-ink :focus-visible { outline-color: var(--accent-on-ink); }

.skip {
  position: absolute; left: var(--gutter); top: calc(var(--banner-h) + 8px);
  transform: translateY(calc(-100% - var(--banner-h) - 16px)); /* fully off screen, whatever the banner height */
  background: var(--ink); color: var(--on-ink); padding: 0.6rem 1rem; z-index: 60;
}
.skip:focus { transform: none; }

/* Layout */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section-head { display: grid; gap: 0.75rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 40rem; }
.section.continues { padding-top: 0; } /* same colour as the section before: read as one block */
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
/* Contrast band: an inverted section on light themes, a raised one on dark themes (see --band). */
.on-ink {
  background: var(--band); color: var(--on-band);
  --btn-bg: var(--band-btn-bg); --btn-ink: var(--band-btn-ink); --btn-quiet-line: var(--on-band);
  /* Components inside a band use the band's text colours (matters when the band is an inversion) */
  --heading: var(--on-band-heading, var(--on-band));
  --muted: color-mix(in srgb, var(--on-band) 72%, var(--band));
  --line: color-mix(in srgb, var(--on-band) 20%, var(--band));
  --accent-ink: var(--accent-on-ink);
}
.on-ink h1, .on-ink h2, .on-ink h3 { color: var(--on-band-heading, var(--on-band)); }
.on-ink .lede, .on-ink .small { color: color-mix(in srgb, var(--on-band) 72%, var(--band)); }

/* Preview banner: always visible, never mistaken for the live site */
.preview-banner {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--banner-h);
  display: flex; align-items: center; justify-content: center;
  padding-inline: var(--gutter);
  background: var(--accent); color: #1a1408;
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.preview-banner > span { overflow: hidden; text-overflow: ellipsis; }
.preview-banner a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.preview-banner a:hover { text-decoration-thickness: 2px; }
/* Phones: two lines, so "not the live site" is never cut off (tokens.css gives --banner-h room for it) */
@media (max-width: 599px) {
  .preview-banner { flex-direction: column; font-size: 0.72rem; line-height: 1.25; }
  .preview-banner > span { max-width: 100%; }
  .preview-banner .sep { display: none; }
}

/* Preview colour-scheme switcher (built by main.js on pages with <meta name="preview-schemes">). Preview-only chrome. */
.scheme-bar {
  position: fixed; right: var(--gutter); bottom: calc(5rem + env(safe-area-inset-bottom)); z-index: 46;
  display: grid; justify-items: end; gap: 0.5rem; font-family: var(--font-body); font-size: 0.85rem;
}
@media (min-width: 768px) { .scheme-bar { bottom: 1.25rem; } }
@media (max-width: 767px) { /* phones: a slim tab on the right edge, in the page margin, so it never covers a control */
  .scheme-bar { right: 0; bottom: auto; top: 50%; transform: translateY(-50%); }
  .scheme-toggle { width: 28px; min-height: 48px; padding: 0; justify-content: center; border-right: 0; border-radius: var(--radius) 0 0 var(--radius); }
  .scheme-toggle .scheme-swatch { width: 1rem; height: 1rem; }
  .scheme-toggle .scheme-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .scheme-panel { margin-right: 8px; }
}
.scheme-toggle, .scheme-option {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; padding: 0 0.9rem;
  background: var(--surface); color: var(--ink); border: 1px solid var(--accent); border-radius: var(--radius); cursor: pointer; font-weight: 600;
}
.scheme-toggle { box-shadow: 0 6px 20px rgb(0 0 0 / 0.35); }
.scheme-panel { display: grid; gap: 0.4rem; padding: 0.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgb(0 0 0 / 0.35); }
.scheme-panel[hidden] { display: none; }
.scheme-title, .scheme-note { margin: 0; font-size: 0.75rem; color: var(--muted); }
.scheme-option { border-color: var(--line); justify-content: flex-start; }
.scheme-option[aria-pressed="true"] { border-color: var(--accent); }
.scheme-swatch {
  width: 1.4rem; height: 1.4rem; flex: none; border: 1px solid var(--line); border-radius: calc(var(--radius) / 2);
  background: linear-gradient(135deg, var(--bg) 0 55%, var(--accent) 55% 100%);
}

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; }
.wordmark {
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: 1.35rem; line-height: 1.1; text-decoration: none; margin-right: auto;
  color: var(--heading);
}
.nav-toggle {
  min-width: 44px; min-height: 44px; padding: 0 0.9rem;
  background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.site-nav { display: none; }
.site-nav ul { display: flex; flex-direction: column; gap: 0; padding: 0; margin: 0; list-style: none; }
.site-nav a {
  display: flex; align-items: center; min-height: 44px; padding-inline: 0.25rem;
  text-decoration: none; text-underline-offset: 0.3em;
  text-transform: var(--label-case, none); letter-spacing: var(--label-tracking, normal); font-size: var(--nav-size, inherit);
}
/* Hover and current page are shown by colour, never by an underline */
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent-ink); }
.site-header .header-call { display: none; }

.site-header.is-open .site-nav {
  display: block; position: absolute; left: 0; right: 0; top: calc(var(--banner-h) + 4.5rem);
  background: var(--bg); border-bottom: 1px solid var(--line); padding: 0.5rem var(--gutter) 1rem; z-index: 40;
}
.site-header.is-open .site-nav li + li { border-top: 1px solid var(--line); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; }
  .site-nav ul { flex-direction: row; gap: 1.5rem; }
  .site-header .header-call { display: inline-flex; }
}

/* Logo-centre header (optional): the logo between two link lists. The nav holds both lists, so the phone menu is
   unchanged; the right list can end in a button (li.nav-call > a.btn) in place of .header-call. */
.site-header.logo-centre .site-nav ul + ul > li:first-child { border-top: 1px solid var(--line); }
.site-nav .nav-call { padding-block: 0.75rem 0.25rem; }
.site-nav a.btn { padding-inline: 1.4rem; color: var(--btn-ink); white-space: nowrap; }
.site-nav a.btn:hover, .site-nav a.btn[aria-current="page"] { color: var(--btn-ink); }
@media (min-width: 900px) {
  .site-header.logo-centre .wrap { display: grid; grid-template-columns: 1fr auto 1fr; column-gap: clamp(1rem, 4vw - 1.5rem, 2.5rem); }
  .site-header.logo-centre .wordmark { grid-column: 2; grid-row: 1; margin: 0; position: relative; z-index: 1; }
  .site-header.logo-centre .site-nav { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: subgrid; align-items: center; }
  .site-header.logo-centre .site-nav ul { gap: clamp(0.9rem, 3vw - 1.2rem, 2rem); align-items: center; }
  .site-header.logo-centre .site-nav ul:first-child { grid-column: 1; }
  .site-header.logo-centre .site-nav ul:last-child { grid-column: 3; justify-content: flex-end; }
  .site-header.logo-centre .site-nav ul + ul > li:first-child { border-top: 0; }
  .site-nav .nav-call { padding: 0; margin-left: 0.5rem; }
  .site-nav .nav-call .btn { min-height: 44px; padding-inline: clamp(0.9rem, 2vw - 0.6rem, 1.4rem); }
}

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.4rem;
  border: 1px solid var(--btn-bg); border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-ink);
  font-weight: 600; text-decoration: none; cursor: pointer;
  text-transform: var(--label-case, none); letter-spacing: var(--label-tracking, normal);
}
.btn:hover { background: color-mix(in srgb, var(--btn-bg) 85%, var(--btn-ink)); }
.btn-quiet { background: transparent; color: inherit; border-color: var(--btn-quiet-line); }
.btn-quiet:hover { background: color-mix(in srgb, var(--btn-quiet-line) 12%, transparent); }
.text-link { color: var(--accent-ink); font-weight: 600; text-underline-offset: 0.25em; }
.on-ink .text-link { color: var(--accent-on-ink); }

/* Placeholders: visible, deliberate, and listed by check.mjs */
mark.ph, .ph {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: inherit;
  text-decoration: underline dashed var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-inline: 0.1em;
}
.on-ink mark.ph { text-decoration-color: var(--accent-on-ink); }

/* Gold-rule frame: the one decorative device. An offset hairline behind media. */
.frame { position: relative; isolation: isolate; margin: 0 var(--frame-offset) var(--frame-offset) 0; }
.frame::after {
  content: ""; position: absolute; inset: var(--frame-offset) calc(-1 * var(--frame-offset)) calc(-1 * var(--frame-offset)) var(--frame-offset);
  border: 1px solid var(--accent); z-index: -1; pointer-events: none;
}
.frame > img, .frame > .ph-img { width: 100%; }
/* Tight frame: a hairline flush around the picture, as on a printed flyer */
.frame-line { position: relative; border: 1px solid var(--accent); padding: var(--frame-line-gap, 0); background: var(--bg); }
.frame-line > img { width: 100%; }

/* Cropped media: fixed ratio, picture fills it. No inline styles (the CSP forbids them), so use a class. */
.cover { width: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.cover.r-1 { aspect-ratio: 1; }
.cover.r-5-4 { aspect-ratio: 5 / 4; }
.cover.r-3-2 { aspect-ratio: 3 / 2; }
.cover.r-2-3 { aspect-ratio: 2 / 3; }
.cover.top { object-position: 50% 15%; }
.cover.bottom { object-position: 50% 85%; }
.cover.right { object-position: 78% 50%; }

/* A label over a picture that still needs replacing (AI image, stand-in). Pair it with a .ph mark. */
.media-note {
  position: absolute; left: 0.5rem; bottom: 0.5rem; right: 0.5rem; width: fit-content;
  padding: 0.25rem 0.5rem; background: color-mix(in srgb, var(--bg) 88%, transparent);
  font-family: var(--font-body); font-size: 0.75rem; line-height: 1.35; color: var(--ink);
}

/* Image placeholder: stands in for a photo until the real one exists */
.ph-img {
  display: grid; place-items: end start;
  aspect-ratio: var(--ratio, 4 / 3);
  padding: 1rem;
  background:
    repeating-linear-gradient(135deg, transparent 0 11px, color-mix(in srgb, var(--accent) 22%, transparent) 11px 12px),
    var(--surface);
  color: var(--muted); font-size: var(--step--1); line-height: 1.4;
}
.ph-img span { background: var(--surface); padding: 0.35rem 0.6rem; max-width: 22rem; }

/* Script accent: taglines only, a few per site */
.script > span { display: inline-block; } /* keep phrases whole when a tagline wraps */
.script {
  font-family: var(--font-script); font-weight: 400; font-size: var(--script-size, var(--step-2)); line-height: 1.2;
  letter-spacing: 0; color: var(--accent-ink); max-width: none;
}

/* Ornament rule: a centred hairline with a small diamond, for under a lockup or a heading */
.ornament {
  display: flex; align-items: center; gap: 0.6rem; width: min(100%, 22rem); margin-inline: auto; color: var(--accent);
}
.ornament::before, .ornament::after { content: ""; flex: 1; border-top: 1px solid currentColor; }
.ornament span { width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); }
.ornament.divider { margin-bottom: clamp(3rem, 7vw, 5.5rem); } /* between two same-colour sections (second one .continues) */

/* Brand lockup: set in type (no logo file needed), sized to its container */
.lockup { container-type: inline-size; display: grid; justify-items: center; text-align: center; width: 100%; }
.lockup-pre { font-family: var(--font-script); font-size: clamp(1.8rem, 11cqi, 4.6rem); line-height: 0.8; color: var(--heading); margin-bottom: -0.05em; transform: translateX(-28%); }
.lockup-name {
  font-family: var(--font-display); font-weight: var(--display-weight); text-transform: uppercase;
  font-size: clamp(2.3rem, 15cqi, 7rem); line-height: 0.95; letter-spacing: 0.01em; white-space: nowrap;
  color: var(--heading);
  background: var(--display-fill, none); -webkit-background-clip: text; background-clip: text;
}
.lockup-name.filled { -webkit-text-fill-color: transparent; }
.lockup-sub {
  margin-top: 0.6em; font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: clamp(0.95rem, 4.6cqi, 2rem); letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent-ink);
  padding-left: 0.32em; /* balances the trailing letter-space */
}

/* Hero */
.hero { padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(3rem, 8vw, 6rem); }
.hero .wrap { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.hero-copy { display: grid; gap: 1.5rem; align-content: start; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.hero-media { --ratio: 4 / 5; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 7fr 5fr; align-items: center; }
  .hero-media { margin-bottom: calc(-1 * clamp(4rem, 8vw, 7rem)); }
}

/* Flanked hero: centred copy between two pictures (phones: first picture on top, copy over its foot) */
.hero-flank { padding-block: 0 clamp(3rem, 8vw, 6rem); }
.hero-flank .wrap { display: grid; gap: 0; }
.hero-flank .flank { position: relative; margin-inline: calc(-1 * var(--gutter)); }
.hero-flank .flank img { width: 100%; }
.hero-flank .flank::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-flank .flank-2 { display: none; }
.hero-flank .hero-copy { position: relative; z-index: 1; margin-top: -5.5rem; justify-items: center; text-align: center; gap: 1.25rem; }
.hero-flank .hero-copy p { margin-inline: auto; }
.hero-flank .hero-actions { justify-content: center; }
@media (min-width: 1000px) {
  .hero-flank { padding-top: clamp(2.5rem, 5vw, 4.5rem); }
  .hero-flank .wrap { width: min(100% - 2 * var(--gutter), var(--max-wide, 86rem)); grid-template-columns: 1fr 1.9fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
  .hero-flank .flank { margin-inline: 0; border: 1px solid var(--accent); }
  .hero-flank .flank::after { display: none; }
  .hero-flank .flank-2 { display: block; margin-top: clamp(3rem, 7vw, 6rem); }
  .hero-flank .hero-copy { margin-top: clamp(1.5rem, 3vw, 3rem); }
}

/* Services: rows, not cards */
.service-list { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.service-list li { border-bottom: 1px solid var(--line); }
.service-row {
  display: grid; gap: 0.4rem 2rem; padding-block: 1.5rem;
  text-decoration: none;
}
.service-row h3 { font-size: var(--step-2); }
.service-row p { color: var(--muted); }
.service-row .more { color: var(--accent-ink); font-weight: 600; font-size: var(--step--1); }
a.service-row:hover h3 { color: var(--accent-ink); }
@media (min-width: 768px) {
  .service-row { grid-template-columns: 1fr 1.3fr 8rem; align-items: baseline; }
  .service-row .more { text-align: right; }
}

/* Services as picture cards (a flyer-style grid). Phones: picture beside text; wider: picture on top. */
.cards { list-style: none; padding: 0; display: grid; gap: 2rem; }
.card { display: grid; grid-template-columns: 38% 1fr; gap: 1rem; align-items: start; }
.card-body { display: grid; gap: 0.45rem; align-content: start; }
.card-title {
  font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-1); line-height: 1.15;
  font-variant-caps: all-small-caps; letter-spacing: 0.06em; color: var(--heading);
}
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; } /* whole card is the link */
.card:has(.card-title a) { position: relative; }
.card:has(.card-title a):hover .card-title a { color: var(--accent-ink); }
.card .cover { aspect-ratio: 4 / 5; }
.card-text { color: var(--muted); font-size: var(--step--1); }
.card-more { font-size: var(--step--1); font-weight: 600; color: var(--accent-ink); }
.card-later { font-size: 0.8rem; color: var(--muted); }
.card-later::before { content: ""; display: block; width: 2.5rem; border-top: 1px solid var(--accent); margin-bottom: 0.6rem; }
@media (min-width: 700px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }
  .card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .card .cover { aspect-ratio: 5 / 4; }
  .card > .frame-line { width: 100%; }
  .card-body { justify-items: center; }
  .card-later::before { margin-inline: auto; }
}
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* Photo strip: phones swipe sideways (full-bleed row, snaps per picture); wider screens get a grid */
.strip {
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 0.75rem;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 0.75rem;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
}
.strip > li { scroll-snap-align: start; }
.strip figcaption { margin-top: 0.5rem; font-size: var(--step--1); color: var(--muted); }
@media (min-width: 700px) {
  .strip { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 0; padding: 0; overflow: visible; }
}

/* Booking calendar (demo): type → date → time → details. Built by main.js from [data-booker]; nothing is sent.
   Without JS the plain date field inside .cal stays usable. */
.booker { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.booker-h { /* also used on a <legend>, which doesn't inherit heading styles */
  font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-2); line-height: 1.1;
  color: var(--heading); margin-bottom: 1rem;
}
.booker .demo-fields, .booker [data-only] { display: grid; gap: 1rem; }
.booker .demo-fields > .booker-h { margin-bottom: 0; }
.booker-types { border: 0; padding: 0; margin: 0; display: grid; gap: 0.75rem; min-width: 0; }
.booker-types legend { padding: 0; }
.booker-type {
  position: relative; display: grid; gap: 0.25rem; padding: 1rem 1.1rem 1.1rem 3.1rem; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.booker-type input { position: absolute; left: 1.1rem; top: 1.2rem; width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--accent); }
.booker-type:has(input:checked) { border-color: var(--accent); }
.booker-type:has(input:focus-visible) { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.bt-name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-1); line-height: 1.2; color: var(--heading); }
.bt-meta { font-size: var(--step--1); color: var(--accent-ink); }
.bt-desc { font-size: var(--step--1); color: var(--muted); }
@media (min-width: 700px) { .booker-types { grid-template-columns: 1fr 1fr; } }
.booker-main { display: grid; gap: 2.5rem; }
.booker-side { display: grid; gap: 2.5rem; align-content: start; }
@media (min-width: 900px) { .booker-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; } }

.cal { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 1rem; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.75rem; }
.cal-month { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-1); color: var(--heading); }
.cal-nav {
  min-width: 44px; min-height: 44px; display: grid; place-items: center;
  background: none; border: 1px solid var(--line); border-radius: var(--radius); color: inherit; cursor: pointer; font-size: 1.25rem; line-height: 1;
}
.cal-nav:hover:not(:disabled) { border-color: var(--accent); }
.cal-nav:disabled { opacity: 0.35; cursor: default; }
.cal-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal-grid th { padding-bottom: 0.4rem; font-size: 0.75rem; font-weight: 600; color: var(--muted); text-align: center; }
.cal-grid abbr { text-decoration: none; }
.cal-grid td { padding: 2px; text-align: center; }
.cal-day {
  width: 100%; min-height: 42px; aspect-ratio: 1; display: grid; place-items: center;
  background: none; border: 1px solid transparent; border-radius: var(--radius); color: inherit; cursor: pointer; font-variant-numeric: tabular-nums;
}
.cal-day:hover:not(:disabled) { border-color: var(--accent); }
.cal-day.is-today { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.3em; }
.cal-day:disabled { color: color-mix(in srgb, var(--muted) 50%, transparent); cursor: default; }
.cal-day[aria-pressed="true"] { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-ink); font-weight: 600; }
.cal-note { margin-top: 0.75rem; font-size: var(--step--1); color: var(--muted); }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: 0.5rem; }
.slot { min-height: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: inherit; cursor: pointer; font-weight: 600; }
.slot:hover { border-color: var(--accent); }
.slot[aria-pressed="true"] { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-ink); }
.booker-summary { padding: 0.9rem 1rem; border-left: 2px solid var(--accent); background: var(--surface); max-width: none; }
.booker-summary strong { color: var(--heading); }
.booker-error { color: var(--accent-ink); font-weight: 600; }
.checks { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; min-width: 0; }
.checks legend { padding: 0; margin-bottom: 0.35rem; font-weight: 600; font-size: var(--step--1); }
.check { display: flex; align-items: center; gap: 0.6rem; min-height: 44px; font-size: var(--step--1); cursor: pointer; }
.check input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--accent); flex: none; }

/* Steps: a real sequence, so numbered */
.steps { list-style: none; padding: 0; display: grid; gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 0.5rem; align-content: start; padding-top: 1.25rem; border-top: 1px solid var(--accent); }
.steps li::before {
  content: counter(step); font-family: var(--font-display); font-size: var(--step-3); line-height: 1; color: var(--accent-ink);
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
@media (min-width: 768px) { .steps.two-up { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 4rem; } }

/* Ledger: two sides of an arrangement ("we bring" / "you bring"). Not a sequence, so not numbered. */
.ledger { display: grid; gap: 2.5rem; }
.ledger-side { display: grid; gap: 0; align-content: start; }
.ledger-side > h3 { font-variant-caps: all-small-caps; letter-spacing: 0.08em; color: var(--accent-ink); padding-bottom: 0.75rem; border-bottom: 1px solid var(--accent); }
.on-ink .ledger-side > h3 { color: var(--accent-on-ink); }
.ledger-side dl { display: grid; }
.ledger-side dl > div { display: grid; gap: 0.3rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.ledger-side dt { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-2); line-height: 1.1; color: var(--on-band-heading, var(--heading)); }
.ledger-side dd { color: inherit; opacity: 0.85; max-width: var(--measure); }
@media (min-width: 900px) { .ledger { grid-template-columns: 2fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); } }

/* Proof */
.proof blockquote { display: grid; gap: 1.25rem; max-width: 46rem; }
.proof blockquote p { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.2; max-width: none; }
.proof cite { font-style: normal; color: var(--muted); }
.proof-note { margin-top: 2rem; padding-left: 1rem; border-left: 2px solid var(--accent); }
/* Reviews not chosen yet: an empty frame that says what will go there */
.proof-empty { display: grid; gap: 1rem; padding: clamp(1.5rem, 4vw, 3rem); border: 1px dashed var(--accent); max-width: 46rem; }
.proof-empty > p:first-child { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.25; color: var(--heading); }

/* Real reviews (quoted word for word, with permission/public source). Cards sit in a .strip. */
.review-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.9rem; }
.review-score { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-4); line-height: 1; color: var(--heading); }
.review-stars { color: var(--accent); letter-spacing: 0.12em; font-size: 1.05rem; line-height: 1; max-width: none; }
.review-summary .review-stars { font-size: 1.4rem; }
.review-count { color: var(--muted); }
.review-topics { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.review-topics li { padding: 0.3rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; font-size: var(--step--1); color: var(--muted); }
.review-topics b { color: var(--ink); font-weight: 600; }
.review-feature { margin-block: clamp(2rem, 5vw, 3.5rem); padding-left: clamp(1rem, 3vw, 2rem); border-left: 1px solid var(--accent); display: grid; gap: 0.9rem; max-width: 50rem; }
.review-feature p { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-3); line-height: 1.15; color: var(--heading); max-width: none; }
.review-feature cite { font-style: normal; color: var(--muted); font-size: var(--step--1); }
.review { height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; gap: 0.75rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.review-head { display: flex; align-items: center; gap: 0.75rem; }
.review-avatar {
  width: 2.5rem; height: 2.5rem; flex: none; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--accent); font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.2rem; color: var(--heading);
}
.review-name { font-weight: 600; color: var(--heading); }
.review-meta { font-size: 0.8rem; color: var(--muted); }
.review-text { font-size: var(--step--1); line-height: 1.6; }
.review-text p + p { margin-top: 0.7em; }
.review-text.is-clamped { max-height: calc(1.6em * 8); overflow: hidden; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
.review-more { justify-self: start; padding: 0; min-height: 44px; background: none; border: 0; color: var(--accent-ink); font-weight: 600; font-size: var(--step--1); cursor: pointer; }
.review-more:hover { color: var(--heading); }
.review-tag { font-size: 0.95rem; color: var(--accent-ink); font-variant-caps: all-small-caps; letter-spacing: 0.06em; }
.review-source { margin-top: 1.5rem; font-size: var(--step--1); color: var(--muted); }
.strip.reviews { grid-auto-columns: 85%; align-items: stretch; }
@media (min-width: 700px) { .strip.reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .strip.reviews { grid-template-columns: repeat(3, 1fr); } }

/* Area */
.area-grid { display: grid; gap: 2rem; }
.area-grid .section-head { margin-bottom: 0; }
.towns { list-style: none; padding: 0; columns: 2; column-gap: 2rem; }
.towns li { padding-block: 0.45rem; border-bottom: 1px solid var(--line); break-inside: avoid; }
@media (min-width: 768px) {
  .area-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .towns { columns: 3; }
}

/* About */
.about-grid { display: grid; gap: 2.5rem; }
.about-grid .ph-img { --ratio: 1 / 1; }
.about-grid figcaption { margin-top: 0.6rem; font-size: var(--step--1); color: var(--muted); }
@media (min-width: 768px) { .about-grid { grid-template-columns: 5fr 7fr; align-items: center; gap: 4rem; } }

/* Split feature: picture and copy side by side */
.feature { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 800px) { .feature { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 6vw, 6rem); } }

/* Menu: named items with an optional note */
.prose .menu-list, .menu-list { list-style: none; padding: 0; display: grid; border-top: 1px solid var(--rule); max-width: 40rem; }
.menu-list li { display: grid; gap: 0.15rem; padding-block: 0.9rem; border-bottom: 1px solid var(--line); }
.menu-list b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-2); line-height: 1.1; color: var(--heading); }
.menu-list span { color: var(--muted); font-size: var(--step--1); }
@media (min-width: 600px) { .menu-list li { grid-template-columns: var(--menu-col, 11rem) 1fr; align-items: baseline; gap: 1.5rem; } }

/* Inline list with hairline separators (event types, short facts) */
.inline-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 0; }
.inline-list li { padding-inline: 0.9rem; line-height: 1.3; }
.inline-list li + li { border-left: 1px solid var(--accent); }
@media (max-width: 379px) { /* the footer's three event types fit one line (~330px) down to here; below, a centred
  column without separators (the old 2 × n grid left the third item alone on its own line, 2026-11-23) */
  .inline-list { flex-direction: column; align-items: center; gap: 0.5rem; }
  .inline-list li + li { border-left: 0; }
}

/* Contact */
.contact-grid { display: grid; gap: 3rem; }
.big-tel {
  display: inline-block; font-family: var(--font-display); font-size: var(--step-3);
  line-height: 1.1; text-decoration: none; padding-block: 0.25rem;
}
.big-tel:hover { color: var(--accent-on-ink); }
.big-mail { font-size: var(--step-2); overflow-wrap: anywhere; } /* an email address is longer than a phone number */
.contact-lines { display: grid; gap: 0.25rem; margin-top: 1rem; }
.contact-lines a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-people { list-style: none; padding: 0; display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.contact-people li { display: grid; gap: 0; }
.contact-people .who { font-size: var(--step--1); color: color-mix(in srgb, var(--on-band) 72%, var(--band)); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 6fr; gap: 5rem; } }

/* Demo form: looks real, never submits */
.demo-form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; font-size: var(--step--1); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 0.65rem 0.8rem;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.on-ink .field input, .on-ink .field textarea, .on-ink .field select {
  background: color-mix(in srgb, var(--on-band) 8%, var(--band));
  color: var(--on-band); border-color: color-mix(in srgb, var(--on-band) 30%, var(--band));
  color-scheme: var(--band-scheme, normal);
}
.field textarea { min-height: 7rem; resize: vertical; }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-note { padding: 0.9rem 1rem; border: 1px solid var(--accent-on-ink); }
.form-note[hidden] { display: none; }

/* Footer */
.site-footer { padding-block: 3rem; border-top: 1px solid var(--line); }
.site-footer .wrap { display: grid; gap: 1.5rem; }
.footer-cols { display: grid; gap: 1.5rem; }
.footer-cols ul { list-style: none; padding: 0; }
.footer-cols a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; color: var(--ink); }
.footer-cols a:hover { color: var(--accent-ink); }
.footer-sign .wordmark { margin: 0; }
.footer-sign { display: grid; gap: 1rem; justify-items: center; text-align: center; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) {
  .footer-cols { grid-template-columns: 2fr 1fr 1fr; }
}

/* Service page */
.crumbs { font-size: var(--step--1); color: var(--muted); padding-top: 1.5rem; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.prose { display: grid; gap: 1rem; align-content: start; }
.prose h2 { margin-top: 1.5rem; }
.prose > h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; max-width: var(--measure); }
.prose li + li { margin-top: 0.4rem; }
.prose li::marker { color: var(--accent); }
.price-line { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.2; color: var(--heading); }
.gallery { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.gallery figcaption { font-size: var(--step--1); color: var(--muted); margin-top: 0.5rem; }
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery.four { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 1000px) { .gallery.four { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }

.faq { border-top: 1px solid var(--rule); max-width: 46rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-family: var(--font-body); font-size: var(--step-0); letter-spacing: 0; color: inherit; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  width: 100%; min-height: 56px; padding: 1rem 0;
  background: none; border: 0; text-align: left; cursor: pointer;
  font-weight: 600; font-size: var(--step-0);
}
.faq-q::after { content: "+"; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--accent-ink); }
.faq-q[aria-expanded="true"]::after { content: "\2212"; }
.faq-a { padding-bottom: 1.25rem; color: var(--muted); }
.faq-a[hidden] { display: none; }

.pairs { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pairs a {
  display: flex; justify-content: space-between; align-items: center; min-height: 56px;
  border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--font-display); font-size: var(--step-1);
}
.pairs a:hover { color: var(--accent-ink); }
@media (min-width: 768px) { .pairs { grid-template-columns: repeat(3, 1fr); column-gap: 2rem; } }

.split { display: grid; gap: 3rem; }
@media (min-width: 900px) { .split { grid-template-columns: 7fr 5fr; gap: 5rem; } }

/* Compare page */
.view-switch { display: inline-flex; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.view-switch button {
  min-height: 44px; padding: 0 1.1rem; border: 0; background: none; cursor: pointer; font-weight: 600;
}
.view-switch button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-ink); }
.compare-pair { display: grid; gap: 2rem; margin-top: 2rem; }
.compare-pair figure { display: grid; gap: 0.75rem; align-content: start; }
.compare-pair figcaption { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.compare-pair figcaption strong { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-2); color: var(--heading); }
.shot {
  max-height: 80vh; overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid var(--line); background: var(--surface);
}
.shot img { width: 100%; }
.shots-phone .shot { max-width: 390px; }
@media (min-width: 900px) { .compare-pair { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.serp-pair { display: grid; gap: 2rem; }
@media (min-width: 900px) { .serp-pair { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.serp {
  background: #fff; color: #202124; padding: 1.25rem; border: 1px solid var(--line);
  font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.58;
}
.serp-site { display: flex; gap: 0.6rem; align-items: center; }
.serp-fav { width: 26px; height: 26px; border-radius: 50%; background: #e8eaed; flex: none; }
.serp-site b { display: block; font-weight: 400; font-size: 14px; }
.serp-site span { display: block; font-size: 12px; color: #4d5156; }
.serp-title { display: block; margin-top: 0.45rem; color: #1a0dab; font-size: 20px; line-height: 1.3; }
.serp-desc { color: #474747; margin-top: 0.2rem; max-width: none; }
.serp-desc b { color: #202124; }
.serp-label { margin-bottom: 0.75rem; font-family: var(--font-display); font-size: var(--step-1); color: var(--heading); }

.diffs { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); max-width: 52rem; }
.diffs li { display: grid; gap: 0.25rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.diffs b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--step-1); color: var(--heading); }
@media (min-width: 768px) { .diffs li { grid-template-columns: 16rem 1fr; gap: 2rem; } }

/* Small additions used with the components above */
.wordmark.caps { font-variant-caps: all-small-caps; letter-spacing: 0.08em; font-size: 1.6rem; }
.hero-flank h1 { font-size: var(--step-1); line-height: 1.3; max-width: 30ch; margin-inline: auto; }
.hero-flank .script { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); }
.after-cards { text-align: center; margin: clamp(2.5rem, 5vw, 4rem) auto 0; }
.ledger-side .script { margin-top: 1.5rem; }
.footer-sign .script { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
@media (max-width: 699px) { .media-note { font-size: 0.68rem; left: 0.3rem; right: 0.3rem; bottom: 0.3rem; padding: 0.15rem 0.35rem; } }

/* Logo wordmark: the client's logo file in the header or footer instead of set type */
.wordmark.logo { display: inline-flex; align-items: center; min-height: 44px; }
.wordmark.logo img { height: var(--logo-h, 2.75rem); width: auto; }
.footer-sign .wordmark.logo img { height: calc(var(--logo-h, 2.75rem) * 1.8); }

/* Bleed hero: copy on the page colour, one picture running off the right edge and fading into the page.
   Phones: the picture on top, fading down, with the copy over its foot. Add a .media-note inside .bleed if it's a stand-in. */
.hero-bleed { position: relative; padding-block: 0 clamp(3rem, 8vw, 6rem); overflow: hidden; }
.hero-bleed .bleed { position: relative; margin-inline: calc(-1 * var(--gutter)); }
.hero-bleed .bleed img {
  width: 100%; aspect-ratio: var(--hero-bleed-ratio, 4 / 3); object-fit: cover;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent);
}
.hero-bleed .bleed .media-note { top: 0.5rem; bottom: auto; left: auto; right: var(--gutter); }
.hero-bleed .hero-copy { position: relative; z-index: 1; margin-top: -3.5rem; }
@media (min-width: 900px) {
  .hero-bleed { display: grid; align-items: center; min-height: min(44rem, 82vh); padding-block: clamp(3rem, 6vw, 5rem); }
  .hero-bleed .wrap { grid-template-columns: minmax(0, 32rem); }
  .hero-bleed .bleed { position: absolute; inset: 0 0 0 auto; width: 56%; margin: 0; }
  .hero-bleed .bleed img {
    height: 100%; aspect-ratio: auto;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 38%); mask-image: linear-gradient(to right, transparent, #000 38%);
  }
  .hero-bleed .bleed .media-note { top: auto; bottom: 1rem; }
  .hero-bleed .hero-copy { margin-top: 0; }
}
.hero-logo { width: min(100%, var(--hero-logo-w, 30rem)); height: auto; }
@media (max-width: 899px) { .hero-logo { width: min(var(--hero-logo-w-phone, 100%), var(--hero-logo-w, 30rem)); } } /* a logo narrower than the phone leaves the tagline in the first screen */
.hero-bleed .script { font-size: calc(var(--script-size, var(--step-2)) * var(--hero-script-scale, 1.3)); }
.hero-bleed h1 {
  font-size: var(--hero-h1-size, var(--step-1)); line-height: 1.35; max-width: 30ch; font-weight: var(--hero-h1-weight, var(--display-weight));
  text-transform: var(--hero-h1-case, var(--h-case, none)); letter-spacing: var(--hero-h1-tracking, var(--h-tracking, -0.01em)); /* a tracked-capitals theme can keep this one line in sentence case */
}

/* Occasions: a short row of event types, each with a line icon (inline SVG drawn in currentColor; a medallion ring reads well).
   A link in the h3 makes the whole occasion clickable; add .card-more or .card-later under the text. */
.occasions { list-style: none; padding: 0; display: grid; gap: 3rem; }
.occasion { position: relative; display: grid; gap: 0.75rem; justify-items: center; text-align: center; align-content: start; padding-inline: clamp(0.5rem, 2vw, 1.75rem); }
.occasion svg { width: var(--occasion-icon, 4.75rem); height: var(--occasion-icon, 4.75rem); margin-bottom: 0.5rem; color: var(--accent-ink); }
.occasion h3 { font-size: var(--step-1); text-transform: var(--label-case, none); letter-spacing: var(--label-tracking, normal); }
.occasion h3 a { text-decoration: none; }
.occasion h3 a::after { content: ""; position: absolute; inset: 0; }
.occasion:has(h3 a):hover h3 a, .occasion:has(h3 a):hover .card-more { color: var(--accent-ink); }
.occasion p { font-size: var(--step-0); line-height: 1.5; color: var(--muted); margin-inline: auto; max-width: 22rem; }
.occasion .card-more, .occasion .card-later { margin-top: 0.25rem; }
.occasion .card-later { font-size: 0.85rem; }
.occasion .card-later::before { margin-inline: auto; }
@media (min-width: 700px) {
  .occasions { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0; }
  .occasion + .occasion { border-left: 1px solid var(--line); }
}
.after-occasions-rule { margin-top: clamp(2.5rem, 5vw, 4rem); }
.after-occasions { text-align: center; margin: 1.25rem auto 0; color: var(--muted); font-style: italic; }

/* Checklist: what's included, with a hairline tick in the accent colour */
.checklist { list-style: none; padding: 0; display: grid; gap: 0.65rem; }
.prose .checklist { padding-left: 0; }
.checklist li { position: relative; padding-left: 1.9rem; }
.prose .checklist li + li { margin-top: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0.3rem; top: 0.2em; width: 0.5rem; height: 0.9rem;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* Demo form checks (main.js, opt-in with data-check): errors under fields, pick-n checkbox groups, sub-choices */
.field-error { font-size: var(--step--1); font-weight: 600; color: var(--danger, #b3261e); }
.on-ink .field-error { color: var(--danger-on-band, var(--danger, #b3261e)); }
.field-error:empty { display: none; }
[aria-invalid="true"] { border-color: var(--danger, #b3261e) !important; }
.on-ink [aria-invalid="true"] { border-color: var(--danger-on-band, var(--danger, #b3261e)) !important; }
.checks-count { grid-column: 1 / -1; margin: 0 0 0.25rem; }
.checks .field-error { grid-column: 1 / -1; }
.check:has(input:disabled) { opacity: 0.5; cursor: default; }
.sub-choice { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: -0.25rem 0 0.25rem 1.7rem; border: 0; padding: 0; min-width: 0; }
.sub-choice legend { padding: 0; font-size: var(--step--1); width: 100%; }
@media (min-width: 600px) { .checks.three { grid-template-columns: repeat(3, 1fr); } }

/* Email preview: what the owner would receive when the (demo) form is sent */
.mail-preview { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); overflow: hidden; }
.on-ink .mail-preview { border-color: color-mix(in srgb, var(--on-band) 25%, var(--band)); background: color-mix(in srgb, var(--on-band) 4%, var(--band)); color: var(--on-band); }
.mail-head { display: grid; gap: 0.2rem; padding: 0.9rem 1rem; border-bottom: 1px solid currentColor; border-bottom-color: color-mix(in srgb, currentColor 18%, transparent); font-size: var(--step--1); }
.mail-head p { max-width: none; margin: 0; overflow-wrap: anywhere; }
.mail-head b { font-weight: 600; }
.mail-fields { display: grid; }
.mail-fields > div { display: grid; gap: 0.1rem; padding: 0.6rem 1rem; border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent); }
.mail-fields > div:last-child { border-bottom: 0; }
.mail-fields dt { font-size: var(--step--1); opacity: 0.75; }
.mail-fields dd { overflow-wrap: anywhere; }
@media (min-width: 600px) { .mail-fields > div { grid-template-columns: 11rem 1fr; gap: 1rem; align-items: baseline; } }

/* Picks: a row of small medallion items (menu choices, toppings). Icons are inline SVG in currentColor. */
.picks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
@media (max-width: 599px) { .picks > li:last-child:nth-child(odd) { grid-column: 1 / -1; } } /* odd one out: centred */
@media (min-width: 600px) { .picks { grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); } }
.pick { display: grid; justify-items: center; align-content: start; gap: 0.3rem; text-align: center; }
.pick svg { width: var(--pick-icon, 4.5rem); height: var(--pick-icon, 4.5rem); margin-bottom: 0.6rem; color: var(--accent-ink); }
.pick b {
  font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.05rem; line-height: 1.25; color: var(--heading);
  text-transform: var(--label-case, none); letter-spacing: var(--label-tracking, normal);
}
.pick span { font-size: var(--step--1); color: var(--muted); }
.picks-note { margin: clamp(2rem, 4vw, 3rem) auto 0; text-align: center; display: grid; gap: 1.25rem; justify-items: center; }
.picks-note p { margin: 0; }

/* CTA panel: a closing call to action inside a double hairline, like an invitation card */
.cta-panel {
  max-width: 54rem; margin-inline: auto; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
  border: 1px solid var(--accent); outline: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: -9px;
}
.cta-panel .section-head { margin-bottom: 0; }
.cta-panel .hero-actions { justify-content: center; margin-top: 0.75rem; }
.cta-panel .big-mail { font-size: clamp(1.15rem, 5.2vw, var(--step-2)); overflow-wrap: normal; } /* keep the address on one line on phones */
