/*
 * Site styles. There is no build step: this file is served exactly as written,
 * so everything the site needs is here or in the site's own additions below.
 *
 * COLOUR, TYPE AND SPACE ARE DIALS (#426). The first section is Dials
 * (github.com/joops/dials), copied verbatim between its begin and end
 * markers. It works out every colour, text size, space size and
 * corner from a few values called dials. This site sets its own dials in ONE
 * short block straight after the section, "This site's dials", and that block
 * is the only place in the file where a colour or a scale value is typed.
 *
 *   - Change the look by changing a dial: --brand for the brand colour,
 *     --size-min/--size-max and --ratio-min/--ratio-max for the type scale,
 *     --leading-body for line height, --space-min/--space-max and
 *     --space-density for spacing, --radius-base for corners,
 *     --font-body/--font-heading for faces.
 *   - Everything else reads a token: --surface*, --text*, --border*, --link,
 *     --focus, --solid/--on-solid/--soft/--on-soft/--line (and the named
 *     groups --brand-*, --secondary-*, --tertiary-*, --success-* ...), --size-*,
 *     --leading, --space-*, --radius-*, --border-width-*. Never a hex, rgb(),
 *     hsl() or named colour, never a px/rem length, and never a typed line
 *     height, anywhere else. Weights and letter spacing are the site's own:
 *     a weight is a unitless number, letter spacing is in em.
 *   - The rules are in refs/design/DESIGN.md ("Dials"). Every dial, token
 *     and class is listed in the reference for the version in the section's
 *     first line: github.com/joops/dials/blob/v0.4.0/docs/tokens.md. A
 *     gradient, a wash or a quiet coloured border is a pattern built from
 *     tokens (that reference, "Patterns"), never a token of its own.
 *     check-system.sh holds the section to _template's copy word for word,
 *     and fails a raw colour outside the dials block.
 */

/* ═══ Dials ═══ dials:begin ═════════════════════════════════════════════
 * Dials v0.4.2, VERBATIM. Never edit anything between this marker and the
 * end marker: check-system.sh fails the site if its copy differs from
 * _template's by a word. Each marker appears once; never write either in
 * prose. Set dials in "This site's dials" below; an upgrade
 * of Dials is a template change plus a migration of every site.
 * ═══════════════════════════════════════════════════════════════════════ */
/*! Dials v0.4.2 | MIT | https://github.com/joops/dials */
/* Dials: an AI-first CSS framework. This file is dials-colour.css, then
   dials-scale.css, then the fallback for older browsers; dials-base.css is optional.
   Its defaults are the Default theme: the device's own faces, nothing to load.
   The Dials house theme is themes/dials.css.
*/
/* ============================================================
   Dials: colour (dials-colour.css)
   Dials: seven colours and a few numbers, the only typed values.
   Derived: surfaces, text, lines and groups, worked out live with
   color-mix() and relative colour, in light and dark.
   Groups: .is-{group} points the ungrouped tokens at a group.
   Dials live on :root (and :host); the derived chain is declared on
   :root, [data-dials] and :host, so setting a dial on any
   [data-dials] element re-derives every token inside it.
   Needs color-mix(), light-dark() and relative colour. Don't
   register these with @property: they must resolve where they're
   used, which is what makes .is-dark bands work.
   ============================================================ */
:root, :host {
  /* ---- Colour dials: any CSS colour, preferably HSL ---- */
  --brand:     hsl(221 83% 53%);  /* the main colour: links, focus, primary buttons */
  --secondary: hsl(262 52% 55%);  /* a second colour: highlights and secondary actions (was --accent) */
  --success:   hsl(142 64% 38%);  /* status: done, saved, live */
  --warning:   hsl(38 92% 50%);  /* status: check this */
  --danger:    hsl(0 72% 51%);  /* status: errors and destructive actions */
  --info:      hsl(199 89% 42%);  /* status: neutral news */
  --grey:      hsl(220 9% 50%);  /* the hue and strength of the tint in paper and ink */

  /* ---- Number dials ---- */
  --balance: 0;              /* 1: every fill at --fill-lightness, so they carry equal weight. 0: exactly as set */
  --fill-lightness: 0.52;    /* the shared OKLCH lightness used when --balance is 1 */
  --dark-lift: 0.06;         /* how much lighter the fills are in dark */
  --tint-strength: 10%;      /* how much colour goes into a soft tint */
  --tint-vividness: 1;       /* 1-3: how saturated soft tints are, for crisper pastels */
  --text-contrast: 0;        /* 0-30: strengthens body, muted and quiet text and strong borders, for paper and ink that sit close together */
  --white-text-until: 0.179; /* fills below this luminance get white text, above it black. 0.179 gives each fill whichever contrasts more; held between 0.175 and 0.18333, where both still give 4.5:1: black needs (L + 0.05) / 0.05 >= 4.5, so L >= 0.175; white needs 1.05 / (L + 0.05) >= 4.5, so L <= 1.05 / 4.5 - 0.05 = 0.18333 */

  /* ---- Paper and ink: near-white and near-black, tinted by --grey at these OKLCH lightnesses.
     To use exact colours instead, set --paper-light, --paper-dark, --ink-light and/or
     --ink-dark (unset by default) to any colour. ---- */
  --paper-lightness: 0.985;       /* page background in light */
  --paper-dark-lightness: 0.17;   /* page background in dark */
  --ink-lightness: 0.2;           /* strongest text in light */
  --ink-dark-lightness: 0.95;     /* strongest text in dark */
}

/* Follow the visitor's light or dark setting. To force one, set
   :root { color-scheme: light; } (or dark) after dials.css. */
:root { color-scheme: light dark; }

