/* ---- tokens.css ---- */
/* The variables every rule below reads. Colours come from site.json as
   :root variables the build writes; the rest is here. */

/* ==========================================================================
   Shared theme for every site.
   - Colors come from site.json and are injected as :root variables.
   - Typography and shape come from the [data-preset] blocks below.
   Edit here once and every site picks it up on the next build.
   ========================================================================== */

:root {
  --tint: color-mix(in srgb, var(--brand) 7%, var(--paper));
  --muted: color-mix(in srgb, var(--ink) 74%, var(--paper));
  --line: color-mix(in srgb, var(--ink) 14%, transparent);
  /* A form's boxes, by the ground they sit on (inputColors in src/contrast.mjs writes both): the page's paper here,
     a tinted section or a panel set off from the paper where sections.css or a look says so. */
  --input: var(--input-paper, var(--paper));
  --link: var(--brand);
  --focus: var(--brand);

  --font-display: system-ui, sans-serif;
  --font-body: system-ui, sans-serif;
  --display-weight: 700;
  --display-stretch: 100%;
  --display-tracking: -0.01em;

  --radius: 6px;
  --radius-lg: 10px;
  /* Buttons get their own token because two presets make them pills and two
     make them square, and those were written as `border-radius` on `.btn`
     directly — which outranks the variable, so the Corners knob moved every
     corner on the page except the one people look at. */
  --radius-btn: var(--radius);
  --rule: 1px solid var(--line);
  /* Cards carry no shadow by design — a page of identical drop-shadowed boxes
     is the flattest hierarchy there is. It is a token so a `style` can put one
     back deliberately, which is most of what separates Playful and Bold from
     the rest. */
  --card-shadow: none;
  --card-edge: 1px solid var(--line);

  /* Type scale: 17px base, ~1.25 ratio */
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.75rem, 1.35rem + 1.6vw, 2.3rem);
  --step-4: clamp(2.05rem, 1.45rem + 2.6vw, 3rem);
  --hero-size: clamp(2.6rem, 1.6rem + 4.4vw, 4.4rem);
  --hero-measure: 16ch;
  --plate-size: clamp(2.2rem, 1rem + 5vw, 3.6rem);

  --text-scale: 1;
  --space-section: clamp(4rem, 3rem + 5vw, 7rem);
  /* The about section's and the answers' lines, about seventy-five characters: in ems, since a face's figures are
     wider than its letters, and 66ch (the width of sixty-six noughts) was ninety-three characters a line on a tablet
     in Bricolage, Saira or Work Sans. */
  --measure: 34em;
  --max: 74rem;

  /* How the interface answers a pointer or a finger (a hover, a menu or a list opening, a tab, a press): one strong
     ease-out, quick to start and settling, for all of them (Tor, 2026-11-28). A designed motion (a look's slow lift,
     a hero's own, argon's running line) keeps the curve it was drawn with. */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  /* How far a button gives while it is held (css/polish.css). */
  --press: 0.97;
  /* Figures that line up or change in place (css/polish.css) are all one width. A face whose figures of one width read
     apart ("$1 1.50": Cormorant, Zilla Slab, Young Serif, Bodoni Moda, Schibsted Grotesk) says `normal` where it is
     set: --figures-display for what the headline face sets (prices), --figures for the body's too. */
  --figures: tabular-nums;
  --figures-display: var(--figures);
}

html { font-size: calc(100% * var(--text-scale, 1)); }

/* The Mode knob's dark page: its form controls and scroll bars drawn to match
   (the colours themselves come from schemeColors, in the :root rule). */
:root[data-scheme="dark"] { color-scheme: dark; }

/* ---- base.css ---- */
/* Type scale, rhythm, and the elements before any component. */

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

/* `hidden` means hidden, whatever a component says about its own display.
   The attribute is only `display: none` in the browser's own stylesheet, so
   any rule of ours that sets display — `.btn { display: inline-flex }` — beats
   it and the element stays on the page. Five components had each written
   their own `X[hidden] { display: none }` to work around that; the share
   button forgot to, and appeared without a script behind it to do anything.
   One rule, for everything, so the sixth cannot forget. */
[hidden] { display: none !important; }

/* A face with one weight (DM Serif Display, Instrument Serif, Young Serif, Gilda…) is drawn at it wherever a rule
   asks it for a bold: the browser would otherwise smear its strokes into a bold of its own. One rule for the page,
   rather than a weight per element, because the business's name, a figure, a date, a price and a question are all set
   in the display face by rules that cannot know which face a Typeface, a design or a look has put there. A face with
   a bold of its own draws it as before. */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; font-synthesis-weight: none; }
/* Scrolling is smooth from the visitor's first touch or key (js/page.js), never as a page arrives: a link to a part of
   another page lands there at once, where scrolling down to it while the page glided in was two movements at once. */
html.is-touched { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* A word too long for its line (an email, a web address) breaks rather than running off a phone's screen. */
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-stretch: var(--display-stretch);
  letter-spacing: var(--display-tracking);
  line-height: 1.1;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

p:last-child { margin-bottom: 0; }

/* No paragraph or list line ends on one word alone, where the browser can look ahead (Chrome 130, Safari 26). Only how
   the lines break (`text-wrap-style`), so text that never wraps still never does; headings are balanced, above. */
:where(p, li) { text-wrap-style: pretty; }

a { color: var(--link); text-underline-offset: 0.2em; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -10rem; z-index: 100;
  padding: 0.75rem 1rem; background: var(--ink); color: var(--on-ink); border-radius: var(--radius);
}

.skip-link:focus { top: 1rem; }

/* Motion is a courtesy, never a requirement: nothing on the page moves unless
   the visitor did something, and for those who have asked their system for
   less of it, nothing moves at all. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* ---- buttons.css ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  padding: 0.85em 1.35em;
  border: 2px solid transparent; border-radius: var(--radius-btn, var(--radius));
  font: 600 var(--step-0)/1.1 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s var(--ease-out), color 0.15s var(--ease-out), border-color 0.15s var(--ease-out), scale 0.12s var(--ease-out);
}

.btn .icon { width: 1.1em; height: 1.1em; }

.btn--accent { background: var(--accent); color: var(--on-accent); border-color: var(--accent-edge, transparent); }

.btn--accent:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }

.btn--brand { background: var(--brand); color: var(--on-brand); }

.btn--brand:hover { background: color-mix(in srgb, var(--brand) 84%, var(--ink)); }

.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }

.btn--ghost:hover { background: color-mix(in srgb, currentColor 10%, transparent); }

.btn--sm { padding: 0.6em 1em; font-size: 0.95rem; }

.btn:disabled { opacity: 0.6; cursor: progress; }

/* ---- modal.css ---- */
/* A dialog, and the pill that opens it.

   Native <dialog>, so focus, Escape and the backdrop are the platform's job. */

.modal {
  width: min(100% - 2rem, 32rem); padding: 0; border: 0;
  background: none; color: var(--ink);
  /* Centred by the platform; margin:auto is what makes that happen. */
  margin: auto;
  /* Its words set as a popup's, wherever it sits in the page: in a section that centres its own words (the markets page's
     calendar, events-calendar-only.css) every line of the calendar came out centred, unlike the same calendar on the
     home page (2026-11-30). */
  text-align: start;
}

.modal::backdrop { background: color-mix(in srgb, #000 55%, transparent); }

/* Every popup's ground is one colour, --popup, the page's paper unless a site sets it (its custom.css, on :root): the
   dialogs here, an item's choices and Check your order on the Order page (store.css), the whole menu's bar (menu.css),
   and what sits on that ground and has to match it, the close button kept at the top and the fade at the foot. One
   setting, so a site's popups never come out in two colours, as a client's calendar and item popup did (Tor,
   2026-11-30). A photograph or a video seen whole keeps its dark window. */
.modal .carousel__nav { background: var(--popup, var(--paper)); }

/* Every popup glows, with a rim, in a mix of the brand's colour and the words': light on a dark page, whose popups
   were lost against it, and only a deeper edge on a light one (Tor, 2026-11-29). `theme.popupGlow: false` takes it off
   (the Popup glow add-on). The glow is the dialog's own, which a shadow on a box inside it would be cut off by. Said
   from the root, so it holds over a popup's own rules, a feature's among them. A photograph seen whole fills the window
   and has no edge to light. */
:root:not([data-popup-glow="off"]) :is(.modal, .store__sheet, .store__confirm, .vid__window) {
  box-shadow: 0 0 42px 4px color-mix(in srgb, color-mix(in srgb, var(--brand) 55%, var(--ink)) 40%, transparent);
}
:root:not([data-popup-glow="off"]) :is(.modal, .store__sheet, .store__confirm, .vid__window) {
  border: 1px solid color-mix(in srgb, color-mix(in srgb, var(--brand) 45%, var(--ink)) 55%, transparent);
}
/* The rim is the dialog's too, round its scrollbar: on the box inside, a popup tall enough to scroll showed the
   scrollbar's strip outside the rim and inside the glow, as a piece come away (Tor, 2026-11-29). */
:root:not([data-popup-glow="off"]) .modal { border-radius: var(--radius-lg); background: var(--popup, var(--paper)); }
:root:not([data-popup-glow="off"]) .modal .modal__box { border: 0; box-shadow: none; }

/* While a dialog is open the page behind it stays put: no scrolling it past
   the backdrop, and a dialog scrolled to its end does not hand the scroll on
   to the page (overscroll-behavior). The gutter stays reserved, so the page
   does not shift sideways as its scrollbar goes. */
:root:has(dialog:modal) { overflow: hidden; scrollbar-gutter: stable; }
.modal { overscroll-behavior: contain; }

/* Nothing in a popup draws a scrollbar (Tor, 2026-11-29): a popup taller than the screen, or a list inside one that
   is, moves by a finger, a wheel, a trackpad and the keys as it did. */
.modal, .modal__box, .modal :is(.menu-full__main, .menu-jump, .events--month), .store__sheet, .store__confirm { scrollbar-width: none; }
.modal::-webkit-scrollbar, .modal__box::-webkit-scrollbar, .modal :is(.menu-full__main, .menu-jump, .events--month)::-webkit-scrollbar,
.store__sheet::-webkit-scrollbar, .store__confirm::-webkit-scrollbar { display: none; }
/* In its place, while there is more below (page.js), the foot of what scrolls fades and a small arrow nods: laid over
   the words, taking no room and no taps, and gone at the end. The arrow's grey reads on a light popup and a dark one.
   Held to the very foot: past the room a list keeps under its last line. */
.modal.is-more .modal__box::after, .modal .is-more:is(.menu-full__main, .menu-jump, .events--month)::after, .store__sheet.is-more::after, .store__confirm.is-more::after {
  content: ""; position: sticky; bottom: var(--more-foot, 0px); display: block; flex: none; height: 4rem; margin-top: -4rem; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center bottom 0.6rem / 1.5rem no-repeat,
    linear-gradient(transparent, var(--popup, var(--paper)) 80%);
}
.modal .menu-full__main { --more-foot: -2rem; }
.modal .events--month { --more-foot: -1.5rem; }
.store__sheet { --more-foot: -0.5rem; }
.store__confirm { --more-foot: calc(-1 * clamp(1.25rem, 1rem + 1vw, 2rem)); }
@media (max-width: 30rem) { .modal .menu-full__main { --more-foot: -1.5rem; } }
@media (prefers-reduced-motion: no-preference) {
  .modal.is-more .modal__box::after, .modal .is-more:is(.menu-full__main, .menu-jump, .events--month)::after, .store__sheet.is-more::after, .store__confirm.is-more::after {
    animation: modal-more 1.6s ease-in-out infinite;
  }
}
@keyframes modal-more { 50% { background-position: center bottom 0.2rem, 0 0; } }

/* A calendar needs the room. It can run longer than the screen, so the close
   button stays at the top of the box while the months scroll under it. */
.modal--wide { width: min(100% - 2rem, 64rem); }
.modal--wide .modal__box { padding-block: 1.5rem; }
.modal--wide .modal__close { position: sticky; top: 0.6rem; float: right; z-index: 1; margin: -1.4rem -1.4rem 0 0; background: var(--popup, var(--paper)); }

.modal__box {
  position: relative; padding: 2rem;
  background: var(--popup, var(--paper)); border: var(--card-edge);
  border-radius: var(--radius-lg); box-shadow: 0 24px 60px -30px rgb(0 0 0 / 55%);
}

.modal__close {
  position: absolute; top: 0.6rem; right: 0.6rem;
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
  padding: 0; background: none; border: 0; color: var(--muted); cursor: pointer;
  /* Round, so the focus ring is round too: a square outline on a round corner
     reads as a box that does not belong to the thing inside it. */
  border-radius: 999px;
}

/* The box is a focus destination rather than a control — it takes focus so a
   screen reader starts at the title, and a ring around the whole dialog would
   say something is selected when nothing is. Keyboard focus on the controls
   inside it still rings normally. */
.modal__box:focus, .modal__box:focus-visible { outline: none; }
.modal__close:hover { color: var(--ink); }
.modal__close .icon { width: 1.25rem; height: 1.25rem; }

.modal__title { margin: 0 2.5rem 0.75rem 0; font-size: var(--step-2); }
.modal__body p { margin: 0 0 0.75rem; color: var(--muted); }
.modal__body p:last-child { margin-bottom: 0; }
.modal__actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* The claim card's facts: three lines to read down, each marked off by the
   accent, with their figures in bold so the numbers are what the eye finds.
   The column may be narrower than its longest word: a grid's own column is
   otherwise as wide as an unbroken web address, and pushed every line of the
   card past its edge on a phone. Here the page's overflow-wrap breaks it. */
.modal__facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.modal__facts li { padding-left: 0.85rem; border-left: 3px solid var(--accent); color: var(--ink); line-height: 1.45; }
.modal__facts strong { font-weight: 700; }
/* Its two buttons never fit side by side, so each takes the width, the price first. */
.modal--card .modal__actions .btn { flex: 1 1 100%; justify-content: center; text-align: center; }
@media (max-width: 30rem) { .modal--card .modal__box { padding: 1.5rem 1.25rem; } }

/* The pill. Bottom left, because the look switcher is bottom right, and small
   enough to ignore while still being the way to the price. */
.preview-pill {
  position: fixed; left: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 35;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.6rem 1rem; border: 1px solid var(--on-bar); border-radius: 999px;
  background: var(--bar); color: var(--on-bar);
  font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer;
  box-shadow: 0 6px 18px -8px color-mix(in srgb, #000 50%, transparent);
}

.preview-pill .icon { width: 1rem; height: 1rem; }

/* One word on a phone. The full label and the look switcher came to 358px of a
   390px screen and met in the middle with no gap at all. */
.modal-open__short { display: none; }

@media (max-width: 30rem) {
  .modal-open__long { display: none; }
  .modal-open__short { display: inline; }
}

/* ---- header.css ---- */
/* An announcement across the top: one line, the accent colour, a link if there is one. */
.announce { background: var(--accent); color: var(--on-accent); font-size: 0.95rem; text-align: center; }
.announce p { margin: 0; padding: 0.55rem 0; }
.announce a { color: inherit; font-weight: 600; text-underline-offset: 0.15em; }

/* Pinned ("pinned": true) it is the first row of the sticky header and stays on
   screen with it, so a link lands that much lower, and --pin-h is how much
   taller the header is for anything placed under it (diptych's panel). Written
   html:has(), not :root:has(), so a layout or look that sets its own scroll
   padding on :root[data-…] still wins. It takes the header's top corners. */
html:has(.announce--pinned) { --pin-h: 2.6rem; scroll-padding-top: 9rem; }
.announce--pinned { border-top-left-radius: inherit; border-top-right-radius: inherit; }

.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }

.header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }

.brand { display: flex; flex-direction: column; margin-right: auto; color: var(--ink); text-decoration: none; line-height: 1; }

.brand img { max-height: 2.75rem; width: auto; }

/* A mark beside the wordmark: the drawing left, the words stacked to its right. */
.brand--marked { flex-direction: row; align-items: center; gap: 0.7rem; }
.brand__icon { width: 2.5rem; height: 2.5rem; flex: 0 0 auto; }

/* An inlined brand drawing, which carries its own proportions — a club crest is
   taller than it is wide, a wordmark much wider. So it is bounded by height and
   left to take whatever width that gives it, rather than squared off like the
   linked .brand__icon above. `currentColor` is the whole reason it is inlined:
   the drawing then follows the palette, including a live change from the
   switcher. */
.brand__svg { height: 2.5rem; width: auto; max-width: 12rem; flex: 0 0 auto; color: inherit; }
.brand__text { display: flex; flex-direction: column; }

.brand__mark {
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-stretch: var(--display-stretch); letter-spacing: var(--display-tracking);
  font-size: 1.55rem;
}

.brand__desc { margin-top: 0.3rem; font-size: 0.8rem; font-weight: 600; color: var(--muted); }

.site-nav ul { display: flex; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }

.site-nav a { padding-block: 0.5rem; color: var(--ink); font-weight: 500; text-decoration: none; }

.site-nav a:hover { color: var(--brand); text-decoration: underline; }

/* The call button and the menu button side by side are one height: the call
   button is a small button (39px) and the menu a thumb's width (44px), and a
   look with larger buttons made the call the taller of the two (to 53px). Both
   are at least 44px, and the row stretches the shorter to the taller. */
.header__actions { display: flex; align-items: stretch; gap: 0.5rem; }

/* ---- Open / Closed: a pill beside the call button, filled in by
   theme/js/hours.js on the business's clock and hidden until then. As tall as
   the menu button beside it, so both are a thumb's width. The word carries
   the meaning; the dot only repeats it. ---- */
.open-now {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.9em;
  /* The header's own text colour, not the page's ink: a look that makes the
     header part of the night (spotlight) sets it light, and the word went dark
     on dark with the page instead. The edge follows the word. */
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent); border-radius: 999px;
  color: inherit; font-size: 0.875rem; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap;
}
.open-now:hover { border-color: currentColor; }

@media (max-width: 39.99rem) {
  /* On a phone the header row has nothing to spare — a long name already
     wraps beside the call and menu buttons, and a pill there pushed the menu
     off the screen — and the header is sticky, so a taller one would cost
     space all the way down the page. The pill hangs from the header's lower
     edge instead: a tab that moves with it and takes no room from it. */
  .open-now {
    position: absolute; top: 100%; right: 1.25rem; min-height: 0; padding: 0.45em 0.8em;
    /* Below the header it sits on the page's paper, so it takes the page's ink. */
    background: var(--paper); color: var(--ink); border-color: var(--line);
    border-top: 0; border-radius: 0 0 0.7em 0.7em; font-size: 0.8rem;
  }
  /* The open menu drops from the same edge; the tab steps out of its way. */
  .site-nav.is-open ~ .header__actions .open-now { visibility: hidden; }
}

.nav-toggle {
  display: none; place-items: center; width: 2.75rem; min-height: 2.75rem; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); cursor: pointer;
}

.nav-toggle .icon { width: 1.4rem; height: 1.4rem; }

.header-call__short { display: none; }
/* A number that takes texts carries both pictures; after hours the page's
   script marks it texting and the speech bubble shows instead (hours.js). */
.header-call .icon--text, .header-call[data-texting] .icon--call { display: none; }
.header-call[data-texting] .icon--text { display: inline-block; }
/* theme.headerCall: "icon" — the phone mode at every width: a square button, the receiver alone. */
.header-call--icon { padding-inline: 0.85em; }
/* A telephone number is one thing to read, and broken over two lines it reads
   as two: a long name, a logo and six sections squeezed one onto three lines
   at a laptop's width. It holds its line, and when the row has no room for it
   the nav takes a row of its own (the crowded header, below). */
.header-call { min-height: 2.75rem; white-space: nowrap; }

@media (max-width: 63.99rem) {
  .nav-toggle { display: inline-grid; }
  /* The header carries one control more than it used to on a phone, now that
     calling lives here instead of in a bar along the bottom. So the button is
     the receiver alone: "Call" beside a picture of a telephone is the picture
     twice, and the word cost 50px that a 44-character business name needed. */
  .brand__mark { font-size: 1.28rem; }
  .brand__desc { margin-top: 0.15rem; font-size: 0.78rem; }
  /* A name that wraps to two lines beside the buttons, in a look with a larger
     mark, filled the header's height: its first line ran out of the top and
     the line under it sat on the bottom edge. Room above and below, which a
     one-line name never reaches (it is centred in the 4.5rem either way). */
  .header__inner { padding-block: 0.5rem; }
  .header-call { padding-inline: 0.85em; }
  /* Hidden from the eye, not from a screen reader: the link still has to say
     what it does, and an icon says nothing. */
  .header-call__short {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
  }
  .site-nav {
    display: none; position: absolute; inset: 100% 0 auto 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--ink) 30%, transparent);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; width: min(100% - 2.5rem, var(--max)); margin-inline: auto; padding-block: 0.5rem 1rem; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { display: block; padding-block: 0.9rem; font-size: 1.1rem; }
  .header-call__num { display: none; }
  .header-call__short { display: inline; }
}

/* ---------------------------------------------------------------------------
   Header layouts, from the `header` knob.
   
   Every preset used the same arrangement — name left, nav right — so nine
   looks that differ in type, colour and shape still opened identically. These
   rearrange the same three boxes rather than adding markup, so the layout is
   a choice a prospect can make in the switcher rather than a build of its own.
   
   Each only applies above the mobile breakpoint: under it the nav is already
   a panel behind the menu button, and that is the right answer regardless.
   --------------------------------------------------------------------------- */

@media (min-width: 64rem) {
  /* Centered: the name on its own line, the nav centered underneath it. The
     call button pulls out of the flow so it does not push the name off centre. */
  [data-header="center"] .header__inner {
    display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "left brand right" "nav nav nav";
    justify-items: center; gap: 0.5rem 1rem; padding-block: 1rem;
  }
  [data-header="center"] .brand { grid-area: brand; margin-right: 0; align-items: center; text-align: center; }
  [data-header="center"] .brand--marked { flex-direction: column; }
  [data-header="center"] .brand__text { align-items: center; }
  [data-header="center"] .site-nav { grid-area: nav; }
  [data-header="center"] .header__actions { grid-area: right; justify-self: end; }

  /* Name left, nav right: the ordinary one-row header, chosen. It is what a
     page with no header knob gets, except under a look that arranges the
     header itself (letter centres it as a letterhead): this sets
     the attribute those looks step aside for, and says the row again in case
     one does not. It can still run out of room, so it is measured as crowded
     like the ordinary header, below. */
  [data-header="row"] .header__inner { display: flex; align-items: center; }
  [data-header="row"] .brand { margin-right: auto; }

  /* Nav underneath: the name stays left, the nav takes a rule-separated second
     row. Closest to the sports-bar and restaurant sites that carry a lot of
     nav items and want them all visible.

     Crowded is the same arrangement, chosen by the page rather than by
     anybody: the one row of name, nav and call button has run out of room —
     it overflows, or has squeezed the name onto three lines — so page.js marks
     the header `data-crowded` and the nav moves down, wrapping if it must.
     Only where no header knob is set (`:where()` keeps it below the masthead
     looks, which arrange the header themselves). */
  [data-header="stacked"] .header__inner,
  :where(:root:not([data-header]), :root[data-header="row"]) .site-header[data-crowded] .header__inner {
    display: grid; grid-template-columns: auto 1fr; grid-template-areas: "brand actions" "nav nav";
    align-items: center; gap: 0.25rem 1rem; padding-block: 0.9rem 0;
  }
  [data-header="stacked"] .brand,
  :where(:root:not([data-header]), :root[data-header="row"]) .site-header[data-crowded] .brand { grid-area: brand; margin-right: 0; }
  [data-header="stacked"] .header__actions,
  :where(:root:not([data-header]), :root[data-header="row"]) .site-header[data-crowded] .header__actions { grid-area: actions; justify-self: end; }
  [data-header="stacked"] .site-nav,
  :where(:root:not([data-header]), :root[data-header="row"]) .site-header[data-crowded] .site-nav { grid-area: nav; border-top: 1px solid var(--line); margin-top: 0.6rem; }
  [data-header="stacked"] .site-nav ul { gap: 1.5rem; padding-block: 0.15rem; }
  :where(:root:not([data-header]), :root[data-header="row"]) .site-header[data-crowded] .site-nav ul { flex-wrap: wrap; gap: 0 1.5rem; padding-block: 0.15rem; }

  /* Menu button only: the nav is behind the button at every width, which is
     the quietest possible header and suits a one-page site whose nav is four
     anchors to sections you would scroll past anyway. */
  [data-header="minimal"] .site-nav {
    display: none; position: absolute; inset: 100% 0 auto 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--ink) 30%, transparent);
  }
  [data-header="minimal"] .site-nav.is-open { display: block; }
  [data-header="minimal"] .site-nav ul {
    flex-direction: column; gap: 0; width: min(100% - 2.5rem, var(--max));
    margin-inline: auto; padding-block: 0.5rem 1rem;
  }
  [data-header="minimal"] .site-nav a { display: block; padding-block: 0.7rem; }
  [data-header="minimal"] .nav-toggle { display: inline-grid; }
}

/* ---- hero.css ---- */
.hero { position: relative; padding-block: clamp(3rem, 2rem + 5vw, 6.5rem); }

.hero__grid { display: grid; gap: 2.5rem; align-items: center; }

.hero__title { font-size: var(--hero-size); line-height: 1; max-width: var(--hero-measure); }

.hero__text { max-width: 36ch; margin-top: 1.5rem; font-size: var(--step-1); line-height: 1.5; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* One per line, at every width. Wrapping badges of uneven length produces a
   ragged block — "Every game on" alone, then "Kitchen and pizza window" with
   "Darts" squeezed in beside it — which reads as a layout accident rather than
   a list. A column reads as a list at any width, and these are short enough
   that the height it costs is not worth the raggedness it buys. */
.hero__badges {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.7rem;
  margin: 2rem 0 0; padding: 0; list-style: none;
  font-size: 0.95rem; font-weight: 600;
}

/* A claim that wraps to a second line keeps its tick on its first, centred on that line (1lh, the line's own
   height): centred on the whole item, the tick sat between the two lines, beside neither. */
.hero__badges li { display: flex; align-items: flex-start; gap: 0.4rem; }

.hero__badges li > .icon { flex: none; margin-top: max(0px, calc((1lh - 1.1em) / 2)); }


.hero__badges .icon { width: 1.1em; height: 1.1em; color: var(--badge-icon, var(--brand)); stroke-width: 2.5; }

.hero__aside { position: relative; display: grid; gap: 1.25rem; }

.hero__photo { margin: 0; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; }

.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.plate {
  container-type: inline-size;
  display: block; padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  /* A field of the brand: on a page turned dark, the deep one (--brand-field: sections.css's call to action says
     why). Said as the plate's own ground and words, which a design or a look sets as a pair, and a look that paints
     the plate itself paints var(--plate-bg, var(--brand)) under the words it takes from here, so the two stay a pair. */
  --plate-bg: var(--brand-field, var(--brand)); --plate-fg: var(--on-brand-field, var(--on-brand));
  background: var(--plate-bg); color: var(--plate-fg);
  text-decoration: none;
}

.plate__label { display: block; font-size: 0.95rem; font-weight: 600; }

.plate__value {
  display: block; margin-top: 0.35rem;
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-stretch: var(--display-stretch); letter-spacing: var(--display-tracking);
  font-size: min(var(--plate-size), var(--plate-fit, 15cqi)); line-height: 1;
  /* The cap above is tuned to each preset's own typeface. With another one —
     chosen in the switcher, or set by `theme.font` — the script measures and
     shrinks the line to fit; without the script it wraps at the space rather
     than run off the edge of the plate. */
  white-space: normal;
}

.plate__note { display: block; margin-top: 0.8rem; font-size: 0.95rem; }

a.plate:hover .plate__value { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.12em; }

/* The facts beside the plate — open now, the address — are drawn only by the
   signpost design language (looks/signpost.css); everywhere else the plate and
   the contact section already say them. */
.hero__facts { display: none; }

@media (min-width: 56rem) {
  .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 4rem; }
  .hero--photo .hero__photo { aspect-ratio: 4 / 5; }
}

