/*
  Tokens: the site's look in a few custom properties. Every other file
  uses these, so a site-wide change is one to three lines here:
    a new palette     --color-bg, --color-text, --color-accent
    bigger text       --text-scale
    roomier spacing   --space-unit
    rounder corners   --radius-control, --radius-surface
    another font      --font-body (and --font-display for headings)

  The site is light only, in the exact colours of Cathy's first site:
  soft lavender paper, navy ink and a calm blue, with a lavender rule, a
  mint band and a peach button for the email. Visitors who ask their
  device for more contrast get the set at the end of this layer.
  Headings are a sturdy book serif; text and labels a clear sans-serif.
*/

/* Layers, lowest first. A rule in a later layer wins over one in an
   earlier layer, whatever its selector, so a section block can adjust a
   component without a longer selector or !important. focus is Orbit's
   kit's (focus.css): the photo focus an owner chose wins over the rest. */
@layer tokens, base, components, sections, focus;

@layer tokens {
  :root {
    /* Colours: four choices; the rest mix from them. */
    --color-bg: #f6f4fb;
    --color-text: #1f2a44;
    --color-accent: #2f5ba6;
    --color-surface: #ffffff;
    --color-accent-contrast: #ffffff;

    --color-text-muted: #55607a;
    --color-heading: var(--color-text);
    --color-link: var(--color-accent);
    --color-focus: var(--color-accent);
    --color-border: #dcd8ec;
    --color-field-border: color-mix(in oklab, var(--color-text) 60%, var(--color-bg));
    --color-tint: #efebfa;

    /* This site's own colours: the lavender rule over steps and cards,
       the photo frame, the mint band, the navy band and card, and the
       peach button on them. */
    --color-rule: #9b8ad4;
    --color-frame: #e4def5;
    --color-mint: #e7f5ee;
    --color-mint-strong: rgb(160 225 200 / 0.6);
    --color-band: #3f4f7d;
    --color-band-text: #ffffff;
    --color-ink: #1f2a44;
    --color-ink-text: #f6f4fb;
    --color-ink-heading: #ffffff;
    --color-ink-muted: #d9def0;
    --color-peach: #f7c9b0;
    --color-peach-text: #1f2a44;
    /* The shadow under the words on the navy band, the shimmer on the
       crowded page and the shadow under the open menu. */
    --shadow-band: rgb(10 14 28 / 0.55);
    --shimmer-1: rgb(31 42 68 / 0.35);
    --shimmer-2: rgb(31 42 68 / 0.25);
    --shadow-menu: rgb(31 42 68 / 0.18);
    /* The strip of overlay colours on the home page, in order. */
    --overlay-1: #f6d77a;
    --overlay-2: #f4b6a0;
    --overlay-3: #f2a7b8;
    --overlay-4: #d7a8e0;
    --overlay-5: #a9b7f0;
    --overlay-6: #8ccde8;
    --overlay-7: #86d6cc;
    --overlay-8: #9adba1;
    --overlay-9: #cfe58a;
    --overlay-10: #e9c9a0;
    /* The round "+" on everything that opens (questions, the "Who it
       helps" cards): once open, it turns by --open-mark-turn and keeps
       --open-mark-upright of its upright bar. "−" is 0deg and 0, as on
       her first site's FAQs page; "×" would be 45deg and 1. */
    --open-mark-turn: 0deg;
    --open-mark-upright: 0;
    /* The darkening laid over a filled button on hover. */
    --shade-hover: rgb(0 0 0 / 0.14);

    /* Fonts: Orbit's, each first in its token; the device's own after
       it show until it arrives (README, Fonts). Her first site's text
       font, Atkinson Hyperlegible, is Orbit's Atkinson Hyperlegible Next;
       Merriweather stands in for its headings' Literata. */
    --font-body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-display: "Merriweather", Georgia, "Times New Roman", serif;
    /* The home page's opening, her name in the header and the menu, in
       Archivo on her first site. */
    --font-strong: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --heading-weight: 600;
    --heading-tracking: 0;

    /* Type scale. Every size follows --text-scale, so "make all the text
       bigger" is one change, such as 1.1. */
    --text-scale: 1;
    --text-xs: calc(0.8125rem * var(--text-scale));
    --text-sm: calc(0.9375rem * var(--text-scale));
    --text-base: calc(1.125rem * var(--text-scale));
    --text-md: calc(clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem) * var(--text-scale));
    --text-lg: calc(1.25rem * var(--text-scale));
    --text-xl: calc(clamp(1.75rem, 3.4vw, 2.5rem) * var(--text-scale));
    --text-2xl: calc(clamp(2.25rem, 1.75rem + 2.2vw, 3.25rem) * var(--text-scale));
    --text-3xl: calc(clamp(2.5rem, 1.6rem + 3.6vw, 4rem) * var(--text-scale));
    --leading-tight: 1.15;
    --leading-snug: 1.3;
    --leading-normal: 1.65;
    --measure: 65ch;

    /* Space. Every gap follows --space-unit. */
    --space-unit: 1rem;
    --space-3xs: calc(var(--space-unit) * 0.25);
    --space-2xs: calc(var(--space-unit) * 0.5);
    --space-xs: calc(var(--space-unit) * 0.75);
    --space-s: var(--space-unit);
    --space-m: calc(var(--space-unit) * 1.5);
    --space-l: calc(var(--space-unit) * 2);
    --space-xl: calc(var(--space-unit) * 3);
    --space-2xl: calc(var(--space-unit) * 4.5);
    /* The first site's page: up to 70rem wide, 1.5rem from each side. */
    --gutter: 1.5rem;
    --section-space: 4.5rem;
    --wrap-max: 70rem;

    /* Corners: two bases. Controls are buttons, fields and other things
       people press; surfaces are cards, panels and photos. Other corners
       derive from these. A pill (999px) is a shape, not a size. */
    --radius-control: 0.375rem;
    --radius-surface: 0.5rem;
    --radius-small: calc(var(--radius-surface) / 2);

    /* Controls: at least 3rem tall, so they are easy to tap. */
    --control-height: 3rem;
    --border-thin: 1px solid var(--color-border);
  }

  /* Visitors' settings: only when the device asks for more contrast. */
  @media (prefers-contrast: more) {
    :root {
      --color-text-muted: var(--color-text);
      --color-border: color-mix(in oklab, var(--color-text) 45%, var(--color-bg));
      --color-field-border: var(--color-text);
    }
  }
}
/*
  Base: plain elements, with no classes. Defensive CSS
  (docs/guidance/defensive-css.md in Orbit) starts here: long words wrap,
  images never overflow, form text is at least 1rem, hover only where
  there is a pointer.
*/

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

  html {
    color-scheme: light;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  /* The footer sits at the foot of the screen on a short page. */
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
  }

  main {
    flex: 1 0 auto;
  }

  h1, h2, h3, h4, p, li, dt, dd, a, label, legend, figcaption, blockquote, address {
    overflow-wrap: break-word;
  }

  h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: var(--heading-weight);
    letter-spacing: var(--heading-tracking);
    line-height: var(--leading-tight);
    color: var(--color-heading);
    text-wrap: balance;
  }

  h1 { font-size: var(--text-2xl); }
  h2 { font-size: var(--text-xl); }
  h3 { font-size: var(--text-lg); line-height: var(--leading-snug); }
  h4 { font-size: var(--text-md); line-height: var(--leading-snug); }

  p, ul, ol, dl, dd, figure, blockquote {
    margin: 0;
  }

  p, li, figcaption, blockquote {
    text-wrap: pretty;
  }

  p, li, dd {
    max-width: var(--measure);
  }

  ul, ol {
    padding-inline-start: 1.25em;
  }

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

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

  @media (hover: hover) {
    /* As on Cathy's first site, a link turns navy under the pointer. */
    a:hover {
      color: var(--color-text);
      text-decoration-thickness: 0.14em;
    }
  }

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

  input, button, textarea, select {
    margin: 0;
    font: inherit;
    font-size: max(1rem, 1em);
    color: inherit;
  }

  fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }

  address {
    font-style: normal;
  }

  strong, b {
    font-weight: 700;
  }

  small {
    font-size: var(--text-xs);
  }

  /* Text for screen readers only. */
  .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}
