/* Sample-site stylesheet (docs/03 §5b). Plain CSS on custom properties: the theme's
   colours and fonts (hunter/build/themes.yaml) and the style's tokens (styles.yaml),
   both emitted inline per page AFTER this file, so they win by source order. Works
   without JS: the mobile menu and the FAQ are <details>. Colour roles: see themes.yaml.

   Every style token is declared here with the classic value. Tokens never hold a colour
   (gotcha #25): colours are written in the rules, so palette contexts (.ctx-band) can
   swap them. */

:root {
  /* type */
  --body-size: 1.0625rem;
  --body-leading: 1.65;
  --heading-weight: 600;
  --heading-leading: 1.12;
  --heading-tracking: -.01em;
  --heading-case: none;
  --display-weight: var(--heading-weight);
  --display-size: clamp(2.4rem, 7vw, 5.4rem);
  --display-tracking: -.02em;
  --h2-size: clamp(1.9rem, 3.6vw, 2.9rem);
  --h3-size: 1.28rem;
  --page-title-size: clamp(2.5rem, 5.5vw, 4.1rem);
  --tagline-size: clamp(1.3rem, 2.5vw, 1.85rem);
  --lede-size: 1.14rem;
  --eyebrow-size: .78rem;
  --eyebrow-weight: 700;
  --eyebrow-tracking: .18em;
  --eyebrow-case: uppercase;
  --nav-size: .98rem;
  --nav-weight: 500;
  --nav-case: none;
  --nav-tracking: 0;
  --brand-size: 1.28rem;
  --brand-weight: 600;
  --logo-height: 44px;
  /* layout */
  --container: 1180px;
  --container-narrow: 820px;
  --container-wide: 1380px;
  --gutter: 2.5rem;
  --header-height: 74px;
  --space-section: clamp(3.75rem, 8vw, 6.5rem);
  --space-head: clamp(2rem, 4vw, 3.25rem);
  --gap: clamp(1rem, 2.4vw, 1.75rem);
  --card-pad: clamp(1.5rem, 3vw, 2.1rem);
  --hero-pad: clamp(3rem, 7vw, 5.5rem);
  --hero-pad-lg: clamp(5rem, 12vw, 9rem);
  --page-hero-pad: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 3.75rem);
  /* shapes */
  --btn-radius: max(8px, var(--radius));
  --btn-weight: 650;
  --btn-case: none;
  --btn-tracking: 0;
  --btn-pad: .82rem 1.4rem;
  --btn-pad-lg: 1rem 1.65rem;
  --btn-border: 1.5px;
  --card-radius: var(--radius);
  --badge-radius: max(10px, calc(var(--radius) * .8));
  --field-radius: max(8px, calc(var(--radius) * .6));
  --mark-radius: max(8px, calc(var(--radius) * .7));
  --img-radius: calc(var(--radius) * 1.4);
  --img-radius-hero: calc(var(--radius) * 1.6);
  --img-radius-row: calc(var(--radius) * 1.3);
  --gallery-radius: var(--radius);
  --frame-offset: 1.2rem;
  --frame-size: 62%;
  --frame-opacity: .6;
  --inset-margin: clamp(.5rem, 2vw, 1.5rem);
  --inset-radius: calc(var(--radius) * 2);
  --shadow-strength: 1;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: var(--body-leading);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--primary-text); text-underline-offset: .18em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: var(--heading-leading);
  margin: 0 0 .5em;
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-tracking);
  text-transform: var(--heading-case);
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }

.container { width: min(var(--container), 100% - var(--gutter)); margin-inline: auto; }
.container.narrow { width: min(var(--container-narrow), 100% - var(--gutter)); }
/* a production edit's set_width: a wrapper around one section (docs/03 §10c) */
.w-narrow > section > .container { width: min(var(--container-narrow), 100% - var(--gutter)); }
.w-normal > section > .container { width: min(var(--container), 100% - var(--gutter)); }
.w-wide > section > .container { width: min(var(--container-wide), 100% - var(--gutter)); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.18em; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: var(--eyebrow-case);
  color: var(--primary-text);
  margin: 0 0 .9rem;
}
.lede { font-size: var(--lede-size); color: var(--muted); max-width: 60ch; }

/* ------------------------------------------------------------------ patterns */
.patterned { background-color: var(--soft); }
.pattern-dots .patterned {
  background-image: radial-gradient(color-mix(in srgb, var(--pattern-color) 60%, transparent) 1.4px, transparent 1.6px);
  background-size: 22px 22px;
}
.pattern-grid .patterned {
  background-image:
    linear-gradient(color-mix(in srgb, var(--pattern-color) 22%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--pattern-color) 22%, transparent) 1px, transparent 1px);
  background-size: 34px 34px;
}
.pattern-stripes .patterned {
  background-image: repeating-linear-gradient(135deg,
    color-mix(in srgb, var(--pattern-color) 20%, transparent) 0 2px, transparent 2px 16px);
}
.pattern-petals .patterned {
  background-image:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--pattern-color) 55%, transparent) 0 14%, transparent 14.5%),
    radial-gradient(circle at 88% 78%, color-mix(in srgb, var(--primary) 16%, transparent) 0 20%, transparent 20.5%),
    radial-gradient(circle at 72% 12%, color-mix(in srgb, var(--pattern-color) 35%, transparent) 0 7%, transparent 7.5%);
}

/* -------------------------------------------------------------------- banner */
.sample-banner {
  background: var(--dark);
  color: var(--dark-ink);
  text-align: center;
  font-size: .8125rem;
  letter-spacing: .02em;
  padding: .45rem 1rem;
}
/* The demo's feedback button (docs/08 #103): the band's own colours, so it reads on every theme. */
.sample-banner-action {
  display: inline-block;
  margin: .15rem 0 .15rem .65rem;
  padding: .12rem .75rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--dark-primary-text);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.sample-banner-action:hover { background: color-mix(in srgb, var(--dark-ink) 14%, transparent); }

/* -------------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.75rem; min-height: var(--header-height); }
.brand {
  display: flex; align-items: center; gap: .7rem;
  color: var(--ink); text-decoration: none;
  margin-right: auto; min-width: 0;
}
.brand-mark {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px;
  border-radius: var(--mark-radius);
  background: var(--primary); color: var(--primary-ink);
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
}
.brand-name {
  font-family: var(--font-display); font-weight: var(--brand-weight); font-size: var(--brand-size);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-desktop { display: flex; gap: 1.6rem; }
.nav-desktop a {
  color: var(--ink); text-decoration: none;
  font-weight: var(--nav-weight); font-size: var(--nav-size);
  text-transform: var(--nav-case); letter-spacing: var(--nav-tracking);
  padding: .3rem 0; border-bottom: 2px solid transparent;
}
.nav-desktop a:hover, .nav-desktop a[aria-current] { border-bottom-color: var(--primary); }
.nav-mobile { display: none; }
.nav-mobile summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem .9rem; font-weight: 600;
  border: 1.5px solid var(--line); border-radius: var(--btn-radius);
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile nav {
  position: absolute; top: 100%; left: 0; right: 0;
  display: grid; gap: .1rem;
  padding: .75rem 1.25rem 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px -20px rgb(0 0 0 / calc(.35 * var(--shadow-strength)));
}
.nav-mobile nav a:not(.btn) {
  padding: .8rem 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 600;
}
.nav-mobile nav .btn { margin-top: 1rem; }
@media (max-width: 900px) {
  .site-header .nav-desktop, .site-header .header-cta { display: none; }
  .nav-mobile { display: block; }
}

/* ------------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: var(--btn-pad);
  border: var(--btn-border) solid transparent;
  border-radius: var(--btn-radius);
  font: inherit; font-weight: var(--btn-weight); font-size: 1rem; line-height: 1.2;
  text-transform: var(--btn-case); letter-spacing: var(--btn-tracking);
  text-decoration: none; cursor: pointer;
  transition: filter .15s ease, transform .15s ease, background-color .15s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent);
  outline-offset: 2px;
}
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-light { background: var(--surface); color: var(--ink); }
.btn-lg { padding: var(--btn-pad-lg); font-size: 1.06rem; }

/* ---------------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; }
.display {
  font-size: var(--display-size); font-weight: var(--display-weight);
  margin: 0 0 .25em; letter-spacing: var(--display-tracking); overflow-wrap: anywhere;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: var(--tagline-size);
  line-height: 1.3; margin: 0 0 1rem; max-width: 32ch;
}
.hero-lead { font-size: var(--lede-size); max-width: 56ch; margin: 0 0 2.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; }
.hero-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }

.hero-cover {
  min-height: min(86vh, 760px);
  display: grid; align-items: end;
  color: #fff; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .38) 42%,
    color-mix(in srgb, var(--scrim) 88%, transparent) 100%);
}
.hero-cover .hero-content { padding: clamp(7rem, 16vw, 11rem) 0 clamp(3rem, 8vw, 5.5rem); }
.hero-cover .eyebrow { color: #fff; opacity: .9; }
.hero-cover .hero-lead { opacity: .93; }

.hero-split { background: var(--soft); padding: var(--hero-pad) 0; }
.hero-split .container {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-media { position: relative; isolation: isolate; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--img-radius-hero);
}
.hero-media::before {
  content: ""; position: absolute; z-index: -1;
  right: calc(var(--frame-offset) * -1); bottom: calc(var(--frame-offset) * -1);
  width: var(--frame-size); height: var(--frame-size);
  border-radius: var(--img-radius-hero);
  background: var(--accent); opacity: var(--frame-opacity);
}

.hero-minimal { padding: var(--hero-pad-lg) 0; text-align: center; }
.hero-minimal .hero-tagline, .hero-minimal .hero-lead { margin-inline: auto; }
.hero-minimal .hero-actions { justify-content: center; }

@media (max-width: 900px) {
  .hero-split .container { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; }
}

.page-hero { padding: var(--page-hero-pad); }
.page-hero h1 { font-size: var(--page-title-size); margin: 0; }
.not-found .lede { margin: 1rem 0 2rem; }

/* ---------------------------------------------------------- palette contexts */
/* The emphasis band (footer, strip, owner note, dark rhythm bands, the dark contact
   side): its colours are redefined ON the element, so everything inside follows. */
