/*
  Communion '27 · America: the pages that are not the film.

  What this file styles. The practical block of the home page (the weekend, the 50 states, four ways to stand
  with us, the register form, the footer) and the three inner pages: churches, cities and privacy.

  Why it was rewritten. The first design was navy, crimson and gold in a wide black sans, with rows of rounded
  cards, pills and drop shadows; Shane called it "such a claude classic". He chose Bridal Dawn. These pages now
  belong to the film above them: pearl paper, deep wine ink, one rose accent, rose-gold hairlines, and a wine
  band for the weekend and for every form. They are set like a printed programme, not like a product page:
  large headlines set tight, a lot of white space, thin rules instead of boxes, dates and numerals set large,
  small capitals with wide tracking for labels.

  The one rule. This file names no colour, no typeface and no corner radius of its own. Every one of them is a
  token from tokens.css, so the whole site changes look at once, and the backup look (Jasper and Gold: dark
  pages, light wide capitals) holds here with no rule that names a look. Two things make that work:
    1. Roles. A component never asks for "ink" or "on-dark" directly. It asks for the role it needs (the words,
       the quieter words, a soft rule, a strong rule, the loud colour for large numerals), and the ground it
       stands on says what that role is: the page, the wine band, or the sheet of paper a form is printed on.
       They are set once, under "Grounds", and nothing below needs a second version for the dark band.
    2. The display unit. Bridal Dawn's headlines are a narrow serif in sentence case; the backup's are wide
       capitals, about twice as wide a line for the same size. So every display size is a number of display
       units, and the unit shrinks as the look's headline tracking widens. No look is named: the tracking
       token alone says how wide the look sets its headlines.

  What must not change by accident. On the home page this file loads after story.css and its plain element
  rules (the first block, "Ground rules") reach the story's words too. Those rules are the first design's,
  kept value for value, so the film's words sit exactly where the engine laid them out. Every other rule here
  is a class of the practical block or of an inner page, and the story's classes (beat-, story-, stage-,
  chapters) are never used.

  Marks from the film. The film is drawn in light, so the pages carry four fine line drawings of light, each
  with its points of light (the people): the cross on the hill (Friday, the Bride), the city wall with its
  gates (Saturday, the City), the banner at sunrise (Sunday, the Army) and the ring (the invitation). Each
  page holds them once, as symbols at the top of its own markup, and draws them with svg.mark and a use
  element; they take the colour of the words around them.
*/

:root {
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  /* The height of the bar at the top, for anything that must stop short of it. */
  --bar: 58px;
  /* The display unit: one rem in a look with no headline tracking, smaller as the tracking widens. The em in
     the tracking token is read against the size of the text around the headline (about 17 pixels), so
     Jasper and Gold's 0.12em takes a little under six pixels off the sixteen. */
  --du: calc(1rem - var(--display-tracking) * 2.8);
  --size-d1: clamp(calc(var(--du) * 2.8), calc(var(--du) * 1.3 + 6vw), calc(var(--du) * 6.6));
  --size-d2: clamp(calc(var(--du) * 2.1), calc(var(--du) * 1.15 + 3.3vw), calc(var(--du) * 4));
  --size-d3: clamp(calc(var(--du) * 1.7), calc(var(--du) * 1.1 + 1.6vw), calc(var(--du) * 2.5));
  --size-h3: calc(var(--du) * 1.55);
  --size-num: clamp(calc(var(--du) * 2.4), calc(var(--du) * 1.2 + 3vw), calc(var(--du) * 4.2));
  --size-num-xl: clamp(calc(var(--du) * 5.4), calc(var(--du) * 3 + 6.6vw), calc(var(--du) * 9.4));
}

/* ------------------------------------------------------------------------------------------------------------
   Ground rules. Plain element rules, kept value for value from the first design because the story's words on
   the home page inherit them (see the note at the top). Only the colours and the typeface changed: they are
   the look's now.
   ------------------------------------------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: 0.35em; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.12; text-wrap: balance; }
strong { font-weight: 600; }
:focus { outline: none; }
/* One ring everywhere: the focus token is made to show on the page, the alternate band, a field and the wine. */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--radius); }
::selection { background: var(--accent); color: var(--on-accent); }

.skip {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--accent); color: var(--on-accent); font-weight: 600;
  padding: 10px 16px; border-radius: var(--radius); text-decoration: none;
}
.skip:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------------------------------------------------
   Grounds, and the roles each one gives. A component uses the role; the ground decides the token.
     fg, fg-2     the words, and the quieter words
     rule         a soft hairline between items;  rule-2: the rose-gold hairline that opens a block
     loud         large numerals and display words (it only reaches 3 to 1, so never small text)
     star         the star that marks a required answer
   ------------------------------------------------------------------------------------------------------------ */
body, .sheet {
  --fg: var(--ink); --fg-2: var(--ink-2);
  --rule: var(--line); --rule-2: var(--accent-2);
  --loud: var(--accent);
  --star: var(--danger);
}
/* The alternate band, behind every second section. */
.tint { background: var(--bg-2); --rule: var(--accent-2); }
/* The wine band: the weekend, the communion moment, every form, the footer. The second accent is the one
   colour both looks can read on it (tools/check_looks.py holds them to that), so it is the band's rule and
   the colour of its large numerals. */
.band {
  --fg: var(--on-dark); --fg-2: var(--on-dark-2);
  --rule: var(--on-dark-2); --rule-2: var(--accent-2);
  --loud: var(--accent-2);
  --star: var(--on-dark);
  position: relative; isolation: isolate;
  background: var(--dark-bg); color: var(--on-dark);
}
/* Soft rules are the strong colour thinned out, where the browser can mix colours (every current one can). */
@supports (color: color-mix(in srgb, currentColor 50%, transparent)) {
  .tint { --rule: color-mix(in srgb, var(--accent-2) 42%, transparent); }
  .band { --rule: color-mix(in srgb, var(--on-dark) 22%, transparent); }
}
/* The sheet: the pearl paper a form is printed on, laid on the wine band. Inside it the roles are the
   page's again (set above), so a field's edge and an error's words are measured against the page. */
.sheet { background: var(--bg); color: var(--ink); }

/* The dust of light at the head of a band, where it takes over from the film: the same points of light,
   thinning out as the page begins. Drawn once per page as an svg of small circles. */
.band-lights {
  position: absolute; z-index: -1; left: 0; top: 0; width: 100%; height: min(100%, 420px); max-width: none;
  color: var(--on-dark); opacity: 0.7; pointer-events: none;
}
.band-lights .warm { color: var(--accent-2); }

/* ------------------------------------------------------------------------------------------------------------
   Layout.
   ------------------------------------------------------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 132px) 0; }
/* Two sections on the same ground: one rose-gold hairline between them instead of twice the white space. */
.section.follows { padding-top: 0; }
.section.follows > .wrap::before { content: ""; display: block; height: 1px; background: var(--rule-2); margin-bottom: clamp(48px, 7vw, 104px); }
.section-head { max-width: 900px; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head > :last-child { margin-bottom: 0; }
/* A wide head: the headline on the left, its opening words set lower and to the right. */
@media (min-width: 960px) {
  .section-head.wide { max-width: none; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: 1fr auto; column-gap: clamp(40px, 6vw, 104px); }
  /* The label and the headline stay together at the foot of the left side, however long the right side runs. */
  .section-head.wide > .kicker { grid-column: 1; grid-row: 1; align-self: end; }
  .section-head.wide > .display-2 { grid-column: 1; grid-row: 2; margin-bottom: 0; }
  .section-head.wide > .section-intro, .section-head.wide > .lead { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0 0 0.3em; }
  /* A headline of two long sentences (Friday at the cross. Sunday at the empty tomb.) runs across both
     columns, each sentence on its own line, and the opening words come under it at the right. Left in the
     left column it broke as "Sunday at the / empty tomb." at 1920 and in Jasper's wide capitals. */
  .section-head.wide.long { grid-template-rows: auto auto auto; }
  .section-head.wide.long > .display-2 { grid-column: 1 / -1; }
  .section-head.wide.long > .display-2 .line { display: block; }
  .section-head.wide.long > .section-intro { grid-column: 2; grid-row: 3; margin: 0.9em 0 0; }
}
/* An asymmetric pair: the words on the narrow side, the matter on the wide one. One column on a phone. */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .split.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split > .section-head { margin-bottom: 0; }
  /* The words stay beside a long list while it is read. */
  .stays { position: sticky; top: calc(var(--bar) + 40px); }
}
/* A link to one of the numbered rows (Pray, Give) stops short of the bar. On the home page that bar is the
   film's, fixed over the page and two rows deep on a narrow screen. (Where a link to a whole section stops is
   the film's stylesheet's business on the home page, and the bar's rule below on the inner pages.) */
.row[id] { scroll-margin-top: calc(var(--bar) + 12px); }
@media (max-width: 1040px) { .row[id] { scroll-margin-top: 108px; } }

/* ------------------------------------------------------------------------------------------------------------
   Type. Display type is the look's: its face, weight, width, tracking and case all come from tokens.
   ------------------------------------------------------------------------------------------------------------ */