/*
  Components: the site's own parts, styled once and used on any page:
  layout helpers, the skip link, buttons, small text styles, cards, forms,
  the menu and the footer. Change a component here to change it
  everywhere.
*/

@layer components {
  /* Layout ---------------------------------------------------------- */

  .wrap {
    width: min(100% - 2 * var(--gutter), var(--wrap-max));
    margin-inline: auto;
  }

  .stack > * + * {
    margin-block-start: var(--stack-space, var(--space-s));
  }

  .stack--s { --stack-space: var(--space-2xs); }
  .stack--l { --stack-space: var(--space-l); }

  .cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--cluster-gap, var(--space-s));
  }

  /* As many columns as fit; a lone card keeps its width. */
  .grid {
    display: grid;
    gap: var(--grid-gap, var(--space-m));
    grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--grid-min, 16rem)), 1fr));
  }

  .split {
    display: grid;
    gap: var(--space-l);
    align-items: center;
  }

  .split--top {
    align-items: start;
  }

  .grid > *, .split > * {
    min-width: 0;
  }

  /* The desktop layout starts at 64em; a tablet keeps the phone's single
     column, with more room. */
  @media (min-width: 64em) {
    .split {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: var(--space-xl);
    }

    .split--wide-text {
      grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    }
  }

  .wrap--narrow {
    width: min(100% - 2 * var(--gutter), 46rem);
  }

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

  .page-section--tint {
    background-color: var(--color-tint);
  }

  .page-section--tight {
    padding-block: var(--space-l);
  }

  /* A section's head: the heading, a link such as "See all" at the end of
     the row, and an intro on its own line under them. */
  .section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-2xs) var(--space-m);
    margin-block-end: var(--space-l);
  }

  .section-head > h2 {
    margin-inline-end: auto;
  }

  .section-head__text {
    flex-basis: 100%;
    max-width: var(--measure);
    color: var(--color-text-muted);
    font-size: var(--text-md);
  }

  /* Skip link ------------------------------------------------------- */

  .skip-link {
    position: absolute;
    inset-inline-start: var(--gutter);
    inset-block-start: -10rem;
    z-index: 10;
    padding: var(--space-xs) var(--space-s);
    border: var(--border-thin);
    border-radius: var(--radius-control);
    background-color: var(--color-surface);
    color: var(--color-text);
  }

  .skip-link:focus {
    inset-block-start: var(--space-xs);
  }

  /* Buttons --------------------------------------------------------- */

  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-width: 6em;
    min-height: var(--control-height);
    padding: 0.625em 1.5em;
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-control);
    background-color: var(--color-accent);
    color: var(--color-accent-contrast);
    font-weight: 600;
    line-height: var(--leading-snug);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
  }

  /* A press shows at once, with no motion. */
  .button:active {
    translate: 0 0.0625rem;
  }

  .button--secondary {
    background-color: transparent;
    color: var(--color-accent);
  }

  .button--small {
    min-height: 2.75rem;
    padding: 0.45em 1.1em;
  }

  /* Darkens the fill, never the text, so contrast only rises. */
  @media (hover: hover) {
    .button:hover {
      box-shadow: inset 0 0 0 100vmax var(--shade-hover);
    }

    .button--secondary:hover {
      box-shadow: inset 0 0 0 100vmax var(--color-tint);
    }
  }

  .button-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
  }

  /* Small text styles ------------------------------------------------ */

  .eyebrow {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .lead {
    color: var(--color-text-muted);
    font-size: var(--text-md);
    line-height: 1.5;
  }

  .meta {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
  }

  /* Prices ---------------------------------------------------------- */

  .price {
    color: var(--color-heading);
    font-size: var(--text-lg);
    font-weight: 700;
  }

  .price--large {
    font-size: var(--text-xl);
  }

  .price__unit {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    font-weight: 400;
  }

  /* Hours, breadcrumb and byline ------------------------------------ */

  .hours {
    display: grid;
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
    gap: var(--space-2xs) var(--space-m);
    max-width: 26rem;
  }

  .hours dt {
    font-weight: 600;
  }

  .breadcrumb {
    padding-block: var(--space-s) 0;
    font-size: var(--text-sm);
  }

  .breadcrumb__list, .byline {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3xs) var(--space-s);
    margin: 0;
    padding: 0;
    color: var(--color-text-muted);
    list-style: none;
  }

  /* The slash is drawn, not read: its alternative text is empty. A
     browser that doesn't know the alternative keeps the plain slash. */
  .breadcrumb__list li + li::before {
    content: "/";
    content: "/" / "";
    margin-inline-end: var(--space-xs);
  }

  .byline {
    font-size: var(--text-sm);
  }

  /* Cards ----------------------------------------------------------- */

  .card {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    min-width: 0;
    padding: var(--space-m);
    overflow: hidden;
    border: var(--border-thin);
    border-radius: var(--radius-surface);
    background-color: var(--color-surface);
  }

  .card__media {
    margin: calc(var(--space-m) * -1) calc(var(--space-m) * -1) var(--space-2xs);
    background-color: var(--color-border);
  }

  .card__media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }

  .card__title {
    font-size: var(--text-lg);
  }

  .card__title a {
    color: inherit;
    text-decoration: none;
  }

  @media (hover: hover) {
    .card__title a:hover {
      text-decoration: underline;
    }
  }

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

  .card__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2xs);
    margin-block-start: auto;
    padding-block-start: var(--space-2xs);
  }

  /* Forms: labels above full-width fields, large targets, and the
     browser's own checks. ------------------------------------------- */

  .form {
    display: grid;
    gap: var(--space-s);
    max-width: 36rem;
  }

  .form > *, .form__row > * {
    min-width: 0;
  }

  @media (min-width: 36em) {
    .form--inline {
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: end;
    }

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

  .field {
    display: grid;
    gap: var(--space-3xs);
  }

  .field__label, .choice-group__legend {
    font-weight: 600;
  }

  .field__hint, .form__note {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    font-weight: 400;
  }

  .field__input {
    width: 100%;
    min-height: var(--control-height);
    padding: 0.625em 0.875em;
    border: 1px solid var(--color-field-border);
    border-radius: var(--radius-control);
    background-color: var(--color-surface);
    color: var(--color-text);
    line-height: 1.5;
  }

  .field__input:focus-visible {
    outline-offset: 1px;
  }

  textarea.field__input {
    min-height: 9rem;
    resize: vertical;
  }

  .field__input--short {
    max-width: 8ch;
  }

  .choice-group {
    display: grid;
    gap: var(--space-2xs);
  }

  /* Each choice is at least a finger's height to tap. */
  .choice {
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
    min-block-size: 2.75rem;
  }

  .choice input {
    flex: none;
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--color-accent);
  }

  .form .button {
    justify-self: start;
  }

  /* A field the visitor filled in wrongly, once they've left it or sent
     the form: a thicker line, so it doesn't rest on colour alone. */
  @supports selector(:user-invalid) {
    .field__input:user-invalid {
      border-width: 2px;
      border-color: var(--color-text);
    }
  }

  /* A send's result, hidden until the address names it: Orbit reloads
     the page at #<form>-sent or #<form>-failed after a send. */
  .form__status {
    display: none;
    padding: var(--space-xs) var(--space-s);
    border: var(--border-thin);
    border-radius: var(--radius-small);
    background-color: var(--color-tint);
    font-weight: 600;
  }

  .form__status:target {
    display: block;
  }

  /* The spam trap: off screen, never seen. */
  .form__trap {
    position: absolute;
    left: -100vw;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  /* Menu: the site's name, then its pages. On a phone or a tablet, a
     menu of more than a few pages folds behind a Menu button and opens as
     a panel under the header (nav.html, menu-script.html); a few short
     links stay in the header. The site's main action stays beside the
     button. ------------------------------------------------------------ */

  .site-header {
    position: relative;
    border-block-end: var(--border-thin);
  }

  .site-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs) var(--space-l);
    padding-block: var(--space-xs);
  }

  .site-header__inner > * {
    min-width: 0;
  }

  /* The name takes the row's spare space, so the menu sits at the end of
     the row, and at the start of its own line, under the name, once the
     row wraps on a phone. */
  .site-header__inner > .site-header__brand {
    margin-inline-end: auto;
  }

  .site-name {
    display: inline-block;
    padding-block: var(--space-2xs);
    color: var(--color-heading);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--heading-weight);
    letter-spacing: var(--heading-tracking);
    line-height: var(--leading-snug);
    text-decoration: none;
  }

  .site-nav__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 var(--space-m);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .site-nav__link {
    display: block;
    padding-block: var(--space-2xs);
    color: var(--color-text);
    text-decoration: none;
  }

  @media (hover: hover) {
    .site-nav__link:hover {
      text-decoration: underline;
    }
  }

  .site-nav__link[aria-current="page"] {
    text-decoration: underline 3px var(--color-accent);
    text-underline-offset: 0.45em;
  }

  .site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs) var(--space-m);
  }

  .site-nav__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  /* The Menu button: hidden on a desktop, where the menu stays open and
     its links show in a row. */
  .site-nav__toggle {
    display: none;
    list-style: none;
  }

  .site-nav__toggle::-webkit-details-marker {
    display: none;
  }

  /* A closed menu's links are hidden in every browser: some Safari
     versions on iPadOS let the list's own display win over the closed
     <details> (owner, 2026-11-08: the icon turned back but the panel
     stayed). */
  .site-nav__menu:not([open]) > .site-nav__list {
    display: none;
  }

  /* Three lines, which turn into a cross while the menu is open. */
  .site-nav__icon {
    position: relative;
    display: inline-block;
    inline-size: 1.125em;
    block-size: 0.125em;
    border-radius: var(--radius-small);
    background-color: currentColor;
  }

  .site-nav__icon::before,
  .site-nav__icon::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    block-size: 100%;
    border-radius: inherit;
    background-color: currentColor;
  }

  .site-nav__icon::before {
    inset-block-start: -0.35em;
  }

  .site-nav__icon::after {
    inset-block-start: 0.35em;
  }

  .site-nav__menu[open] .site-nav__icon {
    background-color: transparent;
  }

  .site-nav__menu[open] .site-nav__icon::before {
    inset-block-start: 0;
    transform: rotate(45deg);
  }

  .site-nav__menu[open] .site-nav__icon::after {
    inset-block-start: 0;
    transform: rotate(-45deg);
  }

  /* Windows high contrast drops backgrounds, which draw the lines: keep
     them in the text colour. */
  @media (forced-colors: active) {
    .site-nav__icon,
    .site-nav__icon::before,
    .site-nav__icon::after {
      forced-color-adjust: none;
    }
  }

  @media (max-width: 63.99em) {
    .site-nav__toggle {
      display: inline-flex;
      align-items: center;
      gap: var(--space-2xs);
      min-block-size: max(2.75rem, var(--control-height));
      padding-inline: var(--space-s);
      border: var(--border-thin);
      border-radius: var(--radius-control);
      background-color: var(--color-bg);
      color: var(--color-text);
      font-weight: var(--heading-weight);
      cursor: pointer;
      user-select: none;
    }

    /* The open menu's links, big, one under another. With the menu's
       script (site-nav--js), a panel under the header, as wide as the
       screen; with no script, they show in place under the header. It
       never scrolls on its own: on iPadOS, inside a frame, such a panel
       stayed drawn after it closed (owner, 2026-11-08). */
    .site-nav__menu[open] > .site-nav__list {
      display: block;
    }

    /* The main action lines up with Menu, even while the links show in
       place under it. */
    .site-nav__actions {
      align-self: flex-start;
      min-block-size: max(2.75rem, var(--control-height));
    }

    .site-nav--js .site-nav__menu[open] > .site-nav__list {
      position: absolute;
      inset-inline: 0;
      inset-block-start: 100%;
      z-index: 10;
      padding: var(--space-2xs) var(--gutter) var(--space-s);
      border-block: var(--border-thin);
      background-color: var(--color-bg);
      box-shadow: 0 0.75em 1.5em color-mix(in srgb, var(--color-text) 18%, transparent);
    }

    .site-nav__menu .site-nav__list > li + li {
      border-block-start: var(--border-thin);
    }

    .site-nav__menu .site-nav__link {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      min-block-size: 2.75rem;
      padding-block: var(--space-xs);
      font-size: var(--text-md);
    }
  }

  @media (max-width: 63.99em) and (prefers-reduced-motion: no-preference) {
    .site-nav__icon,
    .site-nav__icon::before,
    .site-nav__icon::after {
      transition: transform 0.15s ease-out, inset-block-start 0.15s ease-out;
    }
  }


  /* Below a desktop, grids show at most two across: each column is at
     least half the row, less the gap. */
  @media (max-width: 63.99em) {
    .grid {
      grid-template-columns: repeat(auto-fill, minmax(min(100%, max(var(--grid-min, 16rem), (100% - var(--grid-gap, var(--space-m))) / 2)), 1fr));
    }
  }

  /* Footer ---------------------------------------------------------- */

  .site-footer {
    border-block-start: var(--border-thin);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
  }

  .site-footer__main {
    display: grid;
    gap: var(--space-m) var(--space-l);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    padding-block: var(--space-l) var(--space-xl);
  }

  /* Below a desktop, the footer's columns are at most two across. */
  @media (max-width: 63.99em) {
    .site-footer__main {
      grid-template-columns: repeat(auto-fit, minmax(min(100%, max(14rem, (100% - var(--space-l)) / 2)), 1fr));
    }
  }

  .site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2xs) var(--space-m);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .site-footer__name {
    color: var(--color-text);
    font-weight: 700;
  }

  /* Running text ---------------------------------------------------- */

  .prose > * + * {
    margin-block-start: 1em;
  }

  .prose > * + :is(h2, h3) {
    margin-block-start: 1.5em;
  }

  .prose li + li {
    margin-block-start: 0.375em;
  }
}

