/* ==========================================================================
   Public website design system
   --------------------------------------------------------------------------
   One rule above all: the interface is quiet, so the business's photographs
   and words carry the page. Warm white, stone, graphite and ink by default;
   a colour scheme changes them, never a photograph.

   Colour schemes (App\Support\SiteTheme) change only the semantic tokens
   below (--bg, --text, --accent, --header-*, ...), never a photograph.
   Their defaults are the "neutral" scheme.

   Expense comes from restraint: generous space, large quiet type, real
   photography, 2px corners, slow and small motion. No gradients for
   decoration, no glass, no bounce.
   ========================================================================== */

/* The original design's fonts, Inter and Inter Tight, upright and italic,
   latin and the accented latin-ext (fetched only when a page needs it).
   The other families are declared by the layout when chosen
   (App\Support\SiteFonts); a face declared but not used is never
   downloaded. */
@font-face {
    font-family: "Inter";
    src: url("../fonts/inter/inter-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    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: "Inter";
    src: url("../fonts/inter/inter-latin-ext-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter/inter-latin-wght-italic.woff2") format("woff2");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
    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: "Inter";
    src: url("../fonts/inter/inter-latin-ext-wght-italic.woff2") format("woff2");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
    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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
    font-family: "Inter Tight";
    src: url("../fonts/inter-tight/inter-tight-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    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: "Inter Tight";
    src: url("../fonts/inter-tight/inter-tight-latin-ext-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
    font-family: "Inter Tight";
    src: url("../fonts/inter-tight/inter-tight-latin-wght-italic.woff2") format("woff2");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
    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: "Inter Tight";
    src: url("../fonts/inter-tight/inter-tight-latin-ext-wght-italic.woff2") format("woff2");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
    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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
    /* Neutrals. Warm, never blue-grey: a cold grey makes photographs of
       people, food and wood look tired. */
    --paper:      #F7F5F0;
    --paper-2:    #EFECE5;
    --stone:      #DDD8CE;
    --stone-dark: #B9B3A7;
    --muted:      #69655E;
    --graphite:   #3A3936;
    --ink:        #1B1B19;
    --line:       rgba(27, 27, 25, .12);
    --line-strong: rgba(27, 27, 25, .24);
    --line-light: rgb(var(--on-dark-rgb) / .14);

    /* Type on the parts that stay dark whatever the scheme: the hero (over
       its photograph), dark bands, the footer, the video and map frames.
       Its shades are this colour at an opacity, rgb(var(--on-dark-rgb) / .78).
       SiteTheme::report() checks them against the dark grounds. */
    --on-dark-rgb:   247 245 240;
    /* The light type as the page has it, for a footer of another colour's
       widgets, which re-reads --on-dark-rgb as its own type. */
    --page-on-dark-rgb: var(--on-dark-rgb);
    --on-dark:       rgb(var(--on-dark-rgb));
    --on-dark-error: #FFB4A8;
    /* The shade laid over a photograph so that words on it read (the hero's
       scrim, the lightbox), at an opacity: rgb(var(--scrim) / .72). */
    --scrim:         10 10 9;

    --focus:      #1B1B19;

    /* Semantic tokens: what the page uses. The defaults are the "neutral"
       scheme; SiteTheme::css() prints a small :root override for another
       scheme or an editor's colours (Website customizer -> Colours & style,
       Menu & header), and nothing at all for the defaults. The neutrals
       above stay fixed for the always-dark parts: the hero and the
       photographs' grounds. */
    --bg:           var(--paper);
    --surface:      var(--paper-2);   /* stone sections, panels */
    --surface-2:    var(--stone);     /* behind photographs */
    --faint:        var(--stone-dark);
    --field:        #fff;             /* inputs, chips, notices */
    --text:         var(--ink);
    --text-2:       var(--graphite);
    --heading:      currentColor;     /* = inherit: a heading takes its section's colour */
    --link:         currentColor;     /* links in running text */
    --error:        #8E2A20;
    --accent:       var(--ink);       /* main buttons, the selected chip */
    --accent-hover: var(--graphite);
    --accent-ink:   var(--paper);     /* the label on --accent */
    --btn-fill:     var(--accent);    /* transparent for outline buttons */
    --btn-text:     var(--accent-ink);
    --btn-on-accent:      var(--accent-ink);  /* a main button on a band of the button colour */
    --btn-on-accent-text: var(--accent);
    --btn-radius:   var(--radius);
    --btn-h:        48px;             /* button size: height, side padding, type */
    --btn-pad:      1.6rem;
    --btn-size:     var(--t-sm);
    --btn-weight:   500;
    --btn-case:     none;
    --btn-track:    .02em;
    --btn-shadow:   none;
    --link-line:    underline;        /* links in running text, and on hover */
    --link-line-hover: underline;
    --field-radius: var(--radius);
    --heading-case: none;
    --band:         var(--ink);       /* .section-ink */
    /* The button colour on a dark band, and its type (blocks.css; SiteTheme
       prints a scheme's own where it shows on the band). */
    --band-accent:     var(--on-dark);
    --band-accent-ink: var(--band);

    --header-bg:    rgba(247, 245, 240, .94);
    --header-solid: var(--bg);        /* the open mobile menu */
    --header-fg:    var(--text);
    --header-hover: currentColor;
    --header-line:  var(--line);
    --header-muted: var(--muted);
    --nav-size:     var(--t-sm);
    --nav-case:     none;
    --nav-track:    .01em;
    --topbar-bg:    var(--ink);
    --topbar-fg:    #fff;
    --topbar-h:     36px;

    --footer-bg:    var(--ink);
    --footer-hover: var(--paper);
    --footer-fg:    rgb(var(--on-dark-rgb) / .78);
    --footer-muted: rgb(var(--on-dark-rgb) / .5);
    --footer-stripe: none;

    --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-display: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
    /* Inter's own alternates (open digits, a single-storey a); another
       body font gets none (SiteTheme prints normal). */
    --body-features: "ss01", "cv11";
    --heading-weight: 400;
    --display-weight: 300;   /* the hero's large type */
    --leading:        1.6;

    /* Type scale - fluid, editorial. */
    --t-xs:   .75rem;
    --t-sm:   .875rem;
    --t-base: 1.0625rem;
    --t-lg:   1.25rem;
    --t-xl:   clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
    --t-2xl:  clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem);
    --t-3xl:  clamp(2.4rem, 1.4rem + 3.6vw, 4.25rem);
    --t-4xl:  clamp(2.9rem, 1.4rem + 5.6vw, 6.25rem);

    --space-1: .5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2.5rem;
    --space-5: 4rem;
    --space-6: clamp(4.5rem, 3rem + 6vw, 9rem);

    --gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);
    --max:    1440px;   /* the content's width (Website customizer -> Layout); none: full width */
    --measure: 64ch;

    --radius: 2px;
    /* Layout (Website customizer): the space between a page's bands, and
       the corners of cards and pictures - none by default; a panel that
       has 2px keeps at least that. Buttons have their own (--btn-radius). */
    --section-y:       var(--space-6);
    --section-y-tight: var(--space-5);
    --corner:          0px;
    --ease:   cubic-bezier(.2, .7, .2, 1);
    --header-h: 76px;
}

/* ---------------------------------------------------------------- base */

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--t-base);
    line-height: var(--leading);
    font-feature-settings: var(--body-features);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, picture, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-color: currentColor; }

/* Links in running text take the scheme's link colour (by default, the
   text's own). Things that are links - cards, lists, menus - keep theirs. */
:where(.prose, main p, .faq-answer, .comment-body, .field .hint) a:not([class]), .link-arrow { color: var(--link); }
/* Underlined, on hover only, or not at all (Website customizer): SiteTheme
   keeps the underline unless the link's colour tells it from the text. */
:where(.prose, main p, .faq-answer, .comment-body, .field .hint) a:not([class]) { text-decoration-line: var(--link-line); }
:where(.prose, main p, .faq-answer, .comment-body, .field .hint) a:not([class]):where(:hover) { text-decoration-line: var(--link-line-hover); }
:where(.prose, main p, .faq-answer, .comment-body, .field .hint) a:not([class]):where(:focus-visible) { text-decoration-line: underline; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: var(--heading-weight);
    line-height: 1.08;
    letter-spacing: var(--heading-track, -.022em);
    margin: 0 0 var(--space-2);
    text-wrap: balance;
    color: var(--heading);
    text-transform: var(--heading-case);
}

h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); letter-spacing: var(--heading-track, -.012em); line-height: 1.2; }
h4 { font-size: var(--t-lg); letter-spacing: var(--heading-track, -.01em); line-height: 1.3; }

/* The dark parts keep their light type: a scheme's heading and link
   colours are chosen for the page, not for these. */
.section-ink,
.section-accent,
.hero,
.site-footer,
.preview-banner,
.topbar { --heading: currentColor; --link: currentColor; }

p { margin: 0 0 var(--space-2); text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.section-ink :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible { --focus: var(--on-dark); }

::selection { background: var(--text); color: var(--bg); }

.skip-link {
    position: absolute; left: var(--gutter); top: -100px; z-index: 100;
    background: var(--text); color: var(--bg); padding: .75rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.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;
}

/* ------------------------------------------------------------- layout */

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 920px; }

.section { padding-block: var(--section-y); }
.section-tight { padding-block: var(--section-y-tight); }
.section-stone { background: var(--surface); }
.section-ink { background: var(--band); color: var(--on-dark); }
/* A band in the scheme's button colour, its type the button's label colour
   (a call-to-action block). */
.section-accent { background: var(--accent); color: var(--accent-ink); }
.section-ink + .section-ink { border-top: 1px solid var(--line-light); }
main > .section-ink:last-child { border-bottom: 1px solid var(--line-light); }
/* Blocks can be put in any order: two dark bands side by side, or a dark
   one against the footer, keep a seam. */

.grid { display: grid; gap: var(--space-3); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1000px) {
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------ type kit */

.eyebrow {
    display: inline-block;
    font-size: var(--t-xs);
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: var(--space-2);
}
.section-ink .eyebrow { color: rgb(var(--on-dark-rgb) / .62); }

.display { font-size: var(--t-4xl); font-weight: var(--display-weight); letter-spacing: var(--display-track, -.035em); line-height: .98; }
.lede { font-size: var(--t-lg); line-height: 1.55; color: var(--text-2); max-width: 46ch; }
.section-ink .lede { color: rgb(var(--on-dark-rgb) / .78); }
.muted { color: var(--muted); }
.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--t-xl); margin-top: var(--space-4); }
.prose h3 { font-size: var(--t-lg); margin-top: var(--space-3); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 var(--space-2); }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin: var(--space-3) 0; padding-left: var(--space-3); border-left: 1px solid var(--text); font-family: var(--font-display); font-size: var(--t-lg); }
.prose img { margin-block: var(--space-3); }

