/* ─────────────────────────────────────────────────────────────────────────
   FRONT PAGE — the layout of view.the-gathering.earth/ (METIS-pub#390), and
   of each gathering's own page, which opens in the same language
   (local_gathering.html: `.fp-gathering-*`).

   Built to the chosen design, the Round 3 canvas artboard "Option 1 — the reel
   leads" (screenshots in specs/future/view-front-page/screenshots/R3-*). The
   first build reused the brand's components but not the design's layout — it
   sat in the old 1200px box, its green bands had no padding, the road was a
   flat strip — and it looked nothing like the picture. This file is that
   layout: full-bleed bands, the road on a curve, tall video cards, a real
   honeycomb.

   What is NOT here: the brand's vocabulary. `.tg-title`, `.tg-eyebrow`,
   `.tg-dark`, `.tg-flavour`, `.tg-hex`, `.tg-logomark`, `.tg-link`,
   `.tg-button` and `.tg-tickets` all live in gathering/css/theme.css, scoped
   to `[data-app="gathering"]`, which design_1.html sets.

   One cascade fact shapes every rule below. This file is `@layer base`; the
   theme is `@layer components`, which wins whatever the specificity. So a
   property the theme sets on a `.tg-*` element cannot be overridden here —
   a title's size is changed by setting `--tg-fs-title` on it (the theme reads
   that variable; nothing in the theme declares it on the element), never by
   `font-size`.

   No literal colour, size, radius, shadow or duration: tokens only, and
   `color-mix` is `in oklab`. Lengths that are layout (a card width, a road
   height) are rem, which the token check does not govern and should not.
   ───────────────────────────────────────────────────────────────────────── */