/*
  This site's own components: page-section colours, small labels, lists
  of points, the round plus that opens a card, the peach and arrow
  buttons, the stacked site name and the footer's round links.
*/

@layer components {
  .page-section--surface { background-color: var(--color-surface); }
  .page-section--mint { background-color: var(--color-mint); }
  .page-section--flush-top { padding-block-start: 0; }

  /* A column of parts with a gap, and a row of parts that wraps onto
     more lines when they don't fit, as the first site lays out most of
     its sections. A section sets the gap with --column-gap or
     --flow-gap, and each part's width with flex. */
  .column {
    display: flex;
    flex-direction: column;
    gap: var(--column-gap, 1rem);
    min-width: 0;
  }

  .flow {
    display: flex;
    flex-wrap: wrap;
    gap: var(--flow-gap, 1.5rem);
  }

  /* A white box with a thin border and rounded corners. */
  .panel {
    border: var(--border-thin);
    border-radius: var(--radius-surface);
    background-color: var(--color-surface);
  }

  /* A list with no bullets or indent, laid out by its own block. */
  .bare-list {
    margin-inline: 0;
    margin-block-end: 0;
    padding: 0;
    list-style: none;
  }

  /* The words of a card or question that opens, with its plus at the
     end of the row. */
  .summary-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-s);
  }

  .summary-row > :first-child {
    min-width: 0;
  }

  /* Small capitals over a heading, such as "Parents" or "About". */
  .label, .eyebrow {
    color: var(--color-accent);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: var(--leading-snug);
    text-transform: uppercase;
  }

  .lead-accent {
    color: var(--color-accent);
    font-size: 1.375rem;
    line-height: 1.5;
  }

  /* A list whose points are each their own element. */
  .points {
    padding-inline-start: 1.25rem;
    font-size: 1.0625rem;
  }

  .points li {
    margin-block-end: 0.5rem;
  }

  /* The round plus on a card or question that opens; it turns into a
     cross while open. */
  details > summary {
    list-style: none;
    cursor: pointer;
  }

  details > summary::-webkit-details-marker {
    display: none;
  }

  .plus {
    display: grid;
    flex: none;
    place-items: center;
    inline-size: 2.25rem;
    block-size: 2.25rem;
    border-radius: 50%;
    background-color: var(--color-tint);
    color: var(--color-accent);
  }

  /* The "+" is drawn as two bars, not typed, so it sits in the exact
     middle in any font. Borders, not backgrounds, so it still shows in
     forced colours. */
  .plus::before, .plus::after {
    grid-area: 1 / 1;
    content: "";
  }

  .plus::before {
    inline-size: 0.875rem;
    border-block-start: 0.1875rem solid currentColor;
  }

  .plus::after {
    block-size: 0.875rem;
    border-inline-start: 0.1875rem solid currentColor;
  }

  /* Open, the "+" becomes what the open-mark tokens say: "−" on this
     site. */
  details[open] > summary .plus {
    transform: rotate(var(--open-mark-turn));
  }

  details[open] > summary .plus::after {
    transform: scaleY(var(--open-mark-upright));
  }

  @media (forced-colors: active) {
    .plus { border: 1px solid CanvasText; }
  }

  /* Buttons: peach on the navy contact card, and an arrow after the words
     that screen readers skip. */
  .button--peach {
    border-color: var(--color-peach);
    background-color: var(--color-peach);
    color: var(--color-peach-text);
  }

  .button--arrow::after, .arrow-link::after {
    content: "→";
    content: "→" / "";
  }

  .arrow-link {
    font-weight: 700;
    text-decoration: none;
  }

  .arrow-link::after {
    margin-inline-start: 0.4em;
  }

  @media (hover: hover) {
    .arrow-link:hover {
      text-decoration: underline;
    }
  }

  /* The header, as on Cathy's first site. On the other pages: no band,
     her title and name on one line, the links in a row at the end. */
  .site-header {
    border-block-end: 0;
  }

  .site-header__inner {
    justify-content: space-between;
    gap: 0.75rem 2rem;
    padding-block: 1.25rem;
  }

  .site-header__inner > .site-header__brand {
    margin-inline-end: 0;
  }

  .site-name--line {
    padding-block: 0;
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: 0;
  }

  .site-name--line .site-name__name {
    color: var(--color-text-muted);
    font-weight: 500;
  }

  .site-nav--row .site-nav__list {
    gap: 0.5rem 1.5rem;
  }

  .site-nav--row .site-nav__link {
    padding-block: 0;
    font-size: 1rem;
  }

  .site-nav--row .site-nav__link[aria-current="page"] {
    color: var(--color-accent);
    font-weight: 700;
    text-decoration: none;
  }

  @media (hover: hover) {
    .site-nav--row .site-nav__link:hover {
      text-decoration: none;
    }
  }

  /* On the home page: a white band, the menu button at the start and her
     title over her name, centred. */
  .site-header--home {
    z-index: 20;
    border-block-end: var(--border-thin);
    background-color: var(--color-surface);
  }

  .site-header--home .site-header__inner {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr) 3.5rem;
    align-items: center;
    width: min(100% - 2rem, var(--wrap-max));
    min-block-size: 5.25rem;
    padding-block: 0;
  }

  .site-nav--burger {
    grid-row: 1;
    grid-column: 1;
  }

  .site-header--home .site-header__brand {
    grid-row: 1;
    grid-column: 2;
    justify-self: center;
  }

  .site-name--stacked {
    display: inline-flex;
    flex-direction: column;
    font-family: var(--font-strong);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.1;
    text-transform: uppercase;
  }

  .site-name--stacked .site-name__tagline {
    color: var(--color-accent);
    font-size: 1.0625rem;
  }

  .site-name--stacked .site-name__name {
    margin-block-start: 0.25rem;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
  }

  /* The menu button: three lines that turn into a cross. */
  .burger__button {
    display: grid;
    place-content: center;
    gap: 0.4375rem;
    inline-size: 3rem;
    block-size: 3rem;
    border-radius: var(--radius-control);
  }

  .burger__lines {
    display: contents;
  }

  .burger__lines i {
    display: block;
    inline-size: 1.75rem;
    block-size: 0.1875rem;
    background-color: var(--color-accent);
  }

  .burger[open] .burger__lines i:nth-child(1) {
    transform: translateY(0.625rem) rotate(45deg);
  }

  .burger[open] .burger__lines i:nth-child(2) {
    opacity: 0;
  }

  .burger[open] .burger__lines i:nth-child(3) {
    transform: translateY(-0.625rem) rotate(-45deg);
  }

  @media (prefers-reduced-motion: no-preference) {
    .burger__lines i {
      transition: transform 0.25s ease, opacity 0.2s ease;
    }
  }

  @media (forced-colors: active) {
    .burger__lines i { forced-color-adjust: none; background-color: CanvasText; }
  }

  /* The open menu: a white panel under the header, as wide as the page. */
  .burger__panel {
    position: absolute;
    inset-inline: 0;
    inset-block-start: 100%;
    padding-inline: 1rem;
    border-block-start: 0.1875rem solid var(--color-accent);
    background-color: var(--color-surface);
    box-shadow: 0 1.125rem 1.875rem var(--shadow-menu);
  }

  .burger__list {
    max-width: var(--wrap-max);
    margin-inline: auto;
    padding-block: 0.5rem;
  }

  .burger__list li {
    max-width: none;
  }

  .burger__list li + li {
    border-block-start: var(--border-thin);
  }

  .burger__link {
    display: block;
    padding: 1.125rem 0.25rem;
    color: var(--color-text);
    font-family: var(--font-strong);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
  }

  @media (hover: hover) {
    .burger__link:hover {
      color: var(--color-accent);
    }
  }

  /* The footer: a line over one row, the name at the start and round
     links at the end; they stack on a narrow phone. */
  .site-footer {
    border-block-start: 0;
  }

  .site-footer__main--row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding-block: 1.5rem 3rem;
    border-block-start: var(--border-thin);
    font-size: 0.9375rem;
  }

  .social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .social__link {
    display: grid;
    place-items: center;
    inline-size: 2.75rem;
    block-size: 2.75rem;
    border-radius: 50%;
    background-color: var(--color-tint);
    color: var(--color-accent);
    text-decoration: none;
  }

  .social__letters {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
  }

  .social__letters--small {
    font-size: 1rem;
  }

  @media (forced-colors: active) {
    .social__link { border: 1px solid LinkText; }
  }
}
/*
  Section blocks: only what a section does differently from the
  components. One block per section type, named after it. When two blocks
  repeat the same declarations, move them up into components.css.
*/