.display-1, .display-2, .display-3, h3, legend,
.day-num, .day-word, .day-who dd, .row-num, .item-num, .level-num b, .wm-name,
.city-name, .team li, .tw-word, .clause > h2 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-stretch: var(--display-stretch);
  letter-spacing: var(--display-tracking);
  text-transform: var(--display-transform);
}
/* Hours and dates. A look's display face may draw a one that reads as a letter (Bridal Dawn's does: 11:30
   came out as ll:30), so every figure a visitor will act on is set in the reading face, light and large.
   The three great day numbers stay in the display face: none of them holds a one. */
.times dd, .dates .d, .wave .at, .city-time strong, .timeline .when { font-family: var(--font-text); font-weight: 300; letter-spacing: -0.01em; }
.display-1, .display-2, .display-3 { color: var(--fg); overflow-wrap: break-word; }
/* A headline of two sentences breaks between them, never inside one, where there is room. */
.display-1 .line, .display-2 .line { display: inline-block; }
.display-1 { font-size: var(--size-d1); line-height: 0.98; margin: 0; }
.display-2 { font-size: var(--size-d2); line-height: 1.02; margin: 0 0 0.42em; }
.display-3 { font-size: var(--size-d3); line-height: 1.06; }
h3 { font-size: var(--size-h3); line-height: 1.14; color: var(--fg); }

/* The small label above a headline: small capitals, wide, with a short hairline of light before it.
   Only every other section opens with the hairline (a page where every block begins the same way reads as a
   template); the others carry the class bare. A label of several parts (The weekend · March 26 to 28, 2027)
   keeps each part whole in a span.nowrap, so on a phone it breaks only at a dot and never leaves one word
   alone; text-wrap: balance evens out the two lines. (It is a block, not a flex row, so those spans flow as
   words: in a flex row each would become a box of its own.) */
.kicker, .label, .day-who dt, .times dt {
  font-family: var(--font-text); font-weight: 600; font-size: 0.72rem; line-height: 1.5;
  letter-spacing: var(--kicker-tracking); text-transform: uppercase; color: var(--fg-2);
}
.kicker { display: block; margin: 0 0 clamp(16px, 2vw, 26px); text-wrap: balance; }
.kicker::before { content: ""; display: inline-block; vertical-align: middle; width: 36px; height: 1px; margin: -2px 14px 0 0; background: var(--rule-2); }
.kicker.bare::before { content: none; }
/* The name of Jesus, first on an inner page, as the home page's title opens: JESUS · JESUS · JESUS, in the
   same small capitals as the story's line above the title, a little larger than a label and in the words'
   own colour. */
.jesus-line {
  margin: 0 0 clamp(14px, 1.8vw, 24px);
  font-family: var(--font-text); font-weight: 600; font-size: clamp(0.8rem, 0.62rem + 0.5vw, 1.05rem); line-height: 1.5;
  letter-spacing: var(--kicker-tracking); text-transform: uppercase; color: var(--fg); text-wrap: balance;
}
.lead, .section-intro { font-size: clamp(1.12rem, 0.96rem + 0.55vw, 1.34rem); line-height: 1.5; max-width: 36em; }
.lead { color: var(--fg); }
.section-intro { color: var(--fg-2); }
.muted { color: var(--fg-2); }
.small { font-size: 0.9rem; }

/* A detail that is still a proposal: small capitals with a dotted line under them. One quiet style everywhere. */
.tbc {
  display: inline-block; white-space: nowrap; margin-left: 0.4em; vertical-align: 0.12em;
  font-family: var(--font-text); font-style: normal; font-weight: 600; font-size: 0.64rem; line-height: 1.5;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-2);
  border-bottom: 1px dotted currentColor;
}
.tbc-key { margin-top: 20px; font-size: 0.9rem; color: var(--fg-2); }

/* Links in running text: the words' own colour with a rose-gold line under them (the accent is too faint for
   small text). A link that stands alone is set as a label. */
:where(.section, .masthead, .site-footer) a:not([class]) { text-decoration-color: var(--rule-2); }
:where(.section, .masthead, .site-footer) a:not([class]):hover { text-decoration-color: currentColor; }
.text-link {
  color: var(--fg); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: underline; text-decoration-color: var(--rule-2); text-decoration-thickness: 2px;
  text-underline-offset: 0.45em;
}
.text-link:hover { text-decoration-color: currentColor; }

/* ------------------------------------------------------------------------------------------------------------
   Buttons: the film's own (the same size, capitals and corners as the buttons under its last words).
   ------------------------------------------------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  min-height: 48px; padding: 12px 22px;
  border: var(--border-w) solid var(--accent); border-radius: var(--radius);
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-text); font-weight: 600; font-size: 0.8rem; line-height: 1.2;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer;
}
.btn:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.btn-line { background: transparent; border-color: currentColor; color: var(--fg); font-weight: 500; }
/* On the wine the accent is too close to the ground to be a button, so the first button there is pearl. */
.band :not(.sheet) > .actions > .btn:not(.btn-line) { background: var(--on-dark); border-color: var(--on-dark); color: var(--dark-bg); }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: clamp(24px, 3vw, 36px); }

/* ------------------------------------------------------------------------------------------------------------
   The line drawings of light.
   ------------------------------------------------------------------------------------------------------------ */
.marks { position: absolute; width: 0; height: 0; overflow: hidden; }
.mark { display: block; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }

/* ------------------------------------------------------------------------------------------------------------
   The bar at the top of the inner pages. The same hand as the bar over the film (story.css draws that one):
   the mark and the name, then Churches, 50 Cities and Register. Here it is solid wine, because no film plays
   behind it. Every measure below is that bar's, so moving between the home page and these never jolts.
   ------------------------------------------------------------------------------------------------------------ */
.site-top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 8px 20px;
  padding: 12px clamp(16px, 3vw, 40px);
  background: var(--dark-bg); color: var(--on-dark);
  font-family: var(--font-text);
}
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.site-brand-mark { width: 14px; height: 20px; flex: none; fill: currentColor; }
.site-brand-name { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 9px 10px; color: inherit;
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
}
.site-nav a:hover { text-decoration: underline; text-underline-offset: 0.35em; }
/* The page you are on: the line the film's chapter rail puts under the chapter on screen. */
.site-nav a[aria-current="page"] { font-weight: 600; padding-bottom: 7px; border-bottom: 2px solid currentColor; }
.site-nav .site-nav-cta { margin-left: 6px; padding: 8px 14px; border: var(--border-w) solid currentColor; border-radius: var(--radius); }
@media (max-width: 1040px) {
  .site-top { padding: 10px 16px 8px; gap: 4px 12px; }
  /* The way home is a full finger's height on a touch screen. The drawing stays its size; the link's box
     grows into the bar's own padding (the margins take back what it adds), so the bar is no taller. */
  .site-brand { min-height: 44px; margin-block: -6px; }
  .site-nav a { padding: 8px 7px; font-size: 0.68rem; letter-spacing: 0.14em; }
  .site-nav a[aria-current="page"] { padding-bottom: 6px; }
  .site-nav .site-nav-cta { padding: 7px 10px; }
}
/* Five links since the prayer page (27 Nov 2026): Churches, 50 Cities, Prayer, Give and Register. With the
   name beside them the bar needs about 590 pixels, so under 600 the name gives way to the cross alone. */
@media (max-width: 600px) {
  /* The name is hidden here, so the link is the small cross alone: it keeps a full finger's width too. Part
     of that width is the bar's own padding at the left (the box reaches back into it and the cross stays
     where it was), so the links on the right lose as little room as can be. */
  .site-brand { min-width: 44px; margin-left: -10px; padding-left: 10px; }
  .site-brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 460px) {
  /* On a phone the five links sit closer, and "50 Cities" reads "Cities", so that nothing is cut off at
     the right. */
  .site-nav { gap: 2px; }
  .site-nav a { padding-inline: 5px; letter-spacing: 0.06em; }
  .site-nav .nav-fifty { display: none; }
  .site-nav .site-nav-cta { margin-left: 4px; padding-inline: 8px; }
}
/* Phones narrower than 390 pixels, down to 320: the bar's things sit closer still and a touch smaller, so
   nothing runs off the side. (Give is left out of the bar under 360 pixels: see the foot of this file.) */
@media (max-width: 389px) {
  .site-top { column-gap: 6px; }
  .site-nav a { padding-inline: 5px; font-size: 0.66rem; letter-spacing: 0.03em; }
  .site-nav .site-nav-cta { margin-left: 2px; padding-inline: 7px; }
}
/* Narrower still (280 pixels, under the site's 375 floor but seen on folding phones): the links lose their
   tracking and part of their padding, so the bar fits and the page never scrolls sideways. With five links
   the same is needed for anything under 320. */
@media (max-width: 319px) {
  .site-top { padding-inline: 10px; }
  .site-nav { gap: 0; }
  .site-nav a { padding-inline: 4px; font-size: 0.64rem; letter-spacing: 0.01em; }
  .site-nav .site-nav-cta { margin-left: 2px; padding-inline: 6px; }
}
/* On a touch screen each link of the bar is a full finger's height to tap (44 pixels), without the bar growing
   or anything moving: the link's box reaches out invisibly above and below its words. */