:root, [data-dials], :host {
  /* ---- Internal: paper, ink and the six fills, worked out from the dials ---- */
  --dl-paper-light: var(--paper-light, oklab(from var(--grey) var(--paper-lightness) calc(a * 0.12) calc(b * 0.12)));
  --dl-paper-dark:  var(--paper-dark,  oklab(from var(--grey) var(--paper-dark-lightness) calc(a * 0.15) calc(b * 0.15)));
  --dl-ink-light:   var(--ink-light,   oklab(from var(--grey) var(--ink-lightness) calc(a * 0.25) calc(b * 0.25)));
  --dl-ink-dark:    var(--ink-dark,    oklab(from var(--grey) var(--ink-dark-lightness) calc(a * 0.12) calc(b * 0.12)));
  --dl-paper: light-dark(var(--dl-paper-light), var(--dl-paper-dark));
  --dl-ink:   light-dark(var(--dl-ink-light), var(--dl-ink-dark));
  --dl-paper-grey: oklab(from var(--dl-paper) l 0 0);  /* paper without its tint: soft tints mix into this, so they keep their own hue */

  --dl-secondary-dial: var(--accent, var(--secondary));  /* --accent is --secondary's old name: while a site still sets it, it wins */
  --dl-brand-base:     oklab(from var(--brand)              calc(l + (var(--fill-lightness) - l) * var(--balance)) a b);
  --dl-secondary-base: oklab(from var(--dl-secondary-dial)  calc(l + (var(--fill-lightness) - l) * var(--balance)) a b);
  --dl-success-base:   oklab(from var(--success)            calc(l + (var(--fill-lightness) - l) * var(--balance)) a b);
  --dl-warning-base:   oklab(from var(--warning)            calc(l + (var(--fill-lightness) - l) * var(--balance)) a b);
  --dl-danger-base:    oklab(from var(--danger)             calc(l + (var(--fill-lightness) - l) * var(--balance)) a b);
  --dl-info-base:      oklab(from var(--info)               calc(l + (var(--fill-lightness) - l) * var(--balance)) a b);
  --dl-brand:     light-dark(var(--dl-brand-base), oklab(from var(--dl-brand-base) calc(l + var(--dark-lift)) a b));
  --dl-secondary: light-dark(var(--dl-secondary-base), oklab(from var(--dl-secondary-base) calc(l + var(--dark-lift)) a b));
  --dl-success:   light-dark(var(--dl-success-base), oklab(from var(--dl-success-base) calc(l + var(--dark-lift)) a b));
  --dl-warning:   light-dark(var(--dl-warning-base), oklab(from var(--dl-warning-base) calc(l + var(--dark-lift)) a b));
  --dl-danger:    light-dark(var(--dl-danger-base), oklab(from var(--dl-danger-base) calc(l + var(--dark-lift)) a b));
  --dl-info:      light-dark(var(--dl-info-base), oklab(from var(--dl-info-base) calc(l + var(--dark-lift)) a b));

  /* ---- Surfaces ---- */
  --surface:         var(--dl-paper);                                            /* the page background */
  --surface-raised:  oklab(from var(--dl-paper) calc(l + 0.03) calc(a * 0.5) calc(b * 0.5));  /* cards, fields, popovers */
  --surface-lowered: color-mix(in oklab, var(--dl-ink) 4%, var(--dl-paper));     /* wells, table headers, quiet panels */
  --surface-sunken:  color-mix(in oklab, var(--dl-ink) 8%, var(--dl-paper));     /* code, inset areas, disabled fills */
  --surface-overlay: color-mix(in oklab, black 45%, transparent);                /* the scrim behind a dialog */

  /* ---- Text ---- */
  --text-strong:   var(--dl-ink);                                                                         /* headings, labels, emphasis */
  --text:          color-mix(in oklab, var(--dl-ink) calc(86% + var(--text-contrast) * 0.4%), var(--dl-paper));  /* body text */
  --text-muted:    color-mix(in oklab, var(--dl-ink) calc(70% + var(--text-contrast) * 1%), var(--dl-paper));    /* secondary text */
  --text-quiet:    color-mix(in oklab, var(--dl-ink) calc(64% + var(--text-contrast) * 1.2%), var(--dl-paper));  /* captions, dates, placeholders */
  --text-disabled: color-mix(in oklab, var(--dl-ink) 38%, var(--dl-paper));                                /* disabled controls: exempt from contrast rules */
  --link:          var(--brand-on-soft);                                                                  /* links: 4.5:1 on every surface */
  --link-hover:    light-dark(color(from var(--dl-brand-hover) srgb-linear calc(r * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(g * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(b * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / 1), color(from color(from var(--dl-brand-hover) srgb-linear min(1, r * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, g * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, b * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / alpha) srgb-linear calc(r + (1 - r) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(g + (1 - g) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(b + (1 - b) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) / 1));  /* links on hover: a step stronger (the link 0.08 darker in OKLCH lightness in light, lighter in dark), and on to 7:1 if that's short */

  /* ---- Lines and effects ---- */
  --border-quiet:  color-mix(in oklab, var(--dl-ink) 7%, var(--dl-paper));   /* dividers that should barely show */
  --border:        color-mix(in oklab, var(--dl-ink) 13%, var(--dl-paper));  /* card and table borders: decorative */
  --border-strong: color-mix(in oklab, var(--dl-ink) calc(46% + var(--text-contrast) * 1%), var(--dl-paper));  /* field and control borders: 3:1 on surfaces */
  --focus:         var(--brand-on-soft);                                     /* the focus ring: opaque, 4.5:1 on surfaces */
  --selection:     color-mix(in oklab, var(--dl-brand) 22%, var(--dl-paper));  /* selected text background */
  --shadow-color:  light-dark(color-mix(in oklab, black 10%, transparent), color-mix(in oklab, black 45%, transparent));  /* the colour of shadows */
  --shadow-s: 0 1px 3px var(--shadow-color);    /* a slight lift: buttons, chips */
  --shadow-m: 0 4px 14px var(--shadow-color);   /* cards */
  --shadow-l: 0 12px 32px var(--shadow-color);  /* popovers, menus, dialogs */

  /* ---- Hover and pressed: the second half of a color-mix(), from Web Awesome.
     Use as color-mix(in oklch, var(--solid), var(--mix-hover)). The text colour's lightness is flipped
     in OKLab, keeping its a and b: grey text has no hue a browser will read back (Chrome 157 reads it
     as none, which paints pink), so this reads none. ---- */
  --mix-hover:  oklab(from currentColor calc(1 - l) a b) 12%;  /* hover: away from the text colour */
  --mix-active: oklab(from currentColor calc(1 - l) a b) 22%;  /* pressed: further still */

  /* ---- Groups: brand, secondary, neutral, success, warning, danger, info. Five roles each:
     solid      a solid fill
     on-solid   text on it: white or black, whichever contrasts more (its sRGB luminance, as painted, vs --white-text-until)
     soft       a tinted background: the colour, held at L 0.7 or lighter in light (0.6 or darker in dark), mixed in OKLab
                into paper with its own tint taken out, so a blue soft stays blue on cream paper. Its vividness scales
                the mix's a and b, never its chroma and hue: a tint is too pale to carry a hue a browser will read back
                (Chrome 157 reads it as none, which paints pink), so no colour here reads a hue from a mix or from paper
     on-soft    text on soft, and coloured text on the page: the fill, moved only as far as 4.5:1 needs
     line       borders, icons and large text (24px, or 18.66px bold, and up): the dial, moved only as far as 3:1 needs

     Coloured text and lines follow one rule: keep the colour, and move it only as far as its
     contrast target needs, on the least contrasting background it sits on: its own soft tint,
     --surface-lowered or --surface-raised (--surface always lies between them). Only its
     linear-light RGB is scaled, which keeps the channels' ratios, so hue and saturation stay
     (in dark, until a channel reaches 1).
     --link-hover is the same rule at 7:1, starting from the link a step stronger.
       Y   the colour's luminance, 0.2126 r + 0.7152 g + 0.0722 b in linear sRGB (clipped to sRGB first)
       Yb  that background's luminance, as painted (clipped to sRGB)
       T   the target, plus 0.1 headroom so painting in 8 bits can't round it under the line
       light: Yt = (Yb + 0.05) / (T + 0.1) - 0.05; scale r, g and b by min(1, Yt / Y)
       dark:  Yt = (T + 0.1) * (Yb + 0.05) - 0.05; scale r, g and b by max(1, Yt / Y), each capped
              at 1; if a capped channel leaves it short, mix towards white only as far as Yt needs:
              by (Yt - Y1) / (1 - Y1), where Y1 is the luminance after scaling
     A colour that already passes keeps its exact value. CSS works out a relative colour from
     one colour's channels only, so the steps carry their numbers in colours:
       --dl-surfaces-y       the luminance of --surface-lowered in green, of --surface-raised in blue
       --dl-{group}-under    plus the soft tint's in red, mixed 50/50: Yb is min(2r, 4g, 4b) in light, max in dark
       --dl-{group}-text,    the colour, mixed 50/50 with a black whose alpha is s Yt, where s is 3 in
       --dl-{group}-line,    light (Yt is at most 0.29 there) and 1 in dark: scaling it up means Firefox
       --dl-brand-hover      rounding a mix's alpha to three decimals costs a third as much. Mixing
                             premultiplies, so the mix has alpha a = (1 + s Yt) / 2 and channels c / 2a:
                             the colour's channels are r * 2a, and Yt is (2a - 1) / s
       on-soft, line, hover  unpack both and scale, as above ---- */
  --dl-surfaces-y: color-mix(in srgb-linear, color(from var(--surface-lowered) srgb-linear 0 calc(0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1)) 0), color(from var(--surface-raised) srgb-linear 0 0 calc(0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))));

--dl-brand-under: color-mix(in srgb-linear, color(from var(--brand-soft) srgb-linear calc(0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1)) 0 0), var(--dl-surfaces-y));
  --dl-brand-text:  color-mix(in srgb-linear, color(from var(--dl-brand-base) srgb-linear clamp(0, r, 1) clamp(0, g, 1) clamp(0, b, 1) / 1), light-dark(color(from var(--dl-brand-under) srgb-linear 0 0 0 / calc(clamp(0, 3 * ((min(2 * r, 4 * g, 4 * b) + 0.05) / (4.5 + 0.1) - 0.05), 1))), color(from var(--dl-brand-under) srgb-linear 0 0 0 / calc(clamp(0, (4.5 + 0.1) * (max(2 * r, 4 * g, 4 * b) + 0.05) - 0.05, 1)))));
  --dl-brand-line:  color-mix(in srgb-linear, color(from var(--brand) srgb-linear clamp(0, r, 1) clamp(0, g, 1) clamp(0, b, 1) / 1), light-dark(color(from var(--dl-brand-under) srgb-linear 0 0 0 / calc(clamp(0, 3 * ((min(2 * r, 4 * g, 4 * b) + 0.05) / (3 + 0.1) - 0.05), 1))), color(from var(--dl-brand-under) srgb-linear 0 0 0 / calc(clamp(0, (3 + 0.1) * (max(2 * r, 4 * g, 4 * b) + 0.05) - 0.05, 1)))));
  --brand-solid:    var(--dl-brand);
  --brand-on-solid: color(from var(--dl-brand) srgb-linear calc(clamp(0, (clamp(0.175, var(--white-text-until), 0.18333) - (0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))) * 1000000, 1)) calc(clamp(0, (clamp(0.175, var(--white-text-until), 0.18333) - (0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))) * 1000000, 1)) calc(clamp(0, (clamp(0.175, var(--white-text-until), 0.18333) - (0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))) * 1000000, 1)) / 1);
  --brand-soft:     oklab(from color-mix(in oklab, light-dark(oklab(from var(--dl-brand) max(l, 0.7) a b), oklab(from var(--dl-brand) min(l, 0.6) a b)) var(--tint-strength), var(--dl-paper-grey)) l calc(a * var(--tint-vividness)) calc(b * var(--tint-vividness)));
  --brand-on-soft:  light-dark(color(from var(--dl-brand-text) srgb-linear calc(r * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(g * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(b * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / 1), color(from color(from var(--dl-brand-text) srgb-linear min(1, r * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, g * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, b * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / alpha) srgb-linear calc(r + (1 - r) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(g + (1 - g) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(b + (1 - b) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) / 1));
  --brand-line:     light-dark(color(from var(--dl-brand-line) srgb-linear calc(r * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(g * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(b * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / 1), color(from color(from var(--dl-brand-line) srgb-linear min(1, r * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, g * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, b * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / alpha) srgb-linear calc(r + (1 - r) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(g + (1 - g) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(b + (1 - b) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) / 1));

  --dl-secondary-under: color-mix(in srgb-linear, color(from var(--secondary-soft) srgb-linear calc(0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1)) 0 0), var(--dl-surfaces-y));
  --dl-secondary-text:  color-mix(in srgb-linear, color(from var(--dl-secondary-base) srgb-linear clamp(0, r, 1) clamp(0, g, 1) clamp(0, b, 1) / 1), light-dark(color(from var(--dl-secondary-under) srgb-linear 0 0 0 / calc(clamp(0, 3 * ((min(2 * r, 4 * g, 4 * b) + 0.05) / (4.5 + 0.1) - 0.05), 1))), color(from var(--dl-secondary-under) srgb-linear 0 0 0 / calc(clamp(0, (4.5 + 0.1) * (max(2 * r, 4 * g, 4 * b) + 0.05) - 0.05, 1)))));
  --dl-secondary-line:  color-mix(in srgb-linear, color(from var(--dl-secondary-dial) srgb-linear clamp(0, r, 1) clamp(0, g, 1) clamp(0, b, 1) / 1), light-dark(color(from var(--dl-secondary-under) srgb-linear 0 0 0 / calc(clamp(0, 3 * ((min(2 * r, 4 * g, 4 * b) + 0.05) / (3 + 0.1) - 0.05), 1))), color(from var(--dl-secondary-under) srgb-linear 0 0 0 / calc(clamp(0, (3 + 0.1) * (max(2 * r, 4 * g, 4 * b) + 0.05) - 0.05, 1)))));
  --secondary-solid:    var(--dl-secondary);
  --secondary-on-solid: color(from var(--dl-secondary) srgb-linear calc(clamp(0, (clamp(0.175, var(--white-text-until), 0.18333) - (0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))) * 1000000, 1)) calc(clamp(0, (clamp(0.175, var(--white-text-until), 0.18333) - (0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))) * 1000000, 1)) calc(clamp(0, (clamp(0.175, var(--white-text-until), 0.18333) - (0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))) * 1000000, 1)) / 1);
  --secondary-soft:     oklab(from color-mix(in oklab, light-dark(oklab(from var(--dl-secondary) max(l, 0.7) a b), oklab(from var(--dl-secondary) min(l, 0.6) a b)) var(--tint-strength), var(--dl-paper-grey)) l calc(a * var(--tint-vividness)) calc(b * var(--tint-vividness)));
  --secondary-on-soft:  light-dark(color(from var(--dl-secondary-text) srgb-linear calc(r * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(g * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(b * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / 1), color(from color(from var(--dl-secondary-text) srgb-linear min(1, r * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, g * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, b * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / alpha) srgb-linear calc(r + (1 - r) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(g + (1 - g) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(b + (1 - b) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) / 1));
  --secondary-line:     light-dark(color(from var(--dl-secondary-line) srgb-linear calc(r * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(g * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(b * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / 1), color(from color(from var(--dl-secondary-line) srgb-linear min(1, r * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, g * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, b * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / alpha) srgb-linear calc(r + (1 - r) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(g + (1 - g) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(b + (1 - b) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) / 1));

  --neutral-solid:    var(--dl-ink);
  --neutral-on-solid: var(--dl-paper);
  --neutral-soft:     var(--surface-lowered);
  --neutral-on-soft:  var(--text);
  --neutral-line:     var(--border);

  --dl-success-under: color-mix(in srgb-linear, color(from var(--success-soft) srgb-linear calc(0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1)) 0 0), var(--dl-surfaces-y));
  --dl-success-text:  color-mix(in srgb-linear, color(from var(--dl-success-base) srgb-linear clamp(0, r, 1) clamp(0, g, 1) clamp(0, b, 1) / 1), light-dark(color(from var(--dl-success-under) srgb-linear 0 0 0 / calc(clamp(0, 3 * ((min(2 * r, 4 * g, 4 * b) + 0.05) / (4.5 + 0.1) - 0.05), 1))), color(from var(--dl-success-under) srgb-linear 0 0 0 / calc(clamp(0, (4.5 + 0.1) * (max(2 * r, 4 * g, 4 * b) + 0.05) - 0.05, 1)))));
  --dl-success-line:  color-mix(in srgb-linear, color(from var(--success) srgb-linear clamp(0, r, 1) clamp(0, g, 1) clamp(0, b, 1) / 1), light-dark(color(from var(--dl-success-under) srgb-linear 0 0 0 / calc(clamp(0, 3 * ((min(2 * r, 4 * g, 4 * b) + 0.05) / (3 + 0.1) - 0.05), 1))), color(from var(--dl-success-under) srgb-linear 0 0 0 / calc(clamp(0, (3 + 0.1) * (max(2 * r, 4 * g, 4 * b) + 0.05) - 0.05, 1)))));
  --success-solid:    var(--dl-success);
  --success-on-solid: color(from var(--dl-success) srgb-linear calc(clamp(0, (clamp(0.175, var(--white-text-until), 0.18333) - (0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))) * 1000000, 1)) calc(clamp(0, (clamp(0.175, var(--white-text-until), 0.18333) - (0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))) * 1000000, 1)) calc(clamp(0, (clamp(0.175, var(--white-text-until), 0.18333) - (0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))) * 1000000, 1)) / 1);
  --success-soft:     oklab(from color-mix(in oklab, light-dark(oklab(from var(--dl-success) max(l, 0.7) a b), oklab(from var(--dl-success) min(l, 0.6) a b)) var(--tint-strength), var(--dl-paper-grey)) l calc(a * var(--tint-vividness)) calc(b * var(--tint-vividness)));
  --success-on-soft:  light-dark(color(from var(--dl-success-text) srgb-linear calc(r * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(g * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(b * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / 1), color(from color(from var(--dl-success-text) srgb-linear min(1, r * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, g * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, b * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / alpha) srgb-linear calc(r + (1 - r) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(g + (1 - g) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(b + (1 - b) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) / 1));
  --success-line:     light-dark(color(from var(--dl-success-line) srgb-linear calc(r * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(g * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(b * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / 1), color(from color(from var(--dl-success-line) srgb-linear min(1, r * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, g * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, b * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / alpha) srgb-linear calc(r + (1 - r) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(g + (1 - g) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(b + (1 - b) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) / 1));

  --dl-warning-under: color-mix(in srgb-linear, color(from var(--warning-soft) srgb-linear calc(0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1)) 0 0), var(--dl-surfaces-y));
  --dl-warning-text:  color-mix(in srgb-linear, color(from var(--dl-warning-base) srgb-linear clamp(0, r, 1) clamp(0, g, 1) clamp(0, b, 1) / 1), light-dark(color(from var(--dl-warning-under) srgb-linear 0 0 0 / calc(clamp(0, 3 * ((min(2 * r, 4 * g, 4 * b) + 0.05) / (4.5 + 0.1) - 0.05), 1))), color(from var(--dl-warning-under) srgb-linear 0 0 0 / calc(clamp(0, (4.5 + 0.1) * (max(2 * r, 4 * g, 4 * b) + 0.05) - 0.05, 1)))));
  --dl-warning-line:  color-mix(in srgb-linear, color(from var(--warning) srgb-linear clamp(0, r, 1) clamp(0, g, 1) clamp(0, b, 1) / 1), light-dark(color(from var(--dl-warning-under) srgb-linear 0 0 0 / calc(clamp(0, 3 * ((min(2 * r, 4 * g, 4 * b) + 0.05) / (3 + 0.1) - 0.05), 1))), color(from var(--dl-warning-under) srgb-linear 0 0 0 / calc(clamp(0, (3 + 0.1) * (max(2 * r, 4 * g, 4 * b) + 0.05) - 0.05, 1)))));
  --warning-solid:    var(--dl-warning);
  --warning-on-solid: color(from var(--dl-warning) srgb-linear calc(clamp(0, (clamp(0.175, var(--white-text-until), 0.18333) - (0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))) * 1000000, 1)) calc(clamp(0, (clamp(0.175, var(--white-text-until), 0.18333) - (0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))) * 1000000, 1)) calc(clamp(0, (clamp(0.175, var(--white-text-until), 0.18333) - (0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))) * 1000000, 1)) / 1);
  --warning-soft:     oklab(from color-mix(in oklab, light-dark(oklab(from var(--dl-warning) max(l, 0.7) a b), oklab(from var(--dl-warning) min(l, 0.6) a b)) var(--tint-strength), var(--dl-paper-grey)) l calc(a * var(--tint-vividness)) calc(b * var(--tint-vividness)));
  --warning-on-soft:  light-dark(color(from var(--dl-warning-text) srgb-linear calc(r * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(g * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(b * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / 1), color(from color(from var(--dl-warning-text) srgb-linear min(1, r * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, g * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, b * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / alpha) srgb-linear calc(r + (1 - r) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(g + (1 - g) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(b + (1 - b) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) / 1));
  --warning-line:     light-dark(color(from var(--dl-warning-line) srgb-linear calc(r * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(g * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(b * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / 1), color(from color(from var(--dl-warning-line) srgb-linear min(1, r * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, g * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, b * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / alpha) srgb-linear calc(r + (1 - r) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(g + (1 - g) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(b + (1 - b) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) / 1));

  --dl-danger-under: color-mix(in srgb-linear, color(from var(--danger-soft) srgb-linear calc(0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1)) 0 0), var(--dl-surfaces-y));
  --dl-danger-text:  color-mix(in srgb-linear, color(from var(--dl-danger-base) srgb-linear clamp(0, r, 1) clamp(0, g, 1) clamp(0, b, 1) / 1), light-dark(color(from var(--dl-danger-under) srgb-linear 0 0 0 / calc(clamp(0, 3 * ((min(2 * r, 4 * g, 4 * b) + 0.05) / (4.5 + 0.1) - 0.05), 1))), color(from var(--dl-danger-under) srgb-linear 0 0 0 / calc(clamp(0, (4.5 + 0.1) * (max(2 * r, 4 * g, 4 * b) + 0.05) - 0.05, 1)))));
  --dl-danger-line:  color-mix(in srgb-linear, color(from var(--danger) srgb-linear clamp(0, r, 1) clamp(0, g, 1) clamp(0, b, 1) / 1), light-dark(color(from var(--dl-danger-under) srgb-linear 0 0 0 / calc(clamp(0, 3 * ((min(2 * r, 4 * g, 4 * b) + 0.05) / (3 + 0.1) - 0.05), 1))), color(from var(--dl-danger-under) srgb-linear 0 0 0 / calc(clamp(0, (3 + 0.1) * (max(2 * r, 4 * g, 4 * b) + 0.05) - 0.05, 1)))));
  --danger-solid:    var(--dl-danger);
  --danger-on-solid: color(from var(--dl-danger) srgb-linear calc(clamp(0, (clamp(0.175, var(--white-text-until), 0.18333) - (0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))) * 1000000, 1)) calc(clamp(0, (clamp(0.175, var(--white-text-until), 0.18333) - (0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))) * 1000000, 1)) calc(clamp(0, (clamp(0.175, var(--white-text-until), 0.18333) - (0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))) * 1000000, 1)) / 1);
  --danger-soft:     oklab(from color-mix(in oklab, light-dark(oklab(from var(--dl-danger) max(l, 0.7) a b), oklab(from var(--dl-danger) min(l, 0.6) a b)) var(--tint-strength), var(--dl-paper-grey)) l calc(a * var(--tint-vividness)) calc(b * var(--tint-vividness)));
  --danger-on-soft:  light-dark(color(from var(--dl-danger-text) srgb-linear calc(r * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(g * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(b * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / 1), color(from color(from var(--dl-danger-text) srgb-linear min(1, r * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, g * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, b * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / alpha) srgb-linear calc(r + (1 - r) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(g + (1 - g) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(b + (1 - b) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) / 1));
  --danger-line:     light-dark(color(from var(--dl-danger-line) srgb-linear calc(r * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(g * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(b * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / 1), color(from color(from var(--dl-danger-line) srgb-linear min(1, r * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, g * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, b * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / alpha) srgb-linear calc(r + (1 - r) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(g + (1 - g) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(b + (1 - b) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) / 1));

  --dl-info-under: color-mix(in srgb-linear, color(from var(--info-soft) srgb-linear calc(0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1)) 0 0), var(--dl-surfaces-y));
  --dl-info-text:  color-mix(in srgb-linear, color(from var(--dl-info-base) srgb-linear clamp(0, r, 1) clamp(0, g, 1) clamp(0, b, 1) / 1), light-dark(color(from var(--dl-info-under) srgb-linear 0 0 0 / calc(clamp(0, 3 * ((min(2 * r, 4 * g, 4 * b) + 0.05) / (4.5 + 0.1) - 0.05), 1))), color(from var(--dl-info-under) srgb-linear 0 0 0 / calc(clamp(0, (4.5 + 0.1) * (max(2 * r, 4 * g, 4 * b) + 0.05) - 0.05, 1)))));
  --dl-info-line:  color-mix(in srgb-linear, color(from var(--info) srgb-linear clamp(0, r, 1) clamp(0, g, 1) clamp(0, b, 1) / 1), light-dark(color(from var(--dl-info-under) srgb-linear 0 0 0 / calc(clamp(0, 3 * ((min(2 * r, 4 * g, 4 * b) + 0.05) / (3 + 0.1) - 0.05), 1))), color(from var(--dl-info-under) srgb-linear 0 0 0 / calc(clamp(0, (3 + 0.1) * (max(2 * r, 4 * g, 4 * b) + 0.05) - 0.05, 1)))));
  --info-solid:    var(--dl-info);
  --info-on-solid: color(from var(--dl-info) srgb-linear calc(clamp(0, (clamp(0.175, var(--white-text-until), 0.18333) - (0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))) * 1000000, 1)) calc(clamp(0, (clamp(0.175, var(--white-text-until), 0.18333) - (0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))) * 1000000, 1)) calc(clamp(0, (clamp(0.175, var(--white-text-until), 0.18333) - (0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))) * 1000000, 1)) / 1);
  --info-soft:     oklab(from color-mix(in oklab, light-dark(oklab(from var(--dl-info) max(l, 0.7) a b), oklab(from var(--dl-info) min(l, 0.6) a b)) var(--tint-strength), var(--dl-paper-grey)) l calc(a * var(--tint-vividness)) calc(b * var(--tint-vividness)));
  --info-on-soft:  light-dark(color(from var(--dl-info-text) srgb-linear calc(r * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(g * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(b * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / 1), color(from color(from var(--dl-info-text) srgb-linear min(1, r * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, g * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, b * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / alpha) srgb-linear calc(r + (1 - r) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(g + (1 - g) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(b + (1 - b) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) / 1));
  --info-line:     light-dark(color(from var(--dl-info-line) srgb-linear calc(r * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(g * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(b * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / 1), color(from color(from var(--dl-info-line) srgb-linear min(1, r * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, g * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, b * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / alpha) srgb-linear calc(r + (1 - r) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(g + (1 - g) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(b + (1 - b) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) / 1));
  --dl-brand-hover: color-mix(in srgb-linear, color(from light-dark(oklab(from var(--brand-on-soft) calc(l - 0.08) a b), oklab(from var(--brand-on-soft) calc(l + 0.08) a b)) srgb-linear clamp(0, r, 1) clamp(0, g, 1) clamp(0, b, 1) / 1), light-dark(color(from var(--dl-brand-under) srgb-linear 0 0 0 / calc(clamp(0, 3 * ((min(2 * r, 4 * g, 4 * b) + 0.05) / (7 + 0.1) - 0.05), 1))), color(from var(--dl-brand-under) srgb-linear 0 0 0 / calc(clamp(0, (7 + 0.1) * (max(2 * r, 4 * g, 4 * b) + 0.05) - 0.05, 1)))));

  /* ---- Ungrouped: components use these; .is-{group} points them at a group ---- */
  --solid:    var(--brand-solid);
  --on-solid: var(--brand-on-solid);
  --soft:     var(--brand-soft);
  --on-soft:  var(--brand-on-soft);
  --line:     var(--brand-line);

  /* ---- Deprecated: --accent's tokens, renamed --secondary-*. They still work; rename them ---- */
  --accent-solid:    var(--secondary-solid);     /* deprecated: use --secondary-solid */
  --accent-on-solid: var(--secondary-on-solid);  /* deprecated: use --secondary-on-solid */
  --accent-soft:     var(--secondary-soft);      /* deprecated: use --secondary-soft */
  --accent-on-soft:  var(--secondary-on-soft);   /* deprecated: use --secondary-on-soft */
  --accent-line:     var(--secondary-line);      /* deprecated: use --secondary-line */
}
.is-brand     { --solid: var(--brand-solid);     --on-solid: var(--brand-on-solid);     --soft: var(--brand-soft);     --on-soft: var(--brand-on-soft);     --line: var(--brand-line); }
.is-secondary { --solid: var(--secondary-solid); --on-solid: var(--secondary-on-solid); --soft: var(--secondary-soft); --on-soft: var(--secondary-on-soft); --line: var(--secondary-line); }
.is-neutral   { --solid: var(--neutral-solid);   --on-solid: var(--neutral-on-solid);   --soft: var(--neutral-soft);   --on-soft: var(--neutral-on-soft);   --line: var(--neutral-line); }
.is-success   { --solid: var(--success-solid);   --on-solid: var(--success-on-solid);   --soft: var(--success-soft);   --on-soft: var(--success-on-soft);   --line: var(--success-line); }
.is-warning   { --solid: var(--warning-solid);   --on-solid: var(--warning-on-solid);   --soft: var(--warning-soft);   --on-soft: var(--warning-on-soft);   --line: var(--warning-line); }
.is-danger    { --solid: var(--danger-solid);    --on-solid: var(--danger-on-solid);    --soft: var(--danger-soft);    --on-soft: var(--danger-on-soft);    --line: var(--danger-line); }
.is-info      { --solid: var(--info-solid);      --on-solid: var(--info-on-solid);      --soft: var(--info-soft);      --on-soft: var(--info-on-soft);      --line: var(--info-line); }
.is-accent    { --solid: var(--secondary-solid); --on-solid: var(--secondary-on-solid); --soft: var(--secondary-soft); --on-soft: var(--secondary-on-soft); --line: var(--secondary-line); }  /* deprecated: use .is-secondary */
/* A light or dark band: its own scheme, and its own background and text worked out in it */
.is-light { color-scheme: light; background-color: var(--surface); color: var(--text); }
.is-dark  { color-scheme: dark;  background-color: var(--surface); color: var(--text); }
/* ============================================================
   Dials: type and space (dials-scale.css)
   A few dials set every text size and every space size, the way
   Utopia (utopia.fyi) works them out, but the maths runs in the
   browser: change a dial and the whole scale follows. Leading is
   worked out the same way, for whatever size it's used at. This
   file sets no type on any element: only
   dials-base.css does that. Dials live on
   :root (and :host); the derived scale is declared on :root,
   [data-dials] and :host, so a dial set on a [data-dials] element
   re-derives the sizes inside it.
   ============================================================ */
:root, :host {
  /* ---- Dials ---- */
  --screen-min: 360;       /* the screen widths the scale runs between, in px */
  --screen-max: 1240;
  --size-min: 16;          /* body text at the narrowest and widest screens, in px */
  --size-max: 18;
  --ratio-min: 1.2;        /* each step is this much bigger than the last: 1.2 minor third, */
  --ratio-max: 1.25;       /* 1.25 major third, 1.333 perfect fourth, 1.5 fifth, 1.618 golden */
  --space-min: var(--size-min);  /* --space-s at each end, in px: follows body text */
  --space-max: var(--size-max);  /* size unless you set a number */
  --space-density: 1;      /* scales every space size: 0.8 compact, 1.25 roomy */
  --radius-base: 10;       /* corner radius of cards and fields, in px (a number, not a length) */

  /* Faces: set per site, and load them yourself (each theme file names its Google Fonts link) */
  --font-body: ui-sans-serif, system-ui, sans-serif;  /* body text and controls */
  --font-heading: ui-sans-serif, system-ui, sans-serif;  /* headings */
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;  /* code, kbd, samp, pre */

  /* Border widths: every border and outline uses one of these */
  --border-width-s: 1px;   /* hairlines: cards, fields, tables */
  --border-width-m: 2px;   /* emphasis; outline offsets */
  --border-width-l: 3px;   /* focus rings, quote bars, active tabs */

  /* ---- Leading: one dial for the rhythm of the type ---- */
  /* --leading-body: 1.5;      line height at body size (--size-0), unitless. Every larger size keeps the same gap between lines, so it gets proportionally tighter; the space after paragraphs is one body line */
  /* --font-accent: var(--font-body);  a third face, for ledes, pull quotes or buttons; read it as var(--font-accent, var(--font-body)) */
}

:root, [data-dials], :host {
  /* ---- Internal: worked out from the dials, never edited by hand ---- */
  --dl-screen-range: calc(var(--screen-max) - var(--screen-min));
  --dl-fluid: calc((100vw - var(--screen-min) * 1px) / var(--dl-screen-range) * 16);  /* 0 at the narrowest, 16px at the widest */
  --dl-min-0: calc(var(--size-min) / 16);
  --dl-max-0: calc(var(--size-max) / 16);
  --dl-min--1: calc(var(--dl-min-0) / var(--ratio-min));
  --dl-max--1: calc(var(--dl-max-0) / var(--ratio-max));
  --dl-min--2: calc(var(--dl-min--1) / var(--ratio-min));
  --dl-max--2: calc(var(--dl-max--1) / var(--ratio-max));
  --dl-min-1: calc(var(--dl-min-0) * var(--ratio-min));
  --dl-max-1: calc(var(--dl-max-0) * var(--ratio-max));
  --dl-min-2: calc(var(--dl-min-1) * var(--ratio-min));
  --dl-max-2: calc(var(--dl-max-1) * var(--ratio-max));
  --dl-min-3: calc(var(--dl-min-2) * var(--ratio-min));
  --dl-max-3: calc(var(--dl-max-2) * var(--ratio-max));
  --dl-min-4: calc(var(--dl-min-3) * var(--ratio-min));
  --dl-max-4: calc(var(--dl-max-3) * var(--ratio-max));
  --dl-min-5: calc(var(--dl-min-4) * var(--ratio-min));
  --dl-max-5: calc(var(--dl-max-4) * var(--ratio-max));
  --dl-min-6: calc(var(--dl-min-5) * var(--ratio-min));
  --dl-max-6: calc(var(--dl-max-5) * var(--ratio-max));
  --dl-min-7: calc(var(--dl-min-6) * var(--ratio-min));
  --dl-max-7: calc(var(--dl-max-6) * var(--ratio-max));
  --dl-min-8: calc(var(--dl-min-7) * var(--ratio-min));
  --dl-max-8: calc(var(--dl-max-7) * var(--ratio-max));

  /* ---- Font sizes: --size-0 is body text; each number up or down is one step of the ratio,
     running in a straight line between its two ends ---- */
  --size--2: clamp(min(var(--dl-min--2), var(--dl-max--2)) * 1rem, var(--dl-min--2) * 1rem + (var(--dl-max--2) - var(--dl-min--2)) * var(--dl-fluid), max(var(--dl-min--2), var(--dl-max--2)) * 1rem);
  --size--1: clamp(min(var(--dl-min--1), var(--dl-max--1)) * 1rem, var(--dl-min--1) * 1rem + (var(--dl-max--1) - var(--dl-min--1)) * var(--dl-fluid), max(var(--dl-min--1), var(--dl-max--1)) * 1rem);
  --size-0: clamp(min(var(--dl-min-0), var(--dl-max-0)) * 1rem, var(--dl-min-0) * 1rem + (var(--dl-max-0) - var(--dl-min-0)) * var(--dl-fluid), max(var(--dl-min-0), var(--dl-max-0)) * 1rem);
  --size-1: clamp(min(var(--dl-min-1), var(--dl-max-1)) * 1rem, var(--dl-min-1) * 1rem + (var(--dl-max-1) - var(--dl-min-1)) * var(--dl-fluid), max(var(--dl-min-1), var(--dl-max-1)) * 1rem);
  --size-2: clamp(min(var(--dl-min-2), var(--dl-max-2)) * 1rem, var(--dl-min-2) * 1rem + (var(--dl-max-2) - var(--dl-min-2)) * var(--dl-fluid), max(var(--dl-min-2), var(--dl-max-2)) * 1rem);
  --size-3: clamp(min(var(--dl-min-3), var(--dl-max-3)) * 1rem, var(--dl-min-3) * 1rem + (var(--dl-max-3) - var(--dl-min-3)) * var(--dl-fluid), max(var(--dl-min-3), var(--dl-max-3)) * 1rem);
  --size-4: clamp(min(var(--dl-min-4), var(--dl-max-4)) * 1rem, var(--dl-min-4) * 1rem + (var(--dl-max-4) - var(--dl-min-4)) * var(--dl-fluid), max(var(--dl-min-4), var(--dl-max-4)) * 1rem);
  --size-5: clamp(min(var(--dl-min-5), var(--dl-max-5)) * 1rem, var(--dl-min-5) * 1rem + (var(--dl-max-5) - var(--dl-min-5)) * var(--dl-fluid), max(var(--dl-min-5), var(--dl-max-5)) * 1rem);
  --size-6: clamp(min(var(--dl-min-6), var(--dl-max-6)) * 1rem, var(--dl-min-6) * 1rem + (var(--dl-max-6) - var(--dl-min-6)) * var(--dl-fluid), max(var(--dl-min-6), var(--dl-max-6)) * 1rem);
  --size-7: clamp(min(var(--dl-min-7), var(--dl-max-7)) * 1rem, var(--dl-min-7) * 1rem + (var(--dl-max-7) - var(--dl-min-7)) * var(--dl-fluid), max(var(--dl-min-7), var(--dl-max-7)) * 1rem);  /* display type */
  --size-8: clamp(min(var(--dl-min-8), var(--dl-max-8)) * 1rem, var(--dl-min-8) * 1rem + (var(--dl-max-8) - var(--dl-min-8)) * var(--dl-fluid), max(var(--dl-min-8), var(--dl-max-8)) * 1rem);  /* display type: the top of the scale */

  /* ---- Leading: worked out for the size of the element it's used on ---- */
  /* --leading is a length: apply it on each element that sets a font size (dials-base.css applies it to every
     element), never on a wrapper for its children to inherit, where it would pass on one fixed length. */
  --dl-leading-body: var(--leading-body, 1.5);
  /* the body's gap between lines at every larger size (1em + the body gap), so bigger text gets proportionally
     tighter lines; smaller text keeps the body ratio; no size goes below 1.05 */
  --leading: max(1.05em, min(var(--dl-leading-body) * 1em, 1em + (var(--dl-leading-body) - 1) * var(--size-0)));  /* line height for the size it's on: the same gap between lines as body text at every larger size */
  --space-paragraph: calc(var(--dl-leading-body) * var(--size-0));  /* one body line: the space after paragraphs and other blocks; headings take two above and half below */

  /* ---- Space: multiples of the space base (Utopia's t-shirt sizes), times the density ---- */
  --dl-space-min: calc(var(--space-min) / 16 * var(--space-density));
  --dl-space-max: calc(var(--space-max) / 16 * var(--space-density));
  --space-3xs: clamp(calc(var(--dl-space-min) * 0.25rem), calc(var(--dl-space-min) * 0.25rem + (var(--dl-space-max) * 0.25 - var(--dl-space-min) * 0.25) * var(--dl-fluid)), calc(var(--dl-space-max) * 0.25rem));
  --space-2xs: clamp(calc(var(--dl-space-min) * 0.5rem), calc(var(--dl-space-min) * 0.5rem + (var(--dl-space-max) * 0.5 - var(--dl-space-min) * 0.5) * var(--dl-fluid)), calc(var(--dl-space-max) * 0.5rem));
  --space-xs: clamp(calc(var(--dl-space-min) * 0.75rem), calc(var(--dl-space-min) * 0.75rem + (var(--dl-space-max) * 0.75 - var(--dl-space-min) * 0.75) * var(--dl-fluid)), calc(var(--dl-space-max) * 0.75rem));
  --space-s: clamp(calc(var(--dl-space-min) * 1rem), calc(var(--dl-space-min) * 1rem + (var(--dl-space-max) * 1 - var(--dl-space-min) * 1) * var(--dl-fluid)), calc(var(--dl-space-max) * 1rem));
  --space-m: clamp(calc(var(--dl-space-min) * 1.5rem), calc(var(--dl-space-min) * 1.5rem + (var(--dl-space-max) * 1.5 - var(--dl-space-min) * 1.5) * var(--dl-fluid)), calc(var(--dl-space-max) * 1.5rem));
  --space-l: clamp(calc(var(--dl-space-min) * 2rem), calc(var(--dl-space-min) * 2rem + (var(--dl-space-max) * 2 - var(--dl-space-min) * 2) * var(--dl-fluid)), calc(var(--dl-space-max) * 2rem));
  --space-xl: clamp(calc(var(--dl-space-min) * 3rem), calc(var(--dl-space-min) * 3rem + (var(--dl-space-max) * 3 - var(--dl-space-min) * 3) * var(--dl-fluid)), calc(var(--dl-space-max) * 3rem));
  --space-2xl: clamp(calc(var(--dl-space-min) * 4rem), calc(var(--dl-space-min) * 4rem + (var(--dl-space-max) * 4 - var(--dl-space-min) * 4) * var(--dl-fluid)), calc(var(--dl-space-max) * 4rem));
  --space-3xl: clamp(calc(var(--dl-space-min) * 6rem), calc(var(--dl-space-min) * 6rem + (var(--dl-space-max) * 6 - var(--dl-space-min) * 6) * var(--dl-fluid)), calc(var(--dl-space-max) * 6rem));
  --space-4xl: clamp(calc(var(--dl-space-min) * 8rem), calc(var(--dl-space-min) * 8rem + (var(--dl-space-max) * 8 - var(--dl-space-min) * 8) * var(--dl-fluid)), calc(var(--dl-space-max) * 8rem));
  /* One-up pairs: small on phones, the next size up on desktops */
  --space-3xs-2xs: clamp(calc(var(--dl-space-min) * 0.25rem), calc(var(--dl-space-min) * 0.25rem + (var(--dl-space-max) * 0.5 - var(--dl-space-min) * 0.25) * var(--dl-fluid)), calc(var(--dl-space-max) * 0.5rem));
  --space-2xs-xs: clamp(calc(var(--dl-space-min) * 0.5rem), calc(var(--dl-space-min) * 0.5rem + (var(--dl-space-max) * 0.75 - var(--dl-space-min) * 0.5) * var(--dl-fluid)), calc(var(--dl-space-max) * 0.75rem));
  --space-xs-s: clamp(calc(var(--dl-space-min) * 0.75rem), calc(var(--dl-space-min) * 0.75rem + (var(--dl-space-max) * 1 - var(--dl-space-min) * 0.75) * var(--dl-fluid)), calc(var(--dl-space-max) * 1rem));
  --space-s-m: clamp(calc(var(--dl-space-min) * 1rem), calc(var(--dl-space-min) * 1rem + (var(--dl-space-max) * 1.5 - var(--dl-space-min) * 1) * var(--dl-fluid)), calc(var(--dl-space-max) * 1.5rem));
  --space-m-l: clamp(calc(var(--dl-space-min) * 1.5rem), calc(var(--dl-space-min) * 1.5rem + (var(--dl-space-max) * 2 - var(--dl-space-min) * 1.5) * var(--dl-fluid)), calc(var(--dl-space-max) * 2rem));
  --space-l-xl: clamp(calc(var(--dl-space-min) * 2rem), calc(var(--dl-space-min) * 2rem + (var(--dl-space-max) * 3 - var(--dl-space-min) * 2) * var(--dl-fluid)), calc(var(--dl-space-max) * 3rem));
  --space-xl-2xl: clamp(calc(var(--dl-space-min) * 3rem), calc(var(--dl-space-min) * 3rem + (var(--dl-space-max) * 4 - var(--dl-space-min) * 3) * var(--dl-fluid)), calc(var(--dl-space-max) * 4rem));
  --space-2xl-3xl: clamp(calc(var(--dl-space-min) * 4rem), calc(var(--dl-space-min) * 4rem + (var(--dl-space-max) * 6 - var(--dl-space-min) * 4) * var(--dl-fluid)), calc(var(--dl-space-max) * 6rem));
  --space-3xl-4xl: clamp(calc(var(--dl-space-min) * 6rem), calc(var(--dl-space-min) * 6rem + (var(--dl-space-max) * 8 - var(--dl-space-min) * 6) * var(--dl-fluid)), calc(var(--dl-space-max) * 8rem));
  /* Skip pairs, for gutters and section padding that need a bigger swing */
  --space-s-l: clamp(calc(var(--dl-space-min) * 1rem), calc(var(--dl-space-min) * 1rem + (var(--dl-space-max) * 2 - var(--dl-space-min) * 1) * var(--dl-fluid)), calc(var(--dl-space-max) * 2rem));
  --space-m-xl: clamp(calc(var(--dl-space-min) * 1.5rem), calc(var(--dl-space-min) * 1.5rem + (var(--dl-space-max) * 3 - var(--dl-space-min) * 1.5) * var(--dl-fluid)), calc(var(--dl-space-max) * 3rem));
  --space-l-2xl: clamp(calc(var(--dl-space-min) * 2rem), calc(var(--dl-space-min) * 2rem + (var(--dl-space-max) * 4 - var(--dl-space-min) * 2) * var(--dl-fluid)), calc(var(--dl-space-max) * 4rem));

  /* ---- Corners ---- */
  --radius-s: calc(var(--radius-base) * 0.5px);
  --radius-m: calc(var(--radius-base) * 1px);
  --radius-l: calc(var(--radius-base) * 1.6px);
  --radius-pill: 999px;
}
/* ============================================================
   Dials: the fallback (src/fallback.css, built into the end of dials.css)
   For browsers with color-mix() but without relative colour or
   light-dark(): Chrome and Edge 111-122, Safari 16.2-17, Firefox
   113-127. They can't work out the derived chain above, so this
   block works every public colour token out again from the same
   dials, with color-mix() alone. It comes after the chain and uses
   the same selectors, so it wins there; a site's own file, loaded
   after dials.css, still wins over it. It never sets a dial.
   Approximations, held to the same contrast as the chain (the
   contrast check's --fallback mode):
   - The page is light. .is-dark bands are dark, .is-light bands light.
   - Paper and ink come from --grey at fixed mixes, so the four
     lightness dials, --balance, --dark-lift, --tint-vividness and
     --text-contrast have no effect. --paper-light and friends do.
   - on-solid text can't follow the fill's luminance: each group has a
     fixed choice, and its fill is pulled a fixed amount towards the
     other end so the text keeps 4.5:1 in every Dials theme. White on
     brand, secondary, danger and info, whose fills are darkened; black
     on success, whose fill is lightened, and warning, as set.
   - Coloured text and lines can't move only as far as their target
     needs: on-soft is the dial mixed a fixed amount into ink (so --link
     and --focus too), line a smaller amount, and --link-hover further
     still. The amounts hold 4.5:1 and 3:1 on every surface and soft
     tint, for every theme and for extreme dials, so they over-shoot for
     most colours. Ink is near-black on a light page and near-white in an
     .is-dark band, so the same mix works in both.
   - No calc() and no percentages computed inside color-mix(): only
     literal percentages and dials that are one (--tint-strength).
   ============================================================ */
@supports not ((color: oklch(from red l c h)) and (color: light-dark(red, red))) {
  /* ---- Internal: the scheme switches, literal percentages a band can flip ---- */
  :root, :host, .is-light {
    color-scheme: light;
    --dl-fb-dark: 0%;     /* how much of the dark paper and ink to use */
    --dl-fb-raise: 38%;   /* how much white lifts --surface-raised */
    --dl-fb-shadow: 10%;  /* the strength of shadows */
  }
  .is-dark {
    color-scheme: dark;
    --dl-fb-dark: 100%;
    --dl-fb-raise: 4%;
    --dl-fb-shadow: 45%;
  }

  /* Bands are declared here too, so every token is worked out again in a band's own scheme */
  :root, [data-dials], :host, .is-light, .is-dark {
    /* ---- Internal: paper, ink and the six fills ---- */
    --dl-paper-light: var(--paper-light, color-mix(in oklab, var(--grey) 20%, white));
    --dl-paper-dark:  var(--paper-dark,  color-mix(in oklab, var(--grey) 30%, black));
    --dl-ink-light:   var(--ink-light,   color-mix(in oklab, var(--grey) 34%, black));
    --dl-ink-dark:    var(--ink-dark,    color-mix(in oklab, var(--grey) 17%, white));
    --dl-paper: color-mix(in oklab, var(--dl-paper-dark) var(--dl-fb-dark), var(--dl-paper-light));
    --dl-ink:   color-mix(in oklab, var(--dl-ink-dark) var(--dl-fb-dark), var(--dl-ink-light));
    --dl-brand:   color-mix(in oklab, var(--brand) 72%, black);
    --dl-secondary: color-mix(in oklab, var(--accent, var(--secondary)) 67%, black);
    --dl-success: color-mix(in oklab, var(--success) 85%, white);
    --dl-warning: var(--warning);
    --dl-danger:  color-mix(in oklab, var(--danger) 78%, black);
    --dl-info:    color-mix(in oklab, var(--info) 61%, black);

    /* ---- Surfaces ---- */
    --surface:         var(--dl-paper);
    --surface-raised:  color-mix(in oklab, white var(--dl-fb-raise), var(--dl-paper));
    --surface-lowered: color-mix(in oklab, var(--dl-ink) 4%, var(--dl-paper));
    --surface-sunken:  color-mix(in oklab, var(--dl-ink) 8%, var(--dl-paper));
    --surface-overlay: color-mix(in oklab, black 45%, transparent);

    /* ---- Text: a step stronger than the chain's defaults, to cover --text-contrast ---- */
    --text-strong:   var(--dl-ink);
    --text:          color-mix(in oklab, var(--dl-ink) 94%, var(--dl-paper));
    --text-muted:    color-mix(in oklab, var(--dl-ink) 89%, var(--dl-paper));
    --text-quiet:    color-mix(in oklab, var(--dl-ink) 86%, var(--dl-paper));
    --text-disabled: color-mix(in oklab, var(--dl-ink) 38%, var(--dl-paper));
    --link:          var(--brand-on-soft);
    --link-hover:    color-mix(in oklab, var(--brand) 20%, var(--dl-ink));

    /* ---- Lines and effects ---- */
    --border-quiet:  color-mix(in oklab, var(--dl-ink) 7%, var(--dl-paper));
    --border:        color-mix(in oklab, var(--dl-ink) 13%, var(--dl-paper));
    --border-strong: color-mix(in oklab, var(--dl-ink) 64%, var(--dl-paper));
    --focus:         var(--brand-on-soft);
    --selection:     color-mix(in oklab, var(--brand) 22%, var(--dl-paper));
    --shadow-color:  color-mix(in oklab, black var(--dl-fb-shadow), transparent);
    --shadow-s: 0 1px 3px var(--shadow-color);
    --shadow-m: 0 4px 14px var(--shadow-color);
    --shadow-l: 0 12px 32px var(--shadow-color);
    --mix-hover:  black 12%;
    --mix-active: black 22%;

    /* ---- Groups: soft mixed into paper, on-soft and line mixed towards ink ---- */
    --brand-solid:    var(--dl-brand);
    --brand-on-solid: white;
    --brand-soft:     color-mix(in oklab, var(--brand) var(--tint-strength), var(--dl-paper));
    --brand-on-soft:  color-mix(in oklab, var(--brand) 26%, var(--dl-ink));
    --brand-line:     color-mix(in oklab, var(--brand) 40%, var(--dl-ink));

    --secondary-solid:    var(--dl-secondary);
    --secondary-on-solid: white;
    --secondary-soft:     color-mix(in oklab, var(--accent, var(--secondary)) var(--tint-strength), var(--dl-paper));
    --secondary-on-soft:  color-mix(in oklab, var(--accent, var(--secondary)) 26%, var(--dl-ink));
    --secondary-line:     color-mix(in oklab, var(--accent, var(--secondary)) 40%, var(--dl-ink));

    --neutral-solid:    var(--dl-ink);
    --neutral-on-solid: var(--dl-paper);
    --neutral-soft:     var(--surface-lowered);
    --neutral-on-soft:  var(--text);
    --neutral-line:     var(--border);

    --success-solid:    var(--dl-success);
    --success-on-solid: black;
    --success-soft:     color-mix(in oklab, var(--success) var(--tint-strength), var(--dl-paper));
    --success-on-soft:  color-mix(in oklab, var(--success) 26%, var(--dl-ink));
    --success-line:     color-mix(in oklab, var(--success) 40%, var(--dl-ink));

    --warning-solid:    var(--dl-warning);
    --warning-on-solid: black;
    --warning-soft:     color-mix(in oklab, var(--warning) var(--tint-strength), var(--dl-paper));
    --warning-on-soft:  color-mix(in oklab, var(--warning) 26%, var(--dl-ink));
    --warning-line:     color-mix(in oklab, var(--warning) 40%, var(--dl-ink));

    --danger-solid:    var(--dl-danger);
    --danger-on-solid: white;
    --danger-soft:     color-mix(in oklab, var(--danger) var(--tint-strength), var(--dl-paper));
    --danger-on-soft:  color-mix(in oklab, var(--danger) 26%, var(--dl-ink));
    --danger-line:     color-mix(in oklab, var(--danger) 40%, var(--dl-ink));

    --info-solid:    var(--dl-info);
    --info-on-solid: white;
    --info-soft:     color-mix(in oklab, var(--info) var(--tint-strength), var(--dl-paper));
    --info-on-soft:  color-mix(in oklab, var(--info) 26%, var(--dl-ink));
    --info-line:     color-mix(in oklab, var(--info) 40%, var(--dl-ink));

    /* ---- Ungrouped ---- */
    --solid:    var(--brand-solid);
    --on-solid: var(--brand-on-solid);
    --soft:     var(--brand-soft);
    --on-soft:  var(--brand-on-soft);
    --line:     var(--brand-line);

    /* ---- Deprecated: the old names for the secondary group ---- */
    --accent-solid:    var(--secondary-solid);
    --accent-on-solid: var(--secondary-on-solid);
    --accent-soft:     var(--secondary-soft);
    --accent-on-soft:  var(--secondary-on-soft);
    --accent-line:     var(--secondary-line);
  }
  /* the group classes again, so they still win on a [data-dials] element or a band */
  .is-brand     { --solid: var(--brand-solid);     --on-solid: var(--brand-on-solid);     --soft: var(--brand-soft);     --on-soft: var(--brand-on-soft);     --line: var(--brand-line); }
  .is-secondary { --solid: var(--secondary-solid); --on-solid: var(--secondary-on-solid); --soft: var(--secondary-soft); --on-soft: var(--secondary-on-soft); --line: var(--secondary-line); }
  .is-neutral   { --solid: var(--neutral-solid);   --on-solid: var(--neutral-on-solid);   --soft: var(--neutral-soft);   --on-soft: var(--neutral-on-soft);   --line: var(--neutral-line); }
  .is-success   { --solid: var(--success-solid);   --on-solid: var(--success-on-solid);   --soft: var(--success-soft);   --on-soft: var(--success-on-soft);   --line: var(--success-line); }
  .is-warning   { --solid: var(--warning-solid);   --on-solid: var(--warning-on-solid);   --soft: var(--warning-soft);   --on-soft: var(--warning-on-soft);   --line: var(--warning-line); }
  .is-danger    { --solid: var(--danger-solid);    --on-solid: var(--danger-on-solid);    --soft: var(--danger-soft);    --on-soft: var(--danger-on-soft);    --line: var(--danger-line); }
  .is-info      { --solid: var(--info-solid);      --on-solid: var(--info-on-solid);      --soft: var(--info-soft);      --on-soft: var(--info-on-soft);      --line: var(--info-line); }
  .is-accent    { --solid: var(--secondary-solid); --on-solid: var(--secondary-on-solid); --soft: var(--secondary-soft); --on-soft: var(--secondary-on-soft); --line: var(--secondary-line); }
}
/* Generated by tools/fallback.mjs from dials.css (src/colour.css 192f968f0b78d4df): the defaults in
   the light scheme. Don't edit. The last resort, for browsers without color-mix() (Chrome and Edge
   before 111, Safari before 16.2, Firefox before 113, all 2022 or older): they can't work anything
   out, so every colour token is flat and they get the house colours, light only. Colour dials have no
   effect there; type and space work as normal. */
@supports not (color: color-mix(in srgb, red, blue)) {
  :root, [data-dials], :host, .is-light, .is-dark {
    color-scheme: light;
    --surface: #f9fafc;
    --surface-raised: #feffff;
    --surface-lowered: #eef0f2;
    --surface-sunken: #e4e5e7;
    --surface-overlay: rgb(0 0 0 / 45%);
    --text-strong: #151619;
    --text: #2f3033;
    --text-muted: #505154;
    --text-quiet: #5d5e61;
    --text-disabled: #999a9d;
    --link: #2362e9;
    --link-hover: #0743c2;
    --border-quiet: #e7e8ea;
    --border: #d7d8db;
    --border-strong: #86878a;
    --focus: #2362e9;
    --selection: #c9dbfc;
    --shadow-color: rgb(0 0 0 / 10%);
    --shadow-s: 0 1px 3px rgb(0 0 0 / 10%);
    --shadow-m: 0 4px 14px rgb(0 0 0 / 10%);
    --shadow-l: 0 12px 32px rgb(0 0 0 / 10%);
    --mix-hover: black 12%;
    --mix-active: black 22%;
    --brand-solid: #2463eb;
    --brand-on-solid: #ffffff;
    --brand-soft: #e9f1ff;
    --brand-on-soft: #2362e9;
    --brand-line: #2463eb;
    --secondary-solid: #7c51c8;
    --secondary-on-solid: #ffffff;
    --secondary-soft: #f1eefc;
    --secondary-on-soft: #7c51c8;
    --secondary-line: #7c51c8;
    --neutral-solid: #151619;
    --neutral-on-solid: #f9fafc;
    --neutral-soft: #eef0f2;
    --neutral-on-soft: #2f3033;
    --neutral-line: #d7d8db;
    --success-solid: #239f50;
    --success-on-solid: #000000;
    --success-soft: #eaf4eb;
    --success-on-soft: #197c3d;
    --success-line: #229c4f;
    --warning-solid: #f59f0a;
    --warning-on-solid: #000000;
    --warning-soft: #faf1e7;
    --warning-on-soft: #976003;
    --warning-line: #bd7906;
    --danger-solid: #dc2828;
    --danger-on-solid: #ffffff;
    --danger-soft: #ffece9;
    --danger-on-soft: #d02525;
    --danger-line: #dc2828;
    --info-solid: #0c8eca;
    --info-on-solid: #000000;
    --info-soft: #e9f2f9;
    --info-on-soft: #0773a4;
    --info-line: #0c8eca;
    --accent-solid: #7c51c8;
    --accent-on-solid: #ffffff;
    --accent-soft: #f1eefc;
    --accent-on-soft: #7c51c8;
    --accent-line: #7c51c8;
  }
}
/* ═══ dials:end (Dials) ═════════════════════════════════════════════════ */

/* ═══ This site's dials ═════════════════════════════════════════════════
 * The ONLY place a colour or a scale value is typed. Brentwood Park Family
 * Practice, from the Claude Design project's "Olive grove" palette: a
 * terracotta brand, an olive-dark band, warm paper and a gold that is used
 * only on the olive. Type is Raleway (headings, 800) over Atkinson
 * Hyperlegible (body, 19px at desktop), measured from the design at 1440.
 * ═══════════════════════════════════════════════════════════════════════ */
:root {
    /* Light only, at the practice's request: the page never follows a dark
     * device setting, and there is no switcher. The olive bands are .is-dark
     * bands, worked out from --paper-dark and --ink-dark below. */
    color-scheme: light;

    /* Colour dials. Each is a group with five roles: --brand-solid,
     * --brand-on-solid, --brand-soft, --brand-on-soft and --brand-line. */
    --brand: #9A4E31;               /* terracotta: links, focus, primary buttons, the highlights band */
    --secondary: #6E7F45;           /* olive: the logo tree's leaves and the plant drawings */
    --tertiary: #DCCB7E;            /* gold: eyebrows and icons on the olive bands, and the sand tint */
    --tertiary-is-light: 100%;      /* the gold is light: dark text on it where a browser can't choose */
    --success: hsl(126 46% 33%);
    --warning: hsl(37 74% 54%);
    --danger: hsl(3 56% 48%);
    --info: hsl(202 64% 41%);
    --grey: hsl(45 20% 50%);        /* a warm grey: the tint in the derived neutrals */

    /* Paper and ink, exact: the design's background and text, and its olive
     * band (#3C3B2C) with cream text for the .is-dark bands. */
    --paper-light: #FAF8F1;
    --ink-light: #463E3D;
    --paper-dark: #3C3B2C;
    --ink-dark: #FAF8F1;

    /* The olive bands are the only "dark" here: lift the terracotta a little
     * on them (Dials' default), not the template's 0.13. */
    --dark-lift: 0.06;
    --tint-strength: 8%;
    /* The design's ink (#463E3D) is a soft brown, so muted and quiet text and
     * control borders need strengthening to keep 4.5:1 and 3:1 on the paper. */
    --text-contrast: 16;

    /* Type and space: body text 18px on a 320px phone to 19px at 1400px; each
     * step 1.12x (phone) to 1.21x (desktop) the last. At desktop that puts
     * the 86px homepage hero on --size-8 (87px), the 80px page titles on
     * --size-7 (72px), the 58-62px headings on --size-6 (60px), the 48-54px
     * section headings on --size-5 (49px), 40px on --size-4, 34px on
     * --size-3, the 20-24px card titles on --size-1 (23px) and the 15px
     * eyebrows on --size--1. On a phone the hero is 40px and section
     * headings 32px.
     * --space-s 16px to 20px: the design's 20/30/40/60/80px rhythm. */
    --screen-min: 320;
    --screen-max: 1400;
    --size-min: 18;
    --size-max: 19;
    --ratio-min: 1.12;
    --ratio-max: 1.21;
    --space-min: 16;
    --space-max: 20;
    --space-density: 1;

    /* Line height at body size: the design's 1.65 (Atkinson is open and
     * reads best with room). */
    --leading-body: 1.65;
    /* The site's own: Raleway display headings are set tight in the design
     * (0.98 to 1.06), tighter than Dials' leading works out for them. */
    --leading-heading: 1.06;

    /* Corners: --radius-s 6px (buttons and fields), --radius-m 12px (cards) */
    --radius-base: 12;
    --border-width-l: 4px;

    /* Faces, self-hosted below */
    --font-body: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-heading: 'Raleway', 'Atkinson Hyperlegible', system-ui, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ── The colour scheme ────────────────────────────────────────────────────
 * Light only (color-scheme: light in the dials block above): the switcher
 * and partials/scheme-head.html have been removed, so no visitor is offered
 * a choice the site does not honour. A dark section is still an .is-dark
 * band, worked out from --paper-dark and --ink-dark. */

/* ── The tertiary group ───────────────────────────────────────────────────
 * A third brand colour, typically doing button and CTA work, that is neither
 * a tint of the brand nor a status colour (practices routinely have one:
 * "Button Brown", "Morning Orange"). Dials has no third brand group, so the
 * template adds one with the same five roles, worked out the way Dials v0.2.0
 * works out its own groups (each formula is Dials' brand formula with the
 * tertiary colour in it), from public tokens only. Set --tertiary above;
 * never set these. class="is-tertiary" points --solid and friends at it,
 * like .is-secondary. Declared on bands too, so a band's group follows the
 * band's own scheme.
 *
 *   --tertiary-on-soft  the fill, moved only as far as 4.5:1 needs on the
 *                       least contrasting of its soft tint, --surface-lowered
 *                       and --surface-raised; a colour that passes is kept
 *   --tertiary-line     the dial, moved only as far as 3:1 needs, the same way
 *
 * Dials carries the numbers those two need in its internal --dl-* plumbing,
 * which nothing outside Dials may read, so the template works the same
 * numbers out again from public tokens in its own --tpl-* properties: the
 * luminance of --surface-lowered and --surface-raised (Dials' --dl-surfaces-y)
 * and of the soft tint, and the colour carrying its target. They are the
 * template's plumbing: never use or set a --tpl-* property anywhere else. */
:root, [data-dials], .is-light, .is-dark {
    --tpl-tertiary-base:  oklab(from var(--tertiary) calc(l + (var(--fill-lightness) - l) * var(--balance)) a b);
    --tertiary-solid:     light-dark(var(--tpl-tertiary-base), oklab(from var(--tpl-tertiary-base) calc(l + var(--dark-lift)) a b));
    --tertiary-on-solid:  color(from var(--tertiary-solid) srgb-linear calc(clamp(0, (clamp(0.175, var(--white-text-until), 0.18333) - (0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))) * 1000000, 1)) calc(clamp(0, (clamp(0.175, var(--white-text-until), 0.18333) - (0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))) * 1000000, 1)) calc(clamp(0, (clamp(0.175, var(--white-text-until), 0.18333) - (0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))) * 1000000, 1)) / 1);
    --tertiary-soft:      oklab(from color-mix(in oklab, light-dark(oklab(from var(--tertiary-solid) max(l, 0.7) a b), oklab(from var(--tertiary-solid) min(l, 0.6) a b)) var(--tint-strength), oklab(from var(--surface) l 0 0)) l calc(a * var(--tint-vividness)) calc(b * var(--tint-vividness)));
    --tpl-surfaces-y:     color-mix(in srgb-linear, color(from var(--surface-lowered) srgb-linear 0 calc(0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1)) 0), color(from var(--surface-raised) srgb-linear 0 0 calc(0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1))));
    --tpl-tertiary-under: color-mix(in srgb-linear, color(from var(--tertiary-soft) srgb-linear calc(0.2126 * clamp(0, r, 1) + 0.7152 * clamp(0, g, 1) + 0.0722 * clamp(0, b, 1)) 0 0), var(--tpl-surfaces-y));
    --tpl-tertiary-text:  color-mix(in srgb-linear, color(from var(--tpl-tertiary-base) srgb-linear clamp(0, r, 1) clamp(0, g, 1) clamp(0, b, 1) / 1), light-dark(color(from var(--tpl-tertiary-under) srgb-linear 0 0 0 / calc(clamp(0, 3 * ((min(2 * r, 4 * g, 4 * b) + 0.05) / (4.5 + 0.1) - 0.05), 1))), color(from var(--tpl-tertiary-under) srgb-linear 0 0 0 / calc(clamp(0, (4.5 + 0.1) * (max(2 * r, 4 * g, 4 * b) + 0.05) - 0.05, 1)))));
    --tpl-tertiary-line:  color-mix(in srgb-linear, color(from var(--tertiary) srgb-linear clamp(0, r, 1) clamp(0, g, 1) clamp(0, b, 1) / 1), light-dark(color(from var(--tpl-tertiary-under) srgb-linear 0 0 0 / calc(clamp(0, 3 * ((min(2 * r, 4 * g, 4 * b) + 0.05) / (3 + 0.1) - 0.05), 1))), color(from var(--tpl-tertiary-under) srgb-linear 0 0 0 / calc(clamp(0, (3 + 0.1) * (max(2 * r, 4 * g, 4 * b) + 0.05) - 0.05, 1)))));
    --tertiary-on-soft:   light-dark(color(from var(--tpl-tertiary-text) srgb-linear calc(r * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(g * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(b * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / 1), color(from color(from var(--tpl-tertiary-text) srgb-linear min(1, r * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, g * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, b * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / alpha) srgb-linear calc(r + (1 - r) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(g + (1 - g) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(b + (1 - b) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) / 1));
    --tertiary-line:      light-dark(color(from var(--tpl-tertiary-line) srgb-linear calc(r * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(g * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) calc(b * 2 * alpha * min(1, (2 * alpha - 1) / 3 / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / 1), color(from color(from var(--tpl-tertiary-line) srgb-linear min(1, r * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, g * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) min(1, b * 2 * alpha * max(1, (2 * alpha - 1) / max(0.000001, 2 * alpha * (0.2126 * r + 0.7152 * g + 0.0722 * b)))) / alpha) srgb-linear calc(r + (1 - r) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(g + (1 - g) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) calc(b + (1 - b) * clamp(0, (2 * alpha - 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) / max(0.000001, 1 - (0.2126 * r + 0.7152 * g + 0.0722 * b)), 1)) / 1));
}
.is-tertiary { --solid: var(--tertiary-solid); --on-solid: var(--tertiary-on-solid); --soft: var(--tertiary-soft); --on-soft: var(--tertiary-on-soft); --line: var(--tertiary-line); }
/* The tertiary group in older browsers: without relative colour or
 * light-dark() (iOS 16 and 17, Safari before 18, Chrome and Edge before 123,
 * Firefox before 128) the derivation above cannot be worked out, and Dials'
 * own fallback covers only Dials' groups. So, the way Dials' fallback does
 * its groups, under the same condition and with the same selectors as the
 * derivation: the five roles again with color-mix(in oklab, ...) alone, from
 * --tertiary and the paper (--surface) and ink (--text-strong) Dials'
 * fallback has already worked out. As in Dials v0.2.0's fallback, on-soft is
 * the colour mixed 26% into ink and the line 40% into ink; neither can move
 * only as far as it needs there, so both over-shoot for most colours.
 *
 * Text on the fill can't follow the fill's luminance there, so, as in Dials'
 * fallback, it is a fixed choice with the fill moved to suit it. Dials fixes
 * the choice per group (white on --brand pulled 72% towards black, black on
 * --warning as set); the tertiary is whatever colour the site gives it, so
 * the site fixes it with --tertiary-is-light in its dials block, a literal
 * percentage like Dials' own fallback switches: 0% (the default) is white on
 * the fill pulled 72% towards black, as Dials does --brand; 100% is black on
 * --tertiary as set, as Dials does --warning. A light --tertiary at 0% gets
 * white on a mid fill below 4.5:1, a dark one at 100% black on a dark fill:
 * check-contrast.mjs --fallback says which a site needs. */
@supports not ((color: oklch(from red l c h)) and (color: light-dark(red, red))) {
    :root, [data-dials], .is-light, .is-dark {
        --tertiary-solid:    color-mix(in oklab, var(--tertiary) var(--tertiary-is-light, 0%), color-mix(in oklab, var(--tertiary) 72%, black));
        --tertiary-on-solid: color-mix(in oklab, black var(--tertiary-is-light, 0%), white);
        --tertiary-soft:     color-mix(in oklab, var(--tertiary) var(--tint-strength), var(--surface));
        --tertiary-on-soft:  color-mix(in oklab, var(--tertiary) 26%, var(--text-strong));
        --tertiary-line:     color-mix(in oklab, var(--tertiary) 40%, var(--text-strong));
    }
}

/* ── The template's own tokens ────────────────────────────────────────────
 * What Dials does not cover: the measure, the grid, the shared control
 * corner, the tap target, layers and motion. None of them is a colour, a text
 * size or a space size. Line height is Dials' --leading; weights and letter
 * spacing are written on the elements that use them, as plain numbers and em
 * (the template's old --leading-*, --tracking-* and --weight-* are in "Old
 * names" below). */
:root {
    /* --- Weight -------------------------------------------------------- */
    /* THREE WEIGHTS, DELIBERATELY: 400 body, 600 emphasis (nav, labels,
     * buttons, eyebrows, strong) and 700 headline. A fourth needs a reason:
     * the face has a visibly distinct cut AND the three are not creating
     * enough contrast. A flat hierarchy is almost always a spacing or size
     * problem, not a weight problem. */

    /* --- Measure ------------------------------------------------------- */
    --measure: 65ch;                 /* body copy, where a container asks for it (.measure) */
    --measure-tight: 45ch;           /* card and caption copy */

    /* --- Grid ---------------------------------------------------------- */
    /* Deliberately minimal: the container and gutter are fluid, placement is
     * left to each layout. Use .u-container and .u-grid below. */
    --grid-max-width: 77.5rem;
    --grid-gutter: var(--space-s-l);
    --grid-columns: 12;

    /* --- Corners beyond Dials' three ----------------------------------- */
    --radius-xs: calc(var(--radius-base) * 0.333px);  /* tags, inline chips, the focus ring: a third of --radius-m, so it follows --radius-base */
    --radius-round: 50%;                   /* avatars */
    --control-radius: var(--radius-s);     /* buttons AND fields: a site sets this once, both follow */

    /* --- Touch targets ------------------------------------------------- */
    /* The smallest box a finger hits reliably: 44px (WCAG 2.5.5, Apple's
     * HIG). A fixed dimension rather than spacing, so it does not scale. */
    --target-min: 2.75rem;

    /* --- Inset shadows, from Dials' --shadow-color ------------------------ */
    --shadow-inner-s: inset 0 1px 2px 0 var(--shadow-color);
    --shadow-inner-m: inset 0 2px 6px 0 var(--shadow-color);

    /* --- Layers -------------------------------------------------------- */
    /* Six values, so z-index is never invented at the call site. */
    --layer-behind: -1;    /* decorative washes sitting behind content */
    --layer-base: 1;
    --layer-raised: 2;      /* hover cards, sticky rows */
    --layer-nav: 3;         /* sticky header */
    --layer-overlay: 4;     /* dropdowns, popovers */
    --layer-modal: 5;       /* dialogs and their backdrop */
    --layer-top: 2147483647;/* skip links, live-region alerts */

    /* --- Motion -------------------------------------------------------- */
    --duration-fast: 120ms;   /* hover, focus */
    --duration-base: 220ms;   /* most transitions */
    --duration-slow: 400ms;   /* entrances */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --reveal-distance: 1.5rem;
}

/* ═══ Old names ═══ aliases:begin ═══════════════════════════════════════
 * The template's token names before Dials (#426), each pointing at the Dials
 * token that replaces it, so markup, the Form controls section and any site
 * layer written against them keep working until #427 migrates the live
 * sites. NEVER use one in new work: use the name on the right. Delete this
 * whole block (down to aliases:end) once nothing reads any of them.
 *
 * Declared on [data-dials] and the .is-light/.is-dark bands as well as
 * :root, so a re-themed scope's or a band's aliases follow its own dials and
 * scheme, as Dials' own tokens do (its fallback works them out again there). Names Dials took over with a new meaning are NOT
 * here: --surface is now the PAGE (the old raised --surface is
 * --surface-raised), --secondary is the second brand colour's dial (it used
 * to be its fill: that is --secondary-solid), --accent is that dial's old
 * Dials name (deprecated in Dials v0.2.0: never set it), --success/--warning/
 * --danger/--info/--tertiary are dials (the fill is --success-solid ...), and --border, --border-strong, --space-*,
 * --radius-s/m/l, --shadow-* and --font-* are Dials' own. The --u-*,
 * --palette-*, --hue-*, --chroma-*, --l-* and --scheme dials are gone: set
 * the Dials dials instead. */
:root, [data-dials], .is-light, .is-dark {
    --primary: var(--brand-solid);
    --primary-hover: light-dark(oklab(from var(--brand-solid) calc(l - 0.07) a b), oklab(from var(--brand-solid) calc(l + 0.07) a b));
    --primary-light: oklab(from var(--brand-solid) calc(l + 0.11) a b);
    --primary-muted: color-mix(in oklab, var(--brand-solid) 15%, var(--surface));
    --primary-pale: var(--brand-soft);
    --on-primary: var(--brand-on-solid);
    --secondary-hover: light-dark(oklab(from var(--secondary-solid) calc(l - 0.07) a b), oklab(from var(--secondary-solid) calc(l + 0.07) a b));
    --secondary-light: oklab(from var(--secondary-solid) calc(l + 0.11) a b);
    --secondary-pale: var(--secondary-soft);
    --on-secondary: var(--secondary-on-solid);
    --tertiary-hover: light-dark(oklab(from var(--tertiary-solid) calc(l - 0.07) a b), oklab(from var(--tertiary-solid) calc(l + 0.07) a b));
    --tertiary-pale: var(--tertiary-soft);
    --on-tertiary: var(--tertiary-on-solid);
    --accent-dark: var(--primary-hover);
    --accent-pale: var(--brand-soft);
    --success-pale: var(--success-soft);
    --warning-pale: var(--warning-soft);
    --danger-pale: var(--danger-soft);
    --info-pale: var(--info-soft);
    --ink-strong: var(--text-strong);
    --ink: var(--text);
    --ink-mid: var(--text-muted);
    --ink-soft: var(--text-quiet);
    --bg: var(--surface);
    --on-bg: var(--text);
    --on-surface: var(--text);
    --step--2: var(--size--2);
    --step--1: var(--size--1);
    --step-0: var(--size-0);
    --step-1: var(--size-1);
    --step-2: var(--size-2);
    --step-3: var(--size-3);
    --step-4: var(--size-4);
    --step-5: var(--size-5);
    --step-6: var(--size-6);
    --step-7: var(--size-7);
    --step-8: var(--size-8);
    --border-thin: var(--border-width-s);
    --border-medium: var(--border-width-m);
    --border-thick: var(--border-width-l);

    /* The template's type ladder before Dials v0.3 (#436), FROZEN at its old
     * values, so a site layer written against it renders exactly as it did.
     * They do not follow Dials, and the template reads none of them: line
     * height is var(--leading), and weights and letter spacing are plain
     * values on each element. check-system.sh accepts these values only
     * exactly as written here. */
    --weight-400: 400;
    --weight-600: 600;
    --weight-700: 700;
    --leading-xs: 1.05;
    --leading-s: 1.18;
    --leading-m: 1.3;
    --leading-l: 1.5;
    --leading-xl: 1.6;
    --tracking-xs: -0.02em;
    --tracking-s: -0.01em;
    --tracking-m: 0;
    --tracking-l: 0.04em;
    --tracking-xl: 0.08em;
}
/* ═══ aliases:end (Old names) ═══════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════
 * RESET
 *
 * Josh Comeau's Custom CSS Reset (joshwcomeau.com/css/custom-css-reset/),
 * lightly adapted. Normalises browser defaults so the base layer below is
 * building on the same ground in every browser. Leave this alone; make
 * design decisions in the base layer and the tokens above it.
 * ═══════════════════════════════════════════════════════════════════════ */

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

/* Skip link. craft.md requires one as the first element in <body>; without a
 * rule here it renders as a visible link above the header on every site. It is
 * off-screen until focused, then a real control with a visible focus ring. */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: var(--layer-top, 2147483647);
    padding: var(--space-xs) var(--space-s);
    background: var(--solid);
    color: var(--on-solid);
    text-decoration: none;
    border-radius: 0 0 var(--radius-xs) 0;
}
.skip-link:focus, .skip-link:focus-visible {
    left: 0;   /* the ring is the global one, in Form controls & focus */
}

* { margin: 0; }

html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    -webkit-font-smoothing: antialiased;   /* line height: the base layer's body rule, from --leading-body */
}

/* Media is block-level and never overflows its container. */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

/* Form controls inherit typography rather than using browser chrome. */
:where(input, button, textarea, select) { font: inherit; }   /* zero specificity: "Form controls" below must win */

/* Long words and URLs wrap instead of forcing a horizontal scrollbar. */
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

/* A new stacking context on the root, so app-level layers cannot escape. */
#root, #__next { isolation: isolate; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
 * ELEMENT BASE LAYER
 *
 * Bare elements are styled here so a page is correct with no classes at
 * all. Without this, an unclassed <h2> falls back to the browser default
 * and whoever writes the page patches it with an inline style — which is
 * how a site ends up with a different heading treatment per page.
 *
 * Every heading has a matching .h1-.h6 class. Use the ELEMENT for document
 * structure (SEO, screen readers, outline) and the CLASS for appearance,
 * so an <h1> can look like an eyebrow without lying about the hierarchy:
 *
 *     <h1 class="h4">Still the page's real heading, just smaller</h1>
 *
 * Sites override these; they are a floor, not a straitjacket.
 * ═══════════════════════════════════════════════════════════════════════ */

body {
    font-family: var(--font-body);
    font-size: var(--size-0);
    font-weight: 400;
    line-height: var(--leading-body);   /* a number, so it inherits as one; --leading is a length */
    color: var(--text);
    background: var(--surface);
}

/* Headings ─────────────────────────────────────────────────────────────
 * Margins are top-heavy on purpose: a heading belongs to what follows it,
 * so the space above is larger than the space below. */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    margin: var(--space-l) 0 var(--space-s);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--leading);        /* for each heading's own size: on the heading, never inherited */
    color: var(--text-strong);
    text-wrap: balance;
}

:where(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) + * {
    margin-top: 0;
}

/* A heading opening its container needs no space above it. */
:where(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6):first-child {
    margin-top: 0;
}

/* Display headings tighten a little, more the larger they are; tune to the
 * face (one with optical sizes may need none). */
h1, .h1 { font-size: var(--size-5); letter-spacing: -0.025em; }
h2, .h2 { font-size: var(--size-4); letter-spacing: -0.02em; }
h3, .h3 { font-size: var(--size-3); letter-spacing: -0.015em; }
h4, .h4 { font-size: var(--size-2); letter-spacing: -0.01em; }
h5, .h5 { font-size: var(--size-1); }
h6, .h6 {
    font-size: var(--size-0);
    letter-spacing: 0.04em;   /* capitals */
    text-transform: uppercase;
}

/* A highlighted phrase inside a heading. One mechanism, not three. */
:where(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) em {
    font-style: italic;
    color: var(--on-soft);   /* coloured text on the page */
}

/* Text ─────────────────────────────────────────────────────────────── */
p, ul, ol, dl, blockquote, figure, table, pre {
    margin: 0 0 var(--space-m);
}

/*
 * Line length is a container's job, not every paragraph's — capping each <p>
 * leaves text hugging the left of any column already sized for reading.
 * Use .measure (or set a width on the container) where prose needs it.
 */
.measure { max-width: var(--measure); }
.measure-tight { max-width: var(--measure-tight); }

/* Opening paragraph: larger and looser than body copy. */
.lede {
    font-size: var(--size-1);
    line-height: var(--leading);
    color: var(--text-muted);
}

/* Small label above a heading. */
.eyebrow {
    display: block;
    margin-bottom: var(--space-2xs);
    font-size: var(--size--1);
    font-weight: 600;
    line-height: var(--leading);
    letter-spacing: 0.04em;   /* capitals */
    text-transform: uppercase;
    color: var(--on-soft);
}

small, .text-small { font-size: var(--size--1); line-height: var(--leading); }

strong, b { font-weight: 600; }

a {
    color: var(--link);
    text-decoration-thickness: var(--border-width-s);
    text-underline-offset: 0.15em;
    transition: color var(--duration-fast) var(--ease-out);
}
a:hover { color: var(--link-hover); }

/* The focus ring lives in "Form controls & focus" below. */

ul, ol { padding-left: var(--space-m); }

/*
 * List spacing applies to PROSE lists only. Navigation, button groups and
 * card grids are lists too, and flow margins on those knock flex/grid items
 * out of alignment (the site header) or balloon the spacing (the footer).
 *
 * Presence of a class is not the test — a footer nav is a nav whether or not
 * anyone put a class on it — so navigation context opts out explicitly.
 */
:where(ul, ol) > li { margin-bottom: var(--space-2xs); }
:where(ul, ol) > li:last-child { margin-bottom: 0; }

nav ul, nav ol,
header ul, header ol,
footer ul, footer ol,
menu {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

nav li, header li, footer li, menu li {
    margin-bottom: 0;
}

/* A list explicitly used for layout carries no bullets, indent or margin. */
:where(ul, ol)[class] {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

:where(ul, ol)[class] > li { margin-bottom: 0; }

blockquote {
    /* The quote bar is a quiet border in the group's colour: Dials' subtle
     * border pattern (tokens.md, "A subtle border in a group's colour"),
     * declared here rather than at :root so it follows an .is-* class on the
     * quote. --line itself is a strong 3:1 line since Dials v0.2.0; 30% of
     * it keeps the bar about as light as it was before (the pattern's
     * example is 40%: a step darker). Decoration: no contrast promised. */
    --quote-bar: color-mix(in oklab, var(--line) 30%, var(--border));
    padding-left: var(--space-m);
    border-left: var(--border-width-l) solid var(--quote-bar);
    color: var(--text-muted);
    font-style: italic;
}

hr {
    height: 0;
    margin: var(--space-l) 0;
    border: 0;
    border-top: var(--border-width-s) solid var(--border);
}

code, kbd, samp, pre {
    font-family: var(--font-mono);
    font-size: 0.9em;
}

/* Media ────────────────────────────────────────────────────────────────
 * Images carry NO radius and NO background plate by default.
 *
 * They used to. `img { border-radius: var(--radius-m); background: var(--surface-raised) }`
 * was added to fix one square photo on Wellbrook, and it cost far more than it
 * saved: every migration since has had to undo it, because a faithful clone of a
 * customer's live site decides its own corners, and the background plate fills
 * the transparent areas of every PNG and SVG — a logo on a dark footer renders
 * as a solid block. Ten of the thirteen sites on this box carried an override
 * for it before it was removed.
 *
 * A radius is a design decision belonging to the site's own stylesheet, next to
 * the cards it should match. Use .is-rounded (below) or a site-layer rule; do
 * not put it back here. */
img, picture, video, canvas, svg {
    height: auto;
}

/* Opt in where a photo should match the radius of the cards around it. */
img.is-rounded, .is-rounded img { border-radius: var(--radius-m); }

figure { margin-inline: 0; }

figcaption {
    margin-top: var(--space-2xs);
    font-size: var(--size--1);
    line-height: var(--leading);
    color: var(--text-quiet);
}

/* Tables ───────────────────────────────────────────────────────────── */
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: var(--space-2xs) var(--space-xs);
    border-bottom: var(--border-width-s) solid var(--border);
    vertical-align: top;
}

th {
    font-weight: 600;
    color: var(--text-strong);
}

tbody tr:last-child :where(th, td) { border-bottom: 0; }

/* ═══ Form controls & focus ═══ form-controls:begin ══════════════════════
 * A text field's look, and every focus ring on the site, are set ONCE,
 * here: by the --field-* and --focus-ring* tokens and a few base rules.
 * Every text-like control on the site (contact, search, careers, booking,
 * anything mediflare.js or Connect writes) inherits it, so they match by
 * construction.
 *
 * - This section is copied VERBATIM from _template and never edited in a
 *   site: check-system.sh fails the site if its copy differs by a character.
 *   A site differs only in TOKEN VALUES, set in the site layer's own :root,
 *   below this section (a later :root wins over the defaults here).
 * - Never restyle a control inside a component. A component rule may place
 *   a field (grid, margin, width) but never sets its border, radius,
 *   background or height -- check-system.sh fails the site if one does.
 * - Fields and buttons share ONE corner, --control-radius: set it in the
 *   site layer's :root and both follow. Never set --field-radius
 *   (check-system.sh fails it), except to 0px in underline mode below;
 *   pill buttons mean pill fields.
 * - The base rules are at zero specificity (:where), so any token change
 *   reaches every field and nothing here outranks a deliberate override.
 * - ONE focus ring per site, on links, buttons and fields alike: an outline
 *   in --focus-ring at --focus-ring-w. No other rule sets a focus outline,
 *   colour or box-shadow (check-system.sh fails one); outline-offset may be
 *   adjusted where a ring would be clipped.
 * - Underline-only fields: set --field-border-w: 0,
 *   --field-border-bottom: var(--border-width-s) solid <colour> and
 *   --field-radius: 0px (an underline has no corners to share; a rounded
 *   one curves at its ends, and buttons keep --control-radius); optionally
 *   --field-focus-border-bottom: var(--focus-ring-w) solid var(--focus-ring)
 *   so the underline thickens with the ring. No extra rules. Underline
 *   mode is the only time a site sets --field-radius, and check-system.sh
 *   then requires the 0px.
 * - Colours follow the band. The colour tokens are declared on the page
 *   AND on every .is-light/.is-dark band and [data-dials] scope, as Dials
 *   declares its own: a browser on Dials' fallback (no relative colour)
 *   works a token out once per scope, so declared on :root alone a field
 *   in a dark band kept the light page's border and ring. A site that
 *   changes a field COLOUR sets it on the same four selectors, after this
 *   section (:root, [data-dials], .is-light, .is-dark { --field-...: ... }),
 *   or a band keeps the default. Sizes are set on :root only.
 * - A panel on a ground that is not a Dials surface (a brand fill) re-sets
 *   the leaf colour tokens on the container, never the rules:
 *     .brand-panel {
 *         --focus-ring: var(--brand-on-solid);
 *         --field-border: var(--brand-on-solid);
 *     }
 *   --focus-ring must reach >= 3:1 against every ground it is drawn on.
 * The guard finds this section by the begin/end markers; keep both.
 * ═══════════════════════════════════════════════════════════════════════ */

:root {
    --field-h: var(--target-min);                 /* the single-line height: exact, never below the 44px target */
    --field-textarea-h: calc(var(--field-h) * 3); /* the textarea's minimum height */
    --field-pad-block: var(--space-2xs);          /* textarea only; a one-line field centres its text in --field-h */
    --field-pad-inline: var(--space-xs);
    --field-font-size: max(var(--size-0), 1rem);  /* never below 16px, or iOS zooms the page on focus */
    --field-leading: var(--leading);              /* Dials' leading, worked out at the field's own size */
    --field-weight: 400;                          /* one weight wherever the field sits */
    --field-label-weight: 600;                    /* the label's weight: the site's emphasis weight */
    --field-radius: var(--control-radius);        /* = the .btn radius, by construction; never set it */
    --field-textarea-radius: min(var(--field-radius), var(--radius-l));   /* a pill textarea is a capsule; cap it */
    --field-border-w: var(--border-width-s);
    /* Unset by default, so they follow --field-border-w/--field-border:
     * --field-border-bottom          the resting bottom edge (underline mode)
     * --field-focus-border-bottom    the bottom edge while focused
     * --field-focus-outline          the field's ring; leave it to the default */
    --focus-ring-w: var(--border-width-m);        /* >= --field-border-w, so the ring covers the border */
}

/* The colours, on the bands too (see above). */
:root, [data-dials], .is-light, .is-dark {
    --field-bg: var(--surface-raised);            /* fields sit on the raised surface, as cards do */
    --field-ink: var(--text);
    --field-border: var(--border-strong);         /* Dials' control border: 3:1 on every surface */
    --field-border-hover: var(--text-quiet);
    --field-placeholder: var(--text-quiet);
    --focus-ring: var(--focus);                   /* Dials' focus ring: >= 3:1 on every surface, light and dark */
}

/* THE focus ring: every interactive element, always. Fields refine the
 * offset and radius below; nothing else sets a focus outline. */
:focus-visible {
    outline: var(--focus-ring-w) solid var(--focus-ring);
    outline-offset: 2px;
    border-radius: var(--radius-xs);
}

label {
    display: block;
    margin-bottom: var(--space-3xs);
    font-size: var(--size--1);
    font-weight: var(--field-label-weight);
    line-height: var(--leading);
    color: var(--text-strong);
}

/* THE base rule. Every text-like control: text, email, tel, search, number,
 * date, url, password, select and textarea -- not checkboxes, radios,
 * ranges, files or button-type inputs. */
:where(input:not([type=checkbox],[type=radio],[type=range],[type=file],[type=color],[type=submit],[type=button],[type=reset],[type=image],[type=hidden]), select, textarea) {
    --_field-radius: var(--field-radius);
    appearance: none;
    box-sizing: border-box;
    width: 100%;
    height: var(--field-h);
    min-height: var(--field-h);
    padding: 0 var(--field-pad-inline);
    font: inherit;
    font-size: var(--field-font-size);
    font-weight: var(--field-weight);
    line-height: var(--field-leading);
    color: var(--field-ink);
    background-color: var(--field-bg);
    border: var(--field-border-w) solid var(--field-border);
    border-bottom: var(--field-border-bottom, var(--field-border-w) solid var(--field-border));
    border-radius: var(--_field-radius);
    box-shadow: none;
    transition: border-color var(--duration-fast) var(--ease-out);
}

:where(input:not([type=checkbox],[type=radio],[type=range],[type=file],[type=color],[type=submit],[type=button],[type=reset],[type=image],[type=hidden]), select, textarea):hover {
    border-color: var(--field-border-hover);
}

/* One edge on focus. The offset pulls the ring in by the border's width, so
 * it is drawn ON the border (covering it) rather than outside it; the border
 * and shadow are held at rest so nothing draws a second edge. Specificity
 * 0,1,0 and later than the global :focus-visible, so it wins over that one
 * (whose offset and radius suit links, not fields). In underline mode the
 * bottom edge may take --field-focus-border-bottom as well. */
:where(input:not([type=checkbox],[type=radio],[type=range],[type=file],[type=color],[type=submit],[type=button],[type=reset],[type=image],[type=hidden]), select, textarea):focus {
    border-color: var(--field-border);
    border-bottom: var(--field-border-bottom, var(--field-border-w) solid var(--field-border));
    box-shadow: none;
    outline: none;
}
:where(input:not([type=checkbox],[type=radio],[type=range],[type=file],[type=color],[type=submit],[type=button],[type=reset],[type=image],[type=hidden]), select, textarea):focus-visible {
    outline: var(--field-focus-outline, var(--focus-ring-w) solid var(--focus-ring));
    outline-offset: calc(var(--field-border-w) * -1);
    border-bottom: var(--field-focus-border-bottom, var(--field-border-bottom, var(--field-border-w) solid var(--field-border)));
    border-radius: var(--_field-radius);
}

:where(textarea) {
    --_field-radius: var(--field-textarea-radius);
    height: auto;
    min-height: var(--field-textarea-h);
    padding-block: var(--field-pad-block);
    resize: vertical;
}

/* The chevron is one conic-gradient wedge in --field-ink: tokens only, no
 * image, so it recolours with the palette and the scheme. (Two half-square
 * linear gradients leave a seam where they meet.) */
:where(select) {
    padding-inline-end: calc(var(--field-pad-inline) * 2 + var(--space-xs));
    background-image: conic-gradient(from -45deg at 50% 100%, var(--field-ink) 90deg, transparent 0);
    background-position: calc(100% - var(--field-pad-inline)) 50%;
    background-size: calc(var(--space-3xs) * 2.5) calc(var(--space-3xs) * 1.25);
    background-repeat: no-repeat;
    cursor: pointer;
}
:where(select[multiple], select[size]) { height: auto; padding-block: var(--field-pad-block); padding-inline-end: var(--field-pad-inline); background-image: none; }

:where(input, textarea)::placeholder { color: var(--field-placeholder); opacity: 1; }

/* The browser's own clear (x) in a search box, redrawn as a mask so it takes
 * --field-ink instead of the browser's grey. */
:where(input[type=search])::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    inline-size: 1em;
    block-size: 1em;
    cursor: pointer;
    background-color: var(--field-ink);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

input[type="checkbox"], input[type="radio"] { accent-color: var(--brand-solid); }

fieldset { margin: 0 0 var(--space-m); padding: 0; border: 0; }

/* ═══ form-controls:end (Form controls & focus) ═════════════════════════ */

/*
 * A bare <button> is usually a UI affordance — a menu toggle, a dropdown
 * trigger — not a visual button, so it gets a reset rather than a look.
 * Add .btn when you want one that looks like a button.
 */
button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

/* Buttons ──────────────────────────────────────────────────────────────
 * .btn is opt-in — put it on a <button> or an <a> that should look like a
 * button. Variants change colour, sizes change scale; every one is at least
 * --target-min (44px) tall, the tap target. A bare <button> is
 * reset above, not styled, because most of them are menu and dropdown
 * triggers rather than visual buttons. */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3xs);
    padding: var(--space-2xs) var(--space-s);
    font-family: inherit;
    font-size: var(--size--1);
    font-weight: 600;
    line-height: var(--leading);        /* at each button size's own font size (.btn--sm, .btn--lg) */
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    min-block-size: var(--target-min);   /* 44px tap target, every size and variant */
    cursor: pointer;
    border: var(--border-width-s) solid transparent;
    border-radius: var(--control-radius);   /* shared with every field; set --control-radius, not this */
    transition: background var(--duration-fast) var(--ease-out),
                border-color var(--duration-fast) var(--ease-out),
                color var(--duration-fast) var(--ease-out);
}

.btn--primary {
    background: var(--solid);
    color: var(--on-solid);
}
/* Hover and pressed mix the fill away from its text colour (Dials' --mix-*),
 * so they work on every group: <a class="btn btn--primary is-tertiary">. */
.btn--primary:hover { background: color-mix(in oklch, var(--solid), var(--mix-hover)); color: var(--on-solid); }
.btn--primary:active { background: color-mix(in oklch, var(--solid), var(--mix-active)); color: var(--on-solid); }

.btn--secondary {
    background: transparent;
    border-color: var(--solid);
    color: var(--on-soft);
}
.btn--secondary:hover { background: var(--soft); color: var(--on-soft); }

.btn--ghost {
    background: transparent;
    color: var(--text-muted);
}
.btn--ghost:hover { background: var(--soft); color: var(--on-soft); }

.btn--sm { padding: var(--space-3xs) var(--space-xs); font-size: var(--size--2); }
.btn--lg { padding: var(--space-xs) var(--space-m); font-size: var(--size-0); }

/*
 * ON A BRAND-COLOURED GROUND
 *
 * A dark band is class="is-dark" on the section: Dials works every token out
 * again in the dark scheme, so the buttons above need nothing more. On a band
 * painted with a brand fill (background: var(--solid)) they invert instead:
 * the solid button goes to the raised surface, the outline picks up a
 * translucent edge in the fill's text colour. Put .on-dark on the button or
 * any ancestor.
 */
.on-dark .btn--primary,
.btn--primary.on-dark {
    background: var(--surface-raised);
    color: var(--on-soft);
}

.on-dark .btn--primary:hover,
.btn--primary.on-dark:hover {
    background: var(--soft);
    color: var(--on-soft);
}

.on-dark .btn--secondary,
.btn--secondary.on-dark {
    color: var(--on-solid);
    border-color: color-mix(in oklab, var(--on-solid) 40%, transparent);
}

.on-dark .btn--secondary:hover,
.btn--secondary.on-dark:hover {
    background: color-mix(in oklab, var(--on-solid) 12%, transparent);
    color: var(--on-solid);
}

.btn[disabled], .btn[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Media frames ────────────────────────────────────────────────────────
 * A frame for an embed — map, video or photo — so the child fills a box of
 * known proportion instead of the element's natural size.
 *
 * The ratio, radius and any framing are DEFAULTS. Change them in this file
 * to suit the design; they are here so a frame is never unstyled, not to
 * fix how it should look. */
.media-frame {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-m);
    background: var(--surface-raised);
}

.media-frame > :where(iframe, img, video) {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: cover;
    border-radius: 0;
}

.media-frame--square { aspect-ratio: 1; }
.media-frame--wide { aspect-ratio: 16 / 9; }

/* Cards ────────────────────────────────────────────────────────────────
 * Deliberately minimal — a surface with a radius. Sites compose their own
 * card variants on top; modelling every one here would be guesswork. */
.card {
    padding: var(--space-m);
    background: var(--surface-raised);
    border: var(--border-width-s) solid var(--border);
    border-radius: var(--radius-m);
}

/* Utility ──────────────────────────────────────────────────────────── */
.visually-hidden, .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/*
 * Grid utilities. .u-container centres and pads; .u-grid lays out. Placement
 * within the grid is each layout's business — see refs/design/layouts.md.
 */
.u-container {
    max-width: var(--grid-max-width);
    margin-inline: auto;
    padding-inline: var(--grid-gutter);
}

.u-grid {
    display: grid;
    gap: var(--grid-gutter);
}

/*
 * Section rhythm. EVERY band on a page should be a .section — this is what
 * gives a page its vertical breathing room, and it is the single most
 * repeated review comment when it is missed ("this section is lacking top
 * and bottom padding", raised three separate times on one site).
 *
 * It is a class rather than a bare `section` selector because bands are not
 * always <section> elements, and because a band that deliberately runs flush
 * to its neighbour needs to say so out loud via --flush.
 *
 * Do not hand-roll the padding. --space-l-2xl is the site-wide "40px phone /
 * 80px desktop" step, already a clamp; a bespoke value breaks the rhythm.
 *
 * Verify with bandpad.mjs, which measures the real rendered ink gap between
 * adjacent bands and fails under 40px.
 */
.section { padding-block: var(--space-l-2xl); }
.section--tight { padding-block: var(--space-l); }
.section--flush { padding-block: 0; }

/* A centred intro (eyebrow + heading + standfirst) above a band's content. */
.section__head {
    max-width: 46rem;
    margin-inline: auto;
    text-align: center;
}

/*
 * Scroll entrance.
 *
 * Native scroll-driven animation — no library, no IntersectionObserver, no
 * JS. Add .reveal for a plain fade, or one of the directional modifiers.
 *
 * WHY THE WHOLE BLOCK IS INSIDE prefers-reduced-motion: a reveal implemented
 * as `opacity: 0` plus an animation leaves reduced-motion users staring at
 * invisible content when the animation never runs. Scoping the rule means
 * they simply get the content, with no trap to fall into.
 *
 * Safari and Firefox do not support animation-timeline yet, so content there
 * is simply visible. That is the correct failure for a practice site: no
 * entrance effect is always better than content that never arrives.
 */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        animation: reveal linear both;
        animation-timeline: view();
        animation-range: entry 0% cover 30%;
    }

    .reveal--up { --reveal-from: translateY(var(--reveal-distance)); }
    .reveal--down { --reveal-from: translateY(calc(var(--reveal-distance) * -1)); }
    .reveal--left { --reveal-from: translateX(var(--reveal-distance)); }
    .reveal--right { --reveal-from: translateX(calc(var(--reveal-distance) * -1)); }
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: var(--reveal-from, none);
    }
}

/*
 * Doctor avatar fallback
 * Shows a gradient + person silhouette when no photo exists. The gradient
 * is Dials' band pattern (tokens.md, "Gradients are patterns"): from one
 * fill to another, decoration only, so no text is ever set on it.
 * The <img> has onerror="this.style.display='none'" which hides
 * the broken image, revealing this CSS background underneath.
 *
 * Derived from the site's own brand fill so a missing photo reads as part of
 * this practice rather than as a stray swatch.
 */
:root, [data-dials], .is-light, .is-dark {
    --avatar-shade: color-mix(in oklab, var(--brand-solid) 85%, black);   /* the avatar gradient's darker end: the brand fill, a step darker. color-mix() rather than relative colour, so Dials' fallback browsers draw it too */
}

.doctor-avatar {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--radius-s);
    background: linear-gradient(135deg, var(--avatar-shade), var(--brand-solid));
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The silhouette is an icon on the brand fill, so it is drawn in the fill's
 * own text colour, --brand-on-solid, through a mask (the shape only), and
 * keeps 3:1 in light and dark. A white silhouette fell to 2.8:1 on a dark
 * page, where the fill is lifted (mf-websites#431). */
.doctor-avatar::after {
    content: "";
    position: absolute;
    width: 40%;
    height: 40%;
    background-color: var(--brand-on-solid);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.doctor-avatar img {
    position: relative;
    z-index: var(--layer-base);
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Images on a dark ground: twins ──────────────────────────────────────
 * Photos need nothing in dark. A logo or drawing made for a light ground
 * (dark lettering, a dark line) fades into a dark one, so it gets a
 * dark-ground TWIN: the same artwork with its dark parts made pale. Both go
 * in the markup, and CSS shows the one that suits the ground it sits on:
 *
 *     <img class="show-in-light" src="assets/images/logo.webp" alt="…">
 *     <img class="show-in-dark" src="assets/images/logo-dark.webp" alt="…" loading="lazy">
 *
 * The ground is the nearest .is-dark or .is-light band, else the page: dark
 * when the visitor chose Dark, or chose nothing on a dark device, and only
 * where Dials can draw a dark page. The other twin is display: none, so it
 * is out of the accessibility tree and, with loading="lazy", never fetched
 * until it is shown. Give both the same alt.
 *
 * These rules only ever HIDE, so each twin keeps whatever display the site
 * gives it. Never make a dark twin with filter: invert() or hue-rotate():
 * they turn the practice's colours into other colours (an all-white
 * knockout, brightness(0) invert(1), only where the practice's brand allows
 * one). On a band painted with a brand fill (.on-dark), put only the twin
 * that suits that fill. */
.is-dark .show-in-light:not(.is-dark .is-light *),
.is-light .show-in-dark:not(.is-light .is-dark *) { display: none; }

@supports not ((color: oklch(from red l c h)) and (color: light-dark(red, red))) {
    .show-in-dark:not(:is(.is-light, .is-dark) *) { display: none; }
}

@supports (color: oklch(from red l c h)) and (color: light-dark(red, red)) {
    :root[data-scheme="light"] .show-in-dark:not(:is(.is-light, .is-dark) *),
    :root[data-scheme="dark"] .show-in-light:not(:is(.is-light, .is-dark) *) { display: none; }

    @media not all and (prefers-color-scheme: dark) {
        :root:not([data-scheme]) .show-in-dark:not(:is(.is-light, .is-dark) *) { display: none; }
    }

    @media (prefers-color-scheme: dark) {
        :root:not([data-scheme]) .show-in-light:not(:is(.is-light, .is-dark) *) { display: none; }
    }
}

/* The "Powered by Mediflare" logo in the footer is a pair of twins
 * (partials/footer.html), so it follows the footer's ground: a plain footer,
 * light or dark with the page, or a footer band (class="is-dark"). */
.powered-by img { display: inline; }

/* Hours: prevent time strings from breaking between number and am/pm */
.hours-table td:last-child,
.footer__hours-row span {
    white-space: nowrap;
}
/* ── 404 ──────────────────────────────────────────────────────────────
 * Served for any unmatched path, so it stands alone: say what happened, then
 * offer the way back rather than leaving a dead end.
 *
 * Deliberately written against fallbacks rather than this site's own token
 * names - every site in the fleet has a different vocabulary, and a 404 that
 * silently loses its layout because one variable is spelt differently is
 * worse than one that is slightly plainer. */
.notfound {
    padding-block: var(--space-3xl) var(--space-2xl);
    text-align: center;
}
.notfound__inner { max-width: 46rem; margin-inline: auto; }
.notfound__code {
    font-size: var(--size-5);
    font-weight: 700;
    line-height: var(--leading);
    letter-spacing: -0.025em;
    margin: 0 0 var(--space-2xs);
    opacity: 0.55;
}
.notfound h1 { margin-top: 0; }
.notfound__lede { font-size: var(--size-1); line-height: var(--leading); margin-inline: auto; max-width: 40rem; }
.notfound__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-s);
    justify-content: center;
    margin-top: var(--space-l);
}
.notfound__links {
    margin-top: var(--space-xl);
    padding-top: var(--space-l);
    border-top: var(--border-width-s) solid currentColor;
    border-color: color-mix(in oklab, currentColor 22%, transparent);
}
.notfound__links-title {
    font-size: var(--size-0);
    text-transform: uppercase;
    letter-spacing: 0.04em;   /* capitals */
    margin: 0 0 var(--space-s);
}
.notfound__links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2xs) var(--space-l);
    justify-content: center;
}
.notfound__links a {
    display: inline-block;
    min-height: 24px;   /* WCAG 2.5.8 target size */
    line-height: var(--leading);
    font-weight: 600;
}

/* ── Site search ──────────────────────────────────────────────────────
 * mediflare.js writes the search box wherever the markup asks for one, as
 * plain HTML with stable mf-search__* classes and NO styling. This is a
 * neutral base on the tokens above, so a new site inherits its own palette
 * and can restyle any of it freely in the site layer.
 *
 * The default (partials/header.html) is ONE overlay at every width, opened
 * by .search-trigger: a button drawn as a search field (magnifier and
 * "Search…") from 768px up, a 44px magnifier below. From 768px up the
 * overlay is a centred card over a dimmed page; below, it fills the screen.
 * The alternatives (an icon <details> panel, a visible header box with a
 * dropdown) are documented in /srv/sites/CLAUDE.md ("Site search"); the
 * dropdown's base is kept below because mediflare.js writes its hooks.
 *
 * Style the overlay and the dropdown popup ONLY through :not([hidden]).
 * Giving them a display of their own overrides the browser's
 * [hidden] { display: none }, and they then never close. */

/* The box, wherever it sits. LAYOUT ONLY: the field's look is the base rule
 * in "Form controls" above, exactly like every other field on the site. Do
 * not give .mf-search__input a border, radius, background or height here or
 * in the site layer -- change the --field-* tokens instead. */
.mf-search__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-2xs);
    align-items: center;
}

.mf-search__label,
.mf-search__status,
.mf-search__results,
.mf-search__popup { grid-column: 1 / -1; }

.mf-search__label { margin-bottom: 0; }

/* Without a Search button the field takes the whole row. */
.mf-search__input { grid-column: 1 / -1; }
[data-mf-search-submit] .mf-search__input { grid-column: auto; }

.mf-search__submit {
    min-block-size: var(--field-h);   /* the field's height, so the row lines up */
    padding: 0 var(--space-s);
    font-weight: 600;
    line-height: var(--leading);
    color: var(--on-solid);
    background: var(--solid);
    border-radius: var(--control-radius);   /* the field beside it has the same corner */
    transition: background var(--duration-fast) var(--ease-out);
}
.mf-search__submit:hover { background: color-mix(in oklch, var(--solid), var(--mix-hover)); }

.mf-search__status {
    margin: 0;
    font-size: var(--size--1);
    line-height: var(--leading);
    color: var(--text-muted);
}
.mf-search__status:empty { display: none; }

.mf-search__results:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xs);
}

.mf-search__link {
    display: block;
    padding: var(--space-2xs) var(--space-xs);
    border-radius: var(--radius-s);
    color: var(--text);
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background var(--duration-fast) var(--ease-out);
}
.mf-search__link:hover,
.mf-search__link:focus-visible {
    color: var(--on-soft);
    background: var(--soft);
}
/* Inside a scrolling list an outset ring is clipped, so it sits inset. */
.mf-search__link:focus-visible { outline-offset: calc(var(--border-width-m) * -1); }

.mf-search__title {
    display: block;
    font-weight: 700;
    line-height: var(--leading);
    color: var(--text-strong);
}

.mf-search__excerpt {
    display: block;
    margin-top: var(--space-3xs);
    font-size: var(--size--1);
    line-height: var(--leading);
    color: var(--text-muted);
}

.mf-search__excerpt mark {
    color: var(--text-strong);
    background: var(--selection);
    border-radius: var(--radius-xs);
}

/* In the header and the overlay the label is read out, not shown: the
 * placeholder says what the field is. Hidden visually, never removed. */
.mf-search--dropdown .mf-search__label,
.mf-search--overlay .mf-search__label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.mf-search__popup .mf-search__results:not([hidden]) {
    max-block-size: 60dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* The trigger, drawn as a search field: its border, background and corner
 * are the --field-* tokens, so it matches every field on the site. It is a
 * button, so its focus ring is the global one; only the offset moves onto
 * its border, as a field's does. The ellipsis is drawn, not spoken.
 *
 * In a tight header band shorten it rather than let it wrap the nav, the
 * booking button or the logo: drop the ellipsis (content: none) and step
 * the padding down, or use the 44px magnifier below. The header's height
 * must not change. */
.search-trigger {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: var(--space-2xs);
    min-inline-size: calc(var(--target-min) * 4);
    min-block-size: var(--field-h);
    padding: 0 var(--space-m) 0 var(--field-pad-inline);
    font-size: var(--size--1);
    line-height: var(--leading);
    white-space: nowrap;
    color: var(--text-muted);
    background: var(--field-bg);
    border: var(--field-border-w) solid var(--field-border);
    border-radius: var(--field-radius);
    cursor: pointer;
    transition: color var(--duration-fast) var(--ease-out),
                border-color var(--duration-fast) var(--ease-out),
                background var(--duration-fast) var(--ease-out);
}
.search-trigger svg { flex: none; }
.search-trigger__text::after { content: "…" / ""; }
.search-trigger:hover { border-color: var(--field-border-hover); }
.search-trigger:focus-visible { outline-offset: calc(var(--field-border-w) * -1); }

/* Phones: a 44px magnifier. The word stays as its name, hidden visually. */
@media (max-width: 767px) {
    .search-trigger {
        justify-content: center;
        min-inline-size: var(--target-min);
        min-block-size: var(--target-min);
        padding: 0;
        background: none;
        border-color: transparent;
        border-radius: var(--radius-s);
    }
    .search-trigger:hover {
        color: var(--on-soft);
        background: var(--soft);
        border-color: transparent;
    }
    .search-trigger__text {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

/* Alternative: a visible box whose results float beneath it. */
.mf-search--dropdown { position: relative; }

.mf-search__popup:not([hidden]) {
    position: absolute;
    inset-block-start: calc(100% + var(--space-3xs));
    inset-inline-end: 0;
    z-index: var(--layer-overlay);
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
    inline-size: max(100%, min(var(--measure-tight), calc(100vw - 2 * var(--grid-gutter))));
    padding: var(--space-xs);
    background: var(--surface-raised);
    border: var(--border-width-s) solid var(--border);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-l);
}

/* The overlay. Phones: full screen. One row holds Close, the field and Search (Close
 * first, matching the focus order); the results scroll below it, within the
 * overlay. The page behind is locked by mediflare.js itself. Subgrid puts
 * the box's own children on the overlay's grid, so the results run the full
 * width rather than only under the field. */
.mf-search-overlay:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: var(--layer-modal);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: var(--space-xs) var(--space-2xs);
    padding-block-start: max(var(--space-xs), env(safe-area-inset-top));
    padding-inline: max(var(--space-s), env(safe-area-inset-left)) max(var(--space-s), env(safe-area-inset-right));
    background: var(--surface);
}

.mf-search-overlay__header { display: contents; }

.mf-search-overlay__close {
    grid-column: 1;
    grid-row: 1;
    align-self: stretch;
    position: relative;
    z-index: var(--layer-base);   /* above the box, which spans this cell too */
    min-inline-size: var(--target-min);
    min-block-size: var(--target-min);
    padding-inline: var(--space-2xs);
    font-weight: 600;
    color: var(--text-muted);
    border-radius: var(--radius-s);
}
.mf-search-overlay__close:hover { color: var(--on-soft); background: var(--soft); }

.mf-search--overlay,
.mf-search--overlay .mf-search__form {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    gap: normal;            /* the overlay's own gap; a different subgrid gap pads the edge row and pushes Search 2px past the field */
    align-items: stretch;   /* Close, the field and Search share one height */
}

.mf-search--overlay .mf-search__input { grid-column: 2; grid-row: 1; }
.mf-search--overlay .mf-search__submit { grid-column: 3; grid-row: 1; }
.mf-search--overlay .mf-search__status { grid-column: 1 / -1; grid-row: 2; }

.mf-search--overlay .mf-search__results {
    grid-column: 1 / -1;
    grid-row: 3;
    align-self: stretch;
    min-block-size: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-block-end: max(var(--space-s), env(safe-area-inset-bottom));
}

/* From 768px up the same overlay is a centred card (the DocSearch pattern),
 * offset from the top rather than vertically centred, so it grows downward
 * with its results up to max-block-size, past which they scroll inside it.
 * A press on the dimmed page closes it (mediflare.js, #249).
 *
 * Stacking: the backdrop is body::after at --layer-modal, above the sticky
 * header (--layer-nav) and any dropdown (--layer-overlay). The card sits one
 * above it: body::after follows the overlay in tree order, so at an equal
 * z-index it would paint over the card. */
@media (min-width: 768px) {
    .mf-search-overlay:not([hidden]) {
        inset: var(--space-2xl) 0 auto;
        z-index: calc(var(--layer-modal) + 1);
        inline-size: calc(100% - 2 * var(--space-m));
        max-inline-size: calc(var(--grid-max-width) / 2);
        max-block-size: calc(100dvh - 2 * var(--space-2xl));
        margin-inline: auto;
        padding: var(--space-s);
        background: var(--surface-raised);
        border-radius: var(--radius-l);
        box-shadow: var(--shadow-l);
    }

    .mf-search--overlay .mf-search__results { padding-block-end: 0; }

    html[data-mf-search-overlay="open"] body::after {
        content: "";
        position: fixed;
        inset: 0;
        z-index: var(--layer-modal);
        background: var(--surface-overlay);
        -webkit-backdrop-filter: blur(var(--space-3xs));
        backdrop-filter: blur(var(--space-3xs));
    }
}

/* Opening is a short fade and settle; closing is immediate, and under
 * reduced motion there is no animation at all. */
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
    .mf-search-overlay:not([hidden]) { animation: search-card-in var(--duration-base) var(--ease-out); }
    html[data-mf-search-overlay="open"] body::after { animation: search-backdrop-in var(--duration-base) var(--ease-out); }
}

@keyframes search-card-in { from { opacity: 0; transform: scale(0.98); } }
@keyframes search-backdrop-in { from { opacity: 0; } }

/* ── Connect widgets on a dark page ──────────────────────────────────────
 * The Your Health hub and the newsletter sign-up are drawn by the Connect
 * widget (connect.mediflare.cloud) in its own light colours, and it does not
 * follow the page's scheme: on a dark page its tabs and labels inherit pale
 * text on its own white cards. So the widgets stay light, always: the light
 * scheme and ink inside them, and on a dark page a light panel behind them,
 * drawn as a spread shadow so the layout does not move (proven on Wellbrook,
 * mf-websites#427). Put them on the page or a light band, never inside an
 * .is-dark band. Connect's chat and request windows draw their own colours
 * and need nothing. */
#mediflare-yourhealth-hub,
.mediflare-yourhealth-newsletter-signup {
    color-scheme: light;
    color: var(--text);
}

@supports (color: oklch(from red l c h)) and (color: light-dark(red, red)) {
    :root[data-scheme="dark"] :is(#mediflare-yourhealth-hub, .mediflare-yourhealth-newsletter-signup):not(:empty) {
        background: var(--surface);
        border-radius: var(--radius-m);
        box-shadow: 0 0 0 var(--space-s) var(--surface);
    }

    @media (prefers-color-scheme: dark) {
        :root:not([data-scheme="light"]) :is(#mediflare-yourhealth-hub, .mediflare-yourhealth-newsletter-signup):not(:empty) {
            background: var(--surface);
            border-radius: var(--radius-m);
            box-shadow: 0 0 0 var(--space-s) var(--surface);
        }
    }
}

/* ═══════════════════════════════════════════════════════════════════════
 * BRENTWOOD PARK FAMILY PRACTICE
 *
 * The site's own components, from the Claude Design project: rooflines
 * between sections (each a gable with its own peak), house-shaped cards, a
 * cut-out cross, leaf markers, the logo's tree drawn faintly behind two
 * sections, and a brick texture on the terracotta. Tokens only: every
 * colour from Dials (or a shade derived from one, below), every size and
 * space from its scale.
 * ═══════════════════════════════════════════════════════════════════════ */

/* ── Faces: self-hosted, latin subset ─────────────────────────────────── */
@font-face {
    font-family: 'Atkinson Hyperlegible';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/atkinson-hyperlegible-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Atkinson Hyperlegible';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/atkinson-hyperlegible-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
    src: url('/assets/fonts/raleway-variable.woff2') format('woff2');
}

/* ── Site tokens ───────────────────────────────────────────────────────
 * Not dials: fixed dimensions and shades derived from Dials' tokens. The
 * colour shades are declared where Dials declares its own (the page, any
 * [data-dials] element and the light and dark bands), so each one works
 * itself out again inside an .is-dark band. */
:root {
    /* The design's container: 1350px of content, plus the gutters */
    --content-max: 84.375rem;
    --grid-max-width: calc(var(--content-max) + 2 * var(--grid-gutter));
    /* The inset that lines a full-bleed row up with the container's content */
    --content-inset: max(var(--grid-gutter), (100% - var(--content-max)) / 2);
    /* Fields and buttons: the design's 6px corner */
    --control-radius: var(--radius-s);
    --field-label-weight: 700;          /* the site's emphasis weight is 700 */
    /* Rooflines: the tallest eave drop between sections, and the hero's lower one */
    --roof-h: var(--space-l-xl);
    --roof-h-hero: var(--space-s-l);
    /* Buttons in the design are 56px tall at their large size */
    --btn-lg-h: 3.5rem;
    /* Small text: the scale's step below body, but never under 16px, the
     * floor for anything a patient reads (it is 15.2px at desktop). */
    --text-small: max(var(--size--1), 1rem);
}
:root, [data-dials], .is-light, .is-dark {
    /* Sand: the design's tint (#EEE7D3) for the header and the alternate
     * sections, the gold mixed into the paper with a touch of the ink (which
     * lands on #EEE7D3 exactly). Text on it is plain --text. */
    --sand: color-mix(in oklab, var(--text) 4%, color-mix(in oklab, var(--tertiary-solid) 21%, var(--surface)));
    /* A warm hairline on paper and sand, as the design's #D8D0B8. Decorative. */
    --rule: color-mix(in oklab, var(--sand), var(--text-strong) 14%);
    /* A raised card on an olive band: the band, a step towards its text */
    --band-card: color-mix(in oklab, var(--surface) 90%, var(--text-strong));
    /* The band card on hover, a step lighter, as the design's #5C5A45 */
    --band-card-hover: color-mix(in oklab, var(--surface) 82%, var(--text-strong));
    /* A hairline on the terracotta: its text colour, a third of the way in. Decorative. */
    --rule-on-brand: color-mix(in oklab, var(--brand-on-solid) 35%, var(--brand-solid));
    /* A photo well on sand, before a photo arrives: the sand, a step darker. Decorative. */
    --sand-deep: color-mix(in oklab, var(--sand), var(--text-strong) 9%);
    /* The brick texture on the terracotta: the fill, darkened towards ink */
    --brick-shade: color-mix(in oklab, var(--brand-solid) 55%, var(--neutral-solid));
}

/* The decorative trees hang off the container's edges: never let them
 * widen the page. clip, not hidden, so nothing becomes a scroll container. */
html, body, main, .roof { overflow-x: clip; }

/* ── Type ──────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { font-weight: 800; }

.display {
    margin: 0;
    font-size: var(--size-8);
    font-weight: 800;
    line-height: var(--leading-heading);
    letter-spacing: -0.035em;
}
.section-title {
    margin: 0;
    font-size: var(--size-4);
    font-weight: 800;
    line-height: var(--leading-heading);
    letter-spacing: -0.025em;
    color: var(--text-strong);
}
/* At desktop: --2xl 60px, --xl and --l 49px (the design's 48-54px), --m 34px */
.section-title--2xl { font-size: var(--size-6); }
.section-title--xl { font-size: var(--size-5); }
.section-title--l { font-size: var(--size-5); }
.section-title--m { font-size: var(--size-3); }

.eyebrow {
    margin: 0 0 var(--space-2xs);
    font-size: var(--text-small);
    font-weight: 700;
    line-height: var(--leading);
    letter-spacing: 0.12em;
    color: var(--on-soft);
}
.eyebrow--gold { color: var(--tertiary-on-soft); }
.eyebrow--on-brand { color: var(--sand); }

.lede {
    font-size: var(--size-1);
    line-height: var(--leading);
    color: var(--text);
}
.text-small-plus { font-size: var(--text-small); line-height: var(--leading); }
.measure { max-width: var(--measure); }

strong, b { font-weight: 700; }

.stack { display: flex; flex-direction: column; gap: var(--space-s); }
.stack > * { margin: 0; }

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr));
    gap: var(--space-xl) var(--space-2xl);
    align-items: center;
}
.split > * { margin: 0; }
.split--end { align-items: end; margin-bottom: var(--space-xl); row-gap: var(--space-s); }
.split--start { align-items: start; }
.split--stretch { align-items: stretch; }

/* ── Buttons: the design's sentence-case, bold, 6px-corner buttons ──────── */
.btn {
    padding: var(--space-xs) var(--space-m);
    font-size: var(--size-0);
    font-weight: 700;
    line-height: var(--leading);
}
.btn--lg { min-block-size: var(--btn-lg-h); font-size: var(--size-0); }
.btn--outline {
    background: transparent;
    color: var(--text-strong);
    border: var(--border-width-m) solid var(--text-strong);
}
.btn--outline:hover { background: var(--text-strong); color: var(--surface); }
/* A paper button on the terracotta, and on an olive band (where the band's
 * own scheme makes --text-strong the cream and --surface the olive). */
.btn--light { background: var(--surface); color: var(--text-strong); border-color: var(--surface); }
.btn--light:hover { background: var(--sand); border-color: var(--sand); color: var(--text-strong); }
.is-dark .btn--light { background: var(--text-strong); color: var(--surface); border-color: var(--text-strong); }
.is-dark .btn--light:hover { background: var(--text); border-color: var(--text); color: var(--surface); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-s); margin: 0; }
.btn-row--top { margin-top: var(--space-xl); }

.round-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: var(--btn-lg-h);
    block-size: var(--btn-lg-h);
    font-size: var(--size-1);
    font-weight: 700;
    line-height: var(--leading);
    color: var(--text-strong);
    border: var(--border-width-m) solid var(--text-strong);
    border-radius: var(--radius-pill);
    transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.round-btn:hover:not(:disabled) { background: var(--text-strong); color: var(--surface); }
.round-btn:disabled { opacity: 0.4; cursor: default; }

/* ── Chips ─────────────────────────────────────────────────────────────── */
.chip-row, .chip-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2xs);
    margin: 0;
}
.chip {
    display: inline-flex;
    align-items: center;
    padding: var(--space-3xs) var(--space-xs);
    font-size: var(--text-small);
    font-weight: 700;
    line-height: var(--leading);
    color: var(--text-strong);
    background: var(--sand);
    border-radius: var(--radius-pill);
}
.chip--line { background: none; font-weight: 400; color: var(--text); border: var(--border-width-s) solid var(--border-strong); }
.chip--solid { background: var(--brand-solid); color: var(--brand-on-solid); }

/* ── Icons drawn in CSS: the cut-out cross and the leaf ───────────────── */
.cross {
    position: relative;
    display: block;
    inline-size: 1.875rem;
    block-size: 1.875rem;
    flex: none;
    color: var(--line);
}
.cross::before, .cross::after {
    content: "";
    position: absolute;
    background: currentColor;
    border-radius: var(--radius-xs);
}
.cross::before { inset: 30% 0; }
.cross::after { inset: 0 30%; }
.cross--l { inline-size: 2.875rem; block-size: 2.875rem; }

/* ── Rooflines ──────────────────────────────────────────────────────────
 * Each section after the header is cut along a gable: it rises from its
 * left eave to a peak and falls to its right eave, and tucks up under the
 * section before it by the tallest eave. Peak position and eave heights
 * vary by section, as the design's do. Clip-path makes each one a
 * stacking context, so a later section paints over the one before. */
.roof {
    --roof-l: 0.5;
    --roof-p: 50%;
    --roof-r: 0.8;
    position: relative;
    isolation: isolate;
    margin-top: calc(-1 * var(--roof-h));
    padding-block: calc(var(--roof-h) + var(--space-l-xl)) calc(var(--roof-h) + var(--space-xl-2xl));
    clip-path: polygon(0 calc(var(--roof-h) * var(--roof-l)), var(--roof-p) 0, 100% calc(var(--roof-h) * var(--roof-r)), 100% 100%, 0 100%);
}
.roof--hero {
    --roof-h: var(--roof-h-hero);
    --roof-l: 0.5; --roof-p: 16%; --roof-r: 1;
    padding-block: calc(var(--roof-h) + var(--space-l-xl)) calc(var(--space-l-xl) + var(--space-xl-2xl));
}
.roof--b { --roof-l: 0.55; --roof-p: 70%; --roof-r: 0.75; padding-block: calc(var(--roof-h) + var(--space-m)) calc(var(--roof-h) + var(--space-l)); }
.roof--c { --roof-l: 0.6;  --roof-p: 28%; --roof-r: 0.85; }
.roof--d { --roof-l: 1;    --roof-p: 74%; --roof-r: 0.35; }
.roof--e { --roof-l: 0.3;  --roof-p: 18%; --roof-r: 1; }
.roof--f { --roof-l: 0.9;  --roof-p: 62%; --roof-r: 0.5; }
.roof--g { --roof-l: 0.45; --roof-p: 36%; --roof-r: 0.85; }
.roof--h { --roof-l: 0.35; --roof-p: 24%; --roof-r: 0.7; }
.roof--i { --roof-l: 1;    --roof-p: 82%; --roof-r: 0.3; }
.roof--footer { --roof-l: 0.6; --roof-p: 55%; --roof-r: 0.8; }

/* Section grounds: paper, sand, terracotta and olive */
.band-sand { background: var(--sand); }
.band-paper { background: var(--surface); }
/* The terracotta: a band painted with the brand fill. Its text is the fill's
 * own on- colour, and the focus ring and fields are re-set for it. */
.band-brand {
    --focus-ring: var(--brand-on-solid);
    background: var(--brand-solid);
    color: var(--brand-on-solid);
}
.band-brand :where(h1, h2, h3, .section-title, .display) { color: var(--brand-on-solid); }
.band-brand .lede { color: var(--brand-on-solid); }
.band-brand a:not(.btn, .house-card, .phone-card) { color: var(--brand-on-solid); }
.band-brand :where(.is-light, .is-dark) a:not(.btn) { color: var(--link); }

/* The brick texture: decoration only, behind the content */
.bricks { position: relative; isolation: isolate; overflow: hidden; }
.bricks::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: var(--layer-behind);
    pointer-events: none;
    background: var(--brick-shade);
    opacity: 0.3;
    -webkit-mask: url('/assets/images/brick-mask.71ee584db7.svg') 0 0 / 7.5rem 3.75rem repeat;
    mask: url('/assets/images/brick-mask.71ee584db7.svg') 0 0 / 7.5rem 3.75rem repeat;
}

/* The logo's tree, drawn faintly behind a section on a wide screen, as the
 * design does. The SVG is partials/tree.html; "Growing trees" below animates it. */
.plant {
    display: none;
    position: absolute;
    bottom: 0;
    z-index: var(--layer-behind);
    inline-size: 30rem;
    aspect-ratio: 411 / 620;
    color: var(--secondary-line);
    opacity: 0.17;
    pointer-events: none;
}
.plant .tree { display: block; inline-size: 100%; block-size: auto; overflow: visible; }
@media (min-width: 1280px) {
    .plant { display: block; }
}
.plant--hero { right: calc(var(--content-inset) - 15rem); }
.plant--fees { left: calc(var(--content-inset) - 17rem); inline-size: 36rem; transform: scaleX(-1); }

/* ── Utility bar ──────────────────────────────────────────────────────── */
.utility { font-size: var(--text-small); line-height: var(--leading); }
.utility__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-3xs) var(--space-l);
    padding-block: var(--space-2xs);
}
.utility p { margin: 0; }
.utility__links { display: flex; flex-wrap: wrap; gap: var(--space-3xs) var(--space-l); margin-left: auto; }
.utility__links a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    min-block-size: var(--target-min);
    color: var(--text-strong);
    text-decoration: none;
}
.utility__links a:hover { color: var(--tertiary-on-soft); }
.utility__links svg { color: var(--tertiary-line); flex: none; }
.utility__phone { font-weight: 700; }

.open-status { display: flex; align-items: center; gap: var(--space-2xs); }
.open-status[hidden] { display: none; }
.open-status__dot {
    display: inline-block;
    inline-size: 0.625rem;
    block-size: 0.625rem;
    flex: none;
    border-radius: var(--radius-round);
    background: var(--text-quiet);
}
.open-status.is-open .open-status__dot { background: var(--tertiary-line); }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header { position: relative; background: var(--sand); }
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-s) var(--space-l);
    padding-block: var(--space-s) calc(var(--space-s) + var(--roof-h-hero));
}
.site-header__logo { display: flex; flex: none; }
.site-header__logo img { block-size: 3.625rem; inline-size: auto; }

.site-nav__list { display: flex; align-items: center; gap: var(--space-2xs) var(--space-l); }
.site-nav__list > li { position: relative; }
.site-nav__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    min-block-size: var(--target-min);
    font-size: var(--size-0);
    font-weight: 700;
    line-height: var(--leading);
    color: var(--text-strong);
    text-decoration: none;
    white-space: nowrap;
}
.site-nav__link:hover { color: var(--link); }
.site-nav__home { display: none; color: var(--brand-line); flex: none; }
.site-nav__link[aria-current="page"],
.site-nav__toggle.is-current { color: var(--link); }
.site-nav__link[aria-current="page"] .site-nav__home,
.site-nav__toggle.is-current .site-nav__home { display: block; }
.site-nav__chev { flex: none; transition: transform var(--duration-base) var(--ease-out); }
.site-nav__toggle[aria-expanded="true"] .site-nav__chev { transform: rotate(180deg); }

.site-nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: calc(-1 * var(--space-s));
    z-index: var(--layer-overlay);
    inline-size: max-content;
    min-inline-size: 17.5rem;
    max-inline-size: 21.25rem;
    padding: var(--space-2xs);
    background: var(--surface);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-l);
}
.site-nav__group.is-open > .site-nav__menu { display: grid; gap: var(--space-3xs); }
.site-nav__menu a {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xs);
    padding: var(--space-xs) var(--space-s);
    font-size: var(--size-0);
    font-weight: 700;
    line-height: var(--leading);
    color: var(--text-strong);
    text-decoration: none;
    border-radius: var(--radius-s);
}
.site-nav__menu a span { font-size: var(--text-small); font-weight: 400; line-height: var(--leading); color: var(--text); }
.site-nav__menu a:hover,
.site-nav__menu a[aria-current="page"] { background: var(--sand); color: var(--link); }

.site-header__actions { display: flex; align-items: center; gap: var(--space-2xs); }
.site-header__book { min-block-size: 3.125rem; }

/* The search trigger: a 44px-plus magnifier, round as the design's */
.search-trigger {
    justify-content: center;
    inline-size: 3.125rem;
    min-inline-size: 0;
    block-size: 3.125rem;
    padding: 0;
    color: var(--text-strong);
    background: transparent;
    border-color: transparent;
    border-radius: var(--radius-pill);
}
.search-trigger:hover { background: var(--secondary-solid); color: var(--secondary-on-solid); border-color: transparent; }
.search-trigger__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    inline-size: var(--target-min);
    block-size: var(--target-min);
    color: var(--text-strong);
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
    display: block;
    inline-size: 1.375rem;
    block-size: var(--border-width-m);
    background: currentColor;
    border-radius: var(--radius-xs);
    transition: transform var(--duration-base) var(--ease-out), opacity var(--duration-fast) var(--ease-out);
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -0.4375rem; }
.menu-toggle__bars::after { top: 0.4375rem; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(0.4375rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-0.4375rem) rotate(-45deg); }

/* The header's phone layout: the menu behind a toggle, the search and
 * booking buttons still in the bar. The desktop menu, search and booking button need about 1260px (measured: the button ran off the edge below that). */
@media (max-width: 1259px) {
    .menu-toggle { display: inline-flex; }
    .site-header__logo img { block-size: 2.75rem; }
    .site-nav {
        display: none;
        position: absolute;
        top: calc(100% - var(--roof-h-hero));
        inset-inline: 0;
        z-index: var(--layer-overlay);
        padding: var(--space-s) var(--grid-gutter) var(--space-m);
        background: var(--surface);
        box-shadow: var(--shadow-l);
        max-block-size: calc(100dvh - 8rem);
        overflow-y: auto;
    }
    .menu-open .site-nav { display: block; }
    .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav__list > li { border-bottom: var(--border-width-s) solid var(--rule); }
    .site-nav__link { inline-size: 100%; min-block-size: 3rem; }
    .site-nav__chev { margin-left: auto; }
    .site-nav__menu { position: static; inline-size: auto; min-inline-size: 0; max-inline-size: none; box-shadow: none; padding: 0 0 var(--space-xs); }
    .site-nav__home { display: none !important; }
}
@media (max-width: 479px) {
    .site-header__book { padding-inline: var(--space-s); }
    .site-header__logo img { block-size: 2.25rem; }
    .utility__links li:first-child { display: none; }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { background: var(--surface); }
.hero__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 28.75rem), 1fr));
    gap: var(--space-xl) var(--space-2xl);
    align-items: stretch;
}
.hero__copy { display: flex; flex-direction: column; justify-content: center; gap: var(--space-m); }
.hero__copy > * { margin: 0; }
.hero__copy .lede { max-width: 30em; }

.hero__card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-m);
}
@media (min-width: 1024px) {
    .hero__card { min-block-size: 32.5rem; }
}
.hero__art {
    position: relative;
    flex: 1;
    display: grid;
    place-items: end center;
    min-block-size: 15rem;
    padding-top: var(--space-xl);
    background: var(--sand);
    overflow: hidden;
}
/* A paper house behind the mark, with the logo's tree faint either side */
.hero__art::before {
    content: "";
    position: absolute;
    inset: 16% 22% 0;
    background: var(--surface);
    --roof-h: 40%;
}
.hero__art::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 2%;
    inline-size: 26%;
    aspect-ratio: 411 / 620;
    background: var(--secondary-line);
    opacity: 0.22;
    -webkit-mask: url('/assets/images/tree-mask.e59c803799.svg') center bottom / contain no-repeat;
    mask: url('/assets/images/tree-mask.e59c803799.svg') center bottom / contain no-repeat;
}
.hero__art img {
    position: relative;
    z-index: var(--layer-base);
    inline-size: auto;
    block-size: 15rem;   /* fixed: a percentage here sized the panel from the image's full height */
    margin-bottom: var(--space-xl);
}
.hero__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.375rem), 1fr));
}
.hero__facts > li { padding: var(--space-s) var(--space-m); border-left: var(--border-width-s) solid var(--border); }
.hero__facts > li:first-child { border-left: 0; }
.hero__fact, .open-status--stacked { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3xs); margin: 0; }
.open-status--stacked strong { display: inline-flex; align-items: center; gap: var(--space-2xs); }
.hero__fact strong, .open-status--stacked strong { color: var(--text-strong); }
.hero__fact span, .hero__fact a, .open-status--stacked > span { font-size: var(--text-small); line-height: var(--leading); color: var(--text); }
.hero__fact a { color: var(--text-strong); }
[data-open-status]:not([hidden]) + .hero__fact--fallback { display: none; }

/* ── Suburbs marquee ──────────────────────────────────────────────────── */
.suburbs { background: var(--sand); }
.suburbs__label {
    margin: 0 0 var(--space-2xs);
    font-family: var(--font-body);
    font-size: var(--text-small);
    font-weight: 700;
    line-height: var(--leading);
    letter-spacing: 0.03em;
    color: var(--on-soft);
}
.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, var(--text-strong) 6%, var(--text-strong) 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, var(--text-strong) 6%, var(--text-strong) 94%, transparent);
}
.marquee__track { display: flex; inline-size: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
    display: inline-flex;
    align-items: center;
    gap: var(--space-m);
    padding-right: var(--space-m);
    font-family: var(--font-heading);
    font-size: var(--size-2);
    font-weight: 700;
    line-height: var(--leading);
    color: var(--text-strong);
    white-space: nowrap;
}
/* A leaf between names, alternately turned */
.marquee__track span::after {
    content: "";
    display: block;
    inline-size: 0.875rem;
    block-size: 0.875rem;
    background: var(--brand-line);
    border-radius: 0 100% 0 100%;
}
.marquee__track span:nth-child(even)::after { transform: rotate(90deg); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .marquee__track { animation: none; flex-wrap: wrap; inline-size: auto; }
    .marquee__track span:nth-child(n+7) { display: none; }
    .marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ── Highlights: house cards on the terracotta ────────────────────────── */
.highlights .section-title { margin-bottom: var(--space-l); }
.house-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: var(--space-s);
}
.house-card {
    display: flex;
    flex-direction: column;
    block-size: 100%;
    color: var(--text);
    text-decoration: none;
    transition: transform var(--duration-base) var(--ease-out);
}
.house-card:hover { transform: translateY(-0.375rem); color: var(--text); }
.house-card__roof {
    position: relative;
    display: grid;
    place-items: center;
    block-size: 6.5rem;
    margin-bottom: calc(-1 * var(--border-width-s));
    padding-top: var(--space-l);
    background: var(--surface);
    --roof-h: 100%;
}
.house-card__roof .cross { color: var(--brand-line); }
.house-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2xs);
    padding: var(--space-2xs) var(--space-s) var(--space-xs);
    text-align: center;
    background: var(--surface);
    border-radius: 0 0 var(--radius-m) var(--radius-m);
}
.house-card__title {
    font-family: var(--font-heading);
    font-size: var(--size-1);
    font-weight: 800;
    line-height: var(--leading);
    color: var(--text-strong);
}
.house-card__text { flex: 1; font-size: var(--text-small); line-height: var(--leading); }
.house-card__cta { font-size: var(--text-small); font-weight: 700; line-height: var(--leading); color: var(--link); }

/* ── Welcome ──────────────────────────────────────────────────────────── */
.welcome { background: var(--surface); }
.fact-list > li {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    padding-block: var(--space-s);
    border-bottom: var(--border-width-s) solid var(--rule);
}
/* The leaf marker */
.fact-list > li::before {
    content: "";
    flex: none;
    inline-size: 1.125rem;
    block-size: 1.125rem;
    background: var(--brand-line);
    border-radius: 0 100% 0 100%;
}
.fact-list > li:nth-child(even)::before { transform: rotate(90deg); }

/* ── Services band ────────────────────────────────────────────────────── */
.services-band { timeline-scope: --svc; }
.band-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: var(--space-m) var(--space-xl);
    margin-bottom: var(--space-l);
}
.band-head .section-title { color: var(--text-strong); }
.scroller-buttons { display: flex; gap: var(--space-xs); }

.service-track {
    display: flex;
    gap: var(--space-m);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: var(--space-3xs) var(--content-inset) var(--space-xs);
    scroll-padding-inline: var(--content-inset);
    scroll-timeline: --svc x;
}
.service-track::-webkit-scrollbar { display: none; }
.service-track:focus-visible { outline-offset: calc(var(--border-width-m) * -1); }
.service-card {
    flex: 0 0 min(80%, 20rem);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-m);
    background: var(--band-card);
    border-radius: var(--radius-m);
}
.service-card > * { margin: 0; }
.service-card__num {
    font-family: var(--font-heading);
    font-size: var(--size-4);
    font-weight: 800;
    line-height: var(--leading);
    letter-spacing: -0.02em;
    color: var(--tertiary-line);
}
.service-card h3 { font-size: var(--size-1); font-weight: 700; line-height: var(--leading); letter-spacing: 0; color: var(--text-strong); }
.service-card p { flex: 1; font-size: var(--text-small); line-height: var(--leading); color: var(--text); }
.service-card a { font-size: var(--text-small); font-weight: 700; line-height: var(--leading); color: var(--tertiary-on-soft); }

.scroller-progress {
    block-size: var(--border-width-m);
    margin-top: var(--space-s);
    background: var(--border);
    border-radius: var(--radius-xs);
    overflow: hidden;
}
.scroller-progress span {
    display: block;
    block-size: 100%;
    background: var(--tertiary-line);
    transform-origin: left center;
}
@supports (animation-timeline: scroll()) {
    .scroller-progress span { animation: scroller-progress linear both; animation-timeline: --svc; }
}
@keyframes scroller-progress { from { transform: scaleX(0.15); } to { transform: scaleX(1); } }

.also-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-m) var(--space-xl);
    margin-top: var(--space-l);
}
.also-row strong { margin-right: var(--space-2xs); }

/* ── Doctors ──────────────────────────────────────────────────────────── */
.doctors { background: var(--sand); }
.doctor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.75rem), 1fr));
    gap: var(--space-m);
}
.doctor-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
    padding: var(--space-l) var(--space-m);
    background: var(--surface);
    border-radius: var(--radius-m);
}
.doctor-card > * { margin: 0; }
.doctor-card__head {
    display: flex;
    align-items: flex-start;
    gap: var(--space-s);
    padding-bottom: var(--space-s);
    border-bottom: var(--border-width-s) solid var(--rule);
}
.doctor-card__head > div:last-child > * { margin: 0; }
.doctor-card__avatar { flex: none; inline-size: 4rem; aspect-ratio: 1; border-radius: var(--radius-m); }
.doctor-card h3 { font-size: var(--size-1); font-weight: 800; line-height: var(--leading); letter-spacing: -0.01em; }
.doctor-card__role { font-size: var(--text-small); font-weight: 700; line-height: var(--leading); color: var(--on-soft); }
.doctor-card__label {
    font-size: var(--text-small);
    font-weight: 700;
    line-height: var(--leading);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-strong);
}
.doctor-card__bio { font-size: var(--text-small); line-height: var(--leading); white-space: pre-line; }

/* ── Fees ─────────────────────────────────────────────────────────────── */
.fees { background: var(--surface); }
.fees-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
    padding: var(--space-xl) var(--space-l);
    border-radius: var(--radius-m);
}
.fees-card > * { margin: 0; }
.fees-card .lede { max-width: 22em; }
.fees-card__cta { margin-top: auto; padding-top: var(--space-s); }

.rule-list { display: flex; flex-direction: column; justify-content: center; }
.rule-list > * { margin: 0; padding-block: var(--space-m); border-bottom: var(--border-width-s) solid var(--rule); }
.rule-list > :first-child { padding-top: 0; }
.rule-list > :last-child { padding-bottom: 0; border-bottom: 0; }
.rule-list h3 { margin: 0 0 var(--space-2xs); font-size: var(--size-1); font-weight: 800; line-height: var(--leading); letter-spacing: -0.01em; }
.rule-list p { margin: 0; }

/* ── After hours ──────────────────────────────────────────────────────── */
.after-hours { background: var(--sand); }
.emergency-card {
    display: flex;
    align-items: center;
    gap: var(--space-m);
    padding: var(--space-m) var(--space-l);
    border-radius: var(--radius-m);
    text-decoration: none;
    transition: background var(--duration-fast) var(--ease-out);
}
.emergency-card:hover { background: var(--band-card); color: var(--text); }
.emergency-card .cross { color: var(--tertiary-line); }
.emergency-card__text { display: flex; flex-direction: column; gap: var(--space-3xs); font-size: var(--size-1); line-height: var(--leading); }
.emergency-card__label { font-size: var(--text-small); font-weight: 700; line-height: var(--leading); color: var(--tertiary-on-soft); }
.emergency-card__num {
    font-family: var(--font-heading);
    font-size: var(--size-4);
    font-weight: 800;
    line-height: var(--leading-heading);
    vertical-align: -0.1em;
    color: var(--text-strong);
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { padding-block: calc(var(--roof-h) + var(--space-2xl)) var(--space-l); }
.site-footer__inner { display: flex; flex-direction: column; gap: var(--space-xl); }
.site-footer__lead { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-m) var(--space-l); }
.site-footer__lead img { block-size: 6rem; inline-size: auto; }
.site-footer__lead p {
    margin: 0;
    max-width: 20em;
    font-family: var(--font-heading);
    font-size: var(--size-3);
    font-weight: 700;
    line-height: var(--leading-heading);
    color: var(--text-strong);
    text-wrap: balance;
}
.site-footer__cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
    gap: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: var(--border-width-s) solid var(--border);
}
.site-footer__cols p, .site-footer address { margin: 0 0 var(--space-2xs); font-style: normal; }
.site-footer address { margin-bottom: var(--space-s); }
.footer-head {
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
    margin: 0 0 var(--space-s);
    font-size: var(--text-small);
    font-weight: 700;
    line-height: var(--leading);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tertiary-on-soft);
}
.footer-head svg { flex: none; color: var(--tertiary-line); }
.site-footer a:not(.btn) { color: var(--text-strong); text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--tertiary-on-soft); text-decoration: none; }  /* the colour change is the cue */
.site-footer__phone a { font-family: var(--font-heading); font-size: var(--size-2); font-weight: 800; line-height: var(--leading); }
.footer-links a { display: inline-flex; align-items: center; min-block-size: var(--target-min); }
.hours-list { display: grid; gap: var(--space-3xs); margin: 0 0 var(--space-xs); }
.hours-list__row { display: flex; justify-content: space-between; gap: var(--space-s); max-inline-size: 16rem; }
.hours-list dt { margin: 0; }
.hours-list dd { margin: 0; font-weight: 700; color: var(--text-strong); white-space: nowrap; }
.hours-note { font-size: var(--text-small); line-height: var(--leading); }
.site-footer__base {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-xs) var(--space-l);
    padding-top: var(--space-m);
    border-top: var(--border-width-s) solid var(--border);
    font-size: var(--text-small);
    line-height: var(--leading);
}
.site-footer__base p { margin: 0; }
.footer-policies { display: flex; flex-wrap: wrap; gap: 0 var(--space-m); }
.footer-policies a { display: inline-flex; align-items: center; min-block-size: var(--target-min); }
.powered-by { display: flex; align-items: center; gap: var(--space-xs); margin: 0; font-size: var(--text-small); line-height: var(--leading); color: var(--text-muted); }
.powered-by img { inline-size: 6rem; block-size: auto; }