/* workshop: dark van-panel hero with a two-tone fleet stripe */

/* storefront: arched shop-window photo, sign-style plate */

/* studio: open page, plate as a quiet card */

/* ---------------------------------------------------------------------------
   Hero arrangements, from the `hero` knob.

   The photo sits to the right of the words on all nine presets, which is a
   large part of why they open the same way. These move it without touching the
   markup: same grid, different instructions.
   --------------------------------------------------------------------------- */

/* Photo behind the words, at every width.
 *
 * This whole block lived inside the desktop media query, so a phone fell back
 * to the stacked default and the treatment somebody had chosen was simply not
 * there — on the screen most of these are actually read on.
 *
 * The overlay is the paper colour at 78%, so the type keeps its contrast
 * whatever the palette and whatever the photograph: a hero that reads on a dark
 * pub interior and on a white nail salon cannot be a fixed black scrim.
 */
/* The overlay this draws is the paper colour, so the words on it have to be the
   ink colour — whatever the preset would otherwise paint here. `table` and
   `workshop` fill their hero with `--ink` and set light text on it, and
   `dispatch` uses the brand; with a photograph behind instead, all three left
   light text on a light wash and a headline you could barely read.

   The fill goes too. A preset's hero background would sit on top of the
   photograph it is supposed to be behind. */
:root[data-hero="full"] .hero {
  display: grid; isolation: isolate;
  background: none; color: var(--ink);
  /* The ticks in the brand as it reads on the page (--link), since the wash is the paper: the brand itself was a dark
     tick on a dark look's night (a barber's under nocturne, 1.45:1). */
  --badge-icon: var(--link); --focus: var(--brand);
}
/* Not only the hero: three presets colour its children from `--on-ink` or
   `--on-brand` as well, which are light on a light palette and so vanish into
   the same wash. Overriding the container was not enough — `table` and
   `workshop` tint the paragraph, `dispatch` tints the paragraph and its ghost
   button, and `lounge` tints the badges. */
/* Halfway between the muted grey and the ink, not the grey itself: the wash
   is 78% paper, so the dark of the photograph still comes through, and grey
   words over it measured 3.9:1 where the picture was darkest. */
:root[data-hero="full"] .hero__text { color: color-mix(in srgb, var(--muted) 50%, var(--ink)); }
:root[data-hero="full"] .hero__badges { color: var(--ink); }
:root[data-hero="full"] .hero .btn--ghost { border-color: var(--ink); color: var(--ink); }

/* `:root` and the `.hero--photo` class are both here to win, not for effect.
   Preset stylesheets load after this one and `[data-preset="field"]
   .hero--photo .hero__grid` sets two equal columns — so on that preset the copy
   got half the width while the container query, measuring the whole grid, still
   split the badges off into what was left. One column means one column: with
   the photograph behind the words there is no second thing to put beside them. */
:root[data-hero="full"] .hero--photo .hero__grid,
:root[data-hero="full"] .hero__grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: min(100% - 3rem, var(--max));
  padding-block: clamp(2.5rem, 1rem + 8vw, 5rem);
}
[data-hero="full"] .hero__aside { position: absolute; inset: 0; z-index: -1; gap: 0; }
/* Matching `.hero--photo .hero__photo` and the preset rules that also carry an
   aspect-ratio, so this wins on specificity rather than on source order. */
[data-hero="full"] .hero--photo .hero__photo,
[data-hero="full"] .hero__photo {
  width: 100%; height: 100%; margin: 0; border-radius: 0; aspect-ratio: auto;
}
[data-hero="full"] .hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
}
/* The plate is a card in its own right and would be lost over a photograph. */
[data-hero="full"] .plate { display: none; }

/* The words keep a readable measure and the badges take the room that leaves —
   but only when there is room to take, and that is a question about this box,
   not about the window. A viewport media query got it wrong every time a
   template narrowed the page: Single column gave the copy 46rem and Split gave
   it half the screen, and in both the badge column collapsed to six rems and
   wrapped "Every game on" over three lines. A container query asks the right
   thing once instead of patching each combination as it turns up. */
[data-hero="full"] .hero__grid { container-type: inline-size; }

@container (min-width: 58rem) {
  [data-hero="full"] .hero__copy {
    display: grid; grid-template-columns: minmax(0, 40rem) minmax(0, 1fr);
    column-gap: clamp(2rem, 4vw, 5rem); align-items: start; max-width: none;
  }
  [data-hero="full"] .hero__copy > * { grid-column: 1; }
  [data-hero="full"] .hero__badges {
    grid-column: 2; grid-row: 1 / -1; align-self: end;
    gap: 0.9rem; margin: 0 0 0.4rem;
  }
}

/* The photograph as the whole first screen, from the Hero knob's "Full
 * screen": it (and a video looping over it) fills the window under the
 * header, and the words sit low on it in white, whatever the palette.
 *
 * Unlike "Photo behind the words", which washes the picture with the paper
 * colour so any page's ink reads on it, this keeps the picture and darkens it:
 * the point is the photograph. The wash is black and deepest where the words
 * are, so they hold their contrast on a white photograph too; the headline,
 * which is large and may reach highest, needs the least of it.
 */
/* Its ground is the brand sunk toward black, as the letterboard look sinks its
 * field: a third of the brand, so white words read on it whatever the brand
 * (7.6:1 on a white one, 10:1 or better on every palette's), and the colour
 * shows where the photograph does not reach: beside an upright one on a wide
 * screen (css/features/hero-fit.css), and behind a hero with none. It was a
 * fixed near-black, the same on every site, until Tor asked for the brand to
 * show there (2026-10-14). */