@media (pointer: coarse) {
  .site-nav a { position: relative; }
  .site-nav a::after { content: ""; position: absolute; inset: -6px -2px; }
}
/* Anything the page scrolls to on an inner page stops short of the bar: a link to a place, and also a field
   or a checkbox the keyboard moves to, which a scroll-margin on the linked places alone never covered (the
   bar hid the Church name field, and the checkboxes on a Tab back up the page). Set once, on the page's own
   scrolling, and only where this bar is (the home page's bar is the film's, and story.css says where its
   links stop): an inner page says it is one with the class inner on its html element. Two rows deep under
   1040 pixels. */
html.inner { scroll-padding-top: calc(var(--bar) + 16px); }
@media (max-width: 1040px) { html.inner { scroll-padding-top: 108px; } }

/* ------------------------------------------------------------------------------------------------------------
   The head of an inner page. Not a banner: the headline, very large, on the paper, with the opening lines
   set lower and to the right and one line drawing of light beside them.
   ------------------------------------------------------------------------------------------------------------ */
.masthead { padding: clamp(40px, 6vw, 92px) 0 clamp(52px, 7vw, 100px); }
/* On a phone the picture leads, the full width of the column; then the headline; then the opening words. */
.masthead-grid { display: flex; flex-direction: column; gap: clamp(24px, 4vw, 44px); }
.masthead .lead { margin: 0; }
/* A still from the film. Each inner page opens with one picture of the story, the same drawing a visitor with
   no 3D sees in the film (assets/img/story-art.svg): the table in the stadium on the churches page, the map of
   America at communion on the cities page. It hangs on the film's own Friday sky, made from the look's tokens
   for that act (the wave is a Friday picture too), so the drawing keeps the colours it has in the film: its
   lights, its warm accent (the cup, the rings), its forms in light, its solid shade, and the glow where its
   light is. The glow's first stop stands before the gradient's start, as in story.css, which is how its
   strength is held to about a quarter at its center. The drawing is fitted whole into the panel and may run
   on past its frame (the land, a few far lights); the panel cuts it off at its own edge. */
.masthead-pic {
  --gx: 50%; --gy: 56%;
  position: relative; overflow: hidden; margin: 0; order: -1;
  aspect-ratio: 4 / 3; min-height: 0;
  border-radius: var(--radius-lg);
  --pic-light: var(--fx-fri-light);
  --pic-top: var(--fx-fri-sky-top); --pic-mid: var(--fx-fri-sky-mid); --pic-low: var(--fx-fri-sky-low);
  --art-accent: var(--fx-fri-accent);
  --art-form: var(--fx-fri-form);
  --art-glow: var(--fx-fri-glow);
  --art-shade: var(--fx-fri-fog);
  color: var(--pic-light);
  background:
    radial-gradient(ellipse 52% 34% at var(--gx) var(--gy), var(--art-glow) -330%, transparent 100%),
    linear-gradient(180deg, var(--pic-top) 0%, var(--pic-mid) 58%, var(--pic-low) 118%);
}
.masthead-pic[data-pic="wave"] { --gy: 50%; }
/* A picture from another day of the film hangs on that day's sky (data-sky: sat, sun or epi; Friday needs none). */
.masthead-pic[data-sky="sat"] {
  --pic-light: var(--fx-sat-light); --pic-top: var(--fx-sat-sky-top); --pic-mid: var(--fx-sat-sky-mid); --pic-low: var(--fx-sat-sky-low);
  --art-accent: var(--fx-sat-accent); --art-form: var(--fx-sat-form); --art-glow: var(--fx-sat-glow); --art-shade: var(--fx-sat-fog);
}
.masthead-pic[data-sky="sun"] {
  --pic-light: var(--fx-sun-light); --pic-top: var(--fx-sun-sky-top); --pic-mid: var(--fx-sun-sky-mid); --pic-low: var(--fx-sun-sky-low);
  --art-accent: var(--fx-sun-accent); --art-form: var(--fx-sun-form); --art-glow: var(--fx-sun-glow); --art-shade: var(--fx-sun-fog);
}
.masthead-pic[data-sky="epi"] {
  --pic-light: var(--fx-epi-light); --pic-top: var(--fx-epi-sky-top); --pic-mid: var(--fx-epi-sky-mid); --pic-low: var(--fx-epi-sky-low);
  --art-accent: var(--fx-epi-accent); --art-form: var(--fx-epi-form); --art-glow: var(--fx-epi-glow); --art-shade: var(--fx-epi-fog);
}
.masthead-pic svg { position: absolute; inset: 4%; width: 92%; height: 92%; max-width: none; overflow: visible; }
.masthead-pic[data-pic="wave"] svg { inset: 0 3%; width: 94%; height: 100%; }
/* THE HERO. Where the browser can draw 3D, one living scene of the film is drawn in the picture's own box
   (assets/js/story/hero.js; the masthead names the scene with data-hero). The box is already its full size,
   so nothing moves when the canvas arrives: it fades in over the drawing, and the drawing fades out under it
   (a dip between two playings of the scene then shows the panel's sky, not the drawing). With no 3D, none of
   this is on the page and the drawing stays as it is. */
