/* ==========================================================================
   one.css: the One Site design system for www.sandycreek.org.
   One look, one menu, one login, for the public pages and the camp system.

   Grown from the camp system's design of 8 Nov 2026 (public/css/style.css):
   ink on paper, hairlines and whitespace instead of boxes, the camp's olive
   for actions and its gold as a rare accent, small corners, shadows only on
   what floats. Public pages add big photography and room to breathe;
   system pages use the same parts with calmer content.

   Order of the layers (later wins):
     tokens     every colour, size and space, light and dark
     base       the page's own elements: type, links, focus, motion
     legacy     (the system's style.css, on the system's pages only)
     layout     the frames (site, focused) and the page grid
     parts      every component, each defined once
     utilities  a few helpers (visually hidden, skip link, spacing)

   Contrast: every text/background and control pair below was measured
   (WCAG 2.2 AA: 4.5:1 text, 3:1 controls and focus). The pairs and their
   ratios are listed with the mock-ups (M1 report).
   ========================================================================== */
/* Raleway for headings, kept on the site itself (the owner's rule of
   2026-11-08: no font from another site). Latin only, the two weights the
   design uses. Licence: ../fonts/OFL.txt. Both are at the top of every
   page (the menu's 600, the headings' 700), so the build has every page
   ask for them first (one-site:preload, site/lib/versions.js). */
@font-face {
  /* one-site:preload */
  font-family: "Raleway";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/raleway-latin-600-normal.woff2?v=0a66971e5a13") format("woff2");
}
@font-face {
  /* one-site:preload */
  font-family: "Raleway";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/raleway-latin-700-normal.woff2?v=05844cd75b25") format("woff2");
}
/* While Raleway loads, Arial stands in at Raleway's size (it runs about
   9.5% wider), so headings don't reflow when the real font arrives. */
@font-face {
  font-family: "Raleway Fallback";
  src: local("Arial"), local("Helvetica");
  size-adjust: 90.5%;
  ascent-override: 104%;
  descent-override: 26%;
  line-gap-override: 0%;
}
/* legacy: the system's own style.css, on its pages only, sits between base
   and layout, so the frame and these parts win over it. Nothing of this
   file goes in it. */
@layer tokens, base, legacy, layout, parts, utilities;
/* ── Tokens ──────────────────────────────────────────────────────────────
   Named once, used everywhere. Light first; dark mode swaps the colour
   set below. The four GEN-5 colours are kept exact. */
@layer tokens {
  :root {
    /* The camp's palette (GEN-5) */
    --olive: #373f27; /* Dark Green: actions, links */
    --sage: #636b46; /* Light Green: labels, the "more" link */
    --gold: #cda34f; /* Gold: rules and marks only, never text on paper */
    --daisy: #e9e7da; /* Daisy White: text on the dark band */
    --paper-light: #f6f4ed; /* light paper that stays light in dark mode:
                                buttons on photos and bands */

    /* Paper and ink */
    --color-page: #f6f4ed;
    --color-page-alt: #eeebe0; /* a quiet band or panel */
    --color-surface: #ffffff; /* what floats: menus, pop-ups */
    --color-field: #ffffff; /* boxes you type in */
    --color-ink: #1d2216;
    --color-ink-2: #474c3f;
    --color-muted: #5f6354; /* hints, meta: 5.2:1 or better on every paper */
    --color-line: #dcd8c8; /* hairlines (decorative) */
    --color-line-strong: #c4bfab; /* the rule that starts a list */
    --color-control: #7b7868; /* a box's edge: 4:1 on paper */

    /* Action, link, selection */
    --color-action: var(--olive);
    --color-action-hover: #262c1a;
    --color-on-action: #ffffff;
    --color-link: var(--olive);
    --color-selected: #e9ecdf; /* a chosen answer's tint */

    /* Buttons (ONE-SITE/13 §6, "Editorial", the owner's choice of 14 Nov):
       the primary the one solid block, ink with paper words; the secondary
       its words over a drawn 2px rule, gold on hover; the tertiary sage
       words and an arrow. On a photo or the dark band the block is paper
       and the words and rules white (set again below, .btn's on-dark
       context). The system's framed pages use these too. */
    --btn-primary-bg: var(--color-action);
    --btn-primary-bg-hover: var(--color-action-hover);
    --btn-primary-ink: var(--paper-light);
    --btn-text: var(--color-ink);
    --btn-rule: var(--color-ink);
    --btn-rule-hover: var(--gold);
    --btn-link-ink: var(--color-label);
    --btn-link-ink-hover: var(--color-ink);

    /* Accent: gold is a mark, gold-ink is gold you can read */
    --color-accent: var(--gold);
    --color-accent-ink: #80601c;
    /* Labels and kickers: sage (Light Green), 4.7:1 on every paper. */
    --color-label: var(--sage);
    --color-focus: #8f6a1d; /* keyboard focus ring: 4.1:1 or better */

    /* Status: always with words, never colour alone */
    --color-error: #a31515;
    --color-error-bg: #fbeeec;
    --color-warning: #704b00;
    --color-warning-bg: #f9f0dc;
    --color-success: #3d5e22;
    --color-success-bg: #e9eedf;

    /* The dark band (footer) and photo scrim */
    --color-band: #232a1a;
    --color-band-2: var(--olive); /* a band inside a page, a step lighter */
    --color-on-band: var(--daisy);
    --color-on-band-muted: #bdbcab;
    --color-band-line: rgb(233 231 218 / 0.16);
    --scrim: 16 20 12;

    /* Logo: which drawing shows */
    --logo-light: block;
    --logo-dark: none;

    /* Type: one modular scale, fluid from a phone (390px), where each step
       is about 1.15 times the last, to a wide screen (1440px), about 1.28,
       so headings gain presence where there's room and stay modest in a
       hand. Raleway for headings, Arial for reading. */
    --font-head: "Raleway", "Raleway Fallback", Arial, Helvetica, sans-serif;
    --font-body: Arial, Helvetica, sans-serif;
    --text-xs: 0.8125rem; /* 13: legal lines, kickers */
    --text-sm: 0.9375rem; /* 15: captions, meta, labels */
    --text-md: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem); /* 17-18: body */
    --text-lg: clamp(1.1875rem, 1.1rem + 0.3vw, 1.375rem); /* 19-22: lead, h4 */
    --text-xl: clamp(1.375rem, 1.25rem + 0.5vw, 1.75rem); /* 22-28: h3 */
    --text-2xl: clamp(
      1.625rem,
      1.4rem + 0.95vw,
      2.25rem
    ); /* 26-36: statement */
    --text-3xl: clamp(1.875rem, 1.5rem + 1.6vw, 2.875rem); /* 30-46: h2 */
    --text-4xl: clamp(2.25rem, 1.7rem + 2.3vw, 3.75rem); /* 36-60: h1 */
    --text-5xl: clamp(2.625rem, 1.65rem + 4vw, 5.5rem); /* 42-88: home title */
    /* The longest comfortable line: about 70 characters of Arial. */
    --measure: 64ch;

    /* Space: an 8px scale, with 4px and 12px half steps */
    --space-3xs: 0.25rem;
    --space-2xs: 0.5rem;
    --space-xs: 0.75rem;
    --space-s: 1rem;
    --space-m: 1.5rem;
    --space-l: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    /* The rhythm: room above and below a section (56px on a phone, 96 on a
       wide screen), and between a section's head and what it introduces. */
    --section-y: clamp(3.5rem, 2.6rem + 3.6vw, 6rem);
    --stack: clamp(2rem, 1.6rem + 1.6vw, 3rem);
    --gutter: clamp(1rem, 0.4rem + 3vw, 3rem);
    /* The page's grid as a grid's columns (ONE-SITE/13 §4): the gutter,
       twelve columns making the page's width (the header's edges), the
       gutter. Placed from line 2 to line 14, a part sits on the header's
       edges; from line 1 or to line 15 (-1), it bleeds to the window's
       edge on purpose. */
    --page-columns: minmax(var(--gutter), 1fr)
      repeat(12, minmax(0, calc(var(--w-page) / 12))) minmax(var(--gutter), 1fr);

    /* Widths: the page's grid (the header's edges) and the text column */
    --w-page: 78rem;
    --w-text: 40rem;
    --w-form: 42rem;

    /* Shape and depth */
    /* Small corners: 4px for buttons, boxes and panels, 6px for what
       floats, photos cut square (2px). */
    --radius-s: 4px;
    --radius-m: 6px;
    --radius-photo: 2px;
    /* The menu bar's look of 16 Nov (decisions.md): rounder for what the
       header holds. Pills for its items and the Menu button; 10px for a
       tile and the rows of what drops down; 16px for what drops down. */
    --radius-pill: 999px;
    --radius-l: 0.625rem;
    --radius-xl: 1rem;
    --shadow-float:
      0 1px 2px rgb(29 34 22 / 0.06), 0 16px 40px -12px rgb(29 34 22 / 0.24);

    /* The header */
    --header-h: 4rem;

    /* Motion */
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --fast: 150ms;
    --slow: 280ms;

    color-scheme: light;
  }
  @media (width >= 64rem) {
    :root {
      --header-h: 4.75rem;
    }
  }
  /* Dark mode: only when the person switches it on themselves (the
     system's /js/theme.js puts data-theme="dark" on <html>); light
     otherwise, whatever the device prefers. Earthy, not black: warm
     charcoal paper, sage for actions. Screen only, as in the system's
     style.css: anything printed stays dark ink on white. */
  @media screen {
    :root[data-theme="dark"] {
      --color-page: #1a1b17;
      --color-page-alt: #21231d;
      --color-surface: #272922;
      --color-field: #131410;
      --color-ink: #ecebe2;
      --color-ink-2: #d3d1c5;
      --color-muted: #aeac9f;
      --color-line: #34362e;
      --color-line-strong: #4a4c42;
      --color-control: #8c8e82;
      --color-action: #c4ce9e;
      --color-action-hover: #d5ddb4;
      --color-on-action: #1b2011;
      --color-link: #c4ce9e;
      --color-selected: #2b3123;
      --color-accent-ink: #d9b566;
      --color-label: #b9c09a;
      --color-focus: #d9b566;
      --color-error: #f0a196;
      --color-error-bg: #3a2421;
      --color-warning: #e3c07a;
      --color-warning-bg: #352d1b;
      --color-success: #b6c897;
      --color-success-bg: #2b3123;
      --color-band: #111210;
      --color-band-2: #2b3123;
      --color-on-band-muted: #b3b2a3;
      --btn-primary-ink: var(--color-on-action);
      --shadow-float:
        0 1px 2px rgb(0 0 0 / 0.3), 0 16px 40px -12px rgb(0 0 0 / 0.6);
      --logo-light: none;
      --logo-dark: block;
      color-scheme: dark;
    }
  }
}
/* ── Base ────────────────────────────────────────────────────────────────
   The page's own elements. Type does the work: Raleway headings set tight,
   Arial body at 17 to 18px with an easy line height. */
@layer base {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* A link to a part of the page lands below the sticky header. */
    scroll-padding-top: calc(var(--header-h) + var(--space-m));
  }
  @media (prefers-reduced-motion: no-preference) {
    html {
      scroll-behavior: smooth;
    }
  }
  body {
    margin: 0;
    background: var(--color-page);
    color: var(--color-ink);
    font: 400 var(--text-md) / 1.6 var(--font-body);
    /* Raleway's numbers are old-style by default; prices, ages and "C3"
       read better upright. */
    font-variant-numeric: lining-nums;
    /* A long address or word in the live text breaks rather than pushing
       the page wider than a phone. */
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  h1,
  h2,
  h3,
  h4 {
    margin: 0 0 0.5em;
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--color-ink);
    text-wrap: balance;
  }
  h1 {
    font-size: var(--text-4xl);
    line-height: 1.04;
    letter-spacing: -0.028em;
  }
  h2 {
    font-size: var(--text-3xl);
    line-height: 1.08;
    letter-spacing: -0.024em;
  }
  h3 {
    font-size: var(--text-xl);
    line-height: 1.2;
    letter-spacing: -0.012em;
  }
  h4 {
    font-size: var(--text-lg);
    line-height: 1.3;
    letter-spacing: -0.005em;
  }
  p,
  ul,
  ol,
  dl {
    margin: 0 0 1em;
  }
  p {
    text-wrap: pretty;
  }
  li + li {
    margin-top: 0.25em;
  }
  strong,
  b {
    font-weight: 700;
  }
  small {
    font-size: var(--text-sm);
  }
  a {
    color: var(--color-link);
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
    transition:
      text-decoration-thickness var(--fast) var(--ease),
      color var(--fast) var(--ease);
  }
  a:hover {
    text-decoration-thickness: 2px;
  }
  img,
  svg,
  video {
    display: block;
    max-width: 100%;
  }
  img {
    height: auto;
    /* A cropped photo keeps its subject in view: its focus, from
       src/_data/photoFocus.js (the focus-x… and focus-y… classes, below in
       utilities); the centre otherwise. */
    object-position: var(--focus-x, 50%) var(--focus-y, 50%);
  }
  button,
  input,
  select,
  textarea {
    font: inherit;
    color: inherit;
  }
  button {
    cursor: pointer;
  }
  hr {
    margin: var(--space-xl) 0;
    border: 0;
    border-top: 1px solid var(--color-line);
  }
  /* One focus ring everywhere: gold, deep enough to see on paper, white
     and the dark band (each region sets --color-focus for its ground). */
  :focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 2px;
  }
  ::selection {
    background: var(--color-selected);
    color: var(--color-ink);
  }
  /* Motion helps people follow what happened; it never decorates. Off for
     anyone who asks. */
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}
/* ── Layout ──────────────────────────────────────────────────────────────
   Site frame: header, page, footer, on every page.
   Focused frame: the same header, slimmed to the logo and "Back", for
   checkout, signing and log-in steps.
   (The tool frame, for the Admin Panel and staff screens, keeps the
   system's own layout with these tokens.) */
@layer layout {
  .site {
    display: grid;
    /* One column, never wider than the window, whatever is inside. */
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    min-height: 100dvh;
  }
  /* The practice copy's banner (server/lib/stagingGate.js) is one more row
     above the header, which keeps its own height. */
  .site:has(> .test-copy-banner) {
    grid-template-rows: auto auto 1fr auto;
  }
  /* The grid: the page's width, the header's edges, with gutters that
     grow with the screen (and the narrower text column, for a page of
     running text). Everything on a page shares these edges; only a photo
     runs past them, to the window's edge (--page-columns, above). */
  .wrap {
    width: min(100% - 2 * var(--gutter), var(--w-page));
    margin-inline: auto;
  }
  .wrap--text {
    width: min(100% - 2 * var(--gutter), var(--w-text));
  }
  /* A section of a public page: generous room above and below. */
  .section {
    padding-block: var(--section-y);
  }
  /* A block of the system on a website page (One Site, lib/assemble.js):
     the section above it already leaves the room. */
  .section + [data-block] {
    padding-top: 0;
  }
  /* It takes the page's own width (the system's .container gives it
     that), so Give's form and its summary sit side by side on a wide
     screen. */
  /* One spacing between parts (ONE-SITE/13 §4): two parts on the same
     paper share it, rather than each keeping its own. */
  .section:not(.section--alt, .section--rule)
    + .section:not(.section--alt, .section--rule) {
    padding-top: 0;
  }
  .section--alt {
    background: var(--color-page-alt);
  }
  .section--rule {
    border-top: 1px solid var(--color-line);
  }
  .section + .section--rule {
    padding-top: var(--section-y);
  }
}
/* ── Parts ───────────────────────────────────────────────────────────────
   Every part is defined once: a public page and the Family page use
   literally the same button, field and heading. */