@layer base {
  .fp-main {
    /* The design's 96px side margin at 1440px, shrinking to 16px on a phone. */
    --fp-gutter: clamp(var(--space-4), 6.7vw, 6rem);
    /* The design's 104px between a band's edge and its content. */
    --fp-band-pad: clamp(var(--space-12), 7.2vw, 6.5rem);
    /* Small caps labels: the accent taken towards the ink, so a 12px label
       holds contrast on the canvas; on forest green it lifts towards white. */
    --fp-label: color-mix(in oklab, var(--color-accent) 70%, var(--color-text));
    display: block;
  }

  /* ── The logo's rounded hexagon ─────────────────────────────────────────
     Every hexagon on these pages — faces, rims, marks, the countdown — reads
     `--tg-hex-clip`, so swapping that one token rounds them all. Only where
     `shape()` exists: elsewhere the token stays the sharp polygon, which is a
     hexagon still (brand.css says why it must not be used bare). */
  @supports (clip-path: shape(from 0% 0%, line to 100% 0%, line to 0% 100%, close)) {
    .fp-main { --tg-hex-clip: var(--tg-hex-clip-soft); }
  }

  /* ── Bands and the content column ───────────────────────────────────── */
  .d1-section.fp-band {
    margin: 0;
    padding-block: var(--fp-band-pad);
    /* The nav is fixed; a jump to #watch should not land under it. */
    scroll-margin-top: var(--space-12);
  }

  .d1-section.fp-band--hero {
    /* Clear the fixed nav, then the design's air above the title. */
    padding-top: calc(var(--space-16) * 2);
    padding-bottom: var(--space-12);
  }

  .d1-section.fp-band--ruled { border-top: 1px solid var(--tg-hairline); }

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

  /* A band's heading row: title and action on the left, a short lede on the
     right, bottoms aligned — the video band, the horizon and the archive. */
  .fp-bandhead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
  }

  .fp-bandhead__main {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    min-width: 0;
  }

  .fp-lede {
    max-width: 21rem;
    font-size: var(--text-lg);
    line-height: 1.55;
    color: var(--color-text-muted);
  }

  .fp-lede--end { text-align: right; }

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

  /* The ticket button's slot. Exactly one is shown per screen size — the
     wide one in the video band (or the details, with no band), the phone one
     in the hero callout. A wrapper, because the button's own `display` comes
     from the theme's later layer and cannot be switched off from here. */
  .fp-tickets { display: contents; }
  .fp-tickets--phone { display: none; }

  /* The mono caps label without the eyebrow's tick: "Next stop", "Local
     team". */
  .fp-kicker {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    letter-spacing: var(--tg-ls-eyebrow);
    text-transform: uppercase;
    color: var(--fp-label);
  }

  /* ── Hero ───────────────────────────────────────────────────────────── */
  .fp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
    gap: var(--space-12);
    align-items: start;
  }

  .fp-hero__lede {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
  }

  .fp-hero__next {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    margin-top: var(--space-2);
    padding-left: var(--space-6);
    border-left: 1px solid var(--color-accent);
  }

  .fp-hero__sentence {
    font-family: var(--font-display);
    font-size: var(--tg-fs-intro);
    line-height: 1.18;
    color: var(--color-text);
  }

  .fp-hero__then {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
    text-underline-offset: 0.15em;
  }

  .fp-hero__then:hover { color: var(--tg-link); }

  /* ── The road ───────────────────────────────────────────────────────────
     Positions come from web/view/front_road.py as `--x` / `--y` percentages
     of `.fp-road__canvas`; the SVG draws the same curve in a 1000×100 box
     stretched to it. `vector-effect: non-scaling-stroke` keeps the line and
     its dots the same weight however far the box is stretched. Each stop is a
     zero-size point at its place on the curve; its mark is centred on the
     point and its label hangs above or below it. */
  .fp-road { margin: var(--space-16) 0 0; }

  .fp-road__canvas {
    position: relative;
    height: 24rem;
  }

  .fp-road__line {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  .fp-road__line polyline {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
  }

  /* Dots, not dashes: the road ahead is not built yet. */
  .fp-road__ahead { stroke-dasharray: 0.5 9; }

  .fp-road__stops {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    inset: 0;
  }

  .fp-road__stop,
  .fp-road__today {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 0;
    height: 0;
  }

  .fp-road__stop { --mark-w: 3.75rem; }
  .fp-road__stop--future { --mark-w: 4.75rem; }
  .fp-road__stop--next { --mark-w: 10.5rem; }

  .fp-road__stop { --mark-h: calc(var(--mark-w) * var(--tg-hex-ratio)); }

  .fp-road__link {
    position: absolute;
    left: 0;
    top: 0;
    color: inherit;
    text-decoration: none;
  }

  /* The wrapper is placed; the hexagon inside it is drawn. `.tg-hex` itself
     cannot be absolutely positioned from here — the theme sets its
     `position` from a later layer. */
  .fp-road__mark,
  .fp-road__big {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--mark-w);
    transform: translate(-50%, -50%);
  }

  /* A canvas-coloured hexagon behind the mark, so the line stops at the mark
     instead of running through it. */
  .fp-road__mark .tg-hex {
    display: grid;
    place-items: center;
    width: 100%;
    background: var(--color-bg);
  }

  .fp-road__mark .tg-logomark {
    width: 77%;
    color: var(--stop-color);
    transition: transform var(--dur-base) var(--ease-out);
  }

  .fp-road__link:hover .fp-road__mark .tg-logomark { transform: scale(1.08); }

  /* The big stops grow too. `scale`, not `transform`: fp-settle's fill owns
     this element's transform, so a hover transform would be ignored. */
  .fp-road__big-hex { transition: scale var(--dur-base) var(--ease-out); }
  .fp-road__link:is(:hover, :focus-visible) .fp-road__big-hex { scale: 1.06; }

  @media (prefers-reduced-motion: reduce) {
    .fp-road__link:is(:hover, :focus-visible) .fp-road__big-hex { scale: none; }
  }

  /* The link is a zero-size point (everything in it is placed absolutely),
     so the global focus ring would outline nothing. Ring the mark instead —
     its wrapper, which is not clipped to the hexagon. */
  .fp-road__link:focus-visible { outline: none; }

  .fp-road__link:focus-visible :is(.fp-road__mark, .fp-road__big) {
    outline: 2px solid var(--focus-ring);
    outline-offset: var(--space-1);
  }

  .fp-road__big-hex {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    background: var(--stop-color);
    color: var(--color-bg);
  }

  .fp-road__big-figure {
    font-family: var(--font-display);
    font-weight: var(--tg-w-light);
    font-size: var(--tg-fs-title-hero);
    line-height: 0.95;
  }

  /* A year or a word is four letters wide, not two digits: one step down so
     it stays inside the hexagon. */
  .fp-road__big-figure--word { font-size: var(--tg-fs-title); }

  /* The name inside the hexagon: one line, trimmed rather than spilling past
     the edges ("USA California" is wider than the hexagon's middle). */
  .fp-road__big-name {
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .fp-road__big-kicker {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: var(--tg-ls-eyebrow);
    text-transform: uppercase;
  }

  .fp-road__label {
    position: absolute;
    left: 0;
    width: 11rem;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    text-align: center;
  }

  .fp-road__stop--below .fp-road__label { top: calc(var(--mark-h) / 2 + var(--space-2)); }
  .fp-road__stop--above .fp-road__label { bottom: calc(var(--mark-h) / 2 + var(--space-2)); }
  .fp-road__stop--next .fp-road__label { width: 14rem; }

  .fp-road__year {
    font-family: var(--font-display);
    font-weight: var(--tg-w-light);
    font-size: var(--tg-t-intro);
    line-height: 1;
    color: var(--color-text-muted);
  }

  .fp-road__stop--future .fp-road__year {
    font-weight: var(--tg-w-regular);
    color: var(--color-text);
  }

  .fp-road__name {
    font-family: var(--font-ui);
    font-weight: var(--tg-w-medium);
    font-size: var(--text-lg);
    line-height: 1.25;
  }

  .fp-road__stop--future .fp-road__name,
  .fp-road__stop--next .fp-road__name { font-weight: var(--tg-w-semibold); }

  .fp-road__link:hover .fp-road__name { color: var(--tg-link); }

  .fp-road__meta {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: var(--tg-ls-eyebrow);
    text-transform: uppercase;
    color: var(--fp-label);
  }

  /* Today: a hairline across the road, a dot where it meets the curve, and
     the flag at the top of the hairline. */
  .fp-road__today::before {
    content: "";
    position: absolute;
    left: 0;
    top: -6.5rem;
    height: 18rem;
    border-left: 1px solid var(--color-text);
  }

  .fp-road__today::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: var(--space-3);
    height: var(--space-3);
    border-radius: var(--radius-full);
    background: var(--color-text);
    transform: translate(-50%, -50%);
  }

  .fp-road__today-flag {
    position: absolute;
    left: 0;
    bottom: 6.5rem;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    background: var(--color-text);
    color: var(--color-bg);
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    letter-spacing: var(--tg-ls-eyebrow);
    text-transform: uppercase;
  }

  /* The phone's "Where we have been" between the road ahead and behind. The
     wide road says it underneath instead, in `.fp-road__legends`. */
  .fp-road__divider { display: none; }

  .fp-road__legends {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-4);
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    letter-spacing: var(--tg-ls-eyebrow);
    text-transform: uppercase;
    color: var(--color-text-muted);
  }

  .fp-road__ahead-legend {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--fp-label);
  }

  .fp-road__ahead-legend svg { width: 1.1em; height: 1.1em; }

  /* ── Video reel ─────────────────────────────────────────────────────── */
  /* The reel and its cards are the shared video card
     (crm/css/components/video-card.css, METIS-pub#499). What stays here is
     the brand's dressing of the one thing only this page passes: the camp's
     logo on a canvas-coloured rim, the same two-hexagon build as a face. */
  .video-card__logo {
    display: block;
    width: 2.375rem;
    padding: calc(var(--space-1) * 0.5);
    clip-path: var(--tg-hex-clip);
    background: var(--color-text);
  }

  .video-card__logo .tg-hex {
    display: block;
    width: 100%;
    background: var(--white);
  }

  /* ── The next gathering ─────────────────────────────────────────────── */
  .fp-next {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 26.25rem);
    column-gap: var(--space-16);
    row-gap: var(--space-12);
    align-items: start;
  }

  /* A featured gathering after the first has its camps beside it instead of
     Infos; the columns are the same. */

  .fp-next__main {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    min-width: 0;
  }

  /* The gathering's own block, one link to its page (METIS-pub#484). Pulled
     out by its own padding on every side, so nothing moves when the lifted
     surface appears; the column's gap inside it keeps today's rhythm. */
  .fp-next__head {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    padding: var(--space-4);
    margin: calc(var(--space-4) * -1);
    border-radius: var(--radius-md);
  }

  .fp-next__head .stretched-link {
    color: inherit;
    text-decoration: none;
  }

  /* The tagline's olive half fades in (the motion block below), and a filled
     animation paints as a layer over the name's link overlay: a click there
     would land on the text, not the link. It holds no link of its own, so
     clicks pass through to the block's link. */
  .fp-next__head .fp-next__title .tg-accent { pointer-events: none; }

  .fp-lockup {
    display: flex;
    align-items: center;
    gap: var(--space-3);
  }

  .fp-lockup__mark {
    width: var(--space-12);
    color: var(--country);
  }

  .fp-lockup__text {
    display: flex;
    flex-direction: column;
    gap: calc(var(--space-1) * 0.5);
    padding-left: var(--space-3);
    border-left: 1px solid var(--country);
  }

  .fp-lockup__name {
    font-family: var(--font-ui);
    font-weight: var(--tg-w-medium);
    font-size: var(--tg-t-intro);
    line-height: 1.1;
  }

  /* A tagline can be two sentences long; stepped down, it stays a title. */
  .fp-next__title--long { --tg-fs-title: var(--tg-fs-numeral); }

  .fp-facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6) var(--space-8);
  }

  .fp-fact {
    display: flex;
    flex-direction: column;
    gap: calc(var(--space-1) * 0.5);
    padding-left: var(--space-3);
    border-left: 1px solid var(--color-accent);
  }

  .fp-fact__value {
    font-family: var(--font-ui);
    font-weight: var(--tg-w-semibold);
    font-size: var(--tg-t-body);
  }

  .fp-fact__sub {
    font-family: var(--font-ui);
    font-size: var(--text-md);
    color: var(--color-text-muted);
  }

  /* Its description, as much as fits: a fade at the foot says there is more. */
  .fp-next__about {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .fp-next__text {
    max-width: 42rem;
    max-height: 12rem;
    overflow: hidden;
    font-size: var(--text-lg);
    line-height: 1.6;
    color: var(--color-text-muted);
    mask-image: linear-gradient(to bottom, var(--black) 55%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, var(--black) 55%, transparent 100%);
  }

  /* A description is typed in a rich editor; its headings would otherwise
     arrive at page-heading size inside a summary. */
  .fp-next__text :is(h1, h2, h3, h4) {
    margin: 0 0 var(--space-1);
    font-family: var(--font-ui);
    font-size: var(--tg-t-body);
    font-weight: var(--tg-w-semibold);
    line-height: 1.3;
    color: var(--color-text);
  }

  .fp-next__text p { margin: 0 0 var(--space-2); }

  /* What its camps are about: theme pills, the count in the accent. */
  .fp-themes {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
  }

  .fp-theme {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    border: 1px solid var(--tg-hairline);
    border-radius: var(--radius-full);
    font-family: var(--font-ui);
    font-size: var(--text-md);
    color: var(--color-text);
    white-space: nowrap;
  }

  .fp-theme__count {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--fp-label);
  }

  /* The themes as a slow strip, right to left, when they do not fit on one
     line (view.js decides, clones the chips once and sets the duration from
     the width). It stops under the pointer and on Pause, and never runs under
     reduced motion; with no script the chips are the still list above. The
     mask and clip are on the track the script wraps the list in, so the Pause
     button after it is neither faded nor clipped. */
  .fp-ticker.is-running .fp-ticker__track {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, var(--black) 8%, var(--black) 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, var(--black) 8%, var(--black) 92%, transparent);
  }

  .fp-ticker.is-running .fp-themes,
  .fp-ticker.is-measuring .fp-themes {
    flex-wrap: nowrap;
    width: max-content;
  }

  .fp-ticker.is-running .fp-themes { animation: fp-ticker var(--ticker-duration) linear infinite; }

  /* Hover on the chips only, and only where hover is real: a tap's hover
     sticks on touch screens, and a pointer resting on Play must not keep the
     strip stopped. */
  .fp-ticker.is-paused .fp-themes { animation-play-state: paused; }

  @media (hover: hover) {
    .fp-ticker.is-running .fp-themes:hover { animation-play-state: paused; }
  }

  /* One copy plus one gap, set by view.js: the clones land exactly where the
     originals started. */
  @keyframes fp-ticker { to { translate: calc(var(--ticker-shift) * -1) 0; } }

  /* A control, not a card: it does not lift (METIS-pub#469 Design 6). */
  .fp-ticker__pause {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    letter-spacing: var(--tg-ls-eyebrow);
    text-transform: uppercase;
    color: var(--color-text-muted);
    background: transparent;
    border: 1px solid var(--tg-hairline);
    border-radius: var(--radius-full);
    padding: var(--space-1) var(--space-3);
    margin-top: var(--space-2);
    cursor: pointer;
  }

  .fp-ticker__pause:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring); }

  @media (prefers-reduced-motion: reduce) {
    .fp-ticker.is-running .fp-ticker__track {
      overflow: visible;
      mask-image: none;
      -webkit-mask-image: none;
    }

    .fp-ticker.is-running .fp-themes {
      animation: none;
      flex-wrap: wrap;
      width: auto;
    }

    .fp-ticker .fp-theme[aria-hidden],
    .fp-ticker__pause { display: none; }
  }

  /* One camp's "why", in the serif, with the camp that said it. */
  .fp-quote {
    margin: 0;
    padding-left: var(--space-6);
    border-left: 1px solid var(--color-accent);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: 42rem;
  }

  .fp-quote__text {
    margin: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: var(--tg-w-light);
    font-size: var(--tg-fs-intro);
    line-height: 1.3;
    color: var(--color-text);
  }

  .fp-quote__text::before { content: "“"; }
  .fp-quote__text::after { content: "”"; }

  .fp-quote__by {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    letter-spacing: var(--tg-ls-eyebrow);
    text-transform: uppercase;
  }

  .fp-quote__by a {
    color: var(--fp-label);
    text-decoration: none;
  }

  .fp-quote__by a:hover { color: var(--tg-link); }

  .fp-quote__logo,
  .fp-info__logo,
  .fp-camplist__logo {
    display: block;
    flex: none;
    padding: calc(var(--space-1) * 0.5);
    clip-path: var(--tg-hex-clip);
    background: var(--color-surface);
  }

  .fp-quote__logo { width: 2.125rem; }
  .fp-info__logo { width: var(--space-8); }
  .fp-camplist__logo { width: 2.75rem; }

  :is(.fp-quote__logo, .fp-info__logo, .fp-camplist__logo) .tg-hex {
    display: block;
    width: 100%;
    background: var(--white);
  }

  /* A grouped news item shows the camps that joined, overlapping. */
  .fp-info__logos {
    display: flex;
    margin-top: var(--space-1);
  }

  .fp-info__logos > * + * { margin-left: calc(var(--space-2) * -1); }

  /* A later featured gathering's camps, in the column Infos has in the first. */
  .fp-next__camps {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }

  .fp-camplist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
  }

  /* Its hover surface rounds like every other lifted row (.fp-past); the
     negative inline margin keeps the logo and name at the same left edge. */
  .fp-camplist__item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-3);
    margin-inline: calc(var(--space-3) * -1);
    border-radius: var(--radius-md);
    color: var(--color-text);
    text-decoration: none;
  }

  .fp-camplist__item:hover .fp-camplist__name { color: var(--tg-link); }

  .fp-camplist__name {
    font-family: var(--font-ui);
    font-weight: var(--tg-w-medium);
    font-size: var(--tg-t-body);
  }

  /* A taste of the programme: four small cards in a row. */
  .fp-mini-programme {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }

  .fp-mini-programme__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-4);
  }

  /* The button cannot shrink, so on a narrow phone it drops under the label. */
  .fp-mini-programme__head--button {
    align-items: center;
    flex-wrap: wrap;
  }

  .fp-mini-programme__head .tg-link { font-size: var(--text-sm); }

  .fp-mini-programme__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
  }

  .fp-mini-exp {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    color: var(--color-text);
    text-decoration: none;
  }

  .fp-mini-exp__art {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    margin-bottom: var(--space-1);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: color-mix(in oklab, var(--country, var(--color-accent)) 22%, var(--color-bg));
  }

  .fp-mini-exp__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-out);
  }

  .fp-mini-exp:hover .fp-mini-exp__art img { transform: scale(1.05); }

  .fp-mini-exp__initial {
    font-family: var(--font-display);
    font-size: var(--tg-fs-numeral);
    color: var(--country, var(--color-accent));
  }

  .fp-mini-exp__camp {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: var(--tg-ls-eyebrow);
    text-transform: uppercase;
    color: var(--fp-label);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .fp-mini-exp__name {
    font-family: var(--font-ui);
    font-weight: var(--tg-w-medium);
    font-size: var(--text-md);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .fp-mini-exp:hover .fp-mini-exp__name { color: var(--tg-link); }

  .fp-hosts {
    list-style: none;
    margin: 0;
    padding: var(--space-6) 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4) var(--space-8);
    border-top: 1px solid var(--tg-hairline);
  }

  .fp-host {
    display: flex;
    align-items: center;
    gap: var(--space-3);
  }

  .fp-host__text {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
  }

  .fp-host__name {
    font-family: var(--font-ui);
    font-weight: var(--tg-w-semibold);
    font-size: var(--tg-t-body);
    color: inherit;
    text-decoration: none;
  }

  .fp-host__name:hover { color: var(--tg-link); }

  .fp-leads {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3);
  }

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

  /* ── Infos ──────────────────────────────────────────────────────────── */
  .fp-infos {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    scroll-margin-top: var(--space-16);
  }

  .fp-infos__title { --tg-fs-title: var(--tg-fs-numeral); }

  .fp-infolist {
    list-style: none;
    margin: var(--space-2) 0 0;
    padding: 0;
    border-bottom: 1px solid var(--tg-hairline);
  }

  .fp-info {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    column-gap: var(--space-4);
    padding: var(--space-3) 0;
    border-top: 1px solid var(--tg-hairline);
    color: var(--color-text);
    text-decoration: none;
  }

  .fp-info__when {
    padding-top: var(--space-1);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: var(--tg-ls-eyebrow);
    text-transform: uppercase;
    color: var(--color-text-muted);
  }

  .fp-info--pinned .fp-info__when { color: var(--fp-label); }

  .fp-info__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    min-width: 0;
  }

  .fp-info__tag {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: var(--tg-ls-eyebrow);
    text-transform: uppercase;
    color: var(--fp-label);
  }

  .fp-info__title {
    font-family: var(--font-ui);
    font-weight: var(--tg-w-medium);
    font-size: var(--tg-t-body);
    line-height: 1.25;
    transition: color var(--dur-base) var(--ease-out);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .fp-info:hover .fp-info__title { color: var(--fp-label); }

  .fp-info__text {
    font-size: var(--text-md);
    line-height: 1.45;
    color: var(--color-text-muted);
  }

  /* ── Faces ──────────────────────────────────────────────────────────────
     A face is two hexagons: `.fp-face` is the rim, `.fp-face__hex` the photo
     inside it. A rim on a clipped shape cannot be a border (the clip cuts it
     away), so it is the outer shape's own fill showing round the inner one.
     The rim takes the ground's colour by default, which is what keeps faces in
     a pile visibly separate. Sizes are the design's: 34, 44, 76 and 78px. */
  .fp-face {
    --face-w: 2.75rem;
    --face-rim: calc(var(--space-1) * 0.5);
    display: inline-block;
    vertical-align: top;
    flex: none;
    width: var(--face-w);
    padding: var(--face-rim);
    clip-path: var(--tg-hex-clip);
    background: var(--face-ring, var(--color-bg));
    line-height: 0;
    color: var(--color-text);
    text-decoration: none;
  }

  .fp-face--sm { --face-w: 2.125rem; }
  .fp-face--lg { --face-w: 4.75rem; --face-rim: calc(var(--space-1) * 0.75); }
  .fp-face--wall { --face-w: 4.875rem; --face-rim: calc(var(--space-1) * 0.75); --face-ring: transparent; }
  .fp-face--multi { --face-ring: var(--color-accent); }

  .fp-face__hex {
    display: block;
    width: 100%;
    background: color-mix(in oklab, var(--color-text) 14%, var(--color-bg));
  }

  .fp-face__hex img { transition: transform var(--dur-slow) var(--ease-out); }
  .fp-face:hover .fp-face__hex img { transform: scale(1.06); }

  .fp-face__initials {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-ui);
    font-weight: var(--tg-w-semibold);
    font-size: var(--text-sm);
    line-height: 1;
    color: var(--color-text);
  }

  .fp-face--sm .fp-face__initials { font-size: var(--text-xs); }
  .fp-face--lg .fp-face__initials,
  .fp-face--wall .fp-face__initials { font-size: var(--text-xl); }

  .fp-pile {
    display: flex;
    align-items: center;
  }

  /* The overlap is what makes it a pile rather than a row. */
  .fp-pile > .fp-face + .fp-face { margin-left: calc(var(--face-w) * -0.22); }

  .fp-pile__rest {
    margin-left: var(--space-2);
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    letter-spacing: var(--tg-ls-eyebrow);
    color: var(--color-text-muted);
  }

  .fp-faces__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    max-width: 56rem;
    margin: 0 auto var(--space-12);
    text-align: center;
  }

  .fp-faces__legend {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
  }

  /* Inline, so on a phone the key stays at the start of the sentence it
     explains instead of floating off to the left of a wrapped block. */
  .fp-faces__key {
    display: inline-block;
    vertical-align: -0.1em;
    width: var(--space-4);
    margin-right: var(--space-2);
    background: var(--color-accent);
  }

  /* ── Honeycomb ──────────────────────────────────────────────────────────
     Rows that wrap at any width, with every other row shifted half a cell and
     tucked up into the one above. The cells are inline-blocks; a float at the
     left, whose `shape-outside` is a stripe once every two rows, pushes only
     the even rows in by half a cell. The negative bottom margin is the tuck.
     The float's `height: 120%` needs a definite height to resolve against,
     which is why the honeycomb is a stretched flex item of
     `.fp-honeycomb-row`. `--cols` caps the row length at the design's count;
     below that the rows simply wrap shorter and keep interlocking.

     Technique: Temani Afif's responsive hexagon grid, generalised to the
     brand's hexagon, which is not regular (height 1.1255 × width, rows
     overlapping by --tg-hex-overlap). */
  .fp-honeycomb-row {
    display: flex;
    justify-content: center;
  }

  .fp-honeycomb {
    --s: 4.875rem;
    --g: calc(var(--space-1) * 0.75);
    --cols: 14;
    --h: calc(var(--s) * var(--tg-hex-ratio));
    --tuck: calc(var(--h) * var(--tg-hex-overlap));
    --period: calc(2 * (var(--h) + 2 * var(--g) - var(--tuck)) - 1px);
    max-width: calc(var(--cols) * (var(--s) + 2 * var(--g)) + var(--s) / 2 + var(--g));
    margin: 0;
    padding: 0 0 var(--tuck);
    list-style: none;
    font-size: 0;
    line-height: 0;
  }

  .fp-honeycomb::before {
    content: "";
    float: left;
    width: calc(var(--s) / 2 + var(--g));
    height: 120%;
    shape-outside: repeating-linear-gradient(
      transparent 0 calc(var(--period) - 3px),
      var(--black) 0 var(--period)
    );
  }

  .fp-honeycomb > * {
    display: inline-block;
    vertical-align: top;
    width: var(--s);
    margin: var(--g);
    margin-bottom: calc(var(--g) - var(--tuck));
  }

  /* ── Horizon ────────────────────────────────────────────────────────── */
  .fp-horizon {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-6);
  }

  .fp-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    min-height: 23.5rem;
    padding: var(--space-6);
    border: 1px solid var(--tg-hairline);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
  }

  /* Faces in a card's pile sit on white, so their rim is white. */
  .fp-card .fp-face { --face-ring: var(--color-surface); }

  .fp-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .fp-card__mark {
    width: 2.5rem;
    color: var(--country);
  }

  .fp-card__year {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    letter-spacing: var(--tg-ls-eyebrow);
    color: var(--fp-label);
  }

  .fp-card__heading {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
  }

  .fp-card__name {
    font-family: var(--font-display);
    font-weight: var(--tg-w-regular);
    font-size: var(--tg-t-heading);
    line-height: 1.1;
  }

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


  .fp-card__meta {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: var(--tg-ls-eyebrow);
    text-transform: uppercase;
    color: var(--color-text-muted);
  }

  .fp-card__lede {
    flex-grow: 1;
    font-size: var(--text-lg);
    line-height: 1.55;
    color: var(--color-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .fp-card__foot {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid var(--tg-hairline);
  }

  .fp-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    font-size: var(--text-md);
  }

  /* ── Where we have been ─────────────────────────────────────────────── */
  .fp-bandhead--archive .fp-bandhead__main { flex: 0 1 35rem; }

  .fp-stats {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
    gap: var(--space-6);
    margin: 0;
  }

  .fp-stat {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: var(--space-2);
    padding-left: var(--space-4);
    border-left: 1px solid var(--color-accent);
  }

  .fp-stat dd {
    margin: 0;
    font-family: var(--font-display);
    font-weight: var(--tg-w-light);
    font-size: var(--tg-fs-title);
    line-height: 1;
  }

  .fp-stat dt {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    letter-spacing: var(--tg-ls-eyebrow);
    text-transform: uppercase;
    color: var(--color-text-muted);
  }

  .fp-past {
    display: grid;
    grid-template-columns: 11.25rem 18.75rem minmax(0, 1fr) auto;
    align-items: center;
    column-gap: var(--space-8);
    row-gap: var(--space-3);
    padding-block: var(--space-6);
    /* Pulled out by its own padding, so the text does not move when the lifted
       surface appears (.lift--ground). */
    padding-inline: var(--space-4);
    margin-inline: calc(var(--space-4) * -1);
    border-radius: var(--radius-md);
    border-top: 1px solid var(--color-border);
  }

  /* A lifted row with a line above it, and the next row's line below it,
     looks broken: hide both while it is lifted. */
  .fp-past:is(:hover, :has(.stretched-link:focus-visible)),
  .fp-past:is(:hover, :has(.stretched-link:focus-visible)) + .fp-past { border-top-color: transparent; }

  /* The leads' rims follow the row's surface once it has one. */
  .fp-past:is(:hover, :has(.stretched-link:focus-visible)) .fp-face { --face-ring: var(--lift-surface); }

  .fp-past__programme { grid-column: 2 / -1; }

  /* The camp marks are pictures, not links: clicks pass through them to the
     row's link instead of dying on the positioned hexagons. */
  .fp-past__marks { pointer-events: none; }

  .fp-past--story {
    grid-template-columns: 11.25rem minmax(0, 1fr) auto;
    align-items: start;
    padding-block: var(--space-8);
  }

  .fp-past__year {
    font-family: var(--font-display);
    font-weight: var(--tg-w-light);
    font-size: var(--tg-fs-numeral);
    line-height: 1;
  }

  .fp-past__name {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-ui);
    font-weight: var(--tg-w-medium);
    font-size: var(--text-xl);
  }

  .fp-past__name .tg-logomark {
    width: 1.875rem;
    color: var(--country);
  }

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

  .fp-past:hover .stretched-link,
  .fp-card:hover .stretched-link,
  .fp-next__head:hover .stretched-link { color: var(--tg-link); }

  .fp-past__lede {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
  }

  .fp-past--camps {
    grid-template-columns: 11.25rem 18.75rem minmax(0, 1fr);
    align-items: start;
  }

  .fp-past__who {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
  }

  .fp-past__side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .fp-past__camps {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    line-height: 2;
    letter-spacing: var(--tg-ls-eyebrow);
    text-transform: uppercase;
    color: var(--color-accent);
  }

  .fp-past__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }

  .fp-past__story {
    max-width: 27.5rem;
    font-family: var(--font-display);
    font-weight: var(--tg-w-light);
    font-size: var(--tg-fs-intro);
    line-height: 1.25;
  }

  .fp-past__marks .fp-honeycomb {
    --s: 4.5rem;
    --cols: 6;
  }

  .fp-past__marks .tg-hex { background: var(--white); }

  /* ── A gathering's own page ─────────────────────────────────────────────
     The same vocabulary as the front page — lockup, facts, the countdown
     hexagon, the video reel, hosts — composed as one gathering's opening
     (local_gathering.html). */
  /* The gathering's colour is its theme's `--country-main` (METIS-pub#585):
     the page's inline style that set these is gone, because an inline style
     beats the `theming` layer and a theme's colour could never show. */
  .fp-gathering {
    --country: var(--country-main);
    --stop-color: var(--country-main);
  }

  .fp-gathering-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 17rem);
    gap: var(--space-12);
    align-items: center;
  }

  .fp-gathering-hero__main {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    min-width: 0;
  }

  .fp-gathering-hero__title--long { --tg-fs-title-hero: var(--tg-fs-title); }

  .fp-gathering-hero__mark { width: 100%; }

  .fp-gathering-hero__mark .fp-road__big-hex {
    --stop-color: var(--country);
  }

  .fp-gathering-hero__mark .fp-road__big-kicker { font-size: var(--text-sm); }

  .fp-gathering-about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 26.25rem);
    column-gap: var(--space-16);
    row-gap: var(--space-12);
    align-items: start;
  }

  .fp-gathering-about--solo { grid-template-columns: minmax(0, 46rem); }

  .fp-gathering-about__story,
  .fp-gathering-about__team {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }

  .fp-gathering-about__body { max-width: 42rem; }

  .fp-gathering-hosts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
  }

  .fp-gathering-hosts .fp-host { align-items: flex-start; }

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

  /* ── Motion ─────────────────────────────────────────────────────────────
     One entrance per thing, never a loop (the brand kit: "no bounces, no
     infinite loops, no parallax"), and none at all for anyone who has asked
     their system for less motion. Every duration is a token or a multiple of
     one; the staggers read `--i`, an element's place in its sequence, written
     by the template.

     - The road draws itself left to right, and each mark rises as the line
       reaches it (`--i` is its left-to-right order, from front_road.py).
     - The countdown's hexagon settles in; view.js counts its number up.
     - A tagline's olive half arrives a beat after the first.
     - Inside a band that scrolls in (`.d1-visible`, set by view.js), the
       video cards rise in turn and the faces ripple across the honeycomb.
       `both` holds each at its first frame until its turn, so nothing
       flashes in and then disappears. */
  @keyframes fp-draw {
    from { clip-path: inset(0 100% 0 0); }
    to   { clip-path: inset(0 0 0 0); }
  }

  @keyframes fp-rise {
    from { opacity: 0; transform: translateY(var(--space-2)); }
    to   { opacity: 1; transform: none; }
  }

  @keyframes fp-settle {
    from { opacity: 0; transform: scale(0.86); }
    to   { opacity: 1; transform: none; }
  }

  @keyframes fp-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  @media (prefers-reduced-motion: no-preference) {
    .fp-road__line {
      animation: fp-draw calc(var(--dur-slow) * 4) var(--ease-in-out) both;
    }

    .fp-road__stop,
    .fp-road__today {
      animation: fp-rise var(--dur-slow) var(--ease-out) both;
      animation-delay: calc(var(--dur-fast) + var(--i, 0) * var(--dur-fast));
    }

    /* Its own delay, from the stop's `--i`: `animation-delay` is not
       inherited, and the wrapper between them has none to give. */
    .fp-road__big-hex {
      animation: fp-settle var(--dur-slow) var(--ease-out) both;
      animation-delay: calc(var(--dur-fast) + var(--i, 0) * var(--dur-fast));
    }

    .fp-gathering-hero__mark .fp-road__big-hex { animation-delay: var(--dur-base); }

    :is(.fp-next__title, .fp-gathering-hero__title) .tg-accent {
      display: inline-block;
      animation: fp-fade calc(var(--dur-slow) * 2) var(--ease-out) both;
      animation-delay: var(--dur-slow);
    }

    .d1-visible .video-reel > .video-card {
      animation: fp-rise var(--dur-slow) var(--ease-out) both;
      animation-delay: calc(var(--dur-base) + var(--i, 0) * var(--dur-fast) / 2);
    }

    .d1-visible .fp-honeycomb > .fp-face {
      animation: fp-settle var(--dur-slow) var(--ease-out) both;
      animation-delay: calc(var(--dur-base) + var(--i, 0) * var(--dur-fast) / 8);
    }
  }

  /* ── Tablet ─────────────────────────────────────────────────────────── */
  @media (max-width: 64rem) {
    .fp-horizon { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .fp-next { grid-template-columns: minmax(0, 1fr); }
    .fp-gathering-about { grid-template-columns: minmax(0, 1fr); }

    .fp-past {
      grid-template-columns: 7rem minmax(0, 1fr) auto;
    }

    .fp-past__lede { grid-column: 2 / -1; }
    .fp-past--camps { grid-template-columns: 7rem minmax(0, 1fr); }
    .fp-past--camps .fp-past__lede { grid-column: auto; }
    .fp-past__camps { grid-column: 2 / -1; }

    .fp-past--story { grid-template-columns: 7rem minmax(0, 1fr); }
    .fp-past__marks { grid-column: 2; justify-content: flex-start; }
  }

  /* ── The road, stacked ──────────────────────────────────────────────────
     Below 60rem nine stops no longer fit on one line with their labels, so
     the road runs down the page instead: a dotted line on the left, the
     marks centred on it, labels to the right. The DOM order is already the
     phone's reading order (front_road.py): today, what is next, the road
     ahead, then the road behind, newest first. */
  @media (max-width: 60rem) {
    .fp-road__canvas { height: auto; }
    .fp-road__line,
    .fp-road__legends { display: none; }

    .fp-road__stops {
      position: relative;
      inset: auto;
      display: flex;
      flex-direction: column;
      gap: var(--space-4);
    }

    /* The road itself: one dotted line through the centre of the mark column. */
    .fp-road__stops::before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: calc(var(--fp-road-col) / 2);
      border-left: 2px dotted var(--color-accent);
    }

    .fp-road { --fp-road-col: 6.5rem; }

    .fp-road__stop,
    .fp-road__today {
      position: relative;
      left: auto;
      top: auto;
      width: auto;
      height: auto;
    }

    .fp-road__stop--next { --mark-w: 6.5rem; }
    .fp-road__stop--future { --mark-w: 3.75rem; }

    /* Stacked, the stops are no longer in date order down the page, so they
       rise together rather than in a left-to-right sequence that no longer
       exists. */
    .fp-road__stop,
    .fp-road__today { --i: 0; }

    .fp-road__link {
      position: relative;
      display: grid;
      grid-template-columns: var(--fp-road-col) minmax(0, 1fr);
      align-items: center;
      column-gap: var(--space-4);
    }

    .fp-road__mark,
    .fp-road__big {
      position: relative;
      left: auto;
      top: auto;
      transform: none;
      justify-self: center;
    }

    .fp-road__big-figure { font-size: var(--tg-fs-title); }

    /* The label beside the hexagon names it; inside a 6.5rem one there is no
       room for it too. */
    .fp-road__big-name { display: none; }

    .fp-road__label,
    .fp-road__stop--next .fp-road__label {
      position: static;
      transform: none;
      width: auto;
      align-items: flex-start;
      text-align: left;
    }

    .fp-road__today {
      padding-left: calc(var(--fp-road-col) / 2);
    }

    .fp-road__today::before { display: none; }
    .fp-road__today::after { left: calc(var(--fp-road-col) / 2); top: 50%; }

    .fp-road__today-flag {
      position: relative;
      left: auto;
      bottom: auto;
      transform: none;
      display: inline-block;
      margin-left: var(--space-6);
    }

    /* Folded (view.js): the road behind us waits behind the button. */
    .fp-road.is-folded :is(.fp-road__stop--past, .fp-road__divider) { display: none; }

    .fp-road__more {
      margin-top: var(--space-4);
      margin-left: calc(var(--fp-road-col) + var(--space-4));
    }

    .fp-road__more button {
      white-space: nowrap;
      padding: 0;
      border: 0;
      background: none;
      cursor: pointer;
    }

    .fp-road__divider {
      display: block;
      position: relative;
      margin-top: var(--space-4);
      padding: var(--space-1) 0 var(--space-1) calc(var(--fp-road-col) + var(--space-4));
      background: var(--color-bg);
      font-family: var(--font-mono);
      font-size: var(--text-sm);
      letter-spacing: var(--tg-ls-eyebrow);
      text-transform: uppercase;
      color: var(--color-text-muted);
    }
  }

  /* ── Phone ──────────────────────────────────────────────────────────── */
  @media (max-width: 48rem) {
    .fp-hero { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }

    /* The countdown hexagon comes first on a phone, small, above the title. */
    .fp-gathering-hero { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
    .fp-gathering-hero__mark { order: -1; width: 9rem; }
    .fp-gathering-hero__mark .fp-road__big-figure { font-size: var(--tg-fs-title); }
    .fp-gathering-hero__mark .fp-road__big-name { display: none; }

    .fp-bandhead {
      flex-direction: column;
      align-items: flex-start;
      gap: var(--space-6);
    }

    .fp-lede--end { text-align: left; }

    .fp-horizon { grid-template-columns: minmax(0, 1fr); }

    .fp-card { min-height: 0; }

    .fp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }

    .fp-past,
    .fp-past--story,
    .fp-past--camps {
      grid-template-columns: minmax(0, 1fr);
      row-gap: var(--space-2);
    }

    .fp-past__lede,
    .fp-past__camps,
    .fp-past__marks,
    .fp-past__programme { grid-column: auto; }

    /* The pull-out stays inside the 16px page gutter. */
    .fp-past,
    .fp-next__head {
      padding-inline: var(--space-3);
      margin-inline: calc(var(--space-3) * -1);
    }

    /* Year and name on one line, in every shape: the name's wrapper steps
       aside so the name joins the row's own grid beside the year. */
    .fp-past,
    .fp-past--story,
    .fp-past--camps { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; }
    .fp-past__body,
    .fp-past__who { display: contents; }
    .fp-past > *,
    .fp-past__body > *,
    .fp-past__who > * { grid-column: 1 / -1; }
    .fp-past .fp-past__year { grid-column: 1; font-size: var(--text-xl); }
    .fp-past .fp-past__name { grid-column: 2; }

    .fp-honeycomb { --s: 3.5rem; }
    .fp-face--wall { --face-w: 3.5rem; }
    .fp-past__marks .fp-honeycomb { --s: 3.25rem; }

    .fp-tickets--phone { display: contents; }
    .fp-tickets--wide { display: none; }

    .fp-mini-programme__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    /* Ten 44px faces are wider than a 393px screen. */
    .fp-leads .fp-face--md { --face-w: 2.125rem; }

    /* The nav keeps its logo and "Gatherings"; the section links would crowd
       a 393px bar, and the page is one scroll there anyway. */
    .nav-link--anchor { display: none; }
  }

  /* ── Touch (no hover) ─────────────────────────────────────────────────
     Rows look like lifted cards before you touch them; the press (.lift's
     :active) is the feedback. Depends on the input, not the width. */
  @media (hover: none) {
    .fp-past {
      background-color: var(--lift-surface);
      border-top: none;
    }

    .fp-past .fp-face { --face-ring: var(--lift-surface); }

    .fp-past + .fp-past { margin-block-start: var(--space-3); }
  }
}