.masthead-pic .hero-stage { position: absolute; inset: 0; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
html[data-story-state="ready"]:is([data-story="live"], [data-story="still"]) .masthead-pic .hero-stage { opacity: 1; }
html[data-story-state="ready"]:is([data-story="live"], [data-story="still"]) .masthead-pic .hero-stage.is-dipped { opacity: 0; transition-duration: 0.6s; }
.masthead-pic > svg { transition: opacity 1.2s ease; }
/* Where the scripts run (look-init.js sets data-hero-js before the page is drawn), the drawing waits out of sight
   while the 3D is on its way, so the stage shows only its sky and then the scene: it used to show the drawing for
   a moment and then swap (Shane, 2 Dec). It is shown if the 3D cannot be drawn (static), if it failed, or if
   nothing has arrived after four seconds, so a page whose script never comes is never left without a picture. */
html[data-hero-js]:not([data-story="static"]):not([data-story-state="failed"]):not([data-story-state="ready"]) .masthead.stage[data-hero] .masthead-pic > svg {
  opacity: 0; animation: c27-pic-late 0.8s ease 4s forwards;
}
@keyframes c27-pic-late { to { opacity: 1; } }
html[data-story-state="ready"]:is([data-story="live"], [data-story="still"]) .masthead-pic > svg { opacity: 0; animation: none; }
/* The scene's own small labels (the names of the time zones over the map), as in the film. */
.masthead-pic :is(.stage-overlay, .stage-labels) { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.masthead-pic .stage-label {
  position: absolute; left: 0; top: 0; padding-bottom: 6px;
  color: var(--on-dark);
  font-family: var(--font-text); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  white-space: nowrap; will-change: transform, opacity;
}
/* The Motion control: a small button in the corner of the picture. It keeps the same choice as the film's. */
.hero-motion {
  position: absolute; right: 8px; bottom: 8px; z-index: 2;
  min-height: 28px; padding: 4px 10px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg); color: var(--ink);
  font: 600 0.62rem/1.2 var(--font-text); letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer;
}
/* A finger needs more than the eye: the button's touch area reaches past its outline. */
.hero-motion::before { content: ""; position: absolute; inset: -10px -8px -8px -12px; }
.hero-motion:hover { border-color: var(--ink); }
.hero-motion:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.hero-hud { position: absolute; left: 8px; top: 8px; z-index: 2; margin: 0; padding: 6px 8px; background: var(--bg); color: var(--ink); font: 11px/1.4 ui-monospace, Consolas, monospace; opacity: 0.85; pointer-events: none; }
html[data-story-shot] .masthead-pic :is(.hero-stage, svg) { transition: none; }
@media print { .masthead-pic :is(.hero-stage, .stage-overlay, .hero-motion, .hero-hud) { display: none !important; } .masthead-pic > svg { opacity: 1 !important; } }
/* THE STAGE (27 Nov 2026, second pass: "one 3d immersive in the hero"). The head of the prayer, cities, churches,
   give and register pages is a stage like a beat of the film: the scene fills it edge to edge, and the words
   stand over it. The words are kept readable the film's way (story.css, THE VEIL): the act's scrim colour at
   full strength under every word, with one long soft edge toward the picture, and the act's own ink on it.
   hero.js measures where the words are and hands it to the engine (size.free, size.words), which frames the
   scene's subject in the room they leave, as it does for a beat.
     A wide screen: the stage is most of the screen's height; the words stand down the left (or in the middle,
       data-side="center": the register page's ring goes round them, as in the film's last beat).
     A phone: the scene is the top of the stage, about three fifths of the screen; the name of Jesus and the
       headline stand over its lower part, where it melts into the page's own ground; the opening words and
       the buttons follow on that ground. So everything below the headline reads exactly as the page does.
   With no 3D the drawing hangs on the same sky in the same stage, in the room the words leave. */
.masthead.stage {
  --hero-side: bottom;
  --stage-pic: clamp(280px, 60vh, 600px);
  position: relative; isolation: isolate; overflow: hidden; padding: 0 0 clamp(40px, 7vw, 72px);
  --b-ink: var(--story-fri-ink, var(--on-dark)); --b-ink-2: var(--story-fri-ink-2, var(--on-dark-2));
  --b-scrim: var(--story-fri-scrim, var(--bg));
}
@supports (height: 1svh) { .masthead.stage { --stage-pic: clamp(280px, 60svh, 600px); } }
.masthead.stage[data-sky="sat"] { --b-ink: var(--story-sat-ink, var(--on-dark)); --b-ink-2: var(--story-sat-ink-2, var(--on-dark-2)); --b-scrim: var(--story-sat-scrim, var(--bg)); }
.masthead.stage[data-sky="sun"] { --b-ink: var(--story-sun-ink, var(--on-dark)); --b-ink-2: var(--story-sun-ink-2, var(--on-dark-2)); --b-scrim: var(--story-sun-scrim, var(--bg)); }
.masthead.stage[data-sky="epi"] { --b-ink: var(--story-epi-ink, var(--on-dark)); --b-ink-2: var(--story-epi-ink-2, var(--on-dark-2)); --b-scrim: var(--story-epi-scrim, var(--bg)); }
.stage .masthead-pic {
  position: absolute; z-index: -1; inset: 0 0 auto 0; height: var(--stage-pic);
  order: 0; aspect-ratio: auto; border-radius: 0;
}
/* The drawing, for a browser without 3D (and while the 3D arrives): in the clear upper part of the scene. */
.stage .masthead-pic > svg { inset: 5% 5% auto 5%; width: 90%; height: 58%; }
/* The foot of the scene melts into the page's own ground: the headline stands there, in the page's own ink. */
.stage .masthead-pic::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 62%; pointer-events: none;
  background: linear-gradient(0deg, var(--bg) 0%, var(--bg) 32%, transparent 100%);
  opacity: 0.96;
}
.stage .masthead-words { position: relative; display: flex; flex-direction: column; gap: clamp(18px, 3vw, 28px); }
.stage .masthead-main { min-height: var(--stage-pic); display: flex; flex-direction: column; justify-content: flex-end; }
.stage .masthead-main > * { text-shadow: 0 0 18px var(--bg), 0 0 6px var(--bg); }
/* The small label over the scene takes the words' full ink: the quieter ink fell to 4 to 1 over bright lights. */
.stage .masthead-main .kicker { color: var(--fg); }
.stage .hero-motion { right: auto; left: 10px; top: 10px; bottom: auto; }
.after-stage { padding-block: clamp(24px, 4vw, 44px); }
.after-stage .asking { margin-top: 0; }
@media (min-width: 820px) and (min-aspect-ratio: 1/1) {
  .masthead.stage {
    --hero-side: left;
    display: flex; align-items: center; padding: 0;
    min-height: clamp(500px, 84vh, 100vh - var(--bar));
  }
  .masthead.stage[data-side="center"] { --hero-side: center; }
  .stage .masthead-pic { inset: 0; height: auto; }
  .stage .masthead-pic::after { content: none; }
  .stage .masthead-pic > svg { inset: 8% 4% 8% auto; width: 50%; height: 84%; }
  .stage > .wrap { padding-block: clamp(36px, 7vh, 84px); }
  .stage .masthead-words {
    max-width: min(40rem, 47%);
    --fg: var(--b-ink); --fg-2: var(--b-ink-2); --rule: var(--b-ink-2); color: var(--fg);
  }
  .stage .masthead-main { min-height: 0; display: block; }
  .stage .masthead-words .display-1 { font-size: min(var(--size-d1), 4.75rem); }
  .stage .masthead-main > * { text-shadow: none; }
  /* The veil: shade from the left edge of the stage to past the words, falling away toward the picture in the
     film's S-shaped curve (the same stops as story.css, --veil-s). The stage clips its three far sides. */
  .stage .masthead-words::before {
    --side: clamp(140px, 20vw, 360px);
    --v0: calc(100% - var(--side)); --vf: var(--side);
    --veil-s:
      rgba(0, 0, 0, 1) var(--v0),
      rgba(0, 0, 0, 0.972) calc(var(--v0) + var(--vf) * 0.1),
      rgba(0, 0, 0, 0.896) calc(var(--v0) + var(--vf) * 0.2),
      rgba(0, 0, 0, 0.784) calc(var(--v0) + var(--vf) * 0.3),
      rgba(0, 0, 0, 0.648) calc(var(--v0) + var(--vf) * 0.4),
      rgba(0, 0, 0, 0.5) calc(var(--v0) + var(--vf) * 0.5),
      rgba(0, 0, 0, 0.352) calc(var(--v0) + var(--vf) * 0.6),
      rgba(0, 0, 0, 0.216) calc(var(--v0) + var(--vf) * 0.7),
      rgba(0, 0, 0, 0.104) calc(var(--v0) + var(--vf) * 0.8),
      rgba(0, 0, 0, 0.028) calc(var(--v0) + var(--vf) * 0.9),
      rgba(0, 0, 0, 0) calc(var(--v0) + var(--vf));
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    inset: -200vh calc(var(--side) * -1) -200vh -100vw;
    /* The scrim laid twice (a layer of it over itself). The film frames every subject clear of its words by
       hand, beat by beat; a hero's scene may run under them (the towns of the prayer page do), so the shade
       under the words is deeper here: measured, the opening words keep 4.5 to 1 over the brightest lights. */
    background: linear-gradient(var(--b-scrim), var(--b-scrim)), var(--b-scrim);
    -webkit-mask-image: linear-gradient(90deg, var(--veil-s));
    mask-image: linear-gradient(90deg, var(--veil-s));
  }
  .stage .btn-line { background: var(--b-scrim); }
  .stage .hero-motion { left: auto; top: auto; right: 14px; bottom: 14px; }
  /* Words in the middle of the picture: an oval pool of the same shade, with no straight side at all. */
  /* Room above and below the words for the head and the foot of the ring that goes round them. */
  .stage[data-side="center"] > .wrap { display: flex; justify-content: center; padding-block: clamp(110px, 19vh, 190px) clamp(90px, 15vh, 150px); }
  .stage[data-side="center"] .masthead-words { max-width: min(35rem, 44%); align-items: center; text-align: center; }
  .stage[data-side="center"] .masthead-words .actions { justify-content: center; }
  .stage[data-side="center"] .masthead-words .display-1 { font-size: min(var(--size-d1), 4.2rem); }
  .stage[data-side="center"] .masthead-words::before {
    inset: -42% -30%;
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 56%, rgba(0, 0, 0, 0.8) 68%, rgba(0, 0, 0, 0.4) 82%, transparent 100%);
    mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 56%, rgba(0, 0, 0, 0.8) 68%, rgba(0, 0, 0, 0.4) 82%, transparent 100%);
  }
  /* The drawn ring is hung large enough to go round the words, its band clear of their first line. */
  .stage[data-side="center"] .masthead-pic > svg { inset: -10% 0 -12%; width: 100%; height: 122%; }
}
/* For measuring what lies behind the words (tools/shoot.py --ghost): their place and veils kept, their letters in no colour. */
html[data-story-ghost] .stage .masthead-words :is(p, h1, a, span) { color: transparent !important; text-shadow: none !important; }
html[data-story-ghost] .stage .masthead-words .kicker::before { background: transparent; }
/* On a wide screen the headline runs across the top. Under it the picture is the page's counterweight: it
   takes the left side, as tall as the opening words and buttons beside it, and its foot stands level with the
   foot of the buttons. */
@media (min-width: 960px) {
  .masthead-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(40px, 5vw, 88px); row-gap: clamp(32px, 4vw, 60px); }
  .masthead-main { grid-column: 1 / -1; }
  .masthead-pic { order: 0; grid-column: 1; grid-row: 2; align-self: stretch; aspect-ratio: auto; min-height: clamp(300px, 26vw, 420px); }
  .masthead-side { grid-column: 2; grid-row: 2; align-self: end; }
}

/* Who is asking: the founder, in his own words from the partner pack's letter, and how to reach him. Under
   the invitation on the churches page, and above the footer on the home page. A hairline above it; no box. */
.asking { margin-top: clamp(28px, 3.4vw, 44px); padding-top: 18px; border-top: 1px solid var(--rule-2); }
.asking .label { margin: 0 0 10px; }
.asking p { margin: 0 0 8px; color: var(--fg-2); }
.asking .asking-words { color: var(--fg); font-size: 1.05rem; line-height: 1.55; }
.asking .asking-who { color: var(--fg); font-weight: 600; }
.asking > :last-child { margin-bottom: 0; }
/* In the head of the churches page it is a row of its own under the picture and the invitation (so the
   picture's foot stays level with the buttons): his words under the picture, his name and how to reach him
   under the invitation. */
.masthead .asking { margin-top: 0; }
@media (min-width: 960px) {
  .masthead .asking { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(40px, 5vw, 88px); align-items: start; }
  @supports (grid-template-columns: subgrid) { .masthead .asking { grid-template-columns: subgrid; column-gap: inherit; } }
  .masthead .asking .label { grid-column: 1 / -1; }
  .masthead .asking .asking-words { grid-column: 1; grid-row: 2 / span 2; font-size: 1.2rem; max-width: 34em; }
  .masthead .asking > :not(.label):not(.asking-words) { grid-column: 2; }
}

/* ------------------------------------------------------------------------------------------------------------
   The weekend at a glance: three days on one row, set like the page of a programme. Each day is its date,
   very large, its word, who the Church is and who Jesus is in it, then what happens and when. No boxes: a
   rose-gold hairline above the row and a soft one between the days.
   ------------------------------------------------------------------------------------------------------------ */