/* ═══ Inner pages ════════════════════════════════════════════════════════
 * The pieces every page after the homepage shares: the page hero (on the
 * terracotta or the paper), the house panel, the closing call-to-action
 * band, and the "on this page" document layout for the long pages. */

/* ── Page hero ────────────────────────────────────────────────────────── */
.page-hero { padding-block: calc(var(--roof-h-hero) + var(--space-l-xl)) calc(var(--space-l-xl) + var(--space-xl-2xl)); }
.page-hero--paper { background: var(--surface); }
.page-hero__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
    gap: var(--space-xl) var(--space-2xl);
    align-items: center;
}
.page-hero__copy { display: flex; flex-direction: column; gap: var(--space-s); }
.page-hero__copy > * { margin: 0; }
.page-hero__copy .btn-row { margin-top: var(--space-xs); }
.page-hero h1 {
    margin: 0;
    font-size: var(--size-7);
    font-weight: 800;
    line-height: var(--leading-heading);
    letter-spacing: -0.035em;
}
.page-hero .lede { max-width: 32em; }
.band-brand .eyebrow:not(.eyebrow--gold) { color: var(--sand); }
.band-brand .is-dark .eyebrow--gold { color: var(--tertiary-on-soft); }

/* Buttons on the terracotta: paper, and an outline in the fill's text colour */
.band-brand .btn--outline { color: var(--brand-on-solid); border-color: var(--brand-on-solid); }
.band-brand .btn--outline:hover { background: var(--brand-on-solid); color: var(--brand-solid); }
.band-brand .btn--primary { background: var(--surface); color: var(--text-strong); }
.band-brand .btn--primary:hover { background: var(--sand); color: var(--text-strong); }
/* Gold on the olive */
.btn--gold { background: var(--tertiary-solid); color: var(--tertiary-on-solid); border-color: var(--tertiary-solid); }
.btn--gold:hover { background: color-mix(in oklch, var(--tertiary-solid), var(--mix-hover)); color: var(--tertiary-on-solid); }
.is-dark .btn--outline { color: var(--text-strong); border-color: var(--text-strong); }