.ctx-band, .tone-band {
  --bg: var(--dark);
  --ink: var(--dark-ink);
  --muted: var(--dark-muted);
  --primary-text: var(--dark-primary-text);
  --surface: var(--band-surface);
  --soft: var(--band-soft);
  --line: var(--band-line);
  color-scheme: var(--band-scheme);
  background: var(--bg);
  color: var(--ink);
}
.ctx-primary {
  --muted: var(--primary-ink);
  --primary-text: var(--primary-ink);
  --line: color-mix(in srgb, var(--primary-ink) 30%, transparent);
  background-color: var(--primary);
  color: var(--primary-ink);
}
/* On a dark theme the band can be close to the page: a hairline keeps the seam. */
.scheme-dark .tone-band, .scheme-dark .site-footer.ctx-band,
.scheme-dark .highlights-strip.ctx-band, .scheme-dark .page-hero-ink.ctx-band { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }

/* ------------------------------------------------------------------ sections */
.section { padding: var(--space-section) 0; }
.tone-tint { background: var(--soft); }
.tone-inset {
  background: var(--soft);
  margin-inline: var(--inset-margin);
  border-radius: var(--inset-radius);
}
.tone-rule { padding-top: 0; }
.tone-rule > .container { border-top: 1px solid var(--line); padding-top: var(--space-section); }
.section-head { max-width: 700px; margin: 0 0 var(--space-head); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .lede { margin-inline: auto; }

.grid { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* count-aware item grids (docs/08 #111): the template picks the columns from the item
   count (`cols(n, most)`), two tracks each, so a short last row is centred by starting it
   half a column in per missing item. 4 columns turn 2 under 1000px, 3 under 900px, and
   everything stacks on a phone; `.even` gives every card the height of the tallest. */
.fit { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
.fit.cols-1 { grid-template-columns: minmax(0, 40rem); justify-content: center; }
@media (min-width: 641px) {
  .fit > * { grid-column: span 2; }
  .fit.cols-1 > * { grid-column: auto; }
  .fit.cols-2, .fit.cols-3, .fit.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fit:not(.cols-1) > :last-child:nth-child(2n+1) { grid-column: 2 / span 2; }
  .fit.even { grid-auto-rows: 1fr; }
}
@media (min-width: 901px) {
  .fit.cols-3 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .fit.cols-3 > :last-child:nth-child(2n+1) { grid-column: span 2; }
  .fit.cols-3 > :nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
  .fit.cols-3 > :last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
}
@media (min-width: 1001px) {
  .fit.cols-4 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .fit.cols-4 > :last-child:nth-child(2n+1) { grid-column: span 2; }
  .fit.cols-4 > :nth-last-child(3):nth-child(4n+1) { grid-column: 2 / span 2; }
  .fit.cols-4 > :nth-last-child(2):nth-child(4n+1) { grid-column: 3 / span 2; }
  .fit.cols-4 > :last-child:nth-child(4n+1) { grid-column: 4 / span 2; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: var(--card-pad);
  box-shadow: 0 1px 2px rgb(0 0 0 / calc(.04 * var(--shadow-strength))),
    0 14px 34px -22px rgb(0 0 0 / calc(.22 * var(--shadow-strength)));
}
.card h3 { margin-bottom: .45rem; }
.card p { margin: 0; color: var(--muted); }
.icon-badge {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px; margin-bottom: 1.15rem;
  border-radius: var(--badge-radius);
  background: color-mix(in srgb, var(--primary) 13%, var(--surface));
  color: var(--primary-text);
}
.icon-badge .icon { width: 26px; height: 26px; }

.feature { text-align: center; padding: .5rem 1rem; }
.feature .icon-badge { margin-inline: auto; }
.feature p { color: var(--muted); margin: 0; }

.highlights-strip { padding: clamp(2.25rem, 5vw, 3.25rem) 0; }
.strip { list-style: none; gap: 1.5rem 2.5rem; }
.strip li { display: flex; gap: 1rem; align-items: flex-start; }
.strip-icon { color: var(--accent); }
.strip-icon .icon { width: 30px; height: 30px; }
.strip strong { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: .2rem; }
.strip span { color: var(--muted); font-size: .97rem; }

/* services */
.svc-list {
  list-style: none; display: grid; column-gap: 3.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.svc-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem;
  padding: 1.45rem 0; border-bottom: 1px solid var(--line);
}
.svc-mark { color: var(--primary-text); padding-top: .2rem; }
.svc-mark .icon { width: 24px; height: 24px; }
.svc-list h3 { margin-bottom: .3rem; }
.svc-list p { margin: 0; color: var(--muted); }

.svc-feature { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 5vw, 4rem); align-items: center; }
.svc-row.flip > :first-child { order: 2; }
.svc-row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--img-radius-row); }
.svc-rest { margin-top: clamp(2rem, 5vw, 3.5rem); }
.svc-art {
  aspect-ratio: 3 / 2; border-radius: var(--img-radius-row);
  display: grid; place-items: center; color: var(--primary-text);
}
.svc-art .icon { width: 64px; height: 64px; }
.svc-text h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.svc-text p { color: var(--muted); font-size: 1.08rem; }
@media (max-width: 760px) {
  .svc-row { grid-template-columns: 1fr; }
  .svc-row.flip > :first-child { order: 0; }
}

/* menu (code-owned price list) */
.menu { margin: 0; }
.menu-row {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .95rem 0; border-bottom: 1px dashed var(--line);
}
.menu-row dt { font-weight: 600; flex: 1; }
.menu-row dd { margin: 0; font-weight: 700; color: var(--primary-text); white-space: nowrap; }
.menu-duration { display: block; font-weight: 400; font-size: .92rem; color: var(--muted); }
.menu-source { margin-top: 1.5rem; font-size: .88rem; color: var(--muted); text-align: center; }

/* about */
.about-split .container {
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--img-radius); }
.prose p { color: var(--muted); }
.prose h2 + p { font-size: 1.2rem; color: var(--ink); }
.about-centered { text-align: center; }
.quote-mark {
  display: block; font-family: var(--font-display);
  font-size: 5.5rem; line-height: .7; color: var(--accent); margin-bottom: .5rem;
}
@media (max-width: 900px) { .about-split .container { grid-template-columns: 1fr; } }

/* process */
.steps { list-style: none; counter-reset: step; gap: 1.5rem; }
.steps li {
  counter-increment: step; position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius);
  padding: 4.2rem 1.6rem 1.7rem;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 1.3rem; left: 1.6rem;
  font-family: var(--font-display); font-size: 2.1rem; line-height: 1;
  color: var(--primary-text);
}
.steps p, .timeline p { margin: 0; color: var(--muted); }
.timeline { list-style: none; counter-reset: step; border-left: 2px solid var(--line); margin-left: .6rem; }
.timeline li { counter-increment: step; position: relative; padding: 0 0 2.2rem 2.2rem; }
.timeline li::before {
  content: counter(step);
  position: absolute; left: -1.05rem; top: -.1rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary); color: var(--primary-ink);
  font-weight: 700; font-size: .9rem;
}

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 1.15rem 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 1.5rem;
  font-weight: 650; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; font-size: 1.6rem; line-height: 1;
  color: var(--primary-text); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .8rem 0 0; color: var(--muted); max-width: 68ch; }
/* faq: columns (a hairline over each; the questions of a row start on one line, and the
   answers on the next, through a subgrid) */
.faq-columns { gap: 2.5rem 3rem; }
.faq-columns article {
  grid-row: span 2; display: grid; grid-template-rows: subgrid; row-gap: .6rem;
  border-top: 1px solid var(--line); padding-top: 1.25rem;
}
.faq-columns h3 { font-size: 1.15rem; margin: 0; text-wrap: balance; }
.faq-columns p { color: var(--muted); margin: 0; }