.days { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--rule-2); }
.day { display: flex; flex-direction: column; min-width: 0; padding: clamp(26px, 3vw, 40px) 0 clamp(30px, 3.4vw, 44px); }
.day + .day { border-top: 1px solid var(--rule); }
/* One row from 820 pixels wide (Shane's ruling: never two days and one), one column on a phone. The three
   columns are exactly as wide as one another, so the same words break the same way in each: the space
   between two days is the grid's gap, and the hairline between them is drawn down the middle of that gap. */
@media (min-width: 820px) {
  .days { --day-gap: clamp(32px, 4.4vw, 60px); grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--day-gap); }
  .day { position: relative; }
  .day + .day { border-top: 0; }
  .day + .day::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--day-gap) / -2); width: 1px; background: var(--rule); }
}
/* Across the row each part of a day stands level with the same part of the others (the word, the names,
   what happens, the times), whatever the length of the words above it. Where a browser cannot share the rows
   of a grid, each day simply runs down its own column. */
@media (min-width: 820px) {
  @supports (grid-template-rows: subgrid) {
    .days { grid-template-rows: repeat(7, auto); }
    .day { display: grid; grid-row: 1 / span 7; grid-template-rows: subgrid; align-content: start; }
    .day > * { grid-column: 1; align-self: start; min-width: 0; }
    .day > .day-head { grid-row: 1; }
    .day > p { grid-row: 5; }
    .day > .day-word { grid-row: 2; }
    /* The two ruled lines of names are as tall in one day as in the others, so the rules run level across
       the row even if a name takes two lines in one day only. */
    .day > .day-who { grid-row: 3; align-self: stretch; }
    .day > h3 { grid-row: 4; }
    /* Each day's hours end where they end: a day with fewer of them is not stretched to match its neighbour. */
    .day > .times { grid-row: 6; }
    .day > .times-note { grid-row: 7; }
    .day > p + .times-note { grid-row: 6; }
  }
}
/* Each day's name of the service (its h3) comes first in the page's order, so someone moving by headings
   lands on it before the day's date, word and names; it is shown in the same place as before, under the
   names, by order here (and by its row of the shared grid above). */
.day > .day-head { order: 1; }
.day > .day-word { order: 2; }
.day > .day-who { order: 3; }
.day > h3 { order: 4; }
.day > p { order: 5; }
.day > .times { order: 6; }
.day > .times-note { order: 7; }
/* The head of each day's column is its picture from the film, drawn large (the cross on the hill, the city
   with its gates, the banner at sunrise), then its date. */
.day-head { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(18px, 2vw, 28px); }
.day-date { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 0.7em; margin: 0; }
.day-name { grid-column: 1 / -1; margin-bottom: clamp(10px, 1.2vw, 18px); }
.day-num { font-size: var(--size-num-xl); line-height: 0.8; color: var(--loud); }
.day-art { order: -1; flex: none; width: clamp(112px, 12vw, 176px); height: auto; color: var(--rule-2); margin-left: -6px; }
.day-word { font-size: var(--size-d3); line-height: 1.04; margin: clamp(22px, 2.6vw, 36px) 0 clamp(12px, 1.4vw, 18px); color: var(--fg); }
/* Who the Church is and who Jesus is: two ruled lines, each a label and a name. Where the column has room
   for the longest name beside its label they stand side by side, the labels one width so the names line up;
   where it has not, each name drops under its label. The room a name asks for is the same for every name
   (it is not measured from the words), so both lines of all three days always break the same way. A look
   that sets its headlines wide says so in its tracking token, and that token makes the room asked for wider
   than any column, so in such a look the names always stand under their labels. No look is named. */
.day-who { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; margin: 0 0 clamp(22px, 2.6vw, 34px); border-bottom: 1px solid var(--rule); }
.day-who div { display: flex; flex-wrap: wrap; align-items: baseline; align-content: center; row-gap: 3px; padding: 10px 0; border-top: 1px solid var(--rule); }
.day-who dt { flex: 0 0 12em; white-space: nowrap; }
.day-who dd { flex: 1 1 calc(11.2rem + var(--display-tracking) * 1000); min-width: 0; margin: 0; font-size: calc(var(--du) * 1.3); line-height: 1.2; color: var(--fg); }
.day h3 { margin-bottom: 0.45em; }
.day > p { color: var(--fg-2); }
.times { margin: 6px 0 0; border-bottom: 1px solid var(--rule); }
/* What happens, in small capitals, and under it the hour, set large. One above the other, so a long name
   and a long hour never fight for one line in a narrow column. */
.times div { padding: 10px 0 11px; border-top: 1px solid var(--rule); }
.times dt { display: block; }
.times dd { margin: 1px 0 0; font-size: 1.34rem; line-height: 1.3; color: var(--fg); }
/* An hour that is still a proposal carries the mark beside it. The space between them belongs to the hour,
   so where the column is narrow and the mark drops to its own line it starts on the left edge. */
.times .hour { white-space: nowrap; margin-right: 0.3em; }
.times .tbc { margin-left: 0; }
.times-note { margin: 12px 0 0; font-size: 0.9rem; color: var(--fg-2); }
.days + .times-note { margin-top: clamp(20px, 2.4vw, 30px); max-width: 60em; }
.days + .times-note .text-link { margin-left: 0.6em; white-space: nowrap; }

/* Key dates: six dates on one line of light, each a point on it. */
.dates-title { margin: clamp(44px, 6vw, 84px) 0 22px; }
.dates { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 152px), 1fr)); row-gap: 26px; }
.dates li { position: relative; margin: 0; padding: 20px 18px 0 0; border-top: 1px solid var(--rule-2); }
.dates li::before { content: ""; position: absolute; left: 1px; top: -4px; width: 7px; height: 7px; background: var(--rule-2); transform: rotate(45deg); }
.dates .d { display: block; font-size: 1.42rem; line-height: 1.2; color: var(--fg); }
.dates .w { display: block; margin-top: 6px; font-size: 0.92rem; line-height: 1.4; color: var(--fg-2); }
.dates li.is-main::before { left: 0; top: -6px; width: 11px; height: 11px; background: var(--fg); }
/* The day itself is marked by the larger point and a heavier hand, not by colour: at this size the band's
   loud colour falls just short of the contrast a date needs (3.9 to 1, where small type needs 4.5). */
.dates li.is-main .d { font-weight: 500; }
.dates li.is-main .w { color: var(--fg); }

/* ------------------------------------------------------------------------------------------------------------
   Numbered rows: a short list set like a table of contents. A large numeral, a headline, then the words.
   (Four ways to stand with us; the invitation in brief; the pathway.)
   ------------------------------------------------------------------------------------------------------------ */
.rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.row {
  display: grid; grid-template-columns: clamp(3rem, 8vw, 5.6rem) minmax(0, 1fr); column-gap: clamp(12px, 2vw, 28px);
  margin: 0; padding: clamp(20px, 2.4vw, 30px) 0 clamp(22px, 2.6vw, 34px); border-top: 1px solid var(--rule);
}
.row:first-child { border-top-color: var(--rule-2); }
.row > * { grid-column: 2; }
.row-num { grid-column: 1; grid-row: 1 / span 4; font-size: var(--size-num); line-height: 0.9; color: var(--loud); }
.row h3 { font-size: var(--size-d3); line-height: 1.04; margin: 0 0 0.35em; }
.row p { color: var(--fg-2); margin: 0; max-width: 34em; }
.row .text-link { justify-self: start; margin-top: 16px; }
/* Rows in no order (four ways to stand with us, the invitation in brief): no numeral, so nobody reads one way
   as coming before another. The headline stands on the left edge of the rule. Numerals are kept where the
   order is the point: the nine steps of the pathway and the five levels. */
.rows.unnumbered .row { grid-template-columns: minmax(0, 1fr); }
.rows.unnumbered .row > * { grid-column: 1; }
.rows.unnumbered .row h3 { font-size: var(--size-d3); }
/* Who is asking, at the foot of the four ways: the last line of the list, ruled off like the rows. */
.rows > .asking { margin-top: 0; padding: clamp(20px, 2.4vw, 30px) 0 clamp(22px, 2.6vw, 34px); border-top: 1px solid var(--rule); }
.rows > .asking p { max-width: 34em; }
/* A long list (the nine steps) is set smaller, headline and words side by side where there is room. */
.rows.compact .row h3 { font-size: var(--size-h3); line-height: 1.14; }
.rows.compact .row-num { font-size: calc(var(--du) * 2.2); }
.rows.compact .row { padding: 18px 0 20px; }
@media (min-width: 760px) {
  .rows.compact .row { grid-template-columns: 4.2rem minmax(0, 5fr) minmax(0, 6fr); align-items: baseline; }
  .rows.compact .row h3 { grid-column: 2; margin: 0; }
  .rows.compact .row p { grid-column: 3; }
}

/* A grid of items with a hairline above each: the eight roles. Each opens with a small point of light on its
   hairline, not a numeral: numbered roles beside numbered levels read as "role 2 is level 2". */