.section-head { display: grid; gap: var(--space-2); margin-bottom: var(--space-4); max-width: 760px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
.section-head-split { display: flex; justify-content: space-between; align-items: end; gap: var(--space-3); max-width: none; flex-wrap: wrap; }

/* ------------------------------------------------------------- buttons */

/* Main buttons follow the scheme's accent (solid or outline, any corner);
   the light pair is for photographs and dark sections. */
.btn {
    --btn-bg: var(--btn-fill); --btn-fg: var(--btn-text); --btn-border: var(--accent);
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: var(--btn-h); padding: 0 var(--btn-pad);
    background: var(--btn-bg); color: var(--btn-fg);
    border: 1px solid var(--btn-border); border-radius: var(--btn-radius);
    font: var(--btn-weight) var(--btn-size)/1 var(--font-body); letter-spacing: var(--btn-track);
    text-transform: var(--btn-case); box-shadow: var(--btn-shadow);
    text-decoration: none; cursor: pointer;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { --btn-bg: var(--accent-hover); --btn-fg: var(--accent-ink); --btn-border: var(--accent-hover); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-border: var(--line-strong); }
.btn-ghost:hover { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); --btn-border: var(--accent); }
.btn-light { --btn-bg: var(--photo-btn, var(--paper)); --btn-fg: var(--photo-btn-ink, var(--ink)); --btn-border: var(--photo-btn, var(--paper)); }
.btn-light:hover { --btn-bg: var(--photo-btn-hover, #fff); --btn-fg: var(--photo-btn-ink, var(--ink)); --btn-border: var(--photo-btn-hover, #fff); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-border: rgb(var(--on-dark-rgb) / .45); }
.btn-ghost-light:hover { --btn-bg: var(--on-dark); --btn-fg: var(--ink); --btn-border: var(--on-dark); }
/* Dark, and words only (SiteButtons' "secondary" and "ghost"). */
.btn-ink { --btn-bg: var(--ink); --btn-fg: var(--on-dark); --btn-border: rgb(var(--on-dark-rgb) / .28); }
.btn-ink:hover { --btn-bg: var(--graphite); --btn-fg: var(--on-dark); --btn-border: var(--graphite); }
.btn-plain { --btn-bg: transparent; --btn-fg: currentColor; --btn-border: transparent; padding-inline: .6rem; }
.btn-plain:hover { --btn-bg: transparent; --btn-fg: currentColor; --btn-border: transparent; text-decoration: underline; text-underline-offset: .3em; }
/* A button's icon (SiteButtons). */
.btn-icon { width: 1.15em; height: 1.15em; flex: none; }

/* A button with no fill has nothing to lift. */
.btn-ghost, .btn-ghost-light, .btn-plain { --btn-shadow: none; }
.btn-sm { min-height: 40px; padding: 0 1.1rem; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: var(--t-sm); font-weight: 500; letter-spacing: .02em;
    text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .2rem;
}
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* --------------------------------------------------------------- header */

.site-header {
    --focus: var(--header-fg);
    position: sticky; top: 0; z-index: 50;
    height: var(--header-h);
    background: var(--header-bg); color: var(--header-fg);
    border-bottom: 1px solid var(--header-line);
    backdrop-filter: saturate(1.2) blur(10px);
    transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
/* "Keep the menu at the top while scrolling" off. */
.site-header.is-static { position: relative; }

/* Over the hero the header is clear and light-on-dark; it settles onto its
   own colours once the page scrolls (site.js toggles .is-scrolled). The
   layout marks such a page body.header-overlay: a page with a hero
   (has-hero) while "Clear over the homepage picture" is on. */
.header-overlay .site-header:not(.is-static):not(.is-scrolled):not(.is-open) { position: fixed; inset-inline: 0; }
.header-overlay .site-header:not(.is-scrolled):not(.is-open) {
    --focus: var(--on-dark); --header-hover: currentColor;
    background: transparent; border-color: transparent; color: var(--on-dark);
    backdrop-filter: none;
}
/* Dark hero text (Page content -> Homepage): the clear header over the
   picture goes dark with it, links and button alike. */
.header-overlay.hero-ink-dark .site-header:not(.is-scrolled):not(.is-open) { --focus: var(--ink); color: var(--ink); }
.header-overlay.hero-ink-dark .site-header:not(.is-scrolled):not(.is-open) .nav-cta:not(.nav-cta--outline):not(.nav-cta--text) {
    --btn-bg: var(--cta-fill, var(--ink)); --btn-fg: var(--cta-ink, var(--paper)); --btn-border: var(--cta-fill, var(--ink));
}
/* Not sticky: it lies over the top of the hero and scrolls away with it. */
.header-overlay .site-header.is-static { position: absolute; inset-inline: 0; }
/* Below the notice bar and the top strip until the page moves. */
.header-overlay .site-header:not(.is-scrolled):not(.is-open),
.header-overlay .site-header.is-static { top: var(--chrome-above); }

.header-inner { height: 100%; display: flex; align-items: center; gap: var(--space-3); }

.wordmark {
    display: inline-flex; align-items: baseline; gap: .45rem; min-width: 0;
    text-decoration: none; white-space: nowrap; margin-right: auto;
}
/* The trading name in type, until there is a logo. Any length of name has to
   fit beside the menu (or a phone's menu button): it shrinks a little, then
   goes onto a second line, and only a name longer than two lines is cut
   short. The menu's links never give way to it. */
.wordmark-name {
    font: 650 clamp(1.05rem, .95rem + .5vw, 1.3rem)/1.1 var(--font-display); letter-spacing: -.015em;
    white-space: normal; overflow: hidden; max-width: min(34ch, 62vw);
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
}

.wordmark img { height: var(--logo-h, 34px); width: auto; }

.nav-primary { display: flex; align-items: center; gap: .25rem; }
.nav-primary > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .25rem; }
.nav-link {
    display: inline-flex; align-items: center; height: 40px; padding: 0 var(--nav-pad, .8rem);
    font-size: var(--nav-size); letter-spacing: var(--nav-track); text-transform: var(--nav-case); text-decoration: none;
    background: none; border: 0; color: inherit; cursor: pointer; font-family: inherit;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-link[aria-expanded="true"] { color: var(--header-hover); text-decoration: underline; text-underline-offset: .45em; }
/* Capitals, large links (SiteTheme sets --nav-pad) or a long menu need more
   room: from the seventh entry the gaps close up on narrower desktops, and
   from the ninth further still. The Header menu (Website -> Menus) holds as
   many as the editor adds; checked to fit eight with a dropdown or two and
   the button at 1101px. */
.nav-primary > ul:has(> li:nth-child(7)) { --nav-pad: clamp(.4rem, 1.6vw - .9rem, .8rem); --nav-wrap: nowrap; }
.nav-primary > ul:has(> li:nth-child(9)) { --nav-pad: clamp(.3rem, 1.4vw - 1.1rem, .7rem); }
.nav-link { white-space: var(--nav-wrap, normal); }
/* In the bar a link or the button is one line: the name beside them wraps
   instead. */
@media (min-width: 1101px) {
    .site-header:not(.header-minimal) :is(.nav-primary > ul > li > .nav-link, .nav-cta) { white-space: nowrap; }
}
/* The header's button: always solid, in its own colour when one is set. */
.nav-cta { margin-left: .5rem; --btn-bg: var(--cta-fill, var(--accent)); --btn-fg: var(--cta-ink, var(--accent-ink)); --btn-border: var(--cta-fill, var(--accent)); }
.nav-cta:hover { --btn-bg: var(--cta-hover, var(--accent-hover)); --btn-fg: var(--cta-ink, var(--accent-ink)); --btn-border: var(--cta-hover, var(--accent-hover)); }
.header-overlay .site-header:not(.is-scrolled):not(.is-open) .nav-cta {
    --btn-bg: var(--cta-fill, var(--photo-btn, var(--paper))); --btn-fg: var(--cta-ink, var(--photo-btn-ink, var(--ink))); --btn-border: var(--cta-fill, var(--photo-btn, var(--paper)));
}

/* Sub-items (Website -> Menus, two levels in the header). An item with
   sub-items is its link plus a toggle button, or one button for a heading
   with no address. Wide screens: a dropdown (open on hover with a short
   close delay, on click, and with the keyboard - site.js). Phones: an
   expandable group. Without JavaScript the dropdown opens on hover and
   while focus is inside it, and the phone menu lists every group open. */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-sub { list-style: none; margin: 0; padding: 0; }
.nav-sub-toggle {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 26px; height: 40px; padding: 0; margin-right: max(0px, calc(var(--nav-pad, .8rem) - .45rem));
    background: none; border: 0; color: inherit; cursor: pointer;
}
.nav-item.has-sub > a.nav-link { padding-right: .1rem; }
.nav-heading { gap: .35rem; }
.nav-chevron { width: 12px; height: 12px; flex: none; transition: transform .2s var(--ease); }
[aria-expanded="true"] > .nav-chevron { transform: rotate(180deg); }
/* The current page's parent (or the section a page is in) is marked too. */
.nav-item.is-active > .nav-link { color: var(--header-hover); text-decoration: underline; text-underline-offset: .45em; }
.nav-sub-link { display: flex; align-items: center; text-decoration: none; }
.nav-sub-link:hover, .nav-sub-link[aria-current="page"] { color: var(--header-hover); text-decoration: underline; text-underline-offset: .3em; }

@media (min-width: 1101px) {
    .site-header:not(.header-minimal) .nav-sub {
        /* Always the header's own solid colours, also under a clear header
           over a hero. */
        --focus: var(--header-fg); --header-hover: currentColor;
        display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
        min-width: 13rem; max-width: 20rem; padding: .4rem 0;
        background: var(--header-solid); color: var(--header-fg);
        border: 1px solid var(--header-line); border-radius: var(--field-radius);
        box-shadow: 0 14px 32px rgb(0 0 0 / .14);
    }
    /* A bridge over the gap, so the pointer can cross it without closing. */
    .site-header:not(.header-minimal) .nav-sub::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 8px; }
    /* The last two items open leftwards, inside the screen. */
    .site-header:not(.header-minimal) .nav-item:nth-last-child(-n+2) > .nav-sub { left: auto; right: 0; }
    .site-header:not(.header-minimal) .nav-item.is-open > .nav-sub,
    html.no-js .site-header:not(.header-minimal) .nav-item:hover > .nav-sub,
    html.no-js .site-header:not(.header-minimal) .nav-item:focus-within > .nav-sub { display: block; }
    .site-header:not(.header-minimal) .nav-sub-link {
        min-height: 40px; padding: .5rem 1.1rem; line-height: 1.3;
        font-size: var(--nav-size); letter-spacing: var(--nav-track); text-transform: var(--nav-case);
    }
}

/* The light/dark switch (SiteTheme::modeSwitch()): last in the bar, after
   the menu (or its button, on phones) - in the source too, so the tab order
   is what is seen; the moon in light, the sun in dark (aria-pressed, set by
   site.js). Nothing without JavaScript. */
.mode-toggle {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 44px; height: 44px; padding: 0; background: none; border: 0; border-radius: 50%; color: inherit; cursor: pointer;
}
.mode-toggle svg { width: 20px; height: 20px; }
.mode-toggle .mode-icon-sun, .mode-toggle[aria-pressed="true"] .mode-icon-moon { display: none; }
.mode-toggle[aria-pressed="true"] .mode-icon-sun { display: block; }
html.no-js .mode-toggle { display: none; }
@media (min-width: 1101px) {
    .header-stacked .header-inner { position: relative; }
    .header-stacked .mode-toggle { position: absolute; top: .6rem; right: var(--gutter); }
}

/* The search (App\Support\Search): an icon in the menu that opens a small
   form on wide screens; a link to /search beside the menu button on phones. */
.header-search-link { display: none; }
.nav-search { position: relative; display: flex; align-items: center; }
.nav-search-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: inherit; }
.nav-search-toggle svg, .header-search-link svg { width: 20px; height: 20px; }
/* The shop's cart (App\Support\Shop): in the menu on wide screens, beside
   the menu button on phones, with its count filled in by shop.js. */
.header-cart-link { display: none; }
.nav-cart, .header-cart-link { position: relative; align-items: center; justify-content: center; color: inherit; }
.nav-cart { display: inline-flex; width: 40px; height: 40px; }
.nav-cart svg, .header-cart-link svg { width: 22px; height: 22px; }
.header-cart-count {
    position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
    background: var(--accent); color: var(--accent-ink, #fff); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
/* The cart drawer (shop.js, /cart/mini): what is in the cart, from the
   cart link or after adding, sliding in from the right. */
.shop-drawer { position: fixed; inset: 0; z-index: 200; display: flex; justify-content: flex-end; background: rgb(0 0 0 / .4); }
.shop-drawer[hidden] { display: none; }
.shop-drawer-panel {
    display: flex; flex-direction: column; width: min(26rem, 100%); height: 100%; background: var(--bg); color: var(--text);
    box-shadow: -12px 0 32px rgb(0 0 0 / .18); animation: shop-drawer-in .22s ease-out;
}
@keyframes shop-drawer-in { from { transform: translateX(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .shop-drawer-panel { animation: none; } }
.shop-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.shop-drawer-head h2 { margin: 0; font-size: var(--t-lg); }
.shop-drawer-close { width: 44px; height: 44px; border: 0; background: none; color: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.shop-drawer-content { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.shop-drawer-body { flex: 1; min-height: 0; overflow-y: auto; padding: 1rem 1.25rem; }
.shop-drawer-status { margin: 0 0 1rem; padding: .6rem .75rem; background: var(--surface); font-size: var(--t-sm); }
.shop-drawer-status:empty { display: none; }
.shop-mini-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.shop-mini-line { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: .75rem; align-items: center; }
.shop-mini-thumb { width: 64px; height: 64px; overflow: hidden; background: var(--surface-2, #eee); }
.shop-mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.shop-mini-line a { color: inherit; font-weight: 600; text-decoration: none; }
.shop-mini-line small { display: block; color: var(--muted); }
.shop-drawer-foot { padding: 1rem 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .6rem; }
.shop-mini-subtotal { display: flex; justify-content: space-between; font-weight: 700; margin: 0; }
.shop-drawer-foot .btn { width: 100%; justify-content: center; }
.nav-search-form {
    --focus: var(--header-fg);
    display: none; position: absolute; top: calc(100% + 10px); right: 0; z-index: 60;
    width: min(22rem, 80vw); gap: .5rem; padding: .6rem;
    background: var(--header-solid); color: var(--header-fg);
    border: 1px solid var(--header-line); border-radius: var(--field-radius); box-shadow: 0 14px 32px rgb(0 0 0 / .14);
}
.nav-search.is-open .nav-search-form { display: flex; }
.nav-search-input {
    flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 .75rem; font: inherit;
    background: var(--field); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--field-radius);
}

/* Layouts (Website customizer -> Menu & header), on wide screens only: below
   1100px every layout is the wordmark and the menu button. */
@media (min-width: 1101px) {
    /* Logo left, the menu centred between it and the button. */
    .header-centre .wordmark { margin-right: 0; }
    .header-centre .nav-primary { flex: 1 1 auto; }
    .header-centre .nav-primary > ul { margin-inline: auto; }
    /* Logo centred above the menu; SiteTheme raises --header-h to fit. */
    .header-stacked .header-inner { flex-direction: column; justify-content: center; gap: .4rem; }
    .header-stacked .wordmark { margin: 0; }
    .header-stacked .nav-primary { justify-content: center; }
}

/* What sits above the header (the notice bar, the top strip), for a header
   that lies over the hero and for the hero's height. site.js measures the
   notice bar, which may run to two lines on a phone. */
body { --notice-h: 0px; --chrome-above: var(--notice-h); }
body.has-notice { --notice-h: 2.75rem; }
body.has-topbar { --chrome-above: calc(var(--notice-h) + var(--topbar-h)); }

/* The slim strip above the header (SiteTheme::topbarSlots()): one thing at
   each end - a line of text, the phone and email, the opening hours, the
   social icons, a WhatsApp chat, a link. */
.topbar { --focus: currentColor; background: var(--topbar-bg); color: var(--topbar-fg); font-size: var(--t-xs); letter-spacing: .02em; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); height: var(--topbar-h); }
.topbar-slot { display: flex; align-items: center; min-width: 0; }
.topbar-slot--end { margin-left: auto; justify-content: flex-end; }
.topbar-slot--contact, .topbar-slot--whatsapp, .topbar-slot--social, .topbar-slot--link { flex: none; }
.topbar-text { margin: 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-contact { list-style: none; display: flex; gap: var(--space-3); margin: 0; padding: 0; flex: none; }
.topbar-contact a { display: inline-flex; align-items: center; gap: .4rem; min-height: var(--topbar-h); text-decoration: none; }
.topbar-contact a:hover, .topbar-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.topbar-contact svg { width: 14px; height: 14px; flex: none; }
.topbar-link { display: inline-flex; align-items: center; min-height: var(--topbar-h); color: inherit; font-weight: 600; text-decoration: none; }
.topbar-link::after { content: "\2192"; margin-left: .4em; }
.topbar .social-links { flex-wrap: nowrap; gap: 0; }
.topbar .social-link { width: var(--topbar-h); height: var(--topbar-h); color: inherit; }
.topbar .social-link:hover { background: rgb(255 255 255 / .12); }
.topbar .social-icon { width: 15px; height: 15px; }
@media (max-width: 760px) {
    /* A phone: one 44px row of the ways to get in touch (tap to call, to
       mail, to chat); the rest gives way. Header -> "Strip: on phones"
       can hide the strip instead (body.topbar-phone-hidden). */
    :root { --topbar-h: 44px; }
    .topbar-slot--text, .topbar-slot--hours, .topbar-slot--social, .topbar-slot--link { display: none; }
    .topbar-slot { flex: 1 1 0; }
    .topbar-slot--end { margin-left: 0; }
    .topbar-contact { width: 100%; min-width: 0; justify-content: space-between; gap: var(--space-2); }
    .topbar-slot--end .topbar-contact li:only-child { margin-left: auto; }
    .topbar-contact li { min-width: 0; }
    .topbar-contact a { max-width: 100%; }
    .topbar-contact span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    body.topbar-phone-hidden { --topbar-h: 0px; }
    .topbar-phone-hidden .topbar { display: none; }
}

/* The notice bar (Page content -> Notice bar): one line above everything,
   in the button colour, dark, light or amber. */
.notice-bar { --focus: currentColor; position: relative; z-index: 51; font-size: var(--t-sm); line-height: 1.4; }
.notice-bar[hidden] { display: none; }
.notice-bar--accent { background: var(--accent); color: var(--accent-ink); }
.notice-bar--dark { background: var(--ink); color: var(--on-dark); }
.notice-bar--light { background: var(--surface); color: var(--text); border-bottom: 1px solid var(--line); }
/* Over a dark strip of the same colour, a fine line between them. */
.has-topbar .notice-bar--accent, .has-topbar .notice-bar--dark { box-shadow: inset 0 -1px rgb(255 255 255 / .16); }
.notice-bar--warning { background: #F4C04E; color: #1B1B19; }
.notice-bar-inner { display: flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 2.75rem; padding-block: .45rem; }
.notice-bar-text { margin: 0; min-width: 0; text-align: center; text-wrap: balance; overflow-wrap: anywhere; }
.notice-bar-link { color: inherit; font-weight: 600; margin-left: .35em; text-decoration: underline; text-underline-offset: .2em; }
.notice-bar-link::after { content: "\2192"; margin-left: .3em; display: inline-block; transition: transform .25s var(--ease); }
.notice-bar-link:hover::after { transform: translateX(3px); }
.notice-bar-close {
    display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; margin: -.45rem -.75rem -.45rem 0;
    background: none; border: 0; border-radius: 50%; color: inherit; cursor: pointer;
}
.notice-bar-close[hidden] { display: none; }
.notice-bar-close:hover { background: rgb(0 0 0 / .08); }
.notice-bar-close svg { width: 16px; height: 16px; }
/* With a close button the words stay centred on the bar, not beside it. */
.notice-bar-close:not([hidden]) { margin-left: auto; }
.notice-bar-inner:has(.notice-bar-close:not([hidden]))::before { content: ""; flex: none; width: 44px; margin-left: -.75rem; }
.notice-bar-inner:has(.notice-bar-close:not([hidden])) .notice-bar-text { flex: 1 1 auto; }
@media print { .notice-bar { display: none; } }

.nav-toggle { display: none; }

@media (max-width: 1100px) {
    .nav-toggle {
        display: inline-flex; align-items: center; justify-content: center;
        width: 48px; height: 48px; margin-right: -.6rem;
        background: none; border: 0; color: inherit; cursor: pointer;
    }
    .nav-toggle svg { width: 24px; height: 24px; }
    .nav-primary {
        /* site.js sets --menu-top to the header's bottom edge, which a top
           strip or a header that scrolled away moves. */
        position: fixed; inset: var(--menu-top, var(--header-h)) 0 0; z-index: 49;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--header-solid); color: var(--header-fg);
        padding: var(--space-3) var(--gutter); overflow-y: auto;
    }
    .nav-primary[hidden] { display: none; }
    .nav-primary > ul { flex-direction: column; gap: 0; }
    .nav-link { width: 100%; height: 56px; font-size: var(--t-lg); font-family: var(--font-display); padding: 0; }
    .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--header-line); }
    /* A group: the link, a 56px toggle beside it, the sub-items below. */
    .nav-item.has-sub > a.nav-link { flex: 1 1 0; min-width: 0; width: auto; padding-right: 0; }
    .nav-sub-toggle { width: 56px; height: 56px; margin: 0 -.75rem 0 0; }
    .nav-heading { justify-content: space-between; text-align: left; }
    .nav-chevron { width: 16px; height: 16px; }
    .nav-sub { display: none; flex: 1 0 100%; padding: 0 0 .5rem 1rem; }
    .nav-item.is-open > .nav-sub, html.no-js .nav-sub { display: block; }
    .nav-sub-link { min-height: 48px; font-size: var(--t-base); }
    .nav-search { display: none; }
    .header-search-link {
        display: inline-flex; align-items: center; justify-content: center; flex: none;
        width: 44px; height: 48px; color: inherit;
    }
    .header-cart-link { display: inline-flex; flex: none; width: 44px; height: 48px; }
    .nav-cart { display: none; }
    .nav-cta { margin: var(--space-3) 0 0; }
    .nav-cta--text { align-self: flex-start; padding-inline: 0; }
    /* Inside the open menu the panel wears the header's colours. */
    
    
    
    
    
    
    /* backdrop-filter makes the header the containing block of the fixed menu,
       which would squash the menu to the header's height: drop it while open. */
    .site-header.is-open { color: var(--header-fg); backdrop-filter: none; background: var(--header-solid); }
}
@media (min-width: 1101px) {
    .site-header:not(.header-minimal) .nav-primary[hidden] { display: flex; }
}

/* ------------------------------------------------- header options (5.2)
   Website customizer -> Header: classes from SiteTheme::headerClasses()
   and tokens from SiteTheme::css() (--header-h, --logo-h). */

/* The full width of the screen. */
.header-full > .container { max-width: none; }

/* Its lower edge: a fine line (as designed), a soft shadow, or nothing. */
.header-edge-none { border-bottom-color: transparent; }
.header-edge-shadow { border-bottom-color: transparent; box-shadow: 0 2px 18px rgb(0 0 0 / .08); }
.header-overlay .site-header:not(.is-scrolled):not(.is-open),
.header-clear .site-header:not(.is-scrolled):not(.is-open) { box-shadow: none; }

/* Stays at the top, smaller once the page moves. */
.header-shrink { transition: height .3s var(--ease), margin-bottom .3s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease); }
/* The 16px it gives up stays below it, so the page does not move. */
.header-shrink.is-scrolled:not(.is-open) { height: calc(var(--header-h) - 16px); margin-bottom: 16px; }
.header-shrink.is-scrolled:not(.is-open) .wordmark :is(img, .site-logo) { height: calc(var(--logo-h, 34px) * .82); }
/* Hides going down, shows coming back up (site.js .is-hidden). */
.header-autohide { transition: transform .3s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease); }
.header-autohide.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .header-shrink, .header-autohide { transition: none; } }
/* See-through, then a solid bar that drops down once the page moves
   (Header -> See-through: once the page scrolls). Fixed throughout, so the
   page never shifts under it; clear again at the top. */
.header-overlay .site-header.header-drop { position: fixed; inset-inline: 0; }
.header-overlay .site-header.header-drop.is-scrolled:not(.is-open) { animation: header-drop .5s var(--ease) both; }
@keyframes header-drop { from { transform: translateY(-100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .header-overlay .site-header.header-drop.is-scrolled:not(.is-open) { animation: none; } }

/* See-through on a Landing page without a hero: clear over the page's own
   ground, in its own words' colour, until the page moves. */
.header-clear .site-header:not(.is-scrolled):not(.is-open) { background: transparent; border-color: transparent; backdrop-filter: none; }

/* The menu button: outline, or words only with an arrow. */
.nav-cta--outline { --btn-bg: transparent; --btn-fg: currentColor; --btn-border: currentColor; }
.nav-cta--outline:hover { --btn-bg: var(--cta-fill, var(--accent)); --btn-fg: var(--cta-ink, var(--accent-ink)); --btn-border: var(--cta-fill, var(--accent)); }
.nav-cta--text { --btn-bg: transparent; --btn-fg: currentColor; --btn-border: transparent; --btn-shadow: none; padding-inline: .4rem; }
.nav-cta--text::after { content: "\2192"; margin-left: .4em; transition: transform .25s var(--ease); }
.nav-cta--text:hover { --btn-bg: transparent; --btn-fg: currentColor; --btn-border: transparent; text-decoration: underline; text-underline-offset: .3em; }
.nav-cta--text:hover::after { transform: translateX(3px); }
.header-overlay .site-header:not(.is-scrolled):not(.is-open) .nav-cta--outline { --btn-bg: transparent; --btn-fg: currentColor; --btn-border: currentColor; }
.header-overlay .site-header:not(.is-scrolled):not(.is-open) .nav-cta--text { --btn-bg: transparent; --btn-fg: currentColor; --btn-border: transparent; }

@media (min-width: 1101px) {
    /* The logo in the middle, the menu either side of it: the first half of
       the items on the left, the rest (nav-item--after) and the button on
       the right. Suits a short menu. */
    .header-split-menu .header-inner { position: relative; }
    .header-split-menu .wordmark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; z-index: 1; }
    .header-split-menu .nav-primary { flex: 1 1 auto; }
    .header-split-menu .nav-primary > ul { flex: 1 1 auto; }
    /* A space as wide as the logo, at least, between the halves: the items
       never run under it. Suits a short menu. */
    .header-split-menu .nav-primary > ul > .nav-item { order: 1; }
    .header-split-menu .nav-primary > ul > .nav-item--after { order: 3; }
    .header-split-menu .nav-primary > ul::before { content: ""; order: 2; flex: 1 0 min(18rem, 26vw); }

    /* The logo and a menu button at every width: the menu is the phone's
       panel (below), opened by the button. */
    .header-minimal .nav-toggle {
        display: inline-flex; align-items: center; justify-content: center;
        width: 48px; height: 48px; margin-right: -.6rem;
        background: none; border: 0; color: inherit; cursor: pointer;
    }
    .header-minimal .nav-toggle svg { width: 24px; height: 24px; }
    .header-minimal .nav-primary {
        position: fixed; inset: var(--menu-top, var(--header-h)) 0 0; z-index: 49;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--header-solid); color: var(--header-fg);
        padding: var(--space-3) var(--gutter); overflow-y: auto;
    }
    .header-minimal .nav-primary[hidden],
    .js .header-minimal:not(.is-open) .nav-primary { display: none; }
    .header-minimal .nav-primary > ul { flex-direction: column; gap: 0; }
    .header-minimal .nav-link { width: 100%; height: 56px; font-size: var(--t-lg); font-family: var(--font-display); padding: 0; }
    .header-minimal .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--header-line); }
    .header-minimal .nav-item.has-sub > a.nav-link { flex: 1 1 0; min-width: 0; width: auto; padding-right: 0; }
    .header-minimal .nav-sub-toggle { width: 56px; height: 56px; margin: 0 -.75rem 0 0; }
    .header-minimal .nav-heading { justify-content: space-between; text-align: left; }
    .header-minimal .nav-sub { display: none; flex: 1 0 100%; padding: 0 0 .5rem 1rem; }
    .header-minimal .nav-item.is-open > .nav-sub, html.no-js .header-minimal .nav-sub { display: block; }
    .header-minimal .nav-sub-link { min-height: 48px; font-size: var(--t-base); }
    .header-minimal .nav-search { display: none; }
    .header-minimal .header-search-link { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 48px; color: inherit; }
    .header-minimal .nav-cta { margin: var(--space-3) 0 0; align-self: flex-start; }
    .header-minimal .nav-cta--text { padding-inline: 0; }
    .site-header.header-minimal.is-open { color: var(--header-fg); backdrop-filter: none; background: var(--header-solid); }
    .header-minimal .wordmark { margin-right: auto; }
}

/* The phone menu as a panel from the left or right (Header -> The menu on
   phones), with the page shaded behind it; a tap on the shade closes it
   (site.js). On phones, and in the minimal layout at every width. */
@media (max-width: 1100px) {
    /* The phone's panel never flashes up before site.js closes it. */
    .js .site-header:not(.is-open) .nav-primary { display: none; }
    .menu-drawer .nav-primary { width: min(24rem, 88vw); box-shadow: 0 0 40px rgb(0 0 0 / .2); }
    .menu-drawer-left .nav-primary { inset: var(--menu-top, var(--header-h)) auto 0 0; }
    .menu-drawer-right .nav-primary { inset: var(--menu-top, var(--header-h)) 0 0 auto; }
    .site-header.menu-drawer.is-open::after { content: ""; position: fixed; inset: var(--menu-top, var(--header-h)) 0 0; z-index: 48; background: rgb(0 0 0 / .35); }
}
@media (min-width: 1101px) {
    .header-minimal.menu-drawer .nav-primary { width: min(26rem, 40vw); box-shadow: 0 0 40px rgb(0 0 0 / .2); }
    .header-minimal.menu-drawer-left .nav-primary { inset: var(--menu-top, var(--header-h)) auto 0 0; }
    .header-minimal.menu-drawer-right .nav-primary { inset: var(--menu-top, var(--header-h)) 0 0 auto; }
    .site-header.header-minimal.menu-drawer.is-open::after { content: ""; position: fixed; inset: var(--menu-top, var(--header-h)) 0 0; z-index: 48; background: rgb(0 0 0 / .35); }
}

/* --------------------------------------------------------------- hero */

/* What a full-bleed hero allows for at its top. With the header clear over
   it (body.header-overlay) the words clear the header: --hero-offset. With
   a solid header, the header sits above the hero instead, and the hero's
   height gives up the chrome above it: --hero-chrome. */
body { --hero-offset: 0px; --hero-chrome: calc(var(--header-h) + var(--chrome-above)); }
body.header-overlay { --hero-offset: var(--header-h); --hero-chrome: var(--chrome-above); }
/* A page with no header (Website -> Pages -> Header: none). */
body.header-hidden { --hero-chrome: 0px; }

.hero {
    position: relative; min-height: min(calc(100svh - var(--hero-chrome)), 980px);
    display: grid; align-items: end;
    color: var(--on-dark); background: var(--ink); overflow: hidden;
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
    /* A scrim for legibility, kept to the lower-left where the words sit -
       never a decorative gradient over the whole photograph. */
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgb(var(--scrim) / .72) 0%, rgb(var(--scrim) / .35) 42%, rgb(var(--scrim) / .08) 70%),
                linear-gradient(to right, rgb(var(--scrim) / .55) 0%, rgb(var(--scrim) / .2) 45%, rgb(var(--scrim) / 0) 70%);
}
.hero-content { position: relative; padding-block: calc(var(--hero-offset) + var(--space-5)) var(--space-6); }
.hero-content .display { max-width: 11ch; margin-bottom: var(--space-3); }
/* The size follows the screen's height too: the words stay above the fold. */
.hero-content .display { font-size: min(var(--t-4xl), 10.5svh); }
.hero-content .lede { margin-bottom: var(--space-4); color: rgb(var(--on-dark-rgb) / .86); }
.hero-content .eyebrow { color: rgb(var(--on-dark-rgb) / .78); }
@media (max-width: 640px) {
    /* On a phone the words cover most of the photograph: a fuller scrim keeps them legible. */
    .hero-media::after {
        background: linear-gradient(to top, rgb(var(--scrim) / .82) 0%, rgb(var(--scrim) / .6) 50%, rgb(var(--scrim) / .25) 80%, rgb(var(--scrim) / .15) 100%);
    }
}
/* Under a clear header, a shade along the top of the picture: the header's
   light links and menu button stay legible over a bright sky or window,
   whatever the shading behind the words. Not under a dark header (a light
   hero's), nor beside the picture. */
body.header-overlay:not(.hero-ink-dark) .hero:not(.hero--split, .hero--minimal) .hero-media::before {
    content: ""; position: absolute; inset: 0 0 auto; z-index: 1; pointer-events: none;
    height: calc(var(--header-h) + 3rem);
    background: linear-gradient(to bottom, rgb(var(--scrim) / .55) 0%, rgb(var(--scrim) / .4) 55%, rgb(var(--scrim) / 0) 100%);
}
.hero-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* Page hero for inner pages: quieter, image optional. */
.page-hero { padding-block: calc(var(--space-5) + 1rem) var(--space-4); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { margin-top: var(--space-2); }
/* The title band over the page's featured picture (Title area): shaded,
   light type, as over the hero. */
.page-hero--picture {
    position: relative; isolation: isolate; border-bottom: 0;
    padding-block: calc(var(--space-6) + 1rem) var(--space-5);
    color: var(--on-dark); background: var(--ink); --heading: currentColor; --link: currentColor;
}
.page-hero-media, .page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(var(--scrim) / .72), rgb(var(--scrim) / .38)); }
/* A list page's title over a picture: the shading as its Settings set it
   (--title-shade, 0 to .9), a little more at the foot where the words are. */