/* ── House panel: a card with a gable roof ───────────────────────────── */
.house-panel {
    --peak: var(--space-2xl);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
    padding: calc(var(--peak) + var(--space-m)) var(--space-l) var(--space-l);
    background: var(--surface);
    color: var(--text);
    border-radius: 0 0 var(--radius-m) var(--radius-m);
    --roof-h: var(--peak);
}
.house-panel > * { margin: 0; }
.house-panel--sand { background: var(--sand); }
.house-panel--art {
    align-items: center;
    justify-content: flex-end;
    min-block-size: 22rem;
    background: var(--sand);
    overflow: hidden;
}
.house-panel--art img { position: relative; z-index: var(--layer-base); block-size: 11rem; inline-size: auto; }
.house-panel--art::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 4%;
    inline-size: 24%;
    aspect-ratio: 411 / 620;
    background: var(--secondary-line);
    opacity: 0.22;
    -webkit-mask: url('/assets/images/tree-mask.e59c803799.svg') center bottom / contain no-repeat;
    mask: url('/assets/images/tree-mask.e59c803799.svg') center bottom / contain no-repeat;
}
.house-panel h3 { font-size: var(--size-2); font-weight: 800; line-height: var(--leading); letter-spacing: -0.015em; }
ul.card-grid > .house-panel h3 { font-size: var(--size-1); line-height: var(--leading); }
.house-panel__icon { align-self: center; color: var(--brand-line); }