.items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 232px), 1fr)); column-gap: clamp(20px, 3vw, 44px); }
.item { position: relative; padding: 24px 0 clamp(26px, 3vw, 40px); border-top: 1px solid var(--rule); }
.item::before { content: ""; position: absolute; left: 1px; top: -4px; width: 7px; height: 7px; background: var(--rule-2); transform: rotate(45deg); }
.item-num { display: block; font-size: calc(var(--du) * 2.3); line-height: 1; color: var(--loud); margin-bottom: 14px; }
.item h3 { margin-bottom: 0.35em; }
.item p { color: var(--fg-2); margin: 0; }

/* The five levels: five equal columns (no lesser level), each numeral very large. */
.levels { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--rule-2); }
.level { display: grid; grid-template-columns: clamp(4.4rem, 20vw, 7rem) minmax(0, 1fr); column-gap: 16px; padding: 22px 0 24px; }
.level + .level { border-top: 1px solid var(--rule); }
.level > * { grid-column: 2; }
.level-num { grid-column: 1; grid-row: 1 / span 3; }
.level-num b { display: block; margin-top: 6px; font-size: calc(var(--du) * 4.6); line-height: 0.82; color: var(--loud); }
.level h3 { margin-bottom: 0.35em; }
.level p { color: var(--fg-2); margin: 0; }
@media (min-width: 1040px) {
  .levels { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .level { display: block; padding: 26px clamp(14px, 1.6vw, 24px) 6px; }
  .level + .level { border-top: 0; border-left: 1px solid var(--rule); }
  .level:first-child { padding-left: 0; }
  .level:last-child { padding-right: 0; }
  .level-num b { margin: 10px 0 22px; font-size: calc(var(--du) * 6.2); }
}
.level-note { margin: clamp(26px, 3vw, 40px) 0 0; color: var(--fg-2); }

/* Two plain lists side by side (what we ask, what your church receives): every line ruled off. */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(36px, 5vw, 88px); }
.duo.thirds { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(36px, 4vw, 64px); }
.duo h3 { font-size: var(--size-d3); line-height: 1.06; margin-bottom: 0.7em; }
.plain-list { list-style: none; padding: 0; margin: 0; border-bottom: 1px solid var(--rule); }
.plain-list li { margin: 0; padding: 13px 0; border-top: 1px solid var(--rule); }
.plain-list li:first-child { border-top-color: var(--rule-2); }
/* The Statement of Faith (churches page): a readable measure, and the five reasons of the cross as quiet
   sub-points under their line, not rows of their own. */
.faith-list { max-width: 46rem; }
.faith-list ul { list-style: disc; margin: 8px 0 0; padding-left: 1.4em; }
.faith-list ul li { border: 0; padding: 3px 0; }

/* The church's own leads: one to a line, set as names. */
.team { list-style: none; padding: 0; margin: clamp(22px, 2.6vw, 32px) 0 0; border-bottom: 1px solid var(--rule); }
.team li { margin: 0; padding: 11px 0; border-top: 1px solid var(--rule); font-size: calc(var(--du) * 1.4); line-height: 1.2; }
.team li:first-child { border-top-color: var(--rule-2); }
.team li span {
  margin-left: 0.5em; font-family: var(--font-text); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-2);
}
/* A note set beside the text: a hairline above it, no box. */
.note { padding-top: 22px; border-top: 1px solid var(--rule-2); }
.note > :last-child { margin-bottom: 0; }
.note p { color: var(--fg-2); }

/* ------------------------------------------------------------------------------------------------------------
   The prayer page. A King James verse set in the look's Scripture face, a hairline of light down its left
   side and the reference under it as a label; the hours of a meeting in the four time zones, two across and
   then four; and the small label that stands over each meeting's name.
   ------------------------------------------------------------------------------------------------------------ */
.scripture { margin: clamp(24px, 3vw, 38px) 0 0; padding: 2px 0 2px clamp(16px, 2vw, 26px); border-left: 1px solid var(--rule-2); max-width: 34em; }
.scripture p { margin: 0; font-family: var(--font-scripture); font-size: clamp(1.28rem, 1.08rem + 0.8vw, 1.7rem); line-height: 1.3; color: var(--fg); }
.scripture cite { display: block; margin-top: 12px; font-style: normal; }
.duo + .scripture { margin-top: clamp(36px, 5vw, 64px); }
.times.zones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); margin-top: 18px; }
@media (min-width: 1180px) { .times.zones { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.duo .label { margin: 0 0 10px; }
.duo > article > p:not([class]) { color: var(--fg-2); max-width: 34em; }
.prayer-note { margin-top: clamp(30px, 4vw, 48px); }

/* The follow-up timeline: when, then what. */
.timeline { list-style: none; padding: 0; margin: 0; border-bottom: 1px solid var(--rule); }
.timeline li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 28px; margin: 0; padding: 15px 0 17px; border-top: 1px solid var(--rule); }
.timeline li:first-child { border-top-color: var(--rule-2); }
.timeline .when { font-size: 1.3rem; line-height: 1.3; color: var(--fg); }
.timeline .what { color: var(--fg-2); }
@media (min-width: 560px) { .timeline li { grid-template-columns: 11.5rem minmax(0, 1fr); align-items: baseline; } }

/* The two packs: a line drawing of the booklet, its name set large, and the two ways to read it. */
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(36px, 5vw, 88px); }
.pack { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(18px, 2.4vw, 32px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--rule-2); }
.pack-art { width: clamp(44px, 6vw, 68px); height: auto; color: var(--rule-2); margin-top: 6px; }
.pack h3 { font-size: var(--size-d3); line-height: 1.04; margin: 0 0 0.4em; }
.pack p { color: var(--fg-2); }
.pack .pack-meta { margin: 0; }
.pack .actions { margin-top: 20px; }

/* ------------------------------------------------------------------------------------------------------------
   The tile map of the 50 states: fifty small squares drawn in hairline, one to a state, filled as its City
   Team forms. The words of the legend say what each filling means, so nothing depends on colour alone.
   ------------------------------------------------------------------------------------------------------------ */
.state-map { margin: 0; }
.tile-grid { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: clamp(3px, 0.55vw, 6px); max-width: 600px; margin: 0 auto; }
.tile {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule-2); border-radius: var(--radius);
  font-family: var(--font-text); font-weight: 500; font-size: clamp(0.52rem, 1.36vw, 0.74rem); letter-spacing: 0.06em; line-height: 1;
  color: var(--fg); text-decoration: none; background: transparent;
}
a.tile:hover { border-color: var(--fg); background: var(--bg-2); }
.tile.is-forming { background: var(--bg-2); border-color: var(--accent); border-bottom-width: 4px; }
.tile.is-confirmed { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.tile.is-home-base { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
/* On a phone the map runs the full width of the column with hairline gaps, and its letters are larger and
   heavier: at the desktop's proportions the tiles were 28 pixels with 8-pixel letters, and the small states
   of the Northeast touched. */
@media (max-width: 640px) {
  .tile-grid { max-width: none; gap: 3px; }
  .tile { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.02em; }
}
.legend { list-style: none; padding: 0; margin: 22px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 0.86rem; color: var(--fg-2); }
/* Two by two where four in a row would leave the last alone on a second line. */
@media (max-width: 1100px) {
  .legend { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; gap: 8px 22px; }
}
/* One to a line where two would not fit (the smallest phones). */
@media (max-width: 360px) { .legend { grid-template-columns: max-content; justify-content: start; } }
.legend li { display: inline-flex; align-items: center; gap: 9px; margin: 0; }
.legend .sw { width: 13px; height: 13px; border: 1px solid var(--rule-2); border-radius: var(--radius); }
.legend .sw.is-forming { background: var(--bg-2); border-color: var(--accent); border-bottom-width: 4px; }
.legend .sw.is-confirmed { background: var(--ink); border-color: var(--ink); }
.legend .sw.is-home-base { background: var(--accent); border-color: var(--accent); }
.skip-inline { position: absolute; left: -9999px; }
.skip-inline:focus { position: static; display: inline-block; margin-bottom: 10px; }

/* ------------------------------------------------------------------------------------------------------------
   The cities page.
   ------------------------------------------------------------------------------------------------------------ */
/* The communion moment, time zone by time zone: six points on one line of light, east to west. */
.wave { list-style: none; padding: 0; margin: clamp(32px, 5vw, 60px) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 168px), 1fr)); }
.wave li { position: relative; margin: 0; padding: 22px 18px 30px 0; border-top: 1px solid var(--rule-2); }
/* Each line of a time zone stands level with the same line of the others, even where a name runs to two lines. */
@supports (grid-template-rows: subgrid) {
  .wave li { display: grid; grid-template-rows: subgrid; grid-row: span 4; align-content: start; }
}
.wave li::before { content: ""; position: absolute; left: 1px; top: -4px; width: 7px; height: 7px; background: var(--rule-2); transform: rotate(45deg); }
.wave li:first-child::before { left: 0; top: -6px; width: 11px; height: 11px; background: var(--fg); }
.wave .zone { display: block; font-weight: 600; font-size: 0.7rem; line-height: 1.5; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-2); }
/* A second zone at the same moment (Arizona beside the Pacific), on a small line of its own under the name. */
.wave .zone-also { display: block; font-weight: 400; font-size: 0.82rem; letter-spacing: 0; text-transform: none; }
/* The time on one line always, sized so six columns hold "6:00 pm AKDT" at 1280 pixels and two do on a phone. */
.wave .at { display: block; white-space: nowrap; font-size: clamp(1.15rem, 0.7rem + 1.05vw, 1.62rem); line-height: 1.16; color: var(--fg); margin: 10px 0 8px; }
@media (max-width: 420px) { .wave li { padding-right: 10px; } .wave .at { font-size: 1.18rem; } }
.wave .east, .wave .count { display: block; font-size: 0.92rem; line-height: 1.45; color: var(--fg-2); }