.list-title--picture .page-hero-media::after {
    background: linear-gradient(to top, rgb(var(--scrim) / min(.95, calc(var(--title-shade, .55) + .15))), rgb(var(--scrim) / var(--title-shade, .55)));
}
/* A list page's title on the dark band (its Settings). */
.page-hero--dark {
    border-bottom: 0; padding-block: calc(var(--space-5) + 1rem) var(--space-4);
    color: var(--on-dark); background: var(--band); --heading: currentColor; --link: currentColor;
}
.page-hero--picture :is(.lede, .muted, .breadcrumbs, .breadcrumbs a),
.page-hero--dark :is(.lede, .muted, .breadcrumbs, .breadcrumbs a) { color: rgb(var(--on-dark-rgb) / .84); }
.page-hero--picture :focus-visible, .page-hero--dark :focus-visible { --focus: var(--on-dark); }
/* The chips on a dark or picture title: light outlines. */
:is(.page-hero--picture, .page-hero--dark) .blog-chips a { color: var(--on-dark); border-color: rgb(var(--on-dark-rgb) / .35); background: transparent; }
:is(.page-hero--picture, .page-hero--dark) .blog-chips a[aria-current="page"] { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
/* No title band: the chips still lead the list. */
.list-title-bare { padding-top: var(--space-3); }

.breadcrumbs { font-size: var(--t-xs); letter-spacing: .06em; color: var(--muted); margin-bottom: var(--space-3); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------------------------------------------------------- media cards */

.card { display: grid; gap: var(--space-2); text-decoration: none; color: inherit; }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); border-radius: var(--corner); }