/* gallery (stock atmosphere, code-owned) */
.gallery { display: grid; gap: .9rem; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 170px; }
.gallery figure { overflow: hidden; border-radius: var(--gallery-radius); grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-3 figure:first-child, .gallery-4 figure:first-child,
.gallery-5 figure:first-child, .gallery-6 figure:first-child { grid-column: span 4; grid-row: span 2; }
.gallery-4 figure:nth-child(4) { grid-column: span 6; }
.gallery-5 figure:nth-child(n+4) { grid-column: span 3; }
.gallery-caption { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 1rem; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery figure, .gallery figure:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
}

/* cta */
.cta-band { background-color: var(--primary); color: var(--primary-ink); padding: clamp(3rem, 7vw, 4.75rem) 0; }
.pattern-dots .cta-band.patterned, .pattern-grid .cta-band.patterned,
.pattern-stripes .cta-band.patterned, .pattern-petals .cta-band.patterned { background-color: var(--primary); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem; }
.cta-inner h2 { margin-bottom: .35rem; }
.cta-inner p { margin: 0; opacity: .92; max-width: 56ch; }
.cta-card {
  text-align: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: calc(var(--card-radius) * 1.3);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  box-shadow: 0 24px 50px -32px rgb(0 0 0 / calc(.35 * var(--shadow-strength)));
}
.cta-card p { color: var(--muted); margin: 0 auto 1.75rem; max-width: 52ch; }

/* hours & location */
.info-card p { color: var(--ink); font-weight: 500; }
.info-card a:not(.text-link) { color: var(--ink); text-decoration: none; }
.text-link {
  display: inline-flex; align-items: center; gap: .35rem; margin-top: .8rem;
  font-weight: 650; text-decoration: none;
}
.visit-split .container {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.info-list { list-style: none; display: grid; gap: 1.35rem; margin-top: 1.5rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list li > .icon { color: var(--primary-text); width: 24px; height: 24px; margin-top: .15rem; }
.info-list strong { display: block; }
.info-list span, .info-list a { color: var(--muted); }
.visit-art {
  border-radius: var(--img-radius);
  min-height: 320px; padding: 2.5rem;
  display: grid; place-items: center; align-content: center; gap: 1rem; text-align: center;
}
.visit-art > .icon { width: 48px; height: 48px; color: var(--primary-text); }
.visit-art p { font-family: var(--font-display); font-size: 1.5rem; margin: 0; line-height: 1.25; }
.visit-art p span { font-family: var(--font-body); font-size: 1rem; color: var(--muted); }
@media (max-width: 900px) { .visit-split .container { grid-template-columns: 1fr; } }

/* contact */
.contact-panel .container {
  display: grid; grid-template-columns: .95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.contact-phone a {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink); text-decoration: none;
}
.contact-links { display: flex; flex-wrap: wrap; gap: 1.25rem; font-weight: 600; }
.owner-note {
  background: var(--bg); color: var(--ink);
  border-radius: var(--card-radius); padding: clamp(1.5rem, 3vw, 2rem); margin-top: 1.75rem;
}
.owner-note h3 { margin-bottom: .5rem; }
.owner-note p { margin: 0; }
.ctx-band .owner-note.ctx-band { background: transparent; border: 1px solid var(--line); }
.contact-stacked .owner-note { margin: 0 0 1.75rem; }
.form {
  display: grid; gap: 1.05rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius);
  padding: clamp(1.5rem, 3vw, 2.3rem);
  box-shadow: 0 20px 44px -30px rgb(0 0 0 / calc(.3 * var(--shadow-strength)));
}
.form label { display: grid; gap: .4rem; font-weight: 600; font-size: .95rem; }
.form input:not([type="checkbox"]), .form textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--ink);
  padding: .8rem .95rem;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--field-radius);
}
.form input:focus, .form textarea:focus {
  outline: 2px solid var(--primary); outline-offset: 1px; border-color: transparent;
}
.form .consent {
  display: flex; align-items: flex-start; gap: .65rem;
  font-weight: 400; font-size: .9rem; color: var(--muted);
}
.form .consent input { appearance: auto; width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--primary); flex: none; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contact-panel .container { grid-template-columns: 1fr; } }
/* production contact: the business's channels in the form's place (docs/03 §10d) */
.channels {
  display: grid; gap: 1rem; align-content: start;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--card-radius);
  padding: clamp(1.5rem, 3vw, 2.3rem);
  box-shadow: 0 20px 44px -30px rgb(0 0 0 / calc(.3 * var(--shadow-strength)));
}
.channels p { margin: 0; display: flex; gap: .6rem; align-items: flex-start; }
.channels p .icon { margin-top: .2rem; color: var(--primary-text); flex: none; }
.channels-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.contact-stacked .channels { margin-top: 1.75rem; }

/* -------------------------------------------------------------------- footer */
.site-footer { padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: .96rem; }
.site-footer.after-heavy { box-shadow: inset 0 1px 0 var(--line); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { margin: 0 0 .65rem; display: flex; gap: .55rem; align-items: flex-start; }
.site-footer .icon { margin-top: .2rem; opacity: .75; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; font-weight: var(--brand-weight); }
.footer-muted { color: var(--muted); }
.footer-title { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: var(--muted); }
.footer-social { flex-wrap: wrap; gap: 1rem !important; }
.footer-note {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--muted);
}
.footer-note p { display: block; }
.credits a { text-decoration: underline; }
.legal-line a { text-decoration: underline; }

/* Service names are copied verbatim from the dossier (often lower case): capitalise
   their first letter on screen only. */
.card h3::first-letter, .svc-list h3::first-letter, .svc-text h3::first-letter,
.menu-row dt::first-letter { text-transform: uppercase; }

/* ============================================================ shell variants */
/* header: centered (wordmark in the middle, menu row below) */
.header-centered { position: sticky; }
.header-top {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  min-height: var(--header-height);
}
.header-meta {
  margin: 0; display: inline-flex; align-items: center; gap: .45rem;
  font-size: .9rem; color: var(--muted);
}
.header-centered .brand { margin: 0; justify-content: center; }
.header-centered .brand-name { font-size: calc(var(--brand-size) * 1.25); }
.header-end { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; }
.nav-row { border-top: 1px solid var(--line); }
.nav-row .container { display: flex; justify-content: center; flex-wrap: wrap; gap: .25rem 2.25rem; padding: .55rem 0; }
@media (max-width: 900px) {
  .header-top { grid-template-columns: 1fr auto; }
  .header-meta { display: none; }
  .header-centered .brand { justify-content: flex-start; }
  .site-header .nav-row { display: none; }
}

/* header: wordmark (no monogram, an underlined link for the action) */
.link-cta {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--ink); font-weight: var(--btn-weight); text-decoration: none;
  text-transform: var(--btn-case); letter-spacing: var(--btn-tracking);
  border-bottom: 2px solid var(--primary); padding: .2rem 0;
}
.link-cta:hover { color: var(--primary-text); }
.link-cta-lg { font-size: 1.2rem; }
.header-wordmark .brand-name { font-size: calc(var(--brand-size) * 1.2); }

/* header: overlay (only over a photo cover hero, below the banner) */
.header-overlay {
  position: absolute; left: 0; right: 0; top: auto;
  background: linear-gradient(rgb(0 0 0 / .5), transparent);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 0; color: #fff;
}
.header-overlay .brand, .header-overlay .nav-desktop a { color: #fff; }
.header-overlay .nav-desktop a[aria-current], .header-overlay .nav-desktop a:hover { border-bottom-color: #fff; }
.header-overlay .nav-mobile summary { border-color: rgb(255 255 255 / .6); color: #fff; }
.header-overlay + main .hero-cover .hero-content { padding-top: clamp(9rem, 18vw, 13rem); }

/* footer: centered */
.footer-centered { text-align: center; }
.footer-centered .footer-brand { font-size: 2rem; display: block; margin-bottom: .25rem; }
.footer-centered .footer-muted { display: block; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.75rem; margin: 1.75rem 0; }
.footer-facts {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem 1.75rem;
  margin: 0 0 1.25rem;
}
.footer-facts li { display: inline-flex; gap: .45rem; align-items: flex-start; }
.footer-centered .footer-social { justify-content: center; }
.footer-centered .footer-note { justify-content: center; text-align: center; }

/* footer: light (on the tint, the name once in large type above the columns) */
.footer-light { background: var(--soft); color: var(--ink); border-top: 1px solid var(--line); }
.footer-wordmark {
  display: block !important;
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.05; letter-spacing: var(--display-tracking);
  text-transform: var(--heading-case);
  margin: 0 0 2rem !important; overflow-wrap: break-word;
}
.footer-light .footer-muted, .footer-light .footer-title, .footer-light .footer-note { color: var(--muted); }

/* sub-page heroes */
.page-hero-rule .container { border-bottom: 1px solid var(--line); padding-bottom: clamp(2rem, 4vw, 3rem); }
.page-hero-rule { padding-bottom: 0; }
.page-hero-rule h1 { font-size: calc(var(--page-title-size) * 1.15); }
.crumbs { display: flex; gap: .6rem; font-size: .9rem; color: var(--muted); margin-bottom: 1.25rem; }
.crumbs a { color: var(--muted); }
.page-hero-split .container {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch;
}
.page-hero-split .container > div:first-child { align-self: center; }
.page-hero-split { background: var(--soft); }
/* the split one's contact card (docs/08 #106) */
.page-hero-card {
  align-self: center; justify-self: end; width: min(100%, 24rem);
  display: grid; gap: 1.1rem;
  padding: clamp(1.25rem, 2.6vw, 1.9rem);
  border-radius: var(--card-radius);
  box-shadow: 0 22px 44px -30px rgb(0 0 0 / calc(.45 * var(--shadow-strength)));
}
.page-hero-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.page-hero-facts li { display: flex; gap: .6rem; align-items: flex-start; }
.page-hero-facts .icon { margin-top: .2rem; flex: none; opacity: .85; }
.page-hero-facts a { color: inherit; font-weight: 600; text-decoration: none; }
.page-hero-facts a:hover { text-decoration: underline; }
.page-hero-card-action { margin: 0; }
/* the photo sub-page hero: the page's header photo where the split one has its card */
.page-hero-media { margin: 0; }
.page-hero-media img { width: 100%; height: 100%; min-height: 160px; max-height: 340px; object-fit: cover; border-radius: var(--img-radius); display: block; }
@media (max-width: 760px) {
  .page-hero-split .container { grid-template-columns: 1fr; }
  .page-hero-card { justify-self: stretch; width: auto; gap: .8rem; }
  .page-hero-facts { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
  .page-hero-media img { min-height: 0; max-height: 200px; aspect-ratio: 16 / 9; }
}
/* centered: the title on the page's own background, a short accent rule under it */
.page-hero-centered { text-align: center; }
.page-hero-centered h1 { font-size: calc(var(--page-title-size) * 1.1); }
.page-hero-centered .lede { margin-left: auto; margin-right: auto; }
.page-hero-mark { display: block; width: 3.25rem; height: 2px; margin: 1.35rem auto 0; background: var(--accent); }
/* ink: the title on the emphasis band, a primary edge under it (it holds on a dark theme,
   where the band sits close to the page) */
.page-hero-ink { border-bottom: 4px solid var(--primary); }
.page-hero-ink h1 { font-size: calc(var(--page-title-size) * 1.1); }
/* index: the page's place in the menu beside the title (CSS-drawn numbers: the QA
   digit rule), a hairline under them, the next page's link */
.page-hero-index { padding-bottom: 0; }
.page-hero-index .container { border-bottom: 1px solid var(--line); padding-bottom: clamp(2rem, 4vw, 3rem); }
.page-index-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 4vw, 3rem); align-items: end;
}
.page-index {
  margin: 0; font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: calc(var(--page-title-size) * 1.7); line-height: .8;
  letter-spacing: var(--display-tracking); color: var(--primary-text);
}
.page-index::before { content: attr(data-n); }
.page-index::after {
  content: " / " attr(data-of); font-size: .3em; letter-spacing: .06em;
  color: var(--muted); vertical-align: top;
}
.page-next { display: grid; justify-items: end; gap: .25rem; color: var(--ink); text-decoration: none; font-weight: 600; }
.page-next-label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.page-next-name { display: inline-flex; align-items: center; gap: .4rem; }
.page-next:hover .page-next-name { text-decoration: underline; }
@media (max-width: 760px) {
  .page-index-row { grid-template-columns: auto minmax(0, 1fr); }
  .page-index { font-size: calc(var(--page-title-size) * 1.1); }
  .page-next { grid-column: 1 / -1; justify-items: start; }
}

/* ============================================================ new variants */
/* hero: editorial */
.display-xl { font-size: calc(var(--display-size) * 1.3); line-height: .95; }
.brand-long .display { font-size: calc(var(--display-size) * .78); }
.brand-long .display-xl { font-size: calc(var(--display-size) * 1.02); }
.hero-editorial .editorial-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start;
  margin-top: clamp(1rem, 3vw, 2rem);
}
.hero-editorial .hero-tagline { max-width: none; }
.hero-wide { margin-top: clamp(2rem, 5vw, 3.5rem); }
.hero-wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--img-radius-hero); }
@media (max-width: 760px) {
  .hero-editorial .editorial-row { grid-template-columns: 1fr; }
  .hero-wide img { aspect-ratio: 4 / 3; }
}