:root[data-hero="screen"] .hero {
  display: grid; align-items: end; isolation: isolate;
  min-height: min(92svh, 64rem); padding-block: 0;
  background: color-mix(in srgb, var(--brand) 32%, #0c0a09); color: #fff;
  --badge-icon: #fff; --focus: #fff;
}
:root[data-hero="screen"] .hero--photo .hero__grid,
:root[data-hero="screen"] .hero__grid {
  grid-template-columns: minmax(0, 1fr);
  padding-block: clamp(7rem, 4rem + 14vw, 14rem) clamp(2.25rem, 1.25rem + 4vw, 4.5rem);
}
[data-hero="screen"] .hero__aside { position: absolute; inset: 0; z-index: -1; gap: 0; }
[data-hero="screen"] .hero--photo .hero__photo,
[data-hero="screen"] .hero__photo {
  width: 100%; height: 100%; margin: 0; border-radius: 0; aspect-ratio: auto;
}
[data-hero="screen"] .hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.84), rgb(0 0 0 / 0.66) 38%, rgb(0 0 0 / 0.46) 70%, rgb(0 0 0 / 0.3));
}
/* The plate is a card in its own right; here the header's call button and the hero's own buttons carry the number. */
[data-hero="screen"] .plate { display: none; }
:root[data-hero="screen"] .hero__title { max-width: 18ch; color: #fff; font-size: clamp(2.5rem, 1.3rem + 5.6vw, 5.75rem); text-wrap: balance; }
:root[data-hero="screen"] .hero__text { max-width: 44ch; color: rgb(255 255 255 / 0.9); }
:root[data-hero="screen"] .hero__badges { flex-flow: row wrap; gap: 0.6rem 1.75rem; color: #fff; }
:root[data-hero="screen"] .hero .rating { color: #fff; }
:root[data-hero="screen"] .hero .btn--ghost { border-color: #fff; color: #fff; background: none; }
/* Without a photograph there is nothing to fill a screen with: the words on the dark field, at their own height. */
:root[data-hero="screen"] .hero--plain { min-height: 0; }

/* ---- loop.css ---- */
/* A silent video looping over a photograph, in the photograph's own frame
   (helpers.mjs's loopVideo, theme/js/loop.js). Until it plays it is not
   there: the photograph is. It fades in over it, which is the one fade on the
   page and has a reason, since a video that pops in reads as a fault. */

/* The frame the video fills: positioned, unless its own rule already places it (a band's photograph is laid over the band). */
:where(.has-loop) { position: relative; }

.loop {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 0.8s ease;
  /* Never the thing a tap lands on: the frame may be behind a hero's words. */
  pointer-events: none;
}

.is-playing > .loop { opacity: 1; }

/* The button that stops it: in the frame's corner, a thumb wide, drawn from
   its own borders so it needs no icon. Two bars to pause, a triangle to play. */
.loop__pause {
  position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 2;
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgb(0 0 0 / 0.6); color: #fff;
}

.loop__pause[hidden] { display: none; }

.loop__pause::before {
  content: ""; box-sizing: border-box; width: 0.75rem; height: 0.85rem;
  border-inline: 0.25rem solid currentColor;
}

.loop__pause[aria-pressed="true"]::before {
  width: 0; height: 0; margin-left: 0.2rem;
  border-block: 0.5rem solid transparent; border-inline: 0.8rem solid currentColor;
  border-inline-end-width: 0;
}

.loop__pause:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* ---- sections.css ---- */
/* The sections between the hero and the contact block: services, about,
   areas, reviews, gallery and carousel, FAQ, embeds, and the contact form. */

.s { padding-block: var(--space-section); }

.s--tint { background: var(--tint); --input: var(--input-raised, var(--paper)); }

.s__head { max-width: 42rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }

/* A page with no hero has its h1 here, on its first section (withH1 in
   render.mjs), sized like every other section's heading rather than left to
   the browser's default. */
.s__head h1, .s__head h2 { font-size: var(--step-4); }

.s__intro { margin-top: 1rem; font-size: var(--step-1); line-height: 1.5; color: var(--muted); }

.s__note, .s__more { margin-top: 2rem; color: var(--muted); }

/* The lists that read down, a line of text wide: news, events, links, jobs
   and credentials. Each one's own stylesheet draws its rows. */
.notes, .events, .links, .jobs, .creds { display: grid; margin: 0; padding: 0; list-style: none; max-width: 46rem; }

.s__more a { font-weight: 600; }

/* Services */

.svc-list {
  display: grid; gap: 0 2.5rem; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
}

/* Four services, or seven, in rows of three leave one on its own under a full
   row (a plumber's seven, a nail salon's four). Two to a row while four
   would be too narrow, then four to a row. Written to outrank a look's own
   columns (0,4,0) and no more: a look that counts its services itself writes
   a rule as specific later in its own sheet (swiss, album, bento, cover,
   crafted), and a layout knob's arrangement is important. */
@media (min-width: 56rem) {
  :root:not([data-preset="table"]) .svc-list:not(:where(.svc-list--pairs)):has(> :nth-child(3n + 4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 72rem) {
  :root:not([data-preset="table"]) .svc-list:not(:where(.svc-list--pairs)):has(> :nth-child(3n + 4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.svc { padding-block: 1.5rem 2rem; border-top: var(--rule); }

.svc__icon {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1rem;
  border-radius: var(--radius); background: var(--tint); color: var(--brand);
}

.s--tint .svc__icon { background: var(--paper); }

.svc__icon .icon { width: 1.5rem; height: 1.5rem; }

.svc__title { margin-bottom: 0.5rem; font-size: var(--step-2); }

.svc p { color: var(--muted); }

.svc .svc__price { margin-top: 0.75rem; color: var(--ink); font-weight: 700; }

/* A box's list of what it covers (`list`): the checklist's tick, the line, and
   its price held to the right in figures that line up down the box. */
.svc__list { display: grid; gap: 0.6rem; margin: 0.9rem 0 0; padding: 0; list-style: none; }

.svc__list li { display: grid; grid-template-columns: 1.25rem 1fr auto; gap: 0.6rem; align-items: baseline; }

.svc__list .icon { width: 1.1rem; height: 1.1rem; align-self: center; color: var(--brand); stroke-width: 2.5; }

.svc__amount { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.svc__more { display: inline-block; margin-top: 0.75rem; font-weight: 600; }

/* About */

.about { display: grid; gap: 3rem; }

.about__text { max-width: var(--measure); }

.about__text .s__head { margin-bottom: 1.5rem; }

.about__sig { margin-top: 1.5rem; font-weight: 700; }

.about__photo { margin: 0 0 1.5rem; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; }

.about__photo img { width: 100%; height: 100%; object-fit: cover; }

.checks { padding: 1.75rem; background: var(--paper); border: var(--card-edge); border-radius: var(--radius-lg); box-shadow: var(--card-shadow); }

.s--plain .checks { background: var(--tint); border-color: transparent; }

.checks__h { margin-bottom: 1rem; font-size: var(--step-1); }

.checks ul { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }

.checks li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; font-weight: 500; }

.checks .icon { width: 1.35rem; height: 1.35rem; margin-top: 0.15rem; color: var(--brand); stroke-width: 2.5; }
/* A services section with "layout": "checks": the points as one ticked list, at a reading width. */
.checks--list { max-width: 46rem; }
.checks--list li { font-weight: 400; }
.checks--list strong { font-weight: 600; }

@media (min-width: 56rem) {
  .about { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 5rem; align-items: start; }
  .about--solo { grid-template-columns: 1fr; }
}

/* The about section as its photograph has it (src/sections/about.mjs, aboutLayout): an upright one tall beside the
   story, a wide one across the page with the story under it. The first paragraph is the way in, and the highlights
   are ruled facts rather than a ticked box. `:root` outweighs a design's own shape for the photograph across the
   page (storefront's arch), and a look's centred heading: in these the heading belongs to the story's column. */
.about--wide, .about--portrait { gap: 2.5rem; }
.about--wide .about__photo, .about--portrait .about__photo { margin: 0; }
:root .about--wide .about__photo { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); }
:root .about--portrait .about__photo { aspect-ratio: 4 / 5; }
:root :is(.about--wide, .about--portrait) .about__text .s__head { text-align: left; margin-inline: 0; }
:root :is(.about--wide, .about--portrait) .about__text .s__head::before { margin-inline: 0; }
.about__lead { margin-bottom: 1.25rem; font-family: var(--font-display); font-size: var(--step-2); line-height: 1.3; color: var(--ink); }
.about__facts { align-self: start; padding-top: 1.25rem; border-top: 2px solid var(--brand); }
.about__facts-h { margin-bottom: 0.5rem; font-size: var(--step-0); font-weight: 500; color: var(--muted); }
.about__facts ul { margin: 0; padding: 0; list-style: none; }
.about__facts li { padding: 0.95rem 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: var(--step-1); line-height: 1.3; }
@media (min-width: 56rem) {
  .about--wide { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); column-gap: 5rem; row-gap: 3.5rem; }
  :root .about--wide .about__photo { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
  .about--portrait { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); column-gap: 4.5rem; row-gap: 2.5rem; align-items: start; }
  .about--portrait .about__photo { grid-row: 1 / span 2; position: sticky; top: 7rem; }
  .about--portrait .about__facts { grid-column: 2; }
}

/* Service areas */

.areas { margin: 0; padding: 0; list-style: none; columns: 2 10rem; column-gap: 2.5rem; }

.areas li { padding-block: 0.7rem; border-bottom: 1px solid var(--line); break-inside: avoid; font-weight: 600; }

@media (min-width: 48rem) { .areas { columns: 4 10rem; } }

/* Testimonials */

.quotes { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }

.quote {
  display: flex; flex-direction: column; margin: 0; padding: 2rem;
  background: var(--paper); border: var(--card-edge); border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}

.s--tint .quote { border-color: transparent; }

.quote blockquote { flex: 1; margin: 0; font-size: 1.15rem; line-height: 1.55; }

.quote blockquote::before {
  content: "\201C"; display: block; height: 2.2rem;
  font-family: var(--font-display); font-size: 4rem; line-height: 1; color: var(--brand);
}

.stars + blockquote::before { display: none; }

.quote figcaption { margin-top: 1.5rem; font-size: 0.95rem; }

.quote__name { display: block; font-weight: 700; }

/* One review is a card, not a band. Alone in the row it took the whole width,
   72rem and more on a wide page, and a two-line quote filled a third of it
   (a jeweler's, 2026-11-08). It keeps a reading width instead, at the left under
   a heading at the left and centred under a centred one, as one person does
   (below). */
.quote:only-child { width: 100%; max-width: 46rem; justify-self: var(--row-justify, normal); }

.quote__detail { color: var(--muted); }

.stars { display: flex; gap: 0.15rem; margin: 0 0 0.75rem; color: color-mix(in srgb, var(--accent) 70%, var(--ink)); }

.stars .icon { width: 1.1rem; height: 1.1rem; fill: var(--accent); }

/* Gallery */

.gallery {
  display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; grid-auto-flow: dense;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 48rem) { .gallery { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); } }

.gallery figure { margin: 0; height: 100%; display: flex; flex-direction: column; }

.gallery img { flex: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

.gallery figcaption { margin-top: 0.5rem; font-size: 0.9rem; color: var(--muted); }

/* Feature the first photo only when the rest fill the grid with no gaps */

@media (min-width: 48rem) {
  .gallery[data-count="3"] { grid-template-columns: 2fr 1fr; }
  .gallery[data-count="5"] { grid-template-columns: repeat(4, 1fr); }
  .gallery[data-count="3"] li:first-child { grid-row: span 2; }
  .gallery[data-count="5"] li:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery[data-count="3"] li:first-child img, .gallery[data-count="5"] li:first-child img { aspect-ratio: auto; }
  /* Four, seven or ten pictures: four to a row where four fit and two where they do not, never three, which left the
     last alone from a tablet to a small laptop (768 to 1035px wide). The columns' least width is 15rem while four fit
     the row and half the row once they do not: 15rem plus a large multiple of how far four would overrun it, held
     between 15rem and half the row (64.5rem is four pictures and three of the widest gap a look gives them). A look
     that sets the gallery's columns itself writes a more specific rule in its own sheet, which wins. */
  .gallery[data-count="4"], .gallery[data-count="7"], .gallery[data-count="10"] {
    grid-template-columns: repeat(auto-fill, minmax(clamp(15rem, 15rem + (64.5rem - 100%) * 1000, 50% - 0.75rem), 1fr));
  }
}

/* FAQ */

/* ---------- Carousel ----------
   A scroll-snap track, so it works before site.js runs and keeps working if
   the script fails: swipe on a phone, drag or shift-scroll on a desktop, tab
   in and use the arrow keys. The buttons underneath are an enhancement, not
   the mechanism. */

.carousel { position: relative; }

/* Every sideways scroller here is `position: relative`: a scroller clips only
   what it is the containing block of, so an absolutely placed .sr-only label
   inside a slide escaped it and stretched the page. A phone then lets you pinch
   out to the whole width, and the page sits in the left part of the screen. */

.carousel__track {
  position: relative;
  --carousel-gap: 0.9rem; --per-view: 1;
  display: flex; gap: var(--carousel-gap); margin: 0; padding: 0 0 0.35rem; list-style: none;
  /* Snapping is only demanded where swiping is the interaction. On a
     desktop, `mandatory` makes Safari treat a two-finger scroll over the row
     as a horizontal gesture and snap, so the page underneath never moves;
     `proximity` lets the gesture's direction decide, and the arrows and dots
     still land exactly because they scroll to measured positions. */
  overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  /* The scrollbar is the only affordance without JavaScript, so it stays. */
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}

@media (pointer: coarse) { .carousel__track { scroll-snap-type: x mandatory; } }

.carousel__track:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.carousel__track::-webkit-scrollbar { height: 6px; }

.carousel__track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }

/* Whole pictures only: a slide is its share of the row, one on a phone, two
   from 48rem and three from 72rem, so the row never ends on a picture cut off
   at its edge; the status and the arrows say it goes on. It once took 78% of
   the row, and 46% from 48rem, to peek at the next, and every gallery's
   carousel showed one cut off. `min-width: 0` holds a slide to its share
   whatever is inside it. A fraction (3.2) would bring the peek back. */
.carousel__slide {
  flex: 0 0 calc((100% - var(--carousel-gap) * (var(--per-view) - 1)) / var(--per-view));
  min-width: 0; scroll-snap-align: start; margin: 0;
}

@media (min-width: 48rem) { .carousel__track { --per-view: 2; } }

@media (min-width: 72rem) { .carousel__track { --per-view: 3; } }

.carousel[data-per-view="1"] .carousel__track { --per-view: 1; }

.carousel__slide figure { margin: 0; }

.carousel__slide img {
  width: 100%; aspect-ratio: var(--carousel-ratio, 3 / 2); object-fit: cover;
  border-radius: var(--radius-lg); background: var(--tint);
}

.carousel__slide figcaption { margin-top: 0.6rem; font-size: 0.9rem; color: var(--muted); }

.carousel__controls {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 1.1rem;
}

/* "2 of 8 pictures": under the arrows on a gallery, beside them on the examples row. */
.carousel__status { flex-basis: 100%; order: 2; margin: 0; text-align: center; font-size: 0.9rem; color: var(--muted); }

/* 44px across: the smallest target a fingertip hits without trying. */
.carousel__nav {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: 0 0 auto;
  cursor: pointer; color: var(--ink); background: var(--paper);
  border: var(--rule); border-radius: 999px;
}

.carousel__nav:hover:not(:disabled) { color: var(--on-brand); background: var(--brand); border-color: var(--brand); }

.carousel__nav:disabled { opacity: 0.35; cursor: default; }

.carousel__nav .icon { width: 1.25rem; height: 1.25rem; }

.carousel__dots { display: flex; align-items: center; gap: 0.45rem; }

/* A phone's row holds the status and the two arrows, and no dots: the
   studio's twelve examples pushed the forward arrow onto a line of its own,
   away from the back arrow. The status already says where you are. More than
   eight places to stop is too many dots at any width (carousel.js). */
@media (max-width: 47.99rem) {
  .carousel__dots { display: none; }
}

.carousel__dot {
  width: 0.5rem; height: 0.5rem; padding: 0; cursor: pointer;
  background: var(--line); border: 0; border-radius: 999px;
  transition: width 0.18s var(--ease-out), background-color 0.18s var(--ease-out);
}

.carousel__dot[aria-current="true"] { width: 1.5rem; background: var(--brand); }

/* Showcase (`layout: "showcase"` on a gallery): one picture large, every
   picture as a thumbnail under it, a thumbnail bringing its picture into the
   frame. The frame is a snapped row, one picture to its width, and the
   thumbnails are links to their pictures' places in it, so it works with no
   script; theme/js/showcase.js keeps the page still and the mark current.
   Under the frame at every width, rather than down its side, and a phone
   shows it the same way.

   Each picture is shown whole, at its own shape, as large as the frame
   allows: never cropped, never enlarged past its own pixels, its corners
   rounded and its caption centred under it. The frame itself is not drawn.
   A gallery of phone photographs is mostly tall ones: a frame cut to one
   shape cropped the rest, and a tinted frame showed bars beside a tall one
   that sat flush to its top. `ratio` is how wide the frame grows at the
   height cap, so a wide picture can fill it. Every slide is the same height,
   so the thumbnails under it never move, and the cap is never taller than
   most of the window (the thumbnails stay in sight) or, on a phone, more
   than a little taller than the screen is wide. */

.showcase {
  --showcase-h: min(74vh, 44rem, 110vw);
  display: grid; gap: 0.8rem;
  max-width: calc(min(74vh, 44rem) * var(--showcase-ratio, 3 / 2)); margin-inline: auto;
}

.showcase__stage {
  position: relative; display: flex; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none;
}

.showcase__stage::-webkit-scrollbar { display: none; }

.showcase__stage:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.showcase__slide {
  flex: 0 0 100%; scroll-snap-align: start; margin: 0;
  display: flex; align-items: center; justify-content: center;
  min-height: calc(var(--showcase-h) + 2.4rem);
}

.showcase__slide figure { margin: 0; max-width: 100%; display: flex; flex-direction: column; align-items: center; }

.showcase__slide img { display: block; width: auto; height: auto; max-width: 100%; max-height: var(--showcase-h); border-radius: var(--radius-lg); }

.showcase__slide figcaption { padding-top: 0.6rem; font-size: 0.9rem; color: var(--muted); text-align: center; }

.showcase__thumbs {
  position: relative; display: flex; gap: 0.5rem; margin: 0; padding: 0.2rem 0.2rem 0.4rem; list-style: none;
  overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}

/* Thumbnails give a little before the strip scrolls, so a row that nearly
   fits under a narrower frame is not left with its last one cut off. */
.showcase__thumbs li { flex: 0 1 clamp(4rem, 3rem + 3vw, 6rem); min-width: 4rem; }

/* A row shorter than the frame is centred under it, as its picture is: from its
   edge, four thumbnails under a tall picture read as left behind. By the outer
   ones' margins rather than by centring the row, which cut off the first ones
   of a row too long to fit, and left them where no scroll could reach. */
.showcase__thumbs li:first-child { margin-inline-start: auto; }
.showcase__thumbs li:last-child { margin-inline-end: auto; }

.showcase__thumb {
  display: block; width: 100%; overflow: hidden;
  border-radius: var(--radius); opacity: 0.6; transition: opacity 0.15s var(--ease-out);
}

.showcase__thumb:hover,
.showcase__thumb[aria-current="true"] { opacity: 1; }

.showcase__thumb[aria-current="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--brand); }

.showcase__thumb img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }

@media (prefers-reduced-motion: reduce) { .showcase__stage { scroll-behavior: auto; } }

/* Cards as a swipeable row — the examples on the studio, reviews on any site
   (`layout: "carousel"` on the section). One, two or three whole cards to a
   view by width — never a card cut off at the edge, which reads as a layout
   bug however deliberate it is. That the row continues is said instead by the
   controls, which sit above the row beside the heading where the eye already
   is, with "1–3 of 6 reviews" next to them; a row that already fits shows no
   controls at all. Slides stretch to the tallest and the card fills its slide,
   so a short review does not leave a card hanging above the others' bottom
   edge; a scrollbar under a row of cards reads as a mistake. A fraction here
   (3.2) would show a sliver of the next card, if that were ever wanted. */

.cards-carousel .carousel { display: flex; flex-direction: column; }

/* One row that never breaks: the status on the left, the arrows together on the right. */
.cards-carousel .carousel__controls { order: -1; flex-wrap: nowrap; justify-content: flex-end; margin: 0 0 1.25rem; }

.cards-carousel .carousel__status { flex: 1 1 auto; min-width: 0; order: 0; text-align: left; }

.cards-carousel .carousel__track {
  --carousel-gap: 1.25rem;
  padding-bottom: 0.25rem; scrollbar-width: none;
}

.cards-carousel .carousel__track::-webkit-scrollbar { display: none; }

/* Each card is its slide's share of the row, as every carousel's picture is
   (above); `min-width: 0` there matters most here, where the studio's cards
   print their web address on one line: a longer address made its card wider
   than the others and pushed the third one off the edge. */
.cards-carousel .carousel__slide { display: flex; }

.cards-carousel .carousel__slide > * { flex: 1; }

.carousel__dot:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* Somebody who has asked their operating system to stop moving things means
   it: no smooth scrolling, no width transition, and autoplay never starts. */

@media (prefers-reduced-motion: reduce) {
  .carousel__track { scroll-behavior: auto; }
  .carousel__dot { transition: none; }
}

/* Embeds. A third party's iframe or widget arrives sized for somebody else's
   page; these are the two rules that stop it overflowing a phone. */

.s--html iframe { max-width: 100%; border: 0; }

.s--html .wrap > *:not(.s__head) { margin-inline: auto; }

.faq { max-width: 48rem; border-top: 1px solid var(--line); }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__item summary {
  position: relative; padding: 1.3rem 2.5rem 1.3rem 0;
  font-size: 1.15rem; font-weight: 600; cursor: pointer; list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 50%; width: 0.6rem; height: 0.6rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s var(--ease-out);
}

.faq__item[open] summary::after { transform: translateY(-25%) rotate(-135deg); }

.faq__a { max-width: var(--measure); padding-bottom: 1.5rem; color: var(--muted); }

@media (min-width: 56rem) {
  .s--faq > .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; }
  .s--faq .s__head { margin-bottom: 0; }
}

/* Call-to-action band */

/* A field of the brand: on a page the Mode knob turned dark the brand is lifted for its words and links, and a band of
   that was a pale slab with dark words; there the band takes the brand as a field (--brand-field, and its words
   --on-brand-field: brandField in src/contrast.mjs), which is the brand everywhere else. */
.s--cta {
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
  background: var(--brand-field, var(--brand)); color: var(--on-brand-field, var(--on-brand)); --focus: var(--on-brand-field, var(--on-brand));
}

/* A link in the band's own words takes the band's colour. The link colour is the brand's on a dark palette, which is the
   band itself; and an iPhone makes a link of any telephone number, address or date it finds in running text, so a band
   that says "Call (585) 555-0100" had a number nobody could see. Underlined, since the colour no longer says it is one. */
.s--cta a:not(.btn) { color: inherit; text-decoration: underline; }

.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }

.cta h2 { font-size: var(--step-3); }

.cta p { max-width: 40rem; margin-top: 0.6rem; font-size: 1.1rem; }

.cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Contact */

.contact { display: grid; gap: 3rem; }

.contact__list { display: grid; gap: 1.25rem; margin: 0 0 2.5rem; }

.contact__list dt { font-size: 0.9rem; font-weight: 500; color: var(--muted); }

/* A long email address breaks rather than widening a 320px phone's page. */
.contact__list dd { margin: 0.15rem 0 0; font-size: 1.25rem; font-weight: 600; overflow-wrap: anywhere; }

.contact__list address { font-style: normal; }
/* Getting here is directions in sentences, not a detail to read at a glance. */
.contact__list .contact__getting { font-size: 1rem; font-weight: 400; }
.contact__getting p { margin: 0; }
.contact__getting p + p { margin-top: 0.4rem; }

.contact__list a { color: var(--ink); text-decoration-color: var(--line); }

.contact__list a:hover { text-decoration-color: currentColor; }

.contact__list .contact__dir { display: inline-block; margin-top: 0.4rem; font-size: 1rem; color: var(--link); }

.contact__sub { margin-bottom: 0.75rem; font-size: var(--step-1); }

.hours { width: 100%; max-width: 26rem; border-collapse: collapse; }

.hours th, .hours td { padding: 0.55rem 0; text-align: left; border-bottom: 1px solid var(--line); }

.hours th { padding-right: 1.5rem; font-weight: 600; }

.hours__note { margin-top: 1rem; font-weight: 700; color: var(--brand); }
.hours__confirmed { margin: 0.75rem 0 0; font-size: 0.9rem; color: var(--muted); }

/* ---- Open now / closed: the line and the dot src/theme/js/hours.js fills in.
   The words carry the meaning; the dot only repeats it, so it is hidden from
   screen readers and its colours are the form's own success and error. ---- */
.hours__status { margin: 0 0 0.75rem; font-weight: 600; }
.hours__dot {
  display: inline-block; width: 0.55em; height: 0.55em; margin-right: 0.45em; border-radius: 50%; vertical-align: middle;
  /* A hairline in the text colour, so the dot holds its shape on a dark footer too. */
  box-shadow: 0 0 0 1px color-mix(in srgb, currentColor 35%, transparent);
}
.hours__dot--open { background: var(--dot-open, #1a7f37); }
.hours__dot--closed { background: var(--dot-closed, #b42318); }

/* ---- What someone on a phone came for, first: the number, the address, whether it is open (src/sections/contact.mjs).
   Tiles of one size, the tallest setting it, each with an edge of its own that reads on any look's paper: a look's
   hairline (--line) is too faint between two tiles of the same colour (Tor, 2026-11-03). Getting here, which door and
   where to park, is folded beside the address's directions. ---- */
.visit-first { display: grid; grid-auto-rows: 1fr; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.visit-first__tile {
  display: grid; gap: 0.4rem; align-content: start; padding: 1.25rem 1.5rem;
  background: var(--paper); border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); border-top: 3px solid var(--brand);
  border-radius: var(--radius);
}
.visit-first__label { font-size: 0.9rem; color: var(--muted); }
.visit-first__big { margin: 0; font-family: var(--font-display); font-size: var(--step-2); font-style: normal; line-height: 1.2; color: var(--ink); }
.visit-first__big a { color: inherit; text-decoration-color: var(--line); }
.visit-first__more { font-size: 1rem; color: var(--link); }
/* Its directions and getting here on one line; getting here opens under them, the whole line's width, and only its own
   tile grows to hold it: the others keep their size. */
.visit-first__links { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; align-items: baseline; }
.visit-first__getting summary { cursor: pointer; list-style: none; font-size: 1rem; color: var(--link); text-decoration: underline; text-underline-offset: 0.15em; }
.visit-first__getting summary::-webkit-details-marker { display: none; }
.visit-first__getting[open] { flex-basis: 100%; }
.visit-first__getting p { margin: 0.4rem 0 0; font-size: 0.95rem; color: var(--muted); }
.visit-first:has(.visit-first__getting[open]) { grid-auto-rows: auto; align-items: start; }
/* Laid out by the room the section has, not the window's (a look that sets headings in a column of their own, folio's,
   leaves the rest less), and by how many tiles there are. One column first: the tiles, the form, the rest. With room
   for the form and its details side by side, the form has the wider column and one or two tiles head the column
   beside it; with room for three tiles across, three go across the top. A row of one or two looked half empty, and the
   form was squeezed when its details had the wider column (Tor, 2026-11-03). `.contact.contact--visit` outweighs the
   arrangement every contact section has below. */
.visit { container: visit / inline-size; }
.contact.contact--visit { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@container visit (min-width: 44rem) {
  .contact.contact--visit {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-areas: "form tiles" "form details";
    grid-template-rows: auto 1fr; column-gap: 3rem; row-gap: 1.75rem; align-items: start;
  }
  .contact--visit > .visit-first { grid-area: tiles; grid-template-columns: minmax(0, 1fr); }
  .contact--visit > .contact-form { grid-area: form; }
  .contact--visit > .contact__info { grid-area: details; }
}
@container visit (min-width: 60rem) {
  .visit--3 > .contact.contact--visit { grid-template-areas: "tiles tiles" "form details"; grid-template-rows: auto auto; row-gap: 3rem; column-gap: 4rem; }
  .visit--3 > .contact--visit > .visit-first { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.visit ~ .map { margin-top: 3rem; }

.contact-form {
  align-self: start; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  --input: var(--input-paper, var(--paper));
}

.contact-form h3 { margin-bottom: 1.5rem; font-size: var(--step-2); }

.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }

.field label { font-size: 0.95rem; font-weight: 600; }

.field input, .field select, .field textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  font: inherit; color: inherit; background: var(--input);
  border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); border-radius: var(--radius);
}

.field textarea { resize: vertical; min-height: 8rem; }

.field-row { display: grid; gap: 0 1rem; }

.field-row .field { margin-bottom: 0.5rem; }

.field-hint { margin: 0 0 1.1rem; font-size: 0.875rem; color: var(--muted); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 1rem 0 0; font-weight: 600; }

.form-status:empty { display: none; }

.form-status.is-ok { color: #1a7f37; }

.form-status.is-error { color: #b42318; }

.form-note { margin-top: 1rem; font-size: 0.9rem; color: var(--muted); }

/* ---- Email signup and reminders: one short form in the contact form's card,
   centred so it sits under the heading whether a look centres headings or not ---- */
.s--signup .s__head, .s--reminder .s__head { margin-inline: auto; text-align: center; }
.signup-form, .reminder-form { max-width: 34rem; margin-inline: auto; }

.map { margin-top: 3rem; overflow: hidden; aspect-ratio: 16 / 7; border: 1px solid var(--line); border-radius: var(--radius-lg); }

.map iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (min-width: 36rem) { .field-row { grid-template-columns: 1fr 1fr; } }

@media (min-width: 56rem) { .contact { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 5rem; } .contact--solo { grid-template-columns: 1fr; } }

@media (max-width: 47.99rem) { .map { aspect-ratio: 4 / 3; } }

/* ==========================================================================
   Preset character
   The four presets below were added after the original three. Their overrides
   are grouped per preset rather than scattered through each section, because
   each one is a coherent look rather than a tweak. One bold element each.
   ========================================================================== */

/* ---- Before and after: two pictures in one figure, each labelled ---- */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.pair__side { position: relative; display: block; }
.pair__side img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.pair__label {
  position: absolute; top: 0.5rem; left: 0.5rem; padding: 0.15rem 0.5rem; border-radius: 999px;
  background: rgb(0 0 0 / 0.55); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
}
.pair figcaption { grid-column: 1 / -1; }
.gallery .pair, .carousel__slide .pair { height: auto; }

/* ---- Holiday hours: under the regular hours, soonest first ---- */
.hours__special { margin: 0.75rem 0 0; padding: 0; list-style: none; font-size: 0.95rem; }
.hours__special li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-top: 1px dashed var(--line); }

/* ---- People: the team, one card each ---- */
/* Under a centred heading the row is centred with it: left where it was, a
   team of three filled three of four columns and the empty fourth hung off
   one side. Whoever centres a section's heading sets --row-tracks and
   --row-justify beside it. On a phone the cards run full width regardless. */
.people {
  display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none;
  grid-template-columns: var(--row-tracks, repeat(auto-fill, minmax(min(100%, 14rem), 1fr)));
  justify-content: var(--row-justify, normal);
}
@media (max-width: 47.99rem) { .people { --row-tracks: initial; } }
/* Four people in rows of three left the fourth alone under a full row: on a
   tablet (Wagtail's groomers) and beside a look's narrower column on a laptop
   (a salon's stylists). So four take four columns where four 14rem cards fit
   the row, and two where they do not, never three. The column's least width is
   14rem until the row is too narrow for four, and then half the row: a step,
   made of 14rem plus a large multiple of how far four would overrun the row,
   held between 14rem and half the row (60.5rem is four cards and their three
   gaps). On a phone, half the row is under 14rem and the cards stay one to a
   row. A look that sets the people's columns itself writes as specific a rule
   later in its own sheet, which wins. */
.people:has(> :nth-child(4):last-child) {
  grid-template-columns: repeat(auto-fit, minmax(clamp(min(100%, 14rem), 14rem + (60.5rem - 100%) * 1000, 50% - 0.75rem), 1fr));
}
.person__photo { margin: 0 0 0.9rem; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); background: var(--tint); }
.person__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.person__name { margin: 0; font-size: var(--step-1); }
/* Two classes deep so this outranks `.person p` below, which would otherwise
   flatten the role against the name — a type selector beats a lone class. */
.person .person__role { margin: 0.15rem 0 0.5rem; color: var(--muted); font-size: 0.95rem; }
.person p { margin: 0; }
.person p + p { margin-top: 0.9rem; }

/* One person is not a row of cards with the row missing.
 *
 * The grid above is built for a team — a salon's stylists, a firm's partners —
 * and with a single card it laid a 14rem column against an empty two thirds of
 * the section. A one-person studio is the common case here, and it is the case
 * where this section matters most: it is the page answering "who am I actually
 * dealing with".
 */
.person:only-child { grid-column: 1 / -1; max-width: 42rem; justify-self: var(--row-justify, normal); }

@media (min-width: 48rem) {
  /* Portrait beside the words, once there is a portrait. Guarded, because the
     same layout with no photo leaves a 14rem hole where the face should be.

     Two columns and two children — the portrait and the block of words — so
     the prose stacks by itself. Placing the paragraphs directly in this grid
     instead made each one a row, which fails twice over: the portrait's height
     sets the first row's, dropping the role an inch below the name, and a
     fourth paragraph wraps back under the portrait into a 15rem column. */
  .person:only-child:has(.person__photo) {
    display: grid; grid-template-columns: 17rem 1fr; column-gap: 2.5rem;
    align-items: start; max-width: 56rem;
  }
  /* A hairline, because this portrait is usually a head against a pale studio
     ground and the section it sits in is tinted — without an edge the two
     washes meet and the picture has no shape. Only here: a team's photographs
     fill their frames and need no help. */
  .person:only-child:has(.person__photo) .person__photo {
    margin: 0; border: 1px solid var(--line);
  }
  /* A photograph shown whole (fit: "contain") is usually wider than it is
     tall: the owner with somebody, holding an award. In the portrait's 17rem
     column it shrank to a strip, so it takes half the card instead. */
  .person:only-child:has(.person__photo.is-contain) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* A picture shown whole (fit: "contain"): the frame takes the picture's own
   shape instead of imposing one, and nothing is cropped. Important, because a
   design's own shape for the frame outranks a single class: storefront's 4:5
   arch kept the frame tall round a pub's wide sign, a gap under it. */
.is-contain { aspect-ratio: auto !important; }
.is-contain img { height: auto; object-fit: contain; }

/* Four points in a three-wide grid leaves one on a row of its own, which
   reads as a mistake rather than a list. Two columns divides four evenly on a
   desktop and still stacks to one on a phone, where every grid here does. */
.svc-list--pairs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); }

/* ---------------------------------------------------------------------------
   Styles, from the `style` knob.

   The register the site is pitched in, independent of what kind of business it
   is and what colour it is. A law practice and a taproom can share a layout and
   a palette and should still not look like the same website.

   The first version of this moved radius, border weight and heading weight, and
   the honest verdict was that it did almost nothing. What actually separates
   these is bigger: the size of the headlines, whether words are set in capitals,
   what a button even looks like, how much air a section gets, and what happens
   to a photograph. So each block reaches for those.
   --------------------------------------------------------------------------- */

/* ---- Professional: structured, dense, nothing shouting ------------------- */
:root[data-style="professional"] {
  --radius: 3px; --radius-lg: 4px; --radius-btn: 3px;
  --line: color-mix(in srgb, var(--ink) 22%, transparent);
  --display-weight: 600; --display-tracking: -0.005em;
  --hero-size: clamp(2rem, 1.5rem + 2.4vw, 3rem);
  --step-3: clamp(1.4rem, 1.2rem + 0.9vw, 1.8rem);
  --space-section: clamp(2.75rem, 2.25rem + 3vw, 4.5rem);
  --card-shadow: none;
}
[data-style="professional"] .s + .s { border-top: 1px solid var(--line); }
[data-style="professional"] .svc__title {
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem;
}
[data-style="professional"] .btn { padding: 0.7em 1.1em; font-size: 0.92rem; }
[data-style="professional"] .gallery img, [data-style="professional"] .hero__photo img { filter: saturate(0.9); }

/* ---- Minimalist: air instead of edges ------------------------------------ */
:root[data-style="minimal"] {
  --radius: 0px; --radius-lg: 0px; --radius-btn: 0px;
  --line: color-mix(in srgb, var(--ink) 10%, transparent);
  --display-weight: 300; --display-tracking: 0.005em;
  --hero-size: clamp(2.4rem, 1.6rem + 3.6vw, 4rem);
  --space-section: clamp(6rem, 4.5rem + 8vw, 11rem);
  --card-edge: 0 solid transparent; --card-shadow: none;
  --max: 64rem;
}
[data-style="minimal"] .checks,
[data-style="minimal"] .quote { background: none; padding-inline: 0; }
[data-style="minimal"] .svc__icon { display: none; }
[data-style="minimal"] .svc { border-top: 0; }
/* A button that is a line of text with a rule under it. Nothing else on the
   page is boxed, so a filled rectangle would be the loudest thing on it. */
/* Its colour is its surroundings': a band of the brand, a dark hero or a dark
   header each set a text colour that reads on them, and a line of text that
   insisted on the ink went dark-on-dark on every one of them. */
[data-style="minimal"] .btn {
  padding: 0.35em 0; border: 0; border-bottom: 1px solid currentColor;
  background: none; color: inherit; font-weight: 500; letter-spacing: 0.02em;
}
[data-style="minimal"] .btn:hover { background: none; color: inherit; border-bottom-width: 2px; }

/* ---- Playful: round, heavy, and coloured --------------------------------- */
:root[data-style="playful"] {
  --radius: 16px; --radius-lg: 28px; --radius-btn: 999px;
  --display-weight: 800; --display-tracking: -0.025em;
  --hero-size: clamp(2.8rem, 1.8rem + 5vw, 5rem);
  --card-edge: 2px solid color-mix(in srgb, var(--brand) 25%, transparent);
  --card-shadow: 0 12px 28px -16px color-mix(in srgb, var(--brand) 80%, transparent);
}
[data-style="playful"] .gallery img,
[data-style="playful"] .hero__photo,
[data-style="playful"] .about__photo { border-radius: var(--radius-lg); }
[data-style="playful"] .svc__icon {
  width: 3.5rem; height: 3.5rem; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
}
[data-style="playful"] .btn { padding: 1em 1.8em; font-weight: 700; }
[data-style="playful"] .s--tint { border-radius: var(--radius-lg); }
/* The gradient that used to be its own knob. A style that rounds everything and
   colours its shadows wants its sections washed too; asking separately produced
   pairs that argued with each other.
   Not the call to action: it is a band of the brand colour with light words on
   it, and a wash of the paper laid over the colour left those words white on
   white. */
[data-style="playful"] .s:not(.s--tint, .s--cta):nth-of-type(odd) {
  background-image: linear-gradient(to bottom, color-mix(in srgb, var(--brand) 16%, var(--paper)), var(--paper));
}
[data-style="playful"] .s:not(.s--tint, .s--cta):nth-of-type(even) {
  background-image: linear-gradient(to top, color-mix(in srgb, var(--accent) 14%, var(--paper)), var(--paper));
}

/* ---- Bold: hard edges, capitals, shadows with no blur -------------------- */
:root[data-style="brutal"] {
  --radius: 0px; --radius-lg: 0px; --radius-btn: 0px;
  --line: var(--ink);
  --display-weight: 800; --display-tracking: -0.035em;
  --hero-size: clamp(3rem, 1.8rem + 6vw, 5.5rem);
  --card-edge: 3px solid var(--ink);
  --card-shadow: 8px 8px 0 var(--ink);
}
[data-style="brutal"] .hero__title { text-transform: uppercase; line-height: 0.92; }
[data-style="brutal"] .gallery img, [data-style="brutal"] .about__photo, [data-style="brutal"] .hero__photo {
  border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink);
}
[data-style="brutal"] .btn {
  border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  text-transform: uppercase; letter-spacing: 0.04em; font-weight: 800;
}
[data-style="brutal"] .btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
[data-style="brutal"] .svc__icon { border: 3px solid var(--ink); border-radius: 0; }

/* ---- Editorial: print habits --------------------------------------------- */
:root[data-style="editorial"] {
  --radius: 0px; --radius-lg: 0px; --radius-btn: 0px;
  --display-weight: 700; --display-tracking: -0.025em;
  --hero-size: clamp(3.2rem, 2rem + 6.5vw, 6rem);
  --step-3: clamp(2rem, 1.5rem + 2.2vw, 3rem);
  --card-edge: 0 solid transparent; --card-shadow: none;
  --max: 68rem;
}
[data-style="editorial"] .s__head { border-top: 3px solid var(--ink); padding-top: 1.25rem; }
[data-style="editorial"] .hero__title { line-height: 0.92; }
[data-style="editorial"] .checks, [data-style="editorial"] .quote { background: none; padding-inline: 0; }
[data-style="editorial"] .quote { border-left: 4px solid var(--ink); padding-left: 1.5rem; }
[data-style="editorial"] .svc__icon { display: none; }
[data-style="editorial"] .btn {
  padding: 0.4em 0; border: 0; border-bottom: 3px solid currentColor;
  background: none; color: inherit; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
[data-style="editorial"] .btn:hover { background: none; color: inherit; border-bottom-color: var(--accent); }
/* Bands, the way a newspaper separates a feature from the page around it. */
[data-style="editorial"] .s:nth-of-type(even) {
  background-color: color-mix(in srgb, var(--brand) 12%, var(--paper));
}

/* ---- templates.css ---- */
/* ---------------------------------------------------------------------------
   Templates, from the `template` knob.

   How the page is arranged, as opposed to what kind of business it is (preset)
   or what register it is pitched in (style): the "Layout" row of the switcher.
   Each is a different arrangement of the same content, and every section has
   to come out of it readable — a full-screen hero is already the Hero knob,
   and a hidden or fixed navigation the Header knob's.

   Moved here from sections.css when four joined the first three; the file
   sits straight after it in css/ORDER.json, so the cascade is unchanged.
   --------------------------------------------------------------------------- */

/* One column, narrow, centred. Everything becomes a vertical stream, which is
   what a phone already does — so this is the arrangement that needs no
   rearranging on the way down to one.

   The measure is put on the content, not on `--max`. `.wrap` is shared by the
   header and the footer as well as the sections, so narrowing the token to
   46rem squeezed the navigation: the wordmark broke over three lines and the
   phone number over three more. A reading measure is for reading, not for
   chrome. */
[data-template="single"] .s > .wrap,
[data-template="single"] .hero__grid { max-width: 46rem; }
[data-template="single"] .svc-list,
[data-template="single"] .quotes,
[data-template="single"] .gallery,
[data-template="single"] .menu { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 56rem) {
  [data-template="single"] .hero__grid { grid-template-columns: minmax(0, 1fr); }
  /* The about section stacks too — its words, then the picture and the facts —
     at its narrow-screen gap. Inside the 46rem measure, its two columns left
     the words a strip down one side. */
  [data-template="single"] .about { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  [data-template="single"] .hero__copy,
  [data-template="single"] .s__head { text-align: center; margin-inline: auto; }
  [data-template="single"] .s { --row-tracks: repeat(auto-fit, minmax(min(100%, 14rem), 17rem)); --row-justify: center; }
  [data-template="single"] .hero__actions,
  [data-template="single"] .hero__badges { align-items: center; justify-content: center; }
  [data-template="single"] .hero__text { margin-inline: auto; }
}

/* Two equal halves, alternating down the page: the picture takes one side and
   the words the other, and the next section swaps them. */
@media (min-width: 56rem) {
  /* Not when the photo is behind the words: `hero=full` takes the picture out
     of the flow, so a second column has nothing to hold — and the copy would
     get half the width while the container query still saw the whole grid and
     split the badges off into six rems of it. */
  [data-template="split"]:not([data-hero="full"]):not([data-hero="screen"]) .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; }
  [data-template="split"] .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-template="split"] .about__photo, [data-template="split"] .hero__photo { aspect-ratio: 1; }
}

/* A bento for the pictures and a card grid for the words.

   The first version gave the first item two columns and two rows in both. That
   works for a photograph, which crops to whatever box it is given, and fails
   for a service, whose three lines of text then sit at the top of a box twice
   their height with a hole underneath. Six items do not tile into four columns
   either, so the last row ended half empty.

   So the pictures get the bento, where an uneven grid is the point and nothing
   can leave a gap, and the services get equal cards that are simply cards. */
@media (min-width: 56rem) {
  [data-template="grid"] .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 12rem; gap: 1rem;
  }
  [data-template="grid"] .gallery > :first-child { grid-column: span 2; grid-row: span 2; }
  [data-template="grid"] .gallery > :nth-child(4) { grid-column: span 2; }
  [data-template="grid"] .gallery figure, [data-template="grid"] .gallery img {
    height: 100%; width: 100%; object-fit: cover;
  }

  /* Cards, all the same size, three across. The difference from the default is
     that a service becomes a bounded object rather than a row under a rule. */
  [data-template="grid"] .svc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  [data-template="grid"] .svc {
    padding: 1.5rem; border: var(--card-edge);
    border-radius: var(--radius-lg); box-shadow: var(--card-shadow);
  }
}

/* Sidebar menu: the name, the menu and the call button in a column of their
   own down the left, fixed while the page scrolls past it — the two-column
   page. Only where the menu is laid out at all: under 64rem the header is the
   bar it always is, its menu behind the button.

   The header knob's arrangements are for a bar across the top, so this wins
   over them, and so it does over a look that floats or rounds its header bar:
   a column has no room for either. Hence `body >`, a step more specific than
   a look's own `:root[data-look] .site-header`. */
@media (min-width: 64rem) {
  :root[data-template="sidebar"] { --side: 17rem; scroll-padding-top: 1.5rem; }
  :root[data-template="sidebar"] body > .site-header {
    position: fixed; inset: 0 auto 0 0; width: var(--side); height: auto; margin: 0;
    border: 0; border-right: 1px solid var(--line); border-radius: 0; box-shadow: none;
    overflow-y: auto; z-index: 30;
  }
  :root[data-template="sidebar"] body > .site-header .header__inner {
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
    min-height: 100%; width: auto; max-width: none; margin: 0; padding: 2.25rem 1.75rem 1.75rem; gap: 2.25rem;
  }
  :root[data-template="sidebar"] body > .site-header .brand { margin: 0; align-items: flex-start; text-align: left; }
  :root[data-template="sidebar"] body > .site-header .brand--marked { flex-direction: row; }
  :root[data-template="sidebar"] body > .site-header .site-nav {
    display: block; position: static; inset: auto; margin: 0; padding: 0;
    border: 0; box-shadow: none; background: none;
  }
  :root[data-template="sidebar"] body > .site-header .site-nav ul { flex-direction: column; gap: 0.1rem; width: auto; margin: 0; padding: 0; }
  :root[data-template="sidebar"] body > .site-header .site-nav li + li { border-top: 0; }
  :root[data-template="sidebar"] body > .site-header .site-nav a { display: block; padding-block: 0.45rem; font-size: 1rem; }
  :root[data-template="sidebar"] body > .site-header .header__actions {
    margin-top: auto; flex-direction: column; align-items: stretch; gap: 0.6rem;
  }
  :root[data-template="sidebar"] body > .site-header .header-call,
  :root[data-template="sidebar"] body > .site-header .open-now { justify-content: center; }
  :root[data-template="sidebar"] body > .site-header .nav-toggle { display: none; }
  /* The page moves over as a whole, so whatever a look sizes against the
     width — a footer drawn as a pane, a floating panel — sizes against what is
     left beside the column rather than spilling past the window. */
  :root[data-template="sidebar"] body { padding-left: var(--side); }
  :root[data-template="sidebar"] .preview-pill { left: calc(var(--side) + 1rem); }
}

/* The three below arrange what is inside the sections, and a look arranges
   some of the same things itself — its own grid for the services, no margin
   on a card — with selectors more specific than a knob's. A knob's
   arrangement wins over a look's, as the hero and template knobs already do,
   so the arranging declarations here (columns, gaps, spans, margins, sides)
   are marked important; how each card is drawn stays the look's. */

/* Masonry: columns that fill from the top, each card or picture its own
   height. Photographs keep their own shape, so a portrait from a phone is
   not cropped to fit a row, and reviews of every length stand side by side
   without a gap under the short ones. Services become cards to do it, as in
   the grid; a restaurant's menu rows are left as they are. */
@media (min-width: 56rem) {
  [data-template="masonry"] :is(.quotes, .gallery, .people),
  [data-template="masonry"]:not([data-preset="table"]) .svc-list {
    display: block !important; columns: 3 15rem !important; column-gap: 1.25rem !important;
  }
  [data-template="masonry"] :is(.quotes, .gallery, .people) > *,
  [data-template="masonry"]:not([data-preset="table"]) .svc-list > * {
    break-inside: avoid; width: 100%; margin: 0 0 1.25rem !important;
  }
  [data-template="masonry"] .gallery img { flex: none; height: auto !important; aspect-ratio: auto !important; }
  [data-template="masonry"]:not([data-preset="table"]) .svc {
    padding: 1.5rem; border: var(--card-edge);
    border-radius: var(--radius-lg); box-shadow: var(--card-shadow);
  }
}

/* Magazine: a lead, and the rest. The first service is a feature across the
   whole width, its title and words set larger; the first review is a pull
   quote; the first picture runs wide over a strip of the others. The about
   section reads in two columns with a dropped initial, as a feature does, and
   the questions run in two columns. */
@media (min-width: 56rem) {
  /* Columns only: the gap is the look's, and a hairline grid has none. */
  [data-template="magazine"]:not([data-preset="table"]) .svc-list { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  /* Whatever span a look gives its cards (bento's wide tiles) is undone: the
     layout decides where each one goes. */
  [data-template="magazine"]:not([data-preset="table"]) .svc { grid-column: auto !important; grid-row: auto !important; }
  [data-template="magazine"]:not([data-preset="table"]) .svc:first-child {
    grid-column: 1 / -1 !important; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.75rem; align-items: start;
  }
  [data-template="magazine"]:not([data-preset="table"]) .svc:first-child > .svc__icon { grid-row: 1 / span 4; width: 4rem; height: 4rem; }
  [data-template="magazine"]:not([data-preset="table"]) .svc:first-child > :not(.svc__icon) { grid-column: 2; }
  [data-template="magazine"]:not([data-preset="table"]) .svc:first-child > .svc__title { font-size: var(--step-3); }
  [data-template="magazine"]:not([data-preset="table"]) .svc:first-child > p { font-size: var(--step-1); max-width: 40rem; }

  [data-template="magazine"] .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  [data-template="magazine"] .quotes > :first-child { grid-column: 1 / -1 !important; padding: 2.5rem; }
  [data-template="magazine"] .quotes > :first-child blockquote { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.35; }

  [data-template="magazine"] .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; grid-auto-rows: auto !important; }
  [data-template="magazine"] .gallery > * { grid-column: auto !important; grid-row: auto !important; }
  [data-template="magazine"] .gallery > :first-child { grid-column: 1 / -1 !important; }
  [data-template="magazine"] .gallery > :first-child img { aspect-ratio: 21 / 9 !important; }

  [data-template="magazine"] .about__text { columns: 2 15rem; column-gap: 2.25rem; }
  [data-template="magazine"] .about__text > :is(.s__head, .about__sig) { column-span: all; }
  [data-template="magazine"] .about__text > p:first-of-type::first-letter {
    float: left; margin: 0.08em 0.12em 0 0; font-family: var(--font-display); font-size: 3.6em; line-height: 0.82; color: var(--brand);
  }

  [data-template="magazine"] .faq { max-width: none; columns: 2 20rem; column-gap: 3rem; border-top: 0; }
  [data-template="magazine"] .faq__item { break-inside: avoid; }
}

/* Zig-zag: the eye goes across and back down the page. Each service is a row
   half the width, the next one pushed to the other side with its icon on the
   far side of its words; the reviews stagger the same way; the team alternate
   picture and words; the steps run down a centre line, one side and then the
   other; the gallery's rows go wide then narrow, then narrow then wide; and
   the about section takes its picture on the left. */
@media (min-width: 56rem) {
  [data-template="zigzag"]:not([data-preset="table"]) .svc-list { grid-template-columns: minmax(0, 1fr) !important; gap: 1rem !important; }
  /* Whatever span a look gives its cards (bento's wide tiles) is undone: in a
     single column a span of two makes a second, and the cards are squeezed. */
  [data-template="zigzag"]:not([data-preset="table"]) .svc,
  [data-template="zigzag"] :is(.quote, .person, .step) { grid-column: 1 !important; grid-row: auto !important; }
  [data-template="zigzag"]:not([data-preset="table"]) .svc {
    display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.5rem; align-content: start;
    width: min(100%, 40rem) !important; justify-self: start !important;
  }
  [data-template="zigzag"]:not([data-preset="table"]) .svc > .svc__icon { grid-row: 1 / span 4; margin-bottom: 0; }
  [data-template="zigzag"]:not([data-preset="table"]) .svc > :not(.svc__icon) { grid-column: 2; }
  [data-template="zigzag"]:not([data-preset="table"]) .svc:nth-child(even) { justify-self: end !important; grid-template-columns: minmax(0, 1fr) auto; }
  [data-template="zigzag"]:not([data-preset="table"]) .svc:nth-child(even) > .svc__icon { grid-column: 2; }
  [data-template="zigzag"]:not([data-preset="table"]) .svc:nth-child(even) > :not(.svc__icon) { grid-column: 1; }

  [data-template="zigzag"] .quotes { grid-template-columns: minmax(0, 1fr) !important; }
  [data-template="zigzag"] .quote { width: min(100%, 40rem) !important; justify-self: start !important; }
  [data-template="zigzag"] .quote:nth-child(even) { justify-self: end !important; }

  [data-template="zigzag"] .people { grid-template-columns: minmax(0, 1fr) !important; gap: 2.5rem !important; }
  [data-template="zigzag"] .person {
    display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 2rem; align-items: center;
    width: min(100%, 52rem) !important; justify-self: start !important;
  }
  [data-template="zigzag"] .person:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 15rem); justify-self: end !important; }
  [data-template="zigzag"] .person:nth-child(even) > .person__photo { order: 2; }
  [data-template="zigzag"] .person__photo { margin: 0; }

  [data-template="zigzag"] .steps {
    position: relative; grid-template-columns: minmax(0, 1fr) !important; grid-auto-flow: row !important; gap: 1.5rem !important;
  }
  [data-template="zigzag"] .steps::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--line);
  }
  [data-template="zigzag"] .step { width: calc(50% - 2rem) !important; justify-self: start !important; flex-direction: row; }
  [data-template="zigzag"] .step:nth-child(even) { justify-self: end !important; }

  [data-template="zigzag"] .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; grid-auto-rows: 15rem !important; }
  [data-template="zigzag"] .gallery > * { grid-column: auto !important; grid-row: auto !important; }
  [data-template="zigzag"] .gallery > :is(:nth-child(4n+1), :nth-child(4n+4)) { grid-column: span 2 !important; }
  [data-template="zigzag"] .gallery figure,
  [data-template="zigzag"] .gallery img { height: 100% !important; width: 100%; aspect-ratio: auto !important; object-fit: cover; }

  [data-template="zigzag"] .about { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr) !important; }
  [data-template="zigzag"] .about > .about__side { order: -1; }
}