/* Search, filter and order. */
.city-tools { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: flex-end; margin: clamp(36px, 5vw, 64px) 0 22px; }
.city-tools .field { margin: 0; flex: 1 1 220px; }
.city-tools fieldset.sort { margin: 0; flex: 0 0 auto; }
/* Two ways to order the list: plain words, the chosen one underlined. */
.seg { display: inline-flex; gap: 6px; min-height: 50px; align-items: center; }
.seg label { position: relative; margin: 0; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 10px 12px; font-weight: 500; font-size: 0.95rem; color: var(--fg-2); border-bottom: 2px solid transparent; }
.seg input:checked + span { color: var(--fg); font-weight: 600; border-bottom-color: var(--accent); }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.city-count { margin: 0 0 14px; color: var(--fg-2); font-weight: 600; font-size: 0.92rem; }

/* The fifty cities: an index, two to a row on a wide screen, every entry ruled off. The state in small
   capitals, the city set as a name, and the local time of the communion moment set large beside it. */
.city-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 430px), 1fr)); column-gap: clamp(32px, 5vw, 84px); border-bottom: 1px solid var(--rule); }
.city-card {
  display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; column-gap: 12px; row-gap: 3px; align-content: start;
  margin: 0; padding: 16px 0 18px; border-top: 1px solid var(--rule);
}
/* The city a link or a tile of the map brought you to. */
.city-card:target { border-left: 3px solid var(--accent); padding-left: 12px; background: var(--bg-2); }
.city-head { display: contents; }
.city-abbr { grid-column: 1; grid-row: 1 / span 4; padding-top: 0.5em; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; color: var(--fg-2); }
.city-head h3 { grid-column: 2; grid-row: 1; margin: 0; font: inherit; letter-spacing: 0; text-transform: none; min-width: 0; }
.city-state { display: block; font-family: var(--font-text); font-weight: 600; font-size: 0.68rem; line-height: 1.5; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-2); }
.city-name { display: block; font-size: calc(var(--du) * 1.6); line-height: 1.1; color: var(--fg); margin-top: 2px; overflow-wrap: break-word; }
.city-time { grid-column: 3; grid-row: 1 / span 3; margin: 0; max-width: 13rem; text-align: right; font-size: 0.78rem; line-height: 1.4; color: var(--fg-2); }
.city-time strong { display: block; font-size: 1.34rem; line-height: 1.25; color: var(--fg); white-space: nowrap; }
.badge { grid-column: 2; margin: 6px 0 0; display: flex; align-items: center; gap: 9px; font-size: 0.86rem; color: var(--fg-2); }
.badge::before { content: ""; flex: none; width: 7px; height: 7px; border: 1px solid var(--rule-2); transform: rotate(45deg); }
.badge.is-forming::before { background: var(--accent-2); }
.badge.is-confirmed::before { background: var(--ink); border-color: var(--ink); }
.badge.is-home-base::before { background: var(--accent); border-color: var(--accent); }
.city-stadium { grid-column: 2; margin: 4px 0 0; font-weight: 600; }
/* The other big cities of the same state where its one stadium could be instead (ten states have some):
   one quiet line of words under the lead city, running the width of the entry. Never names set as cities. */
.city-options { grid-column: 2 / -1; margin: 6px 0 0; font-size: 0.86rem; line-height: 1.45; color: var(--fg-2); }
/* After the fifty, a further option that is in no state (Washington, DC): its name as a small label and one
   quiet line, on the left edge of the list's own words. Not an entry of the list. */
.city-also { margin: 16px 0 0; padding-left: calc(2.5rem + 12px); font-size: 0.92rem; line-height: 1.5; color: var(--fg-2); }
.city-also-name { margin-right: 0.9em; font-weight: 600; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg); white-space: nowrap; }
.city-also .city-links { display: flex; margin-top: 8px; }
/* Found by a search (dc, district of columbia): a rose line down its left edge, as the city a tile chose. */
.city-also.is-match, .city-also:target { border-left: 3px solid var(--accent); padding-left: calc(2.5rem + 9px); }
/* A city's two links: help lead (the form on this page), and I would come (the register form). The first is
   the stronger; the second quieter, in the reading weight. */
.city-links { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 8px 0 0; font-size: 0.86rem; }
.city-lead, .city-come { text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 0.3em; }
.city-lead { font-weight: 600; }
.city-come { color: var(--fg-2); }
.city-lead:hover, .city-come:hover { text-decoration-color: currentColor; }
.map-help { margin: 18px 0 0; text-align: center; font-size: 0.9rem; color: var(--fg-2); }
.city-empty { grid-column: 1 / -1; margin: 0; padding: 28px 0; color: var(--fg-2); border-top: 1px solid var(--rule); }
@media (max-width: 420px) {
  .city-card { grid-template-columns: 2.2rem minmax(0, 1fr); }
  .city-time { grid-column: 2; grid-row: auto; text-align: left; max-width: none; margin-top: 6px; }
  .city-time strong { display: inline; font-size: 1.1rem; }
  .city-also { padding-left: calc(2.2rem + 12px); }
}

/* ------------------------------------------------------------------------------------------------------------
   Forms. Every form is a sheet of the page's paper laid on the wine band: the headline and the opening words
   stand on the wine beside it, the fields are on the paper. A field's edge is the quieter ink (the hairline
   colour is too faint to find a field by), an error is said in words as well as coloured, and the focus ring
   shows on every ground.
   ------------------------------------------------------------------------------------------------------------ */
.form-section { padding-bottom: clamp(56px, 8vw, 112px); }
.form-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); }
.form-lede .display-2 { margin-bottom: 0.5em; }
.form-lede p { color: var(--fg-2); max-width: 34em; }
/* The ring's symbol is cut to the ring itself (no air round it), so its left edge stands on the column's edge
   with the label and the headline under it. */