/* hero: statement, a fallback only (docs/08 #105): the tagline as the headline, the
   page's own services in a panel beside it */
.statement-grid {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.no-points .statement-grid { grid-template-columns: minmax(0, 52rem); }
.hero-statement .statement-title {
  font-size: max(1.9rem, calc(var(--display-size) * .72)); line-height: 1.06;
  margin-bottom: 1.1rem;
}
.hero-statement .hero-lead { color: var(--muted); }
.statement-points {
  list-style: none; margin: 0; padding: .4rem var(--card-pad);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius);
  box-shadow: 0 1px 2px rgb(0 0 0 / calc(.04 * var(--shadow-strength))),
    0 14px 34px -22px rgb(0 0 0 / calc(.22 * var(--shadow-strength)));
}
.statement-points li {
  display: flex; align-items: center; gap: .9rem; padding: .85rem 0;
  font-family: var(--font-display); font-weight: var(--heading-weight); line-height: 1.3;
}
.statement-points li + li { border-top: 1px solid var(--line); }
.statement-mark {
  display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px;
  border-radius: var(--badge-radius);
  background: color-mix(in srgb, var(--primary) 13%, var(--surface));
  color: var(--primary-text);
}
@media (max-width: 860px) {
  .statement-grid { grid-template-columns: minmax(0, 1fr); }
  .statement-points li { padding: .6rem 0; }
}
/* On a phone the section it lists follows right below: the panel would repeat it. */
@media (max-width: 640px) { .statement-points { display: none; } }

/* hero: arch */
.hero-arch { background: var(--soft); padding: var(--hero-pad) 0; }
.hero-arch .container {
  display: grid; grid-template-columns: minmax(240px, 400px) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.arch-text { max-width: 38rem; }
.arch-text .display { font-size: calc(var(--display-size) * .82); }
.arch-media { position: relative; isolation: isolate; }
.arch-media img {
  width: 100%; aspect-ratio: 3 / 4.4; object-fit: cover;
  border-radius: 999px 999px var(--img-radius-row) var(--img-radius-row);
}
.arch-media::after {
  content: ""; position: absolute; inset: -.9rem; z-index: -1;
  border: 1.5px solid var(--accent);
  border-radius: 999px 999px var(--img-radius-row) var(--img-radius-row);
}
@media (max-width: 900px) {
  .hero-arch .container { grid-template-columns: 1fr; }
  .arch-text { order: -1; }
  .arch-media { max-width: 340px; margin: .5rem auto; width: 82%; }
}

/* hero: collage */
.hero-collage .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.collage { position: relative; padding: 0 0 18% 14%; }
.collage-tall img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--img-radius-hero); }
.collage-small {
  position: absolute; left: 0; bottom: 0; width: 52%;
  border: 8px solid var(--bg); border-radius: calc(var(--img-radius-row) + 8px);
  background: var(--bg);
}
.tone-tint .collage-small, .tone-inset .collage-small { border-color: var(--soft); background: var(--soft); }
.collage-small img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--img-radius-row); }
@media (max-width: 900px) {
  .hero-collage .container { grid-template-columns: 1fr; }
  .collage { max-width: 520px; }
}

/* highlights: numbered, bordered */
.numbered { list-style: none; counter-reset: point; gap: clamp(1.5rem, 3vw, 2.5rem) var(--gap); }
.numbered li { counter-increment: point; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.numbered li::before {
  content: counter(point, decimal-leading-zero);
  display: block; margin-bottom: .75rem;
  font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1;
  font-weight: var(--display-weight); color: var(--primary-text);
}
.numbered p, .bordered p { margin: 0; color: var(--muted); }
.bordered-title { margin-bottom: 1.5rem; }
/* one full row per count (3 across, 4 across or 2 by 2), never a gap in the frame; each
   cell draws its top and left hairline, and the frame clips the ones on its edges */
.bordered {
  list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--card-radius); overflow: hidden;
}
.bordered-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bordered li {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: -1px 0 0 -1px;
}
@media (max-width: 1000px) { .bordered-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bordered, .bordered-4 { grid-template-columns: minmax(0, 1fr); } }
.bordered .bordered-head { display: flex; gap: .55rem; align-items: center; color: var(--ink); margin-bottom: .45rem; }
.bordered-head .icon { color: var(--primary-text); }

/* services: tiles, index */
.tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--img-radius); margin-bottom: 1rem; }
.tile h3 { margin-bottom: .35rem; }
.tile h3::first-letter, .svc-index-title::first-letter { text-transform: uppercase; }
.tile p { margin: 0; color: var(--muted); }
.svc-index {
  list-style: none; counter-reset: svc; display: grid; gap: 0 3.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
}
.svc-index li { counter-increment: svc; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.svc-index-head {
  display: flex; align-items: baseline; gap: .75rem; margin: 0 0 .4rem;
  font-family: var(--font-display); font-size: 1.3rem; color: var(--ink);
}
.svc-index-head::before {
  content: counter(svc, decimal-leading-zero);
  font-family: var(--font-body); font-size: .8rem; font-weight: 700; color: var(--primary-text);
}
.svc-index-head .icon { color: var(--primary-text); align-self: center; }
.svc-index li > p { margin: 0; color: var(--muted); }
.leader { flex: 1; min-width: 1.5rem; border-bottom: 2px dotted var(--line); transform: translateY(-.3em); }

/* menu: leaders */
.menu-leaders { margin: 0; display: grid; gap: 0 3.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.menu-line { display: flex; align-items: baseline; gap: .75rem; padding: .85rem 0; }
.menu-line dt { font-weight: 600; }
.menu-line dt::first-letter { text-transform: uppercase; }
.menu-line dd { margin: 0; font-weight: 700; color: var(--primary-text); white-space: nowrap; }

/* about: statement, overlap */
.statement {
  font-size: clamp(2rem, 5vw, 3.9rem); line-height: 1.1; max-width: 22ch; margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.statement .quote-mark { display: inline; font-size: 1em; margin-right: .1em; vertical-align: baseline; line-height: 0; }
.statement-cols { columns: 2 320px; column-gap: clamp(2rem, 5vw, 4rem); }
.statement-cols p { break-inside: avoid; }
.about-overlap .container { position: relative; }
.overlap-media { width: 72%; }
.overlap-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--img-radius); }
.overlap-card {
  position: relative; margin: -14% 0 0 auto; width: min(560px, 58%);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: 0 24px 50px -32px rgb(0 0 0 / calc(.35 * var(--shadow-strength)));
}
@media (max-width: 760px) {
  .overlap-media { width: 100%; }
  .overlap-card { width: auto; margin: -3rem .75rem 0; }
}

/* process: line (one row, so the line never breaks over a wrap; vertical under 900px,
   and under 1100px for 5 steps) */
.line-steps {
  list-style: none; counter-reset: step; display: grid; gap: 1.5rem; position: relative;
  grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
}
.line-steps li { counter-increment: step; position: relative; padding-top: 3.4rem; }
.line-steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; z-index: 1;
  width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary); color: var(--primary-ink); font-weight: 700;
}
.line-steps li::after {
  content: ""; position: absolute; top: 1.2rem; left: 2.4rem; right: -1.5rem;
  border-top: 2px solid var(--line);
}
.line-steps li:last-child::after { display: none; }
.line-steps p { margin: 0; color: var(--muted); }
@media (max-width: 900px) {
  .line-steps { grid-auto-flow: row; gap: 0; }
  .line-steps li { padding: 0 0 2rem 3.4rem; }
  .line-steps li::after { top: 2.4rem; bottom: 0; left: 1.2rem; right: auto; border-top: 0; border-left: 2px solid var(--line); }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .line-steps.steps-5 { grid-auto-flow: row; gap: 0; }
  .line-steps.steps-5 li { padding: 0 0 2rem 3.4rem; }
  .line-steps.steps-5 li::after { top: 2.4rem; bottom: 0; left: 1.2rem; right: auto; border-top: 0; border-left: 2px solid var(--line); }
}

/* faq: sticky */
.faq-sticky { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-height) + 1.5rem); }
@media (max-width: 900px) {
  .faq-sticky { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
}

/* gallery: mosaic, strip */
.mosaic { columns: 3 220px; column-gap: .9rem; }
.mosaic figure { break-inside: avoid; margin-bottom: .9rem; overflow: hidden; border-radius: var(--gallery-radius); }
.mosaic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.mosaic figure:nth-child(3n+2) img { aspect-ratio: 1; }
.mosaic figure:nth-child(3n) img { aspect-ratio: 4 / 3; }
.photo-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .6rem;
  padding-inline: .6rem;
}
.photo-strip figure { overflow: hidden; border-radius: var(--gallery-radius); }
.photo-strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 760px) {
  .photo-strip {
    grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-inline: 1.25rem; scroll-padding-inline: 1.25rem; scrollbar-width: none;
  }
  .photo-strip figure { scroll-snap-align: start; }
}