.card-media-wide { aspect-ratio: 16 / 10; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.025); }
.card-title { font: var(--heading-weight, 400) var(--t-lg)/1.25 var(--font-display); letter-spacing: -.01em; margin: 0; }
.card:hover .card-title { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.card-meta { font-size: var(--t-sm); color: var(--muted); margin: 0; }
.card-eyebrow { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* A card with no photograph yet: a quiet placeholder, never a broken image. */
.placeholder {
    width: 100%; height: 100%; display: grid; place-items: center;
    background: var(--surface); color: var(--faint);
    font: 500 var(--t-xs)/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
}
.placeholder svg { width: 38%; max-width: 120px; height: auto; color: var(--faint); }

/* Index list: a typographic list of links with a rule between each. */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index-list a {
    display: grid; grid-template-columns: 1fr auto; gap: var(--space-2); align-items: baseline;
    padding: 1.15rem 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.index-list a:hover .index-title { text-decoration: underline; text-underline-offset: .25em; }
.index-title { font: var(--heading-weight, 400) var(--t-xl)/1.2 var(--font-display); letter-spacing: -.015em; }
.index-meta { font-size: var(--t-sm); color: var(--muted); }

/* ---------------------------------------------------------------- forms */

.field { display: grid; gap: .45rem; }
.field label, .field .label { font-size: var(--t-sm); font-weight: 500; }
.field .hint { font-size: var(--t-xs); color: var(--muted); }
.field .error { font-size: var(--t-sm); color: var(--error); }
.input, .select, .textarea {
    width: 100%; min-height: 50px; padding: .8rem 1rem;
    background: var(--field); color: var(--text);
    border: 1px solid var(--line-strong); border-radius: var(--field-radius);
    font: inherit; font-size: 1rem;
    transition: border-color .2s var(--ease);
}
.textarea { min-height: 150px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--text-2); }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--text); outline-offset: 0; border-color: var(--text); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--error); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-3); }
/* A field beside a taller one (help text under it) keeps its label and box at the top. */
.form-grid > .field { align-content: start; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-grid .span-2 { grid-column: auto; } }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: var(--space-2) var(--space-3); border: 1px solid var(--line-strong); background: var(--field); }
.notice-error { border-color: var(--error); }