/* ---- beforeafter.css ---- */
/* Before and after: two photographs of the same place, one slider between
   them.

   The layout is chosen by whether the client script ran. Without it the pair
   sits side by side, which is what a magazine would print — a fine way to
   show the work and not a broken version of anything. With it, the two stack
   and a slider wipes between them.

   Shoot both photographs from the same spot: the frame crops them to one
   shape, and a pair taken from two different angles reads as two jobs. */

.ba-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }

/* Balanced by their number. A laptop's row holds three, so four pairs were
   three and one left alone under them (a detailer's four, 2026-11-02), and
   one pair took the whole width of the page. One is held to a size a
   photograph of a car seat reads at, centred; four are two by two, each
   pair larger than three across would draw it, which is what a before and
   after is for. At 60rem three pairs (three 20rem columns and two gaps) no
   longer fit, so the grid takes two to a row, and one on a phone. */
.ba-grid[data-count="1"] { max-width: 48rem; margin-inline: auto; }

.ba-grid[data-count="4"] { max-width: 60rem; margin-inline: auto; row-gap: 2rem; }

.ba { margin: 0; }

.ba figcaption { margin-top: 0.6rem; font-size: 0.9rem; color: var(--muted); }

.ba__img {
  width: 100%; height: 100%; display: block;
  aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg); background: var(--tint);
}

.ba__label {
  position: absolute; bottom: 0.6rem; z-index: 3;
  padding: 0.15rem 0.5rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em;
  /* Said in words, not only by which side it is on: "the left one" is not
     available to somebody looking at one photograph at a time. */
  background: rgb(0 0 0 / 0.66); color: #fff;
}

.ba__label--before { left: 0.6rem; }

.ba__label--after { right: 0.6rem; }

/* ---- Without the script: the pair, side by side ------------------------- */

.ba__frame { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }

.ba__side { position: relative; display: block; }

.ba__handle, .ba__range { display: none; }

/* ---- With the script: one frame, wiped by the slider -------------------- */

.js .ba__frame {
  position: relative; display: block; gap: 0;
  aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  /* Where the wipe sits. The script writes this; the value here is what the
     range starts at, so the first paint already matches the thumb. */
  --ba: 50%;
}

.js .ba__side { position: absolute; inset: 0; }

.js .ba__img { aspect-ratio: auto; border-radius: 0; }

/* The after photograph is the base and the before is laid over it, clipped
   to everything left of the wipe. */
.js .ba__side--before { clip-path: inset(0 calc(100% - var(--ba)) 0 0); z-index: 2; }

.js .ba__handle {
  display: block; position: absolute; top: 0; bottom: 0; left: var(--ba);
  width: 2px; margin-left: -1px; z-index: 3;
  background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.25);
}

/* The range covers the whole frame and shows nothing but its thumb, so the
   photographs are what you see and the native control is what you use. */
.js .ba__range {
  display: block; position: absolute; inset: 0; z-index: 4;
  width: 100%; height: 100%; margin: 0; padding: 0;
  -webkit-appearance: none; appearance: none;
  background: transparent; cursor: ew-resize;
}

.js .ba__range:focus { outline: none; }

.ba__range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 2.25rem; height: 2.25rem; border-radius: 999px;
  background: #fff; border: 2px solid var(--brand); box-shadow: 0 1px 6px rgb(0 0 0 / 0.3);
  cursor: ew-resize;
}

.ba__range::-moz-range-thumb {
  width: 2.25rem; height: 2.25rem; border-radius: 999px;
  background: #fff; border: 2px solid var(--brand); box-shadow: 0 1px 6px rgb(0 0 0 / 0.3);
  cursor: ew-resize;
}

.ba__range::-moz-range-track { background: transparent; border: 0; }

/* Focus has to be visible on the thumb itself: an outline around the frame
   would be an outline around a photograph, which says nothing about what the
   keyboard is about to move. */
.ba__range:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--focus); outline-offset: 2px; }

.ba__range:focus-visible::-moz-range-thumb { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---- actions.css ---- */
/* The rating line, and the row of things a visitor can do besides call:
   pay an invoice, leave a review, save the contact, share the site.

   Both appear in more than one place — the rating in the hero and the
   footer, the actions in the contact section and the footer — so each is
   styled once here and adjusted where it lands. */

/* ---- The rating line ---------------------------------------------------- */

.rating {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin: 1.25rem 0 0; font-size: 0.95rem; font-weight: 600;
  /* Inherited, never stated: this line sits on a brand-coloured hero on one
     preset and on paper on the next, and the block around it has already had
     its colour checked for contrast. Naming ink here put dark text on a dark
     hero. */
  color: inherit; text-decoration: none;
}

.rating .icon {
  width: 1.1rem; height: 1.1rem;
  /* The one place the accent colour is a fill rather than a stroke: a hollow
     star reads as "not rated" at a glance. Its outline is the line's own words'
     colour, a little of the accent in it: a pale accent alone (rose's pink,
     claret's champagne, evergreen's lime) was a star at 1.5:1 on the paper,
     and the words' colour reads wherever the line is set. */
  fill: var(--accent); color: color-mix(in srgb, currentColor 80%, var(--accent));
}

a.rating:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.rating--hero { margin-top: 1.5rem; }

.site-footer .rating { margin-top: 0.75rem; font-size: 0.9rem; }

/* ---- The row of actions ------------------------------------------------- */

.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }

/* In the footer they are links in a list, not buttons: four outlined
   rectangles at the bottom of a page is a toolbar, and nothing down there is
   urgent enough to be one. */
.footer__actions { margin-top: 0.75rem; }

/* The share control is a <button> wherever it appears, because there is
   nowhere for it to go. In the footer it has to look like the links beside
   it, which means undoing everything a button brings with it. */
.share--link {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: inherit; text-align: left;
  /* Underlined like the links it sits among: a control that behaves like a
     link and does not look like one is a control nobody presses. */
  text-decoration: underline; text-underline-offset: 0.2em;
}

.share--link:hover { text-decoration-thickness: 2px; }

.share--link:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

/* ---- pages.css ---- */
.simple { padding-block: clamp(5rem, 4rem + 6vw, 9rem); text-align: center; }

.simple h1 { font-size: var(--step-4); }

.simple p { max-width: 36rem; margin: 1rem auto 2rem; font-size: var(--step-1); color: var(--muted); }

/* A page of paragraphs — the accessibility statement — reads left-aligned. */
.simple--text { text-align: left; }
.simple--text p { margin: 1rem 0; max-width: 40rem; color: var(--ink); font-size: var(--step-0); }
.simple--text .simple__meta { color: var(--muted); }
.simple--text .btn { margin-top: 1.5rem; }

/* The panel a page with no hero carries (src/page-panel.mjs): hidden here, and
   shown only by a look that pins one beside the page (diptych). */
.page-panel { display: none; }

/* ---- footer.css ---- */
.site-footer {
  padding-block: 4rem 2rem; background: var(--ink); font-size: 0.95rem;
  color: color-mix(in srgb, var(--on-ink) 80%, var(--ink)); --focus: var(--accent);
}

.site-footer a { color: var(--on-ink); }

/* The muted gray the hours' "confirmed" line wears on a page is drawn for paper,
   and the footer is ink: here it takes the footer's own text, as the hours do. */
.site-footer .hours__confirmed { color: inherit; }

.footer__grid { display: grid; gap: 2.5rem; }

.footer__brand {
  margin-bottom: 0.5rem; color: var(--on-ink); line-height: 1.1;
  font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch);
  font-size: var(--step-2);
}

.footer__h { margin-bottom: 0.75rem; font: 700 0.95rem/1.3 var(--font-body); color: var(--on-ink); }

.footer__list, .footer__social { display: grid; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }

.footer__social { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.25rem; margin-top: 1rem; }

/* A mark instead of a word. Sized to the touch target rather than the glyph:
   the drawing is 22px and the tappable square around it is 44, which is the
   smallest thing a thumb can be asked to hit. The negative margin keeps that
   padding from pushing the row out of line with the columns beside it. */
.footer__mark { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: -0.6rem; padding: 0; }
.footer__mark .icon--brand { width: 1.375rem; height: 1.375rem; }
.footer__mark:hover .icon--brand, .footer__mark:focus-visible .icon--brand { opacity: 1; }
.footer__mark .icon--brand { opacity: 0.8; transition: opacity 0.15s var(--ease-out); }

.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem;
  margin-top: 3rem; padding-top: 1.5rem; font-size: 0.875rem;
  border-top: 1px solid color-mix(in srgb, var(--on-ink) 18%, transparent);
}

.footer__base p { margin: 0; }

@media (min-width: 48rem) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* Every link in the footer is a target of at least 24px, small type or not. */
.footer__list a, .footer__social a, .footer__base a { display: inline-block; padding-block: 0.2rem; }

/* ---- form.css ---- */
/* The contact form's enquiry-mode chooser and the switcher panel. */

.ask { margin: 0 0 1rem; padding: 0; border: 0; }

.ask legend { padding: 0; font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-bottom: 0.45rem; }

.ask__opt {
  display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer;
  padding: 0.45rem 0.8rem; margin: 0 0.4rem 0.4rem 0;
  border: 1px solid var(--line); border-radius: 999px; font-size: 0.92rem;
}

.ask__opt:has(input:checked) { border-color: var(--brand); background: var(--tint); font-weight: 600; }

.ask__opt input { accent-color: var(--brand); }

/* ---------- Theme switcher (previews only) ----------
   Deliberately not styled like the site around it: it is our tool sitting on
   the prospect's page, and should read as such rather than as a feature of
   their business's website. */

/* The claim page's second route: pay, or just say yes. Given the same visual
   weight as the plans, because for a lot of owners it is the only one they
   will use. */

/* The "+" between two prices that add up. Hidden from screen readers — the
   words already say "then", and a lone plus read aloud is noise. */

.tiers__join {
  display: grid; place-items: center; padding: 0;
  font-size: var(--step-3); font-weight: 700; color: var(--muted);
}

@media (max-width: 47.99rem) {
  .tiers__join { padding: 0.25rem 0; }
}

.plan__plus {
  display: block; margin-top: 0.35rem; font-size: var(--step-1);
  font-weight: 400; color: var(--muted);
}

/* The plan's name, and its badge if it has one, on one row. Only one card
   carries a badge, so in the flow it pushed that card's price, points and
   button below its opposite number and the two stopped reading as a pair. */
/* The min-height is the point: a badge is taller than a plan name (26px
   against 18px here), so the card carrying one pushed its own price, points
   and button 8px below its neighbour's. Reserving the badge's height on both
   cards lines the two up exactly, whether or not either has one. Generous
   enough to cover every preset's typeface rather than tuned to one. */
.plan__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; width: 100%; min-height: 2rem;
}

.plan__badge {
  flex: 0 0 auto; margin: 0; padding: 0.2rem 0.6rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.01em;
  color: var(--on-accent); background: var(--accent); border-radius: 999px;
}

/* The recommended plan. A recoloured hairline was not enough to read as
   picked out — at a glance both cards looked the same weight — so the ring
   doubles the border without moving anything, which a thicker border would. */
.plan--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.claim__alt {
  margin-top: 2.5rem; padding: 1.75rem; text-align: center;
  background: var(--tint); border: var(--rule); border-radius: var(--radius-lg);
}

.claim__alt h2 { font-size: var(--step-2); margin-bottom: 0.5rem; }

.claim__alt p { max-width: 34rem; margin: 0 auto; color: var(--muted); }

.claim__alt-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.25rem;
}

.claim__alt-actions .btn { margin: 0; }

.themer { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; font-size: 0.875rem; }

.themer__toggle {
  display: block; margin-left: auto; padding: 0.55rem 0.9rem; cursor: pointer;
  background: #1b1f23; color: #fff; border: 1px solid #333a41; border-radius: 999px;
  font: inherit; font-weight: 600; box-shadow: 0 6px 20px -8px rgb(0 0 0 / 0.5);
}