/* cta: split, minimal */
.cta-split { display: grid; grid-template-columns: 1fr 1fr; }
.cta-split-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.cta-split-panel {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem);
  display: grid; align-content: center; justify-items: start; gap: .5rem;
}
.pattern-dots .cta-split-panel.patterned, .pattern-grid .cta-split-panel.patterned,
.pattern-stripes .cta-split-panel.patterned, .pattern-petals .cta-split-panel.patterned { background-color: var(--primary); }
.cta-split-panel p { opacity: .92; max-width: 46ch; margin-bottom: 1.25rem; }
@media (max-width: 760px) {
  .cta-split { grid-template-columns: 1fr; }
  .cta-split-media img { min-height: 220px; aspect-ratio: 16 / 9; }
}
.cta-minimal {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: end;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding-block: clamp(2rem, 5vw, 3.5rem);
}
.cta-minimal h2 { font-size: clamp(2.2rem, 5vw, 4rem); margin: 0; }
.cta-minimal p { color: var(--muted); }
@media (max-width: 760px) { .cta-minimal { grid-template-columns: 1fr; } }

/* hours & location: inline */
.visit-inline {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--surface);
}
.visit-inline li { display: flex; gap: .9rem; padding: clamp(1.25rem, 3vw, 1.75rem); border-left: 1px solid var(--line); margin-left: -1px; }
.visit-inline li > .icon { color: var(--primary-text); width: 24px; height: 24px; margin-top: .15rem; }
.visit-inline strong { display: block; margin-bottom: .2rem; }
.visit-inline span, .visit-inline a:not(.text-link) { display: block; color: var(--muted); }
.visit-inline .text-link { margin-top: .5rem; }

/* contact: dark (the side on the band, the form on its light card) */
.contact-dark { background: var(--dark); }
.contact-dark .container {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.contact-dark .contact-side.ctx-band { background: transparent; }
.contact-dark .contact-phone a { color: var(--ink); }
.contact-dark .contact-links a { color: var(--ink); }
@media (max-width: 900px) { .contact-dark .container { grid-template-columns: 1fr; } }

/* ================================================ more variants (docs/08 #110) */
/* Colours through the theme's roles only; numbers are CSS counters; every motion stops
   under reduced motion. The focus ring is drawn in primary: on the primary colour it
   takes the ink instead. */
.ctx-primary a:focus-visible, .ctx-primary .btn:focus-visible { outline-color: var(--primary-ink); }

/* hero: frame (the photo in a frame, the text card over its lower edge) */
.hero-frame { padding-top: clamp(1.25rem, 3vw, 2.5rem); }
.frame-media {
  padding: clamp(.5rem, 1.2vw, .9rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius);
  box-shadow: 0 30px 60px -44px rgb(0 0 0 / calc(.5 * var(--shadow-strength)));
}
/* short enough that the card's name and tagline sit in the first screen (the email shot) */
.frame-media img {
  width: 100%; aspect-ratio: 21 / 9; max-height: min(55vh, 500px); object-fit: cover;
  border-radius: max(0px, calc(var(--card-radius) - .5rem));
  outline: 1px solid rgb(255 255 255 / .7); outline-offset: -12px;
}
.frame-card {
  position: relative; width: min(40rem, 86%);
  margin: calc(clamp(5rem, 15vw, 12.5rem) * -1) 0 0 clamp(1.25rem, 5vw, 4rem);
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--card-radius);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: 0 24px 50px -32px rgb(0 0 0 / calc(.4 * var(--shadow-strength)));
}
.frame-card .display { font-size: calc(var(--display-size) * .78); }
.brand-long .frame-card .display { font-size: calc(var(--display-size) * .6); }
.frame-card .hero-lead { color: var(--muted); margin-bottom: 1.75rem; }
@media (max-width: 760px) {
  .frame-media img { aspect-ratio: 4 / 3; }
  .frame-card { width: auto; margin: -2.5rem .6rem 0; }
}

/* hero: diptych (edge to edge: the text on the primary colour, the photo the other half) */
.hero-diptych {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(84vh, 720px);
}
.diptych-text { display: grid; align-items: center; }
/* the text starts where the container would */
.diptych-inner {
  width: min(100%, calc(var(--container) / 2 + var(--gutter) / 2)); margin-left: auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3.5rem) clamp(3rem, 8vw, 6rem) calc(var(--gutter) / 2);
}
.hero-diptych .display { font-size: calc(var(--display-size) * .74); }
.brand-long .hero-diptych .display { font-size: calc(var(--display-size) * .56); }
.hero-diptych .hero-lead { opacity: .94; }
.hero-diptych .btn-primary { background: var(--primary-ink); color: var(--primary); }
.diptych-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .hero-diptych { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .diptych-media { order: -1; }
  .diptych-media img { height: auto; aspect-ratio: 4 / 3; }
  .diptych-inner { width: auto; margin: 0; padding: 2.5rem calc(var(--gutter) / 2) 3rem; }
}

/* hero: spotlight (no photo: the tagline as the headline, the initial outlined behind) */
.hero-spotlight {
  isolation: isolate; text-align: center; padding: var(--hero-pad-lg) 0;
  background: radial-gradient(ellipse 60% 70% at 50% 45%, var(--surface), transparent 72%), var(--soft);
}
.spotlight-initial {
  position: absolute; z-index: -1; left: 50%; top: 50%; transform: translate(-50%, -54%);
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: clamp(16rem, 46vw, 36rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--accent); opacity: .85;
  pointer-events: none; user-select: none;
}
.hero-spotlight .spotlight-title {
  font-size: max(2rem, calc(var(--display-size) * .74)); line-height: 1.06;
  max-width: 18ch; margin: 0 auto 1.25rem; overflow-wrap: break-word;
}
.hero-spotlight .hero-lead { margin-inline: auto; color: var(--muted); }
/* on a phone the initial sits behind the lead too: fainter there */
@media (max-width: 700px) { .spotlight-initial { opacity: .45; } }
.hero-spotlight .hero-actions { justify-content: center; }

/* highlights: bento (the first point a large primary tile, laid out for 3 and for 4) */
.bento { list-style: none; display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.bento-4 { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); }
.bento-4 .bento-tile:nth-child(4) { grid-column: 2 / -1; }
.bento-tile {
  display: flex; flex-direction: column; gap: .35rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius);
  padding: var(--card-pad);
}
.bento-tile h3 { margin: .35rem 0 .1rem; }
.bento-tile p { margin: 0; color: var(--muted); }
.bento-icon { color: var(--primary-text); }
.bento-icon .icon { width: 28px; height: 28px; }
.bento-lead {
  grid-row: span 2; justify-content: flex-end; min-height: clamp(16rem, 30vw, 22rem);
  background: var(--primary); border-color: transparent;
}
.bento-lead h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.bento-lead p { font-size: 1.08rem; max-width: 34ch; }
.bento-lead .bento-icon { color: inherit; margin-bottom: auto; }
.bento-lead .bento-icon .icon { width: 44px; height: 44px; }
@media (max-width: 760px) {
  .bento, .bento-4 { grid-template-columns: minmax(0, 1fr); }
  .bento-lead { grid-row: auto; min-height: 13rem; }
  .bento-4 .bento-tile:nth-child(4) { grid-column: auto; }
}

/* highlights: checklist (the heading beside a check-marked list between hairlines) */
.checklist-grid {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.checklist-title { margin: 0; font-size: clamp(2rem, 4vw, 3.1rem); }
.checklist { list-style: none; }
.checklist li {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem;
  padding: 1.35rem 0; border-bottom: 1px solid var(--line);
}
.checklist li:first-child { border-top: 1px solid var(--line); }
.check-mark {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-top: .1rem;
  border-radius: 50%; background: var(--primary); color: var(--primary-ink);
}
.check-mark .icon { width: 1.05rem; height: 1.05rem; }
.checklist h3 {
  font-family: var(--font-body); font-size: 1.1rem; font-weight: 700;
  text-transform: none; letter-spacing: 0; margin: 0 0 .25rem;
}
.checklist p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .checklist-grid { grid-template-columns: minmax(0, 1fr); } }

/* highlights: circles (each point in an outlined circle; 2 by 2 for 4 on a tablet) */
.circles {
  list-style: none; display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); justify-content: center;
  grid-template-columns: repeat(3, minmax(0, 17rem));
}
.circles-4 { grid-template-columns: repeat(4, minmax(0, 16.5rem)); }
.circle {
  position: relative; aspect-ratio: 1;
  display: grid; align-content: center; justify-items: center; text-align: center;
  padding: clamp(1.75rem, 3vw, 2.4rem); border-radius: 50%;
  background: var(--surface); border: 1.5px solid color-mix(in srgb, var(--primary) 50%, var(--line));
}
.circle::before {
  content: ""; position: absolute; inset: -.55rem; border-radius: 50%;
  border: 1px solid var(--line); pointer-events: none;
}
.circle-icon { color: var(--primary-text); margin-bottom: .6rem; }
.circle-icon .icon { width: 30px; height: 30px; }
.circle h3 { font-size: 1.15rem; margin: 0 0 .35rem; }
.circle p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.5; }
@media (max-width: 1199px) { .circles-4 { grid-template-columns: repeat(2, minmax(0, 17rem)); } }
@media (max-width: 860px) { .circles, .circles-4 { grid-template-columns: minmax(0, 18rem); } }

/* about: letter (a note on a paper card, a second sheet under it, signed) */
.about-letter .container { position: relative; isolation: isolate; }
.letter {
  position: relative; max-width: 40rem; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius);
  padding: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 6vw, 4.25rem);
  box-shadow: 0 1px 2px rgb(0 0 0 / calc(.05 * var(--shadow-strength))),
    0 30px 60px -42px rgb(0 0 0 / calc(.4 * var(--shadow-strength)));
}
.letter::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--surface); border: 1px solid var(--line); border-radius: inherit;
  transform: rotate(-1.8deg) translate(-.35rem, .5rem);
}
.letter h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.letter .letter-sign {
  margin: 2.25rem 0 0; line-height: 1.2;
  font-family: var(--font-display); font-size: clamp(1.45rem, 3vw, 1.9rem); color: var(--primary-text);
}
.letter-sign::before { content: "— "; color: var(--muted); }