.form-art { display: block; width: clamp(52px, 6.2vw, 84px); height: auto; color: var(--rule-2); margin-bottom: clamp(20px, 3vw, 36px); }
.form-card > .sheet { min-width: 0; padding: clamp(20px, 4vw, 52px); border-radius: var(--radius-lg); }
@media (min-width: 960px) {
  .form-card { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  /* A long form (the Church Partner Form) gets a wider sheet, so its choices can stand two to a row. */
  .form-card.long { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  /* Its headline holds the name, which never breaks (Communion ’27), so it is set a size smaller: whole on
     its line in the narrow column, in both looks. */
  .form-card.long .form-lede .display-2 { font-size: min(var(--size-d2), calc(var(--du) * 3)); }
  .form-lede { position: sticky; top: calc(var(--bar) + 44px); }
  .form-card > .sheet { grid-column: 2; }
}
.req-note { font-size: 0.92rem; }
.req { color: var(--star); font-weight: 600; margin-left: 2px; }
form { margin: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
legend { padding: 0; margin: 0 0 14px; font-size: var(--size-h3); line-height: 1.14; color: var(--fg); }
fieldset fieldset { margin-bottom: 22px; }
fieldset fieldset legend, .seg-label {
  font-family: var(--font-text); font-stretch: normal; font-weight: 600; font-size: 1rem; line-height: 1.4;
  letter-spacing: 0; text-transform: none; color: var(--fg); margin-bottom: 8px;
}
/* A part of a long form: its name set large, a rose-gold hairline above it. */
fieldset.group { margin: 0 0 clamp(30px, 4vw, 44px); padding-top: 20px; border-top: 1px solid var(--rule-2); }
fieldset.group > legend { float: left; width: 100%; font-size: var(--size-d3); line-height: 1.06; margin-bottom: 18px; }
fieldset.group > legend + * { clear: both; }
/* The first part of a form needs no hairline: the edge of the sheet is its opening. */
.sheet > fieldset.group:first-of-type { padding-top: 0; border-top: 0; }
.hint-inline { font-weight: 400; color: var(--fg-2); font-size: 0.95em; }
.hint { display: block; font-size: 0.92rem; color: var(--fg-2); margin: -2px 0 8px; }
.hint.after { margin: 8px 0 0; min-height: 1.4em; }
/* A hint that says nothing yet (the line under a State menu, before a state is chosen) takes no room: it
   stays in the page so that a screen reader hears it fill, but it does not hold a blank line open. */
.hint.after:empty { min-height: 0; margin: 0; }
/* A hint that belongs to one field of a row but may run long (what a state's Communion '27 is so far) stands
   under the whole row instead of in its half of it, close up under the fields. */
.hint.under-row { margin: -10px 0 20px; }
.hint.under-row:empty { margin: 0; }
fieldset > .hint { margin: -4px 0 12px; }
.field-row { display: grid; gap: 0 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field-row.zip-row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.field { margin: 0 0 20px; min-width: 0; }
/* Side by side, two fields' boxes line up even when one hint runs to more lines than the other. */
.field-row > .field { display: flex; flex-direction: column; }
.field-row > .field > input, .field-row > .field > select { margin-top: auto; }
/* (Not the label that holds a checkbox: that one is a row, the box and then its words.) */
.field > label:not(.check), .seg-label { display: block; font-weight: 600; margin-bottom: 7px; color: var(--fg); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="search"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; letter-spacing: 0; color: var(--ink);
  background: var(--surface); border: var(--border-w) solid var(--ink-2); border-radius: var(--radius);
  appearance: none; -webkit-appearance: none;
}
textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
/* The arrow of a menu, drawn from two slanted halves of the ink so that it needs no picture and no colour. */
select {
  padding-right: 42px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
  background-position: right 21px center, right 15px center;
}
input:hover, select:hover, textarea:hover { border-color: var(--ink); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--ink); }
input::placeholder, textarea::placeholder { color: var(--ink-2); opacity: 1; }
/* Choices: one to a line, ruled off, with the browser's own box or dot in the look's accent. */
.choice-grid { display: grid; column-gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border-top: 1px solid var(--rule); }
.choice-inline { display: flex; flex-wrap: wrap; gap: 0 30px; }
.check { position: relative; display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 12px 0; line-height: 1.4; cursor: pointer; border-bottom: 1px solid var(--rule); }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.check input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.check .opt-title { display: block; font-weight: 600; color: var(--fg); }
.check .opt-text { display: block; font-size: 0.95rem; color: var(--fg-2); margin-top: 2px; }
.choice-inline .check { padding: 8px 0; border-bottom: 0; }
.consent .check { padding: 18px 0 4px; border-bottom: 0; border-top: 1px solid var(--rule-2); }
.consent a { font-weight: 600; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 10px; }
.submit-note { margin: 0; font-size: 0.95rem; color: var(--fg-2); flex: 1 1 240px; }
.noscript-note { padding: 14px 0; border-top: 1px solid var(--rule-2); font-size: 0.95rem; }

/* What went wrong, in words. The edge of the field also thickens, so the eye finds it without colour. */
.field.has-error input, .field.has-error select, .field.has-error textarea { border: 2px solid var(--danger); padding: 11px 13px; }
.field.has-error select { padding-right: 41px; }
fieldset.has-error .check { border-bottom-color: var(--danger); }
.field-error { margin: 8px 0 0; color: var(--danger); font-weight: 600; font-size: 0.95rem; line-height: 1.4; }
.form-alert { display: none; margin: 0 0 24px; padding: 14px 18px; font-weight: 600; border: 1px solid var(--ink-2); border-left-width: 4px; border-radius: var(--radius); background: var(--surface); color: var(--ink); }
.form-alert.is-error { display: block; border-color: var(--danger); color: var(--danger); }
.form-alert.is-info { display: block; }
/* After a form is sent. */
.form-done { text-align: left; }
.form-done:focus { outline: none; }
.done-mark { width: 44px; height: 44px; margin-bottom: 18px; color: var(--accent); }
.done-mark svg { display: block; width: 100%; height: 100%; }
.form-done h3 { font-size: var(--size-d3); line-height: 1.06; }
.form-done p { color: var(--fg-2); }
.form-done .mail-copy { width: 100%; min-height: 220px; font-size: 0.95rem; margin: 8px 0 4px; }
.copy-status { font-weight: 600; color: var(--fg); margin-left: 6px; }

/* ------------------------------------------------------------------------------------------------------------
   The footer, the same on every page, on the wine. It opens with the weekend in three words, each under its
   line drawing: the film in one line. Then the name, the contact and the way round the site.
   ------------------------------------------------------------------------------------------------------------ */
.site-footer { padding: clamp(6px, 1vw, 14px) 0 30px; }
.three-words { list-style: none; margin: 0; padding: clamp(30px, 4vw, 52px) 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; border-bottom: 1px solid var(--rule); }
/* Where a form's band comes just before the footer the two are one wine ground, so a rose-gold hairline
   marks where the footer begins. After a section on the paper the change of ground says it already. */
main:has(> .band:last-child) + .site-footer { padding-top: 0; }
main:has(> .band:last-child) + .site-footer .three-words { border-top: 1px solid var(--rule-2); }
.three-words li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 18px; margin: 0; }
.three-words .mark { grid-row: 1 / span 2; width: clamp(40px, 4.4vw, 56px); height: auto; color: var(--rule-2); }
.tw-day { align-self: end; }
.tw-word { align-self: start; font-size: var(--size-d3); line-height: 1.04; color: var(--fg); }
@media (min-width: 760px) { .three-words { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); } }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 36px clamp(28px, 5vw, 80px); padding-top: clamp(36px, 5vw, 64px); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); } }
.footer-h { font-family: var(--font-text); font-size: 0.72rem; font-weight: 600; line-height: 1.5; letter-spacing: var(--kicker-tracking); text-transform: uppercase; color: var(--fg-2); margin: 0 0 14px; }
.site-footer p { color: var(--fg-2); margin: 0 0 10px; }
.site-footer a { color: var(--fg); }
/* The name, as the film's title sets it: the name large, the place beneath it in wide capitals. */
.wordmark { margin: 0 0 20px; color: var(--fg); }
.wordmark .wm-name { display: block; font-size: var(--size-d2); line-height: 1; white-space: nowrap; }
.wordmark .wm-place { display: block; margin-top: 12px; font-family: var(--font-text); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.62em; text-transform: uppercase; color: var(--fg-2); }
.site-footer .wordmark { color: var(--fg); }
.site-footer .footer-jesus { font-weight: 600; font-size: 0.72rem; letter-spacing: var(--kicker-tracking); text-transform: uppercase; color: var(--fg); }
.site-footer .footer-owner { color: var(--fg); font-weight: 600; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin: 0 0 8px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--rule-2); }
.footer-base { margin-top: clamp(36px, 5vw, 60px); padding-top: 20px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: 0.88rem; }
.footer-base p { margin: 0; }

/* ------------------------------------------------------------------------------------------------------------
   The privacy notice: each matter named on the left, said plainly on the right.
   ------------------------------------------------------------------------------------------------------------ */
/* Its head is the plain one: the headline, then its opening words and the date straight under it on the same
   left edge. (The other two pages set their opening words lower and to the right, beside a line drawing;
   with no drawing that left this page half empty.) */
.masthead.plain { padding-bottom: clamp(30px, 4vw, 52px); }
.masthead.plain .lead { margin: clamp(22px, 3vw, 40px) 0 0; }
.updated { color: var(--fg-2); font-size: 0.95rem; margin: clamp(16px, 2vw, 24px) 0 0; max-width: 44em; }
.section.flush { padding-top: 0; }
.clauses { border-bottom: 1px solid var(--rule); }
.clause { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px clamp(28px, 5vw, 80px); padding: clamp(22px, 2.6vw, 34px) 0; border-top: 1px solid var(--rule); }
.clause:first-child { border-top-color: var(--rule-2); }
.clause > h2 { margin: 0; font-size: var(--size-d3); line-height: 1.08; color: var(--fg); }
.clause > div > :last-child { margin-bottom: 0; }
.clause p, .clause li { max-width: 40em; }
.clause li { margin-bottom: 0.5em; }
@media (min-width: 860px) { .clause { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
.table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.98rem; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 13px 18px 13px 0; border-bottom: 1px solid var(--rule); }
.table-wrap thead th { font-weight: 600; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-2); border-bottom-color: var(--rule-2); }
.table-wrap tbody th { font-weight: 600; color: var(--fg); }
/* The form's name in the first column on one or two lines, never one word to a line. */
.table-wrap th:first-child, .table-wrap td:first-child { width: 10em; min-width: 10em; }
@media (max-width: 600px) {
  /* On a phone each row of the table is set as its own short block, its column names said again. */
  .table-wrap.stack { overflow: visible; }
  .table-wrap.stack table { min-width: 0; }
  .table-wrap.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap.stack tr { display: block; padding: 14px 0; border-top: 1px solid var(--rule); }
  .table-wrap.stack th, .table-wrap.stack td { display: block; border-bottom: 0; padding: 0 0 8px; }
  .table-wrap.stack td[data-label]::before {
    content: attr(data-label); display: block; margin-bottom: 2px;
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-2);
  }
}

/* ------------------------------------------------------------------------------------------------------------
   Motion and print.
   ------------------------------------------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
/* On paper the wine band is plain paper: its roles become the page's, so nothing prints light on white.
   (CanvasText and Canvas are the browser's own "ink" and "paper", not colours of ours.) */
@media print {
  .site-top, .city-tools, form, .band-lights { display: none !important; }
  body, .band, .sheet, .tint {
    --fg: CanvasText; --fg-2: CanvasText; --loud: CanvasText; --rule: CanvasText; --rule-2: CanvasText;
    background: Canvas !important; color: CanvasText !important;
  }
  .section { padding: 18pt 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
}

/* Give (Shane, 25 Nov 2026: on every page). Below 360px wide the top bar has no room for five links, so there
   Give is in the footer only (every page has it there). */
@media (max-width: 359px) { .site-nav .nav-give { display: none; } }