@layer parts {
  /* ── Icons: a few hand-drawn strokes (arrow, chevron, person), inline SVG ───── */
  .icon {
    flex: none;
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .icon--arrow {
    transition: translate var(--fast) var(--ease);
  }
  :is(a, button):hover > .icon--arrow,
  :is(a, button):hover .icon--arrow {
    translate: 3px 0;
  }
  /* ── Header: logo, the one menu, the corner ──────────────────────────
     (src/_includes/frame/header.njk, /assets/js/menu.js.) Sticky, on
     paper, a hairline under it. It is part of every page as built, so it
     never flickers. Where pages cross-fade (the system's own, whose
     style.css opts in), it stays put rather than fading with them. From 72rem
     the menu sits in a row; below that it folds behind the one Menu
     button, with the account part at its top. */
  .site-header {
    position: sticky;
    top: 0;
    /* Above the system's floating Feedback button (40), so the open phone
       menu covers it; below its pop-ups (50). */
    z-index: 45;
    background: var(--color-page);
    border-bottom: 1px solid var(--color-line);
  }
  /* On the system's pages, their own style.css (the legacy layer) styles
     plain elements (a, h1 to h4, button, the body's type). So the frame
     sets everything it needs itself, here, and none of that reaches it. */
  .site-header,
  .site-footer {
    font: 400 var(--text-md) / 1.6 var(--font-body);
    letter-spacing: normal;
    text-align: left;
  }
  .site-header {
    color: var(--color-ink);
  }
  :is(.site-header, .site-footer) :is(button, .btn):active {
    transform: none;
  }
  .site-header__bar {
    display: flex;
    align-items: center;
    gap: var(--space-m);
    min-height: var(--header-h);
  }
  .brand {
    flex: none;
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    border-radius: var(--radius-s);
  }
  .brand img {
    width: 8.25rem;
    height: auto;
  }
  .brand__light {
    display: var(--logo-light);
  }
  .brand__dark {
    display: var(--logo-dark);
  }
  .site-menu,
  .submenu {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .site-menu > li,
  .submenu > li {
    margin: 0;
  }
  /* The menu bar's look of 16 Nov (decisions.md): each item in full ink,
     shaded as one rounded pill, words and arrow together, where you point
     or while its submenu is open. */
  .site-menu__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 2.75rem;
    padding: 0 0.75rem;
    border: 0;
    border-radius: var(--radius-pill);
    background: none;
    font: 600 1rem / 1 var(--font-head);
    letter-spacing: 0.005em;
    color: var(--color-ink);
    text-decoration: none;
    white-space: nowrap;
  }
  .submenu-toggle {
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: var(--radius-pill);
    background: none;
    color: var(--color-ink);
  }
  /* An item with no page of its own is a menu link too: it keeps the
     link's room either side, which .submenu-toggle's would take away. */
  .submenu-toggle--label {
    display: inline-flex;
    padding: 0 0.75rem;
  }
  .submenu-toggle .icon {
    width: 0.875rem;
    height: 0.875rem;
    stroke-width: 1.75;
    transition: rotate var(--fast) var(--ease);
  }
  .submenu-toggle[aria-expanded="true"] .icon {
    rotate: 180deg;
  }
  .submenu__link {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0 var(--space-xs);
    border-radius: var(--radius-l);
    font: 400 1rem / 1.3 var(--font-body);
    color: var(--color-ink);
    text-decoration: none;
  }
  .submenu__link:hover {
    background: var(--color-selected);
  }
  /* The page you're on: its bar straight, so its left corners square. */
  .submenu__link[aria-current="page"] {
    font-weight: 700;
    box-shadow: inset 3px 0 0 var(--color-action);
    border-start-start-radius: 0;
    border-end-start-radius: 0;
  }
  /* The Menu button: phones and narrow windows only; a rounded button with
     an edge (a control's, 4:1 on paper), three lines beside its word that
     turn into a cross while the menu is open. */
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0 1rem 0 0.875rem;
    border: 1px solid var(--color-control);
    border-radius: var(--radius-pill);
    background: var(--color-surface);
    font: 600 1rem / 1 var(--font-head);
    color: var(--color-ink);
    transition: border-color var(--fast) var(--ease);
  }
  .menu-toggle:is(:hover, [aria-expanded="true"]) {
    border-color: var(--color-ink);
  }
  .menu-toggle__icon,
  .menu-toggle__icon::before,
  .menu-toggle__icon::after {
    display: block;
    width: 1rem;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }
  .menu-toggle__icon {
    position: relative;
  }
  .menu-toggle__icon::before,
  .menu-toggle__icon::after {
    content: "";
    position: absolute;
    left: 0;
    transition:
      translate var(--fast) var(--ease),
      rotate var(--fast) var(--ease);
  }
  .menu-toggle__icon::before {
    top: -5px;
  }
  .menu-toggle__icon::after {
    top: 5px;
  }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon {
    background: transparent;
  }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
    translate: 0 5px;
    rotate: 45deg;
  }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
    translate: 0 -5px;
    rotate: -45deg;
  }
  /* The corner: Log in, or (the system's corner script puts it there) My
     Account (Q5, the owner, 2026-11-20), each with the person mark, set off
     from the menu by a thin upright rule. Always the same width, wide
     enough for My Account and its arrow, so nothing else on the bar moves
     when it changes, unless larger text needs more (WCAG 1.4.12). No name,
     no balance. */
  .corner {
    position: relative;
    flex: none;
    display: flex;
    justify-content: center;
    width: 10rem;
    min-width: max-content;
    border-left: 1px solid var(--color-line);
  }
  .corner-login {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.75rem;
    padding: 0 0.5rem;
    border: 0;
    border-radius: var(--radius-pill);
    background: none;
    font: 600 1rem / 1 var(--font-head);
    color: var(--color-ink);
    text-decoration: none;
    white-space: nowrap;
  }
  .corner-login:hover {
    text-decoration: underline;
    text-underline-offset: 0.25em;
  }
  .corner-login .icon--chevron {
    width: 0.875rem;
    height: 0.875rem;
    stroke-width: 1.75;
    transition: rotate var(--fast) var(--ease);
  }
  .corner-login[aria-expanded="true"] .icon--chevron {
    rotate: 180deg;
  }
  :is(.corner-login, .menu-login) .icon--person {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 1.7;
  }
  /* Register (the owner, 2026-11-19): the one gold button, just before the
     corner on a wide screen and under the account part in the phone menu.
     Its words are the band's dark ink, 6:1 on the gold in either mode
     (WCAG 1.4.3); on its page (aria-current), it says so with a rule under
     its words, as pointing at it does. */
  :is(.header-register, .menu-register) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0 1.125rem;
    border-radius: var(--radius-pill);
    background: var(--gold);
    color: var(--color-band);
    font: 700 1rem / 1 var(--font-head);
    text-decoration: underline 2px transparent;
    text-underline-offset: 0.3em;
    white-space: nowrap;
    transition: text-decoration-color var(--fast) var(--ease);
  }
  :is(.header-register, .menu-register):is(:hover, [aria-current]) {
    text-decoration-color: currentColor;
  }
  .header-register {
    flex: none;
  }
  .menu-register {
    display: flex;
    min-height: 3rem;
    margin-bottom: var(--space-s);
    font-size: var(--text-md);
  }
  /* The focused frame (checkout, signing a form, the log-in step): the
     same bar with only the logo and Back, and on checkout Log out in the
     corner (F-16). On a narrow screen Back says just "Back"; where it goes
     ("to Forms") stays in its name for a screen reader. */
  .focus-back {
    margin-left: auto;
    padding-inline: 0.875rem 1.125rem;
  }
  .focus-logout {
    margin-left: 0.5rem;
    white-space: nowrap;
  }
  /* The narrowest phones (320px): the logo a little smaller, so logo, Back
     and Log out fit with nothing scrolling sideways (GEN-1). */
  @media (width < 22rem) {
    .site-header--focused .site-header__bar {
      gap: 0.75rem;
    }
    .site-header--focused .brand img {
      width: 7rem;
    }
  }
  .site-header .focus-back .icon {
    width: 0.75rem;
    height: 0.75rem;
    stroke-width: 2.25;
  }
  @media (width < 30rem) {
    .focus-back {
      padding-inline: 0.5rem 0.25rem;
    }
    .focus-back__to {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip-path: inset(50%);
      white-space: nowrap;
    }
  }
  /* A menu that drops down: the corner's My Camp menu. It floats, so it
     has the shadow; it opens with a short fade unless motion is reduced. */
  .dropdown,
  .site-menu .submenu {
    z-index: 50;
    min-width: 15.5rem;
    padding: var(--space-2xs);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-xl);
    background: var(--color-surface);
    box-shadow: var(--shadow-float);
  }
  .dropdown {
    position: absolute;
    top: calc(100% + 0.625rem);
    transition:
      opacity var(--fast) var(--ease),
      translate var(--fast) var(--ease);
  }
  @starting-style {
    .dropdown {
      opacity: 0;
      translate: 0 -4px;
    }
  }
  .dropdown--end {
    right: 0;
  }
  .dropdown__list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .dropdown__list > li {
    margin: 0;
  }
  .dropdown__link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 2.75rem;
    padding: 0 var(--space-xs);
    border: 0;
    border-radius: var(--radius-l);
    background: none;
    font: 400 1rem / 1.3 var(--font-body);
    color: var(--color-ink);
    text-align: left;
    text-decoration: none;
  }
  .dropdown__link:hover {
    background: var(--color-selected);
  }
  .dropdown__link[aria-current="page"] {
    font-weight: 700;
    box-shadow: inset 3px 0 0 var(--color-action);
    border-start-start-radius: 0;
    border-end-start-radius: 0;
  }
  .dropdown__label {
    margin: 0;
    padding: var(--space-xs) var(--space-xs) var(--space-3xs);
    font: 700 0.6875rem / 1.2 var(--font-body);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
  }
  .dropdown__sep {
    height: 1px;
    margin: var(--space-2xs) var(--space-xs);
    background: var(--color-line);
  }
  .dropdown form {
    margin: 0;
  }
  /* The account part at the top of the phone menu ([data-menu-account]):
     Log in, a tile with the person mark, or (the system's corner script
     puts it there) My Camp's own pages in two columns, on a quiet panel. */
  .menu-login {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0 0.875rem;
    border: 1px solid var(--color-control);
    border-radius: var(--radius-l);
    background: var(--color-surface);
    font: 600 var(--text-md) / 1.2 var(--font-head);
    color: var(--color-ink);
    text-decoration: none;
  }
  .menu-login:hover {
    border-color: var(--color-ink);
  }
  .menu-account:has(.account-group__list) {
    padding: var(--space-s) var(--space-s) var(--space-2xs);
    border-radius: var(--radius-m);
    background: var(--color-page-alt);
  }
  .account-group {
    margin: 0 0 var(--space-s);
  }
  .account-group__title {
    margin: 0 0 var(--space-2xs);
    font: 700 0.6875rem / 1.2 var(--font-body);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
  }
  .account-group__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
    gap: 0 var(--space-s);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .account-group__list > li {
    margin: 0;
    border-top: 1px solid var(--color-line);
  }
  .account-group__list a,
  .account-group__list button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 3rem;
    padding: 0;
    border: 0;
    background: none;
    font: 600 var(--text-md) / 1.2 var(--font-head);
    color: var(--color-ink);
    text-align: left;
    text-decoration: none;
  }
  .account-group__list [aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--color-action);
    padding-left: var(--space-xs);
  }
  /* Log out, apart from the pages: a row of its own, the panel's width,
     rather than one more cell after an odd number of pages. */
  .account-group--last .account-group__list {
    grid-template-columns: 1fr;
  }
  .account-group form {
    margin: 0;
  }
  /* Wide: the menu in a row between the logo and the corner; a submenu
     drops down on hover (where there is hover), by its arrow, or, for an
     item with no page of its own, by its label. */
  @media (width >= 72rem) {
    .brand img {
      width: 9.75rem;
    }
    .menu-toggle,
    .menu-account,
    .menu-register {
      display: none;
    }
    .site-nav {
      flex: 1;
      display: flex;
      justify-content: flex-end;
      min-width: 0;
    }
    .site-menu {
      display: flex;
      align-items: center;
      gap: 0.25rem;
    }
    /* The item is the pill: its link and its arrow shaded together. The
       room after the arrow (0.3125rem in its button, 0.4375rem after it)
       is a link's own 0.75rem, so the items stay evenly spaced. */
    .site-menu__item {
      position: relative;
      display: flex;
      align-items: center;
      border-radius: var(--radius-pill);
      transition: background-color var(--fast) var(--ease);
    }
    .site-menu__item:has(> .submenu-toggle[aria-expanded="true"]) {
      background: var(--color-selected);
    }
    .has-submenu > a.site-menu__link {
      padding-right: 0.0625rem;
    }
    /* The arrow on its own: a gentler rounding, so its focus ring isn't a
       tall thin capsule beside its link's. */
    .has-submenu > .submenu-toggle:not(.submenu-toggle--label) {
      width: 1.5rem;
      min-height: 2.75rem;
      margin-right: 0.4375rem;
      border-radius: var(--radius-l);
    }
    /* A thin olive bar under the section you're in: a shape, not only a
       colour. */
    .site-menu__link::after {
      content: "";
      position: absolute;
      left: 0.75rem;
      right: 0.75rem;
      bottom: 0.3125rem;
      height: 2px;
      border-radius: 2px;
      background: var(--color-action);
      transform: scaleX(0);
      transition: transform var(--slow) var(--ease);
    }
    .has-submenu > a.site-menu__link::after {
      right: 0.0625rem;
    }
    .submenu-toggle--label::after {
      right: 2rem;
    }
    .is-current > .site-menu__link::after {
      transform: scaleX(1);
    }
    .site-menu .submenu {
      position: absolute;
      top: calc(100% + 0.5rem);
      left: 0;
      display: none;
    }
    /* Bridges the gap above it, so the pointer can travel into it. */
    .site-menu .submenu::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 100%;
      height: 0.625rem;
    }
    .site-menu > :last-child .submenu {
      left: auto;
      right: 0;
    }
    /* Each page's name on one line: the submenu as wide as its longest. */
    .site-menu .submenu__link {
      white-space: nowrap;
    }
    .submenu-toggle[aria-expanded="true"] + .submenu {
      display: block;
    }
  }
  @media (width >= 72rem) and (hover: hover) {
    .has-submenu:hover:not(.is-dismissed) > .submenu {
      display: block;
    }
    /* Shaded where you point only where there is pointing: on a tablet a
       tap would leave it shaded. */
    .site-menu__item:hover {
      background: var(--color-selected);
    }
  }
  /* Narrow: one Menu button; the menu opens as a sheet under the header,
     the account part first, then the same items, in big rows for a thumb. */
  @media (width < 72rem) {
    .site-header :is(.corner, .header-register) {
      display: none;
    }
    .site-nav {
      margin-left: auto;
    }
    .site-menu-panel {
      position: fixed;
      /* Under wherever the header is (js/menu.js sets it as the menu
         opens): on the practice copy a banner sits above the header until
         the page scrolls. */
      top: var(--menu-top, calc(var(--header-h) + 1px));
      left: 0;
      right: 0;
      bottom: 0;
      display: none;
      padding: var(--space-m) var(--gutter) var(--space-2xl);
      overflow-y: auto;
      overscroll-behavior: contain;
      border-top: 1px solid var(--color-line);
      background: var(--color-page);
    }
    .menu-toggle[aria-expanded="true"] + .site-menu-panel {
      display: block;
    }
    .menu-account {
      margin-bottom: var(--space-s);
    }
    .site-menu__item {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      border-bottom: 1px solid var(--color-line);
    }
    .site-menu__link {
      flex: 1;
      justify-content: space-between;
      min-height: 3.75rem;
      padding: 0;
      border-radius: 0;
      font-size: 1.375rem;
      font-weight: 700;
      text-align: left;
    }
    .has-submenu > .submenu-toggle:not(.submenu-toggle--label) {
      width: 3rem;
      min-height: 3.5rem;
      color: var(--color-ink);
    }
    .submenu-toggle .icon {
      width: 1rem;
      height: 1rem;
    }
    /* An item with no page of its own (About) is one button the row's
       width: its arrow sits where the others' do, in the middle of the
       row's last 3rem. */
    .submenu-toggle--label .icon {
      margin-inline-end: 1rem;
    }
    .is-current > .site-menu__link {
      padding-left: var(--space-s);
      box-shadow: inset 3px 0 0 var(--color-action);
    }
    .site-menu .submenu {
      display: none;
      flex-basis: 100%;
      min-width: 0;
      margin: 0;
      padding: 0 0 var(--space-xs) var(--space-xs);
      border: 0;
      border-radius: 0;
      background: none;
      box-shadow: none;
    }
    .submenu-toggle[aria-expanded="true"] + .submenu {
      display: block;
    }
    .submenu__link {
      min-height: 2.75rem;
      padding: 0;
      font-size: var(--text-md);
      color: var(--color-ink-2);
    }
    .submenu__link:hover {
      background: none;
      color: var(--color-ink);
    }
    .submenu__link[aria-current="page"] {
      padding-left: var(--space-xs);
      color: var(--color-ink);
    }
  }
  /* ── Footer: the dark band, on the page's grid ───────────────────────
     (frame/footer.njk.) Who we are (the logo, the address, the phone and
     email to tap); the lists of pages, two to a row on a phone, four
     beside the address from 64rem; the notices Texas requires, in calm
     readable type; then the legal name, Privacy, Terms and the light/dark
     switch on one bar. */
  .site-footer {
    --color-focus: var(--gold);
    --color-link: var(--color-on-band);
    padding-block: var(--section-y) var(--space-l);
    background: var(--color-band);
    color: var(--color-on-band);
    font-size: var(--text-md);
  }
  .site-footer a {
    color: var(--color-on-band);
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
  }
  .site-footer a:hover {
    text-decoration-thickness: 2px;
  }
  .site-footer__top {
    display: grid;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
  }
  .site-footer__brand img {
    width: 10rem;
    margin-bottom: var(--space-m);
  }
  .site-footer address {
    display: grid;
    justify-items: start;
    gap: var(--space-3xs);
    font-style: normal;
    line-height: 1.6;
  }
  .site-footer__place {
    margin-bottom: var(--space-xs);
    color: var(--color-on-band-muted);
  }
  .site-footer .site-footer__contact {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 2.75rem;
    font: 700 var(--text-md) / 1.2 var(--font-head);
    text-decoration: none;
  }
  .site-footer .site-footer__contact:hover {
    text-decoration: underline;
  }
  .site-footer__contact .icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-on-band-muted);
  }
  .site-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-xl) var(--space-l);
  }
  .site-footer h2 {
    margin: 0 0 var(--space-xs);
    font: 700 var(--text-xs) / 1.3 var(--font-head);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-on-band-muted);
  }
  .site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .site-footer__links li {
    margin: 0;
  }
  .site-footer .site-footer__links a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 2.5rem;
    padding-block: 0.25rem;
    font-size: var(--text-md);
    line-height: 1.3;
    text-decoration: none;
  }
  .site-footer .site-footer__links a:hover {
    text-decoration: underline;
  }
  .site-footer__social .icon {
    width: 1.25rem;
    height: 1.25rem;
  }
  .site-footer__legal {
    display: grid;
    gap: var(--space-s) var(--space-l);
    padding-block: var(--space-l);
    border-top: 1px solid var(--color-band-line);
    color: var(--color-on-band-muted);
    font-size: var(--text-sm);
    line-height: 1.6;
  }
  .site-footer__legal p {
    max-width: var(--measure);
    margin: 0;
  }
  .site-footer__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xs) var(--space-l);
    padding-top: var(--space-m);
    border-top: 1px solid var(--color-band-line);
    color: var(--color-on-band-muted);
    font-size: var(--text-sm);
  }
  .site-footer__copy {
    margin: 0;
  }
  .site-footer__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2xs) var(--space-l);
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .site-footer__meta li {
    margin: 0;
  }
  .site-footer__meta a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }
  .site-footer__meta li:has(> [hidden]) {
    display: none;
  }
  @media (width >= 48rem) {
    .site-footer__nav {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .site-footer__legal {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (width >= 64rem) {
    .site-footer__top {
      grid-template-columns: repeat(12, minmax(0, 1fr));
      column-gap: var(--space-l);
    }
    .site-footer__brand {
      grid-column: 1 / 5;
    }
    .site-footer__nav {
      grid-column: 5 / -1;
    }
  }
  /* Light or dark: the person's own switch ([data-theme-toggle]), shown
     and run by the system's script: a moon (or, in dark mode, a sun) and
     the mode it changes to, a secondary button on the dark band (its
     words over their rule). */
  .theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 2.75rem;
    padding: 0 0.25rem;
    border: 0;
    border-radius: var(--radius-photo);
    background: none;
    font: 700 var(--text-sm) / 1.2 var(--font-head);
    color: var(--color-on-band);
    text-decoration: underline 2px currentColor;
    text-underline-offset: 0.42em;
    cursor: pointer;
    transition:
      text-decoration-color var(--fast) var(--ease),
      text-decoration-thickness var(--fast) var(--ease);
  }
  .theme-toggle::before {
    content: "";
    width: 0.875rem;
    height: 0.875rem;
    border-radius: 50%;
    box-shadow: inset -0.3rem -0.125rem 0 0 currentColor;
  }
  :root[data-theme="dark"] .theme-toggle::before {
    width: 0.5rem;
    height: 0.5rem;
    margin: 0.1875rem;
    background: currentColor;
    box-shadow: none;
    outline: 2px dotted currentColor;
    outline-offset: 2px;
  }
  .theme-toggle:hover {
    text-decoration-color: var(--gold);
    text-decoration-thickness: 4px;
  }
  /* The system's floating Feedback button (.feedback-button, in its
     style.css) sits at the bottom right of its pages: the footer leaves
     room under its links and phone number for it, growing with large text,
     so it never covers them (PRIV-1, GEN-8). */
  body:has(.feedback-button) .site-footer {
    padding-bottom: calc(38px + 4.5rem);
  }
  @media (min-width: 900px) {
    body:has(.feedback-button) .site-footer {
      padding-bottom: calc(48px + 3rem);
    }
  }
  /* The system's version stamp (js/app.js) waits at the end of a page's
     content, just above the footer, on a phone or in a short window
     (css/corner.css: 12px above and below it, its 0.75rem words 1.4 high
     and 2px of padding), and comes once the server has said which version
     is running. Until it's in sight, its room is kept, so the footer
     doesn't jump down when it comes (the owner's delegate, 2026-11-20).
     Only the system's pages have it (they load legacy.css). */
  @media (max-width: 40rem), (max-height: 37.5rem) {
    :root:has(link[href*="css/legacy.css"])
      body:not(:has(> .corner-dock:not([hidden]) .version-tag))
      > .site-footer {
      margin-top: calc(0.75rem * 1.4 + 28px);
    }
  }
  /* On paper (a tax receipt, the packing list): no menu bar and no skip
     link. The footer keeps what still means something there, the camp's
     address and the notices Texas requires with its legal name, as plain
     dark ink on white, under a hairline; its lists of links, the logo
     drawn for the dark band and the light/dark switch go. */
  @media print {
    .skip-link,
    .site-header,
    .site-footer__brand img,
    .site-footer__nav,
    .site-footer__meta {
      display: none;
    }
    /* Printed, a page is as long as its words: it isn't held to the
       screen's height, which stretched a short page's footer (the camp
       map's). */
    .site {
      min-height: 0;
    }
    /* The footer, compact (about half an inch): the camp's address, phone
       and email on one line, the two notices Texas requires, and the
       legal name, small and close together, in ink. Nothing of the
       Feedback button's room. */
    .site-footer,
    body:has(.feedback-button) .site-footer {
      --color-on-band: var(--color-ink);
      --color-on-band-muted: var(--color-ink-2);
      --color-band-line: var(--color-line);
      padding: 0.08in 0 0;
      padding-bottom: 0;
      border-top: 1px solid var(--color-line);
      background: none;
      font-size: 8pt;
      line-height: 1.35;
    }
    .site-footer__top,
    .site-footer__legal,
    .site-footer__bar {
      display: block;
      margin: 0 0 0.03in;
      padding: 0;
      border: 0;
      font-size: inherit;
      line-height: inherit;
    }
    .site-footer__legal p,
    .site-footer__copy {
      max-width: none;
      margin: 0;
      font-size: inherit;
      line-height: inherit;
    }
    .site-footer address {
      display: flex;
      flex-wrap: wrap;
      gap: 0 0.15in;
      line-height: inherit;
    }
    .site-footer__place {
      margin: 0;
    }
    .site-footer__place br,
    .site-footer__contact .icon {
      display: none;
    }
    .site-footer .site-footer__contact {
      min-height: 0;
      font: inherit;
    }
    /* Ink at once: nothing fades on paper. */
    .site-footer,
    .site-footer * {
      transition: none;
    }
  }
  /* ── Buttons (ONE-SITE/13 §6) ────────────────────────────────────────
     "Editorial" (the owner's choice, 14 Nov): one solid thing per view,
     and the rest is type. One size (48px, Raleway 700), one main action
     in any view:
     - primary: the one block, ink with paper words: the one thing to do;
     - secondary: its words over a drawn 2px rule, set well under them:
       another way on. Raleway bold, a heavier rule and a full 48px target
       keep it apart from a link in running text (Arial, a 1px underline
       close under the words);
     - tertiary: sage words and a short arrow, for a "more" link.
     On a photo or the dark band: the block paper, the words and rules
     white. An arrow only on an action that goes somewhere next; no other
     icons, no outlines. Hover deepens the block and underlines its words,
     turns a rule gold and heavier, and steps an arrow on; pressing nudges
     it down a pixel; focus is the one gold ring, a little clear of it. */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.75rem 1.75rem;
    border: 0;
    border-radius: var(--radius-photo);
    background: none;
    color: var(--btn-text);
    font: 700 var(--text-md) / 1.2 var(--font-head);
    letter-spacing: -0.005em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition:
      background-color var(--fast) var(--ease),
      color var(--fast) var(--ease),
      text-decoration-color var(--fast) var(--ease),
      text-decoration-thickness var(--fast) var(--ease);
  }
  .btn:active {
    translate: 0 1px;
  }
  .btn:focus-visible {
    outline-offset: 3px;
  }
  .btn .icon {
    width: 1.125rem;
    height: 1.125rem;
  }
  .btn--primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-ink);
    text-decoration: underline 1.5px transparent;
    text-underline-offset: 0.3em;
  }
  .btn--primary:hover {
    background: var(--btn-primary-bg-hover);
    text-decoration-color: currentColor;
  }
  /* Its rule is one unbroken line, also where its words are in parts
     ("Back" and " to Forms"): Chromium otherwise leaves out the rule under
     a space that starts a part (F-16). */
  .btn--secondary {
    padding-inline: 0.25rem;
    text-decoration: underline 2px var(--btn-rule);
    text-underline-offset: 0.42em;
    text-decoration-skip-spaces: none;
  }
  .btn--secondary:hover {
    text-decoration-color: var(--btn-rule-hover);
    text-decoration-thickness: 4px;
  }
  /* Tertiary: sage words and the short arrow; still a 44px target. */
  .btn--tertiary {
    min-height: 2.75rem;
    padding-inline: 0;
    font-size: var(--text-sm);
    color: var(--btn-link-ink);
  }
  .btn--tertiary:hover {
    color: var(--btn-link-ink-hover);
  }
  .btn--block {
    width: 100%;
  }
  .btn[aria-expanded="true"] .icon--chevron {
    rotate: 180deg;
  }
  .btn .icon--chevron {
    width: 0.75rem;
    height: 0.75rem;
    stroke-width: 2.25;
    transition: rotate var(--fast) var(--ease);
  }
  /* The corner's Log in, on the log-in page itself: its rule heavier, as
     where you are. */
  .btn--secondary[aria-current="page"] {
    text-decoration-thickness: 4px;
  }
  .btn:disabled,
  .btn[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
  }
  /* A row of buttons: the main one first; on a narrow phone the primary
     and secondary ones stack full-width, so each is easy to hit, and a
     tertiary one stays its own size under them. */
  .actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs) var(--space-s);
  }
  .actions:not(:first-child) {
    margin-top: var(--space-m);
  }
  @media (width < 30rem) {
    .actions--stack > .btn:not(.btn--tertiary) {
      width: 100%;
    }
  }
  /* ── Type parts: kicker, lead, statement, section head ─────────────── */
  /* The hierarchy, top down: a kicker (a few capitals that say what a
     part is about), a heading, a lead (the paragraph that opens it), body,
     and captions. */
  /* The kicker: a few letter-spaced capitals in sage, only where they add
     context (where a page sits; a label over a statement). On a heading
     element it is that part's heading, set small, when a statement under
     it carries the weight (the home page's About Us). */
  .kicker {
    margin: 0 0 var(--space-m);
    font: 700 var(--text-xs) / 1.3 var(--font-head);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-label);
  }
  .lead {
    max-width: var(--measure);
    font-size: var(--text-lg);
    line-height: 1.55;
    color: var(--color-ink-2);
  }
  /* A sentence that carries a part on its own (a mission, a promise): set
     large in Raleway, no wider than it reads well. */
  .statement {
    max-width: 30ch;
    margin: 0 0 var(--space-m);
    font: 600 var(--text-2xl) / 1.24 var(--font-head);
    letter-spacing: -0.018em;
    color: var(--color-ink);
    text-wrap: balance;
  }
  .statement strong {
    font-weight: 700;
  }
  /* A section's head: its heading and lead; with --row, its buttons to
     the right of them on a wide screen, under them on a phone. */
  .section-head {
    max-width: 46rem;
    margin-bottom: var(--stack);
  }
  .section-head > :last-child {
    margin-bottom: 0;
  }
  .section-head--row {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-m) var(--space-2xl);
    max-width: none;
  }
  .section-head--row > :first-child {
    flex: 1 1 32rem;
    max-width: 46rem;
  }
  .section-head--row > :first-child > :last-child,
  .section-head--row > .actions {
    margin-bottom: 0;
  }
  /* A quiet link that leads on: the tertiary button's look (sage words
     and the arrow, which steps on when pointed at). */
  .link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    font: 700 var(--text-sm) / 1.2 var(--font-head);
    color: var(--btn-link-ink);
    text-decoration: none;
    transition: color var(--fast) var(--ease);
  }
  .link-arrow:hover {
    color: var(--btn-link-ink-hover);
  }
  /* The photo hero (components/hero.njk), the top of a page, three ways:
     - cover: the photo fills the band and the words sit on it, at its foot,
       on a shade of their own that fades out around them (white text on a
       72% scrim: 5:1 or better even over a white sky), so the rest of the
       photo shows as it is. On a phone the photo shows at its own shape,
       nothing cut (a group stays whole), the words under it on the band;
       but the home page's (tall), one face in focus, fills a phone's first
       screen too, the words across its foot, the face above them.
     - split: the photo beside the words, never under them: seven twelfths
       of the band, out to the window's edge, cropped about its subject;
       the words on quiet paper beside it. On a phone, the photo, then the
       words.
     - whole: the whole photo, never cropped (a poster with words in it):
       on a wide screen at the band's right at its own shape, the words
       beside it on the dark band; on a phone at its own shape, the words
       under it.
     Without a photo: the words on paper, a page head. */
  .hero {
    --hero-h: clamp(26rem, 62vh, 40rem);
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: clip;
    background: var(--color-page);
  }
  /* The home page's: nearly the first screen, a little of what follows
     still in sight. */
  .hero--tall {
    --hero-h: clamp(30rem, 100svh - var(--header-h) - 6rem, 50rem);
  }
  .hero__photo picture {
    display: block;
    height: 100%;
  }
  /* Its box is kept for it before it loads (no layout shift): a split
     hero's photo takes the shape its width and height give it, never
     overridden; a cover's, the shape of its frame. */
  .hero__img {
    width: 100%;
    height: auto;
    object-fit: cover;
    background: var(--color-page-alt);
  }
  /* On paper (a phone's split hero, a page head) the part that
     follows keeps the one spacing from the words. */
  .hero__body {
    padding-block: var(--space-l) 0;
  }
  .hero__body > :last-child {
    margin-bottom: 0;
  }
  .hero__kicker {
    margin-bottom: var(--space-s);
  }
  /* The signature (ONE-SITE/13 §7): one thin hand-drawn creek line in
     gold, under the home page's title (and at most once more on a page). */
  .creek {
    display: block;
    width: clamp(7.5rem, 5rem + 8vw, 13rem);
    height: auto;
    margin: 0 0 var(--space-m);
    fill: none;
    stroke: var(--gold);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .hero__title {
    margin-bottom: 0.3em;
  }
  .hero--tall .hero__title {
    font-size: var(--text-5xl);
    line-height: 0.98;
    letter-spacing: -0.035em;
  }
  .hero__subtitle,
  .hero__text {
    max-width: 40rem;
    margin: 0 0 var(--space-m);
    font-size: var(--text-lg);
    line-height: 1.5;
    color: var(--color-ink-2);
  }
  .hero__actions {
    margin-top: var(--space-m);
  }
  .hero--no-photo {
    border-bottom: 1px solid var(--color-line);
  }
  .hero--no-photo .hero__body {
    padding-block: var(--space-2xl) var(--space-xl);
  }
  /* Cover. */
  .hero--cover {
    grid-template-rows: minmax(var(--hero-h), auto);
    background: var(--color-band);
  }
  .hero--cover .hero__photo {
    grid-area: 1 / 1;
    position: relative;
    z-index: -1;
  }
  .hero--cover .hero__photo picture {
    position: absolute;
    inset: 0;
  }
  .hero--cover .hero__img {
    height: 100%;
  }
  .hero--cover > .wrap {
    grid-area: 1 / 1;
    align-self: end;
    /* White, not gold, over a photo: 6:1 on the shade whatever the sky. */
    --color-focus: #ffffff;
  }
  .hero--cover .hero__body {
    position: relative;
    padding-block: var(--space-l);
  }
  .hero--cover .hero__body::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -2rem calc(-1 * var(--gutter)) 0;
    background: rgb(var(--scrim) / 0.72);
    mask-image: linear-gradient(to bottom, transparent, #000 4rem);
  }
  .hero--cover .hero__body :is(.hero__title, .hero__subtitle, .hero__text) {
    color: #ffffff;
  }
  @media (width >= 48rem) {
    .hero--cover .hero__body {
      width: fit-content;
      max-width: 62rem;
      padding-block: var(--space-2xl);
    }
    .hero--cover .hero__body::before {
      inset: -2rem -10rem 0 -100vw;
      mask-image:
        linear-gradient(to right, #000 calc(100% - 10rem), transparent),
        linear-gradient(to bottom, transparent, #000 4rem);
      mask-composite: intersect;
    }
  }
  @media (width < 48rem) {
    .hero--cover:not(.hero--tall) {
      grid-template-rows: auto;
    }
    .hero--cover:not(.hero--tall) > .wrap {
      grid-area: 2 / 1;
    }
    .hero--cover:not(.hero--tall) .hero__photo picture {
      position: static;
    }
    .hero--cover:not(.hero--tall) .hero__img {
      height: auto;
    }
    .hero--cover:not(.hero--tall) .hero__body::before {
      content: none;
    }
  }
  /* Split: the words in the grid's first five columns, from the
     header's left edge; the photo in the other seven, ending on the
     header's right edge, at its own shape, never cropped (a group stays
     whole, a head stays in), and never drawn past its own size on a very
     wide screen; from 64rem; before that the photo across the top, at its
     own shape, then the words. */
  @media (width >= 64rem) {
    .hero--split {
      grid-template-columns: var(--page-columns);
      padding-block: var(--space-xl);
    }
    .hero--split .hero__photo {
      grid-column: 7 / 14;
      grid-row: 1;
      align-self: center;
    }
    /* An upright photo (Horsemanship's rider) keeps to the screen's
       height, at its own shape, on the header's right edge: its height is
       set, so its width comes from its width and height before it loads
       (no layout shift). */
    .hero--upright .hero__photo picture {
      display: flex;
      justify-content: flex-end;
    }
    .hero--upright .hero__img {
      width: auto;
      max-width: 100%;
      height: min(80svh, 46rem);
    }
    .hero--split > .wrap {
      grid-column: 2 / 7;
      grid-row: 1;
      align-self: center;
      width: auto;
      margin: 0;
      padding-right: var(--space-xl);
    }
    .hero--split .hero__body {
      padding-block: var(--space-2xl);
    }
  }
  /* Photo beside words, taking turns down a page (components/
     half-split.njk): from 48rem, the photo takes seven of twelve columns,
     the words four, on the other side; on phones, the photo first. */
  .feature {
    padding-block: var(--section-y);
  }
  .feature__inner {
    display: grid;
    gap: var(--space-l);
    align-items: center;
  }
  .feature__photo picture {
    display: block;
  }
  .feature__img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--radius-photo);
    background: var(--color-page-alt);
  }
  .feature__body > :last-child {
    margin-bottom: 0;
  }
  @media (width >= 48rem) {
    .feature__inner {
      grid-template-columns: repeat(12, minmax(0, 1fr));
      gap: var(--space-l);
    }
    .feature__photo {
      grid-column: 1 / span 7;
      grid-row: 1;
    }
    .feature__body {
      grid-column: 9 / span 4;
      grid-row: 1;
    }
    .feature--photo-right .feature__photo {
      grid-column: 6 / span 7;
    }
    .feature--photo-right .feature__body {
      grid-column: 1 / span 4;
    }
  }
  /* A page's photos (components/gallery.njk): one large, the rest around
     it, every thumbnail 4:3 (a row is three quarters of a column, worked
     out from the frame's width), each a link to a larger copy (a lightbox
     with gallery.js). A small photo never takes a large place. */
  .gallery-frame {
    container-type: inline-size;
  }
  .gallery {
    --columns: 2;
    --gap: var(--space-2xs);
    display: grid;
    grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
    grid-auto-rows: calc(
      (100cqi - (var(--columns) - 1) * var(--gap)) / var(--columns) * 0.75
    );
    grid-auto-flow: dense;
    gap: var(--gap);
    list-style: none;
    margin: 0 0 var(--space-l);
    padding: 0;
  }
  .gallery__item {
    margin: 0;
  }
  .gallery__link,
  .gallery__link picture {
    display: block;
    height: 100%;
  }
  .gallery__link {
    border-radius: var(--radius-photo);
    overflow: hidden;
  }
  .gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--color-page-alt);
    transition: scale var(--slow) var(--ease);
  }
  .gallery__link:hover .gallery__img {
    scale: 1.03;
  }
  .gallery__link:focus-visible {
    outline-offset: 2px;
  }
  .gallery > :first-child:not(.gallery__item--small) {
    grid-column: span 2;
    grid-row: span 2;
  }
  /* It fills its grid, every cell still 4:3: on a phone, an even count
     makes the last photo large too; from 48rem, ten or more make the
     sixth large as well, and three sit in three of the four columns,
     ending on the grid's ninth line. (Eight can't fill four columns with
     only the first large: one cell stays empty at the end.) */
  @media (width < 48rem) {
    .gallery:has(> :nth-child(even):last-child)
      > :last-child:not(.gallery__item--small) {
      grid-column: span 2;
      grid-row: span 2;
    }
  }
  @media (width >= 48rem) {
    .gallery {
      --columns: 4;
      --gap: var(--space-xs);
    }
    .gallery:has(> :nth-child(10)) > :nth-child(6):not(.gallery__item--small) {
      grid-column: 3 / span 2;
      grid-row: span 2;
    }
    .gallery:has(> :nth-child(3):last-child) {
      grid-template-columns: repeat(3, calc((100cqi - 3 * var(--gap)) / 4));
    }
  }
  /* ── Panel: a quiet tinted area that groups a few things ───────────── */
  .panel {
    padding: var(--space-l);
    border-radius: var(--radius-m);
    background: var(--color-page-alt);
  }
  .panel > :last-child {
    margin-bottom: 0;
  }
  .panel h2 {
    font-size: var(--text-xl);
  }
  @media (width < 40rem) {
    .panel {
      padding: var(--space-m);
    }
  }
  /* ── Forms ─────────────────────────────────────────────────────────────
     After GOV.UK's: a label above every box, a hint under the label, an
     error in words between them, boxes tall enough for a thumb (48px) and
     wide enough for what goes in them. 17px text, so phones don't zoom. */
  /* A form keeps to a readable width, even in a wide column. */
  .label {
    display: block;
    margin: 0 0 0.375rem;
    font: 700 1rem / 1.35 var(--font-body);
    color: var(--color-ink);
  }
  .input {
    display: block;
    width: 100%;
    min-height: 3rem;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--color-control);
    border-radius: var(--radius-s);
    background: var(--color-field);
    color: var(--color-ink);
    font: 400 var(--text-md) / 1.4 var(--font-body);
    transition: border-color var(--fast) var(--ease);
  }
  .input:hover {
    border-color: var(--color-ink-2);
  }
  .input:focus {
    outline: 3px solid var(--color-focus);
    outline-offset: 0;
    border-color: var(--color-ink);
  }
  .input::placeholder {
    color: var(--color-muted);
    opacity: 1;
  }
  .input:is(:disabled, [readonly]) {
    background: var(--color-page-alt);
    color: var(--color-ink-2);
  }
  /* Box widths that say how much goes in them. */
  .input--20ch {
    max-width: calc(24ch + 2rem);
  }
  /* Columns side by side (SALT's tracks). */
  .columns {
    display: grid;
    gap: var(--space-xl);
  }
  @media (width >= 48rem) {
    .columns--3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: var(--space-l);
    }
  }
  .columns h3 {
    font-size: var(--text-lg);
  }
  /* ══ The website's parts ═══════════════════════════════════════════════
     What the public pages (site/src) are made of, beyond the parts above:
     their titles and text, the photo bands, cards, slider, galleries and
     lightboxes, the click-to-load video and map, the sign-up form, and a
     few page layouts. */
  /* A section's title (components/styled-title.njk): the type alone
     marks a new part of a page. */
  .title {
    margin-bottom: 0.5em;
  }
  .title--sm {
    font-size: var(--text-lg);
    letter-spacing: -0.005em;
  }
  /* Running text: paragraphs, lists and rules at a readable measure. */
  .prose {
    max-width: var(--w-text);
  }
  .prose > :last-child {
    margin-bottom: 0;
  }
  .prose :is(ul, ol) {
    padding-left: 1.25em;
  }
  .prose li::marker {
    color: var(--color-muted);
  }
  .prose li + li {
    margin-top: 0.4em;
  }
  .prose hr {
    margin: var(--space-l) 0;
  }
  .prose.lead p {
    font-size: var(--text-lg);
    line-height: 1.55;
    color: var(--color-ink-2);
  }
  .prose .indent {
    padding-left: var(--space-m);
  }
  .weight-normal {
    font-weight: 400;
  }
  .lead.prose > p:first-child {
    margin-top: 0;
  }
  /* Columns of words side by side from 48rem (two or three). */
  .columns {
    display: grid;
    gap: var(--space-xl);
  }
  .columns > * > :last-child {
    margin-bottom: 0;
  }
  @media (width >= 48rem) {
    .columns--2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: var(--space-2xl);
    }
  }
  .section > .wrap > * + .columns,
  .section > .wrap > * + .section-head {
    margin-top: var(--space-xl);
  }
  /* A plain page of the website (About, the Resources pages, 404). */
  .page-text {
    padding-block: var(--space-2xl) var(--section-y);
  }
  .page-text h1 {
    margin-bottom: 0.5em;
  }
  .page-text .lead {
    max-width: var(--w-text);
  }
  /* A feature band: a photo across the whole width with words on it
     (components/photo-backdrop.njk), on the page's grid. On a phone the
     photo is darkened all over; on a wide screen the words keep to its left
     half and the shade fades out to the right, so the photo shows as it
     is there. Wherever there are words it's 66% or more: white text 5:1 or
     better even over a white sky. */
  .backdrop {
    --color-focus: #ffffff;
    --color-link: #ffffff;
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-height: clamp(24rem, 64svh, 38rem);
    padding-block: var(--section-y);
    color: #ffffff;
    background: var(--color-band);
  }
  .backdrop__photo {
    position: absolute;
    inset: 0;
    z-index: -1;
  }
  .backdrop__photo picture {
    display: block;
    height: 100%;
  }
  .backdrop__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .backdrop__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(var(--scrim) / 0.66);
  }
  @media (width >= 64rem) {
    .backdrop__photo::after {
      background: linear-gradient(
        to right,
        rgb(var(--scrim) / 0.8) 0%,
        rgb(var(--scrim) / 0.68) 55%,
        rgb(var(--scrim) / 0.2) 85%,
        rgb(var(--scrim) / 0.08) 100%
      );
    }
    .backdrop__content > * {
      max-width: min(38rem, 50vw - var(--gutter));
    }
  }
  .backdrop :is(h1, h2, h3, p, li) {
    color: #ffffff;
  }
  .backdrop__title {
    font-size: var(--text-5xl);
    line-height: 0.98;
    letter-spacing: -0.035em;
    margin-bottom: 0.3em;
  }
  .backdrop--top {
    min-height: clamp(26rem, 62vh, 40rem);
    align-items: end;
    padding-block: var(--space-2xl);
  }
  /* Words on a photo or the dark band: white; the main button a paper
     block, the others white words and rules. */
  :is(.hero--cover .hero__body, .backdrop) {
    --btn-primary-bg: var(--paper-light);
    --btn-primary-bg-hover: #ffffff;
    --btn-primary-ink: #1d2216;
    --btn-text: #ffffff;
    --btn-rule: #ffffff;
    --btn-link-ink: #ffffff;
    --btn-link-ink-hover: #ffffff;
  }
  .backdrop .lead {
    color: var(--color-on-band);
  }
  :is(.hero--cover .hero__body, .backdrop) .kicker {
    color: #ffffff;
  }
  /* A strip of one photo between parts of a page (components/
     photo-band.njk): the window's width, cropped to a band about its
     subject; a caption, if it has one, under it on the page's grid. */
  .photo-band {
    margin: 0;
  }
  .photo-band picture {
    display: block;
  }
  .photo-band__img {
    width: 100%;
    height: clamp(14rem, 36vw, 32rem);
    object-fit: cover;
  }
  /* The camps or retreats as a list (components/photo-cards.njk): a
     square photo beside its title, line of text and button. */
  .photo-cards {
    display: grid;
    gap: var(--space-l) var(--space-2xl);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .photo-card {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    grid-template-areas: "photo title" "photo text" "photo button";
    grid-template-rows: auto auto 1fr;
    gap: 0 var(--space-m);
    align-items: start;
    margin: 0;
    padding-top: var(--space-m);
    border-top: 1px solid var(--color-line-strong);
  }
  .photo-card > picture {
    grid-area: photo;
    display: block;
  }
  .photo-card__img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-photo);
    background: var(--color-page-alt);
  }
  .photo-card__title {
    grid-area: title;
    margin: 0 0 0.25em;
    font-size: var(--text-xl);
  }
  .photo-card__text {
    grid-area: text;
    margin: 0 0 var(--space-s);
    color: var(--color-ink-2);
  }
  .photo-card__text > :last-child {
    margin-bottom: 0;
  }
  .photo-card__text p:empty {
    display: none;
  }
  .photo-card > .btn {
    grid-area: button;
    justify-self: start;
  }
  @media (width >= 48rem) {
    .photo-cards {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .photo-card {
      grid-template-columns: 10rem minmax(0, 1fr);
    }
    .photo-card--wide {
      grid-column: 1 / -1;
    }
    .photo-card--wide .photo-card__text {
      max-width: var(--w-text);
    }
  }
  /* ── The kit: the parts a page is composed of ──────────────────────────
     Each takes its content's shape: photos of programs as tiles, facts as
     figures, links as rows. Motion is a small reward for pointing (a photo
     drawing a little closer, an arrow leaning on), only where there's
     hover and only for those who haven't asked for less motion. */
  /* Facts at a glance (the fact strip): a few figures the site states, each
     a number with a word or two and, if it needs one, a line under it;
     side by side from 40rem. On a photo or the dark band, in white. */
  .glance {
    display: grid;
    gap: var(--space-l) var(--space-2xl);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .glance__item {
    display: grid;
    align-content: start;
    margin: 0;
    padding-top: var(--space-s);
    border-top: 1px solid var(--color-line-strong);
  }
  .glance__label {
    color: var(--color-label);
    font: 700 var(--text-sm) / 1.3 var(--font-head);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .glance__number {
    font: 700 var(--text-4xl) / 1 var(--font-head);
    letter-spacing: -0.035em;
  }
  /* "Around", "About": said, but quietly, before the number. */
  .glance__number small {
    font-size: var(--text-md);
    font-weight: 600;
    letter-spacing: 0;
  }
  .glance__detail {
    max-width: 30rem;
    margin-top: var(--space-2xs);
    color: var(--color-ink-2);
    font-size: var(--text-lg);
    line-height: 1.45;
  }
  .glance__detail a {
    white-space: nowrap;
  }
  @media (width >= 40rem) {
    .glance {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .glance--sm {
    gap: var(--space-m) var(--space-l);
  }
  .glance--sm .glance__number {
    font-size: var(--text-3xl);
  }
  .glance--sm .glance__detail {
    font-size: var(--text-md);
  }
  .backdrop .glance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .backdrop .glance__item {
    border-color: rgb(255 255 255 / 0.4);
  }
  .backdrop .glance__label {
    color: #ffffff;
  }
  .backdrop :is(.glance__number, .glance__detail) {
    color: #ffffff;
  }
  /* Places as a grid of photos (About's "Click to learn more"): each a
     square photo and its name (a heading, and the link). The whole tile
     answers the pointer; the focus ring goes round all of it. Two to a row
     on a phone, four from 64rem. */
  .tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-l) var(--space-s);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  @media (width >= 64rem) {
    .tiles {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: var(--space-xl) var(--space-m);
    }
  }
  .tile {
    position: relative;
    margin: 0;
  }
  .tile picture {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-photo);
  }
  .tile__img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--color-page-alt);
    transition: scale var(--slow) var(--ease);
  }
  .tile__name {
    margin: var(--space-s) 0 0.2em;
    font-size: var(--text-lg);
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-wrap: balance;
  }
  .tile__link {
    color: var(--color-ink);
    text-decoration: none;
  }
  /* The link covers the tile, so all of it is one target. */
  .tile__link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-photo);
  }
  .tile__link:focus-visible {
    outline: none;
  }
  .tile__link:focus-visible::after {
    outline: 3px solid var(--color-focus);
    outline-offset: 4px;
  }
  .tile__link:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
  }
  @media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .tile:hover .tile__img {
      scale: 1.04;
    }
  }
  /* Photo beside words (the home page's Summer Camps and Retreats), 7/5: from 64rem
     the photo over the grid's first seven columns and out to the window's
     edge (--photo-end: the last seven, out to the right), the words in the
     other five, ending exactly on the header's edge. Below that, the photo
     across the top, edge to edge, then the words on the grid. */
  .split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding-block: var(--section-y);
  }
  .split__photo picture {
    display: block;
    height: 100%;
  }
  .split__img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: var(--color-page-alt);
  }
  .split__body {
    width: min(100% - 2 * var(--gutter), var(--w-page));
    margin-inline: auto;
    padding-top: var(--space-xl);
  }
  .split__body > :last-child {
    margin-bottom: 0;
  }
  @media (width >= 64rem) {
    .split {
      grid-template-columns: var(--page-columns);
    }
    .split__photo {
      grid-column: 1 / 9;
      grid-row: 1;
      position: relative;
      min-height: clamp(30rem, 38vw, 42rem);
    }
    .split__photo picture {
      position: absolute;
      inset: 0;
    }
    .split__img {
      height: 100%;
      aspect-ratio: auto;
    }
    .split__body {
      grid-column: 9 / 14;
      grid-row: 1;
      align-self: center;
      width: auto;
      margin: 0;
      padding: var(--space-xl) 0 var(--space-xl) var(--space-2xl);
    }
    .split--photo-end .split__photo {
      grid-column: 7 / -1;
    }
    .split--photo-end .split__body {
      grid-column: 2 / 7;
      padding: var(--space-xl) var(--space-2xl) var(--space-xl) 0;
    }
  }
  /* Two or three photos together (components/mosaic.njk), cut square, no
     frames, side by side on the grid: the first large (4:3), the second
     beside it at the same height (a third and second stack beside it). */
  .mosaic {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: var(--space-s);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .mosaic__item {
    margin: 0;
  }
  .mosaic__item picture {
    display: block;
    height: 100%;
  }
  .mosaic__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-photo);
    background: var(--color-page-alt);
  }
  .mosaic__item:first-child .mosaic__img {
    aspect-ratio: 4 / 3;
  }
  .mosaic__item:first-child:nth-last-child(3) {
    grid-row: span 2;
  }
  /* A photo and its caption, beside or among the words it illustrates
     (components/figure.njk); and a photo band's caption. */
  .figure {
    margin: 0;
  }
  .figure picture {
    display: block;
  }
  .figure__img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--radius-photo);
    background: var(--color-page-alt);
  }
  :is(.figure, .photo-band) figcaption {
    margin-top: var(--space-xs);
    font-size: var(--text-sm);
    line-height: 1.45;
    color: var(--color-label);
  }
  /* Links as rows (components/link-list.njk): a name and an arrow between
     hairlines, each row a thumb's height; or, --chips, side by side, each
     in a small outline. */
  .link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-line-strong);
  }
  .link-list > li {
    margin: 0;
    border-bottom: 1px solid var(--color-line);
  }
  .link-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-s);
    min-height: 3.25rem;
    padding-block: var(--space-2xs);
    font: 600 var(--text-lg) / 1.25 var(--font-head);
    color: var(--color-ink);
    text-decoration: none;
  }
  .link-list a:hover {
    color: var(--color-link);
    text-decoration: underline;
    text-decoration-thickness: 2px;
  }
  .link-list .icon {
    color: var(--color-label);
  }
  .link-list--chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2xs);
    border: 0;
  }
  .link-list--chips > li {
    border: 0;
  }
  .link-list--chips a {
    min-height: 2.75rem;
    padding: 0.5rem 0.875rem 0.5rem 1rem;
    border: 1px solid var(--color-line-strong);
    border-radius: var(--radius-s);
    font-size: var(--text-md);
  }
  .link-list--chips a:hover {
    border-color: var(--color-action);
    background: var(--color-selected);
    text-decoration: none;
  }
  /* A sentence of the page's own, set apart (components/quote.njk): large,
     with a gold rule beside it, and whose it is under it. */
  .quote {
    align-self: start;
    max-width: 46rem;
    margin: 0;
    padding-left: var(--space-l);
    border-left: 2px solid var(--color-label);
  }
  .quote blockquote {
    margin: 0;
  }
  .quote blockquote p {
    margin: 0;
    font: 600 var(--text-2xl) / 1.28 var(--font-head);
    letter-spacing: -0.015em;
    color: var(--color-ink);
    text-wrap: balance;
  }
  .quote figcaption {
    margin-top: var(--space-s);
    font: 700 var(--text-xs) / 1.3 var(--font-head);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-muted);
  }
  /* A program's facts (components/fact-panel.njk): when, who, what it
     costs and the like, a row each, its small label beside its answer,
     scannable at a glance, on sunk paper with the way to sign up. */
  .fact-panel {
    padding: var(--space-l);
    border-radius: var(--radius-m);
    background: var(--color-page-alt);
  }
  .fact-panel__list {
    margin: 0;
    border-top: 1px solid var(--color-line-strong);
  }
  .fact-panel__item {
    display: grid;
    grid-template-columns: 6.5rem minmax(0, 1fr);
    gap: var(--space-s);
    align-items: baseline;
    padding-block: var(--space-xs);
    border-bottom: 1px solid var(--color-line);
  }
  .fact-panel dt {
    font: 700 var(--text-xs) / 1.3 var(--font-head);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-label);
  }
  .fact-panel dd {
    margin: 0;
    font: 700 var(--text-lg) / 1.3 var(--font-head);
    letter-spacing: -0.01em;
    font-variant-numeric: lining-nums tabular-nums;
    color: var(--color-ink);
  }
  /* An answer that's a link (Varsity Winter's dates, the calendar's
     address): an ordinary link, at the text's size. */
  /* An answer that's a sentence (C3's cost, with its link; a trail ride's
     "Contact us to discuss…"): the text's own type. */
  .fact-panel__item--prose dd {
    font: 400 var(--text-md) / 1.5 var(--font-body);
    letter-spacing: 0;
  }
  .fact-panel dd a {
    font: 400 var(--text-md) / 1.4 var(--font-body);
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }
  /* A line under an answer ("Check-in starts at 5:00 p.m. on Friday"). */
  .fact-panel dd small {
    display: block;
    margin-top: 0.3em;
    font: 400 var(--text-sm) / 1.45 var(--font-body);
    letter-spacing: 0;
    color: var(--color-ink-2);
  }
  .fact-panel__title {
    margin-bottom: var(--space-m);
    font-size: var(--text-xl);
  }
  /* A question and its answer, the question over its answer, in its own
     words. */
  .fact-panel__item--wide {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3xs);
  }
  .fact-panel .fact-panel__item--wide dt {
    font: 700 var(--text-sm) / 1.4 var(--font-head);
    letter-spacing: 0;
    text-transform: none;
    color: var(--color-ink);
  }
  .fact-panel .fact-panel__item--wide dd {
    font: 400 var(--text-md) / 1.5 var(--font-body);
    letter-spacing: 0;
    color: var(--color-ink-2);
  }
  .fact-panel .actions {
    margin-top: var(--space-l);
  }
  @media (width < 40rem) {
    .fact-panel {
      padding: var(--space-m);
    }
  }
  /* On paper, which leaves out backgrounds (the shades under words on a
     photo): a hero's photo above its words, the words in ink; a feature
     band's words alone, in ink (its photo is the band's backdrop); no
     video, which can't play there; buttons in ink; a tile, fact or row
     never split across two sheets. */
  @media print {
    .hero--cover {
      grid-template-rows: auto;
      background: none;
    }
    .hero--cover > .wrap {
      grid-area: 2 / 1;
    }
    .hero--cover .hero__photo picture {
      position: static;
    }
    .hero--cover .hero__img {
      height: auto;
      max-height: 4in;
    }
    .hero--cover .hero__photo::after,
    .hero--cover .hero__body::before,
    .backdrop__photo {
      display: none;
    }
    .backdrop {
      min-height: 0;
      padding-block: var(--space-l);
      background: none;
    }
    :is(.hero--cover .hero__body, .backdrop)
      :is(h1, h2, h3, p, li, .glance__number, .glance__detail) {
      color: var(--color-ink);
    }
    .cinema {
      display: none;
    }
    /* Every button in ink: the block's words in a 1.5px ink box (its
       paper words would vanish with its fill), the rest as on screen. */
    :is(.btn, .hero--cover .hero__body .btn, .backdrop .btn) {
      --btn-text: var(--color-ink);
      --btn-rule: var(--color-ink);
      --btn-link-ink: var(--color-ink);
    }
    :is(.btn, .hero--cover .hero__body .btn, .backdrop .btn).btn--primary {
      background: none;
      color: var(--color-ink);
      box-shadow: inset 0 0 0 1.5px var(--color-ink);
    }
    :is(.tile, .glance__item, .fact-panel, .timetable > div, .link-list li) {
      break-inside: avoid;
    }
  }
  /* A day's timetable (a retreat's weekend): each time and what happens,
     the times in a column of their own, between hairlines. */
  .timetable {
    margin: 0;
    border-top: 1px solid var(--color-line-strong);
  }
  .timetable > div {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: var(--space-s);
    padding-block: 0.5rem;
    border-bottom: 1px solid var(--color-line);
  }
  .timetable dt {
    font: 700 var(--text-sm) / 1.6 var(--font-head);
    font-variant-numeric: tabular-nums lining-nums;
    color: var(--color-label);
  }
  .timetable dd {
    margin: 0;
  }
  /* The camp video, large (the home page): the page's width, the header's
     edges, at every size; 16:9. */
  /* A video the page's width: the sections around it give its space;
     after a page head, and at the end of a page, its own. */
  .hero--no-photo + .cinema {
    padding-top: var(--space-xl);
  }
  .cinema:last-child {
    padding-bottom: var(--section-y);
  }
  .cinema .video {
    max-width: none;
    margin: 0;
  }
  .cinema .video__label {
    font-size: var(--text-2xl);
  }
  @media (width < 48rem) {
    .cinema .video__label {
      font-size: var(--text-xl);
    }
  }
  /* Photos in a row, one at a time (components/slider.njk, slider.js); it
     never moves by itself. Hidden on phones, as on the old site. */
  .slider {
    position: relative;
    margin-top: var(--space-xl);
  }
  .slider__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    border-radius: var(--radius-photo);
  }
  .slider__slide {
    position: relative;
    flex: 0 0 100%;
    margin: 0;
    scroll-snap-align: start;
  }
  .slider__slide > picture {
    display: block;
  }
  .slider__img {
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
  }
  .slider__slide--small {
    background: var(--color-band);
  }
  .slider__slide--small .slider__img {
    object-fit: scale-down;
  }
  .slider__caption {
    position: absolute;
    left: var(--space-m);
    bottom: var(--space-m);
    margin: 0;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-s);
    background: rgb(var(--scrim) / 0.82);
    font: 600 var(--text-sm) / 1.3 var(--font-head);
    color: #ffffff;
  }
  .slider.is-ready .slider__track {
    scrollbar-width: none;
  }
  .slider.is-ready .slider__track::-webkit-scrollbar {
    display: none;
  }
  .slider__button {
    position: absolute;
    top: 50%;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--paper-light);
    color: #1d2216;
    box-shadow: var(--shadow-float);
    translate: 0 -50%;
  }
  .slider__button .icon {
    width: 1.125rem;
    height: 1.125rem;
    stroke-width: 2;
  }
  .slider__button--prev {
    left: var(--space-s);
  }
  .slider__button--next {
    right: var(--space-s);
  }
  @media (width < 48rem) {
    .slider {
      display: none;
    }
  }
  /* The lightboxes: a photo as large as the window allows, on a dark
     ground (gallery.js's .lightbox; the paged gallery's .photo-lightbox). */
  :is(.lightbox, .photo-lightbox) {
    --color-focus: #ffffff;
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgb(14 16 12 / 0.94);
    color: #ffffff;
  }
  :is(.lightbox, .photo-lightbox)::backdrop {
    background: rgb(14 16 12 / 0.6);
  }
  .lightbox__figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0;
    padding: 4rem 4.5rem 1rem;
  }
  .lightbox__photo,
  .photo-lightbox__frame {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-height: 0;
  }
  .lightbox__picture {
    display: contents;
  }
  :is(.lightbox__img, .photo-lightbox__img) {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
  }
  :is(.lightbox__caption, .photo-lightbox__caption) {
    padding-top: var(--space-xs);
    text-align: center;
    color: #ffffff;
  }
  .photo-lightbox[open] {
    display: flex;
    flex-direction: column;
    padding: 4rem 4.5rem 1rem;
  }
  :is(.lightbox__button, .photo-lightbox__button) {
    position: absolute;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--paper-light);
    color: #1d2216;
    cursor: pointer;
  }
  :is(.lightbox__button, .photo-lightbox__button) svg {
    width: 1.125rem;
    height: 1.125rem;
    fill: currentColor;
  }
  :is(.lightbox__button--close, .photo-lightbox__button--close) {
    top: var(--space-xs);
    right: var(--space-xs);
  }
  :is(
    .lightbox__button--prev,
    .lightbox__button--next,
    .photo-lightbox__button--prev,
    .photo-lightbox__button--next
  ) {
    top: 50%;
    translate: 0 -50%;
  }
  :is(.lightbox__button--prev, .photo-lightbox__button--prev) {
    left: var(--space-xs);
  }
  :is(.lightbox__button--next, .photo-lightbox__button--next) {
    right: var(--space-xs);
  }
  @media (width < 48rem) {
    .lightbox__figure,
    .photo-lightbox[open] {
      padding: 4rem 0.5rem 4.5rem;
    }
    :is(
      .lightbox__button--prev,
      .lightbox__button--next,
      .photo-lightbox__button--prev,
      .photo-lightbox__button--next
    ) {
      top: auto;
      bottom: var(--space-xs);
      translate: none;
    }
  }
  /* A paged gallery (components/paged-gallery.njk, paged-gallery.js):
     three to a row, six to a page, with page buttons under it. */
  .paged-gallery__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xs);
    list-style: none;
    margin: 0 0 var(--space-m);
    padding: 0;
  }
  .paged-gallery__item {
    margin: 0;
  }
  @media (width >= 40rem) {
    .paged-gallery__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (width >= 64rem) {
    .paged-gallery__grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .paged-gallery__item[hidden] {
    display: none;
  }
  .paged-gallery__open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: var(--radius-photo);
    overflow: hidden;
    background: var(--color-page-alt);
    cursor: zoom-in;
  }
  .paged-gallery__open:disabled {
    cursor: default;
  }
  .paged-gallery__open > picture {
    display: block;
  }
  .paged-gallery__img {
    width: 100%;
    aspect-ratio: 7 / 5;
    object-fit: cover;
  }
  .paged-gallery__pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2xs) var(--space-s);
  }
  .paged-gallery__pager[hidden] {
    display: none;
  }
  .paged-gallery__pages {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .paged-gallery__pages > li {
    margin: 0;
  }
  :is(.paged-gallery__page, .paged-gallery__arrow) {
    display: grid;
    place-items: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0 0.5rem;
    border: 1px solid transparent;
    border-radius: var(--radius-s);
    background: none;
    font: 700 var(--text-sm) / 1 var(--font-head);
    font-variant-numeric: lining-nums tabular-nums;
    color: var(--color-ink-2);
  }
  :is(.paged-gallery__page, .paged-gallery__arrow):hover {
    color: var(--color-ink);
    background: var(--color-page-alt);
  }
  .paged-gallery__page[aria-current="page"] {
    border-color: var(--color-action);
    color: var(--color-ink);
  }
  .paged-gallery__arrow svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
  }
  .paged-gallery__arrow.is-off {
    visibility: hidden;
  }
  .paged-gallery__count {
    margin: 0 0 0 auto;
    font-size: var(--text-sm);
    color: var(--color-muted);
  }
  /* A video that loads only when played (components/video.njk), and a
     video file in the browser's own player. */
  .video {
    position: relative;
    margin: var(--space-l) 0;
    max-width: 60rem;
  }
  .video__poster {
    position: relative;
    display: block;
    border-radius: var(--radius-photo);
    overflow: hidden;
  }
  .video__poster picture {
    display: block;
  }
  .video__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  .video__play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
  }
  .video__play svg {
    width: 4.25rem;
    height: 3rem;
  }
  .video__play-bg {
    fill: rgb(var(--scrim) / 0.85);
    transition: fill var(--fast) var(--ease);
  }
  .video__play-arrow {
    fill: #ffffff;
  }
  .video__poster:hover .video__play-bg {
    fill: var(--color-action);
  }
  .video__frame {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: var(--radius-photo);
    background: #000000;
  }
  /* A page's featured video: as wide as the page allows, up to 64rem; low
     on the left of its poster, clear of the faces in the middle, a large
     gold play button and its label, white on a shade (5:1 or better). The
     focus ring stands clear of the poster. */
  .video--feature {
    max-width: 64rem;
    margin-inline: auto;
  }
  .video--feature .video__poster {
    outline-offset: 4px;
  }
  .video__cta {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    align-items: center;
    gap: var(--space-s);
    padding: var(--space-2xl) var(--space-m) var(--space-m);
    background: linear-gradient(
      to top,
      rgb(var(--scrim) / 0.8) 0%,
      rgb(var(--scrim) / 0.72) 45%,
      rgb(var(--scrim) / 0) 100%
    );
  }
  .video__play-button {
    display: grid;
    flex: none;
    place-items: center;
    width: clamp(3.25rem, 2.6rem + 2.4vw, 4.75rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--gold);
    transition:
      scale var(--fast) var(--ease),
      background var(--fast) var(--ease);
  }
  .video__play-button svg {
    width: 44%;
    height: 44%;
    margin-left: 8%;
    fill: #1d2216;
  }
  .video__poster:is(:hover, :focus-visible) .video__play-button {
    background: #dcb966;
    scale: 1.06;
  }
  .video__label {
    font: 700 var(--text-xl) / 1.15 var(--font-head);
    color: #ffffff;
    text-align: left;
  }
  /* A video file's play button covers its player's poster until pressed. */
  .video--file .video__start {
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  /* A Google map that loads only when asked for (components/embed.njk). */
  .embed {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-m);
    background: var(--color-page-alt);
  }
  .embed--map {
    aspect-ratio: 4 / 3;
  }
  .embed__poster {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xs);
    height: 100%;
    padding: var(--space-l);
    text-align: center;
    text-decoration: none;
    color: var(--color-ink);
  }
  .embed__label {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-s);
    background: var(--color-action);
    font: 700 1rem / 1.2 var(--font-head);
    color: var(--color-on-action);
  }
  .embed__poster:hover .embed__label {
    background: var(--color-action-hover);
  }
  .embed__note {
    font-size: var(--text-sm);
    color: var(--color-muted);
  }
  .embed__frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
  }
  /* The Mailchimp sign-up form (components/subscribe-form.njk). */
  .subscribe {
    max-width: 30rem;
    margin-top: var(--space-xl);
    padding-top: var(--space-l);
    border-top: 1px solid var(--color-line);
  }
  .subscribe__title {
    font-size: var(--text-xl);
  }
  .subscribe__required {
    margin-bottom: var(--space-s);
    font-size: var(--text-sm);
    color: var(--color-muted);
  }
  .subscribe__asterisk {
    color: var(--color-error);
  }
  /* The practice copy's banner (server/lib/stagingGate.js) goes into every
     page; the website's pages load only this stylesheet, so it's here too,
     as the system's style.css draws it. */
  .test-copy-banner {
    margin: 0;
    padding: var(--space-2xs) var(--space-s);
    background: var(--gold);
    color: var(--olive);
    font-weight: 700;
    text-align: center;
  }
  .subscribe__notice {
    margin: var(--space-s) 0;
    font-size: var(--text-sm);
    color: var(--color-muted);
  }
  .subscribe__field {
    margin-bottom: var(--space-s);
  }
  .subscribe__trap {
    position: absolute;
    left: -5000px;
  }
  .subscribe__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-s);
    margin-top: var(--space-m);
  }
  .subscribe__badge {
    margin: 0;
  }
  .subscribe__badge img {
    width: 9rem;
    height: auto;
  }
  /* Where a live page's form was: a short note and the way into the
     system (.form-swap), and the registration pages' big button
     (.app-handoff, which the system's own form will replace). */
  .form-swap {
    max-width: var(--w-text);
    margin-top: var(--space-l);
  }
  /* A registration page's head (layouts/registration.njk): its title on
     paper, its note the line under it; the system's block follows as the
     page's first section, close under it. */
  .registration {
    padding-block: var(--space-2xl) var(--space-l);
  }
  .app-handoff {
    max-width: var(--measure);
  }
  .form-swap > .btn,
  .form-swap > .actions {
    margin-bottom: var(--space-s);
  }
  .form-swap__note {
    margin: 0 0 var(--space-s);
    color: var(--color-ink-2);
  }
  .form-swap__note:last-child {
    margin-bottom: 0;
  }
  .form-swap__ein,
  .form-swap__todo {
    font-size: var(--text-sm);
    color: var(--color-muted);
  }
  .app-handoff__title {
    margin: 0;
    font-size: var(--text-4xl);
    line-height: 1.05;
    letter-spacing: -0.028em;
  }
  .app-handoff__note {
    margin: var(--space-s) 0 0;
    font-size: var(--text-lg);
    line-height: 1.55;
    color: var(--color-ink-2);
  }
  /* ── Page layouts ──────────────────────────────────────────────────── */
  /* The home page's About Us: the mission set large across the top (its
     second sentence a shade quieter), then the welcome, the link to About
     Us and two facts in the grid's first six columns, the photos in its
     last five, ending on the header's edge (from 48rem; on a phone, the
     photos between the mission and the welcome). */
  .home-about__grid {
    display: grid;
    grid-template-areas: "head" "photos" "words";
    gap: var(--stack);
  }
  .home-about__head {
    grid-area: head;
  }
  .home-about .statement {
    max-width: 26em;
    margin-bottom: 0;
  }
  .statement__more {
    color: var(--color-muted);
  }
  .home-about__words {
    grid-area: words;
  }
  .home-about__words > :last-child {
    margin-bottom: 0;
  }
  .home-about .mosaic {
    grid-area: photos;
  }
  .home-about__text {
    max-width: var(--measure);
    color: var(--color-ink-2);
  }
  .home-about__more {
    font-size: var(--text-sm);
    color: var(--color-muted);
  }
  .home-about .glance {
    margin-top: var(--space-xl);
  }
  @media (width >= 48rem) {
    .home-about__grid {
      grid-template-columns: repeat(12, minmax(0, 1fr));
      grid-template-areas: none;
      column-gap: var(--space-l);
      align-items: start;
    }
    .home-about__head {
      grid-area: auto;
      grid-column: 1 / -1;
    }
    .home-about__words {
      grid-area: auto;
      grid-column: 1 / 7;
    }
    .home-about .mosaic {
      grid-area: auto;
      grid-column: 8 / -1;
    }
  }
  .program-photos .gallery {
    margin-bottom: var(--space-l);
  }
  /* A program's page (a camp or a retreat, layouts/program.njk): its description,
     activities and the speaker beside its facts from 64rem, the facts in
     view as the words scroll where the window is tall enough for them; on
     a phone, the words first. */
  .program__grid {
    display: grid;
    gap: var(--stack);
  }
  .program__main > :last-child {
    margin-bottom: 0;
  }
  .program__lead p {
    font-size: var(--text-lg);
    line-height: 1.6;
    color: var(--color-ink-2);
  }
  .program__lead p:first-child {
    color: var(--color-ink);
  }
  @media (width >= 64rem) {
    .program__grid {
      grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
      column-gap: var(--space-3xl);
      align-items: start;
    }
  }
  @media screen and (width >= 64rem) and (height >= 48rem) {
    .program__facts {
      position: sticky;
      top: calc(var(--header-h) + var(--space-l));
    }
  }
  /* A story (components/story.njk): words with a photo beside them, the
     photo whole; on a phone the photo first. From 64rem seven parts to
     five, the photo top-aligned and in view while long words scroll
     (where the window is tall enough). */
  .story__inner {
    display: grid;
    gap: var(--stack);
  }
  .story__photo {
    order: -1;
  }
  .story__img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-photo);
  }
  .story__words > :last-child {
    margin-bottom: 0;
  }
  .story__words > * + .title {
    margin-top: var(--space-xl);
  }
  @media (width >= 64rem) {
    .story__inner {
      grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
      column-gap: var(--space-3xl);
      align-items: start;
    }
    .story__photo {
      order: 0;
    }
    .story--photo-start .story__inner {
      grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    }
    .story--photo-start .story__photo {
      order: -1;
    }
  }
  @media screen and (width >= 64rem) and (height >= 48rem) {
    .story__photo {
      position: sticky;
      top: calc(var(--header-h) + var(--space-l));
    }
  }
  /* The activities: a list to take in at a glance, each with a sage dot,
     two or three to a row ("and more!" last, without one). Not buttons:
     nothing here is pressed. */
  /* A page's own part beside its facts (Varsity EDGE's and NEXT's "Get
     Ready!"): its words, then its photo, whole. */
  .ready picture {
    display: block;
    margin-top: var(--space-l);
  }
  .ready__photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius-photo);
  }
  .activities {
    margin-top: var(--space-xl);
  }
  .activities__intro {
    margin-bottom: var(--space-s);
    font: 700 var(--text-md) / 1.4 var(--font-head);
    color: var(--color-ink);
  }
  .activity-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
    gap: var(--space-xs) var(--space-m);
    list-style: none;
    margin: 0;
    padding: var(--space-s) 0 0;
    border-top: 1px solid var(--color-line);
  }
  .activity-list > li {
    position: relative;
    margin: 0;
    padding-left: 1.25rem;
    font: 600 var(--text-md) / 1.4 var(--font-head);
    color: var(--color-ink);
  }
  .activity-list > li::before {
    content: "";
    position: absolute;
    left: 0.125rem;
    top: 0.5em;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--color-label);
  }
  .activity-list > .activity-list__more {
    color: var(--color-muted);
    font-weight: 400;
  }
  .activity-list > .activity-list__more::before {
    content: none;
  }
  /* A speaker's bio: its label, then the bio at a reading measure; in a
     section of its own, the label beside it from 64rem. */
  .bio__label {
    margin-bottom: var(--space-s);
  }
  .bio__name {
    margin: 0 0 var(--space-m);
    font: 700 var(--text-2xl) / 1.15 var(--font-head);
    letter-spacing: -0.02em;
    color: var(--color-ink);
  }
  .bio__text {
    max-width: var(--measure);
  }
  @media (width >= 64rem) {
    .section > .wrap > .bio {
      display: grid;
      grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
      grid-template-rows: auto 1fr;
      column-gap: var(--space-l);
      align-items: start;
    }
    .section > .wrap > .bio > .bio__text {
      grid-column: 2;
      grid-row: 1 / span 2;
    }
  }
  /* A line set apart: a sage rule beside it, on sunk paper. */
  .note {
    max-width: var(--measure);
    margin: var(--space-xl) 0 0;
    padding: var(--space-m) var(--space-m) var(--space-m) var(--space-l);
    border-left: 2px solid var(--color-label);
    background: var(--color-page-alt);
    color: var(--color-ink-2);
  }
  /* A schedule: a timetable for each day, side by side where they fit;
     the day's main sessions (chapel) in bold. */
  .schedule__days {
    display: grid;
    gap: var(--space-xl) var(--space-l);
  }
  @media (width >= 48rem) {
    .schedule__days {
      grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    }
  }
  .schedule__name {
    margin-bottom: var(--space-s);
    font-size: var(--text-lg);
  }
  .timetable__key :is(dt, dd) {
    font-weight: 700;
    color: var(--color-ink);
  }
  /* Notes as rows between hairlines (Get ODP's trip): things to know,
     not links. */
  .rows {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-line-strong);
  }
  .rows > li {
    margin: 0;
    padding-block: var(--space-s);
    border-bottom: 1px solid var(--color-line);
  }
  /* Get ODP's next trip: its words beside its notes from 64rem. One
     column on a phone, no wider than the screen (the park's long web
     address wraps). */
  .trip__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl) var(--space-3xl);
  }
  @media (width >= 64rem) {
    .trip__body {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      align-items: start;
    }
  }
  /* Questions and their answers (a retreat's FAQ): each question in
     Raleway over its answer, between hairlines; two to a row from 64rem. */
  .faq {
    display: grid;
    gap: 0 var(--space-3xl);
    margin: 0;
  }
  .faq__item {
    padding-block: var(--space-m);
    border-top: 1px solid var(--color-line-strong);
  }
  .faq dt {
    margin-bottom: var(--space-2xs);
    font: 700 var(--text-lg) / 1.3 var(--font-head);
    color: var(--color-ink);
  }
  .faq dd {
    max-width: var(--measure);
    margin: 0;
    color: var(--color-ink-2);
  }
  @media (width >= 64rem) {
    .faq {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
  }
  /* The Retreats page: its words, then its retreats. */
  .retreats-intro__lead {
    max-width: 34em;
  }
  .retreats-intro .program-list {
    margin-top: var(--stack);
  }
  /* The Summer Camps page: the camp experience in a few words beside its
     photos (the grid's first six columns and its last five, from 48rem;
     on a phone, the words then the photos); the programs under their
     head; Getting Ready's words to the measure. */
  .camps-summer__grid {
    display: grid;
    gap: var(--stack);
  }
  @media (width >= 48rem) {
    .camps-summer__grid {
      grid-template-columns: repeat(12, minmax(0, 1fr));
      column-gap: var(--space-l);
      align-items: center;
    }
    .camps-summer__words {
      grid-column: 1 / 7;
    }
    .camps-summer .mosaic {
      grid-column: 8 / -1;
    }
  }
  .camps-ready .lead {
    max-width: var(--measure);
  }
  /* A closing band (the last part of a program's page, Rentals'): on
     sunk paper, ink type, the main action; on a program's page, who it's
     for and the cost, large, and Register. Light, so it never
     sits as a second dark slab on the footer (ONE-SITE/13 §2). */
  .cta-band {
    padding-block: var(--section-y);
    background: var(--color-page-alt);
    color: var(--color-ink);
  }
  .cta-band__inner {
    display: grid;
    gap: var(--space-l);
    align-items: center;
  }
  @media (width >= 48rem) {
    .cta-band__inner {
      grid-template-columns: minmax(0, 1fr) auto;
      gap: var(--space-2xl);
    }
  }
  .cta-band__facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 var(--space-s);
    list-style: none;
    margin: 0;
    padding: 0;
    font: 700 var(--text-2xl) / 1.2 var(--font-head);
    letter-spacing: -0.015em;
  }
  .cta-band__facts > li {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    margin: 0;
  }
  .cta-band__facts > li + li::before {
    content: "";
    width: 0.3125rem;
    height: 0.3125rem;
    border-radius: 50%;
    background: var(--color-label);
  }
  /* Get Involved: the page head's opening words at the lead's size; the
     section leads to the measure; in a "How to Apply?" panel, its words,
     button, the summer's dates (a label, then rows) and the line for help. */
  .involved-head__lead p {
    margin: 0;
    font-size: var(--text-lg);
    line-height: 1.55;
    color: var(--color-ink-2);
  }
  .involved-lead {
    max-width: var(--measure);
    margin-bottom: var(--stack);
  }
  .involved-apply > p {
    margin: 0 0 var(--space-m);
  }
  .involved-apply .actions {
    margin: 0 0 var(--space-l);
  }
  .involved-apply__label {
    font: 700 var(--text-xs) / 1.3 var(--font-head);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-label);
  }
  .involved-dates {
    margin-bottom: var(--space-m);
  }
  .involved-apply > .involved-apply__help {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--color-muted);
  }
  /* The Core Staff video: its way on under it. */
  .core-staff-video .actions {
    margin-top: var(--space-l);
  }
  /* Get Involved: the newsletter's way in. */
  .newsletter {
    margin-top: var(--space-m);
  }
  /* Give: its words to the text's measure, on the grid; the Give block
     follows close under them. */
  /* A page head's room above it is the one every page head has (a page
     with no photo at its top: Get Involved, the registration pages). */
  .give-head {
    padding-block: var(--space-2xl) var(--space-l);
  }
  .give-head .lead {
    max-width: var(--measure);
  }
  /* A table of figures (Accommodations: each cabin and room), the site's
     one table. Hairlines, not boxes; numbers centred, in even figures;
     the row's name first. On a phone each row stacks: its name, then each
     figure with its column's name (data-label), blanks left out, so the
     table never scrolls sideways. The header row stays for screen
     readers, hidden from sight. */
  .data-table {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums lining-nums;
  }
  .data-table caption {
    margin-bottom: var(--space-2xs);
    color: var(--color-muted);
    font: 600 var(--text-sm) / 1.4 var(--font-head);
    text-align: left;
  }
  .data-table th,
  .data-table td {
    padding: 0.5rem 0.625rem;
    text-align: center;
  }
  .data-table :is(th, td):first-child {
    padding-left: 0;
    text-align: left;
  }
  .data-table :is(th, td):last-child {
    padding-right: 0;
  }
  .data-table thead th {
    color: var(--color-muted);
    font: 600 var(--text-sm) / 1.3 var(--font-head);
    border-bottom: 1px solid var(--color-line-strong);
  }
  .data-table tbody tr {
    border-bottom: 1px solid var(--color-line);
  }
  .data-table tbody th {
    font-weight: 600;
  }
  .data-table td[data-label="Sleeps"] {
    font-weight: 700;
  }
  .data-table tfoot :is(th, td) {
    border-top: 2px solid var(--color-line-strong);
    font-weight: 700;
  }
  .data-table__none {
    color: var(--color-muted);
  }
  /* A number that links to its place on the camp map: a badge, as the
     map's legend draws it, big enough to tap. */
  .data-table td a {
    display: inline-grid;
    place-items: center;
    min-width: 2rem;
    min-height: 2rem;
    padding-inline: 0.375rem;
    border: 1px solid var(--color-control);
    border-radius: var(--radius-s);
    font-weight: 700;
    text-decoration: none;
  }
  .data-table td a:hover {
    background: var(--color-selected);
    border-color: var(--color-action);
  }
  @media (width < 40rem) {
    .data-table,
    .data-table :is(caption, tbody, tfoot) {
      display: block;
    }
    .data-table thead {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip-path: inset(50%);
      white-space: nowrap;
    }
    .data-table tr {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 0.125rem 1.25rem;
      padding-block: 0.625rem;
    }
    .data-table :is(th, td),
    .data-table :is(th, td):first-child {
      padding: 0;
      text-align: left;
    }
    .data-table tr > th {
      flex: 1 0 100%;
    }
    .data-table tfoot tr {
      border-top: 2px solid var(--color-line-strong);
    }
    .data-table tfoot :is(th, td) {
      border-top: 0;
    }
    /* Each figure's column name, before it; seen, not read twice (a
       screen reader has the column's header). */
    .data-table td::before {
      content: attr(data-label) " ";
      content: attr(data-label) " " / "";
      color: var(--color-muted);
      font-weight: 400;
    }
    .data-table td:is(.data-table__none, .data-table__blank) {
      display: none;
    }
  }

  /* Accommodations (/rentals/accommodations/): the answers first (sleeps,
     seats), then every room in its table, then the meeting spaces with
     their photos. */
  .rooms {
    display: grid;
    gap: var(--space-m) var(--space-2xl);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-line-strong);
  }
  .rooms__intro > :last-child {
    margin-bottom: 0;
  }
  .rooms__name {
    margin-bottom: 0.25em;
  }
  .rooms__summary {
    margin-bottom: var(--space-m);
    color: var(--color-ink-2);
    font-size: var(--text-lg);
  }
  .rooms__summary strong {
    color: var(--color-ink);
  }
  .rooms__intro picture {
    display: block;
  }
  .rooms__img,
  .space__img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--radius-photo);
    background: var(--color-page-alt);
  }
  @media (width >= 40rem) and (width < 64rem) {
    .rooms__intro {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      grid-template-rows: auto 1fr;
      column-gap: var(--space-l);
    }
    .rooms__intro picture {
      grid-column: 2;
      grid-row: 1 / span 2;
    }
  }
  @media (width >= 64rem) {
    .rooms {
      grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
      align-items: start;
    }
  }
  .spaces {
    display: grid;
    gap: var(--space-xl) var(--space-l);
    list-style: none;
    margin: var(--space-xl) 0 0;
    padding: 0;
  }
  .space {
    margin: 0;
  }
  .space > picture {
    display: block;
    margin-bottom: var(--space-s);
  }
  .space__name {
    margin-bottom: 0.15em;
    font-size: var(--text-xl);
  }
  h4.space__name {
    font-size: var(--text-lg);
  }
  .space__seats {
    margin-bottom: var(--space-xs);
    color: var(--color-ink-2);
  }
  .space__number {
    color: var(--color-ink);
    font: 700 var(--text-2xl) / 1 var(--font-head);
    letter-spacing: -0.02em;
  }
  .space__room .space__number {
    font-size: var(--text-xl);
  }
  .space__facts {
    display: grid;
    gap: 0;
    margin: 0 0 var(--space-xs);
    border-top: 1px solid var(--color-line);
  }
  .space__facts > div {
    display: flex;
    justify-content: space-between;
    gap: var(--space-s);
    padding-block: 0.375rem;
    border-bottom: 1px solid var(--color-line);
  }
  .space__facts dt {
    color: var(--color-muted);
  }
  .space__facts dd {
    margin: 0;
    font-weight: 700;
  }
  /* "Map 1": its number a badge, as in the tables and the map's legend. */
  .space__map {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    text-decoration: none;
  }
  .space__badge {
    display: inline-grid;
    place-items: center;
    min-width: 2rem;
    min-height: 2rem;
    padding-inline: 0.375rem;
    border: 1px solid var(--color-control);
    border-radius: var(--radius-s);
    font-weight: 700;
  }
  .space__map:hover .space__badge {
    background: var(--color-selected);
    border-color: var(--color-action);
  }
  .space__rooms {
    list-style: none;
    margin: var(--space-s) 0 0;
    padding: 0;
  }
  .space__room + .space__room {
    margin-top: var(--space-m);
  }
  @media (width >= 40rem) {
    .spaces {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (width >= 64rem) {
    .spaces {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
}
/* ── Utilities ───────────────────────────────────────────────────────── */
@layer utilities {
  /* Heard by a screen reader, not seen. */
  .visually-hidden:not(:focus):not(:active) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
  }
  /* "Skip to content": the first thing a keyboard reaches. */
  .skip-link {
    position: absolute;
    left: var(--gutter);
    top: 0;
    z-index: 100;
    padding: 0.75rem 1rem;
    border-radius: 0 0 var(--radius-s) var(--radius-s);
    background: var(--color-action);
    color: var(--color-on-action);
    font: 700 1rem / 1 var(--font-head);
    translate: 0 -120%;
  }
  .skip-link:focus {
    translate: 0 0;
  }
  [hidden] {
    display: none !important;
  }
  /* What's a part of the site that's switched off (SEC-7, ADM-8): hidden
     from the first moment the page is drawn, once this browser has heard
     it's off (js/theme.js marks the page, before anything is drawn; the
     corner's script, /assets/js/corner.js, after asking the server). One
     line for each part the server names (server/lib/features.js). */
  :root[data-parts-off~="giving"] [data-part="giving"],
  :root[data-parts-off~="snackShack"] [data-part="snackShack"],
  :root[data-parts-off~="rentals"] [data-part="rentals"] {
    display: none !important;
  }
  /* The corner's Log in, for somebody who may be logged in: unseen but
     keeping its place from the first moment the page is drawn (js/theme.js
     marks the page), until the corner's script has drawn who's here, so
     they never see Log in flash before My Camp. */
  :root[data-corner-wait] :is([data-corner], [data-menu-account]) {
    visibility: hidden;
  }
  .nowrap {
    white-space: nowrap;
  }
  /* A photo's focus (src/_data/photoFocus.js, lib/photo-focus.js): where,
     across and down, its subject is, kept in view when it's cropped. */
  .focus-x0 {
    --focus-x: 0%;
  }
  .focus-x10 {
    --focus-x: 10%;
  }
  .focus-x20 {
    --focus-x: 20%;
  }
  .focus-x30 {
    --focus-x: 30%;
  }
  .focus-x40 {
    --focus-x: 40%;
  }
  .focus-x60 {
    --focus-x: 60%;
  }
  .focus-x70 {
    --focus-x: 70%;
  }
  .focus-x80 {
    --focus-x: 80%;
  }
  .focus-x90 {
    --focus-x: 90%;
  }
  .focus-x100 {
    --focus-x: 100%;
  }
  .focus-y0 {
    --focus-y: 0%;
  }
  .focus-y10 {
    --focus-y: 10%;
  }
  .focus-y20 {
    --focus-y: 20%;
  }
  .focus-y30 {
    --focus-y: 30%;
  }
  .focus-y40 {
    --focus-y: 40%;
  }
  .focus-y60 {
    --focus-y: 60%;
  }
  .focus-y70 {
    --focus-y: 70%;
  }
  .focus-y80 {
    --focus-y: 80%;
  }
  .focus-y90 {
    --focus-y: 90%;
  }
  .focus-y100 {
    --focus-y: 100%;
  }
}
/* ── The camp's calendar (/resources/calendar/) ─────────────────────────
   Kept here, apart, so the design system above can change around it.
   site/src/resources/calendar.njk and assets/js/calendar.js: the month as
   a table on a wide screen, "Coming up" as a list everywhere (a phone's
   calendar). Each kind is drawn one way everywhere, in the key, the bars
   and the list, and always as a short bar like the month's, never a small
   square that could be taken for a tick box (P-14): the camp's own events
   in solid ink; Get ODP's trips in solid sage; guest groups in outline.
   Today is a gold
   rule and the word "Today". Each place holds its room before the events
   arrive, so nothing on the page moves. */
@layer parts {
  /* Get ODP's colour: the sage of labels; in dark mode, where that is
     near the camp's own light sage, the camp's Light Green (#636b46)
     instead, with white words: 3:1 from the page and from the camp's
     bars (N5-5). On paper, as in light. */
  :root {
    --calendar-odp: var(--color-label);
    --calendar-odp-ink: var(--color-on-action);
  }
  @media screen {
    :root[data-theme="dark"] {
      --calendar-odp: var(--sage);
      --calendar-odp-ink: #ffffff;
    }
  }
  .calendar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    column-gap: var(--space-2xl);
  }
  /* The key: what each kind looks like. */
  .calendar__key {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2xs) var(--space-m);
    margin: 0 0 var(--space-l);
    padding: 0;
    list-style: none;
    font-size: var(--text-sm);
    color: var(--color-ink-2);
  }
  .calendar__key li {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    margin: 0;
  }
  .calendar__swatch,
  .calendar-item__kind::before {
    flex: none;
    width: 1.5rem;
    height: 0.625rem;
    border-radius: 3px;
  }
  .calendar__swatch--camp,
  .calendar-item--camp .calendar-item__kind::before {
    background: var(--color-action);
  }
  .calendar__swatch--odp,
  .calendar-item--odp .calendar-item__kind::before {
    background: var(--calendar-odp);
  }
  .calendar__swatch--group,
  .calendar-item--group .calendar-item__kind::before {
    border: 1px solid var(--color-control);
  }
  .calendar__note {
    max-width: var(--measure);
    color: var(--color-ink-2);
  }
  .calendar__partial {
    grid-column: 1 / -1;
    margin-bottom: var(--space-l);
    padding: var(--space-xs) var(--space-s);
    border-radius: var(--radius-s);
    background: var(--color-warning-bg);
    color: var(--color-ink);
    font-size: var(--text-sm);
  }
  :is(.calendar__title, .calendar__heading) {
    margin: 0;
    font-size: var(--text-2xl);
    letter-spacing: -0.018em;
  }

  /* ── The month ── */
  /* Only where seven days fit side by side. */
  .calendar__month {
    display: none;
  }
  .calendar__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xs) var(--space-m);
    min-height: 2.75rem;
    margin-bottom: var(--space-s);
  }
  .calendar__nav {
    display: flex;
    gap: var(--space-2xs);
  }
  .calendar__step {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--color-label);
    border-radius: var(--radius-s);
    background: transparent;
    color: var(--color-ink);
  }
  .calendar__step:hover:not(:disabled) {
    border-color: var(--color-ink);
    background: var(--color-page-alt);
  }
  .calendar__step:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
  .calendar__step .icon {
    width: 1.25rem;
    height: 1.25rem;
  }
  .calendar__grid {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
  }
  .calendar__grid th {
    height: 2rem;
    padding: 0 var(--space-2xs);
    border-bottom: 1px solid var(--color-line-strong);
    font: 700 var(--text-xs) / 1 var(--font-head);
    letter-spacing: 0.12em;
    text-align: left;
    text-transform: uppercase;
    color: var(--color-muted);
  }
  /* Every day the same size: a date and four rows (three bars, then
     "+1 more"). */
  .calendar__cell {
    height: 7.75rem;
    padding: 0 0 var(--space-3xs);
    border: 1px solid var(--color-line);
    vertical-align: top;
  }
  .calendar__grid tr > :first-child {
    border-left: 0;
  }
  .calendar__grid tr > :last-child {
    border-right: 0;
  }
  .calendar__date {
    display: flex;
    align-items: baseline;
    gap: var(--space-2xs);
    height: 1.75rem;
    padding: var(--space-3xs) var(--space-2xs) 0;
    font: 600 var(--text-sm) / 1.5 var(--font-head);
    font-variant-numeric: tabular-nums lining-nums;
    color: var(--color-ink-2);
  }
  .calendar__cell[aria-current="date"] {
    box-shadow: inset 0 3px 0 var(--color-accent);
  }
  .calendar__cell[aria-current="date"] .calendar__date {
    font-weight: 700;
    color: var(--color-ink);
  }
  .calendar__today-label {
    font: 700 var(--text-xs) / 1 var(--font-head);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent-ink);
  }
  .calendar__events {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .calendar__events > li {
    height: 1.5rem;
    margin: 0;
    padding-block: 1px;
  }
  /* A piece of an event's bar. Its title runs on across the days the bar
     spans this week (--span), over the pieces after it. */
  .calendar-chip {
    --span: 1;
    --left: var(--space-3xs);
    --right: var(--space-3xs);
    position: relative;
    display: block;
    width: calc(100% - var(--left) - var(--right));
    height: 1.375rem;
    margin: 0 var(--right) 0 var(--left);
    padding: 0 0.375rem;
    border: 0;
    border-radius: 3px;
    font: 600 var(--text-xs) / 1.375rem var(--font-head);
    text-align: left;
  }
  /* A bar that runs on from the day before, or to the next, covers the
     hairline between them, so it reads as one bar. */
  .calendar-chip--from-before {
    --left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .calendar-chip--goes-on {
    --right: -1px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  /* At the edges of the month, it stops on the grid's own edge. */
  .calendar__grid td:first-child .calendar-chip--from-before {
    --left: 0px;
  }
  .calendar__grid td:last-child .calendar-chip--goes-on {
    --right: 0px;
  }
  .calendar-chip--camp {
    background: var(--color-action);
    color: var(--color-on-action);
  }
  .calendar-chip--odp {
    background: var(--calendar-odp);
    color: var(--calendar-odp-ink);
  }
  .calendar-chip--group {
    border: 1px solid var(--color-control);
    background: var(--color-page);
    color: var(--color-ink);
    line-height: calc(1.375rem - 2px);
  }
  .calendar-chip--group.calendar-chip--from-before {
    border-left: 0;
  }
  .calendar-chip--group.calendar-chip--goes-on {
    border-right: 0;
  }
  .calendar-chip--span-2 {
    --span: 2;
  }
  .calendar-chip--span-3 {
    --span: 3;
  }
  .calendar-chip--span-4 {
    --span: 4;
  }
  .calendar-chip--span-5 {
    --span: 5;
  }
  .calendar-chip--span-6 {
    --span: 6;
  }
  .calendar-chip--span-7 {
    --span: 7;
  }
  .calendar-chip__text {
    position: relative;
    z-index: 1;
    display: block;
    width: calc(var(--span) * 100% + (var(--span) - 1) * (0.75rem + 1px));
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  button.calendar-chip {
    cursor: pointer;
  }
  button.calendar-chip:hover .calendar-chip__text {
    text-decoration: underline;
    text-underline-offset: 0.18em;
  }
  .calendar__more {
    display: block;
    height: 1.375rem;
    margin: 1px var(--space-3xs) 0;
    padding: 0 0.375rem;
    border: 0;
    background: none;
    color: var(--color-link);
    font: 700 var(--text-xs) / 1.375rem var(--font-head);
  }
  .calendar__more:hover {
    text-decoration: underline;
  }

  /* ── Coming up: a list, by month ── */
  /* Room for the list before it arrives, so the footer starts out of
     sight and nothing moves. */
  .calendar__upcoming {
    min-height: 40rem;
  }
  /* The first month's heading sits just where "Loading the calendar…"
     was (no margin of its own to push the place down). */
  .calendar__ahead {
    padding-top: var(--space-s);
  }
  .calendar__ahead > :first-child {
    margin-top: 0;
  }
  .calendar__group {
    margin: var(--space-l) 0 0;
    padding-bottom: var(--space-2xs);
    border-bottom: 1px solid var(--color-line-strong);
    font: 700 var(--text-xs) / 1.3 var(--font-head);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-muted);
  }
  .calendar__list {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .calendar-item {
    display: grid;
    grid-template-columns: 5.25rem minmax(0, 1fr);
    gap: var(--space-s);
    margin: 0;
    padding-block: var(--space-s);
    border-bottom: 1px solid var(--color-line);
  }
  /* Its dates, big at a glance: the month over the days. */
  .calendar-item__date {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: var(--font-head);
    font-variant-numeric: tabular-nums lining-nums;
  }
  .calendar-item__month {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.6;
    text-transform: uppercase;
    color: var(--color-muted);
  }
  .calendar-item__days {
    white-space: nowrap;
    font-size: var(--text-xl);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: var(--color-ink);
  }
  .calendar-item__body > :last-child {
    margin-bottom: 0;
  }
  .calendar-item__kind {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2xs);
    margin: 0 0 var(--space-3xs);
    font: 700 var(--text-xs) / 1.6 var(--font-head);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
  }
  .calendar-item__kind::before {
    content: "";
    width: 1rem;
    height: 0.4375rem;
    border-radius: 2px;
  }
  .calendar-item__today {
    color: var(--color-accent-ink);
  }
  .calendar-item__title {
    margin: 0 0 var(--space-3xs);
    font-size: var(--text-lg);
    line-height: 1.3;
  }
  :is(.calendar-item__when, .calendar-item__where, .calendar-item__about) {
    max-width: var(--measure);
    margin: 0;
    font-size: var(--text-sm);
    line-height: 1.5;
    color: var(--color-ink-2);
  }
  .calendar-item__where {
    color: var(--color-muted);
  }
  .calendar-item__about {
    margin-top: var(--space-2xs);
    white-space: pre-line;
  }

  /* ── An event's details, over the page; Close top right ── */
  .calendar-dialog {
    width: min(34rem, 100vw - 2 * var(--gutter));
    max-height: min(40rem, 100dvh - 2 * var(--space-l));
    padding: var(--space-l);
    border: 0;
    border-radius: var(--radius-m);
    background: var(--color-surface);
    color: var(--color-ink);
    box-shadow: var(--shadow-float);
  }
  .calendar-dialog::backdrop {
    background: rgb(var(--scrim) / 0.55);
  }
  .calendar-dialog__close {
    position: absolute;
    top: var(--space-xs);
    right: var(--space-xs);
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: var(--radius-s);
    background: transparent;
    color: var(--color-ink);
  }
  .calendar-dialog__close:hover {
    background: var(--color-page-alt);
  }
  .calendar-dialog__close .icon {
    width: 1.25rem;
    height: 1.25rem;
  }
  .calendar-dialog__body > :first-child {
    padding-right: var(--space-xl);
  }
  .calendar-dialog :is(h2.calendar-item__title, .calendar-dialog__title) {
    margin: 0 0 var(--space-s);
    font-size: var(--text-2xl);
    letter-spacing: -0.018em;
  }
  .calendar-dialog .calendar-item__when {
    font-size: var(--text-md);
    color: var(--color-ink);
  }
  .calendar-dialog .link-arrow {
    margin-top: var(--space-s);
  }

  /* ── How it sits on the page ── */
  @media (width >= 48rem) {
    /* The month first, Coming up under it. The month is drawn at once at
       its full size: a title bar, the weekdays and six weeks. */
    .calendar__month {
      display: block;
      min-height: calc(3.5rem + 2rem + 6 * 7.75rem);
    }
    .calendar__upcoming {
      min-height: 0;
      margin-top: var(--space-2xl);
    }
  }
  /* Side by side on a wide screen: the month (8 of 12 columns), Coming up
     beside it (4); the month stays in view while the list scrolls, where
     the window is tall enough to hold it. */
  @media (width >= 80rem) {
    .calendar {
      grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    }
    .calendar__key {
      grid-column: 1 / -1;
    }
    .calendar__upcoming {
      margin-top: 0;
    }
  }
  @media (width >= 80rem) and (height >= 56rem) {
    .calendar__month {
      position: sticky;
      top: calc(var(--header-h) + var(--space-m));
    }
  }
}
/* ── The website's other pages (ONE-SITE/13): Rentals and its family,
   the About menu's pages and the 404 page, each composed from its own
   content. Their parts only; everything they share is above. ────────── */
@layer parts {
  /* A download's type and size, after its words: small, in sage, never
     under the link's rule, and free to drop to the next line whole. */
  .file-meta {
    display: inline-block;
    font: 600 var(--text-sm) / 1.2 var(--font-head);
    color: var(--color-label);
  }
  .btn:has(.file-meta) {
    justify-content: flex-start;
    text-align: left;
  }
  /* ── Rentals (/rentals/) ── */
  /* Retreats hosted at Sandy Creek beside the Rental Rates (7/5, as a
     program's description beside its facts), the photo under the words;
     on a phone the words, the rates, then the photo. The rates stay in
     view as the words scroll where the window is tall enough. */
  .rentals-intro__grid {
    display: grid;
    grid-template-areas: "words" "rates" "photo";
    gap: var(--stack);
  }
  .rentals-intro__words {
    grid-area: words;
  }
  .rentals-intro__rates {
    grid-area: rates;
  }
  .rentals-intro__photo {
    grid-area: photo;
  }
  .rentals-intro__lead p {
    font-size: var(--text-lg);
    line-height: 1.6;
    color: var(--color-ink-2);
  }
  .rentals-intro__lead p:first-child {
    color: var(--color-ink);
  }
  .rentals-intro__photo picture {
    display: block;
  }
  .rentals-intro__img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--radius-photo);
    background: var(--color-page-alt);
  }
  @media (width >= 64rem) {
    .rentals-intro__grid {
      grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
      grid-template-areas: "words rates" "photo rates";
      column-gap: var(--space-3xl);
      align-items: start;
    }
  }
  @media screen and (width >= 64rem) and (height >= 48rem) {
    .rentals-intro__rates {
      position: sticky;
      top: calc(var(--header-h) + var(--space-l));
    }
  }
  /* The rates: each price large, what it buys beside it, the prices in a
     column of their own. */
  .rate-card__list {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-line-strong);
  }
  .rate-card__rate {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    column-gap: var(--space-m);
    align-items: baseline;
    margin: 0;
    padding-block: var(--space-s);
    border-bottom: 1px solid var(--color-line);
  }
  .rate-card__price {
    font: 700 var(--text-3xl) / 1 var(--font-head);
    letter-spacing: -0.03em;
    font-variant-numeric: lining-nums tabular-nums;
    color: var(--color-ink);
  }
  .rate-card__for {
    color: var(--color-ink-2);
  }
  /* Accommodations Overview: the buildings, each a 4:3 photo and its name
     (a heading, and the link to its part of the Accommodations page; the
     whole card answers the pointer, as a program tile does): the lodge
     and the cabins, where groups sleep, large over the dining hall, the
     chapel and the recreation room, where they meet (6/6 over 4/4/4); on a
     phone the lodge across the top, the four others two to a row. */
  .buildings {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-l) var(--space-s);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .building {
    position: relative;
    margin: 0;
  }
  .building:first-child {
    grid-column: 1 / -1;
  }
  .building picture {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-photo);
  }
  .building__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--color-page-alt);
    transition: scale var(--slow) var(--ease);
  }
  .building__name {
    margin: var(--space-xs) 0 0;
    font-size: var(--text-lg);
    line-height: 1.25;
    letter-spacing: -0.01em;
  }
  .building__link {
    color: var(--color-ink);
    text-decoration: none;
  }
  .building__link::after {
    content: "";
    position: absolute;
    inset: 0;
  }
  .building__link:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
  }
  .building__link:focus-visible {
    outline: none;
  }
  .building__link:focus-visible::after {
    outline: 3px solid var(--color-focus);
    outline-offset: 4px;
  }
  @media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .building:hover .building__img {
      scale: 1.04;
    }
  }
  @media (width >= 48rem) {
    .buildings {
      grid-template-columns: repeat(12, minmax(0, 1fr));
      gap: var(--space-xl) var(--space-m);
    }
    .building,
    .building:first-child {
      grid-column: span 4;
    }
    .building:nth-child(-n + 2) {
      grid-column: span 6;
    }
  }
  .rentals-overview__facts {
    display: grid;
    gap: var(--space-xl) var(--space-2xl);
    margin-top: var(--stack);
  }
  @media (width >= 48rem) {
    .rentals-overview__facts {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .rentals-overview__actions {
    margin-top: var(--space-xl);
  }
  /* A sheet of specifications: a small label beside each answer; the
     first answer, the number a group asks first, large. */
  .spec {
    margin: 0;
    border-top: 1px solid var(--color-line-strong);
  }
  .spec__row {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: var(--space-s);
    align-items: baseline;
    padding-block: var(--space-s);
    border-bottom: 1px solid var(--color-line);
  }
  .spec dt {
    font: 700 var(--text-xs) / 1.3 var(--font-head);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-label);
  }
  .spec dd {
    margin: 0;
    font: 600 var(--text-lg) / 1.4 var(--font-head);
    font-variant-numeric: lining-nums tabular-nums;
    color: var(--color-ink);
  }
  .spec__row--lead dd {
    font: 700 var(--text-4xl) / 1 var(--font-head);
    letter-spacing: -0.035em;
  }
  .spec__sep {
    color: var(--color-label);
  }
  /* Activity Rentals' prices: each name and its price on a line, the
     dash between them drawn as a dotted leader (the dash stays in the
     text, for copying and reading aloud). */
  .price-list {
    list-style: none;
    margin: var(--space-l) 0 0;
    padding: 0;
    border-top: 1px solid var(--color-line-strong);
  }
  .price-list > li {
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
    margin: 0;
    padding-block: var(--space-s);
    border-bottom: 1px solid var(--color-line);
    font: 600 var(--text-lg) / 1.3 var(--font-head);
    color: var(--color-ink);
  }
  .price-list__leader {
    flex: 1 1 1.5rem;
    overflow: hidden;
    border-bottom: 2px dotted var(--color-line-strong);
    color: transparent;
    translate: 0 -0.3em;
  }
  .price-list__price {
    font-weight: 700;
    font-variant-numeric: lining-nums tabular-nums;
  }
  /* Activity Rentals follows the gallery on the same paper: the one
     spacing between them, not two. */
  .rentals-gallery + .rentals-activities {
    padding-top: 0;
  }
  /* The closing band: its label small, the page's promise large, the
     three ways to book beside it. */
  .rentals-close__label {
    margin-bottom: var(--space-s);
  }
  .rentals-close__statement {
    max-width: 24ch;
    margin: 0;
    font: 600 var(--text-2xl) / 1.24 var(--font-head);
    letter-spacing: -0.018em;
    color: var(--color-ink);
    text-wrap: balance;
  }
}
@layer parts {
  /* ── Accommodations (/rentals/accommodations/) ── */
  /* Its hero splits 6/6: the title, one long word, sets whole beside the
     lodge (at 7/5 it would break). */
  @media (width >= 64rem) {
    .stay-top.hero--split .hero__photo {
      grid-column: 8 / 14;
    }
    .stay-top.hero--split > .wrap {
      grid-column: 2 / 8;
    }
  }
  /* The answers, and the PDF beside them at their foot (under them on a
     phone). */
  .stay-glance__pdf {
    margin-top: var(--space-l);
  }
  @media (width >= 64rem) {
    .stay-glance__inner {
      display: grid;
      grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
      column-gap: var(--space-2xl);
      align-items: end;
    }
    .stay-glance__pdf {
      justify-self: end;
      margin-top: 0;
    }
  }
  /* The whole camp's beds, under the tables' own column names: small
     figures in a row under the section's title. */
  .beds {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2xs) var(--space-l);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .beds > li {
    display: flex;
    align-items: baseline;
    gap: var(--space-2xs);
    margin: 0;
  }
  .beds__label {
    font: 700 var(--text-xs) / 1.3 var(--font-head);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-label);
  }
  .beds__number {
    font: 700 var(--text-xl) / 1 var(--font-head);
    letter-spacing: -0.02em;
    font-variant-numeric: lining-nums tabular-nums;
    color: var(--color-ink);
  }
  .stay-rooms__head .title {
    margin-bottom: var(--space-s);
  }
  /* The first kind of room starts on the head's own spacing. */
  .stay-rooms__head + .rooms {
    margin-top: 0;
  }
  /* ── The camp map (/resources/map/) ── */
  /* The map as large as it is sharp (733 × 708) and its key as text
     beside it, grouped; on a phone, under it. A place a link lands on
     (#place-5) is highlighted. The download beside the title. */
  .camp-map {
    display: grid;
    gap: var(--space-xl) var(--space-2xl);
    align-items: start;
  }
  .camp-map__figure {
    margin: 0;
  }
  .camp-map__open {
    display: block;
    width: fit-content;
    max-width: 100%;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-photo);
    overflow: hidden;
    background: #ffffff;
    cursor: zoom-in;
  }
  .camp-map__open picture {
    display: block;
  }
  .camp-map__img {
    width: 100%;
    max-width: 733px;
    height: auto;
  }
  .camp-map__caption {
    margin-top: var(--space-2xs);
    color: var(--color-muted);
    font-size: var(--text-sm);
  }
  .camp-map__key {
    display: grid;
    gap: var(--space-l);
  }
  .map-key__title {
    margin-bottom: var(--space-2xs);
  }
  .map-key__list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-line-strong);
  }
  .map-key__item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 2.75rem;
    margin: 0;
    padding: 0.25rem 0.5rem 0.25rem 0;
    border-bottom: 1px solid var(--color-line);
  }
  .map-key__number {
    flex: none;
    display: grid;
    place-items: center;
    min-width: 1.75rem;
    height: 1.75rem;
    border-radius: var(--radius-s);
    background: var(--color-action);
    color: var(--color-on-action);
    font: 700 var(--text-sm) / 1 var(--font-head);
    font-variant-numeric: tabular-nums lining-nums;
  }
  /* A place on the Accommodations page: the whole rest of its row. */
  .map-key__item a {
    flex: 1;
    align-self: stretch;
    display: flex;
    align-items: center;
  }
  .map-key__item:target {
    background: var(--color-selected);
    box-shadow: inset 4px 0 0 var(--color-accent);
    padding-left: 0.75rem;
  }
  .map-key__item:target .map-key__number {
    background: var(--gold);
    color: #1d2216;
  }
  .camp-map__download {
    margin-top: 0;
  }
  @media (width >= 40rem) and (width < 64rem) {
    .camp-map__key {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  @media (width >= 64rem) {
    .camp-map {
      grid-template-columns: minmax(0, 733px) minmax(0, 1fr);
    }
    .camp-map__key {
      gap: var(--space-m);
    }
  }
  /* Where the window is tall enough for all of it, the map stays in view
     beside the key as the key scrolls. */
  @media screen and (width >= 64rem) and (height >= 52rem) {
    .camp-map__figure {
      position: sticky;
      top: calc(var(--header-h) + var(--space-m));
    }
  }
  /* On paper: the map as large as one sheet allows beside its key and
     the footer's notices (P-28: it was 4.6in wide), the key in a column
     beside it, all on one page. */
  @media print {
    .camp-map-page {
      padding-block: 0;
    }
    .camp-map {
      grid-template-columns: 5.25in minmax(0, 1fr);
      gap: 0.2in;
    }
    .camp-map__open {
      border: 0;
    }
    .camp-map__caption,
    .camp-map__download {
      display: none;
    }
    .camp-map__key {
      grid-template-columns: minmax(0, 1fr);
      gap: 0.08in;
      font-size: 9pt;
    }
    .map-key__title {
      margin-bottom: 0.04in;
    }
    .map-key__item {
      min-height: 0;
      padding-block: 0.02in;
    }
    /* Printers leave out backgrounds: the number in an outline. */
    .map-key__number {
      min-width: 1.05rem;
      height: 1.05rem;
      border: 1px solid currentColor;
      background: none;
      color: var(--color-ink);
      font-size: 8pt;
    }
    .map-key__item:target {
      background: none;
      box-shadow: none;
      padding-left: 0;
    }
    .map-key__item a {
      color: inherit;
      text-decoration: none;
    }
  }
}
@layer parts {
  /* ── Contact (/resources/contact/) ── */
  /* Reach out beside the camp's details (7/5); on a phone, Reach out
     first. Its sentence set large: the two ways to reach the office. */
  .contact-top {
    display: grid;
    gap: var(--stack);
  }
  @media (width >= 64rem) {
    .contact-top {
      grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
      column-gap: var(--space-3xl);
      align-items: start;
    }
  }
  .contact-top__title {
    margin-bottom: var(--space-l);
  }
  .contact-top__note {
    max-width: 26ch;
    margin: 0;
    font: 600 var(--text-2xl) / 1.24 var(--font-head);
    letter-spacing: -0.018em;
    color: var(--color-ink);
    text-wrap: balance;
  }
  /* The camp's details: who runs it, then each way to reach it, a label
     beside it; the phone, email and address rows are links, an arrow at
     their end. */
  .contact-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-line-strong);
  }
  .contact-card__list > li {
    margin: 0;
    border-bottom: 1px solid var(--color-line);
  }
  .contact-card__manager {
    padding-block: var(--space-s);
    font: 700 var(--text-lg) / 1.3 var(--font-head);
    color: var(--color-ink);
  }
  .contact-card__row {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr) 1.25rem;
    align-items: center;
    gap: var(--space-s);
    min-height: 3.25rem;
    padding-block: var(--space-2xs);
    color: var(--color-ink);
    text-decoration: none;
  }
  .contact-card__label {
    font: 700 var(--text-xs) / 1.3 var(--font-head);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-label);
  }
  .contact-card__value {
    font: 600 var(--text-lg) / 1.3 var(--font-head);
    overflow-wrap: anywhere;
  }
  a.contact-card__row:hover .contact-card__value {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.22em;
  }
  .contact-card__row .icon {
    width: 1.125rem;
    height: 1.125rem;
    color: var(--color-label);
  }
  /* On a narrow phone each label over its answer, so an address or the
     email keeps the row's width. */
  @media (width < 30rem) {
    .contact-card__row {
      grid-template-columns: minmax(0, 1fr) 1.25rem;
      gap: var(--space-3xs) var(--space-s);
      padding-block: var(--space-xs);
    }
    .contact-card__label {
      grid-column: 1;
    }
    .contact-card__value {
      grid-column: 1;
      grid-row: 2;
    }
    .contact-card__row .icon {
      grid-column: 2;
      grid-row: 1 / span 2;
    }
  }
  /* Find us: the map's link on the camp from the air, across the page
     (16:9 on a phone, wider from 48rem), its words on a shade (white,
     5:1 or better), the button paper as on any photo. The map replaces
     all of it when asked for. */
  .embed__words {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2xs);
  }
  .embed--photo {
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: var(--radius-photo);
    background: var(--color-band);
  }
  @media (width >= 48rem) {
    .embed--photo {
      aspect-ratio: 21 / 9;
    }
  }
  .embed--photo .embed__poster {
    position: relative;
    isolation: isolate;
    padding: var(--space-m);
  }
  .embed--photo picture {
    position: absolute;
    inset: 0;
    z-index: -2;
  }
  .embed__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .embed--photo .embed__poster::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgb(var(--scrim) / 0.66);
  }
  .embed--photo .embed__label {
    min-height: 3rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-photo);
    background: var(--paper-light);
    color: #1d2216;
    font-size: var(--text-md);
    text-decoration: underline 1.5px transparent;
    text-underline-offset: 0.3em;
    transition:
      background-color var(--fast) var(--ease),
      text-decoration-color var(--fast) var(--ease);
  }
  .embed--photo .embed__poster:hover .embed__label {
    background: #ffffff;
    text-decoration-color: currentColor;
  }
  .embed--photo .embed__note {
    color: #ffffff;
  }
}
@layer parts {
  /* ── Forms (/resources/forms/) ── */
  /* The title, then the two lists side by side from 48rem. Each
     document a row to scan: a document mark, its name and, under it, its
     type and size, and a download mark (an arrow for a page). */
  .forms-page__title {
    margin: 0;
  }
  .forms-lists {
    display: grid;
    gap: var(--space-2xl);
  }
  @media (width >= 48rem) {
    .forms-lists {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: var(--space-3xl);
      align-items: start;
    }
  }
  .doc-group__title {
    margin-bottom: var(--space-s);
    font-size: var(--text-2xl);
  }
  .doc-group .actions {
    margin-top: var(--space-l);
  }
  .doc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-line-strong);
  }
  .doc-list > li {
    margin: 0;
    border-bottom: 1px solid var(--color-line);
  }
  .doc {
    display: grid;
    grid-template-columns: 1.5rem minmax(0, 1fr) 1.25rem;
    align-items: center;
    gap: var(--space-s);
    min-height: 4rem;
    padding-block: var(--space-xs);
    color: var(--color-ink);
    text-decoration: none;
  }
  .doc__icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-label);
  }
  .doc__words {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
  }
  .doc__name {
    font: 600 var(--text-lg) / 1.3 var(--font-head);
  }
  .doc:hover .doc__name {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.22em;
  }
  .doc__meta {
    font: 600 var(--text-sm) / 1.3 var(--font-head);
    color: var(--color-label);
  }
  .doc__go {
    width: 1.125rem;
    height: 1.125rem;
    color: var(--color-label);
  }
}
@layer parts {
  /* ── Packing List (/resources/packing-list/) ── */
  /* Bring To Camp beside Leave Behind (from 48rem, and always on paper);
     each thing to bring a tick box and its words, a thumb's height, struck
     through and quieter once ticked; each thing to leave a short red rule
     before it. The dress code under them, in columns. */
  .packing__title {
    margin: 0;
  }
  .packing__lists {
    display: grid;
    gap: var(--space-2xl);
  }
  @media (width >= 48rem) {
    .packing__lists {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: var(--space-3xl);
      align-items: start;
    }
  }
  .pack-list__title {
    margin-bottom: var(--space-s);
    font-size: var(--text-2xl);
  }
  .pack-list__items {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-line-strong);
  }
  .pack-list__items > li {
    margin: 0;
    border-bottom: 1px solid var(--color-line);
  }
  /* Each thing to bring a tick box and its words, the whole row its
     label, a thumb's height; struck through and quieter once ticked. Each
     thing to leave a short red rule before it. */
  .pack-item {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    min-height: 3rem;
    padding-block: var(--space-2xs);
    cursor: pointer;
  }
  .pack-item__box {
    flex: none;
    width: 1.375rem;
    height: 1.375rem;
    margin: 0;
    accent-color: var(--color-action);
    cursor: pointer;
  }
  .pack-item:has(:checked) > span {
    color: var(--color-muted);
    text-decoration: line-through;
    text-decoration-color: var(--color-line-strong);
  }
  .pack-list__clear {
    margin-top: var(--space-xs);
  }
  .pack-list--leave .pack-list__items > li {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 3rem;
    padding: var(--space-2xs) 0 var(--space-2xs) calc(1.375rem + var(--space-s));
  }
  .pack-list--leave .pack-list__items > li::before {
    content: "";
    position: absolute;
    left: 0.25rem;
    top: 50%;
    width: 0.875rem;
    border-top: 2px solid var(--color-error);
  }
  .dress-code {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2 22rem;
    column-gap: var(--space-3xl);
  }
  .dress-code > li {
    break-inside: avoid;
    margin: 0 0 var(--space-xl);
    padding-top: var(--space-s);
    border-top: 1px solid var(--color-line-strong);
  }
  .dress-code__kind {
    display: block;
    margin-bottom: var(--space-xs);
    font: 700 var(--text-lg) / 1.3 var(--font-head);
    color: var(--color-ink);
  }
  .dress-code > li > ul {
    margin: 0;
    padding-left: 1.1em;
    color: var(--color-ink-2);
  }
  .dress-code > li > ul > li::marker {
    color: var(--color-label);
  }
  .dress-code > li > ul > li + li {
    margin-top: var(--space-2xs);
  }
  .dress-code li:empty {
    display: none;
  }
  /* On paper: the two lists side by side, smaller, on the first sheet;
     the dress code on its own, in two columns; no button. */
  @media print {
    .packing {
      padding-block: 0 0.2in;
    }
    .packing-dress {
      break-before: page;
      padding-block: 0;
    }
    .packing__lists {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: 0.4in;
    }
    .pack-list__title {
      font-size: 14pt;
    }
    .packing .actions {
      display: none;
    }
    .pack-item,
    .pack-list--leave .pack-list__items > li {
      min-height: 0;
      padding-block: 0.03in;
      font-size: 10pt;
    }
    .pack-item__box {
      width: 0.16in;
      height: 0.16in;
    }
    /* Printed as it reads: a ticked thing isn't struck through. */
    .pack-item:has(:checked) > span {
      color: inherit;
      text-decoration: none;
    }
    .packing-dress .title {
      margin-bottom: 0.1in;
      font-size: 20pt;
    }
    .dress-code {
      columns: 2;
      column-gap: 0.4in;
      font-size: 9pt;
    }
    .dress-code > li {
      margin-bottom: 0.1in;
      padding-top: 0.06in;
    }
    .dress-code__kind {
      margin-bottom: 0.04in;
      font-size: 11pt;
    }
    .dress-code > li > ul > li + li {
      margin-top: 0.03in;
    }
  }
}
@layer parts {
  /* ── Camp Store (/resources/pos/) ── */
  /* The page is its hero: the section's spacing under it, before the
     footer. */
  .store-top {
    padding-bottom: var(--section-y);
  }
}
@layer parts {
  /* ── About (/about-sandy-creek-bible-camp/) ── */
  /* The welcome under the title is a paragraph: a reading measure. */
  .about-top .hero__subtitle {
    max-width: var(--measure);
  }
  /* The mission under the creek line, set as large as a section's title,
     its second sentence a shade quieter. */
  .about-mission__statement {
    max-width: 28ch;
    margin: 0;
    font-size: var(--text-3xl);
    line-height: 1.18;
    letter-spacing: -0.022em;
  }
  /* The places' heading, read as the sentence it is: the lead's type. */
  .about-places__lead {
    margin: 0 0 var(--stack);
    font: 400 var(--text-lg) / 1.55 var(--font-body);
    letter-spacing: 0;
    color: var(--color-ink-2);
  }
  /* The doctrinal statement: its title and "We believe in and teach:"
     beside the beliefs (4/8), in view as they scroll where the window is
     tall enough; each belief numbered in sage, at a reading measure, its
     scripture references quieter. */
  .about-faith__grid {
    display: grid;
    gap: var(--stack);
  }
  .about-faith__title {
    font-size: var(--text-3xl);
  }
  .about-faith__lead {
    margin: 0;
    font-size: var(--text-lg);
    color: var(--color-ink-2);
  }
  @media (width >= 64rem) {
    .about-faith__grid {
      grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
      column-gap: var(--space-2xl);
      align-items: start;
    }
  }
  @media screen and (width >= 64rem) and (height >= 40rem) {
    .about-faith__head {
      position: sticky;
      top: calc(var(--header-h) + var(--space-l));
    }
  }
  .beliefs {
    list-style: none;
    counter-reset: belief;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-line-strong);
  }
  .belief {
    counter-increment: belief;
    display: grid;
    grid-template-columns: 2.5rem minmax(0, var(--measure));
    gap: var(--space-s);
    margin: 0;
    padding-block: var(--space-m);
    border-bottom: 1px solid var(--color-line);
  }
  .belief__text {
    min-width: 0;
  }
  .belief::before {
    content: counter(belief, decimal-leading-zero);
    font: 700 var(--text-sm) / 1.9 var(--font-head);
    font-variant-numeric: lining-nums tabular-nums;
    color: var(--color-label);
  }
  .belief__refs {
    font-size: var(--text-sm);
    color: var(--color-muted);
  }
  /* The licence, and where to make a complaint: the closing band, each
     sentence over its address as a row to follow. */
  .about-licence__grid {
    display: grid;
    gap: var(--space-xl) var(--space-3xl);
  }
  @media (width >= 48rem) {
    .about-licence__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      align-items: end;
    }
  }
  .about-licence__part > p {
    max-width: var(--measure);
    margin: 0 0 var(--space-m);
    color: var(--color-ink-2);
  }
  .about-licence__part:first-child > p {
    font: 600 var(--text-xl) / 1.3 var(--font-head);
    color: var(--color-ink);
  }
  .about-licence .link-list > li {
    position: relative;
  }
  .about-licence .link-list a {
    padding-right: 2rem;
    font-size: var(--text-md);
    overflow-wrap: anywhere;
  }
  /* The row's arrow, beside its link (the link's words stay exactly as
     the law's check reads them); it lets a click through to the link. */
  .about-licence .link-list .icon {
    position: absolute;
    right: 0;
    top: 50%;
    translate: 0 -50%;
    color: var(--color-label);
    pointer-events: none;
  }
  .about-licence .link-list li:hover .icon {
    translate: 3px -50%;
  }
}
@layer parts {
  /* ── The 404 page ── */
  /* What happened and what to try, the way to ask the office, and beside
     them (7/5; under them on a phone) the site's main pages as rows. */
  .not-found__grid {
    display: grid;
    gap: var(--stack);
  }
  .not-found__words > :last-child {
    margin-bottom: 0;
  }
  .not-found__words p:not(.lead) {
    max-width: var(--measure);
    color: var(--color-ink-2);
  }
  @media (width >= 64rem) {
    .not-found__grid {
      grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
      column-gap: var(--space-3xl);
      align-items: start;
    }
  }
}
@layer parts {
  /* ── Camp and retreat pages on paper (acceptance P-28) ── */
  /* Their words, facts and photos; not the controls that only work on a
     screen (Register, Learn More, more photos on Instagram, the closing
     band's button), as the camp map leaves off its download. The pages of
     layouts/program.njk and the Summer Camps page (the Retreats page has
     no buttons). */
  @media print {
    main:has(.program, .camps-list) :is(.actions, .btn) {
      display: none;
    }
  }
}
@layer parts {
  /* ── Softer photos (the owner, 2026-11-19: "blend these images a little
     better. everything looks a little square/stale") ── */
  /* On the camp and retreat pages and the Summer Camps and Retreats pages:
     round corners, a little more room between a gallery's photos, and a
     soft shadow that lifts each off the paper. A split hero's photo is
     rounded only where it sits beside the words (from 64rem); across the
     top of a phone, it stays edge to edge. */
  .soft-photos {
    --radius-photo: var(--radius-xl);
  }
  .soft-photos .gallery {
    --gap: var(--space-xs);
  }
  .soft-photos :is(.gallery__link, .mosaic__img, .ready__photo, .story__img) {
    box-shadow: var(--shadow-float);
  }
  @media (width >= 64rem) {
    .soft-photos.hero--split .hero__img {
      border-radius: var(--radius-photo);
      box-shadow: var(--shadow-float);
    }
    /* A photo out to the window's edge (components/split.njk) is rounded
       on its other side, where it meets the words. */
    .soft-photos.split .split__img {
      border-radius: 0 var(--radius-photo) var(--radius-photo) 0;
    }
    .soft-photos.split--photo-end .split__img {
      border-radius: var(--radius-photo) 0 0 var(--radius-photo);
    }
  }

  /* ── A list of programs, each in a few words (components/program-list.njk:
     the Summer Camps and Retreats pages) ── */
  /* On quiet panels, one to a row on a phone, two from 48rem and three
     from 72rem: each its name (the link to its page), who it's for, its
     own sentence or two, and its next dates from the camp's calendar. */
  .program-list {
    display: grid;
    gap: var(--space-s);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  @media (width >= 48rem) {
    .program-list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (width >= 72rem) {
    .program-list {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .program-list__item {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
    margin: 0;
    padding: var(--space-m);
    border-radius: var(--radius-xl);
    background: var(--color-page-alt);
  }
  .program-list__name {
    margin: 0;
    font-size: var(--text-xl);
  }
  .program-list__who {
    margin: 0;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-label);
  }
  .program-list__about {
    margin: 0;
  }
  .program-list__dates {
    margin: auto 0 0;
    padding-top: var(--space-2xs);
    font-size: var(--text-sm);
  }
}
