/*
 * Block styles (snippet blocks and site/snippets/blocks/*). Layer: blocks.
 * Colors, type, spacing and radii come from tokens.css only.
 * Section backgrounds (.section--mint, .section--ink, ...) live in site.css.
 *
 * Contents: shared pieces, hero, image and text, cards (cards, steps,
 * options, pricing, checklist), testimonials, faq, logos, cta, embed,
 * prose (core blocks), statement, the accent pages' rhythm. Home-only parts
 * (tiles, pills, industry groups, ticker) are in home.css and About-only parts
 * (collage, carousel, feeling cards, story, team) in about.css, linked in
 * the head only where their markup is (peanut_scoped_css()).
 */

@layer blocks {
  /* ---------- Shared pieces ---------- */

  /* .eyebrow, .lead, .prose, .button-group and .section--{bg} come from site.css */

  .eyebrow {
    margin: 0;
  }

  /* Type and spacing items 3 and 7 (2026-11-30): --space-head under the
     head, --space-intro from the heading to the intro */
  .section__head {
    max-width: 52rem;
    margin: 0 auto var(--space-head);
    text-align: center;
  }

  .section__head > * + * {
    margin-block-start: var(--space-intro);
  }

  .section__head .section__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--step-4);
    font-weight: var(--weight-display);
    line-height: var(--leading-tight);
  }

  .section__head .section__intro {
    max-width: var(--measure);
    margin: var(--space-intro) auto 0;
  }

  .button-group {
    align-items: center;
  }

  .imagetext__body .button-group,
  .option .button-group {
    margin-block-start: var(--space-4);
  }

  .button-group--center {
    justify-content: center;
  }

  .button-group--right {
    justify-content: flex-end;
  }

  .section__buttons {
    margin-block-start: var(--space-5);
  }

  /* A link alone on its line in a centered card (patterns/link-line): the
     shared link button, centered under the card's text (design review #68) */
  .link-line {
    display: flex;
    justify-content: center;
  }

  @media (max-width: 30rem) {
    .button-group .btn:not(.btn--link) {
      flex: 1 1 100%;
    }
  }

  .pill {
    display: inline-block;
    margin: 0;
    padding: 0.4em 1.1em;
    border: var(--border);
    border-radius: var(--radius-pill);
    background: var(--color-white);
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: var(--pill-font-size);
    font-weight: var(--pill-weight);
    letter-spacing: var(--pill-tracking);
    line-height: 1.25;
    text-transform: uppercase;
  }

  .pill--mint {
    background: var(--color-brand);
  }

  .pill--butter {
    background: var(--color-butter);
  }

  .pill--peach {
    background: var(--color-accent-2);
  }

  /* Responsive columns: 1 on phones, 2 on tablets, 2 to 4 on desktop */
  .cols-2,
  .cols-3,
  .cols-4 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
  }

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

  @media (min-width: 64rem) {
    .cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cols-4 {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }

  /* Arrow bullets for feature lists */
  .features,
  .checks {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .features > li,
  .checks__item {
    position: relative;
    padding-inline-start: 1.75rem;
  }

  .features > li::before,
  .checks__item::before {
    content: "\2192";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    font-family: var(--font-body);
    font-weight: 500;
  }

  .features > li + li {
    margin-block-start: var(--space-1);
  }

  /* ---------- Hero ---------- */

  /* The hero image bleeds to the right edge: the container becomes a
     four-column grid (gutter, half, half, gutter) and the media spans
     the right half plus the outer gutter */
  .block-hero > .container {
    display: grid;
    grid-template-columns:
      minmax(var(--gutter), 1fr)
      minmax(0, calc(var(--container) / 2))
      minmax(0, calc(var(--container) / 2))
      minmax(var(--gutter), 1fr);
    row-gap: var(--space-5);
    max-width: none;
    padding-inline: 0;
  }

  .block-hero {
    overflow-x: clip;
  }

  .hero {
    display: contents;
  }

  .hero__body,
  .hero__media {
    grid-column: 2 / 4;
    min-width: 0;
  }

  .hero__body > * + * {
    margin-block-start: var(--space-intro);
  }

  .hero__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--step-6);
    font-weight: var(--weight-display);
    line-height: var(--leading-tight);
    text-wrap: balance;
  }

  .hero__lead {
    margin: 0;
    max-width: 36rem;
  }

  /* "Lead in body font": a section's answer, in the body face (owner, 2026-11-26) */
  .hero__lead--body {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: 1.7;
  }

  .hero__lead--body p + p {
    margin-top: var(--space-2);
  }

  .hero__buttons {
    margin-block-start: var(--space-4);
  }

  .hero__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    /* the file's focal point (Panel: Focus), set on .hero__media; the centre without one */
    object-position: var(--photo-focus, 50% 50%);
  }

  /* Home: the feature photo's oversized corner, 100px on phones and 150px
     from 60rem (design system "Shapes and lines", design review #51) */
  .template-home .hero--has-image .hero__image {
    border-radius: 100px var(--radius-lg) var(--radius-lg) var(--radius-lg);
  }

  .hero--centered .hero__body {
    max-width: 50rem;
    margin-inline: auto;
    text-align: center;
  }

  .hero--centered .hero__lead {
    margin-inline: auto;
  }

  .hero--centered .hero__buttons {
    justify-content: center;
  }

  @media (min-width: 60rem) {
    .block-hero > .container {
      align-items: center;
    }

    .hero--has-image .hero__body {
      grid-column: 2;
      padding-inline-end: var(--space-6);
    }

    .hero--has-image .hero__media {
      grid-column: 3 / 5;
    }

    /* The photo stops short of the page edge at every width, so all four
       corners are round (design review 2026-10-22, #4) */
    .hero--has-image .hero__image {
      max-height: 40rem;
      object-fit: cover;
    }

    /* Home: a wider text column (58 to 42), so the hero copy does not read
       as a square block next to the photo (design review 2026-10-22). The
       container spans the viewport so the photo can bleed. */
    .template-home .block-hero > .container {
      width: 100%;
      grid-template-columns:
        minmax(var(--gutter), 1fr)
        minmax(0, calc(var(--container) * 0.58))
        minmax(0, calc(var(--container) * 0.42))
        minmax(var(--gutter), 1fr);
    }

    /* Home: the proposal's feature photo (design system "Shapes and lines";
       design review #51). It bleeds off the right edge (square there), fills
       the hero's height, and its one oversized corner is the top inside one */
    .template-home .hero--has-image .hero__media {
      display: flex;
      align-self: stretch;
    }

    .template-home .hero--has-image .hero__image {
      width: 100%;
      height: 100%;
      min-height: 34rem;
      max-height: none;
      border-radius: 150px 0 0 var(--radius-lg);
      object-fit: cover;
    }
  }


  /* Every photo has a 1px solid ink outline (Christina, site v3, 2026-10-28),
     except a transparent cut-out photo with its own halo: its image's Frame
     toggle is off, and it shows frameless, as on the About page */
  .hero__image,
  .imagetext__image {
    border: 1px solid var(--color-ink);
  }

  .hero__image.is-frameless,
  .imagetext__image.is-frameless {
    border: 0;
    border-radius: 0;
  }

  /* Industry pages: their H1 is a whole search phrase in human words, so one
     step smaller keeps the call button in the first screen on phones */
  .template-industry .hero__title {
    font-size: var(--step-5);
  }

  /* Trust line under the hero buttons (site v3): small capitals */
  .hero__trust {
    font-size: var(--label-size);
    font-weight: var(--label-weight);
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
  }

  /* The phone under the hero buttons on the tier, SEO and Partnership pages
     (step 4, hero-actions.php): a plain line with the number as a link,
     close to the buttons it belongs with */
  .hero__body > .hero__phone {
    margin-block-start: var(--space-2);
    font-size: var(--text-body);
  }

  /* A hero photo still to come (site v3): the cream placeholder in the media
     column; with the overlay card, its note sits in the top corner, clear of the
     card. Only the placeholder: a photo in the slot fills it edge to edge */
  .template-home .hero__slot {
    border-radius: var(--radius-lg);
  }

  .hero--has-overlay .hero__slot.photo-slot--empty {
    place-items: start end;
    padding: var(--space-6) var(--space-5);
  }

  .hero--has-overlay .hero__slot .photo-slot__note {
    text-align: right;
  }

  .imagetext__signature,
  .founder__signature {
    font-size: var(--label-size);
    font-weight: var(--label-weight);
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
  }

  /* "Find a location near you" (site v3, the home hero): the card over the
     photo's lower inside corner on wide screens, overlapping its foot on
     phones. The SVG carries width and height, so no layout shift. */
  .hero--has-overlay .hero__media {
    position: relative;
  }

  .hero__overlay {
    position: relative;
    width: min(20rem, 88%);
    margin: -5rem auto 0;
    filter: drop-shadow(4px 4px 0 var(--color-ink));
  }

  @media (min-width: 60rem) {
    .hero--has-overlay .hero__overlay {
      position: absolute;
      bottom: var(--space-6);
      left: calc(-1 * var(--space-7));
      width: min(22rem, 70%);
      margin: 0;
    }

    .template-home .hero--has-slot .hero__media {
      display: flex;
      align-self: stretch;
    }

    .template-home .hero--has-slot .hero__slot {
      width: 100%;
      min-height: 34rem;
      aspect-ratio: auto;
      border-radius: 150px 0 0 var(--radius-lg);
    }

    /* a photo in the slot fills the panel the hero's height gives it, never sets
       it: its loading can't move the hero (no layout shift) */
    .template-home .hero--has-slot .hero__slot > :is(img, picture) {
      position: absolute;
      inset: 0;
    }
  }

  .diagram .lc-paper {
    fill: var(--color-white);
  }

  .diagram .lc-title {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .diagram .lc-box {
    fill: var(--color-paper);
    stroke: var(--color-ink);
    stroke-width: 1.5;
  }

  .diagram .lc-glass {
    fill: none;
    stroke: var(--color-ink);
    stroke-width: 1.5;
    stroke-linecap: round;
  }

  .diagram .lc-placeholder {
    fill: var(--color-muted);
    opacity: 0;
  }

  .diagram .lc-typed {
    font-size: 14px;
  }

  .diagram .lc-typing {
    fill: var(--color-white);
    transform-box: fill-box;
    transform-origin: left center;
  }

  .diagram .lc-rule {
    stroke: var(--color-ink);
    stroke-width: 1;
    opacity: 0.2;
  }

  .diagram .lc-dot {
    fill: var(--color-ink);
  }

  .diagram .lc-city {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: var(--weight-heading);
    letter-spacing: 0;
  }

  .diagram .lc-line {
    fill: var(--color-muted);
  }

  .diagram .lc-pin--next {
    fill: var(--color-white);
    stroke-dasharray: 3 3;
  }

  /* Website care drawing (site/snippets/diagrams/care.php): the static drawing
     is the finished one, every check ticked mint */
  .diagram .cr-frame-line,
  .diagram .cr-icon {
    fill: none;
    stroke: var(--color-ink);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .diagram .cr-frame,
  .diagram .cr-node {
    stroke: var(--color-ink);
    stroke-width: 1.5;
  }

  .diagram .cr-led {
    fill: var(--color-brand);
    stroke: var(--color-ink);
    stroke-width: 1;
  }

  .diagram .cr-orbit {
    opacity: 0.25;
  }

  .diagram .cr-tick {
    fill: var(--color-brand);
    stroke: var(--color-ink);
    stroke-width: 1.5;
  }

  .diagram .cr-tick-mark {
    fill: none;
    stroke: var(--color-ink);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .diagram .cr-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  /* Problem and reach drawings (site/snippets/diagrams/problem-*.php, the
     selectable list): the static drawing is the finished one */
  .diagram .pb-glass,
  .diagram .pb-icon,
  .diagram .pb-question {
    fill: none;
    stroke: var(--color-ink);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .diagram .pb-node,
  .diagram .pb-page {
    stroke: var(--color-ink);
    stroke-width: 1.5;
  }

  .diagram .pb-rule {
    stroke: var(--color-ink);
    stroke-width: 1.5;
  }

  .diagram .pb-dot {
    fill: var(--color-ink);
    opacity: 0.45;
  }

  .diagram .pb-faint {
    opacity: 0.5;
  }

  .diagram .pb-star {
    fill: var(--color-gold-soft);
    stroke: var(--color-ink);
    stroke-width: 1.2;
    stroke-linejoin: round;
  }

  .diagram .pb-dashed {
    fill: none;
    stroke: var(--color-ink);
    stroke-width: 1.5;
    stroke-dasharray: 5 5;
  }

  .diagram .pb-break {
    fill: none;
    stroke: var(--color-accent-2);
    stroke-width: 2.5;
    stroke-linecap: round;
  }

  .diagram .pb-house {
    fill: var(--color-brand);
  }

  .diagram .pb-window {
    fill: var(--color-butter);
    stroke: var(--color-ink);
    stroke-width: 1.2;
  }

  .diagram .pb-ring {
    opacity: 0.35;
  }

  /* Hero collage (About): about.css */

  /* Site-structure diagram beside the title (hero "diagram" field, inline SVG
     from site/snippets/diagrams/). The SVG carries width and height, so its
     box is reserved before it paints: no layout shift. Under the title on
     phones, in the right column from 60rem (inside the container, no bleed).
     Draw-in and pop live in motion.css. */
  .hero__media--diagram {
    max-width: 34rem;
    margin-inline: auto;
  }

  .diagram {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
  }

  /* Labels: Montserrat in ink, sizes in SVG units (13 units is about 14.7px
     in the 34rem desktop column, about 9.5px on a 390px phone) */
  .diagram text {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    fill: var(--color-ink);
  }

  .diagram .dg-label--hub {
    font-weight: var(--weight-strong);
  }

  .diagram .dg-label--small {
    font-size: 11px;
  }

  .diagram .dg-line,
  .diagram .dg-ring {
    fill: none;
    stroke: var(--color-ink);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.55;
  }

  /* Dashed boundary: no pathLength, so the dashes keep their user-unit size */
  .diagram .dg-ring {
    stroke-dasharray: 4 6;
    opacity: 0.4;
  }

  .diagram .dg-node,
  .diagram .dg-site {
    stroke: var(--color-ink);
    stroke-width: 1.5;
  }

  .diagram .dg-site {
    fill: var(--color-white);
  }

  .diagram .dg-bar,
  .diagram .dg-menu {
    fill: none;
    stroke: var(--color-ink);
    stroke-width: 1.5;
    stroke-linecap: round;
  }

  .diagram .dg-hub {
    fill: var(--accent-mark, var(--accent));
  }

  .diagram .dg-mint {
    fill: var(--color-brand);
  }

  .diagram .dg-peach {
    fill: var(--color-accent-2);
  }

  .diagram .dg-gold {
    fill: var(--color-gold-soft);
  }

  /* A larger block in a diagram: butter, never a big gold area */
  .diagram .dg-butter {
    fill: var(--color-butter);
  }

  /* Custom websites drawing (site/snippets/diagrams/custom-website.php): the
     browser on wide screens, the phone below 48rem. The static drawing is the
     finished one: the call button lit, the cursor on it. Motion: motion-tiers.css */
  .dg-device--phone {
    display: none;
  }

  @media (max-width: 47.99rem) {
    .dg-device--browser {
      display: none;
    }

    .dg-device--phone {
      display: block;
      max-width: 16rem;
      margin-inline: auto;
    }
  }

  .diagram .cw-paper {
    fill: var(--color-white);
  }

  .diagram .cw-frame {
    opacity: 0.9;
  }

  .diagram .cw-shape,
  .diagram .cw-btn {
    stroke: var(--color-ink);
    stroke-width: 1.5;
  }

  .diagram .cw-white {
    fill: var(--color-white);
  }

  .diagram .cw-outline {
    fill: none;
    stroke: var(--color-ink);
    stroke-width: 1.5;
    opacity: 0.55;
  }

  .diagram .cw-ink {
    fill: var(--color-ink);
  }

  .diagram .cw-soft {
    fill: var(--color-ink);
    opacity: 0.3;
  }

  /* the call button, lit */
  .diagram .cw-btn {
    fill: var(--color-accent-2);
  }

  .diagram .cw-ring {
    fill: none;
    stroke: var(--color-ink);
    stroke-width: 1.5;
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
  }

  .diagram .cw-pointer {
    fill: var(--color-white);
    stroke: var(--color-ink);
    stroke-width: 1.5;
    stroke-linejoin: round;
  }

  /* The one cursor in every drawing (site/snippets/diagrams/cursor.php) */
  .diagram .dg-cursor__arrow {
    fill: var(--color-white);
    stroke: var(--color-ink);
    stroke-width: 1.5;
    stroke-linejoin: round;
  }

  @media (min-width: 60rem) {
    .hero--has-diagram .hero__body {
      grid-column: 2;
      padding-inline-end: var(--space-6);
    }

    .hero--has-diagram .hero__media {
      grid-column: 3;
      padding-inline-start: var(--space-4);
    }
  }

  /* Page accent (tokens.css sets --accent on <main>): the gradient wash leans
     on the page's color (pale behind the text, full behind the diagram), the
     title's italic phrase gets an accent marker, the pill variant and chips
     take it. Ink on every stop passes AA (components.md, "Accent colors"). */
  .has-accent .section--gradient {
    background: linear-gradient(90deg, var(--accent-pale) 0%, var(--color-paper) 40%, var(--accent-pale) 70%, var(--accent) 100%);
  }

  /* Satin Gold (the gold accent: Network, Site Insight; Christina's gold
     review, 2026-10-25): warm light through cream, the gold only toward the
     end */
  .accent--gold .section--gradient {
    background: var(--gradient-satin-gold);
  }

  /* Grain on every gold surface (Christina, 2026-10-25), like printed paper:
     butter sections and bands, the FAQ band and cards on gold pages,
     highlighted plan and tier cards, butter card panels, and the Satin Gold
     gradients. Never on small marks (icon circles, pills, chips, discs,
     lines, rings, dots). The --grain noise is a background image on a
     pseudo-element behind the surface's content (isolation and z-index -1,
     so it never sits over text), multiplied in at --grain-opacity. Viewers
     who ask for less transparency get the plain surface. None of these
     surfaces is positioned or uses ::before otherwise. */
  :is(
    .section--butter,
    .accent--gold .section--gradient,
    .accent--gold .section--accent,
    .accent--gold .tier-fit__card.is-current,
    .accent--gold .tier-seo__card,
    .accent--gold .pt-callout__card,
    .accent--gold .pt-choice__card.is-current,
    .accent--gold .pt-facts__more,
    .accent--gold .ub-callout__card,
    .accent--gold .ub-fit__half,
    .accent--gold .ub-routes__media,
    .accent--gold .ub-do--bubbles .ub-do__item,
    .accent--gold .cs-card,
    .accent--gold .cs-shot__stage,
    .accent--gold .cs-facts__more,
    .upa-t--network .upa-compare__head,
    .feel-card:nth-child(3n),
    .plan__head--butter,
    .tint--butter .study-card__media
  ) {
    position: relative;
    isolation: isolate;
  }

  :is(
    .section--butter,
    .accent--gold .section--gradient,
    .accent--gold .section--accent,
    .accent--gold .tier-fit__card.is-current,
    .accent--gold .tier-seo__card,
    .accent--gold .pt-callout__card,
    .accent--gold .pt-choice__card.is-current,
    .accent--gold .pt-facts__more,
    .accent--gold .ub-callout__card,
    .accent--gold .ub-fit__half,
    .accent--gold .ub-routes__media,
    .accent--gold .ub-do--bubbles .ub-do__item,
    .accent--gold .cs-card,
    .accent--gold .cs-shot__stage,
    .accent--gold .cs-facts__more,
    .upa-t--network .upa-compare__head,
    .feel-card:nth-child(3n),
    .plan__head--butter,
    .tint--butter .study-card__media
  )::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background-image: var(--grain);
    mix-blend-mode: multiply;
    opacity: var(--grain-opacity);
    pointer-events: none;
  }

  @media (prefers-reduced-transparency: reduce) {
    :is(
      .section--butter,
      .accent--gold .section--gradient,
      .accent--gold .section--accent,
      .accent--gold .tier-fit__card.is-current,
      .accent--gold .tier-seo__card,
      .accent--gold .pt-callout__card,
      .accent--gold .pt-choice__card.is-current,
      .accent--gold .pt-facts__more,
      .accent--gold .ub-callout__card,
      .accent--gold .ub-fit__half,
      .accent--gold .ub-routes__media,
      .accent--gold .ub-do--bubbles .ub-do__item,
      .accent--gold .cs-card,
      .accent--gold .cs-shot__stage,
      .accent--gold .cs-facts__more,
      .upa-t--network .upa-compare__head,
      .feel-card:nth-child(3n),
      .plan__head--butter,
      .tint--butter .study-card__media
    )::before {
      content: none;
    }
  }

  .has-accent .hero__title em {
    padding-inline: 0.06em;
    background: linear-gradient(var(--accent-mark, var(--accent)), var(--accent-mark, var(--accent))) 0 88% / 100% 0.3em no-repeat;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }

  .pill--accent {
    background: var(--accent);
  }

  /* Highlighted word in a peach box */
  .hl {
    padding: 0 0.18em;
    border-radius: 0.3em;
    background: var(--color-accent-2);
    color: inherit;
    box-decoration-break: clone;
  }

  /* ---------- Image and text ---------- */

  .imagetext {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
    align-items: center;
  }

  .imagetext__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
  }

  /* the optional two-by-two grid under the text (a table; owner, 2026-11-26) */
  .imagetext__grid {
    width: 100%;
    margin-block: var(--space-4) 0;
    border-collapse: collapse;
    font-size: var(--step--1);
    line-height: 1.5;
  }

  .imagetext__grid caption {
    margin-block-end: var(--space-2);
    font-weight: 600;
    text-align: start;
  }

  .imagetext__grid th,
  .imagetext__grid td {
    padding: var(--space-2) var(--space-2) var(--space-2) 0;
    border-block-end: 1px solid var(--color-line);
    text-align: start;
    vertical-align: top;
  }

  .imagetext__grid thead th {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .imagetext__grid tbody th {
    font-weight: 600;
    white-space: nowrap;
  }

  .imagetext__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--step-4);
    font-weight: var(--weight-display);
    line-height: var(--leading-tight);
  }

  @media (min-width: 48rem) {
    .imagetext {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: var(--space-6);
    }

    .imagetext--right .imagetext__media {
      order: 2;
    }
  }

  /* ---------- Cards (bordered) ---------- */

  .card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: var(--border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    color: var(--color-ink);
  }

  .card__media img {
    display: block;
    width: 100%;
    height: auto;
    border-bottom: var(--border);
  }

  .card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-4);
  }

  .card__label {
    align-self: flex-start;
  }

  .card__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--step-2);
    font-weight: var(--weight-heading);
    line-height: var(--leading-heading);
  }

  .card__price {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--step-1);
    font-weight: var(--weight-heading-sm);
  }

  .card__text > :first-child {
    margin-block-start: 0;
  }

  .card__text > :last-child {
    margin-block-end: 0;
  }

  .card__body > .btn {
    align-self: flex-start;
    margin-block-start: auto;
  }

  /* ---------- Tiles on black: home.css ---------- */

  /* ---------- Steps ---------- */

  .steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
  }

  .step {
    padding: var(--pad-card);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-butter) 55%, var(--color-accent-2) 100%);
    color: var(--color-ink);
    text-align: center;
  }

  .step > * + * {
    margin-block-start: var(--space-2);
  }

  .step__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--step-title);
    font-weight: var(--weight-heading-sm);
    line-height: var(--leading-heading);
  }

  .step__text {
    font-size: var(--step--1);
  }

  .step__text > :first-child {
    margin-block-start: 0;
  }

  .step__text > :last-child {
    margin-block-end: 0;
  }

  /* ---------- Timeline (cards block, timeline style) ---------- */

  /* Numbered discs on one line: vertical on phones and tablets, one row
     from 64rem (as many columns as steps). Each step but the last draws the
     segment from its disc's center to the next disc's center: a faint track
     (::before) and the ink fill (::after) that motion.css scales in as the
     timeline scrolls into view; without motion the fill is simply there.
     The discs take the page accent (ink on mint, peach and butter 9.4:1 or
     better); the line stays ink so it reads on every accent. The span
     marker under the line brackets the whole row. */
  .timeline {
    --tl-disc: 3rem;
    --tl-gap: var(--space-5);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--tl-gap);
  }

  .timeline__step {
    position: relative;
    display: grid;
    grid-template-columns: var(--tl-disc) minmax(0, 1fr);
    column-gap: var(--space-3);
    align-content: start;
  }

  .timeline__step:not(:last-child)::before,
  .timeline__step:not(:last-child)::after {
    content: "";
    position: absolute;
    inset-inline-start: calc(var(--tl-disc) / 2 - 0.5px);
    top: calc(var(--tl-disc) / 2);
    width: 1px;
    height: calc(100% + var(--tl-gap));
    background: var(--color-ink-track);
  }

  .timeline__step:not(:last-child)::after {
    background: var(--color-ink);
    transform-origin: top;
  }

  .timeline__num {
    position: relative;
    z-index: 1;
    display: grid;
    grid-row: 1 / span 2;
    place-items: center;
    width: var(--tl-disc);
    height: var(--tl-disc);
    border: var(--border);
    border-radius: 50%;
    background: var(--accent);
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
  }

  .timeline__title {
    margin: 0;
    padding-block-start: 0.6rem;
    font-family: var(--font-heading);
    font-size: var(--step-title);
    font-weight: var(--weight-heading-sm);
    line-height: var(--leading-heading);
  }

  .timeline__text {
    grid-column: 2;
    margin-block-start: var(--space-2);
  }

  .timeline__text > :first-child {
    margin-block-start: 0;
  }

  .timeline__text > :last-child {
    margin-block-end: 0;
  }

  .timeline__span {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin: var(--space-5) 0 0;
  }

  .timeline__span-text {
    flex: 0 1 auto;
    max-width: 40rem;
    padding: 0.5em 1.1em;
    border: var(--border);
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: var(--color-ink);
    font-size: var(--step--1);
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
  }

  @media (min-width: 64rem) {
    .timeline {
      --tl-gap: var(--space-4);
      grid-auto-columns: minmax(0, 1fr);
      grid-auto-flow: column;
      column-gap: var(--tl-gap);
    }

    .timeline__step {
      grid-template-columns: minmax(0, 1fr);
      row-gap: var(--space-3);
    }

    .timeline__step:not(:last-child)::before,
    .timeline__step:not(:last-child)::after {
      inset-inline-start: calc(var(--tl-disc) / 2);
      top: calc(var(--tl-disc) / 2 - 0.5px);
      width: calc(100% + var(--tl-gap));
      height: 1px;
    }

    .timeline__step:not(:last-child)::after {
      transform-origin: left;
    }

    .timeline__num {
      grid-row: auto;
    }

    .timeline__title {
      padding-block-start: 0;
    }

    .timeline__text {
      grid-column: 1;
      margin-block-start: 0;
    }

    /* The bracket: under the whole row, from the first disc's center to the
       last step's end (the span runs from the call to launch) */
    .timeline__span {
      margin-inline: calc(var(--tl-disc) / 2);
    }

    .timeline__span::before,
    .timeline__span::after {
      content: "";
      flex: 1 1 2rem;
      height: 0.75rem;
      border-block-end: var(--border);
      transform: translateY(-0.375rem);
    }

    .timeline__span::before {
      border-inline-start: var(--border);
    }

    .timeline__span::after {
      border-inline-end: var(--border);
    }
  }

  /* ---------- Options (stacked) ---------- */

  .options {
    max-width: 60rem;
    margin-inline: auto;
    border: var(--border);
    background: var(--color-white);
    color: var(--color-ink);
  }

  .option {
    padding: var(--space-5) var(--space-4);
  }

  .option + .option {
    border-top: var(--border);
  }

  .option > * + * {
    margin-block-start: var(--space-2);
  }

  .option__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--step-4);
    font-weight: var(--weight-heading);
    line-height: var(--leading-heading);
  }

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

  .option__text > :first-child {
    margin-block-start: 0;
  }

  .option > .btn {
    margin-block-start: var(--space-3);
  }

  @media (min-width: 48rem) {
    .option {
      padding: var(--space-5) var(--space-6);
    }
  }

  /* ---------- Pricing columns ---------- */

  .pricing {
    gap: var(--space-4);
    padding-inline-end: 6px;
    padding-block-end: 6px;
  }

  .plan {
    display: flex;
    flex-direction: column;
    border: var(--border);
    background: var(--color-white);
    color: var(--color-ink);
    box-shadow: var(--shadow-hard);
  }

  .plan__head {
    padding: var(--space-3) var(--space-3) 0;
    border-bottom: var(--border);
    text-align: center;
  }

  .plan__head--butter {
    background: var(--color-butter);
  }

  .plan__head--peach {
    background: var(--color-accent-2);
  }

  .plan__head--mint {
    background: var(--color-brand);
  }

  .plan__title {
    margin: 0 0 var(--space-3);
    font-family: var(--font-heading);
    font-size: var(--step-3);
    font-weight: var(--weight-heading);
    line-height: var(--leading-heading);
  }

  .plan__badge {
    margin: calc(var(--space-3) * -1) 0 0;
    padding: 0.5rem var(--space-2);
    background: var(--color-ink);
    color: var(--color-white);
  }

  .plan__body {
    flex: 1;
    padding: var(--space-4) var(--space-3);
  }

  .plan__body > * + * {
    margin-block-start: var(--space-2);
  }

  .plan__price {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--step-4);
    font-weight: var(--weight-heading);
    line-height: 1;
  }

  .plan__foot {
    padding: 0 var(--space-3) var(--space-4);
  }

  .plan__foot .btn {
    display: flex;
    width: 100%;
  }

  /* ---------- Checklist (.checks: the .checklist name belongs to site.css) ---------- */

  .checks {
    max-width: 60rem;
    margin-inline: auto;
    gap: var(--space-2) var(--space-4);
  }

  .checks__title {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--step-0);
    font-weight: var(--weight-strong);
  }

  .checks__text > :first-child {
    margin-block-start: 0;
  }

  .checks__text > :last-child {
    margin-block-end: 0;
  }

  /* A list inside a checklist item (the Network page: what the brand keeps,
     what a location owns): plain lines under the item title, no second marker */
  .checks__text ul {
    margin: var(--space-1) 0 0;
    padding: 0;
    list-style: none;
  }

  .checks__text li + li {
    margin-block-start: 0.25rem;
  }

  /* The cards block: Text under the cards */
  .cards__outro {
    max-width: var(--measure);
    margin: var(--space-5) auto 0;
    text-align: center;
  }

  /* ---------- Icon cards (cards block, icons style) ---------- */

  /* A paper card per item: the icon on a pale accent disc, the title, the
     text. The SVGs (site/snippets/icons/included/) draw with four classes:
     ic-fill (the page accent), ic-line (ink outline), ic-paper (a white
     sheet in front), ic-dot (small ink dots); ic-dash dashes a line. A lone
     last card spans the row, so no row ends with one orphan card. */
  .icon-cards {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .icon-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--pad-card);
    border: var(--border);
    border-radius: var(--radius-sm);
    background: var(--color-paper);
    color: var(--color-ink);
  }

  .icon-card__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: var(--accent-mark, var(--accent-pale));
  }

  .icon-card__icon svg {
    display: block;
    width: 3rem;
    height: 3rem;
  }

  :is(.icon-card, .story__icon, .feel-card__icon) .ic-fill {
    fill: var(--accent);
  }

  :is(.icon-card, .story__icon, .feel-card__icon) .ic-line {
    fill: none;
    stroke: var(--color-ink);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  :is(.icon-card, .story__icon, .feel-card__icon) .ic-paper {
    fill: var(--color-white);
  }

  :is(.icon-card, .story__icon, .feel-card__icon) .ic-dot {
    fill: var(--color-ink);
  }

  :is(.icon-card, .story__icon, .feel-card__icon) .ic-dash {
    stroke-dasharray: 3 4;
  }

  .icon-card__body > * + * {
    margin-block-start: var(--space-2);
  }

  .icon-card__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--step-title);
    font-weight: var(--weight-heading-sm);
    line-height: var(--leading-heading);
  }

  .icon-card__text > :first-child {
    margin-block-start: 0;
  }

  .icon-card__text > :last-child {
    margin-block-end: 0;
  }

  @media (min-width: 40rem) and (max-width: 63.99rem) {
    .icon-cards > .icon-card:last-child:nth-child(odd) {
      grid-column: 1 / -1;
      flex-direction: row;
      align-items: flex-start;
    }
  }

  @media (min-width: 64rem) {
    .icon-cards.cols-3 > .icon-card:last-child:nth-child(3n + 1) {
      grid-column: 1 / -1;
      flex-direction: row;
      align-items: flex-start;
    }

    .icon-cards.cols-3 > .icon-card:last-child:nth-child(3n + 1) .icon-card__body {
      max-width: var(--measure);
    }
  }

  /* ---------- Testimonials ---------- */

  /* Featured: the first one large, the rest as cards under it */
  .testimonials-more {
    margin-block-start: var(--space-6);
  }

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

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

    .testimonials--cards:has(> :nth-child(3):last-child) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  /*
   * More than three cards: the grid wraps onto more rows. Never a
   * horizontally scrolling row: content wider than the page makes PDF and
   * print rendering shrink the whole page, which left a blank band above
   * the footer (body min-height 100vh plus main flex-grow).
   */
  @media (min-width: 64rem) {
    .testimonials--scroll {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  .testimonial {
    position: relative;
    margin: 0;
  }

  .testimonials--cards .testimonial {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-5) var(--space-4) var(--space-4);
    border: var(--border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    color: var(--color-ink);
    text-align: left;
  }

  .testimonials--cards .testimonial__quote {
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: var(--leading-body);
  }

  .testimonial__quote p + p {
    margin-block-start: var(--space-2);
  }

  .testimonials--cards .testimonial::before {
    content: "\201C";
    position: absolute;
    top: var(--space-2);
    left: var(--space-4);
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: var(--weight-heading-sm);
    line-height: 1;
    color: var(--color-brand);
  }

  .testimonial__quote {
    margin: 0;
    padding: 0;
    border: 0;
  }

  .testimonials--cards .testimonial__quote {
    flex: 1;
  }

  .testimonial__quote > :first-child {
    margin-block-start: 0;
  }

  .testimonial__quote > :last-child {
    margin-block-end: 0;
  }

  .testimonial__by {
    display: flex;
    align-items: center;
    gap: var(--space-2);
  }

  .testimonial__avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
  }

  .testimonial__meta {
    display: flex;
    flex-direction: column;
    font-size: var(--label-size);
    font-weight: var(--label-weight);
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
  }

  .testimonial__name {
    font-weight: var(--weight-strong);
  }

  .testimonials--large {
    display: grid;
    gap: var(--space-6);
  }

  .testimonials--large .testimonial {
    max-width: 52rem;
    margin-inline: auto;
    text-align: center;
  }

  .testimonials--large .testimonial__quote {
    font-family: var(--font-heading);
    font-size: var(--step-4);
    font-weight: var(--weight-display);
    line-height: 1.3;
    text-wrap: balance;
  }

  .testimonials--large .testimonial__quote > p::before {
    content: "\201C";
  }

  .testimonials--large .testimonial__quote > p::after {
    content: "\201D";
  }

  .testimonials--large .testimonial__by {
    justify-content: center;
    margin-block-start: var(--space-4);
  }

  /* Carousel (testimonials block, carousel style; About): about.css */

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

  .faq {
    max-width: 52rem;
    margin-inline: auto;
    border-top: var(--border);
  }

  .faq__item {
    border-bottom: var(--border);
  }

  .faq__question {
    position: relative;
    padding: var(--space-3) var(--space-6) var(--space-3) 0;
    font-family: var(--font-heading);
    font-size: var(--step-title);
    font-weight: var(--weight-heading-sm);
    line-height: var(--leading-heading);
    list-style: none;
    cursor: pointer;
  }

  .faq__question::-webkit-details-marker {
    display: none;
  }

  /* Plus icon that turns into a minus when open */
  .faq__question::before,
  .faq__question::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.5rem;
    width: 1rem;
    height: 2px;
    background: currentColor;
    transform: translateY(-50%);
  }

  .faq__question::after {
    transform: translateY(-50%) rotate(90deg);
  }

  .faq__item[open] > .faq__question::after {
    transform: translateY(-50%) rotate(0deg);
  }

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

  .faq__answer {
    max-width: var(--measure);
    padding-block: 0 var(--space-3);
  }

  .faq__answer > :first-child {
    margin-block-start: 0;
  }

  .faq__answer > :last-child {
    margin-block-end: 0;
  }

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

  .logos__eyebrow {
    margin-block-end: var(--space-head);
    text-align: center;
  }

  .logos__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-4) var(--space-6);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .logos__item {
    display: flex;
    align-items: center;
  }

  .logos__logo {
    display: block;
    width: auto;
    max-width: 10rem;
    height: 2.5rem;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.75;
  }

  /* Client row: the files are trimmed to the mark, so the 10rem cap keeps
     wide wordmarks the same size as the press bar's, and the taller box lets
     the compact, stacked marks reach the same visual weight. */
  .logos--row .logos__logo {
    height: 3rem;
  }

  /* Press marquee (logos block, "Scrolling" style): full viewport width with
     no side gutter. The box is 100vw wide and centered on the container; the
     section clips the scrollbar-width overshoot so the page never scrolls
     sideways. Static version: the first set as a centered, wrapped row and the
     duplicate set hidden. motion.css switches to the scrolling version under
     prefers-reduced-motion: no-preference. */
  .block-logos {
    overflow-x: clip;
  }

  .press-marquee {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    overflow: hidden;
  }

  .press-marquee__track {
    display: flex;
    justify-content: center;
  }

  .press-marquee__set {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-4) var(--space-6);
    margin: 0;
    padding: 0 var(--gutter);
    list-style: none;
  }

  .press-marquee__set[aria-hidden="true"] {
    display: none;
  }

  .press-marquee__item {
    display: flex;
    align-items: center;
  }

  /* ---------- Pills, Industry groups: home.css ---------- */

  /* ---------- Location map: public/assets/css/home-map.css, linked by the block ---------- */

  /* ---------- Call to action band ---------- */

  /* Full-width CTA blocks render through the cta-band snippet (site.css).
     .cta is the compact version inside a narrow article or legal column. */

  .cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4) var(--space-6);
  }

  .cta__body {
    flex: 1 1 24rem;
    max-width: 44rem;
  }

  .cta__body > * + * {
    margin-block-start: var(--space-3);
  }

  .cta__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--step-6);
    font-weight: var(--weight-display);
    line-height: var(--leading-tight);
    text-wrap: balance;
  }

  .cta__text {
    margin: 0;
  }

  .cta__buttons {
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
  }

  .cta--narrow {
    padding: var(--space-4);
    border: var(--border);
  }

  .cta--narrow .cta__title {
    font-size: var(--step-4);
  }

  /* Closing band shapes (cta block "Animated shapes"; About): a mint disc, a
     peach blob, a small gold dot and an ink ring behind the copy, absolutely
     positioned in the clipped band (no layout). Ink on the mint and peach
     shapes passes AA (12.6, 9.4:1); the gold dot never sits under text. They float and turn in motion.css. */
  .cta-band--shapes {
    position: relative;
    overflow: clip;
    isolation: isolate;
  }

  .cta-band--shapes > .container {
    position: relative;
    z-index: 1;
  }

  .cta-band__shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }

  .cta-shape {
    position: absolute;
    aspect-ratio: 1;
    border-radius: 50%;
  }

  .cta-shape--mint {
    bottom: -9rem;
    left: -6rem;
    width: 22rem;
    background: var(--color-brand);
    opacity: 0.8;
  }

  .cta-shape--peach {
    top: -5rem;
    right: 12%;
    width: 13rem;
    border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%;
    background: var(--color-accent-2);
    opacity: 0.75;
  }

  .cta-shape--gold {
    top: 22%;
    right: 4%;
    width: 4.5rem;
    background: var(--color-gold-soft);
  }

  .cta-shape--ring {
    bottom: 12%;
    left: 38%;
    width: 7rem;
    border: var(--border);
    opacity: 0.25;
  }

  /* A black button would disappear on a black band: invert it there
     (covers the cta-band and footer-like bands that use button-group) */
  .section--ink .btn--fill {
    --_bg: var(--color-white);
    --_fg: var(--color-ink);
    --_border: var(--color-white);
    --_hover-bg: var(--color-paper);
    --_hover-fg: var(--color-ink);
  }

  /* ---------- Narrow mode (blocks inside an article or legal column) ---------- */

  .narrow-block {
    margin-block: var(--space-5);
  }

  .narrow-block:not(.section--paper) {
    padding: var(--space-4);
  }

  .narrow-block .cols-2,
  .narrow-block .cols-3,
  .narrow-block .cols-4 {
    grid-template-columns: 1fr;
  }

  /* ---------- Marquee (ticker band): home.css ---------- */

  /* ---------- Embed (booking card, form) ---------- */

  .embed {
    overflow: hidden;
    border: var(--border);
    background: var(--color-white);
    color: var(--color-ink);
  }

  .embed__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-1) var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-bottom: var(--border);
    background: var(--color-brand);
  }

  .embed__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--step-2);
    font-weight: var(--weight-heading);
    line-height: var(--leading-heading);
  }

  .embed__duration {
    margin: 0;
    font-size: var(--label-size);
    font-weight: var(--label-weight);
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
  }

  /* A scheduler is the call pages' booking card (uplift-c.css .c-book .embed): rounded, hard shadow */
  .embed--scheduler {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hard);
  }

  /* A booking with its host (blocks/embed.php): the card, then the host; from 60rem the host on the
     left and the card on the right at the call pages' proportions, so the portal's page gets the same
     width there (about 670 px at 1440) and lays out the same way */
  .embed-book {
    display: grid;
    grid-template-areas: "card" "host";
    gap: var(--space-5);
  }

  .embed-book > .embed {
    grid-area: card;
    min-width: 0;
  }

  .embed-book__host {
    grid-area: host;
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: var(--border);
  }

  .embed__avatar {
    flex: none;
    width: 5.5rem;
    height: 5.5rem;
    border: var(--border);
    border-radius: 50%;
    background: var(--color-brand);
    object-fit: cover;
  }

  .embed__text {
    margin: 0;
  }

  .embed--form .embed__text {
    padding: var(--space-4) var(--space-4) 0;
  }

  .embed__frame {
    display: block;
    width: 100%;
    min-height: 900px;
    border: 0;
  }

  /* A booking page on the client portal: a button, never a frame (the portal cannot be framed) */
  .embed__book {
    padding: var(--space-4);
  }

  @media (min-width: 60rem) {
    .embed-book {
      grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
      grid-template-areas: "host card";
      align-items: start;
      gap: var(--space-5) var(--space-6);
    }

    .embed-book__host {
      flex-direction: column;
      align-self: center;
      padding-top: 0;
      border-top: 0;
    }
  }

  /* A booking with a column of its own (blocks/embed.php, Site Insight, owner 2026-12-01): the column
     above the card on phones; from 60rem beside it, on the left, its top on the card's top */
  .embed-book--side {
    grid-template-areas: "side" "card";
  }

  .embed-book__side {
    grid-area: side;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    min-width: 0;
  }

  .embed-book__title {
    margin: 0;
  }

  .embed-book__price {
    margin: 0;
    color: var(--color-ink);
    font-family: var(--font-heading);
    font-size: var(--step-3);
    font-weight: var(--weight-heading);
    line-height: var(--leading-tight);
  }

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

  .embed-book__points li {
    position: relative;
    padding-left: var(--space-4);
  }

  .embed-book__points li::before {
    content: "";
    position: absolute;
    top: 0.6em;
    left: 0;
    width: 0.5rem;
    height: 0.5rem;
    border: var(--border);
    border-radius: 50%;
    background: var(--color-brand);
  }

  .embed-book__note {
    margin: 0;
    padding-top: var(--space-3);
    border-top: var(--border);
  }

  .embed-book--side .embed-book__host {
    margin-top: var(--space-2);
    padding-top: 0;
    border-top: 0;
  }

  /* the card's title is its label here: the column's heading is the section's */
  .embed-book--side .embed__title {
    font-size: var(--step-1);
  }

  @media (min-width: 60rem) {
    .embed-book--side {
      grid-template-areas: "side card";
    }

    .embed-book--side .embed-book__host {
      flex-direction: row;
      align-items: center;
      align-self: stretch;
    }
  }

  /* ---------- Prose section (core blocks) ---------- */

  .prose > hr.line {
    height: 0;
    margin-block: var(--space-5);
    border: 0;
    border-top: var(--border);
  }

  .figure,
  .gallery,
  .video,
  .quote {
    margin: 0;
  }

  .prose > .figure,
  .prose > .gallery,
  .prose > .video,
  .prose > .quote {
    margin-block: var(--space-5);
  }

  .figure__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
  }

  .figure__link {
    display: block;
  }

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

  .figure__caption {
    margin-block-start: var(--space-2);
    color: var(--color-muted);
    font-size: var(--step--1);
    line-height: var(--leading-body);
  }

  .gallery__grid {
    margin: 0;
    padding: 0;
    list-style: none;
    gap: var(--space-2);
  }

  .gallery__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
  }

  .video__frame {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--color-ink);
  }

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

  .quote {
    padding-inline-start: var(--space-4);
    border-inline-start: 3px solid var(--color-brand);
  }

  .quote__text {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: var(--font-heading);
    font-size: var(--step-2);
    font-weight: var(--weight-heading);
    line-height: 1.3;
  }

  .quote__text > :first-child {
    margin-block-start: 0;
  }

  .quote__text > :last-child {
    margin-block-end: 0;
  }

  .quote__by {
    margin-block-start: var(--space-2);
    font-size: var(--step--1);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  /* ---------- Statement (one large sentence; black band, white type) ---------- */

  /* Mint on ink is 12.6:1 and white on ink 17.7:1 (AA at any size). The
     sentence is Trirong Thin from 36px up, where the hairlines still read. */
  .statement {
    max-width: 56rem;
  }

  .statement > * + * {
    margin-block-start: var(--space-3);
  }

  .statement::before {
    content: "";
    display: block;
    width: 4rem;
    height: 1px;
    margin-block-end: var(--space-4);
    background: var(--accent-mark, var(--accent));
  }

  .statement__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--step-5);
    font-weight: var(--weight-display);
    line-height: var(--leading-tight);
    text-wrap: balance;
  }

  /* White on ink like all text there (design review #64); mint is only for
     an italic accent word */
  .section--ink .statement__title,
  .section--ink .statement__eyebrow {
    color: var(--color-white);
  }

  .section--ink .statement__title em {
    color: var(--color-brand);
  }

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

  .statement__text > :first-child {
    margin-block-start: 0;
  }

  .statement__text > :last-child {
    margin-block-end: 0;
  }

  .statement > .statement__actions {
    margin-block-start: var(--space-5);
  }

  /* ---------- Feeling cards, Story timeline, Team (About): about.css ---------- */

  /* ---------- Accent pages (the tier pages): tight runs ---------- */

  /* Section heads, intros and the FAQ stay centered here like everywhere
     (the component rules at the top: margin auto, no accent override). Prose
     runs sit at the container's left in a measure-wide column. */
  .has-accent .prose-section > .container.measure {
    width: min(100% - 2 * var(--gutter), var(--container));
    max-width: none;
  }

  .has-accent .prose-section .prose > * {
    max-width: var(--measure);
  }

  /* Two sections on the same background in a row read as one band: the
     second drops its top padding, so the gap is one section pad, not two */
  .has-accent :is(.section--paper, .prose-section) + :is(.section--paper, .prose-section),
  .has-accent .section--white + .section--white,
  .has-accent .section--accent + .section--accent,
  .has-accent .section--mint + .ub-note.section--mint {
    padding-block-start: 0;
  }

  /* Type and spacing item 3 (2026-11-30): every block head printed above its
     block's content (site/snippets/block-head.php, straight inside the
     block's root) leaves --space-head under it, like .section__head. A page's
     own stylesheet in a later layer can still set its own. */
  .section .container > * > .block-head {
    margin-block-end: var(--space-head);
  }

  /* Reduced motion needs no rules here: every transition and animation lives
     in the motion layer under prefers-reduced-motion: no-preference */
}