/* ------------------------------------------------------------- tables */

/* ------------------------------------------------------------ footer */

.site-footer {
    background: var(--footer-bg); color: var(--footer-fg); padding-block: var(--space-5) var(--space-3); font-size: var(--t-sm);
    /* A scheme may lay a thin band along the top edge (the brand's stripes). */
    background-image: var(--footer-stripe); background-repeat: no-repeat; background-size: 100% 4px;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--footer-hover); text-decoration: underline; }
/* The brand, then a column per footer menu with links, and the opening hours
   (--footer-cols, counted by site/partials/footer.php). */
.footer-top { display: grid; grid-template-columns: var(--footer-grid, minmax(0, 1.6fr) repeat(var(--footer-cols, 2), minmax(0, 1fr))); gap: var(--space-4); padding-bottom: var(--space-5); border-bottom: 1px solid var(--line-light); }
.footer-top--no-brand { grid-template-columns: var(--footer-grid, repeat(var(--footer-cols, 2), minmax(0, 1fr))); }
.footer-brand .wordmark { color: var(--on-dark); margin-bottom: var(--space-2); }
.footer-col h2, .footer-callout-heading { overflow-wrap: anywhere; }
.footer-brand p { max-width: 34ch; }
.footer-col h2 { font: 500 var(--t-xs)/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--footer-muted); margin-bottom: var(--space-2); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; padding-top: var(--space-3); color: var(--footer-muted); font-size: var(--t-xs); }
.footer-social { display: flex; gap: 1rem; }
.footer-legal { display: grid; gap: .25rem; max-width: 72ch; }
.footer-legal p { margin: 0; }
.footer-legal-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.footer-legal-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--footer-fg); }
@media (max-width: 900px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
/* One line (a page's Footer: minimal): the copyright, the legal links, the icons. */
.footer-minimal { padding-block: var(--space-2); }
.footer-minimal .footer-bottom { padding-top: 0; align-items: center; }
.footer-minimal .footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.5rem; max-width: none; }

/* ---------------------------------------------------------- shortcodes (6.4)
   A block drawn inside rich text (App\Support\Shortcodes): no band or
   container of its own, a space above and below; the button, icon and
   WhatsApp shortcodes sit in the line. */
.shortcode { margin-block: var(--space-3); }
.shortcode > .block, .shortcode > .block.has-bg { padding-block: 0; }
.shortcode > .block .container { max-width: none; padding-inline: 0; margin-inline: 0; }
.shortcode .prose { max-width: none; }
/* A block's own lists (they carry a class) keep their own look in the text. */
.prose .shortcode :is(ul, ol)[class] { padding-left: 0; margin: 0; }
.prose .shortcode :is(ul, ol)[class] > li + li { margin-top: 0; }
.prose :is(a.btn, a.link-arrow) { text-decoration: none; }
.prose a.btn { color: var(--btn-fg, var(--accent-ink)); margin-block: .25rem; }
.inline-icon { display: inline-flex; vertical-align: -.15em; color: inherit; }
.inline-icon-svg { width: 1.1em; height: 1.1em; }
.inline-icon--s .inline-icon-svg { width: .9em; height: .9em; }
.inline-icon--l .inline-icon-svg { width: 1.6em; height: 1.6em; }

/* ------------------------------------------------------------ sidebars (6.1)
   A page with a sidebar template, a post or an entry laid out with one:
   the content and a widget area beside it (site/partials/sidebar.php) on
   wide screens, the sidebar after it on phones. The page's blocks are on
   its ground without bands, as in a column. */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); gap: var(--space-5); align-items: start; }
.with-sidebar--left { grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); }
.with-sidebar--left > .site-sidebar { grid-column: 1; grid-row: 1; }
.with-sidebar--left > :not(.site-sidebar) { grid-column: 2; }
.page-main { display: grid; gap: var(--space-4); align-content: start; min-width: 0; container-type: inline-size; }
.page-main > :where(.block:not(.block-spacer)) { padding-block: 0; }
.page-main > :where(.block) .container { max-width: none; padding-inline: 0; margin-inline: 0; }
.page-main > :where(.block.has-bg) { padding: var(--space-3); }
.page-main .prose { max-width: 72ch; }
/* An entry beside a sidebar (6.3): its type's body, its sections and
   containers drawn in the column; its own "At a glance" panel under the
   words rather than a third column (entries.css). */