/* about: portrait (a round photo, an outline ring offset behind it, the story centred) */
.about-portrait { text-align: center; }
.portrait-media {
  position: relative; isolation: isolate;
  width: clamp(10.5rem, 24vw, 14.5rem); margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
}
.portrait-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.portrait-media::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
  border: 1.5px solid var(--accent); transform: translate(.75rem, .5rem);
}
.about-portrait p { max-width: 62ch; margin-inline: auto; }

/* about: band (the emphasis band, its own surface) */
.about-band-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.about-band-head h2 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); line-height: 1.05; margin-bottom: 1.5rem; }
.about-band-rule { display: block; width: 4rem; height: 3px; background: var(--primary-text); }
.about-band .prose p:first-child { color: var(--ink); font-size: 1.2rem; }
@media (max-width: 860px) { .about-band-grid { grid-template-columns: minmax(0, 1fr); } }

/* process: zigzag (alternating sides of a centre line; the line on the left on a phone) */
.zigzag { list-style: none; counter-reset: step; position: relative; max-width: 62rem; margin-inline: auto; }
.zigzag::before {
  content: ""; position: absolute; top: .5rem; bottom: 1.5rem; left: 50%;
  border-left: 2px solid var(--line); transform: translateX(-1px);
}
.zigzag li {
  counter-increment: step; position: relative; width: 50%; text-align: right;
  padding: 0 clamp(2rem, 4vw, 3.25rem) clamp(1.75rem, 4vw, 2.75rem) 0;
}
.zigzag li + li { margin-top: clamp(-2.5rem, -3vw, -1rem); }
.zigzag li:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: clamp(2rem, 4vw, 3.25rem); text-align: left; }
.zigzag li::before {
  content: counter(step); position: absolute; top: -.25rem; right: -1.25rem; z-index: 1;
  width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary); color: var(--primary-ink); font-weight: 700;
}
.zigzag li:nth-child(even)::before { right: auto; left: -1.25rem; }
.zigzag p { margin: 0; color: var(--muted); }
@media (max-width: 760px) {
  .zigzag::before { left: 1.25rem; }
  .zigzag li, .zigzag li + li, .zigzag li:nth-child(even) {
    width: auto; margin: 0; padding: 0 0 1.75rem 3.5rem; text-align: left;
  }
  .zigzag li::before, .zigzag li:nth-child(even)::before { left: 0; right: auto; }
}

/* process: grid (two columns of cards, an outlined numeral behind each title) */
.process-grid {
  list-style: none; counter-reset: step;
  display: grid; gap: var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* the text keeps clear of most of the numeral, which only tucks under its end */
.process-grid li {
  counter-increment: step; position: relative; overflow: hidden; isolation: isolate;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--card-radius);
  padding: clamp(2.25rem, 4vw, 3rem) clamp(5rem, 11vw, 8.5rem) var(--card-pad) var(--card-pad);
}
.process-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.process-grid li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; z-index: -1; top: -.08em; right: .1em;
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: clamp(5.5rem, 10vw, 8.5rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--primary-text) 42%, transparent);
}
.process-grid h3 { margin-bottom: .4rem; }
.process-grid p { margin: 0; color: var(--muted); max-width: 52ch; }
@media (max-width: 700px) {
  .process-grid { grid-template-columns: minmax(0, 1fr); }
  .process-grid li:last-child:nth-child(odd) { grid-column: auto; }
}

/* process: band (the emphasis band: numerals in rings, joined by a line) */
.ring-steps {
  list-style: none; counter-reset: step;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1.5rem;
}
.ring-steps li { counter-increment: step; position: relative; padding-top: 4.4rem; }
.ring-steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; z-index: 1;
  width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--primary-text); background: var(--bg); color: var(--ink);
  font-weight: 700; font-size: 1.1rem; font-variant-numeric: lining-nums;
}
.ring-steps li::after {
  content: ""; position: absolute; top: 1.6rem; left: 3.2rem; right: -1.5rem;
  border-top: 1px solid var(--line);
}
.ring-steps li:last-child::after { display: none; }
.ring-steps p { margin: 0; color: var(--muted); }
@media (max-width: 860px) {
  .ring-steps { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ring-steps li { padding: .35rem 0 2rem 4.4rem; }
  .ring-steps li::after {
    top: 3.2rem; bottom: 0; left: 1.6rem; right: auto; border-top: 0; border-left: 1px solid var(--line);
  }
}

/* faq: chat (the visitor's bubble on the right, the reply with the avatar on the left) */
.chat { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
.chat-pair { display: grid; gap: .75rem; }
.chat-q {
  justify-self: end; max-width: min(85%, 34rem); margin: 0;
  padding: .85rem 1.15rem; border-radius: 1.25rem 1.25rem .3rem 1.25rem;
  background: var(--primary); color: var(--primary-ink);
  font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; line-height: 1.45;
  text-transform: none; letter-spacing: 0;
}
.chat-a {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; align-items: end;
  max-width: min(92%, 40rem);
}
.chat-a.no-avatar { grid-template-columns: minmax(0, 1fr); }
.chat-avatar {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--ink); color: var(--bg); font-family: var(--font-display); font-weight: 700;
}
.chat-a p {
  margin: 0; padding: .95rem 1.2rem; border-radius: 1.25rem 1.25rem 1.25rem .3rem;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
}

/* faq: cards (every answer shown, equal cards on a .fit grid). Where a card is narrow a
   question often takes two lines: each card keeps room for two (the mark and two lines),
   so the answers of a row start on one line unless a question runs to three. */
.faq-card h3 { font-size: 1.15rem; text-wrap: balance; }
@media (min-width: 641px) { .faq-card h3 { min-height: calc(2.8rem + 2lh); } }
@media (min-width: 1001px) { .faq-cards.cols-2 .faq-card h3 { min-height: 0; } }
.faq-card h3::before {
  content: "?"; content: "?" / "";
  display: block; margin-bottom: .6rem;
  font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--primary-text);
}

/* faq: numbered (large questions, a counter before and a +/− after each) */
.faq-numbered { counter-reset: faq; }
.faq-numbered details { counter-increment: faq; border-bottom: 1px solid var(--line); }
.faq-numbered details:first-child { border-top: 1px solid var(--line); }
.faq-numbered summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) auto; gap: .75rem; align-items: baseline;
  padding: clamp(1.1rem, 2.4vw, 1.6rem) 0;
  font-family: var(--font-display); font-weight: var(--heading-weight);
  font-size: clamp(1.25rem, 2.4vw, 1.8rem); line-height: 1.25;
  letter-spacing: var(--heading-tracking); text-transform: var(--heading-case);
}
.faq-numbered summary::-webkit-details-marker { display: none; }
.faq-numbered summary:hover { color: var(--primary-text); }
.faq-numbered summary::before {
  content: counter(faq, decimal-leading-zero);
  font-family: var(--font-body); font-size: .85rem; font-weight: 700; letter-spacing: .08em;
  color: var(--primary-text);
}
.faq-numbered summary::after {
  content: "+"; content: "+" / "";
  font-family: var(--font-body); font-weight: 400; font-size: 1.6rem; line-height: 1; color: var(--primary-text);
}
.faq-numbered details[open] summary::after { content: "−"; content: "−" / ""; }
.faq-numbered details > p {
  margin: 0; padding: 0 0 clamp(1.25rem, 3vw, 1.75rem) 3.5rem; max-width: calc(68ch + 3.5rem); color: var(--muted);
}
@media (max-width: 600px) {
  .faq-numbered summary { grid-template-columns: 2rem minmax(0, 1fr) auto; }
  .faq-numbered details > p { padding-left: 2.75rem; }
}

/* cta: banner (edge to edge: the photo under a scrim, the text centred over it) */
.cta-banner {
  position: relative; overflow: hidden; isolation: isolate;
  color: #fff; text-align: center; padding: clamp(5rem, 13vw, 9rem) 0;
}
.cta-banner-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
/* dark where the text sits, lighter towards the edges so the photo still shows */
.cta-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 62% 75% at 50% 50%,
    color-mix(in srgb, var(--scrim) 74%, transparent),
    color-mix(in srgb, var(--scrim) 34%, transparent));
}
/* a phone's text runs edge to edge: an even scrim */
@media (max-width: 700px) {
  .cta-banner::before { background: color-mix(in srgb, var(--scrim) 70%, transparent); }
}
.cta-banner-inner { width: min(46rem, 100% - var(--gutter)); margin-inline: auto; }
.cta-banner h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); text-shadow: 0 2px 24px rgb(0 0 0 / .25); }
.cta-banner p { font-size: 1.12rem; opacity: .94; margin: 0 auto 2rem; max-width: 52ch; }
.cta-banner a:focus-visible { outline-color: #fff; }
/* a dark theme's surface is dark: over the photo the button takes the primary colour */
.scheme-dark .cta-banner .btn-light { background: var(--primary); color: var(--primary-ink); }

/* cta: stamp (a round button ringed by its label; the ring turns slowly) */
.cta-stamp {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.cta-stamp h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-bottom: .6rem; }
.cta-stamp p { margin: 0; color: var(--muted); max-width: 50ch; font-size: 1.1rem; }
.stamp {
  position: relative; display: grid; place-items: center;
  width: clamp(9.5rem, 16vw, 12rem); aspect-ratio: 1; border-radius: 50%;
  color: var(--primary-text); text-decoration: none;
}
.stamp-ring {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  animation: stamp-turn 26s linear infinite;
}
.stamp-ring text { fill: currentColor; font-family: var(--font-body); font-weight: 700; }
.stamp-core {
  display: grid; place-items: center; width: 52%; aspect-ratio: 1; border-radius: 50%;
  background: var(--primary); color: var(--primary-ink); transition: transform .2s ease;
}
.stamp-core .icon { width: 34%; height: 34%; }
.stamp:hover .stamp-core { transform: scale(1.06); }
.stamp:focus-visible { outline-offset: 4px; }
@keyframes stamp-turn { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) {
  .stamp-ring { animation: none; }
  .stamp-core { transition: none; }
}
@media (max-width: 700px) {
  .cta-stamp { grid-template-columns: minmax(0, 1fr); }
  .stamp { justify-self: center; }
}

/* cta: details (the business's real phone, hours and address beside the action) */
.cta-details {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  gap: clamp(2rem, 6vw, 4.5rem); align-items: center;
}
.cta-details.no-card { grid-template-columns: minmax(0, 46rem); }
.cta-details h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.cta-details-text p { color: var(--muted); max-width: 50ch; margin-bottom: 1.75rem; font-size: 1.08rem; }
.cta-facts {
  list-style: none; display: grid; gap: 1rem;
  background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--primary);
  border-radius: var(--card-radius); padding: var(--card-pad);
  box-shadow: 0 20px 44px -30px rgb(0 0 0 / calc(.3 * var(--shadow-strength)));
}
.cta-facts li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink); }
.cta-facts li > .icon { color: var(--primary-text); margin-top: .2rem; }
.cta-facts a { color: var(--ink); font-weight: 600; text-decoration: none; }
.cta-facts a:hover { text-decoration: underline; }
@media (max-width: 860px) { .cta-details { grid-template-columns: minmax(0, 1fr); } }