.themer__toggle:hover { background: #262b31; }

.themer__panel {
  margin-top: 0.6rem; width: min(20rem, calc(100vw - 2rem)); padding: 1rem;
  box-sizing: border-box;
  /* Five controls plus the code box is a tall panel, and a laptop in a hotel
     room is a short screen. Scroll inside rather than off the bottom. */
  max-height: min(34rem, calc(100vh - 5rem)); overflow-y: auto; overscroll-behavior: contain;
  background: #1b1f23; color: #e8edf1; border: 1px solid #333a41; border-radius: 12px;
  box-shadow: 0 16px 40px -12px rgb(0 0 0 / 0.6);
}

.themer__note { margin: 0 0 0.7rem; font-size: 0.78rem; color: #9fb0bd; line-height: 1.4; }

.themer__row { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.55rem; }

/* One column for every row's label, wide enough for the longest ("Suggested"),
   so the controls beside them line up; a label never breaks over two lines. */
.themer__row > span { flex: 0 0 4.4rem; min-width: 0; white-space: nowrap; font-size: 0.78rem; color: #9fb0bd; }

/* The Suggested row (its trade's style sets). */
.themer__set {
  /* min-width:0 is what keeps a select inside a flex row: without it the
     intrinsic width of the longest option pushes it out of the panel. */
  flex: 1 1 auto; min-width: 0; max-width: 100%;
  padding: 0.4rem 0.5rem; font: inherit; font-size: 0.85rem; border-radius: 7px;
  background: #111518; color: #e8edf1; border: 1px solid #333a41;
}

.themer__knob {
  flex: 1 1 auto; min-width: 0; max-width: 100%;
  padding: 0.35rem 0.45rem; font: inherit; font-size: 0.82rem;
  background: #0f1317; color: #e8edf1; border: 1px solid #454d55; border-radius: 7px;
}

.themer__sws { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.themer__sw {
  width: 1.6rem; height: 1.6rem; padding: 0; cursor: pointer;
  border: 1px solid #454d55; border-radius: 6px;
}

.themer__sw:hover { outline: 2px solid #7ab6f0; outline-offset: 1px; }

/* The palette on the page: ringed, and named under the row. */
.themer__sw[aria-pressed="true"] { outline: 2px solid #f4d58d; outline-offset: 2px; }

.themer__swname { flex-basis: 100%; margin: 0.25rem 0 0; font-size: 0.74rem; color: #c9d4dc; }

/* The builder's Brand and Accent: a square that opens the system's colour
   picker, the colour in hex beside it to type or paste, and under them whether
   it reads, with the nearest colour that does when it does not. */
.themer__back { padding: 0; font: inherit; color: inherit; background: none; border: 0; text-decoration: underline; cursor: pointer; }
.themer__ownset { flex: 1 1 auto; min-width: 0; display: grid; gap: 0.25rem; }
.themer__ownpick { display: flex; align-items: center; gap: 0.4rem; }
.themer__pick { flex: none; width: 2rem; height: 2rem; padding: 0; cursor: pointer; background: none; border: 1px solid #454d55; border-radius: 6px; }
.themer__pick::-webkit-color-swatch-wrapper { padding: 2px; }
.themer__pick::-webkit-color-swatch { border: 0; border-radius: 4px; }
.themer__pick::-moz-color-swatch { border: 0; border-radius: 4px; }
.themer__hash { color: #8a97a1; font-size: 0.82rem; margin-right: -0.2rem; }
.themer__hex {
  width: 6.4rem; padding: 0.35rem 0.45rem;
  font: 600 0.82rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.06em; text-transform: uppercase;
  background: #0f1317; color: #e8edf1; border: 1px solid #454d55; border-radius: 7px;
}
.themer__hex:focus { outline: 2px solid #7ab6f0; outline-offset: 1px; }
.themer__colornote { margin: 0; font-size: 0.74rem; line-height: 1.4; color: #9fd8a9; }
.themer__colornote--bad { color: #ffb3a7; }
.themer__fix {
  margin: 0.2rem 0 0 0.3rem; padding: 0.1rem 0.45rem; cursor: pointer;
  font: inherit; font-size: 0.72rem; color: inherit; background: none; border: 1px solid currentColor; border-radius: 5px;
}
.themer__fix span { display: inline-block; width: 0.7rem; height: 0.7rem; margin-right: 0.25rem; vertical-align: -0.05rem; border-radius: 2px; }

/* The code they send back. Monospaced, and in groups of four, because it gets
   read off a screen and typed into a text message, and readonly because a code
   they have edited describes nothing. */

.themer__code {
  position: relative; margin: 0.75rem 0 0.7rem; padding-top: 0.7rem;
  border-top: 1px solid #333a41;
}

.themer__row--code { margin-bottom: 0.5rem; }

.themer__codebox {
  flex: 1 1 auto; min-width: 0; width: 100%; padding: 0.4rem 0.5rem;
  font: 600 0.95rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: center; text-transform: uppercase;
  background: #0f1317; color: #f4d58d; border: 1px solid #454d55; border-radius: 7px;
}

.themer__codebox:focus { outline: 2px solid #7ab6f0; outline-offset: 1px; }

.themer__codebox::placeholder { font-family: system-ui, sans-serif; font-size: 0.8rem; font-weight: 400; letter-spacing: normal; text-transform: none; color: #ffb3a7; }
.themer__copy:disabled { opacity: 0.5; cursor: not-allowed; }

/* A code from elsewhere, to try here: the same box, written in rather than read. */
.themer__try { margin: 0.7rem 0 0; padding-top: 0.7rem; border-top: 1px solid #333a41; }

.themer__codein {
  flex: 1 1 auto; min-width: 0; width: 100%; padding: 0.4rem 0.5rem;
  font: 600 0.95rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.16em; text-align: center; text-transform: uppercase;
  background: #0f1317; color: #e8edf1; border: 1px solid #454d55; border-radius: 7px;
}

.themer__codein::placeholder { font-family: system-ui, sans-serif; font-size: 0.82rem; font-weight: 400; letter-spacing: normal; text-transform: none; color: #8a97a1; }

.themer__codein:focus { outline: 2px solid #7ab6f0; outline-offset: 1px; }

.themer__copy {
  width: 100%; padding: 0.4rem; cursor: pointer; font: inherit; font-size: 0.8rem; font-weight: 600;
  background: #2b333a; color: #e8edf1;
  border: 1px solid #454d55; border-radius: 7px;
}

.themer__copy:hover { border-color: #7ab6f0; }

.themer__help { margin: 0.55rem 0 0; font-size: 0.74rem; line-height: 1.45; color: #9fb0bd; }

.themer__reset {
  width: 100%; padding: 0.4rem; cursor: pointer; font: inherit; font-size: 0.8rem;
  background: none; color: #9fb0bd; border: 1px dashed #454d55; border-radius: 7px;
}

.themer__reset:hover { color: #e8edf1; border-color: #7ab6f0; }

/* Every layout is an arrangement for a wider screen (templates.css starts them
   at 56rem). Below that all seven are the same single column, so on a phone
   the Layout row changed nothing and read as broken. */
@media (max-width: 55.99rem) {
  .themer__row:has(> [data-knob="template"]) { display: none; }
}

/* ---- portfolio.css ---- */
.works {
  display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
}

.work {
  /* The card is the list item, so an entry without a link still looks like one. */
  display: flex; flex-direction: column; overflow: hidden;
  border: var(--rule); border-radius: var(--radius-lg); background: var(--paper);
  transition: border-color .15s var(--ease-out), transform .15s var(--ease-out);
}

.work:has(.work__link):hover { border-color: var(--brand); transform: translateY(-2px); }

.work:has(.work__link:hover) .work__cta { text-decoration-color: currentColor; }

.work__link { display: flex; flex-direction: column; flex: 1; min-width: 0; text-decoration: none; color: inherit; }

/* The picture is the top of the site's own home page, cropped like a browser
   window: whatever is above the fold is what the card shows. */

.work__shot {
  display: block; aspect-ratio: 16 / 10; overflow: hidden;
  border-bottom: var(--rule); background: var(--tint);
}

.work__shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

.work__shot--mark { display: grid; place-items: center; border-bottom: 0; }

.work__mark {
  font-size: 3rem; font-weight: 700; color: #fff;
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.35);
}

.work__body { display: flex; flex-direction: column; gap: 0.35rem; flex: 1; min-width: 0; padding: 1rem 1.25rem 1.25rem; }

.work__meta { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.2rem; }

.work__tag {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; padding: 0.2rem 0.6rem; border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 12%, var(--paper)); color: var(--brand);
}

.work__year { font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.work__name { font-weight: 650; font-size: var(--step-1); line-height: 1.25; }

.work__detail { font-size: 0.87rem; color: var(--muted); }

.work__text { font-size: 0.95rem; line-height: 1.5; margin-top: 0.15rem; }

.work__cta {
  margin-top: auto; padding-top: 0.85rem; font-weight: 600; color: var(--brand);
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em;
  transition: text-decoration-color .15s var(--ease-out);
}

/* The same cards as a swipeable row (`layout: "carousel"` on the section).
   The row itself — whole cards, controls above beside the heading — is
   `.cards-carousel` in sections.css, shared with reviews. In a slide the
   screenshot fills the card's top edge to edge. */

.cards-carousel .carousel__slide .work__shot img { aspect-ratio: auto; border-radius: 0; }

/* ---- steps.css ---- */
/* Numbered steps: stacked on a phone, two by two on a tablet, and up to four
   in one row on a desktop, since a process read across is read in order; five
   or more three to a row (below). In a row each number sits above its words,
   which leaves four narrow columns their full width for the words. */
.steps {
  display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none;
  grid-template-columns: minmax(0, 1fr);
  counter-reset: step;
}

@media (min-width: 40rem) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 60rem) {
  .steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .step { flex-direction: column; }
  /* Five or more in one row left each about thirteen rem of a laptop's page,
     twenty characters a line or fewer (iron-lantern-tattoo, ostrander-electric):
     three to a row, still read across in order, or four where three would
     leave the last alone (seven, ten). */
  .steps:has(> :nth-child(5)) { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps:has(> :nth-child(5)):has(> :nth-child(3n + 4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.step { display: flex; gap: 1rem; align-items: flex-start; }

.step__n {
  flex: 0 0 auto; width: 2.25rem; height: 2.25rem; border-radius: 999px;
  display: grid; place-items: center; font-weight: 700;
  background: var(--brand); color: var(--on-brand);
}

.step__title { margin: 0 0 0.5rem; font-size: 1.05rem; }

.step p { margin: 0; color: var(--muted); }

/* The link a step ends on, where the step is taken somewhere ("Order on our Order page"). */
.step p.step__link { margin-top: 0.5rem; font-weight: 600; }

.step__link a { color: var(--link, var(--brand)); }

/* A step said as a few short checks, the way "What you get" says the price. */
.step__points { display: grid; gap: 0.45rem; margin: 0; padding: 0; list-style: none; font-size: 0.92rem; color: var(--muted); }

.step__points li { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.5rem; align-items: start; }

.step__points .icon { width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; color: var(--brand); stroke-width: 2.5; }

/* ---- pricing.css ---- */
.tiers {
  display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

/* The joiner must not claim a column of its own: auto-fit would give the "+"
   the same width as a price card and push the two apart across the page. */

.tiers--joined { grid-template-columns: minmax(16rem, 1fr) auto minmax(16rem, 1fr); }

@media (max-width: 47.99rem) {
  .tiers--joined { grid-template-columns: 1fr; }
}

.tier {
  position: relative; display: flex; flex-direction: column; gap: 0.6rem;
  padding: 1.75rem; border: var(--rule); border-radius: var(--radius-lg); background: var(--paper);
}

.tier--featured { border-color: var(--brand); border-width: 2px; }

.tier__flag {
  position: absolute; top: -0.7rem; left: 1.5rem;
  background: var(--brand); color: var(--on-brand);
  font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 999px;
}

.tier__name { margin: 0; font-size: 1rem; }

.tier__price { margin: 0; font-size: 2.1rem; font-weight: 700; line-height: 1.1; }

.tier__per { font-size: 0.95rem; font-weight: 500; color: var(--muted); }

.tier__note { margin: 0; font-size: 0.9rem; color: var(--muted); }

.tier__list { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; gap: 0.4rem; font-size: 0.92rem; }

.tier__list li { display: flex; gap: 0.5rem; align-items: flex-start; }

.tier__list .icon { flex: 0 0 auto; width: 1.1em; height: 1.1em; margin-top: 0.2em; color: var(--brand); }

.tier .btn { margin-top: auto; align-self: stretch; justify-content: center; }

/* The terms under the prices, boxed. Everything in here is something a buyer
   weighs — the yearly saving, the notice period, what the price does not
   buy — and as a grey paragraph it read as small print to skip. */
.tiers__note {
  margin: 2rem 0 0; padding: 1.25rem 1.4rem;
  /* Mixed from the accent rather than set to --tint: the pricing section is
     often tinted itself, and a tinted box on a tinted band is just a rule. */
  background: color-mix(in srgb, var(--accent) 9%, var(--paper));
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  color: var(--ink); font-size: 0.95rem; line-height: 1.6;
  max-width: 46rem;
}

/* ------------------------------------------------- the monthly/yearly switch
   A segmented control made of two real radio buttons. No script: the checked
   radio reaches the cards through the section they share, so this works with
   JavaScript off and arrives keyboard-operable and announced as a radio group
   without anything being wired up. */
.tiers-switch {
  display: inline-flex; gap: 0.25rem; margin: 0 0 1.75rem; padding: 0.25rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
}

.tiers-switch label {
  display: block; padding: 0.45rem 1.1rem; border-radius: 999px;
  font-size: 0.92rem; font-weight: 600; color: var(--muted); cursor: pointer;
  transition: background 120ms var(--ease-out), color 120ms var(--ease-out);
}

.tiers-switch input:checked + label { background: var(--brand); color: var(--on-brand); }

/* The radios are visually hidden, so the focus ring has to be drawn on the
   label or keyboard users cannot see where they are. */
.tiers-switch input:focus-visible + label { outline: 2px solid var(--focus, var(--brand)); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) { .tiers-switch label { transition: none; } }

/* Show the side that is checked. Written as "hide the other one" so that with
   no CSS at all both cards render rather than neither. */
.s--pricing:has([data-plan-input="0"]:checked) .tier[data-plan="1"],
.s--pricing:has([data-plan-input="1"]:checked) .tier[data-plan="0"] { display: none; }

/* Three cards in the markup, two on screen — so the joined grid still wants
   its three columns and the "+" stays between them. */
.tiers--switched.tiers--joined { grid-template-columns: minmax(16rem, 1fr) auto minmax(16rem, 1fr); }

@media (max-width: 47.99rem) {
  .tiers--switched.tiers--joined { grid-template-columns: 1fr; }
}

/* ---- menu.css ---- */
/* The menu section: categories side by side where there is room, each dish on
   a dotted leader with its price, dietary tags as small abbreviations. */
.menu { display: grid; gap: 2.5rem 4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
/* Full rows only: the renderer says how many columns the categories fill (menuColumns, src/sections/menu.mjs), so a menu of
   three is never two and a lone third, whatever the card or page leaves of the width. Three is three across or one under
   another (the switch is the clamp: a width under 54rem makes the column the whole width), two is at most two, the rest one.
   Three is exactly three on a wide screen, each a third of the row less its gaps: with a floor of 15rem a wide page fitted
   four, and six categories came out four and a lone two (2026-11-18); now they are two rows of three. */
.menu[data-cols="3"] { column-gap: 3rem; grid-template-columns: repeat(auto-fit, minmax(clamp(calc((100% - 6rem) / 3), calc((54rem - 100%) * 999), 100%), 1fr)); }
/* Never wider than the menu itself: on a phone inside a look's framed card (trattoria's) the 20rem ran past the frame
   and cut the prices off (2026-11-14). */
.menu[data-cols="2"] { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(20rem, calc((100% - 4rem) / 2))), 1fr)); }
.menu[data-cols="1"] { grid-template-columns: minmax(0, 1fr); }
.menu__cat { margin: 0 0 0.25rem; font-size: var(--step-2); }
.menu__catnote { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.95rem; }
.menu__items { margin: 0; padding: 0; list-style: none; }
.menu__item {
  display: grid; grid-template-columns: 1fr auto; gap: 0 1rem; padding: 0.6rem 0;
  border-bottom: 1px dotted color-mix(in srgb, var(--ink) 35%, transparent);
}
.menu__name { font-weight: 600; }
.menu__tags { margin-left: 0.4rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }
.menu__tags abbr { text-decoration: none; }
.menu__price { font-family: var(--font-display); font-weight: var(--display-weight); white-space: nowrap; }
.menu__text { grid-column: 1 / -1; margin-top: 0.15rem; color: var(--muted); font-size: 0.95rem; }
.menu__legend { margin-top: 1.25rem; color: var(--muted); font-size: 0.85rem; }
.menu__pdf { margin-top: 1rem; }
.menu__more { margin-top: 1.75rem; }

/* The whole menu, in its dialog (menu.mjs): the title stays at the top as a
   bar while the dishes scroll under it, with the close button in the same
   bar, so a row going past is hidden behind the bar rather than half-covered
   by a floating X. */
.modal--menu .modal__title {
  position: sticky; top: 0; z-index: 1;
  margin: -1.5rem -2rem 1.5rem; padding: 1.4rem 4rem 0.9rem 2rem;
  background: var(--popup, var(--paper)); border-bottom: 1px solid var(--line);
}
.modal--menu .modal__close { z-index: 2; }

@media (max-width: 30rem) {
  .modal--menu .modal__box { padding-inline: 1.25rem; }
  .modal--menu .modal__title { margin-inline: -1.25rem; padding-inline: 1.25rem 3.75rem; }
  .modal--menu .modal__close { margin-right: -0.6rem; }
}

/* ---- news.css ---- */
/* News: a notice each, ruled like services, its date small over its title.
   A warning (`kind: "alert"`) is the same notice with a heavier rule in the
   brand color and a word saying so: color alone says nothing to somebody
   who cannot see it.

   One column, read down like the events beside it (the shared rule in
   sections.css): as a grid of cards, four notices left the fourth alone on a
   row in every look wide enough for three. */

.note { padding-block: 1.25rem 1.75rem; border-top: var(--rule); }
.note--alert { border-top: 3px solid var(--brand); }

.note__title { margin: 0 0 0.5rem; font-size: var(--step-1); }
.note p { margin: 0; color: var(--muted); }
.note p + p { margin-top: 0.75rem; }

/* Two classes deep, to outrank `.note p` above. */
.note .note__flag { margin: 0 0 0.35rem; font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.note .note__date { margin: 0 0 0.35rem; font-size: 0.9rem; }
.note .note__link { margin-top: 0.75rem; font-weight: 600; }

/* ---- events.css ---- */
/* Events: each date as a calendar leaf beside what is on, and the calendar
   that opens over the page.

   The leaf is the one picture a date needs. A deadline's month band takes the
   brand color, an event's the tint, so a page of tax dates and a page of
   classes are told apart at a glance. */

.event {
  display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1.25rem; align-items: start;
  padding-block: 1rem; border-top: var(--rule);
}

.event__leaf {
  display: grid; overflow: hidden; text-align: center; line-height: 1.15;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.event__mon { padding: 0.2rem 0; font-size: 0.8rem; font-weight: 700; background: var(--tint); color: var(--ink); }
.event--deadline .event__mon { background: var(--brand); color: var(--on-brand); }
.event__day { padding-top: 0.3rem; font-family: var(--font-display); font-size: var(--step-2); font-weight: 700; color: var(--ink); }
.event__dow { padding-bottom: 0.35rem; font-size: 0.8rem; color: var(--muted); }

.event__title { margin: 0.15rem 0 0.25rem; font-size: var(--step-1); }
.event__body p { margin: 0; color: var(--muted); }
.event__body p + p { margin-top: 0.5rem; }
.event .event__time { color: var(--ink); font-weight: 600; }

.events__more { margin: 1.5rem 0 0; }

/* "Add to calendar": a small link under what is on, a link like any other,
   so it never competes with the title. Two classes deep, to outrank the
   paragraph rule above. */
.event__body .event__add { margin-top: 0.5rem; font-size: 0.9rem; }
.events__all { margin: 1.25rem 0 0; font-size: 0.95rem; }
.events__more + .events__all { margin-top: 0.75rem; }

/* The calendar: a month to a grid, its dates listed beneath. Stacked to
   scroll through until the page's script pages them, a month at a time
   behind arrows either side of the month's name. */
.cal-month + .cal-month { margin-top: 2.25rem; }
.cal-month__name { margin: 0 0 0.75rem; font-size: var(--step-1); }
.cal-month__none { margin: 1rem 0 0; }

.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1rem; }
.cal-nav .cal-nav__name { margin: 0; font-family: var(--font-display); font-size: var(--step-1); font-weight: 700; color: var(--ink); text-align: center; }
/* Paged, every month sits in the same place and only the one showing can be
   seen, so the box is as tall as the tallest month whichever is showing: it
   keeps one size, and the arrows stay put from month to month. Hidden by
   visibility rather than display for that reason; a hidden month is still
   out of reach of the keyboard and of a screen reader. */
.cal-pages.is-paged { display: grid; }
.is-paged > .cal-month { grid-area: 2 / 1; margin-top: 0; }
.is-paged > .cal-month.is-off { visibility: hidden; }
/* The arrows' label says the month; the page's own heading stays for a screen reader. */
.is-paged .cal-month__name {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.cal { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal th { padding: 0 0 0.4rem; font-size: 0.8rem; font-weight: 600; color: var(--muted); text-align: left; }
.cal td { height: 4rem; padding: 0.3rem; vertical-align: top; border: 1px solid var(--line); }
.cal__n { display: block; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
/* One line each, cut short when the square is: three long titles on one day
   made that week twice the height of the others. The list under the grid
   has them whole. */
.cal__ev {
  display: block; margin-top: 0.25rem; padding: 0.1rem 0.3rem;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 0.75rem; line-height: 1.25; color: var(--ink);
  background: var(--tint); border-left: 3px solid var(--line); border-radius: 3px;
}
.cal__ev--deadline { border-left-color: var(--brand); }
.cal td.is-today { background: var(--tint); }
/* The neighbouring months' days that fill out the first and last week: only their numbers, in grey and not bold. The
   grey whole: faded to 0.55 they came to 2.4:1 on the page, under the 4.5 the audit asks (a client's calendar,
   2026-11-30), and the month's own days, in the ink and bold, still stand apart from them. */
.cal td.cal__out .cal__n { font-weight: 400; color: var(--muted); }
.cal td.is-today .cal__n { color: var(--ink); }

/* Under a month's grid the date is written out instead of drawn as a leaf,
   and the rows sit closer: the grid above already gives the day its square,
   and a month, its dates and the arrows then fit a laptop screen. */
.events--month { max-width: none; margin-top: 1rem; }
.events--month .event { grid-template-columns: 4rem minmax(0, 1fr); gap: 0.75rem; padding-block: 0.55rem; }
.events--month .event__leaf { display: flex; gap: 0.3rem; overflow: visible; text-align: left; background: none; border: 0; border-radius: 0; }
.events--month .event__leaf span, .events--month .event--deadline .event__mon {
  padding: 0; background: none; color: var(--ink); font-family: inherit; font-size: var(--step-0); font-weight: 700;
}
.events--month .event__dow { display: none; }
.events--month .event__title { margin: 0; font-size: var(--step-0); font-weight: 700; }

/* Wide enough, the month's dates sit beside its grid rather than under it,
   as a diary's do: the box is then as tall as a month's grid, not the grid
   and its list added together, and a laptop screen holds the tallest month. */
@media (min-width: 48rem) {
  .cal-month { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); column-gap: 1.75rem; align-items: start; }
  .cal-month__name { grid-column: 1 / -1; }
  .events--month { margin-top: 0; }
  .events--month > .event:first-child { border-top: 0; padding-top: 0; }
  .cal-month__none { margin-top: 0; }
}

/* A phone's squares are too small for words: each date with something on
   becomes a filled mark, and the list beneath says what. */
@media (max-width: 40rem) {
  .cal th { text-align: center; }
  .cal td { height: 2.75rem; padding: 0.15rem; text-align: center; vertical-align: middle; }
  .cal__ev { display: none; }
  .cal__n { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 999px; }
  .cal td.has-events .cal__n { background: var(--brand); color: var(--on-brand); }
  .event { grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1rem; }
}

/* ---- links.css ---- */
/* Links and downloads: ruled rows like news and events, the link itself the
   line's weight and its note under it. A PDF says so before it is opened. */

.links__item { padding-block: 0.9rem; border-top: var(--rule); }
.links__a { font-weight: 600; }
.links__kind { font-size: 0.85rem; color: var(--muted); }
.links__note { margin: 0.2rem 0 0; color: var(--muted); }

/* ---- offers.css ---- */
/* Offers: cut out like a coupon, its edge dashed in the brand color — the one
   card on a page that is meant to look like something you could tear off.
   The figure is in ink, not the brand color: a pale brand would put the
   number people came for below AA. */

/* Their columns stop at 22rem, so a row of them leaves room at its end. Under a
   centred heading the row is centred with it, as the team's is: whoever
   centres a section's heading sets --row-justify beside it (sections.css,
   "People"). Left, the room sat all on the right of a centred head (Tor,
   2026-11-06, a bar's weekly specials, in 44 looks). auto-fit, so a column
   with no offer in it takes no room. */
.offers {
  display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 22rem));
  justify-content: var(--row-justify, normal);
}

.offer {
  display: flex; flex-direction: column; padding: 1.5rem;
  background: var(--paper); border: 2px dashed var(--brand); border-radius: var(--radius-lg);
}
.offer__title { margin: 0 0 0.5rem; font-size: var(--step-1); }
.offer p { margin: 0; color: var(--muted); }
.offer p + p { margin-top: 0.5rem; }

/* Two classes deep, to outrank `.offer p` above. */
.offer .offer__price { margin-bottom: 0.25rem; font-family: var(--font-display); font-size: var(--step-3); font-weight: 700; line-height: 1.1; color: var(--ink); }
.offer .offer__until, .offer .offer__code { margin-top: 0.75rem; color: var(--ink); font-weight: 600; }
.offer .offer__until + .offer__code, .offer .offer__code + .offer__terms { margin-top: 0.25rem; }
.offer .offer__terms { font-size: 0.85rem; }
.offer .offer__go { margin-top: auto; padding-top: 1rem; }

/* ---- credentials.css ---- */
/* Credentials: the issuer's mark beside the credential, its number under it.
   A logo stands on the page as it is; without one, a shield on the tint.
   One column, read down like news and links (the shared rule in
   sections.css): as a grid, three credentials in a look two columns wide left
   the third alone on a row. */

.cred { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; align-items: start; padding-block: 1rem; border-top: var(--rule); }
.cred__mark { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--radius); background: var(--tint); color: var(--brand); }
.cred__mark .icon { width: 1.5rem; height: 1.5rem; }
.cred__mark--logo { background: none; }
.cred__mark img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cred__title { margin: 0; font-size: var(--step-0); font-weight: 700; }
.cred p { margin: 0.15rem 0 0; color: var(--muted); }
.cred .cred__check { font-weight: 600; }

/* ---- stats.css ---- */
/* Numbers: each figure large over what it counts, a rule above each, the row
   filling the width however many there are. One under another on a phone. */

.stats {
  display: grid; gap: 1.5rem 2.5rem; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}

.stat { padding-top: 1rem; border-top: var(--rule); }
.stat__value { margin: 0; font-family: var(--font-display); font-size: var(--step-4); font-weight: 700; line-height: 1.05; color: var(--ink); }
.stat__label { margin: 0.5rem 0 0; color: var(--muted); }

/* ---- jobs.css ---- */
/* Hiring: ruled rows like news, the job's hours and pay on one line in ink
   under its title, and the way to apply after what it involves. */

.job { padding-block: 1.25rem 1.5rem; border-top: var(--rule); }
.job__title { margin: 0 0 0.25rem; font-size: var(--step-1); }
.job p { margin: 0; color: var(--muted); }
.job p + p { margin-top: 0.5rem; }

/* Two classes deep, to outrank `.job p` above. */
.job .job__terms { margin-bottom: 0.5rem; color: var(--ink); font-weight: 600; }
.job .job__apply { margin-top: 1rem; }

/* ---- accepted.css ---- */
/* What we accept: each group a panel — its name over a ticked list, with room
   inside the edge — side by side and level where there is room, one under
   another on a phone. Tinted on a plain section and paper on a tinted one, as
   the services icons are, so a panel always reads as one. */

.accepted {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.accepted__group { padding: 1.35rem 1.5rem 1.5rem; background: var(--tint); border-radius: var(--radius-lg); }
.s--tint .accepted__group { background: var(--paper); }
.accepted__name { margin: 0 0 0.85rem; font-size: var(--step-1); }
.accepted__list { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.accepted__list li { display: grid; grid-template-columns: 1.15rem minmax(0, 1fr); gap: 0.65rem; align-items: start; }
.accepted__list .icon { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; color: var(--brand); stroke-width: 2.5; }

/* ---- products.css ---- */
/* Products: a card each, the photograph cropped to one shape so a row lines
   up, the price in ink under the name, and the way to ask about it last. */

.products {
  display: grid; gap: 2rem 1.5rem; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
}
.product__photo { margin: 0 0 0.9rem; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); background: var(--tint); }
.product__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product__name { margin: 0; font-size: var(--step-1); }
.product p { margin: 0; color: var(--muted); }
.product p + p { margin-top: 0.4rem; }

/* Two classes deep, to outrank `.product p` above. */
.product .product__price { margin: 0.15rem 0 0.4rem; color: var(--ink); font-weight: 700; }
.product .product__ask { margin-top: 0.6rem; font-weight: 600; }

/* ---- guarantee.css ---- */
/* A guarantee: one box on the page, a shield beside the promise in large
   type, its edge in the brand color on the side the eye starts from. */

.promise {
  display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1.25rem; align-items: start;
  max-width: 46rem; padding: 1.75rem;
  background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius-lg);
}
.promise__mark { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--tint); color: var(--brand); }
.promise__mark .icon { width: 1.75rem; height: 1.75rem; }
.promise p { margin: 0; color: var(--muted); }
.promise p + p { margin-top: 0.5rem; }

/* Two classes deep, to outrank `.promise p` above. */
.promise .promise__title { margin-bottom: 0.5rem; font-family: var(--font-display); font-size: var(--step-2); font-weight: 700; line-height: 1.2; color: var(--ink); }
/* The small print is running text, and running text on a phone is 14px at least: at 0.85rem it was 13.6px. */
.promise .promise__terms { font-size: 0.875rem; }

@media (max-width: 30rem) {
  .promise { grid-template-columns: minmax(0, 1fr); padding: 1.25rem; }
}

/* ---- brands.css ---- */
/* Brands: a row of names, each in a pill, or the makers' logos at one height
   where the site has them. */

.brandlist { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.brandlist__item { padding: 0.5rem 1rem; font-weight: 600; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.brandlist__item--logo { padding: 0.5rem 0.9rem; }
.brandlist__item--logo img { display: block; width: auto; height: 2rem; }

/* Makers each with a place (a grower and his farm): cards of one width in whole rows, the name over its place, centred
   under a centred heading. The renderer says how many fit a row (placeColumns, src/sections/brands.mjs): all of them on a
   wide page, two or one a row on a middle one, one on a phone. */
.brandlist--places { display: grid; grid-template-columns: repeat(var(--places, 3), minmax(0, 1fr)); gap: 1rem; }
.brandlist--places .brandlist__item {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.2rem; min-height: 5.25rem;
  padding: 1rem 1.25rem; text-align: center; border-radius: var(--radius-lg, 12px); text-wrap: balance;
}
@media (max-width: 56rem) { .brandlist--places { grid-template-columns: repeat(var(--places-mid, 1), minmax(0, 1fr)); } }
@media (max-width: 30rem) { .brandlist--places { grid-template-columns: minmax(0, 1fr); } }

/* ---- rhythm.css ---- */
/* What breaks a page of like-sized bands into a page with a rhythm: a sentence
   set large (statement), a photograph across the whole width (band), and the
   services shown with their photographs, as rows or as tiles. Each is asked
   for in site.json; a page that asks for none is as it was. */

/* A statement: one sentence, the size of a headline, and little else. Its
   size is held to its own width as well as the window's (a container, cqi):
   at 1.9rem on a phone, and at 3.9rem in a look's narrow column (receipt's
   ticket, the letter), a sentence ran two or three words a line, sixteen to
   twenty characters. About 7.4% of its width is some twenty-six characters a
   line in most faces; a look in a wide face (small capitals, a typewriter's)
   asks for less, --statement-fit. Where the window's size is the smaller, as
   on a tablet or a laptop in most looks, it is as it was. */
.statement { max-width: 64rem; container-type: inline-size; }

.statement__label { margin-bottom: 1.25rem; font-weight: 600; color: var(--muted); }

.statement__text {
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-stretch: var(--display-stretch); letter-spacing: var(--display-tracking);
  font-size: clamp(1.9rem, 1.15rem + 3.4vw, 3.9rem);
  font-size: min(clamp(1.9rem, 1.15rem + 3.4vw, 3.9rem), var(--statement-fit, 7.4cqi));
  line-height: 1.12;
  color: var(--ink); text-wrap: balance;
}

.statement__by { margin-top: 1.5rem; color: var(--muted); }

.statement .btn { margin-top: 2rem; }

/* A band: the photograph (and a video over it) from edge to edge. Its words
   are white on a wash of black that is deepest under them, as on the
   full-screen hero, so they read on any picture; with no words there is no
   wash, and the picture is itself. */
.band {
  position: relative; display: grid; isolation: isolate;
  min-height: clamp(17rem, 44vw, 34rem);
  background: #14110f; color: #fff; --focus: #fff;
}

.band--tall { min-height: min(86svh, 54rem); }

.band__photo { position: absolute; inset: 0; z-index: -1; margin: 0; overflow: hidden; }

.band__photo img { width: 100%; height: 100%; object-fit: cover; }

.band--words .band__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.84), rgb(0 0 0 / 0.64) 45%, rgb(0 0 0 / 0.34));
}

.band__words { align-self: end; padding-block: clamp(2.5rem, 1.5rem + 5vw, 5rem); }

.band__words h2 { max-width: 22ch; font-size: var(--step-4); color: #fff; text-wrap: balance; }

.band__words p { max-width: 46ch; margin-top: 1rem; font-size: var(--step-1); line-height: 1.5; color: rgb(255 255 255 / 0.92); }

.band__words .btn { margin-top: 1.75rem; }

.band .btn--ghost { border-color: #fff; background: none; color: #fff; }

/* Services with their photographs, as rows: the picture on one side and the
   words on the other, the sides changing down the page. One under the other
   on a phone, the picture first. */
.svc-rows { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); margin: 0; padding: 0; list-style: none; }

.svc-row { display: grid; gap: 1.5rem; align-items: center; }

.svc-row__photo { margin: 0; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; }

.svc-row__photo img { width: 100%; height: 100%; object-fit: cover; }

.svc-row__text .svc__title { font-size: var(--step-3); }

.svc-row__text p { max-width: 44ch; font-size: var(--step-1); line-height: 1.5; color: var(--muted); }

@media (min-width: 56rem) {
  .svc-row { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5.5rem); }
  .svc-row:nth-child(even) .svc-row__photo { order: 2; }
  .svc-row--plain { grid-template-columns: minmax(0, 1fr); }
}

/* …and as tiles: each a tall photograph, its name and a line low on it in
   white, the whole tile its link. Two to a row on a phone's width and up to
   four on a wide one, never one left alone under a full row. Never more than
   four: a page made wider (theme.width) fitted seven 15rem tiles across, and
   eight ran seven and one (a jeweler's, 2026-11-08). The columns' least width is
   a quarter of the grid less three of the widest gap a look gives them
   (1.5rem), or 15rem where that is more. */
.svc-tiles {
  display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 15rem), 25% - 1.125rem), 1fr));
}

.svc-tile__in {
  position: relative; display: grid; align-items: end; isolation: isolate; overflow: hidden;
  min-height: clamp(18rem, 30vw, 26rem); height: 100%;
  border-radius: var(--radius-lg); background: var(--ink); color: #fff; text-decoration: none;
  /* Where the wash under the words fades out: 5rem above them, once the
     page's script has said where they reach (below). */
  --tile-fade: calc(var(--tile-words) + 5rem);
}

.svc-tile__photo { position: absolute; inset: 0; z-index: -1; margin: 0; }

.svc-tile__photo img { width: 100%; height: 100%; object-fit: cover; }

/* The wash of black the words stand on: deepest at the foot, and dark enough
   to read white on up to the top of the words, then fading out above them, so
   a dark photograph is not dulled where nothing is written on it. How high the
   words reach depends on how many lines they wrap to, at a tablet's width most
   of the tile's height, so the page's script measures them and says
   (--tile-words, js/features/service-tiles.js). Drawn for two fifths of the
   tile, the words reached past the dark part, and white words stood at 2 to
   3.9:1 over a pale photograph: white flowers, a grey kitchen, a light desk.
   Without the script it is drawn as it was, for a tile's usual words. */
.svc-tile__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.86), rgb(0 0 0 / 0.62) var(--tile-words, 42%), rgb(0 0 0 / 0.12) var(--tile-fade, 78%));
}

.svc-tile__text { padding: 1.5rem; }

.svc-tile__text .svc__title { margin-bottom: 0.35rem; color: #fff; }

.svc-tile__text p, .svc-tile__text .svc__price { color: rgb(255 255 255 / 0.92); }

a.svc-tile__in:hover .svc__title { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.14em; }

a.svc-tile__in:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* A tile with no photograph is a card of the ink, its words where they would be. */
.svc-tile--plain .svc-tile__in { min-height: 12rem; }

/* ---- motion.css ---- */
/* Motion, for a site that asks for it (`theme.motion: "subtle"`): the opening
   photograph settles into place once, and each section rises a little as it
   is reached. Both are short, both run once, and neither runs for anybody who
   asked for less motion. A page that does not ask moves nothing.

   The settle is four seconds and stops, inside the five WCAG 2.2.2 allows
   without a control; it is a transform, so the first paint is not delayed by
   it. A section is hidden only by the class the script sets once it is
   watching (theme/js/motion.js), so with no script, or a script that failed,
   everything is simply there. */

@media (prefers-reduced-motion: no-preference) {
  [data-motion="subtle"] .hero__photo img { animation: settle 4s cubic-bezier(0.2, 0.6, 0.2, 1) both; }

  .reveal main > :is(.s, .band) > .wrap { transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
  .reveal main > :is(.s, .band):not(.is-in) > .wrap { opacity: 0; transform: translateY(1.25rem); }
}

@keyframes settle {
  from { transform: scale(1.07); }
  to { transform: none; }
}

@media print {
  .reveal main > :is(.s, .band) > .wrap { opacity: 1 !important; transform: none !important; }
}

/* ---- claim.css ---- */
/* The boxes are narrower than the page, so they sit in the middle of it: pinned
   left they left half the screen empty beside them on a desktop. The heading
   and its line under it sit over them, on the same centre. */
/* Centred in every look. Most design languages set section headings flush
   left, which suits the page's own sections, but here the heading sits over
   centred boxes, and flush left it read as misaligned. Important because each
   look's sheet comes after this one and outranks a plain selector, as the
   layouts' arranging rules are. */
.s.claim .claim__head { margin-inline: auto !important; text-align: center !important; }
.s.claim .claim__head .s__intro { margin-inline: auto !important; }
/* The line under the heading sits under it, never beside it (Tor, 2026-11-29), whatever a look does with a
   section's heading elsewhere. */
.s.claim .claim__head { display: block !important; }
.s.claim .claim__head > * { margin-inline: auto !important; }
.s.claim .claim__head .s__intro { max-width: 44rem !important; margin-top: 1.25rem !important; }

.claim__includes { margin: 0 auto 3rem; max-width: 44rem; }

.claim__gaps {
  max-width: 44rem; margin: 0 auto 2.5rem; padding: 1.5rem;
  border-left: 3px solid var(--accent); background: var(--tint); border-radius: var(--radius);
}

.claim__gaps h2 { margin: 0 0 0.75rem; font-size: 1.05rem; }

/* minmax(0, 1fr): one long web address must not widen the column for every
   line, which pushed the whole list past the box on a phone. */
.claim__gaps ul { margin: 0; padding-left: 1.1rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }

.claim__gaps-note { margin: 0.9rem 0 0; font-size: 0.85rem; color: var(--muted); }

.plans {
  display: grid; gap: 1.25rem; margin: 0 0 3rem; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.plan {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem;
  padding: 1.75rem; border: var(--rule); border-radius: var(--radius-lg); background: var(--paper);
}

.plan__name { margin: 0; font-size: 1.05rem; }

.plan__price { margin: 0; font-size: 2.25rem; font-weight: 700; line-height: 1.1; }

.plan__per { font-size: 1rem; font-weight: 500; color: var(--muted); }

/* Four facts per plan, one per line. The list needs its own marker removed:
   without this it shows a disc AND the tick icon, which reads as a bug. */
.plan__points {
  display: grid; gap: 0.55rem; width: 100%;
  margin: 0.25rem 0 0.5rem; padding: 0; list-style: none;
  font-size: 0.92rem; color: var(--muted);
}

.plan__points li { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.6rem; align-items: start; }

.plan__points .icon { width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; color: var(--brand); stroke-width: 2.5; }

/* The aside between the two prices and the email escape hatch. Smaller than
   the body on purpose: it is a reassurance, not one of the facts being sold. */
.claim__most {
  max-width: 34rem; margin: 0 auto 2.25rem;
  font-size: 0.85rem; line-height: 1.5; color: var(--muted); text-align: center;
}

/* What the price does not buy. Boxed like "What you get" so the two read as a
   pair — the second half of one honest answer rather than loose small print. */
.claim__excludes {
  max-width: 44rem; margin: 0 auto 2.5rem; padding: 1.75rem;
  background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius-lg);
}

.claim__excludes h2 { margin: 0 0 1rem; font-size: var(--step-1); }

.claim__excludes ul { margin: 0; padding-left: 1.1rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.6rem; color: var(--muted); }

.claim__excludes-note { margin: 1.1rem 0 0; font-size: 0.85rem; color: var(--muted); }

.plan .btn { margin-top: auto; align-self: stretch; justify-content: center; }

/* Under the "say yes" box, on its centre line: the no-obligation line where there are no prices,
   then the way back, as a quiet button rather than a bare link at the foot's edge. */
.claim__foot { margin: 1.5rem auto 0; text-align: center; }

.claim__foot > p:not(.claim__back) { max-width: 34rem; margin: 0 auto 1rem; font-size: 0.9rem; color: var(--muted); }

.claim__back { margin: 0; }

.claim__back .btn { font-size: 0.95rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ---------------------------------------------------------------- charts
   Two pictures of numbers already stated in words above them, so a chart is
   never the only place a figure appears. Coloured through the palette tokens
   rather than with literals, because there are twelve palettes. */
.claim__charts { display: grid; gap: 1.75rem; margin: 1.5rem 0 0; }

.chart { margin: 0; }

.chart__svg { display: block; width: 100%; max-width: 26rem; height: auto; overflow: visible; }

.chart__svg--bars { max-width: 30rem; }

/* A business with no website found on its listing, and one with. */
.chart__cell { fill: transparent; stroke: var(--line); stroke-width: 1.5; }

.chart__cell--on { fill: var(--brand); stroke: var(--brand); }

/* Mixed toward transparent, so it takes the page's own ground — but not so
   far that it disappears into a dark one. At 28% the bars were a dim olive on
   the lounge preset's near-black paper; 48% reads on both. */
.chart__bar { fill: color-mix(in srgb, var(--brand) 48%, transparent); }

.chart__bar--peak { fill: var(--brand); }

.chart__tick { font-size: 10px; fill: var(--muted); }

.chart__label { font-size: 12px; fill: var(--ink); }

.chart__caption { margin: 0.65rem 0 0; font-size: 0.85rem; line-height: 1.5; color: var(--muted); }

/* The scale behind the demand bars. Faint enough to stay behind them, present
   enough that the numbers have a line to sit on. */
.chart__rule { stroke: var(--line); stroke-width: 1; }

.chart__rule--base { stroke: color-mix(in srgb, var(--ink) 35%, transparent); }

/* What the site has to earn back.
 *
 * A panel rather than a paragraph, because this is the argument and the line
 * under it is a note — as two centred paragraphs of different sizes they read
 * as one ragged block and the number that matters was buried mid-sentence
 * between two other numbers. */
.payback {
  max-width: 34rem; margin: 0 auto 1.75rem; padding: 1.5rem 1.75rem;
  background: var(--tint); border-radius: var(--radius-lg); text-align: center;
}

.payback__figure {
  margin: 0; font-family: var(--font-display); font-weight: var(--display-weight);
  font-stretch: var(--display-stretch); letter-spacing: var(--display-tracking);
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3rem); line-height: 1; color: var(--brand);
}

.payback__figure span { font-size: 0.42em; font-weight: 600; letter-spacing: 0; margin-left: 0.35em; color: var(--ink); }

.payback__what { margin: 0.5rem 0 0; font-size: 1.05rem; font-weight: 600; }

.payback__how {
  max-width: 28rem; margin: 0.85rem auto 0;
  font-size: 0.85rem; line-height: 1.55; color: var(--muted);
}

/* What happens after they say yes. The same numbered steps the studio's own
   /paid/ page uses, sharing `.steps` so the two cannot drift apart — one
   process described twice already, and two stylesheets for it would be a third
   way to disagree. */
.claim__next { margin: 2rem 0 0; padding: 1.75rem; background: var(--tint); border-radius: var(--radius-lg); }
.claim__next h2 { margin: 0 0 1.5rem; font-size: var(--step-1); }

/* ---- polish.css ---- */
/* Small refinements an owner feels on a phone (Tor, 2026-11-28), the same in every design.

   A button, or anything pressed as one, gives a very little (--press) while it is held: by the `scale` property, which
   adds to whatever transform a rule already gives it. :where() weighs nothing, so a rule's own transition is left as it
   is. A feature's own pressed things say the same in its file. */
:where(button, .btn, .ask__opt, .tiers-switch label) { transition: scale 0.12s var(--ease-out); }

:where(button, .btn, .ask__opt, .tiers-switch label):active:not(:disabled, [aria-disabled="true"]) { scale: var(--press); }

/* Brutal's button is left as it is, pressed down onto its shadow (sections.css). */
[data-style="brutal"] .btn:active:not(:disabled) { scale: none; }

/* The press in place of the grey flash a phone draws over a tapped control: only where the page's script runs, which
   Safari on a phone needs to draw a press at all (page.js). Anywhere else the flash stays. */
.js :where(button, .btn, .ask__opt, .tiers-switch label) { -webkit-tap-highlight-color: transparent; }

/* Figures that line up under one another, or change where they stand, are all one width: prices, hours, times, a
   calendar's days, a carousel's "2 of 8" and a figure counting up. A face without such figures draws its own as before, and one whose figures of one width read apart keeps its own (tokens.css).
   Never running words or headlines; a feature's own figures say so in its file. */
:where(.product__price, .hours, .event__time, .cal__n, .carousel__status) { font-variant-numeric: var(--figures); }
:where(.menu__price, .svc__price, .tier__price, .plan__price, .stats[data-count] .stat__value) { font-variant-numeric: var(--figures-display); }

/* ---- page-change.css ---- */
/* One page glides into the next (Tor, 2026-11-28): the page leaving fades out and the new one fades in as it rises a
   little into place, between this site's own pages, in the browsers that can (Chrome and Edge 126, Safari 18.2).
   Anywhere else a page loads as it always has, and so it does for a visitor who asks for less motion. Shorter ones could not be
   seen (a 0.16s cross-fade, then 0.35s and a 1rem rise). The header is on both pages, so it is a part of its own and holds still: it
   takes its place at once rather than sliding to it, which from a page scrolled down would fly it in from above. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation-duration: 0.16s; animation-timing-function: var(--ease-out); }
  ::view-transition-old(root) { animation: page-leaves 0.25s var(--ease-out) both; }
  ::view-transition-new(root) { animation: page-arrives 0.6s 0.1s var(--ease-out) both; }
  ::view-transition-group(site-header) { animation: none; }
}
@keyframes page-leaves { to { opacity: 0; } }
@keyframes page-arrives { from { opacity: 0; transform: translateY(3rem); } }

/* ---- presets/storefront.css ---- */
/* storefront: everything this look changes. The token block sets its typography
   and shape; the rules after it override the shared components. */

/* Shops, bakeries, cafés, salons: arched windows, serif sign */
[data-preset="storefront"] {
  --font-display: "Young Serif", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --display-weight: 400;
  --display-tracking: -0.01em;
  --radius: 10px;
  --radius-lg: 20px;
  /* Pill buttons are this preset’s signature, said as a token so the
     Corners knob can still square them off if a prospect wants that. */
  --radius-btn: 999px;
  --hero-measure: 14ch;
  --plate-size: clamp(1.8rem, 1.1rem + 2.6vw, 2.6rem);
}
/* Young Serif's figures of one width read apart, so its prices keep their own (css/polish.css), under this design alone and
   the looks that keep its faces. */
[data-preset="storefront"]:where(:not([data-look]), [data-look="folio"], [data-look="immersive"], [data-look="sleek"], [data-look="spotlight"]) { --figures-display: normal; }

[data-preset="storefront"] .hero { background: var(--tint); }
[data-preset="storefront"] .hero__photo { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); }
[data-preset="storefront"] .plate { text-align: center; }
[data-preset="storefront"] .hero--plain .plate {
  display: grid; align-content: center; min-height: 22rem; padding: 4rem 2rem 3rem;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
}
@media (min-width: 56rem) {
  [data-preset="storefront"] .hero--photo .plate {
    position: absolute; left: -2.5rem; bottom: 2.5rem; width: min(19rem, 85%);
    box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--ink) 55%, transparent);
  }
  /* Unless the photo needs its own corner back. Specific enough to beat the
     rule above, which is the only place in the engine a plate covers a photo. */
  [data-preset="storefront"] .hero--photo.hero--plate-below .plate {
    position: static; width: auto; box-shadow: none;
  }
}
[data-preset="storefront"] .about__photo { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); aspect-ratio: 4 / 5; }

/* ---- features/since.css ---- */
/* "Since 1998" above the hero's headline (hero.since): a quiet line in the
   hero's own colour, so it reads on a photograph, a brand ground or paper
   alike. Sentence case, as every label here is. */
.hero__since { margin: 0 0 0.6rem; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em; color: inherit; }

/* ---- features/hero-fit.css ---- */
/* A hero photograph that is upright or square (src/hero-fit.mjs: `hero--tall`),
   which cannot be laid across a wide screen.

   Where a look or the Hero knob lays the photograph behind the words from one
   edge of the window to the other, a laptop draws it some 2,900 pixels wide.
   A photograph a phone took upright is enlarged three times to fill that and
   cut to its middle third: soft, and too close, on the one screen an owner is
   likeliest to open their preview on.

   So from 62rem such a photograph runs down the right of the hero from top to
   bottom, at about its own size, and fades into the hero on its left. Narrower
   than 62rem nothing here applies: a phone's frame is upright and narrow, and
   the photograph fills it well. A photograph lying on its side stays behind
   the words whatever its size (Tor, 2026-10-13: in a frame of its own beside
   them it was too small).

   The arrangements named here are the ones sites open in that lay the
   photograph across the window: the knob's "Full screen" and "Photo behind
   the words", and the immersive and cover looks; and gilt, clearcoat and
   dossier where the hero asks (`"photoPlacement": "beside"`, `hero--beside`). Left as they were,
   though they cross the window too: the knob's tinted photograph (a wash of
   the brand, where softness does not show) and poster (a strip the words do
   not sit on), and the cinema look. On those the mark does
   nothing, and `npm run check` still says when a hero comes out soft or cut.
   A feature's rules come before a look's in the stylesheet, and a look
   names itself in every rule it writes, so what these must settle says
   `!important`, as the knob's half, poster and tinted do (css/hero.css). */

@media (min-width: 62rem) {
  /* The knob: the aside is what holds the photograph behind the words. */
  :root:is([data-hero="screen"], [data-hero="full"]) .hero--tall .hero__aside,
  /* The immersive look takes the photograph itself out of the page's flow. */
  :root[data-look="immersive"]:not([data-hero]):not([data-template]) .hero--tall .hero__photo {
    left: auto !important; width: min(46rem, 48%) !important;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 34%);
    mask-image: linear-gradient(to right, transparent, #000 34%);
  }
  /* The words no longer sit on the photograph, so it keeps its colour: only its foot is shaded, into the page under it. */
  :root[data-hero="screen"] .hero--tall .hero__photo::after {
    background: linear-gradient(to top, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0) 45%) !important;
  }
  :root[data-hero="full"] .hero--tall .hero__photo::after { background: none !important; }
  /* The immersive look keeps its plate on the photograph's foot, so that is shaded deeper. */
  :root[data-look="immersive"]:not([data-hero]):not([data-template]) .hero--tall .hero__photo::after {
    background: linear-gradient(to top, rgb(8 9 12 / 0.7), rgb(8 9 12 / 0) 42%) !important;
  }
  /* The words keep to the left: they end 54% of the way across whatever width a layout gives the page, and the
     photograph begins at 52%, where it is still nearly clear. */
  :root:is([data-hero="screen"], [data-hero="full"]) .hero--tall .hero__copy { max-width: calc(50% + 4vw) !important; }
  /* The immersive look's words share their row with the plate, so half of it is not half the page: the same
     54% of the window, less the page's own margin. */
  :root[data-look="immersive"]:not([data-hero]):not([data-template]) .hero--tall .hero__copy {
    max-width: calc(54vw - max(1.25rem, (100vw - var(--max)) / 2)) !important;
  }
  /* The headline has half the window now, so it is set for half: never larger than the look sets it, and small
     enough that "Sourdough bread," stays on one line. "Full screen" sets its own size whatever the look. The
     immersive look already sets its headline for a narrow column, and keeps its own. */
  :root[data-hero="screen"] .hero--tall .hero__title { font-size: clamp(2.5rem, 1.2rem + 4.2vw, 4.75rem) !important; }
  :root[data-hero="full"] .hero--tall .hero__title,
  :root:is([data-look="cover"]):not([data-hero]):not([data-template]) .hero--tall .hero__title {
    font-size: min(var(--hero-size), clamp(2.5rem, 1.2rem + 4.2vw, 4.75rem)) !important;
  }
  /* "Full screen" keeps a screen's worth of photograph clear above its words. With the photograph beside them
     the words still sit low, and may now rise into that room before the hero has to grow past the screen. */
  :root[data-hero="screen"] .hero--tall .hero__grid { padding-top: clamp(3rem, 2rem + 4vw, 5rem) !important; }
  /* "Photo behind the words" sets the badges in a column of their own beside the words, which is where the
     photograph now is, and is only as tall as its words: here the badges go back under them, and the hero is
     given the height an upright photograph needs. */
  :root[data-hero="full"] .hero--tall { min-height: min(84svh, 54rem); align-items: center; }
  :root[data-hero="full"] .hero--tall .hero__copy { display: block !important; }
  :root[data-hero="full"] .hero--tall .hero__badges { margin: 2rem 0 0 !important; }

  /* The cover look. Its photograph runs from edge to edge with the headline on it: the hero's first five rows, its band
     of claims the sixth. It is given the brand colour as its ground, as a hero with no photograph has, and the
     photograph stands on that at the right: the hero the field itself, its band laid over the foot as it is under a
     photograph, so the words' own ground is the one they are read on. */
  :root:is([data-look="cover"]):not([data-hero]):not([data-template]) .hero--tall .hero__photo {
    justify-self: end; width: min(46rem, 48%) !important;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 34%);
    mask-image: linear-gradient(to right, transparent, #000 34%);
  }
  :root:is([data-look="cover"]):not([data-hero]):not([data-template]) .hero--tall .hero__photo::after { content: none !important; }
  /* The headline and the cover lines are on the brand now, in the colour that reads on it, and clear of the photograph. */
  :root:is([data-look="cover"]):not([data-hero]):not([data-template]) .hero--tall .hero__title {
    max-width: min(16ch, 52%) !important; color: var(--on-brand-field, var(--on-brand)) !important; text-shadow: none !important;
  }
  /* The cover's words are all on the ground then, in the colour that reads on it (its --cover-words), and the line
     that stood on the photograph's right comes under the headline, as it does on a phone. */
  :root[data-look="cover"]:not([data-hero]):not([data-template]) .hero--tall {
    background: var(--brand-field, var(--brand)) !important;
    --cover-words: var(--on-brand-field, var(--on-brand)) !important; --cover-words-muted: var(--on-brand-field, var(--on-brand)) !important;
  }
  /* Its headline is in a column of its own already, clear of the photograph: half of that broke it a word a line. */
  :root[data-look="cover"]:not([data-hero]):not([data-template]) .hero--tall .hero__title { max-width: 16ch !important; }
  :root[data-look="cover"]:not([data-hero]):not([data-template]) .hero--tall .hero__text {
    grid-column: content-start / split !important; grid-row: 4 !important; justify-self: start !important;
    max-width: min(40ch, 46vw) !important; margin: 1.25rem 0 0 !important;
  }
  /* `"photoPlacement": "beside"` on gilt, clearcoat and dossier (src/sections/hero.mjs: `hero--beside`). Those three lay
     the photograph across the window with the words centred on it, which keeps half of an upright one at 2.5 times
     (docs/decisions/HERO-PHOTOS-2026-11-04.md); asked, they stand it down the right as immersive does, at about its own
     size, fading into the look's own ground on its left, and set the words at the left. Not asked, they are as they
     were: Tor liked all three ways (2026-11-04), so the hero chooses. */
  :root:is([data-look="gilt"], [data-look="clearcoat"], [data-look="dossier"]):not([data-hero]):not([data-template]) .hero--tall.hero--beside {
    background: var(--beside-ground) !important;
  }
  /* Each look's ground: gilt's midnight, clearcoat's deep wash, dossier's night. */
  :root[data-look="gilt"] .hero--tall.hero--beside { --beside-ground: rgb(8 10 24); }
  :root[data-look="clearcoat"] .hero--tall.hero--beside { --beside-ground: var(--wash-deep, var(--brand)); }
  :root[data-look="dossier"] .hero--tall.hero--beside { --beside-ground: rgb(11 10 9); }
  :root:is([data-look="gilt"], [data-look="clearcoat"], [data-look="dossier"]):not([data-hero]):not([data-template]) .hero--tall.hero--beside .hero__photo {
    left: auto !important; width: min(46rem, 48%) !important;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 34%);
    mask-image: linear-gradient(to right, transparent, #000 34%);
  }
  /* The words no longer sit on it: only its foot is shaded, into the page under it. */
  :root:is([data-look="gilt"], [data-look="clearcoat"], [data-look="dossier"]):not([data-hero]):not([data-template]) .hero--tall.hero--beside .hero__photo::after {
    background: linear-gradient(to top, rgb(0 0 0 / 0.45), rgb(0 0 0 / 0) 45%) !important;
  }
  :root:is([data-look="gilt"], [data-look="clearcoat"], [data-look="dossier"]):not([data-hero]):not([data-template]) .hero--tall.hero--beside .hero__grid { justify-items: start !important; }
  :root:is([data-look="gilt"], [data-look="clearcoat"], [data-look="dossier"]):not([data-hero]):not([data-template]) .hero--tall.hero--beside .hero__copy {
    align-items: flex-start !important; text-align: start !important; max-width: calc(50% + 2vw) !important; margin-inline: 0 !important;
  }
  :root:is([data-look="gilt"], [data-look="clearcoat"], [data-look="dossier"]):not([data-hero]):not([data-template]) .hero--tall.hero--beside :is(.hero__actions, .hero__badges) { justify-content: flex-start !important; }
  /* Centred, each line of the words had its own margins; at the left they line up with the headline. */
  :root:is([data-look="gilt"], [data-look="clearcoat"], [data-look="dossier"]):not([data-hero]):not([data-template]) .hero--tall.hero--beside .hero__copy > * { margin-inline: 0 !important; }
  /* Half the window, so set for half, as the knob's "Photo behind the words" does. */
  :root:is([data-look="gilt"], [data-look="clearcoat"], [data-look="dossier"]):not([data-hero]):not([data-template]) .hero--tall.hero--beside .hero__title {
    font-size: min(var(--hero-size), clamp(2.5rem, 1.2rem + 4.2vw, 4.75rem)) !important;
  }
}

/* ---- features/band-fit.css ---- */
/* A band whose photograph cannot cross a wide screen as it is (src/band-fit.mjs). On a phone it is as it
   was: the screen is narrower than the photograph. */

/* Lying on its side but narrower than the window: the band at most the photograph's own width, centred,
   so it is never enlarged past what stays sharp. A cap, never a width: a look that sets the band in from the
   edges (gilt, daylight) gives it margins of its own, and a width of the whole screen beside them made the
   page wider than a phone, the hero short of its right edge and the band's photograph off to one side. */
.band--narrow { max-width: var(--band-max, 100%); margin-inline: auto; }
@media (min-width: 48rem) {
  .band--narrow { border-radius: var(--radius-lg); overflow: hidden; }

  /* Upright or square: the whole photograph at the band's height, over a dimmed, blurred copy of itself that
     fills the width, rather than its middle third enlarged. */
  .band--upright .band__photo { background: #14110f; }
  .band--upright .band__photo::before {
    content: ""; position: absolute; inset: -2rem;
    background: var(--band-photo) center / cover; filter: blur(28px) brightness(0.5);
  }
  .band--upright .band__photo img { position: relative; object-fit: contain; }
}

/* ---- features/service-tiles.css ---- */
/* Service tiles, balanced by their number. The grid (css/rhythm.css) fits as
   many 15rem tiles to a row as the width allows: one on a phone, two on a
   large phone held sideways, three on a tablet and four on a wide screen.
   Some numbers then left one alone under a full row: four or seven on a
   tablet (3 + 1, 3 + 3 + 1), five or nine on a wide screen (4 + 1,
   4 + 4 + 1); six left two. Where the width would do that, the number
   chooses the columns instead. A look that sets the tiles' columns itself
   writes a rule at least as specific later in its own sheet, which wins. */

/* Four, seven or ten: four to a row where four fit and two where they do
   not, never three. The columns' least width is 15rem while four tiles fit
   the grid, and half the grid once they do not: a step, made of 15rem plus a
   large multiple of how far four would overrun the grid, held between 15rem
   and half the grid (64.5rem is four tiles and three of the widest gap a look
   gives them, 1.5rem). Measured on the grid itself, so a look's narrower
   column (swiss, folio) or a Layout's chooses as the page's width would. On
   a phone half the grid is under 15rem and the tiles stay one to a row.
   Where a wider page (theme.width) fits more than four, a quarter of the grid
   (less three of that gap) is the least, so seven are still 4 + 3. */
.svc-tiles[data-count="4"],
.svc-tiles[data-count="7"],
.svc-tiles[data-count="10"] {
  grid-template-columns: repeat(auto-fit, minmax(max(clamp(min(100%, 15rem), 15rem + (64.5rem - 100%) * 1000, 50% - 0.75rem), 25% - 1.125rem), 1fr));
}

/* Five, six or nine: three to a row at most, so 3 + 2, 3 + 3 and 3 + 3 + 3
   where four would fit. The columns' least width is a third of the grid
   (less two of the widest gap) or 15rem, whichever is more, so where three
   do not fit the grid takes two, or one. Eight fills four across on its own. */
.svc-tiles[data-count="5"],
.svc-tiles[data-count="6"],
.svc-tiles[data-count="9"] {
  grid-template-columns: repeat(auto-fit, minmax(max(min(100%, 15rem), 33.333% - 1rem), 1fr));
}

/* Seven or ten on a tablet, where the grid holds three and two would leave
   the last of seven alone: six columns, each of the last four tiles three of
   them and every tile before them two, so 3 + 2 + 2 and 3 + 3 + 2 + 2. Only
   where the page's width is the grid's, which it is on a tablet for every
   look but those named: the ones that set the tiles' columns themselves, and
   folio, whose column is narrower from 64rem. */
@media (min-width: 49.5rem) and (max-width: 65.49rem) {
  :root:not([data-look="carton"], [data-look="diptych"], [data-look="flash"], [data-look="folio"], [data-look="index"], [data-look="letter"], [data-look="lido"], [data-look="lookbook"], [data-look="masthead"], [data-look="receipt"], [data-look="rooms"], [data-look="saga"], [data-look="vitrine"]) .svc-tiles:is([data-count="7"], [data-count="10"]) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  :root:not([data-look="carton"], [data-look="diptych"], [data-look="flash"], [data-look="folio"], [data-look="index"], [data-look="letter"], [data-look="lido"], [data-look="lookbook"], [data-look="masthead"], [data-look="receipt"], [data-look="rooms"], [data-look="saga"], [data-look="vitrine"]) .svc-tiles:is([data-count="7"], [data-count="10"]) > * { grid-column: span 2; }
  :root:not([data-look="carton"], [data-look="diptych"], [data-look="flash"], [data-look="folio"], [data-look="index"], [data-look="letter"], [data-look="lido"], [data-look="lookbook"], [data-look="masthead"], [data-look="receipt"], [data-look="rooms"], [data-look="saga"], [data-look="vitrine"]) .svc-tiles:is([data-count="7"], [data-count="10"]) > :nth-last-child(-n + 4) { grid-column: span 3; }
}

/* A tile with no photograph is a dark card whatever the palette: the ink it
   was drawn in is light on a dark page (a dark look, a dark palette), and the
   tile's words are white, so they vanished on it. Near-black, tinted by the
   brand, as the photo tiles' own shade is. */
.svc-tile--plain .svc-tile__in { background: color-mix(in srgb, var(--brand) 22%, #121418); }

/* ---- features/visit-getting.css ---- */
/* The Visit tiles while Getting here is open (src/sections/contact.mjs): its tile grows to hold the directions, and
   every tile keeps at least the height they all had shut (--tiles-shut, measured by js/features/visit-getting.js), so
   the others stay as they were rather than falling to their own words' height. Without the script, they fall as before. */
.visit-first:has(.visit-first__getting[open]) > .visit-first__tile { min-height: var(--tiles-shut, auto); }

/* ---- features/promos.css ---- */
/* Promos: what is on this season, a card each — a photograph, a title, a line
   and one button. Whole cards in a grid, never a row cut off at the edge. */
/* A card is never wider than 26rem: two running in a wide window are two cards,
   not two posters. */
/* Under a centred heading the row is centred with it, as the offers' and the team's are: whoever centres a section's
   heading sets --row-justify beside it (sections.css, "People"). Left, two cards under speakeasy's centred head left a
   third column's room all on the right (two bakeries, 2026-11-16). auto-fit, so a column
   with no card in it takes no room. */
.promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 26rem)); justify-content: var(--row-justify, normal); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
/* Full rows, never a full row with a lone card under it (Tor: it reads as unfinished): its columns follow how many
   cards it shows (data-count), two side by side for two or four, three for three or six, and one a row until three
   fit beside each other. Eternal Flavors' three ran two and one. */
.promos:is([data-count="3"], [data-count="6"]) { grid-template-columns: minmax(0, 26rem); }
@media (min-width: 40rem) {
  .promos:is([data-count="2"], [data-count="4"], [data-count="6"]) { grid-template-columns: repeat(2, minmax(0, 26rem)); }
}
@media (min-width: 52rem) {
  .promos:is([data-count="3"], [data-count="6"]) { grid-template-columns: repeat(3, minmax(0, 26rem)); }
}
.promo { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: var(--rule); border-radius: var(--radius-lg); }
.promo__photo { display: block; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.promo__photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.promo__body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem 1.5rem 1.5rem; }
.promo__title { margin: 0 0 0.4rem; font-size: var(--step-1); }
.promo .promo__text { margin: 0; color: var(--muted); }
.promo .promo__go { margin: auto 0 0; padding-top: 1rem; }

/* ---- features/event-extras.css ---- */
/* An event's own button: tickets, a sign-up sheet, the class's page. */
.event .event__go { margin: 0.75rem 0 0; }

/* ---- features/form-photos.css ---- */
/* Photos with a message (`photos` on a contact section or one of its modes, src/form-photos.mjs): the file box drawn
   as a dashed drop area with its own button, the line under it, and a row of square thumbnails of what was picked,
   which the page's script fills (src/theme/js/features/form-photos.js). */
.field--photos input[type="file"] {
  padding: 0.7rem; border-style: dashed; background: transparent; cursor: pointer;
  font-size: 0.95rem; color: var(--muted);
}
.field--photos input[type="file"]::file-selector-button {
  margin-right: 0.8rem; padding: 0.5rem 0.95rem;
  font: inherit; font-weight: 600; color: var(--ink);
  background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius-btn, var(--radius));
  cursor: pointer;
}
.field--photos .field-hint { margin: 0; }
.photo-picks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.photo-picks:empty { display: none; }
.photo-picks img {
  width: 4.5rem; height: 4.5rem; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.photo-picks p { flex-basis: 100%; margin: 0; font-size: 0.875rem; color: var(--muted); }

/* ---- features/quick-actions.css ---- */
/* The quick actions (quickActions in site.json): what every style of them shares (quickActions.style, QUICK_STYLES in
   src/features.mjs). The site's own style draws them (quick-actions-<style>.css), and every style but classic opens a
   phone's list as a sheet up from the bottom (quick-actions-sheet.css, after the style's file). Out of sight until the
   style shows them, and so are each action's short words and the phone button's own, which only some styles show. */
.quick, .quick__toggle, .quick__short, .quick__words { display: none; }

/* They wear the site's own colours, so over a band or a footer in the same colour they would vanish. A ring, light
   outside and dark inside, and a soft shadow set them apart from whatever they float over, light or dark. */
.quick { --quick-ring: 0 0 0 1px rgb(255 255 255 / 0.7), 0 0 0 2.5px rgb(0 0 0 / 0.28), 0 12px 26px -12px rgb(0 0 0 / 0.6); }

/* A style pinned to the bottom of the screen would cover the footer's last line once the page is scrolled to its end,
   so the footer keeps it the room the style asks for (--quick-room), in the footer's own colour. */
.site-footer::after { content: ""; display: block; height: var(--quick-room, 0px); }

/* Whatever the style shows on a screen, a printed page has the business's own details instead. */
@media print {
  .quick { display: none !important; }
  .site-footer::after { content: none; }
}

/* Pressed as the page's buttons are (css/polish.css). */
:where(.quick__item) { transition: scale 0.12s var(--ease-out); }
:where(.quick__item):active { scale: var(--press); }
.js :where(.quick__item) { -webkit-tap-highlight-color: transparent; }

/* ---- features/quick-actions-pill.css ---- */
/* What the capsule and the corner share (quickActions.style "capsule" and "corner"): the pill a phone shows and the words
   that come up beside an icon on a laptop. Each style's own file keeps what differs between them (sizes, positions, shadows
   and the round buttons); this one is carried before them, by those two styles alone (src/features.mjs). */
@media (max-width: 45.99rem), (max-width: 79.99rem) and (max-height: 37.99rem) {
  /* The one action the pill shows: the lead, else the call, else whatever comes first. */
  .quick li { display: none; }
  .quick li:has(> .quick__item--lead),
  .quick:not(:has(.quick__item--lead)) li.quick__call,
  .quick:not(:has(.quick__item--lead, .quick__call)) li:first-child { display: block; }
  /* Its short words, cut with an ellipsis where they do not fit; the whole label is for a screen reader. */
  .quick:not(.quick--open) .quick__label { display: none; }
  .quick:not(.quick--open) .quick__short {
    display: inline; max-width: 16rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: max-width 0.25s var(--ease-out);
  }
  .quick:not(.quick--open) .quick__item:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
  /* Folded (the script), while the page is scrolled down to be read: the pill its icon alone, so it covers less of the
     page; scrolled back up, at the end of the page, or given focus from a keyboard, it opens out again. */
  .quick:not(.quick--open) .quick__item { transition: padding 0.25s var(--ease-out), gap 0.25s var(--ease-out); }
  .quick--folded:not(.quick--open):not(:focus-within) .quick__short { max-width: 0; }
}

/* Waiting (the script: quick--waiting): over a hero that still fills most of the screen the pill is out of the way, so
   the first screen is the hero alone; it rises in once the hero has gone by. On a tablet too, upright or on its side,
   where it is a dock: there the hero is shorter than the screen, the first screen ends on the first lines of the section
   after it, and the dock at its foot lay over one of them (Ten Forty's about paragraph, Pro Tree's "What we do"). A
   laptop's first screen is the hero's own, and its dock is there from the start. */
@media (max-width: 79.99rem) {
  .quick--waiting:not(.quick--open) { opacity: 0; visibility: hidden; transform: translateY(0.75rem); }
}
@media (min-width: 46rem) and (max-width: 79.99rem) and (min-height: 38rem) {
  .quick { transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s; }
}

@media (min-width: 80rem), (min-width: 46rem) and (min-height: 38rem) {
  /* An icon's words come up beside it on focus from a keyboard and on a first tap with a finger (js/features/quick-actions.js),
     and the lead's are always there. */
  .quick__item:focus-visible .quick__label, .quick__item--open .quick__label { opacity: 1; }
  .quick__item--lead .quick__label { position: static; transform: none; padding: 0; background: none; color: inherit; font-size: inherit; opacity: 1; }
}
@media (min-width: 80rem) and (hover: hover), (min-width: 46rem) and (min-height: 38rem) and (hover: hover) {
  .quick__item:hover .quick__label { opacity: 1; }
}

/* ---- features/quick-actions-capsule.css ---- */
/* The quick actions as a capsule at the bottom centre (quickActions.style "capsule", the default): where either thumb
   reaches it, and a live site's screen, which has no Claim button at the bottom left, stays balanced.
   On a phone, upright or on its side, which a tablet's height tells apart from it: the site's lead in a pill of the
   accent, the header's call button's colour, in its short words, or the call when the site has no lead, with a
   button beside it for the rest, which opens them as a sheet (quick-actions-sheet.css), a call first. It sits in one
   row with a preview's Claim button and the button back to the top where it fits between them, and above Claim where
   it does not. While the page is scrolled down the pill folds to its icon. Without a script
   there is no button, and the pill alone still goes.
   On a laptop, and a tablet either way up: a dock at the bottom centre, the lead in words, the rest icons whose words
   come up above them on hover, on focus from a keyboard, and on a first tap with a finger (js/features/quick-actions.js).
   The call is the header's there, so the dock leaves it out.
   The pill's behavior is shared with the corner style (quick-actions-pill.css); this file keeps the capsule's sizes and places. */
@media (max-width: 45.99rem), (max-width: 79.99rem) and (max-height: 37.99rem) {
  .quick {
    --quick-clear: 5rem;
    position: fixed; left: 0; right: 0; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 46;
    display: flex; flex-direction: row-reverse; align-items: center; gap: 0.35rem;
    width: max-content; max-width: calc(100vw - 2rem); margin-inline: auto; padding: 0.35rem;
    background: var(--paper); border-radius: 999px; box-shadow: var(--quick-ring);
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
  }
  :root { --quick-room: 3.25rem; }
  /* A preview's Claim button has the bottom left (and its style panel, when given, the bottom right). The capsule is in
     one row with it where it fits there with its words out (quick--row: the script measures it, since Claim's width is
     its look's typeface's), centred in the room between Claim's right edge (--quick-after) and the button back to the
     top (features/to-top.css: 2.75rem, 1rem in from the edge), which it keeps clear on both sides on a live site, so as
     to stay in the middle of the screen. Claim and that button are 2.75rem tall and the capsule 3.7rem, so they come
     up 0.475rem onto its middle line. Where it does not fit, where the style panel shows, and without a script, it
     stands above Claim. */
  .quick { --quick-beside: 1rem; }
  :root:has(.to-top) .quick { --quick-beside: 4.25rem; }
  .quick--row:not(.quick--open) { left: max(var(--quick-after, 0px) + 0.5rem, var(--quick-beside)); right: var(--quick-beside); }
  :root:has(.quick--row) .preview-pill { bottom: calc(1.475rem + env(safe-area-inset-bottom, 0px)); height: 2.75rem; padding-block: 0; }
  :root:has(.preview-pill):not(:has(.quick--row)) { --quick-room: 7rem; }
  :root:has(.preview-pill) .quick:not(.quick--open):not(.quick--row) { bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px)); }
  /* Waiting for the hero to go by: quick-actions-pill.css. */
  .quick ul { display: block; min-width: 0; margin: 0; padding: 0; list-style: none; }
  .quick:not(.quick--open) .quick__item {
    display: inline-flex; align-items: center; gap: 0.55rem; max-width: 100%; height: 3rem; padding: 0 1.3rem 0 1.05rem;
    border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent);
    font: inherit; font-size: 1.02rem; font-weight: 650; text-decoration: none; cursor: pointer;
  }
  .quick:not(.quick--open) .quick__item .icon { flex: none; width: 1.3rem; height: 1.3rem; }
  /* Folded (the script): the pill its icon alone. Its words and the way it folds are quick-actions-pill.css. */
  .quick--folded:not(.quick--open):not(:focus-within) .quick__item { gap: 0; padding: 0 0.85rem; }
  .quick__toggle:not([hidden]) {
    flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0;
    border: 0; border-radius: 50%; background: color-mix(in srgb, var(--ink) 9%, var(--paper)); color: var(--ink); cursor: pointer;
  }
  .quick__toggle .icon { width: 1.35rem; height: 1.35rem; }
  .quick__toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  /* Open, the capsule is the button alone, at the foot of the sheet. */
  .quick.quick--open { background: none; box-shadow: none; }
}

/* While the script measures whether the capsule fits in the row, nothing in it moves: the classes it had are back
   before the page is drawn again. */
.quick--measuring, .quick--measuring * { transition: none !important; }

@media (min-width: 80rem), (min-width: 46rem) and (min-height: 38rem) {
  :root { --quick-room: 3.5rem; }
  .quick {
    position: fixed; left: 0; right: 0; bottom: 1.25rem; z-index: 40;
    display: block; width: max-content; max-width: calc(100vw - 2rem); margin-inline: auto;
  }
  .quick ul {
    display: flex; align-items: center; gap: 0.3rem; margin: 0; padding: 0.35rem; list-style: none;
    background: color-mix(in srgb, var(--paper) 90%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
    border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 18px 40px -18px rgb(0 0 0 / 0.55);
  }
  .quick__call { display: none; }
  .quick__item {
    position: relative; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
    border: 0; border-radius: 50%; background: none; color: var(--ink); font: inherit; text-decoration: none; cursor: pointer;
  }
  .quick__item .icon { width: 1.2rem; height: 1.2rem; }
  .quick__item:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  .quick__label {
    position: absolute; bottom: calc(100% + 0.7rem); left: 50%; transform: translateX(-50%);
    padding: 0.35rem 0.65rem; border-radius: 0.5rem; background: var(--ink); color: var(--paper);
    font-size: 0.85rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.15s var(--ease-out);
  }
  .quick__item--lead {
    display: inline-flex; gap: 0.55rem; width: auto; padding: 0 1.25rem 0 1.05rem; border-radius: 999px;
    background: var(--accent); color: var(--on-accent); font-size: 0.98rem; font-weight: 650;
  }
}
@media (min-width: 80rem) and (hover: hover), (min-width: 46rem) and (min-height: 38rem) and (hover: hover) {
  .quick__item:not(.quick__item--lead):hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
}

/* ---- features/quick-actions-sheet.css ---- */
/* The list a phone opens (js/features/quick-actions.js), for every style but classic: a sheet up from the bottom of
   the screen over the dimmed page, each action a row of its words beside its icon in a tinted circle, the site's lead
   in the accent, the header's call button's colour. The style's button stays where it was, an x now, over the foot of
   the sheet, which leaves it the room the style says (--quick-clear). After the style's own file, so that open, the
   sheet's rules are the ones that hold. */
@media (max-width: 45.99rem), (max-width: 79.99rem) and (max-height: 37.99rem) {
  .quick--open::before { content: ""; position: fixed; inset: 0; z-index: 44; background: color-mix(in srgb, #000 50%, transparent); }
  .quick.quick--open ul {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 47;
    display: grid; gap: 0.2rem; max-height: 80dvh; overflow-y: auto;
    margin: 0; padding: 1.5rem 0.75rem calc(var(--quick-clear, 1rem) + env(safe-area-inset-bottom, 0px)); list-style: none;
    background: var(--paper); color: var(--ink); border-radius: 1.25rem 1.25rem 0 0;
    box-shadow: 0 -18px 50px -20px rgb(0 0 0 / 0.6);
  }
  /* The handle at the top says it is a sheet over the page, not part of it. */
  .quick.quick--open ul::before {
    content: ""; position: absolute; top: 0.6rem; left: 0; right: 0; width: 2.5rem; height: 0.3rem; margin-inline: auto;
    border-radius: 99px; background: color-mix(in srgb, var(--ink) 25%, transparent);
  }
  .quick.quick--open li { display: block; }
  .quick.quick--open .quick__item {
    display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 0.9rem;
    width: 100%; height: auto; min-height: 3.5rem; padding: 0.4rem 0.75rem;
    border: 0; border-radius: 0.9rem; background: transparent; color: inherit; box-shadow: none;
    font: inherit; font-size: 1.05rem; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer;
  }
  .quick.quick--open .quick__item .icon {
    flex: none; box-sizing: content-box; width: 1.25rem; height: 1.25rem; padding: 0.6rem;
    border-radius: 50%; background: color-mix(in srgb, var(--accent) 18%, var(--paper)); color: var(--ink);
  }
  .quick.quick--open .quick__item--lead { background: var(--accent); color: var(--on-accent); }
  .quick.quick--open .quick__item--lead .icon { background: color-mix(in srgb, var(--on-accent) 16%, transparent); color: inherit; }
  .quick.quick--open .quick__label {
    display: inline; position: static; max-width: none; margin: 0; padding: 0; opacity: 1; transform: none;
    background: none; color: inherit; font-size: inherit; white-space: normal; box-shadow: none;
  }
  .quick.quick--open .quick__short { display: none; }
  .quick.quick--open .quick__item:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  /* On its side, two columns, so the list fits the short screen. */
  @media (orientation: landscape) { .quick.quick--open ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

  /* The button that opened the sheet closes it: over the sheet, its + turned to an x, its own words (a style's that
     has them) kept for a screen reader alone, since they still name it. */
  .quick.quick--open .quick__toggle:not([hidden]) { z-index: 48; }
  .quick__toggle .icon { transition: transform 0.2s var(--ease-out); }
  .quick__toggle[aria-expanded="true"] .icon { transform: rotate(45deg); }
  .quick.quick--open .quick__words {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

/* ---- features/to-top.css ---- */
/* The button back to the top (`backToTop`: src/actions.mjs backToTop, js/features/to-top.js). Added only to a site
   that asks for it (src/features.mjs).

   A square of the accent in the bottom right corner, a thumb's width, with the look's own button corners
   (--radius-btn), so it is square on a square look and round on a round one. Its script shows it once the visitor
   has scrolled a screen down; with no script it stays hidden, and nothing is lost but a shortcut.

   It shares the corner with two things that can be there first, and steps up above each: the preview's style builder
   (.themer, form.css), where it shows, and the quick actions where a style puts them at the right on that screen
   (features/quick-actions-*.css). On a phone the bar sits across the bottom, so it steps above that too; the capsule
   takes it into one row along the bottom with a preview's Claim button where the capsule fits between them
   (quick--row), and otherwise it steps above the capsule on a live site and stays on Claim's row on a preview, where the
   capsule stands above Claim. Every preview's page carries the builder's mount hidden (render.mjs), so only one that
   shows counts. */

.to-top {
  position: fixed; right: 1rem; z-index: 39;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px) + var(--to-top-lift, 0px));
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius-btn, 6px); background: var(--accent); color: var(--on-accent);
  box-shadow: 0 0.5rem 1.25rem -0.5rem color-mix(in srgb, #000 45%, transparent), inset 0 0 0 1px var(--accent-edge, transparent);
  text-decoration: none;
}
.to-top[hidden] { display: none; }
.to-top .icon { width: 1.35rem; height: 1.35rem; stroke-width: 2.5; }
.to-top:hover { background: color-mix(in srgb, var(--accent) 86%, #000); }
.to-top:focus-visible { outline: 3px solid var(--focus, var(--brand)); outline-offset: 3px; }

/* Above the preview's style builder, which sits in the same corner where it shows. */
body:has(.themer:not([hidden])) { --to-top-lift: 3.5rem; }

/* Above the quick actions that sit at the bottom right or across the bottom on a phone (every style), and those
   still at the bottom right on a wider screen (corner). The rail and classic sit halfway up the right side there, and
   the capsule and the bar are a dock at the bottom centre, so it stays in its corner beside those. A preview's capsule
   that does not fit in the row stands above Claim, and this stays down on Claim's row. */
@media (max-width: 47.99rem) {
  body:has(.quick) { --to-top-lift: 4.5rem; }
  body:has(.preview-pill):has(.quick--capsule:not(.quick--row)) { --to-top-lift: 0px; }
  body:has(.quick):has(.themer:not([hidden])) { --to-top-lift: 8rem; }
}
@media (min-width: 48rem) {
  body:has(.quick--corner) { --to-top-lift: 4.75rem; }
  body:has(.quick--corner):has(.themer:not([hidden])) { --to-top-lift: 8.25rem; }
}
/* In one row with the capsule (quick-actions-capsule.css, on a phone either way up): on its middle line, as Claim is. */
@media (max-width: 45.99rem), (max-width: 79.99rem) and (max-height: 37.99rem) {
  body:has(.quick--row) { --to-top-lift: 0.475rem; }
}

@media print { .to-top { display: none; } }

/* Pressed as the page's buttons are (css/polish.css). */
:where(.to-top) { transition: scale 0.12s var(--ease-out); }
:where(.to-top):active { scale: var(--press); }
.js :where(.to-top) { -webkit-tap-highlight-color: transparent; }

/* ---- features/to-top-ring.css ---- */
/* The button back to the top drawn as a ring (`"backToTop": "ring"`: src/actions.mjs backToTop), after to-top.css, which
   keeps its corner, its size and its steps above whatever shares the corner. Added only to a site that asks for it
   (src/features.mjs), so the filled square every other site carries is byte for byte as it was.

   A thin circle of the accent on the page's own ground, its chevron in the accent; pointed at or reached by the
   keyboard, a second circle just inside it is drawn round in one sweep from the top, clockwise (Tor, 2026-11-09, from a
   dark restaurant site's own). The sweep is a conic gradient cut to a ring, its angle a registered custom property so it
   can be animated; a browser that cannot animate one shows the inner circle whole at once, and one that asks for less
   motion has it whole at once too. */

@property --to-top-sweep {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.to-top--ring {
  width: 3rem; height: 3rem; border-radius: 50%;
  border: 1.5px solid var(--accent); background: color-mix(in srgb, var(--paper) 88%, transparent); color: var(--accent);
  box-shadow: 0 0.5rem 1.25rem -0.75rem color-mix(in srgb, #000 35%, transparent);
}
.to-top--ring::before {
  content: ''; position: absolute; inset: 4px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(var(--accent) var(--to-top-sweep), transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  transition: --to-top-sweep 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.to-top--ring:is(:hover, :focus-visible)::before { --to-top-sweep: 360deg; }
.to-top--ring:hover { background: color-mix(in srgb, var(--paper) 88%, transparent); }
.to-top--ring .icon { width: 1.25rem; height: 1.25rem; stroke-width: 2; }

@media (prefers-reduced-motion: reduce) {
  .to-top--ring::before { transition: none; }
}

/* ---- looks/aegean.css ---- */
/* ==========================================================================
   What every design language starts from (docs/decisions/DESIGN-LANGUAGES.md).

   Not part of the shared stylesheet, and not a look of its own: the build puts
   this file at the top of each language's sheet (lookCss in build/assets.mjs),
   with every `:root[data-look="aegean"]` below scoped to that language — so a site
   without one carries none of it, and a page the switcher has dressed in a
   language and then in another look keeps none of it either.

   A language draws its own hero, plate, photographs and lists, and so first
   takes back what the nine presets each do to them in their own way. Each
   language then sets its own shapes and colours over this; a rule here and a
   rule there with the same selector go to the language, which comes after.
   ========================================================================== */

/* Storefront's arched windows: a language draws its photographs with its own
   corners, through --radius-lg, so the Corners knob still reaches them. */
:root[data-look="aegean"] :is(.hero__photo, .about__photo) { border-radius: var(--radius-lg); }

/* Storefront hangs the plate over the photograph's corner and makes it an arch
   when there is no photograph; workshop and dispatch fill it and size it. A
   language's plate stands in the flow, its own shape — unless the Hero knob has
   placed it, whose width ("photo above" sets one) is the knob's to keep. */
:root[data-look="aegean"]:not([data-hero]) .hero--photo .plate { position: static; width: auto; }
:root[data-look="aegean"] .hero--photo .plate { box-shadow: none; }
:root[data-look="aegean"] .hero--plain .plate { display: block; min-height: 0; border-radius: var(--radius-lg); }
:root[data-look="aegean"] .plate__value { font-stretch: var(--display-stretch); --plate-fit: 15cqi; }

/* Workshop's fleet stripe under the hero is the workshop's, not a language's,
   and so are field's horizon rule and studio's hairline beneath it. */
:root[data-look="aegean"] .hero::after { content: none; }
:root[data-look="aegean"] .hero { border-bottom: 0; }

/* The headings' type is the language's: dispatch's capitals and tracking, and
   the light weights atelier and lounge set straight on them, all go back to
   the language's own tokens (which the Headings knob still reaches). A
   language built on capitals sets them again itself. Written out rather than
   in :is(), which would give every one the weight of the heaviest — and
   outrank a language's own .plate__label. */
:root[data-look="aegean"] .hero__title,
:root[data-look="aegean"] .svc__title,
:root[data-look="aegean"] .s__head h2 {
  text-transform: none; font-weight: var(--display-weight); letter-spacing: var(--display-tracking);
}
:root[data-look="aegean"] .plate__label { text-transform: none; letter-spacing: normal; }

/* Table's italic quotes and lounge's spaced-out buttons are theirs too —
   though a style somebody chose keeps its own buttons' spacing. */
:root[data-look="aegean"] .quote blockquote { font-style: normal; }
:root[data-look="aegean"]:not([data-style]) .btn { letter-spacing: normal; }

/* The pills a page draws with fixed corners — the contact form's choice of
   enquiry, a featured plan's flag, the monthly/yearly switch — follow the
   language's corners instead, and the Corners knob with them. */
:root[data-look="aegean"] .ask__opt,
:root[data-look="aegean"] .tier__flag { border-radius: var(--radius); }
:root[data-look="aegean"] :is(.tiers-switch, .tiers-switch label) { border-radius: var(--radius-btn); }

/* ==========================================================================
   Look: aegean — `"theme": { "look": "aegean" }` in a site.json; the
   switcher's "Aegean — thin spaced capitals on the photograph, white and
   blue, a key border".

   A design language, drawn on 2026-11-05 from Taverna Kyclades's site
   (tavernakyclades.com), a family Greek taverna in Astoria, Queens, chosen to
   Tor's brief for a Greek island style: white rooms, the sea's blue, a fish
   counter photographed. For a Greek or Mediterranean restaurant, a diner, a
   bakery or a deli.

   - A white header, the name at the left over a short Greek key in the
     brand (their name is framed by a blue key border), the links in small
     spaced capitals at the right.
   - The hero is the photograph to the window's edges, the headline centred on
     it in thin, widely spaced white capitals over a short white key, the
     since line spaced small under it, under a wash that reads white on any
     photograph. An upright photograph stands at its own shape beside the
     words instead, which go onto the white page in the brand.
   - Every head is thin spaced capitals in the brand; the words are a light
     mono, Red Hat Mono, in place of their Roboto Mono; the welcome (the about)
     sets its head at the left beside the mono at the right, signed.
   - The gallery lies on a pale blue-grey band as a loose collage; buttons
     are small spaced capitals in a hairline, the call the one filled.
   - The footer is the brand's field with the key running along its top.

   Raleway for the capitals and heads (their Montserrat and Lato), Red Hat
   Mono for the words (LOOK_FONTS). Rules are scoped `:root[data-look="aegean"]
   …`; the hero is guarded so the switcher's knobs win.
   ========================================================================== */

:root[data-look="aegean"] {
  --font-display: "Raleway", system-ui, sans-serif;
  --font-body: "Red Hat Mono", ui-monospace, monospace;
  --display-weight: 300;
  --display-stretch: 100%;
  --display-tracking: 0.12em;
  --radius: 0px;
  --radius-lg: 0px;
  --radius-btn: 1px;
  --card-edge: 0 solid transparent;
  --card-shadow: none;
  --line: color-mix(in srgb, var(--ink) 16%, transparent);
  --tint: color-mix(in srgb, var(--brand) 6%, var(--paper));
  --hero-size: clamp(1.9rem, 1.1rem + 2.7vw, 3.35rem);
  --hero-measure: 100%;
  --step-4: clamp(1.75rem, 1.35rem + 1.4vw, 2.5rem);
  --space-section: clamp(4rem, 3rem + 5vw, 8rem);
  --link: var(--brand);
  /* The Greek key, one tile of it: a mask the brand (or white) shows through, so it takes any palette's colour. */
  --aegean-key: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><rect width='2' height='12'/><rect width='10' height='2'/><rect x='8' width='2' height='8'/><rect x='4' y='6' width='6' height='2'/><rect x='4' y='4' width='2' height='4'/><rect y='10' width='12' height='2'/></svg>");
}

:root[data-look="aegean"] body { overflow-x: clip; font-size: 0.97rem; font-weight: 400; letter-spacing: 0; }
:root[data-look="aegean"] :is(p, li, dd, td, blockquote) { line-height: 1.75; }
:root[data-look="aegean"] :is(strong, b) { font-weight: 600; }

/* ---- the capitals: every head, thin and widely spaced, in the brand ------------------------------ */

:root[data-look="aegean"] :is(.s__head h2, .cta h2, .band__words h2, .inquire__title, .menu__cat, .statement__text) {
  font-family: var(--font-display); font-weight: 300; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.25; text-wrap: balance;
}
:root[data-look="aegean"] :is(.s__head h2, .cta h2, .inquire__title, .menu__cat) { color: var(--brand); }
:root[data-look="aegean"] .s__head h2 { font-size: var(--step-4); }
:root[data-look="aegean"] :is(.svc__title, .promo__title, .event__title, .cred__title, .tier__name, .step h3, .person h3, .menu__name, .contact__sub) {
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.03em; text-transform: none;
}
/* A small label in spaced capitals: the since line, a review's name, the footer's heads. */
:root[data-look="aegean"] :is(.hero__since, .quote figcaption, .footer__h, .statement__by, .tier__flag, .about__facts-h, .checks__h) {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
}
:root[data-look="aegean"] .s__head { margin-inline: auto; text-align: center; }
/* A row of cards that does not fill the line, the week's offers among them, centred under the head too (offers.css). */
:root[data-look="aegean"] .s { --row-justify: center; }
:root[data-look="aegean"] .s__intro { max-width: 54ch; margin-inline: auto; color: var(--muted); }
:root[data-look="aegean"] .s__more { justify-content: center; text-align: center; }

/* The key as a short rule: under the name in the header, under the statement, and in the look's own hero under its
   headline (a Hero setting draws its own). */
:root[data-look="aegean"] :is(.brand__text, .statement__text)::after,
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero__title::after {
  content: ""; display: block; height: 0.75rem; width: 9rem; margin-top: 0.55rem;
  background: var(--brand); -webkit-mask: var(--aegean-key) repeat-x left / 0.75rem 0.75rem; mask: var(--aegean-key) repeat-x left / 0.75rem 0.75rem;
}

/* ---- header: white, the name at the left over the key, small spaced links at the right ------------ */

:root[data-look="aegean"] .site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
:root[data-look="aegean"] .brand__mark { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.2; color: var(--brand); }
:root[data-look="aegean"] .brand__desc { font-size: 0.74rem; letter-spacing: 0.02em; }
:root[data-look="aegean"] .brand__text::after { width: 100%; max-width: 9rem; height: 0.5rem; margin-top: 0.35rem; -webkit-mask-size: 0.5rem 0.5rem; mask-size: 0.5rem 0.5rem; }
:root[data-look="aegean"] .site-nav a { font-family: var(--font-display); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
@media (max-width: 63.99rem) {
  :root[data-look="aegean"] .brand__mark { font-size: 1rem; letter-spacing: 0.14em; }
  :root[data-look="aegean"] .brand__desc { display: none; }
}

/* ---- buttons: small spaced capitals in a hairline; the call the one filled -------------------- */

:root[data-look="aegean"] .btn {
  padding: 1em 1.9em; border-radius: var(--radius-btn); font-family: var(--font-display); font-size: 0.76rem; font-weight: 600; text-transform: uppercase;
}
:root[data-look="aegean"] .btn--sm { padding: 0.75em 1.3em; font-size: 0.72rem; }
/* Spaced as their capitals are, unless a Style somebody chose spaces its own (language.css). */
:root[data-look="aegean"]:not([data-style]) .btn { letter-spacing: 0.2em; }
:root[data-look="aegean"]:not([data-style]) .btn--sm { letter-spacing: 0.16em; }
:root[data-look="aegean"] .btn--ghost { background: transparent; color: var(--ink); border: 1px solid currentColor; }
:root[data-look="aegean"] .btn--accent { background: var(--brand); color: var(--on-brand); border: 1px solid var(--brand); }

/* ---- hero: the photograph to the window's edges, the headline centred on it ----------------------- */

:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero .plate,
:root[data-look="aegean"]:not([data-hero]):not([data-template]) :is(.hero__more, .hero__cards, .hero__facts) { display: none !important; }
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero { text-align: center; }
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; }
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero__copy { display: flex; flex-direction: column; align-items: center; max-width: 60rem; }
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero__title {
  font-family: var(--font-display); font-weight: 300; font-size: var(--hero-size); line-height: 1.22; letter-spacing: 0.14em; text-transform: uppercase; text-wrap: balance;
}
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero__title::after { width: 10.5rem; margin: 0.55em auto 0; }
/* The since line under the headline, small and spaced, as their "Astoria". */
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero__since { order: 2; margin: 1.1rem 0 0; }
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero__title { order: 1; }
:root[data-look="aegean"]:not([data-hero]):not([data-template]) :is(.hero__text, .hero__actions, .hero__badges, .rating) { order: 3; }
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero__text { max-width: 50ch; margin: 1.4rem auto 0; font-size: 1rem; }
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero__actions { justify-content: center; margin-top: 2rem; }
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero__badges { flex-flow: row wrap; justify-content: center; gap: 0.35rem 1.5rem; font-size: 0.86rem; }
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero__badges .icon { display: none; }
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero .rating { justify-content: center; }

:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--photo {
  position: relative; isolation: isolate; display: grid; align-items: center;
  min-height: min(88svh, 54rem); padding-block: clamp(5rem, 4rem + 5vw, 8rem);
  background: #13263a; color: #fff; --focus: #fff; --badge-icon: #fff; --link: #fff;
}
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--photo .hero__aside { position: static; display: block !important; aspect-ratio: auto !important; }
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--photo .hero__photo {
  position: absolute !important; inset: 0 !important; z-index: -1; width: 100% !important; height: 100% !important;
  margin: 0 !important; aspect-ratio: auto !important; border-radius: 0 !important; box-shadow: none !important; filter: none;
}
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--photo .hero__photo img { width: 100%; height: 100%; object-fit: cover; }
/* The wash, worked out for a white photograph: a sea-dark veil at 0.62 or more wherever the words can sit (white
   over it reads at 4.7:1, past the 4.5:1 the small words need), lighter only at the very top and foot. */
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--photo .hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgb(11 27 44 / 0.48) 0, rgb(11 27 44 / 0.63) 18%, rgb(11 27 44 / 0.63) 84%, rgb(11 27 44 / 0.5) 100%);
}
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--photo :is(.hero__title, .hero__since) { color: #fff; }
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--photo .hero__title::after { background: #fff; }
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--photo :is(.hero__text, .rating, .hero__badges) { color: rgb(255 255 255 / 0.94); }
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--photo :is(.btn--accent, .btn--ghost) { background: rgb(255 255 255 / 0.06); color: #fff; border: 1px solid #fff; }
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--photo .btn--accent:hover { background: #fff; color: #13263a; }

/* An upright photograph is not laid across a laptop's window, where it would show a third of itself: it stands at
   its own shape at the right, and the words go onto the white page at the left, in the brand. */
@media (min-width: 62rem) {
  :root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--photo.hero--tall {
    min-height: 0; padding-block: clamp(3rem, 2rem + 3vw, 5rem); background: var(--paper); color: var(--ink); text-align: start;
    --focus: var(--brand); --badge-icon: var(--brand); --link: var(--brand);
  }
  :root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--tall .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; justify-items: stretch; gap: clamp(2.5rem, 5vw, 5.5rem);
  }
  :root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--tall .hero__copy { align-items: flex-start; max-width: none; }
  :root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--tall .hero__title { font-size: clamp(1.9rem, 0.9rem + 2.2vw, 3rem); color: var(--brand); }
  :root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--tall .hero__title::after { margin-inline: 0; background: var(--brand); }
  :root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--tall .hero__since { color: var(--muted); }
  :root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--tall :is(.hero__text, .rating, .hero__badges) { color: var(--ink); margin-inline: 0; }
  :root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--tall :is(.hero__actions, .hero__badges, .rating) { justify-content: flex-start; }
  :root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--tall .btn--ghost { background: transparent; color: var(--ink); border-color: currentColor; }
  :root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--tall .btn--accent { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
  :root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--tall .hero__photo {
    position: relative !important; inset: auto !important; z-index: 0; width: 100% !important; height: auto !important; max-height: 80svh; aspect-ratio: 3 / 4 !important;
  }
  :root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--tall .hero__photo::after { content: none; }
}
/* On a phone the photograph is never the whole screen: at least a square, and only as tall as its words need. */
@media (max-width: 47.99rem) {
  :root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero--photo { min-height: max(100vw, 26rem); padding-block: 2.75rem 3rem; }
  :root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero__actions { margin-top: 1.6rem; }
  :root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero__badges { font-size: 0.8rem; }
  :root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero__title { letter-spacing: 0.08em; }
  :root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero__text { font-size: 0.94rem; line-height: 1.65; }
}

/* No photograph: the same words centred on the white page, the headline in the brand. */
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero:not(.hero--photo) {
  padding-block: clamp(5rem, 3.5rem + 6vw, 9rem); background: var(--paper); color: var(--ink);
}
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero:not(.hero--photo) .hero__title { color: var(--brand); }
:root[data-look="aegean"]:not([data-hero]):not([data-template]) .hero:not(.hero--photo) :is(.hero__since, .hero__text) { color: var(--muted); }

/* ---- sections: white with room; the tinted ones the palest blue-grey ----------------------------- */

:root[data-look="aegean"] :is(.about__photo, .promo__photo, .gallery img, .person img, .showcase img, .band) { border-radius: 0; box-shadow: none; }

/* The welcome: its head at the left in the capitals, the words in the mono at the right with the facts under them,
   signed; a photograph lying on its side across the top. The story's column lets go of its box, so its head and its
   words are each a cell of the section's own two columns. */
@media (min-width: 56rem) {
  :root[data-look="aegean"] .about--wide {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); column-gap: clamp(3rem, 7vw, 7rem); row-gap: 0; align-items: start;
  }
  :root[data-look="aegean"] .about--wide .about__text { display: contents; }
  :root[data-look="aegean"] .about--wide :is(.about__text > *, .about__facts) { grid-column: 2; max-width: 40rem; }
  :root[data-look="aegean"] .about--wide .about__text > .s__head { grid-column: 1; grid-row: 1 / span 12; margin: 0; max-width: none; }
  :root[data-look="aegean"] .about--wide:not(.about--words) .about__text > .s__head { grid-row: 2 / span 12; }
  :root[data-look="aegean"] .about--wide .about__photo { grid-column: 1 / -1; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
  :root[data-look="aegean"] .about--wide .about__facts { margin-top: 2.25rem; }
  /* The facts under the head, in its column, where the head stood alone over an empty column as tall as the story
     (a jeweller's, 2026-11-08): the head and the facts at the left, the story and its signature at the right. */
  :root[data-look="aegean"] .about--wide:has(.about__text > .s__head):has(.about__facts) .about__text > .s__head { grid-row: 1; }
  :root[data-look="aegean"] .about--wide:not(.about--words):has(.about__text > .s__head):has(.about__facts) .about__text > .s__head { grid-row: 2; }
  :root[data-look="aegean"] .about--wide:has(.about__text > .s__head) .about__facts { grid-column: 1; grid-row: 2 / span 12; align-self: start; margin-top: 1.5rem; max-width: 26rem; }
  :root[data-look="aegean"] .about--wide:not(.about--words):has(.about__text > .s__head) .about__facts { grid-row: 3 / span 12; }
  /* With no head of its own (the rest of the story under an About band that fades its photograph in, about.mjs), the
     head's column stood empty and the words sat alone at the right (a restaurant's, 2026-11-08): the words at the left
     as the band's are, the facts beside them, as every other look has it. */
  :root[data-look="aegean"] .about--wide:not(:has(.s__head)) { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  :root[data-look="aegean"] .about--wide:not(:has(.s__head)) .about__text { display: block; }
  :root[data-look="aegean"] .about--wide:not(:has(.s__head)) :is(.about__text > *, .about__facts) { grid-column: auto; }
  :root[data-look="aegean"] .about--wide:not(:has(.s__head)) .about__facts { margin-top: 0; }
}
:root[data-look="aegean"] .about .s__head { text-align: start; margin-inline: 0; }
:root[data-look="aegean"] .about .s__head h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.3; }
:root[data-look="aegean"] .about__lead { font-family: var(--font-body); font-size: 1.05rem; line-height: 1.75; color: var(--ink); }
:root[data-look="aegean"] .about__sig { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.35rem; letter-spacing: 0.02em; color: var(--brand); }
:root[data-look="aegean"] .about__sig::before { content: ""; display: block; width: 3rem; height: 1px; margin-bottom: 0.9rem; background: var(--line); }
:root[data-look="aegean"] .about__facts { border-top: 1px solid var(--brand); }
:root[data-look="aegean"] .about__facts li { font-family: var(--font-body); font-size: 0.97rem; }
:root[data-look="aegean"] .checks { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 1.25rem 0 0; }

/* The statement: a short centred block, the capitals over the key, the name in spaced capitals under it. */
:root[data-look="aegean"] .statement { margin-inline: auto; text-align: center; }
:root[data-look="aegean"] .statement__text { max-width: 32ch; margin-inline: auto; font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.15rem); color: var(--brand); }
:root[data-look="aegean"] .statement__text::after { margin: 1.6rem auto 0; }
:root[data-look="aegean"] .statement__by { margin-top: 1.1rem; color: var(--muted); }

/* The gallery: a loose collage on a pale blue-grey band, in fours: two halves, then a wide one beside a narrow
   upright one of the same height; a last one left alone is centred under them. */
:root[data-look="aegean"] .s--gallery { background: var(--tint); }
@media (min-width: 48rem) {
  :root[data-look="aegean"] .gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.5rem; max-width: 64rem; margin-inline: auto; }
  :root[data-look="aegean"] .gallery[data-count] li { grid-column: span 3; grid-row: auto; }
  :root[data-look="aegean"] .gallery[data-count] li:nth-child(4n + 3) { grid-column: 1 / span 4; }
  :root[data-look="aegean"] .gallery[data-count] li:nth-child(4n) { grid-column: span 2; }
  :root[data-look="aegean"] .gallery[data-count] li:nth-child(4n + 1):last-child:not(:first-child) { grid-column: 2 / span 4; }
  :root[data-look="aegean"] .gallery[data-count] li img { aspect-ratio: 4 / 3; }
  :root[data-look="aegean"] .gallery[data-count] li:nth-child(4n + 3) img { aspect-ratio: 16 / 10; }
  :root[data-look="aegean"] .gallery[data-count] li:nth-child(4n) img { aspect-ratio: 4 / 5; }
  :root[data-look="aegean"] .gallery[data-count="1"] li { grid-column: 1 / -1; }
}
:root[data-look="aegean"] .gallery figcaption { font-size: 0.85rem; }

/* Services, offers, the menu and events: hairlines, no boxes. */
:root[data-look="aegean"]:not([data-preset="table"]) .svc,
:root[data-look="aegean"] .promo { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
:root[data-look="aegean"]:not([data-preset="table"]) .svc:not(:has(.svc__photo)) { padding-top: 1.25rem; border-top: 1px solid var(--line); }
:root[data-look="aegean"]:not([data-preset="table"]) .svc__icon { display: none; }
:root[data-look="aegean"] :is(.svc__price, .menu__price, .tier__price) { font-family: var(--font-body); font-weight: 500; }
:root[data-look="aegean"] .menu__cat { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); letter-spacing: 0.16em; }

/* Reviews: words between hairlines, no card. */
:root[data-look="aegean"] .quote { padding: 1.5rem 0 0; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
:root[data-look="aegean"] .quote blockquote { font-size: 1rem; line-height: 1.75; font-style: normal; }
:root[data-look="aegean"] .quote .stars { color: var(--brand); }
:root[data-look="aegean"] :is(.tier, .contact-form, .step, .inquire) { --input: inherit; background: none; border: 1px solid var(--line); border-radius: 0; box-shadow: none; }
/* A step has no padding of its own (steps.css): boxed, its words are kept off the line. */
:root[data-look="aegean"] .step { padding: 1.5rem; }
:root[data-look="aegean"] .field :is(input, textarea, select) { border: 1px solid var(--line); border-radius: 0; background: var(--input); font-family: var(--font-body); }

/* The contact section's tiles keep the edge every look gives them (sections.css): their labels in the spaced
   capitals, the number and the address in the capitals' face. */
:root[data-look="aegean"] .visit-first__label { font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brand); }
:root[data-look="aegean"] .visit-first__big { font-weight: 400; letter-spacing: 0.02em; }
:root[data-look="aegean"] .hours th { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.04em; }

/* ---- the band, the call to action ---------------------------------------------------------------- */

:root[data-look="aegean"] .band__words h2 { color: inherit; font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); }
:root[data-look="aegean"] .s--cta { background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); }
:root[data-look="aegean"] .cta { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
:root[data-look="aegean"] .cta h2 { font-size: var(--step-4); }
:root[data-look="aegean"] .cta p { max-width: 50ch; margin-inline: auto; color: var(--muted); }
:root[data-look="aegean"] .cta__actions { justify-content: center; }

/* ---- the footer: the brand's field, the key along its top -------------------------------------- */

:root[data-look="aegean"] .site-footer {
  /* The footer's ground and its words, set whatever design or palette drew one of its own: the ink and the footer's
     words are its words, and the footer colour its ground, as daylight's. */
  --footer: var(--brand-field, var(--brand)); --on-footer: var(--on-brand-field, var(--on-brand)); --ink: var(--on-brand-field, var(--on-brand)); --on-ink: var(--on-brand-field, var(--on-brand)); --muted: var(--on-brand-field, var(--on-brand)); --link: var(--on-brand-field, var(--on-brand)); --focus: var(--on-brand-field, var(--on-brand));
  --line: color-mix(in srgb, var(--on-brand-field, var(--on-brand)) 26%, transparent);
  position: relative; background: var(--brand-field, var(--brand)); color: var(--on-brand-field, var(--on-brand));
}
:root[data-look="aegean"] .site-footer::before {
  content: ""; display: block; height: 0.75rem; margin: 0 0 clamp(2.5rem, 2rem + 2vw, 3.5rem);
  background: var(--on-brand-field, var(--on-brand)); opacity: 0.9;
  -webkit-mask: var(--aegean-key) repeat-x center / 0.75rem 0.75rem; mask: var(--aegean-key) repeat-x center / 0.75rem 0.75rem;
}
:root[data-look="aegean"] .site-footer :is(a, .footer__brand, .footer__h, .hours__status) { color: var(--on-brand-field, var(--on-brand)); }
:root[data-look="aegean"] .footer__brand { font-family: var(--font-display); font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
@media (min-width: 48rem) {
  :root[data-look="aegean"] .footer__grid > div + div { padding-left: 2rem; border-left: 1px solid var(--line); }
}

/* A review and a service's words at a measure that reads, in any layout. */
:root[data-look="aegean"] :is(.quote blockquote, .svc > p:not([class])) { max-width: 62ch; }

/* ---- corners, when somebody chose them ------------------------------------------------------------ */
:root[data-look="aegean"][data-corners] :is(.about__photo, .tier, .contact-form, .step, .band, .gallery img) { border-radius: var(--radius-lg) !important; }

/* sites/j-jewelers-of-jeannette/custom.css */
/* J & J Jewelers of Jeannette: the script their own site sets its headlines in (Petit Formal Script, SIL Open Font
   License, files/fonts/OFL.txt), on every page's headline. Block, not swap: swap drew the headline in the design's
   bold serif until the script arrived, a flash of another face on every page; block holds it unseen that moment. */
@font-face {
  font-family: "Petit Formal Script";
  src: url("/files/fonts/petit-formal-script.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
.hero__title {
  font-family: "Petit Formal Script", var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
}
/* The script runs wider than the serif it stands in for: a longer line keeps the headline to two or three. */
.hero__title { max-inline-size: 20ch; }
/* Their three: Jewelry, Engagement Rings, Jewelry Services, side by side on a wide screen as on their own site. */
.promos { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
/* A script headline at the serif's size runs to four lines: smaller, it keeps to two. */
.hero__title { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.4rem); }
/* In the engraved look the words sit on a plate half the hero's width, where the script at that size broke
   "engagement" across two lines: there it is held to the plate, so the longest word keeps to one. */
:root[data-look="engraved"] .hero__title { font-size: clamp(2.2rem, 1.2rem + 2.4vw, min(4vw, 4.4rem)); }
/* lounge colours a ghost button with the page's text, which on the gold band is pale on gold: the band's own text instead. */
.s--cta .btn--ghost { border-color: var(--on-brand); color: var(--on-brand); }
/* A menu label holds its line ("Engagement Rings" broken in two reads as two links): when the row has no room for
   them all, page.js sees it overflow and gives the menu a row of its own under the name. */
.site-nav a { white-space: nowrap; }
/* Brands we carry, as one set: every brand's logo in a cell the same size, the six of them in one row (three across
   in two rows on a tablet, two across on a phone, so no row is ever left part empty), in place of pills that each took
   their own width. Ten brands ran five across until four were taken out (2026-11-08). Each logo file is white on the same 600x200 canvas, sized
   to cover about the same area as the others (a wide one comes out narrower, a tall one shorter), so one width here
   shows them all at one weight. A brand without a logo would be set in the headline face. */
.brandlist { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.brandlist__item, .brandlist__item--logo { display: flex; align-items: center; justify-content: center; min-height: 6.5rem; padding: 0.75rem 1rem; border: 0; border-radius: 0; background: var(--paper); font-family: var(--font-display); font-size: 1.2rem; font-weight: 400; text-align: center; }
.brandlist__item--logo img { width: min(12rem, 100%); height: auto; }
/* White logos vanish on a light page, so each is drawn by difference against its own cell: the reverse of the cell's
   colour, near-white on a dark page as it was, near-black on a light one, whatever style code the site wears. The
   cell is isolated so its colour alone counts. */
.brandlist__item--logo { isolation: isolate; }
.brandlist__item--logo img { mix-blend-mode: difference; }
@media (max-width: 64rem) {
  .brandlist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .brandlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 52rem) {
  .brandlist__item, .brandlist__item--logo { min-height: 5rem; padding: 0.5rem 0.6rem; }
  .brandlist__item--logo img { width: min(11rem, 100%); }
}
/* Customers' words in the body face: lounge sets them in the headline serif, which is heavy to read at this size.
   `:root[data-look]` outranks spotlight's own `.quote blockquote` rule. */
:root[data-look] .quote blockquote { font-family: var(--font-body); font-size: 1.06rem; font-weight: 400; line-height: 1.65; letter-spacing: 0; }
/* The two Italian designers' displays on the jewelry page (the owner's photographs, #designers): each shown whole, since
   the brands' own signs and boxes are the point of them, as two cards side by side with the name and line under the
   photograph, not over it. The photographs are 3 to 4, the frame's own shape, so nothing is cut. */
#designers .svc-tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 26rem)); justify-content: center; gap: 2rem; }
/* Two cards do not fill the row, and taberna keeps a short row at the left: this one is centred, its heading and its rule
   with it, so the pair reads as a showcase rather than a row left short. */
#designers .s__head { text-align: center; margin-inline: auto; }
#designers .s__head h2::after { margin-inline: auto; }
#designers .svc-tile__text { text-align: center; }
#designers .svc-tile__in { display: flex; flex-direction: column; align-items: stretch; min-height: 0; height: auto; overflow: visible; isolation: auto; border-radius: 0; background: none; color: var(--ink); }
#designers .svc-tile__photo { position: static; inset: auto; z-index: auto; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); }
#designers .svc-tile__photo img { height: 100%; object-fit: cover; }
#designers .svc-tile__photo::after { content: none; }
#designers .svc-tile__text { padding: 1rem 0 0; }
#designers .svc-tile__text .svc__title { color: var(--ink); }
#designers .svc-tile__text p { color: var(--muted); }

/* the site's typefaces (npm run fonts) */
@font-face{font-family:'Gilda Display';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/gilda-display-latin-ext-e271ff77.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Gilda Display';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/gilda-display-latin-f65c1ccd.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Jost';font-style:normal;font-weight:400 600;font-display:swap;src:url(/fonts/jost-latin-ext-b2a539cd.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Jost';font-style:normal;font-weight:400 600;font-display:swap;src:url(/fonts/jost-latin-235d8f89.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