.entry-sidebar-main { min-width: 0; display: grid; gap: var(--space-4); align-content: start; container-type: inline-size; }
.entry-sidebar-main :where(.section) { padding-block: 0; }
.entry-sidebar-main :where(.container) { max-width: none; padding-inline: 0; margin-inline: 0; }
.entry-sidebar-main > :first-child, .entry-sidebar-main > :first-child > :first-child { margin-top: 0; }
.entry-sidebar-main .entry-columns.has-aside { grid-template-columns: minmax(0, 1fr); }
.entry-sidebar-main .entry-aside { position: static; }
.site-sidebar { display: grid; gap: var(--space-4); align-content: start; font-size: var(--t-sm); }
.site-sidebar h2:not(.sidebar-title) { font-size: var(--t-lg); }
.site-sidebar > .block { padding-block: 0; }
@media (min-width: 901px) {
    .site-sidebar--sticky { position: sticky; top: calc(var(--header-h) + var(--space-3)); }
    /* Taller than the window (site.js): it scrolls with the page. */
    .site-sidebar--sticky.site-sidebar--tall { position: static; }
}
@media (max-width: 900px) {
    .with-sidebar, .with-sidebar--left { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
    .with-sidebar--left > .site-sidebar, .with-sidebar--left > :not(.site-sidebar) { grid-column: 1; grid-row: auto; }
    .site-sidebar { padding-top: var(--space-4); border-top: 1px solid var(--line); }
}

/* The footer's widget areas (Website -> Widgets): their blocks drawn as in
   a column - no band or container of their own - and in the footer's
   type: their quieter words, rules and panels mixed from it, as on a dark
   band (blocks.css). */
.widget-area { display: grid; gap: var(--space-3); align-content: start; min-width: 0; }
.widget-area > .block:not(.has-bg) { padding-block: 0; }
.widget-area > .block .container { max-width: none; padding-inline: 0; margin-inline: 0; }
.widget-area .prose { max-width: none; }
/* On a dark footer the blocks are told so (Widgets: the section-ink tone),
   which picks their light-on-dark buttons; the band's own ground and rules
   are the footer's. */
.site-footer .widget-area > .section-ink { background: none; color: inherit; border-top: 0; }
/* A light footer's errors in the page's own error colour. */
.site-footer.footer-on-light { --on-dark-error: var(--error); }
.site-footer .widget-area,
.site-footer .widget-area > .section-ink {
    --text: currentColor;
    --text-2: var(--footer-fg);
    --muted: var(--footer-muted);
    --error: var(--on-dark-error);
    --line: color-mix(in srgb, currentColor 22%, transparent);
    --line-strong: color-mix(in srgb, currentColor 40%, transparent);
    --bg: transparent;
    --surface: color-mix(in srgb, currentColor 8%, transparent);
    --surface-2: color-mix(in srgb, currentColor 14%, transparent);
}
/* The Menu block (site/blocks/_menu.php), here so a footer column needs no
   block styles; in a column it takes the footer's look (.footer-col). */
.menu-block-heading { font-size: var(--t-lg); margin-bottom: var(--space-2); }
.menu-block-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.menu-block-links ul { list-style: none; margin: .5rem 0 0; padding: 0 0 0 1rem; display: grid; gap: .5rem; }
.block-menu--inline .menu-block-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.block-menu--inline .menu-block-links ul { display: none; }
.footer-col .menu-block-links ul { margin-top: .6rem; padding-left: .9rem; }
/* The bottom line's logos: small, in a row. */
.footer-badges { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.footer-badges :is(h2, h3, .eyebrow, .lede, figcaption) { display: none; }
.footer-badges img { height: 30px; width: auto; max-width: 120px; object-fit: contain; }
.footer-badges :is(ul, ol, .logo-grid, .logos) { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }

/* A footer of another colour (Footer -> Colour): the light type's channels
   become its own type's (SiteTheme prints --footer-ink-rgb), so all that is
   drawn in them - the words, the lines, the icons, the signup band -
   follows. */
.site-footer:is(.footer-tone-light, .footer-tone-accent, .footer-tone-custom) {
    --on-dark-rgb: var(--footer-ink-rgb);
    --on-dark: rgb(var(--on-dark-rgb));
    --line-light: rgb(var(--on-dark-rgb) / .16);
}
.site-footer:is(.footer-tone-light, .footer-tone-accent, .footer-tone-custom) .nl-form--footer .btn { --btn-fg: var(--footer-bg); }
/* Its widgets' blocks keep the page's light type for what they draw light
   on dark (a dark button's label). */
.site-footer:is(.footer-tone-light, .footer-tone-accent, .footer-tone-custom) .widget-area { --on-dark-rgb: var(--page-on-dark-rgb); --on-dark: rgb(var(--on-dark-rgb)); }

/* Everything centred. */
.footer-centred .footer-top { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4) var(--space-5); text-align: center; }
.footer-centred .footer-brand { flex: 1 0 100%; display: grid; justify-items: center; }
.footer-centred .footer-brand .wordmark { margin-right: 0; }
.footer-centred .footer-brand p { margin-inline: auto; }
.footer-centred .footer-col { flex: 0 1 14rem; }
.footer-centred .footer-hours li { justify-content: center; margin-inline: auto; }
.footer-centred .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
.footer-centred .footer-legal { justify-items: center; }
.footer-centred .footer-legal-links { justify-content: center; }

/* A big call to action above the columns (Page content -> Call to action). */
.footer-callout { display: grid; justify-items: start; gap: var(--space-2); padding-bottom: var(--space-5); margin-bottom: var(--space-5); border-bottom: 1px solid var(--line-light); }
.footer-callout-heading { margin: 0; max-width: 20ch; color: var(--on-dark); font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--t-3xl); line-height: 1.04; letter-spacing: -.02em; }
.footer-callout-text { margin: 0; max-width: 52ch; font-size: var(--t-lg); }
.footer-callout-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-2) 0 0; }
.footer-callout-actions .btn { --btn-bg: var(--on-dark); --btn-fg: var(--footer-bg); --btn-border: var(--on-dark); }
.footer-callout-actions .btn:hover { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-border: var(--on-dark); }
.footer-callout-actions .btn-ghost { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-border: rgb(var(--on-dark-rgb) / .45); }
.footer-callout-actions .btn-ghost:hover { --btn-bg: var(--on-dark); --btn-fg: var(--footer-bg); --btn-border: var(--on-dark); }
.footer-centred .footer-callout { justify-items: center; text-align: center; }
.footer-centred .footer-callout-actions { justify-content: center; }

/* Back to the top (Footer -> "A back-to-top button"; site.js shows it). */
.back-to-top {
    position: fixed; z-index: 40; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
    background: var(--text); color: var(--bg); border: 0; border-radius: 50%; cursor: pointer;
    box-shadow: 0 6px 18px rgb(0 0 0 / .18); transition: transform .25s var(--ease);
}
.back-to-top[hidden] { display: none; }
.back-to-top svg { width: 18px; height: 18px; }
.back-to-top:hover { transform: translateY(-2px); }
.back-to-top:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
/* Clear of the WhatsApp button on the same side. */
body:has(.wa-float--right) .back-to-top { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
@media (prefers-reduced-motion: reduce) { .back-to-top { transition: none; } .back-to-top:hover { transform: none; } }
@media print { .back-to-top { display: none; } }

/* ------------------------------------------------------------- motion */

/* Reveal: a short fade and 12px rise, once. app.js adds .is-in. */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------- header details */

.footer-address { font-style: normal; margin-top: var(--space-2); line-height: 1.8; }
.footer-social { list-style: none; margin: 0; padding: 0; }

/* ------------------------------------------------------ editorial blocks */

.h3 { font-size: var(--t-xl); letter-spacing: -.012em; line-height: 1.2; }

/* Two columns: a short statement beside the substance. */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-5); align-items: start; }
.split-aside { position: sticky; top: calc(var(--header-h) + var(--space-3)); }
.split-aside .lede { margin-bottom: var(--space-3); }

@media (max-width: 900px) {
    .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
    .split-aside { position: static; }
}

/* Colour collections: a strip of the actual shades, nothing else. */

/* Solutions: the visitor's own words, set large. */

.cta-band { display: flex; justify-content: space-between; align-items: end; gap: var(--space-4); flex-wrap: wrap; }
.cta-band h2 { margin-bottom: var(--space-2); }
.cta-band .lede { margin: 0; }
.cta-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* The hidden attribute always wins over a component's display value. */
[hidden] { display: none !important; }

/* ==========================================================================
   FAQs, empty states, the contact form and the legal pages.
   ========================================================================== */

.results-count { margin: 0; font-size: var(--t-sm); color: var(--muted); }

/* ------------------------------------------------------------------ FAQ */

.faq-groups { display: grid; gap: var(--space-4); }
.faq-group-title { font-size: var(--t-xs); font-family: var(--font-body); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-1); }
.faq { border-bottom: 1px solid var(--line); }
.faq-group-title + .faq, .faq-groups > .faq-group > .faq:first-child { border-top: 1px solid var(--line); }
.faq summary {
    display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2);
    padding: 1.15rem 0; cursor: pointer; list-style: none;
    font: var(--heading-weight, 400) var(--t-lg)/1.35 var(--font-display); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.5rem/1 var(--font-body); color: var(--muted); flex: none; transition: transform .25s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover span { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.faq-answer { padding: 0 0 var(--space-3); color: var(--text-2); }
.faq-answer p:last-child { margin-bottom: 0; }
/* A #faq-<id> link scrolls the question clear of the sticky header. */
.faq { scroll-margin-top: calc(var(--header-h) + 1rem); }
.faq-group { scroll-margin-top: calc(var(--header-h) + 1rem); }
.faq-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2); margin-bottom: var(--space-1); }
.faq-group-head .faq-group-title { margin: 0; }
.faq-group-head + .faq { border-top: 1px solid var(--line); }

/* The questions' layouts (the layout round, L.6: Page content -> FAQs, or
   an FAQs block's own): in a list (above), in boxes, or every answer shown
   in two columns, nothing to open. */
.faq-groups--boxes .faq-group { display: grid; gap: var(--space-1); }
.faq-groups--boxes .faq-group > .faq, .faq-groups--boxes .faq-group > .faq:first-child {
    border: 1px solid var(--line); border-radius: max(var(--corner), var(--radius)); background: var(--bg); padding-inline: var(--space-3); }
.faq-groups--boxes .faq[open] { border-color: var(--line-strong); }
.faq-groups--boxes .faq-group-head, .faq-groups--boxes .faq-group-title { margin-bottom: var(--space-1); }
.faq-groups--open .faq-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-5); align-items: start; }
.faq-groups--open .faq-group > :is(.faq-group-head, .faq-group-title) { grid-column: 1 / -1; margin: 0; }
.faq-groups--open .faq-group > .faq, .faq-groups--open .faq-group > .faq:first-child { border: 0; }
.faq-question { font: var(--heading-weight, 400) var(--t-lg)/1.35 var(--font-display); letter-spacing: -.01em; margin: 0 0 var(--space-1); }
.faq--open .faq-answer { padding: 0; }
@media (max-width: 760px) { .faq-groups--open .faq-group { grid-template-columns: minmax(0, 1fr); } }
.faq-groups--open { container-type: inline-size; }
@container (max-width: 36rem) { .faq-groups--open .faq-group { grid-template-columns: minmax(0, 1fr); } }

/* /faqs: the filter and the topics beside the questions, stacked above
   them on narrow screens, where the topics become a row of chips. */
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-5); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + var(--space-3)); display: grid; gap: var(--space-4); }
.faq-filter .input { min-height: 52px; font-size: 1rem; }
.faq-filter .results-count { margin-top: var(--space-1); }
.faq-topics ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.faq-topics a {
    display: flex; justify-content: space-between; align-items: center; gap: var(--space-2);
    min-height: 44px; padding: .35rem 0; border-bottom: 1px solid var(--line);
    font-size: var(--t-sm); text-decoration: none;
}
.faq-topics a:hover span { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.faq-topics small { color: var(--muted); font-size: var(--t-xs); }
.faq-aside-note { display: grid; justify-items: start; gap: .6rem; margin: 0; font-size: var(--t-sm); color: var(--text-2); }
@media (max-width: 900px) {
    .faq-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
    .faq-aside { position: static; gap: var(--space-3); }
    .faq-topics ul { display: flex; flex-wrap: wrap; gap: var(--space-1); border: 0; }
    .faq-topics a { gap: .6rem; padding: 0 .9rem; border: 1px solid var(--line-strong); border-radius: var(--btn-radius); background: var(--field); }
    .faq-topics a:hover { border-color: var(--text); }
}

/* ------------------------------------------------------------ empty states */

.empty-state { padding-block: var(--space-4); max-width: 640px; }
.empty-state h2, .empty-state h3 { font-size: var(--t-xl); }
.empty-state p { color: var(--text-2); }

.empty-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: var(--space-3); }

.h4 { font-size: var(--t-lg); letter-spacing: -.01em; line-height: 1.3; }
.small { font-size: var(--t-sm); }
.optional { font-weight: 400; color: var(--muted); }

/* ---------------------------------------------- numbered sequences */

.stage-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.stage {
    display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--space-2);
    padding: var(--space-3) 0; border-bottom: 1px solid var(--line);
}
.stage-number { font: var(--display-weight, 300) var(--t-xl)/1 var(--font-display); color: var(--muted); letter-spacing: -.01em; padding-top: .15rem; }
.stage-title { font-size: var(--t-xl); margin-bottom: .4rem; }
.stage p { margin: 0 0 .6rem; color: var(--text-2); max-width: 56ch; }
.stage-list-compact .stage { padding: var(--space-2) 0; }
.stage-list-compact .stage-title { font-size: var(--t-lg); }
@media (max-width: 640px) { .stage { grid-template-columns: 2.75rem minmax(0, 1fr); } }

/* ---------------------------------------------------------- articles */