/* A hero aside: the art panel with a small olive note beside it */
.hero-aside { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--space-s); align-items: stretch; }
.hero-aside .note-card { align-self: start; }
@media (max-width: 599px) { .hero-aside { grid-template-columns: 1fr; } }

.note-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
    padding: var(--space-m);
    border-radius: var(--radius-m);
}
.note-card > * { margin: 0; }
.note-card__big {
    font-family: var(--font-heading);
    font-size: var(--size-5);
    font-weight: 800;
    line-height: var(--leading-heading);
    color: var(--text-strong);
}
.note-card__title { font-family: var(--font-heading); font-size: var(--size-0); font-weight: 800; line-height: var(--leading); color: var(--text-strong); }
.note-card .cross { color: var(--tertiary-line); }

/* ── Section heads and grounds ───────────────────────────────────────── */
.section-head { margin-bottom: var(--space-xl); }
.section-head > * { margin: 0; }
.section-head .section-title + * { margin-top: var(--space-s); }
.section-head--center { text-align: center; max-width: 46rem; margin-inline: auto; }
.is-dark .section-title { color: var(--text-strong); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); gap: var(--space-m); }
.card-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr)); }

/* A plain card on any ground */
.panel {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-l);
    background: var(--surface);
    color: var(--text);
    border-radius: var(--radius-m);
}
.panel > * { margin: 0; }
.panel--sand { background: var(--sand); }
.is-dark .panel--band { background: var(--band-card); color: var(--text); }
.panel h3 { font-size: var(--size-2); font-weight: 800; line-height: var(--leading); letter-spacing: -0.015em; color: var(--text-strong); }

/* Icon lists: a leaf or a small icon before each line, ruled */
.icon-list > li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-s);
    padding-block: var(--space-xs);
    border-bottom: var(--border-width-s) solid var(--rule);
}
.is-dark .icon-list > li { border-color: var(--border); }
.icon-list > li:last-child { border-bottom: 0; }
.icon-list > li::before {
    content: "";
    flex: none;
    inline-size: 1rem;
    block-size: 1rem;
    margin-top: var(--space-2xs);
    background: var(--brand-line);
    border-radius: 0 100% 0 100%;
}
.is-dark .icon-list > li::before { background: var(--tertiary-line); }
.icon-list > li:nth-child(even)::before { transform: rotate(90deg); }

.note {
    display: flex;
    gap: var(--space-xs);
    padding: var(--space-s) var(--space-m);
    font-size: var(--text-small);
    line-height: var(--leading);
    background: var(--sand);
    border-radius: var(--radius-m);
}
.note .cross { inline-size: 1rem; block-size: 1rem; margin-top: var(--space-3xs); }

/* ── Closing call-to-action band ─────────────────────────────────────── */
.cta-band__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-m) var(--space-xl);
}
.cta-band__inner > div > * { margin: 0; }
.cta-band__inner .section-title + p { margin-top: var(--space-xs); }
.cta-band .section-title { color: inherit; }
.cta-band:not(.band-brand) .section-title { color: var(--text-strong); }

/* ── Document layout: "On this page" beside numbered sections ────────── */
.doc { display: grid; grid-template-columns: 15rem 1fr; gap: var(--space-xl) var(--space-2xl); align-items: start; }
.toc {
    position: sticky;
    top: var(--space-m);
    max-block-size: calc(100vh - var(--space-xl));
    overflow-y: auto;
    padding: var(--space-m) var(--space-s);
    background: var(--surface);
    border-radius: var(--radius-m);
}
.toc__title { margin: 0 var(--space-2xs) var(--space-2xs); font-family: var(--font-heading); font-size: var(--size-0); font-weight: 800; line-height: var(--leading); color: var(--text-strong); }
.toc__group { margin: var(--space-s) var(--space-2xs) var(--space-3xs); font-size: var(--text-small); font-weight: 700; line-height: var(--leading); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-soft); }
.toc a {
    display: block;
    padding: var(--space-3xs) var(--space-2xs);
    font-size: var(--text-small);
    font-weight: 700;
    line-height: var(--leading);
    color: var(--text-strong);
    text-decoration: none;
    border-radius: var(--radius-s);
}
.toc a:hover { background: var(--sand); color: var(--link); }
@media (max-width: 899px) {
    .doc { grid-template-columns: 1fr; }
    .toc { position: static; max-block-size: none; }
}

.doc-group + .doc-group { margin-top: var(--space-l); }
.doc-group > .eyebrow { margin-bottom: var(--space-s); }
.doc-section {
    display: grid;
    grid-template-columns: var(--space-2xl) 1fr;
    gap: var(--space-s);
    padding-block: var(--space-s) var(--space-m);
    border-bottom: var(--border-width-s) solid var(--rule);
    scroll-margin-top: var(--space-m);
}
.doc-section:last-child { border-bottom: 0; }
.doc-section__num {
    padding-top: var(--space-xs);
    font-family: var(--font-heading);
    font-size: var(--text-small);
    font-weight: 800;
    line-height: var(--leading);
    letter-spacing: 0.08em;
    color: var(--on-soft);
}
.doc-section h2 {
    margin: 0 0 var(--space-xs);
    font-size: var(--size-3);
    font-weight: 800;
    line-height: var(--leading-heading);
    letter-spacing: -0.02em;
}
@media (max-width: 599px) {
    .doc-section { grid-template-columns: 1fr; gap: 0; }
    .doc-section__num { padding-top: 0; }
}

/* Prose: rich text from the app and long copy */
.prose > * { margin: 0 0 var(--space-s); }
.prose > :last-child { margin-bottom: 0; }
.prose h3 { margin-top: var(--space-m); font-size: var(--size-1); font-weight: 800; line-height: var(--leading); }
.prose ul { padding-left: 0; list-style: none; }
.prose ul > li { position: relative; padding-left: var(--space-m); }
.prose ul > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: var(--space-xs);
    inline-size: 0.75rem;
    block-size: 0.75rem;
    background: var(--brand-line);
    border-radius: 0 100% 0 100%;
}
.prose a:not(.btn) { font-weight: 700; }

/* Contact facts in a definition grid */
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: var(--space-m); margin: 0; }
.fact-grid > div > * { margin: 0; }
.fact-grid dt { font-size: var(--text-small); font-weight: 700; line-height: var(--leading); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-soft); }

/* Price tables */
.price-table { margin: 0; }
.price-table th { font-size: var(--text-small); font-weight: 700; line-height: var(--leading); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-soft); border-bottom: var(--border-width-m) solid var(--line); }
.price-table th:last-child, .price-table td:last-child { text-align: right; }
.price-table td { padding-block: var(--space-xs); border-bottom: var(--border-width-s) solid var(--rule); }
.is-dark .price-table td { border-color: var(--border); }
.price-table td:last-child { font-family: var(--font-heading); font-size: var(--size-1); font-weight: 800; line-height: var(--leading); color: var(--text-strong); white-space: nowrap; }
.is-dark .price-table th { color: var(--tertiary-on-soft); border-color: var(--tertiary-line); }

/* ── About ────────────────────────────────────────────────────────────── */
.chip--paper { background: var(--surface); }
.stack-l { display: flex; flex-direction: column; gap: var(--space-xl); }
.plant--left { left: calc(var(--content-inset) - 17rem); transform: scaleX(-1); }
/* The inner pages' trees, as in the design: olive at 30% on the paper, gold
 * at 16% on the olive bands. (The homepage's stay olive at 17%, from .plant.) */
.plant--left, .plant--right { color: var(--secondary-solid); opacity: 0.3; }
.is-dark .plant--left, .is-dark .plant--right { color: var(--tertiary-solid); opacity: 0.16; }
.logo-knockout { justify-self: end; inline-size: min(20rem, 100%); block-size: auto; }
.house-panel.is-light { background: var(--surface); }

.timeline { position: relative; display: flex; flex-direction: column; gap: var(--space-m); }
.timeline > li { position: relative; display: flex; flex-direction: column; padding-left: var(--space-xl); }
.timeline > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: var(--space-3xs);
    inline-size: var(--space-m);
    block-size: var(--space-m);
    border-radius: var(--radius-round);
    background: var(--sand);
    border: var(--border-width-l) solid var(--brand-line);
}
.timeline > li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: calc(var(--space-m) / 2 - var(--border-width-s));
    top: calc(var(--space-m) + var(--space-2xs));
    bottom: calc(-1 * var(--space-s));
    border-left: var(--border-width-m) solid var(--brand-line);
}
.timeline strong { font-family: var(--font-heading); font-size: var(--size-2); font-weight: 800; line-height: var(--leading); color: var(--on-soft); }
.timeline__now strong { font-size: var(--size-3); }

.media-frame--map { aspect-ratio: 4 / 3; background: var(--sand); }

.feedback-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
    gap: var(--space-s) var(--space-2xl);
    align-items: center;
    padding: var(--space-l) var(--space-xl);
    background: var(--sand);
    border-radius: var(--radius-m);
}
.feedback-panel > * { margin: 0; }
.feedback-panel .section-title { display: flex; align-items: center; gap: var(--space-s); }
.feedback-panel .cross { color: var(--brand-line); inline-size: 2.5rem; block-size: 2.5rem; }

/* ── Doctors & Staff ──────────────────────────────────────────────────── */
.plant--right { right: calc(var(--content-inset) - 17rem); }
.profile-list { display: flex; flex-direction: column; gap: var(--space-m); }
.profile { overflow: hidden; border-radius: var(--radius-m); background: var(--surface); color: var(--text); }
.profile__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-s) var(--space-m);
    padding: var(--space-m) var(--space-l);
}
.profile__avatar { flex: none; inline-size: 4.5rem; aspect-ratio: 1; border-radius: var(--radius-m); }
.profile__name { flex: 1; min-inline-size: 14rem; }
.profile__name > * { margin: 0; }
.profile__name .eyebrow { margin-bottom: var(--space-3xs); }
.profile__name h3 { font-size: var(--size-4); font-weight: 800; line-height: var(--leading-heading); letter-spacing: -0.02em; color: var(--text-strong); }
.profile__name p:last-child { font-size: var(--text-small); line-height: var(--leading); }
.profile__body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
    gap: var(--space-m) var(--space-xl);
    padding: var(--space-l);
}
.profile__bio > * { margin: 0 0 var(--space-s); white-space: pre-line; }
.profile__bio:not(:has(*)), .profile__facts:not(:has(*)) { display: none; }
.profile__body:not(:has(p, dd)) { display: none; }
.profile__facts { display: flex; flex-direction: column; gap: var(--space-s); margin: 0; }
.profile__facts > div { display: grid; grid-template-columns: 7rem 1fr; gap: var(--space-xs); align-items: start; }
.profile__facts dt { padding-top: var(--space-3xs); font-size: var(--text-small); font-weight: 700; line-height: var(--leading); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-soft); }
.profile__facts dd { margin: 0; }
.staff-rich-text { margin-top: var(--space-l); }

/* ── Services ─────────────────────────────────────────────────────────── */
.jump-bar {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    margin-top: var(--space-xl);
    padding: var(--space-xs) var(--space-s);
    border-radius: var(--radius-m);
}
.jump-bar__label { flex: none; margin: 0; font-size: var(--text-small); font-weight: 700; line-height: var(--leading); letter-spacing: 0.12em; text-transform: uppercase; color: var(--tertiary-on-soft); }
.jump-bar ul { display: flex; gap: var(--space-2xs); overflow-x: auto; scrollbar-width: none; padding-block: var(--space-3xs); }
.band-brand .jump-bar a {
    display: inline-flex;
    align-items: center;
    min-block-size: var(--target-min);
    padding-inline: var(--space-s);
    font-size: var(--text-small);
    font-weight: 700;
    line-height: var(--leading);
    color: var(--text-strong);
    text-decoration: none;
    white-space: nowrap;
    background: var(--band-card);
    border-radius: var(--radius-pill);
}
.band-brand .jump-bar a:hover { background: var(--tertiary-solid); color: var(--tertiary-on-solid); }
.jump-bar a:focus-visible { outline-offset: calc(var(--border-width-m) * -1); }

.service-section { scroll-margin-top: var(--space-m); }
.service-section__num {
    font-family: var(--font-heading);
    font-size: var(--size-3);
    font-weight: 800;
    line-height: var(--leading);
    color: var(--brand-line);
}
.is-dark .service-section__num { color: var(--tertiary-line); }
.icon-list--l > li { padding-block: var(--space-s); }
.is-dark .note { background: var(--band-card); }
.is-dark .note .cross { color: var(--tertiary-line); }
.note .cross { color: var(--brand-line); }
@media (min-width: 900px) {
    .split--flip > :first-child { order: 2; }
}
.services-all { margin-top: var(--space-m); }
.services-all__list ul { columns: 3 15rem; column-gap: var(--space-xl); }
.services-all__list li { break-inside: avoid; }

/* ── Fees, patient information ────────────────────────────────────────── */
.icon-title { display: flex; align-items: center; gap: var(--space-s); }
.icon-title .cross { color: var(--tertiary-line); }
.house-panel .price-table { margin-top: var(--space-2xs); }
.fees-info { margin-top: var(--space-m); }
.panel .cross { color: var(--brand-line); }
.band-brand.panel { background: var(--brand-solid); color: var(--brand-on-solid); }
.band-brand .section-title { color: var(--brand-on-solid); }
.contact-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: var(--space-s); }
.contact-pair .panel { padding: var(--space-m); }
.contact-pair h3 { margin: 0; font-size: var(--size-0); }

/* ── Contact ──────────────────────────────────────────────────────────── */
.contact-cards { display: flex; flex-direction: column; gap: var(--space-xs); }
.contact-card { display: flex; flex-direction: column; gap: var(--space-3xs); padding: var(--space-m) var(--space-l); border-radius: var(--radius-m); }
.contact-card > * { margin: 0; }
.contact-card--hours { background: var(--sand); }
.contact-card__big, .contact-card__mid { font-family: var(--font-heading); font-weight: 800; letter-spacing: -0.01em; color: var(--text-strong); font-style: normal; }
.contact-card__big { font-size: var(--size-4); line-height: var(--leading-heading); }
.contact-card__mid { font-size: var(--size-2); line-height: var(--leading); }
.contact-card__mid span { font-family: var(--font-body); font-size: var(--size-0); font-weight: 400; line-height: var(--leading); }
.band-brand .contact-card__big, .band-brand .contact-card__big a { color: var(--brand-on-solid); text-decoration: none; }
.contact-card__row { display: flex; justify-content: space-between; align-items: center; gap: var(--space-s); }
.contact-card__row > * { margin: 0; }
.contact-card--hours .open-status { font-size: var(--text-small); line-height: var(--leading); }
.contact-card--hours .open-status__dot { background: var(--text-quiet); }
.contact-card--hours .open-status.is-open .open-status__dot { background: var(--brand-line); }
.hours-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: var(--space-s); margin: var(--space-2xs) 0 0; }
.hours-cols dt { font-weight: 700; color: var(--text-strong); }
.hours-cols dd { margin: 0; font-family: var(--font-heading); font-size: var(--size-1); font-weight: 800; line-height: var(--leading); color: var(--on-soft); }

.media-frame--wide { background: var(--band-card); }
.getting-here { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: var(--space-s); margin-top: var(--space-s); }
.getting-here__transit { grid-column: span 2; }
@media (max-width: 899px) { .getting-here__transit { grid-column: auto; } }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: var(--space-xs) var(--space-l); counter-reset: step; }
.steps > li { display: flex; gap: var(--space-xs); counter-increment: step; }
.steps > li::before { content: counter(step); flex: none; font-family: var(--font-heading); font-weight: 800; color: var(--tertiary-on-soft); }

.closed-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: var(--space-s); align-items: stretch; }
.closed-grid > div { align-self: center; }
.closed-grid > div > * { margin: 0; }
.phone-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
    padding: var(--space-m);
    border-radius: var(--radius-m);
    text-decoration: none;
    color: var(--text);
    transition: transform var(--duration-base) var(--ease-out);
}
.phone-card:hover { transform: translateY(-0.25rem); color: var(--text); }
.phone-card__label { font-size: var(--text-small); font-weight: 700; line-height: var(--leading); color: var(--on-soft); }
.phone-card.is-dark .phone-card__label { color: var(--tertiary-on-soft); }
.phone-card__num { font-family: var(--font-heading); font-size: var(--size-3); font-weight: 800; line-height: var(--leading-heading); color: var(--text-strong); }
.phone-card > span:last-child { font-size: var(--text-small); line-height: var(--leading); }

.message-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-xl) var(--space-2xl); align-items: start; }
@media (max-width: 899px) { .message-grid { grid-template-columns: 1fr; } }
.message-grid .panel h3 { color: var(--brand-on-solid); }
.form-panel { padding-inline: var(--space-l); }
.contact-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: var(--space-s); }
.contact-form > div { display: flex; flex-direction: column; gap: var(--space-3xs); }
.contact-form__full { grid-column: 1 / -1; }
.contact-form label { font-weight: 700; }
.contact-form :is(input, textarea) { inline-size: 100%; }
.contact-form .optional { font-weight: 400; }
.contact-form__foot { flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: var(--space-s) !important; }
.contact-form__foot .note { flex: 1; min-inline-size: 15rem; margin: 0; background: transparent; padding: 0; }

/* ── Policies and legal pages ─────────────────────────────────────────── */
.policy-card { display: flex; flex-direction: column; gap: var(--space-s); padding: var(--space-l); border-radius: var(--radius-m); }
.policy-card > * { margin: 0; }
.policy-links { display: flex; flex-direction: column; gap: var(--space-3xs); }
.policy-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-s);
    min-block-size: var(--target-min);
    padding: var(--space-xs) var(--space-s);
    font-family: var(--font-heading);
    font-size: var(--size-1);
    font-weight: 800;
    line-height: var(--leading);
    color: var(--text-strong);
    text-decoration: none;
    border-radius: var(--radius-s);
}
.policy-links a:hover { background: var(--band-card); color: var(--text-strong); }
.policy-links a[aria-current="page"] { background: var(--tertiary-solid); color: var(--tertiary-on-solid); }
.chip--leaf { gap: var(--space-2xs); }
.chip--leaf::before { content: ""; inline-size: 0.625rem; block-size: 0.625rem; background: var(--brand-line); border-radius: 0 100% 0 100%; }
.doc-intro { margin-bottom: var(--space-m); }

/* ── Patient hub, 404 ─────────────────────────────────────────────────── */
.hub-head { max-width: 46rem; }
.notfound-panel__code {
    font-family: var(--font-heading);
    font-size: var(--size-7);
    font-weight: 800;
    line-height: var(--leading-heading);
    letter-spacing: -0.04em;
    color: var(--brand-line);
}
.notfound-panel .icon-list a { font-weight: 700; }

/* ── Phone refinements ────────────────────────────────────────────────── */
@media (max-width: 479px) {
    .site-header__inner { gap: var(--space-2xs); }
    .site-header__actions { gap: 0; }
    .site-header__book { min-block-size: var(--target-min); padding: var(--space-3xs) var(--space-xs); font-size: var(--text-small); }
    .search-trigger { inline-size: var(--target-min); block-size: var(--target-min); }
    .profile__facts > div { grid-template-columns: 1fr; gap: var(--space-3xs); }
}
@media (max-width: 599px) {
    .page-hero .house-panel--art { display: none; }
    .hero-aside { grid-template-columns: 1fr; }
}


/* ── Growing trees and falling leaves ────────────────────────────────────
 * From the design: a tree grows when it scrolls into view (the trunk rises,
 * the branches draw out, the leaves open one after another), then a leaf
 * drifts down now and then. CSS only: assets/js/site.js adds .js-trees to
 * <html> and .is-grown / .is-visible to each .plant as it enters the view.
 * Without that script, or under reduced motion, the tree is simply there,
 * fully grown and still: the correct failure. Transform and opacity only. */
.tree__trunk { transform-box: fill-box; transform-origin: 50% 100%; }
.tree__branch { stroke-dasharray: 1; stroke-dashoffset: 0; }
.tree__leaf { transform-origin: 0 0; }
@media (prefers-reduced-motion: no-preference) {
    .js-trees .plant:not(.is-grown) .tree__trunk { transform: scaleY(0); }
    .js-trees .plant:not(.is-grown) .tree__branch { stroke-dashoffset: 1; }
    .js-trees .plant:not(.is-grown) .tree__leaf { transform: scale(0); }
    .js-trees .plant.is-grown .tree__trunk { transition: transform 1.4s cubic-bezier(0.3, 0.2, 0.45, 1); }  /* the branches wait for it to settle (delays from 1.48s), then sprout bottom to top */
    .js-trees .plant.is-grown .tree__branch { transition: stroke-dashoffset 0.6s var(--ease-out); }
    .js-trees .plant.is-grown .tree__leaf { transition: transform 0.8s cubic-bezier(0.3, 1.35, 0.5, 1); }
    .js-trees .plant.is-grown .tree .td-048 { transition-delay: 1.48s; }
    .js-trees .plant.is-grown .tree .td-057 { transition-delay: 1.57s; }
    .js-trees .plant.is-grown .tree .td-064 { transition-delay: 1.64s; }
    .js-trees .plant.is-grown .tree .td-072 { transition-delay: 1.72s; }
    .js-trees .plant.is-grown .tree .td-078 { transition-delay: 1.78s; }
    .js-trees .plant.is-grown .tree .td-080 { transition-delay: 1.80s; }
    .js-trees .plant.is-grown .tree .td-087 { transition-delay: 1.87s; }
    .js-trees .plant.is-grown .tree .td-088 { transition-delay: 1.88s; }
    .js-trees .plant.is-grown .tree .td-089 { transition-delay: 1.89s; }
    .js-trees .plant.is-grown .tree .td-093 { transition-delay: 1.93s; }
    .js-trees .plant.is-grown .tree .td-094 { transition-delay: 1.94s; }
    .js-trees .plant.is-grown .tree .td-097 { transition-delay: 1.97s; }
    .js-trees .plant.is-grown .tree .td-102 { transition-delay: 2.02s; }
    .js-trees .plant.is-grown .tree .td-104 { transition-delay: 2.04s; }
    .js-trees .plant.is-grown .tree .td-109 { transition-delay: 2.09s; }
    .js-trees .plant.is-grown .tree .td-110 { transition-delay: 2.10s; }
    .js-trees .plant.is-grown .tree .td-117 { transition-delay: 2.17s; }
    .js-trees .plant.is-grown .tree .td-119 { transition-delay: 2.19s; }
    .js-trees .plant.is-grown .tree .td-125 { transition-delay: 2.25s; }
    .js-trees .plant.is-grown .tree .td-127 { transition-delay: 2.27s; }
    .js-trees .plant.is-grown .tree .td-134 { transition-delay: 2.34s; }
    .js-trees .plant.is-grown .tree .td-142 { transition-delay: 2.42s; }
    .js-trees .plant.is-grown .tree .td-145 { transition-delay: 2.45s; }
}

/* Falling leaves: five, each on its own long cycle and path, so they never
 * fall in step. They run only while the grown tree is in view. */
.falling-leaves { position: absolute; inset: 0; pointer-events: none; }
.falling-leaf {
    position: absolute;
    top: 32%;
    left: 50%;
    inline-size: 1.375rem;
    block-size: 1.375rem;
    background: currentColor;
    border-radius: 0 100% 0 100%;
    opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
    .js-trees .plant.is-grown .falling-leaf {
        animation: leaf-fall 17s linear infinite;
        animation-play-state: paused;
    }
    .js-trees .plant.is-grown.is-visible .falling-leaf { animation-play-state: running; }
    .falling-leaf.fl1 { left: 38%; top: 30%; animation-delay: 3.6s !important; }
    .falling-leaf.fl2 { left: 60%; top: 38%; inline-size: 1.125rem; block-size: 1.125rem; animation-name: leaf-fall-b !important; animation-duration: 19s !important; animation-delay: 6s !important; }
    .falling-leaf.fl3 { left: 46%; top: 24%; animation-duration: 15s !important; animation-delay: 9.4s !important; }
    .falling-leaf.fl4 { left: 66%; top: 28%; inline-size: 1.625rem; block-size: 1.625rem; animation-name: leaf-fall-b !important; animation-delay: 12.2s !important; }
    .falling-leaf.fl5 { left: 34%; top: 40%; animation-duration: 18s !important; animation-delay: 15s !important; }
}
/* Drift sideways on a slow sway while turning, settle, then fade. The
 * leaf is invisible for most of the cycle, which spaces the falls out. */
@keyframes leaf-fall {
    0%   { opacity: 0; transform: translate(0, 0) rotate(0deg); }
    3%   { opacity: 1; }
    12%  { transform: translate(-1.5rem, 6rem) rotate(70deg); }
    24%  { transform: translate(1rem, 13rem) rotate(150deg); }
    36%  { transform: translate(-2rem, 20rem) rotate(230deg); }
    44%  { opacity: 1; transform: translate(-0.5rem, 24rem) rotate(260deg); }
    50%, 100% { opacity: 0; transform: translate(-0.5rem, 24rem) rotate(260deg); }
}
@keyframes leaf-fall-b {
    0%   { opacity: 0; transform: translate(0, 0) rotate(0deg); }
    3%   { opacity: 1; }
    12%  { transform: translate(1.75rem, 5rem) rotate(-60deg); }
    24%  { transform: translate(-0.75rem, 12rem) rotate(-140deg); }
    36%  { transform: translate(2.25rem, 19rem) rotate(-220deg); }
    44%  { opacity: 1; transform: translate(1rem, 23rem) rotate(-260deg); }
    50%, 100% { opacity: 0; transform: translate(1rem, 23rem) rotate(-260deg); }
}


/* ── Tap targets: 44px for every link that stands on its own ─────────── */
.site-header__logo { min-block-size: var(--target-min); align-items: center; }
.powered-by a { display: inline-flex; align-items: center; min-block-size: var(--target-min); }
.toc a { display: flex; align-items: center; min-block-size: var(--target-min); }
.notfound-panel .icon-list a,
.house-card__cta,
.service-card a,
.hero__fact a { display: inline-flex; align-items: center; gap: var(--space-3xs); min-block-size: var(--target-min); }
.nowrap { white-space: nowrap; }
.fees-card a, .rule-list a { min-block-size: var(--target-min); }
.contact-form label, .prose small { font-size: var(--text-small); line-height: var(--leading); }

/* ── Services: the design's section layout ───────────────────────────────
 * Each group: a big icon, heading, intro and an icon list beside a large
 * media panel, which alternates sides and shape (gable or rectangle) as the
 * mockup does. Until the practice supplies photos the panel shows the
 * group's icon; an <img> replaces it. Icons are Material Symbols (Apache
 * 2.0), one SVG each in assets/icons, drawn as a mask in currentColor. */