/* contact: photo (edge to edge: the side over a photo, the form card under it) */
.contact-photo {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0; color: #fff;
}
.contact-photo-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.contact-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--scrim) 74%, transparent);
}
.contact-photo-inner { width: min(40rem, 100% - var(--gutter)); margin-inline: auto; display: grid; gap: 1.5rem; }
.contact-photo-side { text-align: center; }
.contact-photo-side .eyebrow, .contact-photo-side .contact-phone a, .contact-photo-side .contact-links a { color: #fff; }
.contact-photo-side .contact-links { justify-content: center; }
.contact-photo-side a:focus-visible { outline-color: #fff; }
.contact-photo .owner-note { margin-top: 0; }
.contact-photo .form { color: var(--ink); }

/* contact: tiles (the business's channels as large tappable tiles, the form below) */
/* two a row on a phone */
.channel-tiles {
  list-style: none; display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.channel-tile {
  display: grid; gap: .3rem; align-content: start; height: 100%; min-height: 6.5rem;
  padding: clamp(1.15rem, 2.5vw, 1.5rem);
  background: var(--surface); color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--card-radius);
  transition: border-color .15s ease, transform .15s ease;
}
.channel-tile:hover { border-color: var(--primary); transform: translateY(-2px); }
.channel-tile .icon { width: 28px; height: 28px; color: var(--primary-text); margin-bottom: .45rem; }
.channel-tile strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: var(--heading-weight); }
.channel-tile span { color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.contact-tiles-form { max-width: 44rem; margin-inline: auto; }
.contact-tiles-form .owner-note { margin: 0 0 1.75rem; }
.tiles-hours { display: flex; justify-content: center; gap: .55rem; margin: 0; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .channel-tile { transition: none; }
  .channel-tile:hover { transform: none; }
}

/* contact: lines (editorial: a big heading, the side column, underlined fields) */
.contact-lines-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(1.25rem, 3vw, 2rem); margin-bottom: clamp(2rem, 5vw, 3.25rem);
}
.contact-lines-head h2 { font-size: clamp(2.6rem, 7vw, 5.25rem); line-height: 1; margin: 0; }
.contact-lines-grid {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.contact-lines .owner-note { margin-top: 1.25rem; }
.contact-lines .form { background: transparent; border: 0; box-shadow: none; padding: 0; gap: 1.6rem; }
.contact-lines .form label:not(.consent) {
  gap: .2rem; color: var(--muted);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.contact-lines .form input:not([type="checkbox"]), .contact-lines .form textarea {
  background: transparent; color: var(--ink);
  border: 0; border-bottom: 1.5px solid var(--muted); border-radius: 0;
  padding: .55rem 0; font-size: 1.08rem; letter-spacing: 0; text-transform: none;
}
.contact-lines .form input:focus, .contact-lines .form textarea:focus {
  outline: 0; border-bottom-color: var(--primary); box-shadow: 0 2px 0 var(--primary);
}
.contact-lines .form textarea { resize: vertical; }
@media (max-width: 900px) { .contact-lines-grid { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================ style rules */
/* Structure that tokens can't say. Colours here are written in the rules, never in a
   token (gotcha #25). */
.style-editorial main { counter-reset: sect; }
.style-editorial .section-head .eyebrow::before, .style-editorial .about-statement > .container > .eyebrow::before,
.style-editorial .about-band-head .eyebrow::before, .style-editorial .contact-lines-head .eyebrow::before {
  counter-increment: sect; content: counter(sect, decimal-leading-zero) " — ";
}
.style-editorial .section-head { max-width: 860px; }
.style-modern .eyebrow { color: var(--muted); }
.style-modern .card, .style-modern .steps li, .style-modern .process-grid li,
.style-modern .bento-tile:not(.bento-lead), .style-modern .channel-tile { border-color: var(--ink); }
.style-bold .card, .style-bold .steps li, .style-bold .overlap-card,
.style-bold .process-grid li, .style-bold .bento-tile, .style-bold .channel-tile {
  border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
}
.style-bold .section-head .eyebrow { color: var(--ink); }
.style-bold .hero-media::before { background: var(--primary); }
.style-elegant .section-head { text-align: center; margin-inline: auto; }
.style-elegant .section-head .lede { margin-inline: auto; }
.style-elegant .hero-media img, .style-elegant .about-media img, .style-elegant .overlap-media img {
  outline: 1px solid rgb(255 255 255 / .7); outline-offset: -14px;
}
.style-boutique .section-head { text-align: center; margin-inline: auto; }
.style-boutique .section-head .lede { margin-inline: auto; }
.style-natural .hero-media::before { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
.style-pro .header-cta { white-space: nowrap; }

/* ------------------------------------------------- production sites (docs/03 §10d) */
.brand-logo { display: block; height: var(--logo-height); width: auto; max-width: calc(var(--logo-height) * 5); object-fit: contain; }
.team-grid { align-items: start; }
.team-card { text-align: center; }
.team-photo {
  width: 120px; height: 120px; margin: 0 auto 1rem; display: block;
  border-radius: 50%; object-fit: cover;
}
.team-role { color: var(--muted); font-weight: 600; margin: -.25rem 0 .5rem; }
.team-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.team-list li { border-top: 1px solid var(--line); padding-top: 1rem; }
.team-list p { margin: .35rem 0 0; }
.testimonial { margin: 0 0 2rem; }
.testimonial blockquote, .testimonial-card blockquote { margin: 0; }
.testimonial blockquote p {
  font-family: var(--font-display); font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.5;
}
.testimonial figcaption, .testimonial-card figcaption { color: var(--muted); font-weight: 600; }
.testimonial-card { margin: 0; }
.client-text h2 + p { margin-top: .75rem; }
.client-text p + h2 { margin-top: 2rem; }
.menu-group dt { font-family: var(--font-display); font-size: 1.15rem; margin: 1.25rem 0 .5rem; }
/* a price list's next group: clear space above its title, or the groups run together;
   in the two-column leaders list a title spans the columns */
.menu-row + .menu-group dt, .menu-line + .menu-group dt { margin-top: 2.75rem; }
.menu-leaders .menu-group { grid-column: 1 / -1; }
.privacy-text p { margin: 0 0 1rem; }
/* the logo with the name beside it (set_brand logo_name) */
.brand-logo + .brand-name { margin-left: .1rem; }

/* a page header's own lead and button (set_page_header) */
.page-hero-lead { max-width: 60ch; margin: 1rem 0 0; }
.page-hero-actions { margin: 1.5rem 0 0; }
/* the cover sub-page header: the page's photo full-bleed, the text over it (docs/08 #83) */
.page-hero-cover {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(62vh, 560px); display: grid; align-items: end;
  padding: 0; color: #fff;
}
.page-hero-cover .hero-content { padding: clamp(6rem, 13vw, 9rem) 0 clamp(2.5rem, 6vw, 4rem); }
.page-hero-cover .eyebrow { color: #fff; opacity: .9; }
.page-hero-cover .page-hero-lead { opacity: .93; }
.header-overlay + main .page-hero-cover .hero-content { padding-top: clamp(8rem, 16vw, 11rem); }

/* an edit's HTML block (add_block): plain content on the site's type */
.block-body > :last-child { margin-bottom: 0; }
.block-body h3, .block-body h4 { margin: 1.5rem 0 .5rem; }
.block-body ul, .block-body ol { padding-left: 1.25rem; margin: 0 0 1em; }
.block-body ul { list-style: disc; }
.block-body ol { list-style: decimal; }
.block-body li + li { margin-top: .35rem; }
.block-body img { border-radius: var(--img-radius); }
.block-body figure { margin: 0 0 1.25rem; }
.block-body figcaption { color: var(--muted); font-size: .9rem; margin-top: .5rem; }
.block-body blockquote { margin: 0 0 1em; padding-left: 1rem; border-left: 3px solid var(--primary); }
.block-body table { width: 100%; border-collapse: collapse; margin: 0 0 1em; }
.block-body th, .block-body td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.block-body details { border-bottom: 1px solid var(--line); padding: .75rem 0; }
.block-body summary { cursor: pointer; font-weight: 600; }
.block-body dt { font-weight: 600; margin-top: .75rem; }
.block-body dd { margin: .25rem 0 0; }

/* ── Online stores (docs/08 #117): categories, product cards, a product's page, the
   promises strip, the catalog search. Colours come from the theme like everything else. */
.store-cats { list-style: none; margin: 0; padding: 0; }
.store-cat {
  display: grid; gap: .75rem; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--card-radius); padding: .75rem; height: 100%;
}
.store-cat img, .store-cat-mark {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--img-radius);
}
.store-cat-mark, .store-card-photo {
  display: grid; place-items: center; color: var(--primary-text);
  background: color-mix(in srgb, var(--primary) 10%, var(--surface));
}
.store-cat-mark .icon, .store-card-photo .icon { width: 34px; height: 34px; }
.store-cat-name { font-weight: 650; padding: 0 .25rem .25rem; }
.store-cat:hover { border-color: var(--primary); }

.store-grid {
  list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
}
.store-card a {
  display: grid; gap: .45rem; height: 100%; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--card-radius); padding: .7rem .7rem 1rem;
}
.store-card a:hover { border-color: var(--primary); }
.store-card-photo { aspect-ratio: 1; border-radius: var(--img-radius); overflow: hidden; }
.store-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.store-card-name { font-weight: 600; line-height: 1.3; padding: 0 .2rem; }
.store-price { padding: 0 .2rem; color: var(--ink); }
.store-price s { color: var(--muted); font-weight: 400; margin-right: .3rem; }
.store-price-lg { font-size: 1.6rem; margin: .25rem 0; }
.store-stock { font-size: .88rem; color: var(--muted); padding: 0 .2rem; margin: 0; }
.store-stock::before {
  content: ""; display: inline-block; width: .55em; height: .55em; border-radius: 50%;
  margin-right: .4em; background: currentColor; vertical-align: .05em;
}
.stock-in_stock { color: #1f7a3d; }
.stock-low, .stock-on_order { color: #9a5b00; }
.stock-out { color: #a32020; }
.scheme-dark .stock-in_stock, .ctx-band .stock-in_stock { color: #7ed69a; }
.scheme-dark .stock-low, .scheme-dark .stock-on_order { color: #f0c062; }
.scheme-dark .stock-out { color: #ff9b9b; }

.store-product { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (min-width: 901px) { .store-product { grid-template-columns: 1.1fr 1fr; } }
.store-photos { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
.store-photos > :first-child { grid-column: 1 / -1; }
.store-photos img, .store-photos .store-card-photo {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--img-radius);
}
.store-buy .eyebrow a { color: inherit; text-decoration: none; }
.store-note { color: var(--muted); font-size: .9rem; margin: 0 0 .5rem; }
.store-variants { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.store-variants li {
  border: 1.5px solid var(--line); border-radius: var(--btn-radius); padding: .4rem .8rem;
}
.store-variants li span { color: var(--muted); }
.store-variants li.out { opacity: .55; text-decoration: line-through; }
.store-variants em { font-style: normal; font-size: .82rem; }
.store-order {
  margin: 1.25rem 0; padding: 1rem 1.1rem; border-radius: var(--card-radius);
  background: color-mix(in srgb, var(--primary) 8%, var(--surface));
}
.store-order-title { font-weight: 700; margin: 0 0 .65rem; }
.store-order-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.store-order-actions .icon { width: 1.1em; height: 1.1em; vertical-align: -.15em; }
.store-desc { margin: 0 0 .9rem; }
.store-details { margin: 1rem 0 0; display: grid; gap: .35rem; }
.store-details div { display: grid; grid-template-columns: minmax(8rem, 40%) 1fr; gap: 1rem; }
.store-details dt { color: var(--muted); }
.store-details dd { margin: 0; overflow-wrap: anywhere; }
.store-gpsr { margin-top: 1.25rem; border-top: 1px solid var(--line); padding-top: .9rem; }
.store-gpsr summary { cursor: pointer; font-weight: 600; }

.store-promises { list-style: none; margin: 0; padding: 0; }
.store-promises li { display: flex; gap: 1rem; align-items: flex-start; }
.store-promises .icon-badge { flex: none; margin: 0; width: 46px; height: 46px; }
.store-promises p { margin: .2rem 0 0; color: var(--muted); }

.store-search-wrap { padding-top: clamp(1.25rem, 3vw, 2rem); }
.store-search { --pagefind-ui-scale: .9; --pagefind-ui-primary: var(--primary);
  --pagefind-ui-text: var(--ink); --pagefind-ui-background: var(--surface);
  --pagefind-ui-border: var(--line); --pagefind-ui-tag: var(--soft);
  --pagefind-ui-border-radius: var(--field-radius); --pagefind-ui-font: inherit; }

/* A store's cart and checkout (P2a, store.js): the add-to-cart box, the cart's pill, the
   lines, the summary, the delivery and payment options, the test banner, the legal pages. */
.store-add { margin: 1.25rem 0; display: grid; gap: .8rem; }
.store-add[hidden] { display: none; }
.store-variant-pick, .store-qty { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.store-variant-pick select, .store-qty input {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--bg);
  padding: .65rem .8rem; border: 1.5px solid var(--line); border-radius: var(--field-radius);
}
.store-qty input { width: 6rem; }
.store-add-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; }
.store-add-row .icon, .store-actions .icon { width: 1.1em; height: 1.1em; vertical-align: -.15em; }
.store-add-status { margin: 0; min-height: 1.4em; color: var(--muted); }
.store-cart-pill {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 40; display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.1rem; border-radius: 999px; text-decoration: none; font-weight: 650;
  background: var(--primary); color: var(--primary-ink);
  box-shadow: 0 12px 30px -12px rgb(0 0 0 / .45);
}
.store-cart-pill[hidden] { display: none; }
.store-cart-count {
  min-width: 1.6em; padding: .05rem .4rem; border-radius: 999px; text-align: center;
  background: var(--primary-ink); color: var(--primary);
}
.store-test {
  display: flex; gap: .6rem; align-items: center; margin: 0 0 1.5rem; padding: .8rem 1rem;
  border-radius: var(--card-radius); font-weight: 600;
  background: color-mix(in srgb, #f0b429 22%, var(--surface)); color: var(--ink);
  border: 1px solid color-mix(in srgb, #f0b429 55%, var(--line));
}
.store-test[hidden] { display: none; }
.store-test .icon { flex: none; width: 1.2em; height: 1.2em; }
.store-alert { margin: 1rem 0; color: var(--ink); font-weight: 600; }
.store-alert:empty, .store-alert[hidden] { display: none; }
.store-empty { font-size: 1.05rem; }
.store-lines { list-style: none; margin: 0 0 1.25rem; padding: 0; border-top: 1px solid var(--line); }
.store-line {
  display: grid; gap: .5rem 1rem; align-items: center; padding: .9rem 0;
  grid-template-columns: 64px 1fr auto; border-bottom: 1px solid var(--line);
}
.store-line > img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--img-radius); grid-row: span 2; }
.store-line:not(:has(> img)) { grid-template-columns: 1fr auto; }
.store-line-info { display: grid; gap: .15rem; min-width: 0; }
.store-line-name { font-weight: 600; color: inherit; overflow-wrap: anywhere; }
.store-line-price { color: var(--muted); font-size: .9rem; }
.store-line-problem { color: #a32020; font-size: .9rem; font-weight: 600; }
.scheme-dark .store-line-problem { color: #ff9b9b; }
.store-line.has-problem { background: color-mix(in srgb, #a32020 6%, transparent); }
.store-line-qty { display: flex; align-items: center; gap: .45rem; grid-column: 2; }
.store-line:not(:has(> img)) .store-line-qty { grid-column: 1; }
.store-qty-btn {
  width: 2.2rem; height: 2.2rem; border-radius: 50%; font: inherit; font-weight: 700;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
}
.store-line-qty > span { min-width: 1.6rem; text-align: center; font-weight: 600; }
.store-line-remove {
  margin-left: .4rem; font: inherit; font-size: .88rem; color: var(--muted);
  background: none; border: 0; text-decoration: underline; cursor: pointer; padding: .3rem;
}
.store-line-total { grid-column: 3; grid-row: 1; justify-self: end; white-space: nowrap; }
.store-line:not(:has(> img)) .store-line-total { grid-column: 2; }
.store-lines-compact .store-line { grid-template-columns: 1fr auto; }
.store-lines-compact .store-line-total { grid-column: 2; }
.store-summary { display: grid; gap: .55rem; justify-items: start; }
.store-total { display: flex; justify-content: space-between; gap: 1rem; margin: 0; width: 100%; max-width: 26rem; }
.store-total-grand { font-size: 1.15rem; padding-top: .45rem; border-top: 1px solid var(--line); }
.btn.is-disabled { opacity: .5; pointer-events: none; }
.store-form { max-width: 44rem; }
.store-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 1rem; min-width: 0; }
.store-form legend { font-weight: 700; font-size: 1.1rem; margin-bottom: .6rem; padding: 0; }
.store-field-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.store-option {
  display: flex !important; gap: .7rem; align-items: flex-start; font-weight: 600;
  padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: var(--field-radius);
  cursor: pointer;
}
.store-option:has(input:checked) { border-color: var(--primary); }
.form .store-option input[type="radio"] {
  appearance: auto; width: 1.15rem; height: 1.15rem; margin: .15rem 0 0; padding: 0;
  accent-color: var(--primary); flex: none;
}
.store-option span { display: grid; gap: .1rem; }
.store-option small { font-weight: 400; color: var(--muted); font-size: .88rem; }
.store-summary-title { font-size: 1.15rem; margin: .5rem 0 .25rem; }
.store-summary-order { padding-top: .5rem; justify-items: stretch; max-width: 30rem; }
.store-summary-order .store-total, .store-sent .store-total { max-width: none; }
.store-sent h2 { margin-top: 0; }
.store-transfer { padding: .9rem 1rem; border-radius: var(--card-radius); background: color-mix(in srgb, var(--primary) 8%, var(--surface)); overflow-wrap: anywhere; }
.store-transfer[hidden] { display: none; }
.store-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.legal-text h2 { font-size: 1.2rem; margin: 2rem 0 .6rem; }
.legal-text ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.legal-text li { margin: 0 0 .4rem; }
@media print {
  .site-header, .site-footer, .store-cart-pill, .store-actions, .page-hero .crumbs, .sample-banner { display: none !important; }
  .section { padding: 0 !important; }
}