.article-lead { margin-bottom: var(--space-5); }
.article-lead .article-card { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto auto 1fr; column-gap: var(--space-4); align-items: start; }
.article-lead .card-media { grid-row: 1 / span 4; }
.article-lead .card-eyebrow { align-self: end; }
.article-lead .card-title { font-size: var(--t-2xl); line-height: 1.1; letter-spacing: -.025em; }
.article-lead .card-meta { font-size: var(--t-base); }
@media (max-width: 900px) {
    .article-lead .article-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
    .article-lead .card-media { grid-row: auto; }
}

.article-card .card-meta { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.empty-state { max-width: 640px; padding: var(--space-4) 0; }

.pager { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--line); font-size: var(--t-sm); }
.pager ol { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.pager ol a, .pager ol span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; text-decoration: none; border-radius: var(--btn-radius); }
.pager ol a:hover { background: var(--surface); }
.pager ol [aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.pager-step { min-width: 6rem; text-decoration: none; font-weight: 500; }
.pager-step:last-child { text-align: right; }
.pager a.pager-step:hover { text-decoration: underline; }

.article-head { padding-block: calc(var(--space-5) + 1rem) var(--space-4); }
.article-head h1 { font-size: var(--t-3xl); max-width: 20ch; }
.article-head .eyebrow a { text-decoration: none; }
.article-head .eyebrow a:hover { text-decoration: underline; }
.article-excerpt { max-width: 56ch; }
/* The picture beside the name, at the head of a post or an entry's page
   (site/blog/show.php, site/entries/single.php: entry-hero--split): words
   left, picture right; on a phone the picture comes after the words. */
.entry-hero-figure { margin: 0; overflow: hidden; background: var(--surface-2); border-radius: max(var(--corner), var(--radius)); aspect-ratio: 4 / 3; }
.entry-hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.entry-hero--split { padding-bottom: var(--space-5); }
.entry-hero--split h1 { max-width: 16ch; }
.entry-hero-grid { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 861px) { .entry-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-6, 5rem); } }
.article-body { padding-bottom: var(--space-6); }
.article-body .prose { font-size: 1.125rem; line-height: 1.7; }
.article-body .prose > h2:first-child { margin-top: 0; }
.article-body .prose h3 { font-size: var(--t-xl); margin-top: var(--space-4); }
.article-body .prose h4 { margin-top: var(--space-3); }
.article-foot { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--line); display: grid; gap: var(--space-3); }
.article-foot p { margin: 0; font-size: var(--t-sm); }

/* ---------------------------------------------------- careers / legal */

.legal-toc { margin-bottom: var(--space-5); padding: var(--space-3); background: var(--surface); font-size: var(--t-sm); }
.legal-toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: var(--space-4); }
.legal-toc li { break-inside: avoid; padding: .2rem 0; }
.legal-toc-title { font: 500 var(--t-xs)/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--space-1); }
.legal-toc a { display: inline-block; padding-block: .55rem; text-underline-offset: .2em; }
.legal a { overflow-wrap: anywhere; }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } }
.legal h2 { scroll-margin-top: calc(var(--header-h) + 1rem); }
.legal-back { margin-top: var(--space-5); }

/* ------------------------------------------------- shared form bits */

.form-section { border: 0; margin: 0 0 var(--space-4); padding: 0; min-width: 0; }
.form-section legend {
    font: var(--heading-weight, 400) var(--t-xl)/1.2 var(--font-display); letter-spacing: -.012em;
    padding: 0; margin-bottom: var(--space-3);
}
.form-section.has-error .choice { border-color: var(--error); }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-1); }

.choice {
    position: relative; display: flex; align-items: center; gap: .75rem;
    min-height: 56px; padding: .75rem 1rem;
    background: var(--field); border: 1px solid var(--line-strong); border-radius: var(--field-radius);
    cursor: pointer; font-size: var(--t-sm); font-weight: 500; line-height: 1.3;
    transition: border-color .2s var(--ease);
}
.choice:hover { border-color: var(--text-2); }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex: none; }
.choice:has(input:checked) { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.choice:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.choice small { display: block; font-weight: 400; color: var(--muted); font-size: var(--t-xs); margin-top: .15rem; }
@media (max-width: 420px) { .choice-grid { grid-template-columns: minmax(0, 1fr); } }

.check { display: inline-flex; align-items: center; gap: .6rem; margin-top: var(--space-2); font-size: var(--t-sm); cursor: pointer; min-height: 44px; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }

.form-submit { display: grid; gap: var(--space-2); justify-items: start; padding-top: var(--space-2); }
.form-submit p { margin: 0; }
@media (max-width: 640px) { .form-submit .btn { width: 100%; } }

.input-file { padding: .7rem; min-height: 0; font-size: var(--t-sm); }
.input-file::file-selector-button {
    margin-right: 1rem; padding: .55rem 1rem; border: 1px solid var(--line-strong); border-radius: var(--btn-radius);
    background: var(--bg); color: var(--text); font: 500 var(--t-sm) var(--font-body); cursor: pointer;
}

.error-summary { margin-bottom: var(--space-4); }
.error-summary h2 { margin-bottom: .5rem; }
.error-summary ul { margin: 0; padding-left: 1.2em; }
.error-summary li + li { margin-top: .3rem; }
.error-summary a { color: var(--error); font-weight: 500; }
.error-summary:focus { outline: 2px solid var(--error); outline-offset: 2px; }

/* ------------------------------------------------- quote + contact */

.quote-form { max-width: 760px; }

.contact-layout { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-5); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }
.contact-list { margin: 0; border-top: 1px solid var(--line); }
.contact-list > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: var(--space-2); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: .35rem; }
.contact-list dd { margin: 0; }
.contact-list address { font-style: normal; margin-bottom: var(--space-2); line-height: 1.6; }
.contact-big { font: var(--heading-weight, 400) var(--t-xl)/1.2 var(--font-display); letter-spacing: -.012em; text-decoration: none; overflow-wrap: anywhere; }
.contact-big:hover { text-decoration: underline; text-underline-offset: .2em; }
/* Smaller, as the block says (Phone numbers and email): medium, or the text's own size and font. */
.contact-details--m .contact-big { font-size: var(--t-lg); }
.contact-details--s .contact-big { font: 500 var(--t-base)/1.5 var(--font-body); letter-spacing: normal; }
@media (max-width: 640px) { .contact-list > div { grid-template-columns: minmax(0, 1fr); gap: .4rem; } }
.hours-table { border-collapse: collapse; font-size: var(--t-sm); }
.hours-table th, .hours-table td { text-align: left; padding: .25rem 0; font-weight: 400; }
.hours-table th { padding-right: var(--space-3); color: var(--text-2); }
.inline-links { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0; padding: 0; }
.contact-form-wrap { padding: var(--space-4); background: var(--surface); align-self: start; }
.contact-form-wrap .quote-form { margin-top: var(--space-3); }
@media (max-width: 640px) { .contact-form-wrap { padding: var(--space-3) var(--space-2); margin-inline: calc(var(--gutter) * -1); } }

.reference { display: grid; gap: .3rem; margin-top: var(--space-4); padding: var(--space-3); background: var(--field); border: 1px solid var(--line-strong); border-radius: max(var(--corner), var(--radius)); max-width: 28rem; }
.reference-label { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.reference-value { font: var(--heading-weight, 400) var(--t-2xl)/1.1 var(--font-display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.thanks-actions { margin-top: var(--space-4); }

/* ---------------------------------------------------------- calculator */

/* ------------------------------------------------ touch-friendly links
   On phones, stacked footer links and social links get a 44px-high hit area. */
@media (max-width: 640px) {
    .site-footer li a, .footer-social a { display: inline-flex; align-items: center; min-height: 44px; }
    /* A link that runs to two lines keeps a gap from the next. */
    .site-footer li a { padding-block: .4rem; line-height: 1.3; }
    .footer-social a { min-width: 44px; justify-content: center; }
    .wordmark { padding-block: .75rem; }
    .footer-col ul { gap: 0; }
    .footer-address a { display: inline-block; padding-block: .6rem; }
}

/* ==========================================================================
   Blog: /blog, its archives and the post page (site/blog/*).
   The same quiet editorial language as the rest of the site: type, rules and
   real photography. The only colour is in the covers.
   ========================================================================== */

/* ----------------------------------------------------------- hub + archives */

.blog-hero h1 { max-width: 20ch; }
.blog-hero .results-count { margin-top: var(--space-3); }

/* Categories under the heading: quiet chips, a full tap target each. */
.blog-chips { margin-top: var(--space-3); }
.blog-chips ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-1); margin: 0; padding: 0; }
.blog-chips a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem;
    border: 1px solid var(--line-strong); border-radius: var(--btn-radius);
    font-size: var(--t-sm); text-decoration: none; background: var(--field);
    transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.blog-chips a:hover { border-color: var(--text); }
.blog-chips a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.blog-feature { margin-bottom: var(--space-5); padding-bottom: var(--space-5); border-bottom: 1px solid var(--line); }

/* Posts beside the sidebar on wide screens; the sidebar follows on phones. */
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--space-5); align-items: start; }
/* The lists without the sidebar (Page content -> Blog): the grid or a list the full width. */
.blog-layout--full { grid-template-columns: minmax(0, 1fr); }
.blog-list { display: grid; gap: var(--space-4); max-width: 960px; }
/* A post card with its picture beside its words: the blog's list, and the Latest posts block's. */
@media (min-width: 641px) {
    .post-card--row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: var(--space-3); align-content: start; }
    .post-card--row > .card-media { grid-row: 1 / span 4; margin: 0; }
    .post-card--row > :not(.card-media) { grid-column: 2; }
    .post-card--row:not(:has(> .card-media)) { grid-template-columns: minmax(0, 1fr); }
    .post-card--row:not(:has(> .card-media)) > * { grid-column: 1; }
}
/* A post laid out wide, or beside the Blog sidebar (6.2): its head the
   full width, the sidebar beside the words below it, as an entry's page. */
.post--wide .article-head .container, .post--wide .article-body { max-width: 1120px; }
.post--wide .article-body .prose { max-width: 80ch; }
.post-layout { padding-block: 0 var(--space-5); }
.post-layout > .article-body { max-width: none; padding-inline: 0; margin-inline: 0; }
.sidebar-more { margin: var(--space-2) 0 0; }
.blog-main { min-width: 0; }
.blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--space-5); }
@media (max-width: 1280px) { .blog-grid:not(.blog-grid--wide) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .blog-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) {
    .blog-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
    /* Below the list; beside a post it stays beside until 900px (.with-sidebar). */
    .blog-layout > .blog-sidebar { padding-top: var(--space-4); border-top: 1px solid var(--line); }
}
.blog-feed { margin-top: var(--space-3); }
@media (max-width: 640px) { .blog-grid { grid-template-columns: minmax(0, 1fr); } }
/* A magazine (the layout round, L.8): the newest post large, two columns
   wide and two rows tall, the rest beside and below it. */
@media (min-width: 761px) {
    .blog-grid--magazine > :first-child { grid-column: span 2; grid-row: span 2; align-content: start; }
    .blog-grid--magazine > :first-child .card-title { font-size: var(--t-2xl); }
    .blog-grid--magazine > :first-child .card-media { aspect-ratio: 16 / 10; }
}
@container (max-width: 640px) {
    :is(.row-col, .popup-body) .blog-grid--magazine > :first-child { grid-column: auto; grid-row: auto; }
    :is(.row-col, .popup-body) .blog-grid--magazine > :first-child .card-title { font-size: var(--t-lg); }
}