@layer sections {
  /* Hero ------------------------------------------------------------ */

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

  .hero__title {
    font-size: var(--text-3xl);
    line-height: 1.08;
  }

  .hero__text {
    max-width: 38ch;
    color: var(--color-text-muted);
    font-size: var(--text-md);
    line-height: 1.5;
  }

  .hero .button-row {
    padding-block-start: var(--space-2xs);
  }

  .hero__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-surface);
    background-color: var(--color-border);
  }

  /* Image ----------------------------------------------------------- */

  .figure img {
    width: 100%;
    max-height: 85vh;
    max-height: 85svh;
    object-fit: cover;
    border-radius: var(--radius-surface);
    background-color: var(--color-border);
  }

  .figure figcaption {
    max-width: var(--measure);
    margin-block-start: var(--space-xs);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
  }

  /* Gallery: two photos a row on a phone, more as the screen widens. */

  .gallery {
    display: grid;
    gap: var(--space-2xs);
    grid-template-columns: repeat(auto-fill, minmax(min(100% / 2 - var(--space-2xs), 14rem), 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-small);
    background-color: var(--color-border);
  }

  /* Below a desktop, photos and people show two across, as on a phone. */
  @media (max-width: 63.99em) {
    .gallery {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team {
      grid-template-columns: repeat(auto-fit, minmax(min(100%, max(16rem, (100% - var(--space-l)) / 2)), 1fr));
    }
  }

  /* Team: a card for each person; a short row spreads out. ---------- */

  .team {
    display: grid;
    gap: var(--space-l);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  }

  .team > * {
    min-width: 0;
  }

  .team__photo {
    width: 9rem;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    background-color: var(--color-border);
  }

  .team__role {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    font-weight: 600;
  }

  /* Hours: the hours beside any second card ------------------------ */

  .visit {
    display: grid;
    gap: var(--space-l);
  }

  .visit > * {
    min-width: 0;
  }

  @media (min-width: 64em) {
    .visit {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  .visit__card {
    padding: var(--space-l);
    border-radius: var(--radius-surface);
    background-color: var(--color-surface);
  }

  /* High-contrast modes drop backgrounds; a border keeps the card. */
  @media (forced-colors: active) {
    .visit__card {
      border: 1px solid CanvasText;
    }
  }

  /* Product and service pages ----------------------------------------- */

  .product-summary {
    padding-block: var(--space-l) var(--space-xl);
  }

  .product-summary img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-surface);
    background-color: var(--color-border);
  }

  .product-summary .hero__media img {
    aspect-ratio: 10 / 7;
  }

  .product-summary__facts {
    display: grid;
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
    gap: var(--space-3xs) var(--space-s);
    font-size: var(--text-sm);
  }

  .product-summary__facts dt {
    font-weight: 600;
  }

  .size-prices {
    display: grid;
    gap: var(--space-2xs);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .reserve, .rate-box {
    display: grid;
    gap: var(--space-xs);
    padding: var(--space-m);
    border: var(--border-thin);
    border-radius: var(--radius-surface);
    background-color: var(--color-surface);
  }

  /* Cards: service teasers, values and posts --------------------------- */

  .service-teaser {
    min-width: 0;
    padding: var(--space-m);
    border-block-start: 0.35rem solid var(--color-accent);
    border-radius: var(--radius-surface);
    background-color: var(--color-surface);
  }

  .values__item {
    min-width: 0;
    padding-block-start: var(--space-s);
    border-block-start: 3px solid var(--color-border);
  }

  .post-list {
    display: grid;
    gap: var(--space-xl);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .post-teaser {
    display: grid;
    gap: var(--space-s);
  }

  .post-teaser > * {
    min-width: 0;
  }

  @media (min-width: 64em) {
    .post-teaser {
      grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
      gap: var(--space-l);
      align-items: center;
    }
  }

  .post-teaser__image, .post__hero {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-surface);
    background-color: var(--color-border);
  }

  .post__header {
    padding-block: var(--space-l) var(--space-m);
  }

  .post__body {
    padding-block-end: var(--space-xl);
  }

  /* Text with an image ----------------------------------------------- */

  .page-section .split > img {
    width: 100%;
    border-radius: var(--radius-surface);
  }

  @media print {
    .skip-link, .site-nav {
      display: none;
    }
  }
}

/*
  This site's own section blocks, one per section type it adds, plus its
  hero variants and the rule over the "How I work" values. Sizes and
  spaces are those of Cathy's first site.
*/

@layer sections {
  /* Hero ------------------------------------------------------------ */

  .hero__inner {
    display: grid;
    gap: 1.25rem;
  }

  .hero__row {
    --flow-gap: 2rem 3rem;
    align-items: stretch;
  }

  .hero__words {
    --column-gap: 1.25rem;
    flex: 1 1 27.5rem;
  }

  .hero__words > p {
    max-width: 34em;
  }

  .hero__subtitle {
    color: var(--color-accent);
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 2.6vw, 1.75rem);
    font-weight: 600;
    line-height: 1.2;
  }

  /* The home page's: centred, the big line in the strong font. */
  .hero--center {
    padding-block: 3.5rem 4.5rem;
    text-align: center;
  }

  .hero--center .hero__inner {
    max-width: 40rem;
  }

  .hero--center .hero__words {
    --column-gap: 1.75rem;
    align-items: center;
    font-family: var(--font-strong);
  }

  .hero--center .hero__title {
    font-family: var(--font-strong);
    font-size: clamp(2.25rem, 9vw, 3.375rem);
    font-weight: 800;
    line-height: 1.17;
  }

  .hero--center .hero__subtitle {
    max-width: 24em;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
  }

  /* The other pages': a photo beside the words, as tall as they are. */
  .hero--page {
    padding-block: 3rem 4.5rem;
  }

  /* "short": a page opening with no photo, close to what follows. */
  .hero--short {
    padding-block-end: 2.5rem;
  }

  .hero--page .hero__title {
    font-size: clamp(2.125rem, 4.6vw, 3.25rem);
    line-height: 1.12;
  }

  .hero--page .hero__text {
    max-width: none;
    color: var(--color-text-muted);
    font-size: 1.25rem;
    line-height: var(--leading-normal);
  }

  .hero__media {
    --column-gap: 0;
    flex: 1 1 20rem;
    align-items: center;
    margin: 0;
  }

  .hero__media img {
    flex: 1 1 0;
    width: 100%;
    max-width: 23.75rem;
    min-height: 20rem;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .hero__media figcaption {
    width: 100%;
    max-width: 23.75rem;
    margin-block-start: 0.625rem;
  }

  /* Page sections: the first site's room above and below. */
  .page-section--flush-top {
    padding-block-start: 0;
  }

  /* Text beside a list of points ------------------------------------ */

  .text-list__inner {
    --flow-gap: 2.5rem 4rem;
  }

  .text-list__words {
    flex: 1 1 21.25rem;
  }

  .text-list__words > p {
    max-width: 32em;
  }

  .text-list__points {
    flex: 1 1 23.75rem;
    min-width: 0;
    margin-block-start: 0;
  }

  .text-list__points li {
    max-width: none;
    padding-block: 0.875rem;
    border-block-end: 1px solid var(--color-border);
  }

  /* "plain": a narrower heading beside lines of text, no rules. */
  .page-section--plain .text-list__inner {
    --flow-gap: 2rem 4rem;
  }

  .page-section--plain .text-list__words {
    flex: 1 1 17.5rem;
  }

  .page-section--plain h2 {
    font-size: clamp(1.625rem, 3vw, 2.125rem);
  }

  .page-section--plain .text-list__points {
    display: grid;
    flex: 2 1 26.25rem;
    gap: 0.875rem;
  }

  .page-section--plain .text-list__points li {
    padding-block: 0;
    border: 0;
  }

  /* The overlay example: a crowded page, the same page under an overlay,
     and a strip of overlay colours. ---------------------------------- */

  .overlay-demo {
    padding-block: 4rem;
  }

  .overlay-demo__inner {
    --column-gap: 0.625rem;
    max-width: 35rem;
  }

  .overlay-demo__page {
    margin: 0;
    overflow: hidden;
  }

  .overlay-demo__before, .overlay-demo__after {
    max-width: none;
    font-size: 1.1875rem;
    line-height: 1.7;
  }

  /* The shimmer: two faint copies of each letter, as on the first site. */
  .overlay-demo__before {
    padding: 1.75rem 1.75rem 1.5rem;
    letter-spacing: 0.01em;
    text-shadow: 0.09375rem 0.0625rem 0 var(--shimmer-1), -0.0625rem 0 0.0625rem var(--shimmer-2);
  }

  .overlay-demo__after {
    padding: 1.5rem 1.75rem 1.75rem;
    background-color: var(--color-mint-strong);
  }

  .overlay-demo__note {
    color: var(--color-text-muted);
    font-size: 0.875rem;
  }

  .overlay-demo__swatches {
    display: flex;
    flex-wrap: nowrap;
    block-size: 1.125rem;
    margin-block-start: 1.375rem;
    overflow: hidden;
    border-radius: var(--radius-small);
  }

  .overlay-demo__swatches + .overlay-demo__note {
    margin-block-start: 0.25rem;
    font-size: 0.9375rem;
  }

  .overlay-demo__swatches span { flex: 1; }
  .overlay-demo__swatches span:nth-child(1) { background-color: var(--overlay-1); }
  .overlay-demo__swatches span:nth-child(2) { background-color: var(--overlay-2); }
  .overlay-demo__swatches span:nth-child(3) { background-color: var(--overlay-3); }
  .overlay-demo__swatches span:nth-child(4) { background-color: var(--overlay-4); }
  .overlay-demo__swatches span:nth-child(5) { background-color: var(--overlay-5); }
  .overlay-demo__swatches span:nth-child(6) { background-color: var(--overlay-6); }
  .overlay-demo__swatches span:nth-child(7) { background-color: var(--overlay-7); }
  .overlay-demo__swatches span:nth-child(8) { background-color: var(--overlay-8); }
  .overlay-demo__swatches span:nth-child(9) { background-color: var(--overlay-9); }
  .overlay-demo__swatches span:nth-child(10) { background-color: var(--overlay-10); }

  /* Steps: as many as fit a row, at least 18.75rem each, so three on a
     desktop with the last two sharing the next row; each under a
     lavender rule. ------------------------------------------------------ */

  .steps__step {
    --column-gap: 0.625rem;
    flex: 1 1 18.75rem;
    padding-block-start: 1rem;
    border-block-start: 0.1875rem solid var(--color-rule);
  }

  .steps__title {
    font-size: 1.25rem;
  }

  .steps__step .points {
    font-size: 1.0625rem;
  }

  .steps__step .figure {
    margin-block-start: 0.5rem;
  }

  /* Photos with captions: side by side, or "stacked", centred one under
     another as on the home page. ---------------------------------------- */

  .figures__item {
    --column-gap: 0.625rem;
    flex: 1 1 20rem;
    margin: 0;
  }

  .figures__item img {
    width: 100%;
    max-height: none;
    object-fit: cover;
  }

  .figures__item:first-child img {
    max-width: 30rem;
  }

  .figures__item figcaption {
    max-width: none;
    margin: 0;
  }

  .page-section--stacked .figures__row {
    --flow-gap: 2.5rem;
    flex-direction: column;
  }

  .page-section--stacked .figures__item {
    --column-gap: 0.75rem;
    flex: none;
    width: 100%;
    max-width: 40rem;
    margin-inline: auto;
  }

  .page-section--stacked .figures__item + .figures__item {
    max-width: 23.75rem;
  }

  .page-section--stacked .figures__item img {
    max-width: none;
  }

  .page-section--stacked .figures__item figcaption {
    color: var(--color-text);
    font-size: 1.0625rem;
    text-align: center;
  }

  /* Statement: one large line on the navy band ---------------------- */

  .statement {
    display: grid;
    align-items: center;
    min-height: clamp(13.75rem, 28vw, 21.25rem);
    padding-block: 3rem;
    background-color: var(--color-band);
    color: var(--color-band-text);
    text-align: center;
  }

  .statement__text {
    max-width: 14em;
    margin-inline: auto;
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 4.6vw, 3.375rem);
    font-weight: 600;
    line-height: 1.15;
    text-wrap: balance;
    text-shadow: 0 0.125rem 0.75rem var(--shadow-band);
  }

  /* Who it helps: a card for each group that opens ------------------ */

  .audiences__list {
    align-items: flex-start;
  }

  .audience {
    flex: 1 1 18.75rem;
    min-width: 0;
  }

  .audience__summary {
    align-items: flex-start;
    gap: 1rem;
    padding: 1.75rem;
  }

  .audience__head {
    display: grid;
    gap: 0.875rem;
  }

  .audience__title {
    font-size: clamp(1.5rem, 2.6vw, 1.875rem);
    line-height: 1.2;
  }

  .audience__body {
    padding: 0 1.75rem 1.75rem;
  }

  .audience__body .figure img {
    aspect-ratio: 3 / 2;
  }

  .audience__body figcaption {
    margin-block-start: 0.5rem;
  }

  .audience__body .label {
    padding-block-start: 0.375rem;
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: 1.1875rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
  }

  /* A short, centred invitation ------------------------------------- */

  .cta__inner {
    display: grid;
    justify-items: center;
    max-width: 40rem;
    text-align: center;
  }

  .cta__text {
    max-width: 34em;
  }

  .cta__title {
    font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  }

  /* Feature: a photo beside the words ------------------------------- */

  .feature__inner {
    --flow-gap: 2.25rem 3.5rem;
    align-items: center;
  }

  .feature__media {
    flex: 0 1 17.5rem;
    max-width: 17.5rem;
    margin: 0;
  }

  .feature__inner .figure img {
    aspect-ratio: 1;
  }

  .feature__inner > .stack {
    flex: 1 1 23.75rem;
    min-width: 0;
  }

  /* Questions that open to their answers: white cards on a tint, lines
     elsewhere. ------------------------------------------------------- */

  .faq__list {
    border-block-start: 1px solid var(--color-border);
  }

  .faq__item {
    border-block-end: 1px solid var(--color-border);
  }

  .faq__question {
    gap: 1rem;
    padding-block: 1.375rem;
  }

  .faq__question-text {
    font-size: 1.3125rem;
    line-height: 1.3;
  }

  .faq__answer {
    max-width: 40em;
    padding-block-end: 1.5rem;
  }

  .page-section--tint .faq__inner {
    --stack-space: 1.75rem;
    max-width: 51.25rem;
  }

  .page-section--tint .faq__list {
    display: grid;
    gap: 0.75rem;
    border: 0;
  }

  .page-section--tint .faq__item {
    border: var(--border-thin);
    border-radius: var(--radius-surface);
    background-color: var(--color-surface);
  }

  .page-section--tint .faq__question {
    padding: 1.25rem 1.5rem;
  }

  .page-section--tint .faq__question-text {
    font-size: 1.25rem;
  }

  .page-section--tint .faq__answer {
    padding: 0 1.5rem 1.375rem;
  }

  /* Logos ------------------------------------------------------------ */

  .logos__item {
    --column-gap: 0.75rem;
    flex: 1 1 15rem;
  }

  /* Each logo in a frame 7.5rem tall, shown whole: a logo is never
     cropped, so its edges show at any width. */
  .logos__frame img {
    height: 7.5rem;
    object-fit: contain;
    object-position: left center;
    background-color: transparent;
  }

  .logos__name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: var(--leading-snug);
  }

  /* Highlight: a passage beside a rule ------------------------------- */

  .highlight {
    padding-block: 0 3.5rem;
  }

  .highlight__box {
    --stack-space: 0.5rem;
    padding-inline-start: 1.25rem;
    border-inline-start: 0.25rem solid var(--color-rule);
  }

  .highlight__text {
    max-width: 40em;
    font-family: var(--font-display);
    font-size: 1.375rem;
    line-height: 1.45;
  }

  /* Contact: the navy card with the peach button, as on the first site:
     the words and the button side by side when there is room, and the
     card wider than the page's text by its own padding. */
  .contact {
    padding-block: 5rem;
  }

  .contact.page-section--flush-top {
    padding-block-start: 0;
  }

  .contact .wrap {
    width: min(100% - 2 * var(--gutter), var(--wrap-max) + 2 * clamp(1.75rem, 5vw, 3.5rem));
  }

  .contact__card {
    --flow-gap: 2rem 4rem;
    align-items: center;
    padding: clamp(1.75rem, 5vw, 3.5rem);
    border-radius: var(--radius-surface);
    background-color: var(--color-ink);
    color: var(--color-ink-text);
  }

  .contact__words {
    --stack-space: 0.875rem;
    flex: 1 1 23.75rem;
    min-width: 0;
  }

  .contact__words p {
    max-width: 30em;
  }

  .contact__action {
    flex: 1 1 17.5rem;
    min-width: 0;
  }

  .contact__card h2 {
    color: var(--color-ink-heading);
  }

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

  .contact .button {
    min-height: 3.25rem;
    padding: 0 1.75rem;
    font-weight: 700;
  }

  @media (forced-colors: active) {
    .contact__card, .audience { border: 1px solid CanvasText; }
  }

  /* How I work: four values, each under a lavender rule. ------------- */

  .values {
    --grid-min: 15rem;
    --grid-gap: 1.5rem;
  }

  .values .values__item {
    gap: 0.5rem;
    padding: 1rem 0 0;
    border: 0;
    border-block-start: 0.1875rem solid var(--color-rule);
    border-radius: 0;
    background-color: transparent;
  }

  .values .values__item h3 {
    font-size: 1.25rem;
  }

  .values .values__item p {
    color: var(--color-text);
    font-size: 1.0625rem;
  }
}
/*
  Focus: which part of a photo stays in view when its frame crops it
  (object-fit: cover). Orbit's kit owns this file, and the owner chooses
  the focus in the Editor's Manual mode: an image's focus = "top left"
  becomes the class focus-top-left (layouts/_partials/img.html). This
  layer comes last, so the owner's choice wins over the site's own rules.
*/

@layer focus {
  .focus-top-left {
    object-position: left top;
  }

  .focus-top {
    object-position: center top;
  }

  .focus-top-right {
    object-position: right top;
  }

  .focus-left {
    object-position: left center;
  }

  .focus-center {
    object-position: center;
  }

  .focus-right {
    object-position: right center;
  }

  .focus-bottom-left {
    object-position: left bottom;
  }

  .focus-bottom {
    object-position: center bottom;
  }

  .focus-bottom-right {
    object-position: right bottom;
  }
}