.ico {
    display: inline-block;
    flex: none;
    inline-size: 1.375rem;
    block-size: 1.375rem;
    background: currentColor;
    -webkit-mask: var(--ico) center / contain no-repeat;
    mask: var(--ico) center / contain no-repeat;
}
.ico--ac_unit { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22m436.41-237.15-96.78 94.78q-12.2 12.2-30.13 12.08-17.93-.12-30.13-13.08-12.96-12.2-12.96-30.13t12.96-30.89l157.04-157.04v-74.98h-74.98l-157.8 157.8q-12.2 12.2-30.13 12.2t-31.13-13.2q-12.2-12.19-12.2-30.01 0-17.81 12.2-30.01l94.78-96.78H119q-18.43 0-30.51-12.58Q76.41-461.57 76.41-480t12.58-31.01q12.58-12.58 31.01-12.58h117.15l-94.78-95.78q-12.2-12.2-12.08-30.13.12-17.93 13.08-30.89 12.2-12.2 30.13-12.2t30.89 12.2l157.04 156.8h74.98v-74.98l-157.8-156.8q-12.2-12.2-12.2-30.13t13.2-31.13q12.19-12.2 30.01-12.2 17.81 0 30.01 12.2l96.78 93.78V-840q0-18.43 12.58-31.01 12.58-12.58 31.01-12.58t31.01 12.58q12.58 12.58 12.58 31.01v117.15l95.78-93.78q12.2-12.2 30.13-12.08 17.93.12 30.89 12.32 12.2 12.96 12.2 30.89t-12.2 30.13l-156.8 156.8v74.98h74.98l156.8-156.8q12.2-12.2 30.13-12.2t31.13 13.2q12.2 12.19 12.2 30.01 0 17.81-12.2 30.01l-93.78 95.78H840q18.43 0 31.01 12.58 12.58 12.58 12.58 31.01t-12.58 31.01q-12.58 12.58-31.01 12.58H722.85l93.78 96.78q12.2 12.2 12.08 30.13-.12 17.93-12.32 30.13-12.96 12.96-30.89 12.96t-30.13-12.96l-156.8-157.04h-74.98v74.98l156.8 157.8q12.2 12.2 12.2 30.13t-13.2 31.13q-12.19 12.2-30.01 12.2-17.81 0-30.01-12.2l-95.78-94.78V-119q0 18.43-12.58 30.51Q498.43-76.41 480-76.41t-31.01-12.58q-12.58-12.58-12.58-31.01v-117.15Z%22/%3E%3C/svg%3E"); }
.ico--local_hospital { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M414.5-414.5v70.91q0 27.39 19.05 46.45 19.06 19.05 46.45 19.05 27.39 0 46.45-19.05 19.05-19.06 19.05-46.45v-70.91h70.91q27.39 0 46.45-19.05 19.05-19.06 19.05-46.45 0-27.39-19.05-46.45-19.06-19.05-46.45-19.05H545.5v-70.91q0-27.39-19.05-46.45-19.06-19.05-46.45-19.05-27.39 0-46.45 19.05-19.05 19.06-19.05 46.45v70.91h-70.91q-27.39 0-46.45 19.05-19.05 19.06-19.05 46.45 0 27.39 19.05 46.45 19.06 19.05 46.45 19.05h70.91ZM202.87-111.87q-37.78 0-64.39-26.61t-26.61-64.39v-554.26q0-37.78 26.61-64.39t64.39-26.61h554.26q37.78 0 64.39 26.61t26.61 64.39v554.26q0 37.78-26.61 64.39t-64.39 26.61H202.87Z%22/%3E%3C/svg%3E"); }
.ico--account_balance { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M192.59-321.2v-192.58q0-18.44 12.69-31.01 12.7-12.58 31.13-12.58 18.44 0 31.01 12.58Q280-532.22 280-513.78v192.82q0 18.44-12.58 31.01-12.57 12.58-31.01 12.58-18.43 0-31.13-12.7-12.69-12.69-12.69-31.13Zm243.82.24v-192.82q0-18.44 12.58-31.01 12.58-12.58 31.01-12.58t31.01 12.58q12.58 12.57 12.58 31.01v192.82q0 18.44-12.58 31.01-12.58 12.58-31.01 12.58t-31.01-12.58q-12.58-12.57-12.58-31.01ZM117.37-113.78q-19.15 0-32.33-13.18-13.17-13.17-13.17-32.32t13.17-32.33q13.18-13.17 32.33-13.17h725.26q19.15 0 32.33 13.17 13.17 13.18 13.17 32.33t-13.17 32.32q-13.18 13.18-32.33 13.18H117.37ZM680-321.2v-192.58q0-18.44 12.7-31.01 12.69-12.58 31.13-12.58 18.43 0 31.01 12.58 12.57 12.57 12.57 31.01v192.82q0 18.44-12.57 31.01-12.58 12.58-31.01 12.58-18.44 0-31.13-12.7Q680-302.76 680-321.2Zm161.67-309H113.61q-17.39 0-29.57-12.17-12.17-12.17-12.17-29.56v-25.83q0-12.44 6.34-21.99 6.33-9.55 16.77-15.27l344.24-172q19.15-9.44 40.78-9.44 21.63 0 40.78 9.44l341.76 170.76q12.44 5.72 19.01 17.27 6.58 11.56 6.58 24.71v17.39q0 19.63-13.41 33.16-13.42 13.53-33.05 13.53Z%22/%3E%3C/svg%3E"); }
.ico--language { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M321.89-104.09q-74.43-32.21-130.01-87.79-55.58-55.58-87.79-130.01-32.22-74.44-32.22-158.49 0-84.05 32.22-158.11 32.21-74.05 87.79-129.63 55.58-55.58 130.01-87.79 74.44-32.22 158.49-32.22 84.05 0 158.11 32.22 74.05 32.21 129.63 87.79 55.58 55.58 87.79 129.63 32.22 74.06 32.22 158.11 0 84.05-32.22 158.49-32.21 74.43-87.79 130.01-55.58 55.58-129.63 87.79-74.06 32.22-158.11 32.22-84.05 0-158.49-32.22Zm157.63-60.54q25.05-35.52 44.05-74.4 19-38.88 31-82.4H405.2q12 43.52 30.64 82.4t43.68 74.4Zm-102.8-16q-18.48-32.52-31.5-68.02-13.02-35.5-22.02-72.78H206.63q28.28 49.52 71.42 86.28 43.15 36.76 98.67 54.52Zm205.85 0q55.52-17.76 98.9-54.52 43.38-36.76 71.66-86.28H636.57q-9 37.28-22.27 72.78-13.26 35.5-31.73 68.02Zm-409.7-220.09H307.2q-3-20-4.5-39.26-1.5-19.26-1.5-40.02 0-21 1.5-40.14t4.5-39.14H172.87q-5 19.76-7.5 39.02t-2.5 40.26q0 20.76 2.5 40.14t7.5 39.14Zm214.33 0h185.37q3-20 4.26-39.26 1.26-19.26 1.26-40.02 0-21-1.26-40.14t-4.26-39.14H387.2q-3 20-4.5 39.14T381.2-480q0 20.76 1.5 40.02t4.5 39.26Zm265.37 0h134.08q5-19.76 7.5-39.14t2.5-40.14q0-21-2.5-40.26-2.5-19.26-7.5-39.02H652.57q2.76 20 4.14 39.14t1.38 40.14q0 20.76-1.38 40.02t-4.14 39.26Zm-16-238.08h116.56q-28.28-49.53-71.66-86.17-43.38-36.64-98.9-54.4 18.47 32.52 31.73 67.9 13.27 35.38 22.27 72.67Zm-231.37 0h149.37q-11.77-43.53-30.77-82.29-19-38.76-44.28-74.28-25.04 35.52-43.68 74.28T405.2-638.8Zm-198.57 0H323.2q9-37.29 22.02-72.67t31.5-67.9q-55.52 17.76-98.67 54.4-43.14 36.64-71.42 86.17Z%22/%3E%3C/svg%3E"); }
.ico--assignment_turned_in { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22m423.28-435.02-80.02-80.02q-12.43-12.44-31.23-12.32-18.79.12-31.23 12.56-12.43 12.43-12.43 31.1 0 18.68 12.43 31.11l110.42 110.66q13.67 13.67 32.06 13.67t32.07-13.67l222.41-222.66q12.44-12.43 12.44-31.23 0-18.79-12.44-31.22-12.43-12.44-31.23-12.44-18.79 0-31.23 12.44L423.28-435.02ZM202.87-111.87q-37.54 0-64.27-26.73-26.73-26.73-26.73-64.27v-554.26q0-37.54 26.73-64.27 26.73-26.73 64.27-26.73h160.11q14.67-36.48 46.37-58.24 31.69-21.76 70.65-21.76 38.96 0 70.65 21.76 31.7 21.76 46.37 58.24h160.11q37.54 0 64.27 26.73 26.73 26.73 26.73 64.27v554.26q0 37.54-26.73 64.27-26.73 26.73-64.27 26.73H202.87Zm299.95-685.31q9.09-9.1 9.09-22.82t-9.09-22.82q-9.1-9.09-22.82-9.09t-22.82 9.09q-9.09 9.1-9.09 22.82t9.09 22.82q9.1 9.09 22.82 9.09t22.82-9.09Z%22/%3E%3C/svg%3E"); }
.ico--badge { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M240-237.13h240v-18q0-17-9.5-31.5t-26.5-22.5q-20-9-40.5-13.5t-43.5-4.5q-23 0-43.5 4.5t-40.5 13.5q-17 8-26.5 22.5t-9.5 31.5v18Zm350-60h100q13 0 21.5-8.5t8.5-21.5q0-13-8.5-21.5t-21.5-8.5H590q-13 0-21.5 8.5t-8.5 21.5q0 13 8.5 21.5t21.5 8.5Zm-187.5-77.5q17.5-17.5 17.5-42.5t-17.5-42.5q-17.5-17.5-42.5-17.5t-42.5 17.5q-17.5 17.5-17.5 42.5t17.5 42.5q17.5 17.5 42.5 17.5t42.5-17.5Zm187.5-42.5h100q13 0 21.5-8.5t8.5-21.5q0-13-8.5-21.5t-21.5-8.5H590q-13 0-21.5 8.5t-8.5 21.5q0 13 8.5 21.5t21.5 8.5ZM162.87-71.87q-37.78 0-64.39-26.61t-26.61-64.39v-434.26q0-37.78 26.61-64.39t64.39-26.61h189v-114.26q0-36.35 24.7-61.04 24.69-24.7 61.04-24.7h84.78q36.35 0 61.04 24.7 24.7 24.69 24.7 61.04v114.26h189q37.78 0 64.39 26.61t26.61 64.39v434.26q0 37.78-26.61 64.39t-64.39 26.61H162.87Zm277.61-533.87h79.04v-193.78h-79.04v193.78Z%22/%3E%3C/svg%3E"); }
.ico--child_care { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M616.82-501.75q15.09-15.1 15.09-36.82 0-21.71-15.09-36.81-15.1-15.1-36.82-15.1t-36.82 15.1q-15.09 15.1-15.09 36.81 0 21.72 15.09 36.82 15.1 15.1 36.82 15.1t36.82-15.1Zm-200 0q15.09-15.1 15.09-36.82 0-21.71-15.09-36.81-15.1-15.1-36.82-15.1t-36.82 15.1q-15.09 15.1-15.09 36.81 0 21.72 15.09 36.82 15.1 15.1 36.82 15.1t36.82-15.1Zm173.35 188.03q49.22-33.71 71.74-89.15H298.09q22.52 55.44 71.74 89.15Q419.04-280 480-280t110.17-33.72ZM336.51-140.97q-67.05-29.1-116.75-78.79-49.69-49.7-78.79-116.75-29.1-67.06-29.1-143.49t29.1-143.49q29.1-67.05 78.79-116.75 49.7-49.69 116.75-78.79 67.06-29.1 143.49-29.1t143.49 29.1q67.05 29.1 116.75 78.79 49.69 49.7 78.79 116.75 29.1 67.06 29.1 143.49t-29.1 143.49q-29.1 67.05-78.79 116.75-49.7 49.69-116.75 78.79-67.06 29.1-143.49 29.1t-143.49-29.1Zm159.97-476.88q19.15 0 39.93-7.33 20.79-7.34 20.79-29.62 0-12.72-8.72-21.96t-21.2-9.24q-8.24 0-15.86 3-7.62 3-16.62 3-19.56 0-33.22-13.54-13.67-13.55-13.67-33.83 0-10.28 3.38-17.66 3.38-7.38 9.91-11.34-19.24 2-37.36 5.12t-35.6 10.12q-1.24 3.48-1.74 7.6-.5 4.12-.5 7.6 0 44.28 32.26 76.18 32.26 31.9 78.22 31.9Z%22/%3E%3C/svg%3E"); }
.ico--coronavirus { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M448.8-65.41q-12.95 0-22.31-9.36t-9.36-22.32q0-12.95 9.36-22.43T448.8-129v-62.72q-43.43-5-81.75-20.6-38.31-15.59-69.51-41.55l-43.47 44.24q9.47 9.48 9.47 22.43 0 12.96-9.47 22.44-9.48 9.48-22.32 9.48t-22.32-9.48l-44.67-43.67q-9.48-9.48-9.48-22.82t9.48-22.82q9.48-9.47 22.44-9.09 12.95.38 22.43 8.86l44.24-44.24q-25.96-31.96-41.67-69.39-15.72-37.44-20.72-80.87H129q0 12.95-9.48 22.31t-22.43 9.36q-12.96 0-22.32-9.36t-9.36-22.31v-62.4q0-12.95 9.36-22.31t22.32-9.36q12.95 0 22.43 9.36T129-511.2h62.48q5-43.43 21.22-80.87 16.21-37.43 41.17-69.39l-44.24-44.24q-9.48 8.48-22.43 8.86-12.96.38-22.44-9.09-9.48-9.48-9.48-22.82t9.48-22.82l43.67-43.67q9.48-9.48 22.82-9.48t22.82 9.48q9.47 9.48 9.47 22.82 0 13.33-9.47 22.81l43.47 43.48q31.96-25.96 69.39-41.67 37.44-15.72 80.87-20.72V-831q-12.95 0-21.81-9.48t-8.86-22.43q0-12.96 9.36-22.32t22.31-9.36h62.4q12.95 0 22.31 9.36t9.36 22.32q0 12.95-9.36 22.43T511.2-831v62.48q43.43 5 80.87 20.72 37.43 15.71 69.39 41.67l44.24-44.24q-9.48-9.48-9.36-22.43.12-12.96 9.59-22.44 9.48-9.48 22.82-9.48t22.82 9.48l43.67 44.67q9.48 9.48 9.48 22.32t-9.48 22.32q-9.48 9.47-22.82 9.47-13.33 0-22.81-9.47l-43.48 43.47q25.96 31.96 41.55 69.89 15.6 37.94 20.6 81.37H831q0-12.95 9.48-22.31t22.43-9.36q12.96 0 22.32 9.36t9.36 22.31v62.4q0 12.95-9.36 22.31t-22.32 9.36q-12.95 0-22.43-9.36T831-448.8h-62.72q-5 43.43-20.6 81.37-15.59 37.93-41.55 69.89l43.48 43.47q9.48-9.47 22.69-9.47 13.22 0 22.7 9.47 9.48 9.48 9.72 22.58.24 13.1-9.24 22.58l-43.68 43.43q-9.47 9.48-22.81 9.48-13.34 0-22.82-9.48-9.47-9.48-9.21-22.07.26-12.6 8.74-22.08l-44.24-44.24q-31.96 25.96-69.39 41.94-37.44 15.97-80.87 20.97V-129q12.95 0 22.31 9.48t9.36 22.43q0 12.96-9.36 22.32t-22.31 9.36h-62.4ZM438.5-331.5Q450-343 450-360t-11.5-28.5Q427-400 410-400t-28.5 11.5Q370-377 370-360t11.5 28.5Q393-320 410-320t28.5-11.5ZM550-320q17 0 28.5-11.5T590-360q0-17-11.5-28.5T550-400q-17 0-28.5 11.5T510-360q0 17 11.5 28.5T550-320ZM340-440q17 0 28.5-11.5T380-480q0-17-11.5-28.5T340-520q-17 0-28.5 11.5T300-480q0 17 11.5 28.5T340-440Zm168.5-11.5Q520-463 520-480t-11.5-28.5Q497-520 480-520t-28.5 11.5Q440-497 440-480t11.5 28.5Q463-440 480-440t28.5-11.5ZM620-440q17 0 28.5-11.5T660-480q0-17-11.5-28.5T620-520q-17 0-28.5 11.5T580-480q0 17 11.5 28.5T620-440ZM438.5-571.5Q450-583 450-600t-11.5-28.5Q427-640 410-640t-28.5 11.5Q370-617 370-600t11.5 28.5Q393-560 410-560t28.5-11.5ZM550-560q17 0 28.5-11.5T590-600q0-17-11.5-28.5T550-640q-17 0-28.5 11.5T510-600q0 17 11.5 28.5T550-560Z%22/%3E%3C/svg%3E"); }
.ico--dermatology { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M114.5-109q-19.15 0-32.33-13.17Q69-135.35 69-154.5V-480q0-37.78 26.61-64.39T160-571h159.76q9.2 0 17.65 3.48 8.46 3.48 14.68 9.69 6.21 6.22 9.69 14.68 3.48 8.45 3.48 17.65v40.72q0 47.85 33.45 81.29 33.44 33.45 81.29 33.45 47.85 0 81.29-33.45 33.45-33.44 33.45-81.29v-40.72q0-9.2 3.48-17.65 3.48-8.46 9.69-14.68 6.22-6.21 14.68-9.69 8.45-3.48 17.65-3.48H800q37.78 0 64.39 26.61T891-480v325.5q0 19.15-13.17 32.33Q864.65-109 845.5-109h-731ZM480-441.43q-18.67 0-31.49-12.82-12.81-12.82-12.81-31.49 0-110.19 25.47-217.03 25.48-106.84 110.2-176.56 14.43-12.19 32.23-10.45 17.79 1.74 29.99 16.17 11.95 14.68 10.33 32.47-1.62 17.79-16.05 29.75-69.28 58.28-86.42 146.44-17.15 88.17-17.15 179.21 0 18.67-12.81 31.49-12.82 12.82-31.49 12.82Zm-226.83 94.6q9.22-9.21 9.22-23.17t-9.22-23.17q-9.21-9.22-23.17-9.22t-23.17 9.22q-9.22 9.21-9.22 23.17t9.22 23.17q9.21 9.22 23.17 9.22t23.17-9.22Zm40 100q9.22-9.21 9.22-23.17t-9.22-23.17q-9.21-9.22-23.17-9.22t-23.17 9.22q-9.22 9.21-9.22 23.17t9.22 23.17q9.21 9.22 23.17 9.22t23.17-9.22Zm460-100q9.22-9.21 9.22-23.17t-9.22-23.17q-9.21-9.22-23.17-9.22t-23.17 9.22q-9.22 9.21-9.22 23.17t9.22 23.17q9.21 9.22 23.17 9.22t23.17-9.22Z%22/%3E%3C/svg%3E"); }
.ico--description { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M361.91-239.28h236.42q17.71 0 29.69-12.1T640-281.2q0-17.71-11.98-29.69t-29.69-11.98H361.67q-17.71 0-29.69 11.98T320-281.2q0 17.72 12.1 29.82 12.1 12.1 29.81 12.1Zm0-160h236.42q17.71 0 29.69-12.1T640-441.2q0-17.71-11.98-29.69t-29.69-11.98H361.67q-17.71 0-29.69 11.98T320-441.2q0 17.72 12.1 29.82 12.1 12.1 29.81 12.1ZM242.87-71.87q-37.78 0-64.39-26.61t-26.61-64.39v-634.26q0-37.78 26.61-64.39t64.39-26.61H525.8q18.16 0 34.69 6.84 16.53 6.83 29.21 19.51L781.78-669.7q12.68 12.68 19.51 29.21 6.84 16.53 6.84 34.69v442.93q0 37.78-26.61 64.39t-64.39 26.61H242.87Zm274.26-570.76q0 19.15 13.17 32.33 13.18 13.17 32.33 13.17h154.5l-200-200v154.5Z%22/%3E%3C/svg%3E"); }
.ico--directions_car { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M240.72-191.87v15.7q0 26.79-18.82 45.55-18.81 18.75-45.49 18.75-26.67 0-45.61-18.93-18.93-18.94-18.93-45.61v-289.35q0-7.96 1.12-15.67 1.12-7.72 3.6-14.68l74.28-210.85q9.43-27.34 32.95-44.26 23.51-16.91 53.09-16.91h406.18q29.58 0 53.09 16.91 23.52 16.92 32.95 44.26l74.28 210.85q2.48 6.96 3.6 14.68 1.12 7.71 1.12 15.67v289.59q0 26.79-18.81 45.55-18.82 18.75-45.49 18.75-26.68 0-45.61-18.93-18.94-18.94-18.94-45.61v-15.46H240.72ZM235.35-560h489.3l-40.8-117.13h-407.7L235.35-560Zm66.08 238.57q25 0 42.5-17.5t17.5-42.5q0-25-17.5-42.5t-42.5-17.5q-25 0-42.5 17.5t-17.5 42.5q0 25 17.5 42.5t42.5 17.5Zm357.14 0q25 0 42.5-17.5t17.5-42.5q0-25-17.5-42.5t-42.5-17.5q-25 0-42.5 17.5t-17.5 42.5q0 25 17.5 42.5t42.5 17.5Z%22/%3E%3C/svg%3E"); }
.ico--ecg_heart { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M645-844.78q101.43 0 170.61 75.19 69.17 75.2 69.17 179.59 0 18-1.88 35.5t-6.88 34.5H621l-68-102q-5-8-14-13t-19-5q-13 0-23.5 8T482-612l-54 162-35-52q-5-8-14-13t-19-5H83.98q-4.76-17-6.76-34.38-2-17.38-2-34.62 0-105.39 68.67-180.59 68.68-75.19 170.11-75.19 47.52 0 90.02 18.4 42.5 18.4 75.98 51.68 32.48-33.28 74.98-51.68 42.5-18.4 90.02-18.4ZM480-115.22q-19.2 0-36.53-6.98-17.34-6.97-30.82-20.45l-268-269q-6.72-6.72-12.31-13.56-5.6-6.83-11.08-14.79H338l68 102q5 8 14 13t19 5q13 0 24-8t15-20l54-162 34 52q6 8 15 13t19 5h237.98q-5.48 7.2-11.08 13.91-5.6 6.72-11.55 13.44l-269 270q-13.48 13.48-30.44 20.45-16.95 6.98-35.91 6.98Z%22/%3E%3C/svg%3E"); }
.ico--eco { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M451.2-72.35q-33.48 0-67.22-7.26t-68.26-21.02q9.85-123.15 68.08-230.42Q442.04-438.33 534-520.48q-111.43 56.96-192.05 151.23-80.62 94.27-115.02 213.95-4.23-3.48-8.21-7.22-3.98-3.74-8.22-7.98-47.96-47.96-73.29-107.75-25.34-59.79-25.34-124.47 0-69.43 27.6-132.39 27.6-62.96 76.55-111.91Q286.5-717.5 390-746.34q103.5-28.83 276.39-22.03 29.59 1 54.7 12.7 25.11 11.69 44.5 31.08t30.7 45q11.32 25.61 13.32 55.2 5.28 175.46-22.68 277.05-27.95 101.6-97.43 171.32-49.72 49.95-111.29 76.81-61.58 26.86-127.01 26.86Z%22/%3E%3C/svg%3E"); }
.ico--engineering { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M34.35-157.85v-74.87q0-36.58 19.15-67.26 19.15-30.67 49.15-45.67 51-26 116.92-44.36 65.91-18.36 142.91-18.36t142.79 18.12q65.8 18.12 116.8 44.12 30 15 49.15 45.91 19.15 30.92 19.15 67.5v74.87q0 19.15-13.17 32.33-13.18 13.17-32.33 13.17H79.85q-19.15 0-32.33-13.17-13.17-13.18-13.17-32.33ZM243.62-497.4q-49.27-49.04-49.27-117.19h-10q-9.97 0-16.06-6.21-6.09-6.22-6.09-16.19 0-9.96 6.09-16.05t16.06-6.09h10q0-46.67 23.79-84.35 23.79-37.67 63.14-58.43v38.38q0 9.09 5.57 14.59 5.56 5.5 14.67 5.5 9 0 14.74-5.48t5.74-14.45v-53.83q9.08-3 19.18-4.5 10.09-1.5 21.2-1.5 11.1 0 20.98 1.5t19.31 4.49v53.84q0 8.97 5.76 14.45 5.77 5.48 14.77 5.48 9.47 0 14.85-5.5 5.38-5.5 5.38-14.5v-38.47q39.35 20.76 63.15 58.43 23.79 37.68 23.79 84.35h10q9.97 0 16.06 6.09 6.09 6.09 6.09 16.05 0 9.97-6.09 16.19-6.09 6.21-16.06 6.21h-10q0 68.15-49.15 117.19-49.15 49.03-118.74 49.03T243.62-497.4Zm173.21-64.63q22.54-22.65 22.54-54.47H285.35q0 31.8 22.65 54.47 22.66 22.66 54.47 22.66t54.36-22.66Zm248.15 174.55-3-14q-6-2.04-11.5-4.59t-10.5-7.65l-12.15 4q-7.09 2-13.52.03-6.42-1.97-10.38-8.88l-3.95-6.91q-4-6-2.5-13t6.5-12l10-9v-24l-10-9q-5-5-6.5-12t2.5-13l4-7q4-7 10.5-9t13.5 0l12 4q4.24-3.76 10.16-6.85t11.84-5.15l3-14q2-7 7-11.5t12-4.5h8q7 0 12 4.5t7 11.5l3 14q6 2 11.88 5.12 5.88 3.12 10.12 6.88l12-4q7-2 13.5 0t10.5 9l4 7q4 6 2.5 13t-6.5 12l-10 9v24l10 9q5 5 6.5 12t-2.5 13l-4 7q-4 7-10.5 9t-13.5 0l-12-4q-5 5-10.5 7.5t-11.5 4.5l-3 14q-2 7-7 11.5t-12 4.5h-8q-7 0-12-4.5t-7-11.5Zm44.12-62.88q8.88-8.88 8.88-21.12t-8.88-21.12q-8.88-8.88-21.12-8.88t-21.12 8.88q-8.88 8.88-8.88 21.12t8.88 21.12q8.88 8.88 21.12 8.88t21.12-8.88Zm48.55-145.27-4-20q-9-3-16.5-7.5t-13.5-10.5l-21 7q-9 3-18-.5t-14-11.5l-6-10q-5-8-3.5-17.5t9.5-16.5l17-15q-2-5-2-8v-16q0-3 2-8l-17-15q-8-7-9.5-16.5t3.5-17.5l6-10q5-8 14-11.5t18-.5l21 7q6-6 13.5-10.5t16.5-7.5l4-20q2-10 9.5-16t17.5-6h10q10 0 17.5 6t9.5 16l4 20q9 3 16.5 7.5t13.5 10.5l21-7q9-3 18 .5t14 11.5l6 10q5 8 3.5 17.5t-9.5 16.5l-17 15q2 5 2 8v16q0 3-2 8l17 15q8 7 9.5 16.5t-3.5 17.5l-6 10q-5 8-14 11.5t-18 .5l-21-7q-6 6-13.5 10.5t-16.5 7.5l-4 20q-2 10-9.5 16t-17.5 6h-10q-10 0-17.5-6t-9.5-16Zm67.5-82.5q14.5-14.5 14.5-35.5t-14.5-35.5q-14.5-14.5-35.5-14.5t-35.5 14.5q-14.5 14.5-14.5 35.5t14.5 35.5q14.5 14.5 35.5 14.5t35.5-14.5Z%22/%3E%3C/svg%3E"); }
.ico--event_available { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22m438-343.91 138.04-138.05q12.48-12.47 30.2-12.47t30.19 12.47q12.48 12.48 12.48 30.2t-12.48 30.19L469.83-255.2q-13.68 13.44-31.83 13.44t-31.83-13.44l-82.6-82.37q-12.48-12.47-12.48-30.19t12.48-30.2q12.47-12.47 30.19-12.47t30.2 12.47L438-343.91ZM202.87-71.87q-37.78 0-64.39-26.61t-26.61-64.39v-554.26q0-37.78 26.61-64.39t64.39-26.61H240v-37.37q0-17.96 12.46-30.29 12.45-12.34 30.41-12.34t30.29 12.34q12.34 12.33 12.34 30.29v37.37h309v-37.37q0-17.96 12.46-30.29 12.45-12.34 30.41-12.34t30.29 12.34Q720-863.46 720-845.5v37.37h37.13q37.78 0 64.39 26.61t26.61 64.39v554.26q0 37.78-26.61 64.39t-64.39 26.61H202.87Zm0-91h554.26V-560H202.87v397.13Z%22/%3E%3C/svg%3E"); }
.ico--face { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M325.1-403.9q-14.62-14.62-14.62-36.1 0-21.48 14.62-36.1 14.62-14.62 36.1-14.62 21.47 0 36.09 14.62 14.62 14.62 14.62 36.1 0 21.48-14.62 36.1-14.62 14.62-36.09 14.62-21.48 0-36.1-14.62Zm237.61 0q-14.62-14.62-14.62-36.1 0-21.48 14.62-36.1 14.62-14.62 36.09-14.62 21.48 0 36.1 14.62 14.62 14.62 14.62 36.1 0 21.48-14.62 36.1-14.62 14.62-36.1 14.62-21.47 0-36.09-14.62ZM480-162.87q132.57 0 224.97-92.04 92.4-92.05 92.4-224.61 0-24-3-46.14t-11-42.91q-21 5-41.64 7.5t-43.64 2.5q-90.29 0-170.45-38.64-80.16-38.64-136.92-108.16-31.52 77.04-90.55 133.95-59.02 56.9-137.06 85.9v6q0 132.56 92.16 224.61 92.16 92.04 224.73 92.04Zm.24 91q-84.67 0-159.11-32.1-74.43-32.1-129.63-87.29-55.2-55.2-87.29-129.63-32.1-74.44-32.1-159.11 0-84.67 32.1-159.11 32.09-74.43 87.29-129.63 55.2-55.19 129.63-87.29 74.44-32.1 159.11-32.1 84.67 0 158.99 32.1 74.31 32.1 129.51 87.29 55.19 55.2 87.29 129.63 32.1 74.44 32.1 159.11 0 84.67-32.1 159.11-32.1 74.43-87.29 129.63-55.2 55.19-129.51 87.29-74.32 32.1-158.99 32.1Z%22/%3E%3C/svg%3E"); }
.ico--family_restroom { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M732.95-721.91q-34.47 0-59.17-24.55-24.69-24.54-24.69-59.01 0-34.46 24.69-59.04 24.7-24.58 59.17-24.58 34.46 0 59.01 24.55Q816.5-840 816.5-805.53q0 34.46-24.54 59.04-24.55 24.58-59.01 24.58Zm-49.36 599.04V-400q0-38.53-19.31-69.35-19.3-30.82-49.87-47.87l39.07-110.41q8.48-24.76 30.46-40 21.97-15.24 48.97-15.24t48.98 15.24q21.98 15.24 30.46 40l86.15 250.56q8.2 22.64-5.74 41.65-13.93 19.01-37.04 19.01h-41.37v193.54q0 19.15-13.18 32.33Q788-77.37 768.85-77.37h-39.76q-19.16 0-32.33-13.17-13.17-13.18-13.17-32.33Zm-228.6-393.91q-18.58-18.7-18.58-45.18 0-26.47 18.54-45.01 18.53-18.53 45.01-18.53 26.47 0 45.05 18.53 18.58 18.54 18.58 45.01 0 26.48-18.54 45.18-18.53 18.69-45.01 18.69-26.47 0-45.05-18.69ZM209.03-721.91q-34.47 0-59.04-24.55-24.58-24.54-24.58-59.01 0-34.46 24.55-59.04 24.54-24.58 59.01-24.58 34.46 0 59.04 24.55 24.58 24.54 24.58 59.01 0 34.46-24.55 59.04-24.54 24.58-59.01 24.58Zm-87.44 599.04v-233.54h-15.22q-19.03 0-31.91-12.88-12.87-12.87-12.87-31.91v-189.71q0-37.54 26.73-64.27 26.73-26.73 64.27-26.73h112.82q37.54 0 64.27 26.73 26.73 26.73 26.73 64.27v189.71q0 19.04-12.87 31.91-12.88 12.88-31.91 12.88h-15.22v233.54q0 19.15-13.17 32.33-13.17 13.17-32.33 13.17h-83.82q-19.16 0-32.33-13.17-13.17-13.18-13.17-32.33Zm314.82 0v-115.22q-17 0-28.5-11.5t-11.5-28.5v-113.54q0-28.35 20.01-48.36Q436.43-460 464.78-460h70.44q28.35 0 48.36 20.01 20.01 20.01 20.01 48.36v113.54q0 17-11.5 28.5t-28.5 11.5v115.22q0 19.15-13.18 32.33-13.17 13.17-32.32 13.17h-36.18q-19.15 0-32.32-13.17-13.18-13.18-13.18-32.33Z%22/%3E%3C/svg%3E"); }
.ico--flight { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M394.26-400.83 145.09-301.5q-26.39 10.96-49.81-4.98-23.41-15.93-23.41-44.32v-23.92q0-13.19 5.98-25.03 5.98-11.84 16.93-19.55l299.48-209v-174.09q0-35.39 25.17-60.57 25.18-25.17 60.57-25.17t60.57 25.17q25.17 25.18 25.17 60.57v174.09l299.48 209q10.95 7.71 16.93 19.55t5.98 25.03v23.92q0 28.39-23.41 44.32-23.42 15.94-49.81 4.98l-249.17-99.33v134.44l101.8 70.8q8.96 6.48 14.06 16.18 5.1 9.69 5.1 20.65v26.15q0 22.15-18.18 35.85-18.17 13.69-40.32 7.22L480-133.78 331.8-89.54q-22.15 6.47-40.32-7.22-18.18-13.7-18.18-35.85v-26.15q0-10.96 5.1-20.65 5.1-9.7 14.06-16.18l101.8-70.8v-134.44Z%22/%3E%3C/svg%3E"); }
.ico--forum { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M848.13-129.3q-8.72 0-16.91-3.36-8.2-3.36-15.15-10.32l-84.59-84.58H326.7q-37.79 0-64.4-26.61-26.6-26.61-26.6-64.4v-40h435.93q37.78 0 64.39-26.6 26.61-26.61 26.61-64.4v-275.45h40q37.78 0 64.39 26.61t26.61 64.39v458.45q0 20.64-13.79 33.45-13.8 12.82-31.71 12.82ZM111.87-338.63q-17.91 0-31.71-12.82-13.79-12.81-13.79-33.44v-418.7q0-37.78 26.61-64.39t64.39-26.61h434.26q37.78 0 64.39 26.61t26.61 64.39v274.02q0 37.79-26.61 64.4-26.61 26.6-64.39 26.6H230.2l-86.5 86.27q-6.96 6.95-15.04 10.31-8.07 3.36-16.79 3.36Z%22/%3E%3C/svg%3E"); }
.ico--gavel { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M190.43-189h407.42q17.72 0 29.69 11.98 11.98 11.98 11.98 29.69 0 17.72-11.98 29.82-11.97 12.1-29.69 12.1H190.2q-17.72 0-29.7-12.1t-11.98-29.82q0-17.71 12.1-29.69T190.43-189Zm125.9-175.07-105.35-105.1q-26.35-26.35-26.73-64.28-.38-37.92 25.97-64.27l28.76-29 235.65 233.65-29 29q-26.35 26.35-64.65 26.35-38.31 0-64.65-26.35ZM645.02-563.7 411.37-799.35l29-29q26.35-26.11 64.15-25.73 37.81.38 64.15 26.73L674.02-722q26.59 26.35 26.59 64.65 0 38.31-26.59 64.65l-29 29Zm147.15 381.44L294.35-680.09 358-743.98l497.83 498.07q12.67 12.67 12.67 31.82 0 19.16-12.67 31.83-12.68 12.67-31.83 12.67t-31.83-12.67Z%22/%3E%3C/svg%3E"); }
.ico--healing { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M209.87-100.41 100.41-209.87q-26.34-26.35-26.34-63.89t26.34-63.89l521.94-521.94q26.35-26.34 63.89-26.34t63.89 26.34l109.46 109.46q26.34 26.35 26.34 63.89t-26.34 63.89L337.65-100.41q-26.35 26.34-63.89 26.34t-63.89-26.34ZM508-214.52 745.48-452l114.11 114.35q26.34 26.35 26.34 63.89t-26.34 63.89L750.13-100.41q-26.35 26.34-63.89 26.34t-63.89-26.34L508-214.52Zm1.82-149.81q12.09-11.97 12.09-29.69t-12.09-29.82q-12.1-12.09-29.82-12.09t-29.82 12.09q-12.09 12.1-12.09 29.82t12.09 29.69q12.1 11.98 29.82 11.98t29.82-11.98Zm-115.8-73.76q17.72 0 29.82-12.09 12.09-12.1 12.09-29.82t-12.09-29.82q-12.1-12.09-29.82-12.09t-29.69 12.09q-11.98 12.1-11.98 29.82t11.98 29.82q11.97 12.09 29.69 12.09Zm171.96 0q17.72 0 29.69-12.09 11.98-12.1 11.98-29.82t-11.98-29.82q-11.97-12.09-29.69-12.09t-29.82 12.09q-12.09 12.1-12.09 29.82t12.09 29.82q12.1 12.09 29.82 12.09Zm-352.22-70.67L100.41-622.35q-26.34-26.35-26.34-63.89t26.34-63.89l109.46-109.46q26.35-26.34 63.89-26.34t63.89 26.34L452-745.48 213.76-508.76Zm296.06-27.4q12.09-12.1 12.09-29.82t-12.09-29.69q-12.1-11.98-29.82-11.98t-29.82 11.98q-12.09 11.97-12.09 29.69t12.09 29.82q12.1 12.09 29.82 12.09t29.82-12.09Z%22/%3E%3C/svg%3E"); }
.ico--health_and_safety { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M420-440v61.91q0 16.05 11.02 27.07T458.09-340h44.06q16.28 0 27.07-11.02Q540-362.04 540-378.09V-440h62.15q16.28 0 27.07-11.02Q640-462.04 640-478.09v-44.06q0-16.28-10.78-27.07Q618.43-560 602.15-560H540v-62.15q0-16.28-10.78-27.07Q518.43-660 502.15-660h-44.06q-16.05 0-27.07 10.78Q420-638.43 420-622.15V-560h-61.91q-16.05 0-27.07 10.78Q320-538.43 320-522.15v44.06q0 16.05 11.02 27.07T358.09-440H420Zm45.33 362.53q-6.96-1.12-13.92-3.36-136.67-45.47-218.11-169.6Q151.87-374.57 151.87-516v-186.85q0-28.58 16.41-51.45 16.42-22.87 42.76-33.07l237.13-88.8q15.68-5.72 31.83-5.72t31.83 5.72l237.13 88.8q26.34 10.2 42.76 33.07 16.41 22.87 16.41 51.45V-516q0 141.43-81.43 265.57-81.44 124.13-218.11 169.6-6.96 2.24-13.92 3.36-6.95 1.12-14.67 1.12t-14.67-1.12Z%22/%3E%3C/svg%3E"); }
.ico--medical_services { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M162.87-71.87q-37.78 0-64.39-26.61t-26.61-64.39V-633.3q0-37.79 26.61-64.4 26.61-26.6 64.39-26.6h149.72v-80q0-37.79 26.61-64.4 26.6-26.6 64.39-26.6h152.82q37.79 0 64.39 26.6 26.61 26.61 26.61 64.4v80h149.72q37.78 0 64.39 26.6 26.61 26.61 26.61 64.4v470.43q0 37.78-26.61 64.39t-64.39 26.61H162.87ZM403.59-724.3h152.82v-80H403.59v80Zm30.91 371.71v74.5q0 19.16 13.17 32.33 13.18 13.17 32.33 13.17t32.33-13.17q13.17-13.17 13.17-32.33v-74.5H600q19.15 0 32.33-13.17 13.17-13.17 13.17-32.33 0-19.15-13.17-32.32-13.18-13.18-32.33-13.18h-74.5v-74.5q0-19.15-13.17-32.32-13.18-13.18-32.33-13.18t-32.33 13.18q-13.17 13.17-13.17 32.32v74.5H360q-19.15 0-32.33 13.18-13.17 13.17-13.17 32.32 0 19.16 13.17 32.33 13.18 13.17 32.33 13.17h74.5Z%22/%3E%3C/svg%3E"); }
.ico--medication { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M420-354.5v40q0 25 17.5 42.5t42.5 17.5q25 0 42.5-17.5t17.5-42.5v-40h40q25 0 42.5-17.5t17.5-42.5q0-25-17.5-42.5T580-474.5h-40v-40q0-25-17.5-42.5T480-574.5q-25 0-42.5 17.5T420-514.5v40h-40q-25 0-42.5 17.5T320-414.5q0 25 17.5 42.5t42.5 17.5h40Zm-140 251q-37.54 0-64.27-26.73Q189-156.96 189-194.5v-440q0-37.54 26.73-64.27Q242.46-725.5 280-725.5h400q37.54 0 64.27 26.73Q771-672.04 771-634.5v440q0 37.54-26.73 64.27Q717.54-103.5 680-103.5H280Zm-1.91-662q-19.16 0-32.33-13.17-13.17-13.18-13.17-32.33t13.17-32.33q13.17-13.17 32.33-13.17h403.82q19.16 0 32.33 13.17 13.17 13.18 13.17 32.33t-13.17 32.33q-13.17 13.17-32.33 13.17H278.09Z%22/%3E%3C/svg%3E"); }
.ico--nutrition { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M278.15-198.15Q195.22-281.09 195.22-400q0-93.28 54.06-167.9 54.07-74.62 142.39-102.77-33.47-8.72-58.09-30.3-24.62-21.57-39.38-51.29-14.77-29.72-20.41-64.67-5.64-34.96-1.4-70.68 41.96-5.48 80.27 4.28 38.32 9.76 69.51 32 31.2 22.24 51.54 53.84 20.33 31.6 24.57 71.56 13.24-31.24 31.5-58.98 18.26-27.74 41.5-50.98 12.44-12.44 31.11-12.44 18.68 0 31.11 12.44 12.43 12.43 12.43 31.11 0 18.67-12.43 31.11-21.76 21.76-38.16 47.9-16.41 26.14-24.64 55.9 87.52 29.44 140.8 103.53 53.28 74.1 53.28 166.34 0 118.91-82.93 201.85-82.94 82.93-201.85 82.93t-201.85-82.93Z%22/%3E%3C/svg%3E"); }
.ico--orthopedics { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M480-69.61q-56.04 0-124.11-15.67-68.06-15.68-92.85-27.57-11.47-5.24-18.45-15.83-6.98-10.6-6.98-23.32v-35.7H201.2q-19.16 0-32.33-13.17-13.17-13.17-13.17-32.33v-57.6q0-19.16 13.17-32.33 13.17-13.17 32.33-13.17h36.41v-71.4H201.2q-19.16 0-32.33-13.17-13.17-13.17-13.17-32.33v-57.6q0-19.16 13.17-32.33 13.17-13.17 32.33-13.17h36.41v-71.4H201.2q-19.16 0-32.33-13.17-13.17-13.17-13.17-32.33v-57.6q0-19.16 13.17-32.33 13.17-13.17 32.33-13.17h36.41V-832q0-24.15 19.31-35.27 19.32-11.12 40.51-2.88 3.4.95 56.56 18.36 53.16 17.4 126.01 17.4 72.85 0 126.01-17.4 53.16-17.41 56.56-18.36 21.19-8.24 40.51 3.38 19.31 11.62 19.31 34.77v55.7h36.41q19.16 0 32.33 13.17 13.17 13.17 13.17 32.33v57.6q0 19.16-13.17 32.33-13.17 13.17-32.33 13.17h-36.41v71.4h36.41q19.16 0 32.33 13.17 13.17 13.17 13.17 32.33v57.6q0 19.16-13.17 32.33-13.17 13.17-32.33 13.17h-36.41v71.4h36.41q19.16 0 32.33 13.17 13.17 13.17 13.17 32.33v57.6q0 19.16-13.17 32.33-13.17 13.17-32.33 13.17h-36.41v35.7q0 12.72-6.98 23.32-6.98 10.59-18.45 15.83-24.79 11.89-92.85 27.57Q536.04-69.61 480-69.61Zm0-539.5q37.28 0 77.99-6.76 40.71-6.76 75.79-18.56v-133.44q-35.85 10.04-75.43 16.07-39.59 6.02-78.35 6.02-38 0-77.59-6.02-39.58-6.03-76.19-16.07v133.44q34.32 11.8 75.41 18.56 41.09 6.76 78.37 6.76Zm77.23 221.12q40.7-6.88 76.55-19.44v-137.79q-40.41 10.81-78.71 16.57-38.31 5.76-75.07 5.76-38.28 0-77.73-5.76-39.44-5.76-76.05-16.57v137.79q35.85 12.56 76.55 19.44 40.71 6.88 77.23 6.88t77.23-6.88ZM480-158.22q38.72 0 79.3-6.76 40.59-6.76 74.48-18.56v-133.68q-36.08 10.05-75.79 16.19-39.71 6.14-77.99 6.14-37.52 0-77.23-6.14-39.7-6.14-76.55-16.19v133.68q33.13 11.8 74.21 18.56 41.09 6.76 79.57 6.76Z%22/%3E%3C/svg%3E"); }
.ico--personal_injury { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M361.14-603.77q-49.27-49.27-49.27-118.86t49.27-118.74q49.27-49.15 118.86-49.15t118.86 49.15q49.27 49.15 49.27 118.74t-49.27 118.86Q549.59-554.5 480-554.5t-118.86-49.27Zm32.45 447.36q-12.29 0-20.19-7.91-7.9-7.9-7.9-20.18 0-12.04 7.9-20.07 7.9-8.02 20.19-8.02h39.69q9.81 0 15.09 8.43 5.28 8.42 1 17.23l-4.96 10.63q-4.28 9.32-12.23 14.6-7.94 5.29-18.27 5.29h-20.32ZM220.41-451.78q60.72-30.24 126.18-46.48Q412.04-514.5 480-514.5q22.28 0 44.8 1.88 22.53 1.88 44.81 5.4 12.43 2.24 18.03 13.18 5.6 10.93-.12 22.61l-70.93 146.04q-5.72 12.19-16.54 18.79-10.81 6.6-24.01 6.6h-82.45q-48.16 0-81.83 33.67-33.67 33.68-33.67 81.83 0 25.52 10.16 47.78t27.97 38.5q9.43 8.39 6.71 18.81Q320.22-69 310.54-69H197.37q-19.15 0-32.33-13.17-13.17-13.18-13.17-32.33v-223.59q0-36.15 17.93-66.44 17.94-30.3 50.61-47.25ZM808.13-160q0 37.78-26.37 64.39T719.52-69h-1.76q-14.85 0-24.91-10.06-10.07-10.07-10.07-24.92v-337.5q0-12.43 9.82-19.77 9.81-7.34 22.01-1.62 6.56 2.76 12.49 5.54 5.92 2.79 12.49 5.31 31.91 16.95 50.23 47.37 18.31 30.41 18.31 66.56V-160Z%22/%3E%3C/svg%3E"); }
.ico--pill { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22m675.17-349.72 102.18-102.69q32.69-32.72 50.06-74.65 17.37-41.92 17.37-87.94 0-96-66.89-162.89Q711-844.78 615-844.78q-45.96 0-87.9 17.37-41.95 17.37-74.69 50.06L349.72-675.17l325.45 325.45ZM345-115.22q45.96 0 87.9-17.37 41.95-17.37 74.69-50.06l102.69-102.18-325.45-325.45-102.18 102.69q-32.69 32.72-50.06 74.65-17.37 41.92-17.37 87.94 0 96 66.89 162.89Q249-115.22 345-115.22Z%22/%3E%3C/svg%3E"); }
.ico--pregnant_woman { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M398.57-118.8v-154.5h-37.14q-19.15 0-32.32-13.18-13.18-13.17-13.18-32.32v-240q0-51.44 36.08-87.04 36.08-35.59 87.51-35.59 51.44 0 87.63 35.59 36.2 35.6 36.2 87.04 36.95 15 58.95 48.71 22 33.72 22 73.68v117.61q0 19.15-13.17 32.32-13.17 13.18-32.33 13.18h-77.37v154.5q0 19.15-13.17 32.32-13.17 13.18-32.33 13.18h-31.86q-19.16 0-32.33-13.18-13.17-13.17-13.17-32.32Zm-17.7-627.09q-24.46-24.46-24.46-59.13 0-34.68 24.46-59.25 24.46-24.58 59.13-24.58t59.13 24.58q24.46 24.57 24.46 59.25 0 34.67-24.46 59.13T440-721.43q-34.67 0-59.13-24.46Z%22/%3E%3C/svg%3E"); }
.ico--public { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M321.15-103.97q-74.45-32.1-129.65-87.29-55.2-55.2-87.29-129.65-32.1-74.46-32.1-159.11 0-84.65 32.1-159.09 32.09-74.43 87.29-129.63 55.2-55.19 129.65-87.29 74.46-32.1 159.11-32.1 84.65 0 158.97 32.1 74.31 32.1 129.51 87.29 55.19 55.2 87.29 129.65 32.1 74.46 32.1 159.11 0 84.65-32.1 159.09-32.1 74.43-87.29 129.63-55.2 55.19-129.51 87.29-74.32 32.1-158.97 32.1t-159.11-32.1Zm119.33-60.9v-77.76q-32.76 0-56.03-23.27-23.26-23.26-23.26-55.93v-39.6L171.11-551.52q-3 17.76-5.5 35.52t-2.5 35.63q0 120.1 78.78 210.42t198.59 105.08Zm273.61-101.04q40.52-44.52 61.78-99.71 21.26-55.19 21.26-114.86 0-97.01-53.78-177.19-53.78-80.18-144.07-115.7v15.52q0 32.71-23.5 56-23.5 23.28-56.15 23.28h-79.15v79.22q0 16.83-11.5 28.33t-28.33 11.5h-79.22v79.04h237.99q16.86 0 28.36 11.5t11.5 28.32v118.75h39.29q26 0 46.79 15.5 20.8 15.5 28.73 40.5Z%22/%3E%3C/svg%3E"); }
.ico--pulmonology { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M184.93-114.5q-51.47 0-86.45-34.98-34.98-34.98-34.98-86.45V-391.8q0-8.72 1.62-16.3 1.62-7.57 4.1-15.53l99.76-266.28q12.72-34.68 44.03-55.13 31.32-20.46 68.23-20.46 26.72 0 50.08 13.72 23.35 13.71 37.64 36.67v112.72l-80.53 80.52q-9.71 9.72-9.21 22.67.5 12.96 10.21 22.68 9.72 9.72 22.8 9.72 13.07 0 22.79-9.72L434.5-576v-264q0-19.15 13.17-32.33Q460.85-885.5 480-885.5t32.33 13.17Q525.5-859.15 525.5-840v264l99.72 99.72q9.71 9.71 22.79 9.6 13.08-.12 22.79-9.84 9.72-9.72 9.72-22.8 0-13.07-9.72-22.79l-80.52-80.28v-112.72q14.29-22.96 37.52-36.67 23.24-13.72 49.96-13.72 36.91 0 67.97 20.46 31.05 20.45 44.53 55.13l99.76 266.28q2.48 7.96 4.1 15.53 1.62 7.58 1.62 16.3v155.87q0 51.47-35.36 86.45-35.36 34.98-86.08 34.98H640.67q-50.71 0-85.69-34.98T520-235.93v-72.14q0-2.71.5-6.43.5-3.72.74-6.43l14.48-115.31L480-492.96l-56.72 56.72 15.48 115.31q.24 2.71.74 6.31.5 3.6.5 6.55v72.14q0 51.47-35.36 86.45-35.36 34.98-86.07 34.98H184.93Z%22/%3E%3C/svg%3E"); }
.ico--science { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M200-111.87q-56.02 0-79.79-50.16-23.78-50.17 11.57-92.99l220.09-267.85V-754.5h-32.59q-19.15 0-32.32-13.17-13.18-13.18-13.18-32.33t13.18-32.33q13.17-13.17 32.32-13.17h321.44q19.15 0 32.32 13.17 13.18 13.18 13.18 32.33t-13.18 32.33q-13.17 13.17-32.32 13.17h-32.59v231.63l220.09 267.85q35.35 42.82 11.57 92.99-23.77 50.16-79.79 50.16H200Z%22/%3E%3C/svg%3E"); }
.ico--smoke_free { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M138.09-314.5q-27.29 0-46.4-19.1-19.1-19.11-19.1-46.4t19.1-46.4q19.11-19.1 46.4-19.1h257.47L80.89-760.17q-11.72-11.72-11.72-29.2 0-17.48 11.72-29.2 11.72-11.71 29.32-11.83 17.59-.12 29.31 11.6l685.26 685.26q11.72 11.71 11.72 29.19t-11.72 29.2q-11.71 11.72-29.31 11.72-17.6 0-29.32-11.72L526.57-314.5H138.09Zm636.52-122.03q8.98 8.98 8.98 22.7v67.42q0 13.28-7.74 21.04t-16.59 7.76L720-356.87v-56.96q0-13.72 9.1-22.7 9.1-8.97 22.82-8.97t22.69 8.97Zm103.71.07q9.09 9.04 9.09 22.87v67.18q0 13.83-9.09 22.87-9.1 9.04-22.82 9.04t-22.82-9.04q-9.09-9.04-9.09-22.87v-67.18q0-13.83 9.09-22.87 9.1-9.04 22.82-9.04t22.82 9.04Zm-246.95-9.04h16.91q13.75 0 22.73 8.99 8.99 8.98 8.99 22.73v16.91l-48.63-48.63Zm97.73-49.04q-9.1-9.04-9.1-22.87v-19.61q0-39-23-59.74-23-20.74-55-20.74h-62q-57.5 0-97.54-40.03-40.05-40.03-40.05-97.51 0-57.48 40.08-97.56 40.08-40.07 97.27-40.31 13.93 0 23.04 9.09 9.11 9.1 9.11 22.82t-9.04 22.82q-9.04 9.09-22.87 9.09-30 0-52 21t-22 53q0 32 22 53t52 21h62q57.91 0 99.75 37.2 41.84 37.19 41.84 92.39v34.33q0 13.72-8.98 22.7-8.97 8.97-22.69 8.97t-22.82-9.04Zm103.58 0q-9.09-9.04-9.09-22.87v-58.09q0-66-46-114t-114-48q-13.73 0-22.7-9.1-8.98-9.1-8.98-22.82t8.98-22.69q8.97-8.98 22.7-8.98 30 0 52-22t22-52q0-13.83 9.09-22.87 9.1-9.04 22.82-9.04t22.82 9.04q9.09 9.04 9.09 22.87 0 30.44-11.48 54.66-11.47 24.21-30.43 43.02 55.52 23.84 91.72 79.11 36.19 55.26 36.19 122.8v58.09q0 13.83-9.09 22.87-9.1 9.04-22.82 9.04t-22.82-9.04Z%22/%3E%3C/svg%3E"); }
.ico--stethoscope { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M544.07-65.65q-113.5 0-192.97-79.95-79.47-79.94-79.47-193.44v-17.98q-90.54-15.44-150.65-85.28-60.11-69.85-60.11-164.4v-199.76q0-19.15 13.17-32.32 13.18-13.18 32.33-13.18h83.35q1.19-18.19 14.01-30.29 12.81-12.1 31.25-12.1 19.15 0 32.32 13.18 13.18 13.17 13.18 32.32v84.78q0 19.16-13.18 32.33-13.17 13.17-32.32 13.17-18.44 0-31.25-12.09-12.82-12.1-14.01-30.3h-37.85v154.26q0 67.44 48.2 114.8 48.19 47.36 115.63 47.36 67.43 0 115.63-47.36 48.19-47.36 48.19-114.8v-154.26h-37.85q-1.19 18.2-14.01 30.3-12.81 12.09-31.25 12.09-19.15 0-32.32-13.17-13.18-13.17-13.18-32.33v-84.78q0-19.15 13.18-32.32 13.17-13.18 32.32-13.18 18.44 0 31.25 12.1 12.82 12.1 14.01 30.29h83.35q19.15 0 32.33 13.18 13.17 13.17 13.17 32.32v199.76q0 93.83-59.27 163.44T362.63-357.5v18.46q0 75.71 52.86 129.05 52.86 53.34 128.58 53.34 75.71 0 128.45-53.34 52.74-53.34 52.74-129.05v-64.85q-36.43-14.2-59.65-46.49-23.22-32.29-23.22-73.45 0-53.58 37.39-90.97 37.39-37.4 90.98-37.4t90.98 37.4q37.39 37.39 37.39 90.97 0 41.16-23.22 73.45-23.21 32.29-59.65 46.49v64.85q0 113.5-79.35 193.44-79.34 79.95-192.84 79.95Z%22/%3E%3C/svg%3E"); }
.ico--thermostat { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M566.22-516.41q-18.44 0-31.01-12.58-12.58-12.58-12.58-31.01t12.58-31.01q12.57-12.58 31.01-12.58h123.82q18.44 0 31.01 12.58 12.58 12.58 12.58 31.01t-12.58 31.01q-12.57 12.58-31.01 12.58H566.22Zm0-167.18q-18.44 0-31.01-12.69-12.58-12.7-12.58-31.13 0-18.44 12.58-31.01Q547.78-771 566.22-771h243.82q18.44 0 31.01 12.58 12.58 12.57 12.58 31.01 0 18.43-12.58 31.13-12.57 12.69-31.01 12.69H566.22ZM165.47-172.76Q104.7-233.65 104.7-320q0-48.72 21-91.17 21-42.46 59-72.42V-720q0-53.35 37.27-90.74 37.27-37.39 90.62-37.39 53.34 0 90.74 37.39 37.39 37.39 37.39 90.74v236.41q38 29.96 59 72.42 21 42.45 21 91.17 0 86.35-60.89 147.24-60.9 60.89-147.24 60.89-86.35 0-147.12-60.89ZM195.7-320h234.02q0-29.96-13.34-55.55-13.34-25.6-37.29-42.36l-29.37-21.37V-720q0-15.57-10.79-26.35-10.78-10.78-26.34-10.78-15.57 0-26.23 10.78T275.7-720v280.72l-29.13 21.37q-24.2 17-37.54 42.59-13.33 25.6-13.33 55.32Z%22/%3E%3C/svg%3E"); }
.ico--vaccines { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M238.09-276.41h-34.5q-36.59 0-61.88-25.3-25.3-25.29-25.3-61.88v-292.82q-17.71-.72-29.81-13.18Q74.5-682.04 74.5-700q0-18.43 12.58-31.01 12.57-12.58 31.01-12.58h120v-54.5H220q-18.43 0-31.01-12.69-12.58-12.7-12.58-31.13 0-18.44 12.58-31.01Q201.57-885.5 220-885.5h120q18.43 0 31.01 12.58 12.58 12.57 12.58 31.01 0 18.43-12.58 31.13-12.58 12.69-31.01 12.69h-18.09v54.5h120q18.44 0 31.01 12.58Q485.5-718.43 485.5-700q0 17.96-12.1 30.41-12.1 12.46-29.81 13.18v292.82q0 36.59-25.3 61.88-25.29 25.3-61.88 25.3h-34.5v178.08q0 17.72-12.09 29.82-12.1 12.1-29.82 12.1t-29.82-12.1q-12.09-12.1-12.09-29.82v-178.08Zm-34.5-87.18h152.82v-54.5H290q-12.72 0-22.32-9.59-9.59-9.6-9.59-22.32t9.59-22.32q9.6-9.59 22.32-9.59h66.41v-56.18H290q-12.72 0-22.32-9.59-9.59-9.6-9.59-22.32t9.59-22.32q9.6-9.59 22.32-9.59h66.41v-54.5H203.59v292.82ZM601.91-74.5q-36.58 0-62-25.41-25.41-25.42-25.41-62V-420q0-29.24 9.88-48.96 9.88-19.71 21.6-33.24 14.35-15.43 23.23-23.93t8.88-15.78v-20q-17.72-.72-29.7-13.18-11.98-12.45-11.98-30.41 0-18.43 12.58-31.01 12.58-12.58 31.01-12.58h200q18.43 0 31.01 12.58 12.58 12.58 12.58 31.01 0 17.96-11.98 30.41-11.98 12.46-29.7 13.18v20q0 7.28 10 17.28t25.11 25.43q11.72 13.53 20.1 33.12 8.38 19.6 8.38 46.08v258.09q0 36.58-25.41 62-25.42 25.41-62 25.41H601.91Zm0-327.41h156.18V-420q0-14.52-8.88-25.64-8.88-11.12-19.41-23.16-11.47-13.24-21.59-28.53-10.12-15.28-10.12-40.76v-23.82h-36.18v23.82q0 24.48-9.62 39.76-9.62 15.29-21.09 28.53-10.29 12.28-19.79 23.66t-9.5 26.14v18.09Zm0 240h156.18v-56.18H601.91v56.18Z%22/%3E%3C/svg%3E"); }
.ico--volunteer_activism { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M532.85-75.52q12.91 3.48 28.37 2.98 15.45-.5 27.13-4.74l299.78-109.09q0-38.78-24-63.34-24-24.55-61.74-24.55H534.13q-6.83 0-15.61-1.22t-14.61-3.41l-54.69-19.33q-8.96-3.24-12.68-11.19-3.71-7.96-1.47-16.92 2.47-8.67 11.67-12.91 9.19-4.24 18.63-.76l43.09 15.8q7.11 2.72 13.55 3.94 6.45 1.22 14.56 1.22h107.39q17.56 0 30.63-11.93 13.06-11.92 13.06-31.01 0-18.06-12.44-35.25-12.45-17.18-30.75-23.86l-268.39-99.65q-7.96-2.48-15.8-4.1-7.84-1.62-16.03-1.62h-67.35V-148l255.96 72.48ZM33.3-153.54q0 33.71 24.1 57.69 24.1 23.98 57.82 23.98 33.71 0 57.69-23.98 23.98-23.98 23.98-57.69v-291q0-33.72-23.98-57.82t-57.69-24.1q-33.72 0-57.82 24.1t-24.1 57.82v291Zm578.4-339.5q-16.42-6.22-29.85-18.66L474.96-615.63q-31.48-30.48-53.46-67.46-21.98-36.98-21.98-80.45 0-56.92 40.3-96.25 40.29-39.34 97.2-39.34 31.52 0 59.4 12.78t48.6 34.83q20.72-22.05 48.6-34.83 27.88-12.78 59.4-12.78 56.91 0 97.21 39.34 40.29 39.33 40.29 96.25 0 43.47-21.6 80.45-21.59 36.98-53.07 67.46L708.2-511.7q-13.44 12.44-29.85 18.66-16.42 6.21-33.33 6.21-16.91 0-33.32-6.21Z%22/%3E%3C/svg%3E"); }
.ico--water_drop { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M245.64-168.14Q151.87-264.41 151.87-408q0-58.65 25.73-118.62 25.73-59.97 66.41-117.21 40.69-57.24 91-110.1 50.32-52.87 99.49-96.81 9.43-8.96 21.25-12.93 11.82-3.98 24.25-3.98t24.25 3.98q11.82 3.97 21.25 12.93 49.17 43.94 99.49 96.81 50.31 52.86 91 110.1 40.68 57.24 66.41 117.21 25.73 59.97 25.73 118.62 0 143.59-93.77 239.86Q620.59-71.87 480-71.87q-140.59 0-234.36-96.27Zm246.08-33.06q13.19-1 22.41-10.21 9.22-9.22 9.22-22.18 0-14.71-9.84-24.05t-24.79-8.34q-42.44 3-85.33-22.26t-54.65-88.43q-2-11.48-10.98-19.2-8.98-7.72-21.41-7.72-15.2 0-24.92 11.22-9.71 11.22-6.47 26.17 17 91.24 79.88 130.12 62.88 38.88 126.88 34.88Z%22/%3E%3C/svg%3E"); }
.ico--credit_card { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M162.87-151.87q-37.78 0-64.39-26.61t-26.61-64.39v-474.26q0-37.78 26.61-64.39t64.39-26.61h634.26q37.78 0 64.39 26.61t26.61 64.39v474.26q0 37.78-26.61 64.39t-64.39 26.61H162.87Zm0-328.85h634.26v-160H162.87v160Z%22/%3E%3C/svg%3E"); }
.ico--schedule { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M523.59-497.91v-137.31q0-18.52-12.58-31.05Q498.43-678.8 480-678.8t-31.01 12.53q-12.58 12.53-12.58 31.05v153.5q0 9.2 3.36 17.55 3.36 8.36 10.08 15.04l128.17 128.17q12.2 12.2 30.39 12.2 18.2 0 30.63-12.2 12.44-12.19 12.44-30.63 0-18.43-12.44-30.87L523.59-497.91ZM480-71.87q-84.91 0-159.34-32.12-74.44-32.12-129.5-87.17-55.05-55.06-87.17-129.5Q71.87-395.09 71.87-480t32.12-159.34q32.12-74.44 87.17-129.5 55.06-55.05 129.5-87.17 74.43-32.12 159.34-32.12t159.34 32.12q74.44 32.12 129.5 87.17 55.05 55.06 87.17 129.5 32.12 74.43 32.12 159.34t-32.12 159.34q-32.12 74.44-87.17 129.5-55.06 55.05-129.5 87.17Q564.91-71.87 480-71.87Z%22/%3E%3C/svg%3E"); }
.ico--calendar_month { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M202.87-71.87q-37.78 0-64.39-26.61t-26.61-64.39v-554.26q0-37.78 26.61-64.39t64.39-26.61H240v-37.37q0-17.96 12.46-30.29 12.45-12.34 30.41-12.34t30.29 12.34q12.34 12.33 12.34 30.29v37.37h309v-37.37q0-17.96 12.46-30.29 12.45-12.34 30.41-12.34t30.29 12.34Q720-863.46 720-845.5v37.37h37.13q37.78 0 64.39 26.61t26.61 64.39v554.26q0 37.78-26.61 64.39t-64.39 26.61H202.87Zm0-91h554.26V-560H202.87v397.13ZM480-398.09q-17.72 0-29.82-12.09-12.09-12.1-12.09-29.82t12.09-29.82q12.1-12.09 29.82-12.09t29.82 12.09q12.09 12.1 12.09 29.82t-12.09 29.82q-12.1 12.09-29.82 12.09Zm-189.82-12.09q-12.09-12.1-12.09-29.82t12.09-29.82q12.1-12.09 29.82-12.09t29.82 12.09q12.09 12.1 12.09 29.82t-12.09 29.82q-12.1 12.09-29.82 12.09t-29.82-12.09ZM640-398.09q-17.48 0-29.7-12.09-12.21-12.1-12.21-29.82t12.21-29.82q12.22-12.09 29.7-12.09 17.72 0 29.82 12.09 12.09 12.1 12.09 29.82t-12.09 29.82q-12.1 12.09-29.82 12.09Zm-160 160q-17.72 0-29.82-12.21-12.09-12.22-12.09-29.7 0-17.72 12.09-29.82 12.1-12.09 29.82-12.09t29.82 12.09q12.09 12.1 12.09 29.82 0 17.48-12.09 29.7-12.1 12.21-29.82 12.21ZM290.18-250.3q-12.09-12.22-12.09-29.7 0-17.72 12.09-29.82 12.1-12.09 29.82-12.09t29.82 12.09q12.09 12.1 12.09 29.82 0 17.48-12.09 29.7-12.1 12.21-29.82 12.21t-29.82-12.21ZM640-238.09q-17.48 0-29.7-12.21-12.21-12.22-12.21-29.7 0-17.72 12.21-29.82 12.22-12.09 29.7-12.09 17.72 0 29.82 12.09 12.09 12.1 12.09 29.82 0 17.48-12.09 29.7-12.1 12.21-29.82 12.21Z%22/%3E%3C/svg%3E"); }
.ico--call { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M798.48-111.87q-126.44 0-249.87-55.1-123.44-55.1-224.87-156.29Q222.3-424.7 167.21-548.25q-55.1-123.55-55.1-249.99 0-21.35 14.15-35.62 14.15-14.27 35.5-14.27h161.76q19.5 0 33.37 11.53 13.87 11.53 17.31 29.56l25.76 134.97q2.95 19.59-.88 33.22-3.84 13.63-14.71 23.78l-98.44 96.09q19.05 34.37 45.11 66.96 26.07 32.59 58.11 63.63 29.81 29.8 61.42 54.63 31.6 24.83 66.26 44.91l95.67-94.95q11.63-11.4 28.52-16.37 16.89-4.98 34.48-2.03l131.54 27.29q19.03 5.43 30.06 18.44 11.03 13.01 11.03 31.04v163.67q0 21.35-14.27 35.62-14.27 14.27-35.38 14.27Z%22/%3E%3C/svg%3E"); }
.ico--translate { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22m602.04-183.83-28.97 82.9q-4.48 12.91-16.04 20.98-11.55 8.08-25.46 8.08-22.87 0-36.93-18.77-14.05-18.77-5.34-41.4l148.66-400.33q5.71-13.63 17.75-22.06 12.03-8.44 26.66-8.44h35.02q14.63 0 26.66 8.44 12.04 8.43 17.75 22.06l148.66 400.85q8.71 21.87-4.96 40.76-13.67 18.89-36.78 18.89-14.68 0-25.97-8.08-11.29-8.07-16.77-21.98l-28.74-81.9h-195.2ZM356.26-389.04 188-221.54q-12.91 12.91-31.45 13.17-18.53.26-32.2-13.41-12.92-12.92-12.92-31.95t12.92-31.94l168.5-168.5q-37.39-37.87-66.49-82.99-29.1-45.12-52.14-99.97h97.87q18.08 35.17 37.84 62.98 19.77 27.8 46.81 56.08 32.52-33.47 66.94-90.94 34.43-57.47 51.71-108.12H75.93q-19.15 0-32.32-13.17-13.18-13.18-13.18-32.33t13.18-32.33q13.17-13.17 32.32-13.17h234.5v-34.5q0-19.15 13.18-32.33 13.17-13.17 32.32-13.17 19.16 0 32.33 13.17 13.17 13.18 13.17 32.33v34.5h234.5q19.16 0 32.33 13.17 13.17 13.18 13.17 32.33t-13.17 32.33q-13.17 13.17-32.33 13.17h-67.15q-21.48 70.8-63.83 146.56-42.36 75.77-84.8 118.16l84.52 86.28-34.06 94.2-114.35-117.11Zm274.13 124.21h138.26l-69.13-197.78-69.13 197.78Z%22/%3E%3C/svg%3E"); }
.ico--lock { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M242.87-72.59q-37.54 0-64.27-26.73-26.73-26.73-26.73-64.27v-394.26q0-37.54 26.73-64.27 26.73-26.73 64.27-26.73h33.54v-73.06q0-84.92 59.46-144.61 59.46-59.7 144.13-59.7 84.67 0 144.13 59.7 59.46 59.69 59.46 144.61v73.06h33.54q37.54 0 64.27 26.73 26.73 26.73 26.73 64.27v394.26q0 37.54-26.73 64.27-26.73 26.73-64.27 26.73H242.87ZM536.5-304.22q23.5-23.5 23.5-56.5t-23.5-56.5q-23.5-23.5-56.5-23.5t-56.5 23.5q-23.5 23.5-23.5 56.5t23.5 56.5q23.5 23.5 56.5 23.5t56.5-23.5ZM367.41-648.85h225.18v-73.06q0-47.21-32.73-80.26-32.73-33.05-79.86-33.05t-79.86 33.05q-32.73 33.05-32.73 80.26v73.06Z%22/%3E%3C/svg%3E"); }
.ico--local_parking { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M406.46-353.54v154.5q0 36.11-25.54 61.64-25.53 25.53-61.6 25.53t-61.76-25.68q-25.69-25.67-25.69-61.73v-561.68q0-36.11 25.68-61.64 25.67-25.53 61.73-25.53h197.85q105.98 0 178.49 72.27t72.51 175.14q0 102.87-72.51 175.02-72.51 72.16-178.49 72.16H406.46Zm0-167.18h113.65q33 0 56.5-23.5t23.5-56.5q0-33-23.5-56.5t-56.5-23.5H406.46v160Z%22/%3E%3C/svg%3E"); }
.ico--accessible { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M398.09-76.41q-84.44 0-144.01-59.58Q194.5-195.57 194.5-280q0-50.04 22.16-92.8 22.17-42.77 58.97-70.48 14.72-11.44 32.39-8.8 17.68 2.65 29.11 17.36 11.44 14.72 9.17 32.27-2.26 17.56-16.97 28.99-21.57 16.53-34.49 40.83-12.93 24.3-12.93 52.63 0 48.57 33.81 82.49 33.8 33.92 82.37 33.92 28.32 0 52.51-12.92 24.18-12.92 40.94-34.73 11.44-14.72 29.11-16.86 17.68-2.14 32.39 9.3 14.72 11.43 17.24 28.98 2.52 17.56-8.91 32.28-27.72 36.8-70.48 58.96-42.76 22.17-92.8 22.17ZM690.78-92.7q-12.69-12.69-12.69-31.13V-280h-189q-37.79 0-64.39-26.61-26.61-26.61-26.61-64.39v-230.91q0-34.2 24.21-58.3 24.22-24.09 58.42-24.09 23.04 0 40.18 9.66t37.14 31.94q44.05 50.9 81.86 75.66 37.82 24.76 81.25 33.47 17.72 3.48 30.32 16.2 12.6 12.72 12.6 30.44 0 17.71-12.98 29.19t-29.7 8.24q-42.8-8-83.59-26.68-40.78-18.69-72.3-43.25v133.93h112.59q36.11 0 61.76 25.65t25.65 61.76v174.5q0 18.44-12.58 31.01Q740.35-80 721.91-80q-18.43 0-31.13-12.7ZM421.59-748.88q-24.46-24.58-24.46-59.25 0-34.44 24.58-59.01 24.57-24.58 59.01-24.58 34.43 0 59.01 24.58 24.57 24.57 24.57 59.01 0 34.67-24.45 59.25-24.46 24.58-59.13 24.58-34.68 0-59.13-24.58Z%22/%3E%3C/svg%3E"); }
.ico--directions_bus { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M320.72-186.85v15.7q0 26.79-18.82 45.55-18.81 18.75-45.49 18.75-26.67 0-45.61-18.93-18.93-18.94-18.93-45.61v-62.48q-18-20.76-29-46.2-11-25.43-11-54.91v-382.87q0-87.06 79.03-127.6 79.03-40.53 249.2-40.53 176.32 0 252.17 38.88 75.86 38.88 75.86 129.25v382.87q0 29.48-11 54.91-11 25.44-29 46.2v62.72q0 26.79-18.81 45.55-18.82 18.75-45.49 18.75-26.68 0-45.61-18.93-18.94-18.94-18.94-45.61v-15.46H320.72Zm-77.85-368.13h474.26v-120H242.87v120Zm141.06 221.07q17.5-17.5 17.5-42.5t-17.5-42.5q-17.5-17.5-42.5-17.5t-42.5 17.5q-17.5 17.5-17.5 42.5t17.5 42.5q17.5 17.5 42.5 17.5t42.5-17.5Zm277.14 0q17.5-17.5 17.5-42.5t-17.5-42.5q-17.5-17.5-42.5-17.5t-42.5 17.5q-17.5 17.5-17.5 42.5t17.5 42.5q17.5 17.5 42.5 17.5t42.5-17.5Z%22/%3E%3C/svg%3E"); }
.ico--person { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M361.14-533.34q-49.27-49.27-49.27-118.86 0-69.58 49.27-118.74 49.27-49.15 118.86-49.15t118.86 49.15q49.27 49.16 49.27 118.74 0 69.59-49.27 118.86-49.27 49.27-118.86 49.27t-118.86-49.27ZM151.87-238.8v-29.61q0-36.16 18.7-66.57 18.69-30.41 49.84-46.37 62.72-31.24 127.68-46.98 64.95-15.74 131.91-15.74 67.43 0 132.39 15.62 64.96 15.62 127.2 46.86 31.15 15.96 49.84 46.25 18.7 30.3 18.7 66.93v29.61q0 37.78-26.61 64.39t-64.39 26.61H242.87q-37.78 0-64.39-26.61t-26.61-64.39Z%22/%3E%3C/svg%3E"); }
.ico--home { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M151.87-202.87v-355.7q0-21.63 9.58-40.9 9.57-19.27 26.72-31.94L425.3-809.26q24.11-18.39 54.7-18.39 30.59 0 54.7 18.39l237.13 177.85q17.15 12.67 26.72 31.94 9.58 19.27 9.58 40.9v355.7q0 37.78-26.61 64.39t-64.39 26.61H607.41q-19.15 0-32.32-13.17-13.18-13.18-13.18-32.33v-199.04q0-19.16-13.17-32.33-13.17-13.17-32.33-13.17h-72.82q-19.16 0-32.33 13.17-13.17 13.17-13.17 32.33v199.04q0 19.15-13.18 32.33-13.17 13.17-32.32 13.17H242.87q-37.78 0-64.39-26.61t-26.61-64.39Z%22/%3E%3C/svg%3E"); }
.ico--location_on { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M450.21-105.54q-14.84-5.24-26.56-15.72-66.43-60.72-117.39-117.96-50.96-57.24-85.05-111.21-34.1-53.98-51.72-104.56-17.62-50.58-17.62-97.97 0-153.34 99.01-244.26 99.01-90.91 229.12-90.91t229.12 90.91q99.01 90.92 99.01 244.26 0 47.39-17.62 97.97t-51.72 104.56q-34.09 53.97-85.05 111.21-50.96 57.24-117.39 117.96-11.72 10.48-26.56 15.72-14.83 5.24-29.79 5.24-14.96 0-29.79-5.24Zm88.08-396.17q24.1-24.09 24.1-58.29t-24.1-58.29q-24.09-24.1-58.29-24.1t-58.29 24.1q-24.1 24.09-24.1 58.29t24.1 58.29q24.09 24.1 58.29 24.1t58.29-24.1Z%22/%3E%3C/svg%3E"); }
.ico--chevron_left { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22m439.65-480 152.18 152.17Q604.5-315.15 604.5-296t-12.67 31.83Q579.15-251.5 560-251.5t-31.83-12.67L344.41-447.93q-6.71-6.72-9.81-14.92-3.1-8.19-3.1-17.15 0-8.96 3.1-17.15 3.1-8.2 9.81-14.92l183.76-183.76Q540.85-708.5 560-708.5t31.83 12.67Q604.5-683.15 604.5-664t-12.67 31.83L439.65-480Z%22/%3E%3C/svg%3E"); }
.ico--chevron_right { --ico: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 -960 960 960%22%3E%3Cpath d=%22M496.35-480 344.17-632.17Q331.5-644.85 331.5-664t12.67-31.83Q356.85-708.5 376-708.5t31.83 12.67l183.76 183.76q6.71 6.72 9.81 14.92 3.1 8.19 3.1 17.15 0 8.96-3.1 17.15-3.1 8.2-9.81 14.92L407.83-264.17Q395.15-251.5 376-251.5t-31.83-12.67Q331.5-276.85 331.5-296t12.67-31.83L496.35-480Z%22/%3E%3C/svg%3E"); }

.svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
    gap: var(--space-xl) var(--space-2xl);
    align-items: stretch;
}
@media (max-width: 899px) { .svc-grid--flip > .svc-media { order: 2; } }
.svc-copy { display: flex; flex-direction: column; gap: var(--space-s); }
.svc-copy > * { margin: 0; }
.svc-icon { inline-size: 2.75rem; block-size: 2.75rem; color: var(--brand-line); }
.is-dark .svc-icon { color: var(--tertiary-line); }
.band-brand .svc-icon { color: var(--brand-on-solid); }

.svc-list > li {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    padding-block: var(--space-xs);
    border-bottom: var(--border-width-s) solid var(--rule);
}
.svc-list .ico { color: var(--brand-line); }
.is-dark .svc-list > li { border-color: var(--border); }
.is-dark .svc-list .ico { color: var(--tertiary-line); }
.band-brand .svc-list > li { border-color: var(--rule-on-brand); }
.band-brand .svc-list .ico { color: var(--brand-on-solid); }
.svc-note { font-style: italic; }
.svc-ask { font-size: var(--text-small); line-height: var(--leading); }

.svc-media {
    position: relative;
    display: grid;
    place-items: center;
    min-block-size: 22.5rem;
    overflow: hidden;
    background: var(--sand);
    border-radius: var(--radius-m);
}
.band-sand .svc-media { background: var(--sand-deep); }
.is-dark .svc-media { background: var(--band-card); }
.band-brand .svc-media { background: var(--brick-shade); }
.svc-media--house {
    border-radius: 0 0 var(--radius-m) var(--radius-m);
    --roof-h: var(--space-3xl);
    padding-top: var(--space-3xl);
}
.svc-media__icon { position: relative; z-index: var(--layer-base); inline-size: 8rem; block-size: 8rem; color: var(--brand-line); opacity: 0.85; }
.is-dark .svc-media__icon { color: var(--tertiary-line); }
.band-brand .svc-media__icon { color: var(--brand-on-solid); }
.svc-media::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 6%;
    inline-size: 26%;
    aspect-ratio: 411 / 620;
    background: currentColor;
    color: var(--secondary-line);
    opacity: 0.18;
    -webkit-mask: url('/assets/images/tree-mask.e59c803799.svg') center bottom / contain no-repeat;
    mask: url('/assets/images/tree-mask.e59c803799.svg') center bottom / contain no-repeat;
}
.is-dark .svc-media::after { color: var(--tertiary-line); }
.band-brand .svc-media::after { color: var(--brand-on-solid); opacity: 0.12; }
@media (max-width: 899px) { .svc-media { min-block-size: 14rem; } }

.also-card h3 { font-size: var(--size-1); line-height: var(--leading); display: flex; align-items: center; gap: var(--space-xs); padding-bottom: var(--space-xs); border-bottom: var(--border-width-m) solid var(--tertiary-line); }
.also-card h3 .ico, .also-card .ico { color: var(--tertiary-line); }

/* Pinned services row (site.js sets the wrapper's height and the sticky top) */
.svc-pin.is-pinned .svc-pin__sticky { position: sticky; }
.svc-pin.is-pinned .service-track { overflow-x: hidden; scroll-snap-type: none; }

/* ── Matching the mockups more closely ───────────────────────────────── */

/* Homepage services: a tall art panel above each card's text, no box,
 * as in the design (a photo replaces the icon when the practice has one). */
.service-card { padding: 0; background: none; gap: var(--space-xs); }
.service-card__art { min-block-size: 0; aspect-ratio: 4 / 5; max-block-size: 42vh; margin-bottom: var(--space-3xs); }
.service-card__art .svc-media__icon { inline-size: 5rem; block-size: 5rem; }
.service-card h3 { color: var(--text-strong); }
/* The whole card is the link, as in the design: the title's link covers it */
.service-card { position: relative; }
.service-card h3 a { display: inline; min-block-size: 0; font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-m); }
.service-card p { font-size: var(--size-0); line-height: var(--leading); }

/* Lists with an icon per item (About) */
.icon-list--ico > li { align-items: center; }
.icon-list--ico > li::before { display: none; }
.icon-list--ico .ico { color: var(--brand-line); }
.band-brand .icon-list--ico .ico { color: var(--brand-line); }

/* Timeline: an icon in each circle */
.timeline > li::before { display: none; }
.timeline__dot {
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    inline-size: var(--space-l);
    block-size: var(--space-l);
    border-radius: var(--radius-round);
    background: var(--sand);
    color: var(--brand-line);
}
.timeline__now .timeline__dot { background: var(--brand-solid); color: var(--brand-on-solid); }
.timeline__dot .ico { inline-size: 1.125rem; block-size: 1.125rem; }
.timeline > li { padding-left: calc(var(--space-l) + var(--space-s)); }
.timeline > li:not(:last-child)::after { left: calc(var(--space-l) / 2 - var(--border-width-s)); top: calc(var(--space-l) + var(--space-3xs)); }

/* Suburb chips with a pin */
.chip .ico { inline-size: 1rem; block-size: 1rem; color: var(--brand-line); }
.chip:has(.ico) { display: inline-flex; align-items: center; gap: var(--space-3xs); }

/* Closing bands: the copy keeps to half the row so the buttons sit beside it */
.cta-band__inner > div:first-child { flex: 1 1 24rem; }
.cta-band__inner > div:first-child > p { max-inline-size: 44rem; }

/* Contact: parking and access stacked beside the train and bus steps;
 * a wide, shorter map; the logo mark in the form's gable */
.getting-here { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.getting-here__transit { grid-column: auto; }
.getting-here__facts { display: grid; gap: var(--space-s); }
@media (max-width: 899px) { .getting-here { grid-template-columns: 1fr; } }
@media (min-width: 900px) { .media-frame--wide { aspect-ratio: 21 / 8; } }
.contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 599px) { .contact-form { grid-template-columns: 1fr; } }
.form-panel__mark { align-self: center; inline-size: auto; block-size: var(--space-xl); margin-top: calc(var(--space-l) * -1); }

/* Inner page heroes: the art panel is landscape, as in the mockups */
.page-hero__grid > .house-panel--art { min-block-size: 0; aspect-ratio: 3 / 2; }
.getting-here .steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }

/* "On this page": the section in view is marked, as in the design */
.toc a.is-active { background: var(--sand); color: var(--link); }
.toc a.is-active::before {
    content: "";
    flex: none;
    inline-size: 0.625rem;
    block-size: 0.625rem;
    margin-right: var(--space-2xs);
    background: var(--brand-line);
    border-radius: 0 100% 0 100%;
}

/* Services jump bar: arrows to scroll the list */
.jump-bar ul { flex: 1; min-inline-size: 0; }
.jump-bar__arrows { display: flex; flex: none; gap: var(--space-2xs); }
.round-btn--s { inline-size: var(--target-min); block-size: var(--target-min); color: var(--text-strong); border-color: currentColor; }
.round-btn .ico { inline-size: 1.5rem; block-size: 1.5rem; }
@media (max-width: 599px) { .jump-bar__arrows { display: none; } }

/* ── Homepage: the layouts picked in the design (2026-11-06) ─────────────
 * Welcome "Photo + card", Doctors "Tabs", After hours "Phone numbers". */

/* Highlights: a taller roof and larger cross, as in the mockup, and the
 * titles balanced; the text takes the free height so the links line up. */
.house-card__roof { block-size: 8rem; padding-top: var(--space-xl); }
.house-card__roof .cross { inline-size: 2.25rem; block-size: 2.25rem; }
.house-card__title { text-wrap: balance; line-height: var(--leading-heading); }
.house-card__cta { margin-top: var(--space-2xs); }

/* One day's hours out of the hours_daily loop: every other day is hidden. */
.day-time > :not(.saturday) { display: none; }

/* Welcome: a photo slot beside a sand card */
.welcome-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);   /* stacked until 60rem: side by side, the card was squeezed */
    gap: var(--space-l);
    align-items: stretch;
}
@media (max-width: 59.99rem) { .welcome-photo { min-block-size: 14rem; } }
.welcome-photo {
    position: relative;
    display: grid;
    place-items: center;
    min-block-size: 18rem;
    background: var(--sand-deep);
    border-radius: var(--radius-m);
    overflow: hidden;
}
.welcome-photo img { block-size: 10rem; inline-size: auto; opacity: 0.9; }
.welcome-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
    padding: var(--space-l);
    background: var(--sand);
    border-radius: var(--radius-m);
}
.welcome-card > * { margin: 0; }
@media (min-width: 60rem) {
    .welcome-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}
.fact-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2xs) var(--space-xs);
    margin: 0;
    padding: 0;
    list-style: none;
}
.fact-chips > li {
    padding: var(--space-3xs) var(--space-s);
    font-size: var(--text-small);
    font-weight: 700;
    line-height: var(--leading);
    color: var(--text-strong);
    background: var(--surface);
    border-radius: var(--radius-pill);
}
.welcome-card__cta { margin-top: var(--space-2xs); }

/* Doctors: a list of names beside one doctor's details */
.doc-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: var(--space-m);
    align-items: start;
}
@media (min-width: 60rem) {
    .doc-tabs { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}
.doc-tabs__list { display: flex; flex-direction: column; gap: var(--space-2xs); }
.doc-tabs:not(.is-ready) .doc-tabs__list { display: none; }
.doc-tabs:not(.is-ready) .doc-tabs__panels { grid-column: 1 / -1; display: grid; gap: var(--space-m); }
.doc-tab {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    min-block-size: var(--target-min);
    padding: var(--space-s) var(--space-m);
    font: inherit;
    text-align: start;
    color: var(--text);
    background: none;
    border: 0;
    border-radius: var(--radius-m);
    cursor: pointer;
    transition: background-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.doc-tab:hover { background: color-mix(in oklab, var(--surface) 60%, transparent); }
.doc-tab[aria-selected="true"] { background: var(--surface); box-shadow: var(--shadow-m); }
.doc-tab__avatar { flex: none; inline-size: 3rem; aspect-ratio: 1; border-radius: var(--radius-s); }
.doc-tab__text { display: flex; flex-direction: column; min-inline-size: 0; }
.doc-tab__name { font-family: var(--font-heading); font-size: var(--size-1); font-weight: 800; line-height: var(--leading); color: var(--text-strong); }
.doc-tab__sub {
    overflow: hidden;
    font-size: var(--text-small);
    font-weight: 700;
    line-height: var(--leading);
    color: var(--on-soft);
    text-overflow: ellipsis;
    white-space: nowrap;
}
.doc-panel {
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
    min-block-size: 100%;
    padding: var(--space-l-xl);
    background: var(--surface);
    border-radius: var(--radius-m);
}
.doc-tabs.is-ready .doc-panel { block-size: 100%; }
.doc-tabs.is-ready .doc-tabs__panels { align-self: stretch; }
.doc-panel[hidden] { display: none; }
.doc-panel > * { margin: 0; }
.doc-panel__head { display: flex; align-items: center; gap: var(--space-m); }
.doc-panel__head > div:last-child > * { margin: 0; }
.doc-panel__avatar { flex: none; inline-size: 5.5rem; aspect-ratio: 1; border-radius: var(--radius-m); }
.doc-panel h3 { font-size: var(--size-3); font-weight: 800; line-height: var(--leading-heading); letter-spacing: -0.02em; }
.doc-panel__role { margin-top: var(--space-2xs); font-size: var(--text-small); font-weight: 700; line-height: var(--leading); color: var(--on-soft); }
.doc-panel .chip { background: var(--sand); }
.doc-panel__bio { max-inline-size: 60ch; }
.doc-panel__cta { margin-top: auto; padding-top: var(--space-xs); }
@media (prefers-reduced-motion: reduce) { .doc-tab { transition: none; } }

/* After hours: the phone numbers as cards */
.after-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: var(--space-xs) var(--space-xl);
    margin-bottom: var(--space-m);
}
.after-head > * { margin: 0; }
.after-head p { max-inline-size: 36em; font-size: var(--text-small); line-height: var(--leading); }
.phone-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
    gap: var(--space-s);
}
.after-hours .phone-card.is-light { background: var(--surface); }
.after-hours .phone-card__num { font-size: var(--size-4); }
/* Patient Information's olive after-hours band: the emergency card in the
 * terracotta, the others in the band's lifted card colour, as the design. */
.after-hours-band .phone-card__num { font-size: var(--size-4); }
.after-hours-band .after-head p { font-size: var(--size-1); line-height: var(--leading); }
.phone-card.band-brand, .phone-card.band-brand:hover { color: var(--brand-on-solid); }
.phone-card.band-brand .phone-card__label, .phone-card.band-brand .phone-card__num { color: var(--brand-on-solid); }
.phone-card--band { background: var(--band-card); color: var(--text); }
.phone-card--band .phone-card__label { color: var(--tertiary-on-soft); }
@media (max-width: 39.99rem) {
    .fact-chips > li { border-radius: var(--radius-m); }
    .welcome-photo { min-block-size: 12rem; }
}
@media (max-width: 39.99rem) {
    .doc-panel__head { align-items: flex-start; gap: var(--space-s); }
    .doc-panel__avatar { inline-size: 4rem; }
}

/* ── House shapes: the design's gable, rounded at the peak and eaves ─────
 * One mask for every house shape: the design's own roof path
 * (assets/images/roof-mask.svg, stretched to the width) over the top
 * --roof-h of the element, and a plain block for the rest. The block is any
 * opaque fill; a mask reads only its alpha. Bottom corners stay
 * border-radius. Section rooflines are straight-edged in the design and keep
 * their clip-path. */
.house-card__roof,
.house-panel,
.svc-media--house,
.hero__art::before {
    -webkit-mask:
        url('/assets/images/roof-mask.1e88f7eac8.svg') center top / 100% var(--roof-h) no-repeat,
        linear-gradient(var(--surface), var(--surface)) center bottom / 100% calc(100% - var(--roof-h) + 1px) no-repeat;
    mask:
        url('/assets/images/roof-mask.1e88f7eac8.svg') center top / 100% var(--roof-h) no-repeat,
        linear-gradient(var(--surface), var(--surface)) center bottom / 100% calc(100% - var(--roof-h) + 1px) no-repeat;
}

/* ── About, matched to the mockup ─────────────────────────────────────── */
/* Hero: the house beside a column of the "20+" card and a photo slot */
.hero-aside { grid-template-rows: auto 1fr; }
.hero-aside > .house-panel--art:first-child { grid-row: span 2; }
.hero-aside .note-card { align-self: stretch; }
.art-panel--rect { -webkit-mask: none; mask: none; min-block-size: 9rem; border-radius: var(--radius-m); }
.art-panel--rect:empty::after { inline-size: 30%; right: 50%; transform: translateX(50%); }
/* "How we care": centred cards, as the design */
ul.card-grid > .house-panel { align-items: center; text-align: center; gap: var(--space-2xs); padding: calc(var(--peak) - var(--space-xl)) var(--space-m) var(--space-m); }  /* the icon sits up in the roof, as the design */
/* The clinic: copy, the map, and a house-shaped photo slot */
.clinic-grid { display: grid; gap: var(--space-l) var(--space-s); }
@media (min-width: 60rem) {
    .clinic-grid { grid-template-columns: 0.9fr 1fr 1fr; align-items: stretch; }
    .clinic-grid .media-frame--map { aspect-ratio: auto; min-block-size: 22rem; }
}
.clinic-grid .house-panel--art { min-block-size: 22rem; }
@media (max-width: 59.99rem) { .clinic-grid .house-panel--art { display: none; } }
.icon-list--plain > li { border: 0; padding-block: var(--space-3xs); }
/* Services: each group's intro at body size, as the design */
.service-section .lede { font-size: var(--size-0); line-height: var(--leading); }
.after-hours-band .after-head { flex-direction: column; align-items: start; gap: var(--space-2xs); }

/* ── Services: doctors with an interest (site.js keeps the matching ones) ── */
.svc-docs { display: flex; flex-direction: column; gap: var(--space-xs); margin-top: var(--space-s); }
.svc-docs[hidden] { display: none; }
.svc-docs__title { margin: 0; }
.svc-docs__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr)); gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.doc-chip {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    min-block-size: var(--target-min);
    padding: var(--space-xs) var(--space-s);
    border: var(--border-width-s) solid var(--brand-line);
    border-radius: var(--radius-m);
    color: var(--text-strong);
    text-decoration: none;
    transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.doc-chip:hover { transform: translateY(-0.2rem); box-shadow: var(--shadow-m); color: var(--text-strong); }
.doc-chip__avatar { flex: none; inline-size: 2.5rem; block-size: 2.5rem; border-radius: var(--radius-s); }
.doc-chip__text { display: flex; flex-direction: column; flex: 1; min-inline-size: 0; }
.doc-chip__text strong { font-family: var(--font-heading); font-size: var(--size-0); font-weight: 800; line-height: var(--leading-heading); }
.doc-chip__role { font-size: var(--text-small); line-height: var(--leading); color: var(--text); }
.doc-chip__arrow { font-size: var(--size-1); line-height: var(--leading); color: var(--brand-line); }
.is-dark .doc-chip { border-color: var(--tertiary-line); }
.is-dark .doc-chip__arrow, .is-dark .svc-docs__title { color: var(--tertiary-on-soft); }
.band-brand .doc-chip, .band-brand .doc-chip:hover { border-color: var(--brand-on-solid); color: var(--brand-on-solid); }
.band-brand .doc-chip__role, .band-brand .doc-chip__arrow { color: var(--brand-on-solid); }

/* Phone cards deepen on hover as well as lifting, as the design */
.phone-card { transition: transform var(--duration-base) var(--ease-out), background-color var(--duration-base) var(--ease-out); }
.phone-card.is-dark:hover { background: color-mix(in oklch, var(--surface), var(--mix-hover)); }
.phone-card.is-light:hover { background: var(--sand); }
.after-hours .phone-card.is-light:hover { background: var(--sand-deep); }
.phone-card.band-brand:hover { background: color-mix(in oklch, var(--brand-solid), var(--mix-hover)); }
.phone-card--band:hover { background: var(--band-card-hover); color: var(--text); }

/* Homepage: the bricks fade towards the edges of the highlights band and the
 * bulk billing card, as the design's vignette (the mask's second layer). */
.highlights.bricks::before, .fees-card.bricks::before {
    -webkit-mask:
        url('/assets/images/brick-mask.71ee584db7.svg') 0 0 / 7.5rem 3.75rem repeat,
        radial-gradient(ellipse 90% 80% at 50% 45%, var(--surface) 30%, color-mix(in oklab, var(--surface) 35%, transparent) 100%);
    -webkit-mask-composite: source-in;
    mask:
        url('/assets/images/brick-mask.71ee584db7.svg') 0 0 / 7.5rem 3.75rem repeat,
        radial-gradient(ellipse 90% 80% at 50% 45%, var(--surface) 30%, color-mix(in oklab, var(--surface) 35%, transparent) 100%);
    mask-composite: intersect;
}
/* Services: the jump list fades out at its ends, as the design */
.jump-bar ul {
    -webkit-mask-image: linear-gradient(90deg, transparent, var(--surface) var(--space-l), var(--surface) calc(100% - var(--space-xl)), transparent);
    mask-image: linear-gradient(90deg, transparent, var(--surface) var(--space-l), var(--surface) calc(100% - var(--space-xl)), transparent);
    padding-inline: var(--space-m) var(--space-l);
}

/* Groups that come in one after another, as the design's staggered entrances:
 * each later item starts its reveal a little further into the view, the
 * steps shrinking (0, 6, 10, 13%) so the run speeds up. Scroll-driven, like
 * .reveal itself, and off under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
    .reveal-stagger > .reveal:nth-child(2) { animation-range: entry 6% cover 36%; }
    .reveal-stagger > .reveal:nth-child(3) { animation-range: entry 10% cover 40%; }
    .reveal-stagger > .reveal:nth-child(n+4) { animation-range: entry 13% cover 43%; }
}

/* Services: the app's full list folds away (not in the mockup), so the
 * "Also available" band keeps the design's height until it is opened. */
.services-all--more > summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2xs) var(--space-s); min-block-size: var(--target-min); cursor: pointer; list-style: none; }
.services-all--more > summary::-webkit-details-marker { display: none; }
.services-all--more > summary h3 { margin: 0; }
.services-all__hint { font-size: var(--text-small); font-weight: 700; line-height: var(--leading); color: var(--tertiary-on-soft); text-decoration: underline; text-underline-offset: 0.2em; }
.services-all__hint::after { content: " +"; }
.services-all--more[open] .services-all__hint::after { content: " −"; }
.services-all--more[open] > summary { margin-bottom: var(--space-s); }
/* Phones: each doctor is a compact card, as the design (the bio is on Doctors & Staff) */
@media (max-width: 59.99rem) { .doc-panel__bio { display: none; } }

/* ── Roof pitch, measured from the mockups ────────────────────────────────
 * Cards: the design's card roofs are 70px on a phone to 110px at desktop
 * whatever the card's width. The low roofs (the timeline, the contact form,
 * the 404 panel) scale with the WIDTH instead, as the design's 300x62 and
 * 600x132 drawings do: a roof over a very tall wall, sized to the card's
 * width, with a percentage padding (a share of the width) under it. */
.house-panel:not(.house-panel--art) { --peak: calc(var(--space-xl-2xl) * 1.35); }  /* the design's clamp(70px, 7vw, 110px) */
.house-panel--low:not(.house-panel--art) {
    --peak: 20%;
    -webkit-mask: url('/assets/images/roof-card-low-mask.d7ded5533f.svg') center top / 100% auto no-repeat;
    mask: url('/assets/images/roof-card-low-mask.d7ded5533f.svg') center top / 100% auto no-repeat;
}
/* Photo panels: the design's roof, up to 150px at desktop (80px on a phone)
 * but never more than 36% of the panel's height. */
.house-panel--art { --peak: calc(var(--space-2xl-3xl) * 1.25); --roof-h: min(var(--peak), 36%); }
.svc-media--house { --roof-h: min(calc(var(--space-2xl-3xl) * 1.25), 36%); }
/* Homepage highlight cards: the roof keeps the design's 300:130 shape */
.house-card__roof { padding-top: 0; }  /* the design's fixed 130px roof (8rem) */
/* A card that opens with an icon carries it up in the roof, as the design */
.house-panel:not(.house-panel--art):has(> .house-panel__icon:first-child) { padding-top: calc(var(--peak) - var(--space-xl)); }

/* Two-tone icons drawn from the mockups: the main shape in the icon's
 * colour, a lighter accent of it (the design's #B4603F), and cut-outs in
 * the paper. */
.icon-2tone { --icon-accent: color-mix(in oklab, currentColor 82%, var(--surface)); }
.icon-2tone .t-accent { fill: var(--icon-accent); }
.icon-2tone .t-accent-s { stroke: var(--icon-accent); fill: none; }
.icon-2tone .t-paper { fill: var(--surface); }
/* The coin on the Paying card: a sand disc with the dollar in the brand red */
.coin-icon { flex: none; inline-size: 1.75rem; block-size: 1.75rem; color: var(--brand-line); }
.coin-icon .t-sand { fill: var(--sand); }

/* Each house shape takes the design's own roof drawing, so the peak and the
 * eaves are rounded exactly as drawn: the cards' 300x110 roof, the homepage
 * highlights' 300x130, the timeline's 300x62 and the form's 600x132 (the
 * photo panels keep roof-mask.svg, the design's 400x150). */
.house-panel:not(.house-panel--art):not(.house-panel--low) {
    -webkit-mask:
        url('/assets/images/roof-card-mask.0bbae72dc7.svg') center top / 100% var(--roof-h) no-repeat,
        linear-gradient(var(--surface), var(--surface)) center bottom / 100% calc(100% - var(--roof-h) + 1px) no-repeat;
    mask:
        url('/assets/images/roof-card-mask.0bbae72dc7.svg') center top / 100% var(--roof-h) no-repeat,
        linear-gradient(var(--surface), var(--surface)) center bottom / 100% calc(100% - var(--roof-h) + 1px) no-repeat;
}
.house-card__roof {
    -webkit-mask: url('/assets/images/roof-highlight-mask.3b21a6096b.svg') center top / 100% 100% no-repeat;
    mask: url('/assets/images/roof-highlight-mask.3b21a6096b.svg') center top / 100% 100% no-repeat;
}
.form-panel.house-panel--low {
    --peak: 19%;
    -webkit-mask: url('/assets/images/roof-form-mask.48fa08b9d6.svg') center top / 100% auto no-repeat;
    mask: url('/assets/images/roof-form-mask.48fa08b9d6.svg') center top / 100% auto no-repeat;
}
.house-panel--low:not(.form-panel) { --peak: 17%; }

/* ── Photo slots ──────────────────────────────────────────────────────────
 * Until the practice supplies photos every photo slot is a plain panel that
 * says "Insert image", as the design's empty slots do: no logo, no small
 * tree, no drawn house. Replace the label with an <img> (alt text, width
 * and height) and the slot shows the photo. */
.house-panel--art, .welcome-photo, .hero__art, .svc-media { display: grid; place-items: center; }
.house-panel--art::after, .hero__art::before, .hero__art::after, .svc-media::after, .welcome-photo::after { content: none; }
.slot-label {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3xs);
    font-size: var(--text-small);
    font-weight: 700;
    line-height: var(--leading);
    color: color-mix(in oklab, currentColor 55%, transparent);
    text-align: center;
}
.slot-label svg { inline-size: 1.75rem; block-size: 1.75rem; }
.house-panel--art .slot-label, .welcome-photo .slot-label, .hero__art .slot-label { color: var(--text); opacity: 0.6; }
.is-dark .svc-media .slot-label { color: var(--text); opacity: 0.7; }
.band-brand .svc-media .slot-label { color: var(--brand-on-solid); opacity: 0.75; }

/* Desktop dropdowns in the dark olive of the bands and the utility bar
 * (trial, 2026-11-09; terracotta before): the band's paper and ink, the item
 * under the pointer or the current page a step lighter. The phone menu keeps
 * the light list. */
@media (min-width: 1260px) {
    .site-nav__menu {
        --focus-ring: var(--tertiary);
        --menu-bg: var(--paper-dark);                                          /* the olive band */
        --menu-hover: color-mix(in oklab, var(--paper-dark), var(--ink-dark) 12%); /* a step lighter */
        background: var(--menu-bg);
        color: var(--ink-dark);
    }
    .site-nav__menu a { color: var(--ink-dark); }
    .site-nav__menu a span { color: color-mix(in oklab, var(--ink-dark) 85%, var(--paper-dark)); }
    .site-nav__menu a:hover,
    .site-nav__menu a[aria-current="page"] { background: var(--menu-hover); color: var(--tertiary); }
}
/* Footer bottom bar: one row (copyright, policies, Powered by) on a desktop */
.site-footer__base { column-gap: var(--space-m); }
.site-footer__base .footer-policies { column-gap: var(--space-s); }

/* Staff cards: the generic practice nurse card gives way to a nurse from the app */
.card-grid:has(.nurse-from-app) .nurse-generic { display: none; }
.nurse-cap { stroke: var(--surface); }
/* About's hero: the house is about square and sits on the baseline of the
 * column beside it, its peak below the top of the "20+" card, as the design */
.hero-aside--sit > .house-panel--art:first-child { align-self: end; aspect-ratio: 1; min-block-size: 0; }

/* Photo slot labels sit in the middle of the slot */
.house-panel--art, .welcome-photo, .hero__art, .svc-media { place-content: center; justify-content: center; }
/* Services jump bar as a moving carousel (site.js): the arrows stay */
.jump-bar.is-moving ul { scroll-behavior: auto; }
.jump-bar__pause span { font-size: var(--text-small); line-height: var(--leading); }

/* Doctor cards on Services, tightened to the design: initials in a brick
 * square (first letters of the Rails first and last names, by ::first-letter,
 * so nothing is typed), a photo over them when the app has one, names on one
 * line. */
.doc-chip { gap: var(--space-xs); padding: var(--space-2xs) var(--space-s) var(--space-2xs) var(--space-xs); }
.doc-chip__avatar {
    position: relative;
    display: grid;
    place-items: center;
    flex: none;
    inline-size: 2.25rem;
    block-size: 2.25rem;
    overflow: hidden;
    border-radius: var(--radius-s);
    background: var(--brand-solid);
    color: var(--brand-on-solid);
}
.doc-chip__avatar img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.doc-chip__ini { display: flex; font-family: var(--font-heading); font-weight: 800; }
.doc-chip__ini > span { display: inline-block; font-size: 0; }
.doc-chip__ini > span::first-letter { font-size: var(--text-small); line-height: var(--leading); }
.doc-chip__text strong { font-size: var(--text-small); }
.doc-chip__role { font-size: var(--text-small); }

/* Services "Also available": the design's compact cards */
.also-card { padding: var(--space-s) var(--space-m) var(--space-m); gap: var(--space-2xs); }
.also-card h3 { gap: var(--space-2xs); }
.also-card .svc-list > li { gap: var(--space-xs); padding-block: var(--space-2xs); font-size: var(--text-small); line-height: var(--leading); }
.also-card .svc-list > li:last-child { border-bottom: 0; }
.also-card .ico { inline-size: 1.125rem; block-size: 1.125rem; }
.also-card h3 .ico { inline-size: 1.5rem; block-size: 1.5rem; }
.art-panel--rect { padding: var(--space-s); }  /* no roof, so no room kept for one: the label sits in the middle */

/* Patient Information's "On this page": wide enough for one-line links and
 * never a scroll box of its own. It sticks beside the text only on a
 * window tall enough to show all of it; otherwise it sits at the top. */
.doc { grid-template-columns: 21rem minmax(0, 1fr); column-gap: var(--space-xl); }
.toc { position: static; max-block-size: none; overflow: visible; padding: var(--space-s); }
.toc__group { margin: var(--space-xs) var(--space-2xs) 0; }
@media (min-width: 1100px) and (min-height: 53rem) { .toc { position: sticky; } }
@media (max-width: 1099px) { .doc { grid-template-columns: 1fr; } }  /* stacked: the list above the text */

/* Patient Information: the complaint bodies as terracotta cards with icons */
.prose .complaint-card h3 { display: flex; align-items: flex-start; gap: var(--space-xs); margin: 0; color: var(--brand-on-solid); }
.complaint-card h3 .ico { inline-size: 1.5rem; block-size: 1.5rem; margin-top: var(--space-3xs); }
.prose .complaint-card__lines { display: flex; flex-direction: column; gap: var(--space-3xs); margin: 0; padding: 0; list-style: none; }
.prose .complaint-card__lines > li { display: flex; align-items: center; gap: var(--space-xs); margin: 0; padding: 0; font-size: var(--text-small); line-height: var(--leading); }
.prose .complaint-card__lines > li::before { content: none; }
.complaint-card .ico { color: var(--brand-on-solid); }
.complaint-card__lines .ico { inline-size: 1.125rem; block-size: 1.125rem; opacity: 0.85; }
.prose .complaint-card a { color: var(--brand-on-solid); font-weight: 700; }

/* Contact: "Get in touch" starts level with the form house's wall (its
 * eaves, 116/600 of the panel's width down), not its roof peak, as the
 * design. The panel is two thirds of the grid after the gap. */
@media (min-width: 900px) {
    .message-grid { container-type: inline-size; }
    .message-grid > .stack { padding-top: calc((100cqi - var(--space-2xl)) * 2 / 3 * 116 / 600); }
}

/* Contact "Getting here": the design's tighter cards */
.getting-here, .getting-here__facts { gap: var(--space-xs); }
.getting-here .panel { padding: var(--space-s) var(--space-m); gap: var(--space-3xs); }
.getting-here .panel h3 { margin: 0; }
.getting-here .steps { gap: var(--space-s) var(--space-l); margin: 0; }
.getting-here .steps > li { gap: var(--space-s); font-size: var(--size-0); line-height: var(--leading); }  /* body size, as the cards beside it read */
.getting-here .steps > li::before { font-size: var(--size-1); line-height: var(--leading); }
.getting-here__transit { justify-content: center; }  /* the steps sit in the middle of the column's height */
@media (min-width: 900px) { .getting-here .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Contact form, tightened to the design: a shorter message box, closer
 * fields, the mark up in the roof, a smaller About messages card */
:root { --field-textarea-h: calc(var(--field-h) * 2.25); }
.contact-form { gap: var(--space-xs) var(--space-s); }
.form-panel { gap: var(--space-xs); padding-bottom: var(--space-m); }
.form-panel__mark { margin-top: calc(var(--space-xl) * -1.5); }
.contact-form__foot { margin-top: var(--space-3xs); }
.message-grid .panel { padding: var(--space-m); gap: var(--space-2xs); }
.message-grid .panel h3 { margin: 0; }
.message-grid .panel h3 { font-size: var(--size-1); line-height: var(--leading); }

/* Doctor avatars show the doctor's initials (the first letters of the Rails
 * first and last names, by ::first-letter, so nothing is typed) in place of
 * the silhouette; a photo from the app covers them. */
.doctor-avatar--ini::after { content: none; }
.doctor-avatar--ini img { position: absolute; inset: 0; }
.doc-ini { display: flex; font-family: var(--font-heading); font-weight: 800; letter-spacing: 0.02em; color: var(--brand-on-solid); }
.doc-ini > span { display: inline-block; font-size: 0; }
.doc-ini > span::first-letter { font-size: var(--size-0); line-height: var(--leading); }
.doc-panel__avatar .doc-ini > span::first-letter { font-size: var(--size-2); line-height: var(--leading); }
.profile__avatar .doc-ini > span::first-letter { font-size: var(--size-3); line-height: var(--leading); }

/* Homepage service cards: the title turns gold on hover, as a link on the olive */
.service-card:hover h3 a, .service-card h3 a:focus-visible { color: var(--tertiary-on-soft); text-decoration: none; }


/* Footer: Contact beside the quote, then Visit us, Opening hours and the
 * page links (in two columns) */
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-l) var(--space-2xl); }
.site-footer__lead { flex: 1 1 28rem; }
.site-footer__contact { flex: 0 1 auto; }
.site-footer__contact p { margin: 0 0 var(--space-2xs); }
.site-footer__cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.site-footer__cols > section:last-child { grid-column: auto; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-s); max-inline-size: 30rem; }
@media (max-width: 1099px) {
    .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-l); }
}
@media (max-width: 599px) {
    .site-footer__cols { grid-template-columns: 1fr; }
    .site-footer__cols > section:last-child { grid-column: auto; }
}

/* Footer map, beside Visit us */
.footer-map { overflow: hidden; border-radius: var(--radius-m); min-block-size: 12rem; background: var(--band-card); }
.footer-map iframe { display: block; inline-size: 100%; block-size: 100%; min-block-size: 12rem; border: 0; }
/* Contact beside the quote: about the quote's height */
.site-footer__contact .footer-head { margin-bottom: var(--space-3xs); }
.site-footer__contact p { margin: 0; }
.site-footer__contact .site-footer__phone a { min-block-size: 0; }

/* Footer columns: map, Visit us, Opening hours, Pages (wide); map and
 * Visit us, then hours and Pages (tablet); one column on a phone */
@media (min-width: 1100px) {
    /* each column as wide as its content (the map up to 22rem), the spare
     * room shared out evenly between them */
    .site-footer__cols { grid-template-columns: minmax(14rem, 22rem) auto auto auto; justify-content: space-between; column-gap: var(--space-l); }
    .site-footer__cols > section:last-child { grid-column: auto; }
}

/* Service photos fill their panel, cropped to its shape (the house roof is
 * the panel's mask) */
.svc-media.has-photo > img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.svc-media.has-photo::after { content: none; }

/* Practice photos fill their slot, cropped to its shape (the roof is the
 * panel's mask); the logo-era decoration goes */
.hero__art.has-photo, .house-panel--art.has-photo { position: relative; padding: 0; }
.hero__art.has-photo::before, .hero__art.has-photo::after, .house-panel--art.has-photo::after { content: none; }
.hero__art.has-photo > img, .house-panel--art.has-photo > img {
    position: absolute; inset: 0; inline-size: 100%; block-size: 100%; margin: 0; object-fit: cover;
}
/* Men's health: a taller house so the photo sits below the roof (asked 2026-11-08) */
@media (min-width: 900px) { #mens-health .svc-media--house.has-photo { min-block-size: 30rem; } }
#mens-health .svc-media--house.has-photo > img { object-position: 50% 30%; }
.welcome-photo.has-photo::after { content: none; }
.welcome-photo.has-photo > img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
/* A section head's button sits clear of the line above it */
.section-head__cta { margin-top: var(--space-s); }
/* A photo cropped toward its right side, where its subject is (the girl in
 * the Services hero, clear of the roof) */
.has-photo > img.img-pos-right { object-position: 85% 50%; }

/* HealthEngine's booking popup (their DOM, opened by mediflare.js): a smaller
 * corner on its panel and frame so the corner doesn't clip the scrollbar.
 * Their styles are inline, hence !important; nothing else is changed. */
[id^="he-webplugin-popup-"] div,
[id^="he-webplugin-popup-"] iframe { border-radius: var(--radius-s) !important; }