.post-card-foot { font-size: var(--t-xs); color: var(--muted); letter-spacing: .02em; }

.pager-step { display: inline-flex; align-items: center; min-height: 44px; }
.pager-step:last-child { justify-content: flex-end; }
.pager-gap { display: inline-grid; place-items: center; min-width: 1.5rem; height: 44px; color: var(--muted); }
@media (max-width: 480px) { .pager-step { min-width: 0; } }

/* ------------------------------------------------------------- sidebar */

.blog-sidebar { display: grid; gap: var(--space-4); align-content: start; font-size: var(--t-sm); }
.sidebar-title {
    display: block; font: 500 var(--t-xs)/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
    color: var(--muted); margin: 0 0 var(--space-2);
}
.blog-search-row { display: flex; gap: var(--space-1); }
.blog-search-row .input { flex: 1 1 auto; min-width: 0; }
.blog-search-row .btn { flex: none; padding-inline: 1.1rem; }
.blog-search-hero { margin-top: var(--space-3); max-width: 560px; }

.sidebar-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sidebar-list a {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    min-height: 44px; padding: .5rem 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.sidebar-list a:hover span, .sidebar-list a[aria-current="page"] span { text-decoration: underline; text-underline-offset: .25em; }
.sidebar-list small { font-size: var(--t-xs); color: var(--muted); font-variant-numeric: tabular-nums; }

.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.tag-list a {
    display: inline-flex; align-items: center; min-height: 36px; padding: 0 .8rem;
    border: 1px solid var(--line-strong); border-radius: var(--btn-radius);
    font-size: var(--t-xs); letter-spacing: .02em; text-decoration: none; background: var(--field);
}
.tag-list a:hover { border-color: var(--text); }

.sidebar-recent { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.sidebar-recent a { display: block; padding-block: .3rem; font: var(--heading-weight, 400) var(--t-base)/1.3 var(--font-display); letter-spacing: -.01em; text-decoration: none; }
.sidebar-recent a:hover { text-decoration: underline; text-underline-offset: .2em; }
.sidebar-recent time { display: block; font-size: var(--t-xs); color: var(--muted); }
.sidebar-feed { margin: 0; }
.sidebar-feed a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }

/* ------------------------------------------------------------- authors */

.author-head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-2); }
.author-head h1 { margin: 0; }
.author-head .eyebrow { margin-bottom: .5rem; }
.author-avatar {
    width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover;
    background: var(--surface-2);
}
.author-avatar-lg { width: 96px; height: 96px; }
.author-initials {
    display: inline-grid; place-items: center; color: var(--text-2);
    font: var(--heading-weight, 400) var(--t-lg)/1 var(--font-display); letter-spacing: .02em;
}
.author-avatar-lg.author-initials { font-size: var(--t-xl); }
.author-bio { max-width: 60ch; }
.author-bio p:last-child { margin-bottom: 0; }
@media (max-width: 480px) {
    .author-head { gap: var(--space-2); }
    .author-avatar-lg { width: 72px; height: 72px; }
}

/* ---------------------------------------------------------------- post */

.post .article-head h1 { max-width: 22ch; }

/* --------------------------------------------------- a page's own title */

/* An entry's, a post's or a gallery's title, by its length
   (App\Support\TitleSize): a short one keeps the design's size; a long one
   steps down and wraps wider, so it takes three or four lines rather than
   six, whichever way its page opens. A word too long for the line (on a
   phone) breaks rather than running off it. */
:is(.page-hero, .article-head) h1, .hero-content .display { overflow-wrap: break-word; }
.title-long :is(.page-hero, .article-head) h1, .page-hero.title-long h1 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.4rem); max-width: 22ch; }
.title-longer :is(.page-hero, .article-head) h1, .page-hero.title-longer h1 { font-size: clamp(1.85rem, 1.3rem + 2vw, 2.75rem); max-width: 26ch; }
/* Over its picture, the full width: the hero's large type is made for a
   landing page's few words (and its own sizes, media.css, give way here). */
.title-long .hero .hero-content .display { font-size: min(clamp(2.4rem, 1.4rem + 3.8vw, 4.75rem), 8.5svh); max-width: 16ch; }
.title-longer .hero .hero-content .display { font-size: min(clamp(2rem, 1.3rem + 2.6vw, 3.5rem), 7svh); max-width: 20ch; }

/* Large headings the full width of the content (Typography -> Heading
   width: SiteTheme, body.headings-full): a page's own title, the heading of
   a block (.section-head), and a hero's (media.css). Introductions keep a
   comfortable reading width. */
body.headings-full :is(.page-hero, .article-head, .blog-hero) h1 { max-width: none; }
body.headings-full .section-head { max-width: none; }
body.headings-full .section-head h2 { max-width: none; }
body.headings-full .section-head .lede { max-width: 68ch; }
.post-byline {
    display: flex; flex-wrap: wrap; gap: .25rem 0; margin: var(--space-3) 0 0;
    font-size: var(--t-sm); color: var(--muted);
}
.post-byline span:not(:last-child)::after { content: "·"; margin-inline: .6rem; }
.post-byline a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.post-byline a:hover { border-color: var(--text); }

.post-foot { gap: var(--space-4); }
.post-tags .sidebar-title, .share .sidebar-title { margin-bottom: var(--space-1); }

.share-list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-1); margin: 0; padding: 0; }
.share-list a, .share-copy {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 1rem;
    border: 1px solid var(--line-strong); border-radius: var(--btn-radius); background: var(--field); color: var(--text);
    font: 500 var(--t-sm)/1 var(--font-body); text-decoration: none; cursor: pointer;
    transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.share-list a:hover, .share-copy:hover { border-color: var(--text); }
.share-copy.is-done { background: var(--text); border-color: var(--text); color: var(--bg); }
.share-status { margin: .5rem 0 0; font-size: var(--t-sm); color: var(--muted); }
.share-status:empty { display: none; }

.author-box {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-3); align-items: start;
    padding: var(--space-3); background: var(--surface);
}
.author-box .card-eyebrow { display: block; margin-bottom: .35rem; }
.author-box-name { font-size: var(--t-xl); margin: 0 0 var(--space-1); }
.author-box-name a { text-decoration: none; }
.author-box-name a:hover { text-decoration: underline; text-underline-offset: .2em; }
.author-box-bio { font-size: var(--t-base); color: var(--text-2); }
.author-box-bio p:last-child { margin-bottom: 0; }
@media (max-width: 480px) {
    .author-box { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); padding: var(--space-3) var(--space-2); }
}

.post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--line); }
.post-nav a { display: grid; gap: .4rem; align-content: start; min-height: 44px; text-decoration: none; }
.post-nav-next { grid-column: 2; text-align: right; }
.post-nav-title { font: var(--heading-weight, 400) var(--t-lg)/1.25 var(--font-display); letter-spacing: -.01em; }
.post-nav a:hover .post-nav-title { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
@media (max-width: 640px) {
    .post-nav { grid-template-columns: minmax(0, 1fr); }
    .post-nav-next { grid-column: auto; text-align: left; }
}

.post-comments { border-top: 1px solid var(--line); }

/* A staff preview of an unpublished post. */
.preview-banner { background: var(--ink); color: var(--on-dark); padding-block: .85rem; font-size: var(--t-sm); }
.preview-banner strong { font-weight: 600; margin-right: .35rem; }

/* Password-protected and private pages and posts (App\Support\Visibility). */
.protected-hero .lede { margin-bottom: var(--space-4); }
.protected-eyebrow { display: inline-flex; align-items: center; gap: .4rem; }
.protected-form { display: grid; gap: var(--space-3); max-width: 26rem; margin-bottom: var(--space-3); }
.protected-form .btn { justify-self: start; }
.protected-note { font-size: var(--t-sm); margin-bottom: var(--space-4); }
.protected-error { color: var(--error); margin-bottom: var(--space-4); }
.visibility-banner { background: var(--surface-2, #f1efe9); color: var(--text); border-bottom: 1px solid var(--line); padding-block: .7rem; font-size: var(--t-sm); }
.visibility-banner strong { font-weight: 600; margin-right: .35rem; }
.card-lock { display: inline-flex; align-items: center; gap: .3rem; font-size: var(--t-xs); color: var(--muted); }
.card-lock svg { flex: none; }

/* ------------------------------------------------------------ comments */

.post-comments h2 { font-size: var(--t-2xl); }
.notice-success { border-color: var(--text); }
.post-comments .notice { margin-bottom: var(--space-3); }

.comment-list, .comment-replies { list-style: none; margin: 0; padding: 0; }
.comment-list { border-top: 1px solid var(--line); margin-bottom: var(--space-4); }
.comment-list > li { padding-block: var(--space-3); border-bottom: 1px solid var(--line); }
.comment-replies { margin: var(--space-3) 0 0 var(--space-4); padding-left: var(--space-3); border-left: 1px solid var(--line); display: grid; gap: var(--space-3); }
@media (max-width: 640px) { .comment-replies { margin-left: var(--space-1); padding-left: var(--space-2); } }

.comment-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; margin-bottom: .5rem; }
.comment-author { font-weight: 600; }
.comment-head time { font-size: var(--t-xs); color: var(--muted); }
.comment-badge {
    font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase;
    padding: .15rem .45rem; border: 1px solid var(--text); border-radius: var(--radius);
}
.comment-body { color: var(--text-2); overflow-wrap: anywhere; max-width: var(--measure); }
.comment-reply { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-sm); font-weight: 500; }

.comment-form { padding: var(--space-4); background: var(--surface); scroll-margin-top: calc(var(--header-h) + 1rem); }
.comment-form-title { font-size: var(--t-xl); margin-bottom: var(--space-3); }
.comment-replying { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 0 0 var(--space-3); font-size: var(--t-sm); }
.comment-cancel {
    min-height: 44px; padding: 0; background: none; border: 0; color: inherit; cursor: pointer;
    font: 500 var(--t-sm)/1 var(--font-body); text-decoration: underline; text-underline-offset: .2em;
}
.comment-note { font-size: var(--t-sm); }
.comment-status { font-size: var(--t-sm); color: var(--error); }
.comment-status:empty { display: none; }
.js .comment-nojs { display: none; }
@media (max-width: 640px) { .comment-form { padding: var(--space-3) var(--space-2); margin-inline: calc(var(--gutter) * -1); } }

/* ==========================================================================
   Footer details (partials/footer). Page blocks are in blocks.css.
   ========================================================================== */

.footer-hours { font-variant-numeric: tabular-nums; }
/* The Opening hours block "in short" (the footer's look, on a page too). */
.hours-summary { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.block-hours--summary .hours-note { margin: var(--space-2) 0 0; color: var(--muted); font-size: var(--t-sm); }
.footer-hours li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 var(--space-2); max-width: 22rem; }
.footer-hours span { white-space: nowrap; }
/* In a narrow column every day sits above its hours, not just the longest. */
.hours-summary { container-type: inline-size; }
@container (max-width: 16rem) {
    .footer-hours li { display: grid; gap: 0; }
}
