/* The Father In Me — public site
   Direction: "Loud and flat" — the org's own street-flyer voice: stencil-heavy type, flat panels
   of ink, sand and flyer red meeting edge to edge, real photographs cut hard and set at an angle. */

/* ---------- tokens ---------- */
:root {
  --bg: #efeeeb;          /* paper */
  --surface: #e2e0db;     /* one step down from paper */
  --ink: #121110;
  --muted: #4f4a44;
  --sand: #d6b88e;        /* brand tan from the logo sheet */
  --sand-ink: #121110;
  --night: #121110;       /* black field */
  --night-ink: #efeeeb;
  --night-muted: #c9c3ba;
  --accent: #d2232a;      /* flyer red: actions */
  --accent-ink: #ffffff;
  --accent-deep: #a8161c;

  --font-display: "Big Shoulders", "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --font-text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.75rem, 1.3rem + 5.2vw, 6.25rem);
  --step-display: clamp(5rem, 1.5rem + 12.4vw, 14.5rem);
  --step-fig: clamp(4.5rem, 2rem + 6vw, 9rem);

  --margin: clamp(1rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(6rem, 12vw, 12rem);
  --tile-gap: 8px;
  --radius: 0px;
  --header-h: 72px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-reveal: 800ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(210, 35, 42, 0.15); }
a, button, input, select, textarea, label { touch-action: manipulation; }
select { background-color: #fff; color: var(--ink); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: var(--step-body); line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: calc(var(--header-h) + 1rem); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -100px; z-index: 100; background: var(--ink); color: var(--bg); padding: 0.75rem 1rem; }
.skip:focus { top: 0.5rem; }

/* ---------- type ---------- */
h1, h2, h3, .display, .head { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em; line-height: 0.88; text-wrap: balance; }
.display { font-size: var(--step-display); }
.head { font-size: var(--step-head); }
.lead { font-size: var(--step-lead); line-height: 1.38; max-width: 44ch; }
.small { font-size: var(--step-small); line-height: 1.45; }
.muted { color: var(--muted); }
p { max-width: 64ch; text-wrap: pretty; }
p + p { margin-top: 0.9em; }
.nums { font-variant-numeric: tabular-nums; }
strong { font-weight: 600; }

/* ---------- layout ---------- */
.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { padding-block: calc(var(--section) / 2); }
.field-night { background: var(--night); color: var(--night-ink); }
.field-night .muted { color: var(--night-muted); }
.field-sand { background: var(--sand); color: var(--sand-ink); }
.field-sand .muted { color: #3d342a; }
.field-red { background: var(--accent); color: var(--accent-ink); }
.cover { width: 100%; height: 100%; object-fit: cover; }

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 3.25rem; padding: 0 1.5rem; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.button:hover { background: var(--accent-deep); }
.button:active { transform: scale(0.97); }
.button.ink { background: var(--ink); color: var(--bg); }
.button.ink:hover { background: #2d2a27; }
.button.paper { background: var(--bg); color: var(--ink); }
.button.paper:hover { background: #fff; }
.button svg { width: 1.1em; height: 1.1em; transition: transform var(--t-hover) var(--ease-out); }
.button:hover svg { transform: translate(2px, -2px); }
.link { text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
.link:hover { color: var(--accent); }
.field-red .link:hover, .field-night .link:hover { color: inherit; text-decoration-color: transparent; }

/* ---------- header ---------- */
.site-header { padding-top: env(safe-area-inset-top); position: sticky; top: 0; z-index: 50; background: var(--bg); height: var(--header-h); display: flex; align-items: center; gap: 2rem; padding-inline: var(--margin); transition: transform 320ms var(--ease-out); }
.site-header.away { transform: translateY(-100%); }
.site-header .brand { display: block; flex: none; }
.site-header .brand img { height: 38px; width: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); margin-left: auto; font-weight: 600; font-size: var(--step-body); }
.site-nav a { padding-block: 0.4rem; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; text-decoration-color: transparent; transition: text-decoration-color var(--t-hover) ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration-color: currentColor; }
.site-header .actions { display: flex; align-items: center; gap: 1.25rem; }
.site-header .actions .button { min-height: 2.75rem; padding: 0 1.1rem; }
.site-header .signin { font-weight: 600; text-decoration: none; }
.site-header .signin:hover { color: var(--accent); }
.menu-toggle { display: none; font-weight: 600; min-height: 44px; padding-inline: 0.25rem; margin-left: auto; }
@media (max-width: 1120px) {
  .site-nav, .site-header .actions { display: none; }
  .menu-toggle { display: block; }
  .site-header .brand img { height: 32px; }
}
.menu-sheet { overscroll-behavior: contain; overflow-y: auto; position: fixed; inset: 0; z-index: 60; background: var(--night); color: var(--night-ink); padding: 0 var(--margin) 2rem; display: flex; flex-direction: column; transform: translateY(-100%); visibility: hidden; transition: transform 420ms var(--ease-expo), visibility 0s 420ms; }
.menu-sheet.open { transform: none; visibility: visible; transition: transform 420ms var(--ease-expo); }
.menu-sheet .top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.menu-sheet .top img { height: 32px; width: auto; }
.menu-sheet nav { display: flex; flex-direction: column; margin-top: 1.5rem; }
.menu-sheet nav a { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(3rem, 15vw, 5rem); line-height: 1; text-decoration: none; padding-block: 0.12em; }
.menu-sheet nav a[aria-current="page"] { color: var(--sand); }
.menu-sheet .sheet-actions { margin-top: auto; display: grid; gap: 0.75rem; }
.menu-sheet .sheet-actions .button { width: 100%; min-height: 3.5rem; }

/* ---------- headline mask (signature move) ---------- */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.lines [data-line] { display: block; }

/* ---------- page heading (sub pages) ---------- */
.page-head { padding: clamp(3rem, 9vh, 7rem) var(--margin) clamp(3rem, 7vh, 5rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.page-head h1 { grid-column: 1 / -1; font-size: var(--step-display); }
.page-head .line:nth-child(2) { text-align: right; }
.page-head .intro { grid-column: 1 / span 6; margin-top: clamp(2rem, 4vw, 3rem); }
.page-head .aside { grid-column: 8 / -1; margin-top: clamp(2rem, 4vw, 3rem); justify-self: end; text-align: right; }
@media (max-width: 760px) {
  .page-head .line:nth-child(2) { text-align: left; }
  .page-head .intro, .page-head .aside { grid-column: 1 / -1; justify-self: start; text-align: left; }
  .page-head .aside { margin-top: 1.5rem; }
}

/* ======================================================================
   HOME
   ====================================================================== */
.hero { min-height: calc(100svh - var(--header-h)); padding: clamp(1.5rem, 5vh, 4rem) var(--margin) clamp(1.5rem, 4vh, 2.5rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr auto; column-gap: var(--gutter); }
.hero h1 { grid-column: 1 / span 7; grid-row: 1; font-size: min(12vw, 15rem); line-height: 0.86; }
.hero h1 .line { white-space: nowrap; }
.hero-photo { grid-column: 8 / -1; grid-row: 1 / span 3; align-self: stretch; position: relative; margin: 0; }
.hero-photo .frame { position: absolute; inset: 2% 0 6% 4%; overflow: clip; transform: rotate(3deg); background: var(--surface); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero-photo figcaption { position: absolute; left: 4%; bottom: 0; transform: rotate(3deg) translateY(30%); transform-origin: left; background: var(--ink); color: var(--bg); padding: 0.5rem 0.8rem; font-size: var(--step-small); font-weight: 600; }
.hero .foot { grid-column: 1 / span 7; grid-row: 3; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 2rem; align-items: end; margin-top: 2.25rem; }
.hero .foot .lead { max-width: 36ch; }
.next-up { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 1rem; padding: 1rem 1.25rem; background: var(--sand); color: var(--sand-ink); text-decoration: none; transition: background-color var(--t-hover) ease; }
.next-up:hover { background: #cdac7e; }
.next-up .when { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.9rem; line-height: 1; }
.next-up .what { font-weight: 600; }
.next-up .count { margin-left: auto; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .hero { min-height: 0; grid-template-rows: auto; padding-top: 2rem; }
  .hero h1 { grid-column: 1 / -1; font-size: min(20vw, 10rem); line-height: 0.88; }
  /* on phones the photo sizes itself (no absolute frame), which Safari handles reliably */
  .hero-photo { grid-column: 1 / -1; grid-row: 2; align-self: start; margin: 1.75rem 0 1.25rem; }
  .hero-photo .frame { position: relative; inset: auto; margin: 0 2%; transform: rotate(-2deg); }
  .hero-photo img { height: auto; aspect-ratio: 4 / 3; }
  .hero-photo figcaption { transform: rotate(-2deg) translateY(40%); left: 6%; }
  .hero .foot { grid-column: 1 / -1; grid-row: 3; grid-template-columns: 1fr; margin-top: 1.5rem; }
  .hero .foot .button { width: 100%; }
  .next-up .count { margin-left: 0; }
}

/* intro: statement tiles */
.tiles { padding: var(--tile-gap); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 38svh 38svh auto; gap: var(--tile-gap); margin-top: clamp(4rem, 8vw, 7rem); }
.tile { position: relative; overflow: hidden; padding: 20px 24px; display: flex; flex-direction: column; justify-content: flex-end; }
.tile-a { grid-column: 1 / span 8; grid-row: 1 / span 2; background: var(--night); color: var(--night-ink); }
.tile-a h2 { font-size: min(11vw, 13rem); }
.tile-a h2 .nw { white-space: nowrap; }
.tile-b { grid-column: 9 / -1; grid-row: 1; background: var(--sand); }
.tile-b .big { font-family: var(--font-display); font-weight: 800; font-size: var(--step-fig); line-height: 0.9; text-transform: uppercase; }
.tile-b .small { font-weight: 600; margin-top: 0.5rem; }
.tile-c { grid-column: 9 / -1; grid-row: 2; padding: 0; }
.tile-c img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-d { grid-column: 1 / -1; grid-row: 3; background: var(--bg); padding: clamp(2rem, 4vw, 3.5rem) clamp(0.5rem, 2vw, 1.5rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.tile-d figure { grid-column: 1 / span 5; }
.tile-d blockquote { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 1rem + 1.4vw, 2.25rem); line-height: 1; max-width: 20ch; }
.tile-d figcaption { margin-top: 1rem; font-size: var(--step-small); color: var(--muted); }
.tile-d .text { grid-column: 7 / -1; font-size: var(--step-lead); line-height: 1.4; }
.tile-d .text p { max-width: 52ch; }
@media (max-width: 760px) {
  .tiles { grid-template-columns: 1fr 1fr; grid-template-rows: 46svh auto auto; gap: 6px; padding: 6px; }
  .tile-a { grid-column: 1 / -1; grid-row: 1; }
  .tile-a h2 { font-size: clamp(3.5rem, 19vw, 6rem); }
  .tile-b { grid-column: 1; grid-row: 2; aspect-ratio: 1; }
  .tile-b .big { font-size: 13vw; white-space: nowrap; }
  .tile-c { grid-column: 2; grid-row: 2; aspect-ratio: 1; }
  .tile-d { grid-column: 1 / -1; grid-row: 3; grid-template-columns: 1fr; padding: 2rem 14px; gap: 2rem; }
  .tile-d figure, .tile-d .text { grid-column: 1; }
}

/* stats: stepped figure tiles */
.stats { padding: var(--section) var(--margin) 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--tile-gap); align-items: start; }
.stat { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.stat .fig { font-family: var(--font-display); font-weight: 800; font-size: var(--step-fig); line-height: 0.85; font-variant-numeric: tabular-nums; }
.stat .cap { font-size: var(--step-body); font-weight: 600; max-width: 24ch; }
.stat-1 { grid-column: 1 / span 6; grid-row: 1 / span 2; align-self: stretch; min-height: 380px; background: var(--accent); color: var(--accent-ink); }
.stat-2, .stat-3 { container-type: inline-size; }
.stat-2 .fig, .stat-3 .fig { font-size: min(var(--step-fig), 36cqi); }
.stat-1 .fig { font-size: clamp(5rem, 2rem + 8vw, 11rem); }
.stats h2 { font-size: var(--step-head); }
.stat-2 { grid-column: 7 / span 3; grid-row: 2; height: 34vh; min-height: 240px; background: var(--night); color: var(--night-ink); }
.stat-3 { grid-column: 10 / -1; grid-row: 2; height: 34vh; min-height: 240px; background: var(--sand); }
.stats-head .note { color: var(--ink); font-size: var(--step-lead); line-height: 1.35; max-width: 40ch; }
.stats-head { grid-column: 7 / -1; grid-row: 1; gap: 1.25rem; padding-bottom: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 6px; }
  .stats-head { grid-column: 1 / -1; grid-row: 1; height: auto; min-height: 0; gap: 1rem; margin-bottom: 1.25rem; }
  .stat-1 { grid-column: 1 / -1; grid-row: 2; height: auto; min-height: 0; aspect-ratio: 1 / 0.85; align-self: start; }
  .stat-1 .fig { font-size: 34vw; }
  .stat-2 { grid-column: 1; grid-row: 3; height: auto; min-height: 220px; }
  .stat-3 { grid-column: 2; grid-row: 3; height: auto; min-height: 220px; }
  .stat .fig { font-size: 13.5vw; }
  .stat { padding: 18px; gap: 2rem; }
  .stat-1 { margin-bottom: 3rem; }
}

/* features: capabilities at poster scale */
.poster-list { padding: var(--section) var(--margin); }
.poster-list ul { display: grid; row-gap: 0.35em; }
.poster-list li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: baseline; }
.poster-list .name { grid-column: 1 / span 8; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--step-head); line-height: 1; letter-spacing: -0.005em; transition: color var(--t-hover) ease; }
.poster-list .desc { grid-column: 9 / -1; font-size: var(--step-body); line-height: 1.5; max-width: 40ch; }
.poster-list .first .name { color: var(--muted); }
.poster-list li:not(.first) .name { color: var(--ink); }
@media (hover: hover) { .poster-list li:not(.first):hover .name { color: var(--accent); } }
.poster-list .more { margin-top: 2.5rem; display: flex; justify-content: flex-end; }
@media (max-width: 760px) {
  .poster-list ul { row-gap: 1.75rem; }
  .poster-list li { grid-template-columns: 1fr; }
  .poster-list .name { grid-column: 1; font-size: clamp(2.6rem, 13vw, 4rem); }
  .poster-list .desc { grid-column: 1; padding-left: var(--margin); margin-top: 0.4rem; font-size: var(--step-body); }
  .poster-list .more { justify-content: stretch; }
  .poster-list .more .button { width: 100%; }
}

/* how it works: lines that step across */
.stairs { padding: var(--section) var(--margin); }
.stairs ol { display: grid; row-gap: 56px; list-style: none; padding: 0; margin: 0; }
.stairs li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.stairs .step { grid-column: var(--from) / -1; }
.stairs li:nth-child(1) { --from: 1; }
.stairs li:nth-child(2) { --from: 3; }
.stairs li:nth-child(3) { --from: 5; }
.stairs li:nth-child(4) { --from: 7; }
.stairs h2, .stairs h3 { font-size: var(--step-head); line-height: 0.95; }
.stairs li:last-child h3 { color: var(--accent-deep); }
.stairs p { margin-top: 12px; max-width: 40ch; color: var(--muted); font-size: var(--step-body); }
.stairs .fee-link { margin-top: 1rem; }
@media (max-width: 760px) {
  .stairs ol { row-gap: 40px; }
  .stairs li { grid-template-columns: 1fr; }
  .stairs .step { grid-column: 1; padding-left: calc((var(--i) * 6vw)); }
  .stairs h2, .stairs h3 { font-size: clamp(2.2rem, 11vw, 3.5rem); }
  .stairs p { font-size: var(--step-body); }
}

/* events: line-up at one size */
.lineup { padding: var(--section) var(--margin); }
.lineup .head-row { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.lineup h2 { font-size: var(--step-head); }
.lineup table { width: 100%; border-collapse: collapse; font-size: clamp(1.25rem, 0.8rem + 1.2vw, 2rem); line-height: 1.25; }
.lineup th { text-align: left; font-weight: 400; color: var(--night-muted); font-size: var(--step-small); padding-bottom: 0.75rem; }
.lineup td { padding: 0.5em 0; vertical-align: baseline; }
.lineup tr + tr td { border-top: 1px solid rgba(242, 240, 237, 0.18); }
.lineup td:first-child { width: 24%; padding-right: 1rem; }
.lineup td.what a { text-decoration: none; font-weight: 600; }
.lineup td.what a:hover { color: var(--sand); }
.lineup td.where { width: 24%; padding-right: 1rem; }
.lineup td.time { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lineup .empty { color: var(--night-muted); font-size: var(--step-lead); }
@media (max-width: 760px) {
  .lineup table, .lineup tbody, .lineup tr, .lineup td { display: block; width: auto !important; }
  .lineup thead { display: none; }
  .lineup tr { padding: 1.75rem 0; display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; }
  .lineup tr + tr { border-top: 1px solid rgba(242, 240, 237, 0.18); }
  .lineup tr + tr td { border-top: 0; }
  .lineup td { padding: 0; }
  .lineup td.when { grid-column: 1 / -1; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; line-height: 1; }
  .lineup td.what { grid-column: 1 / -1; font-size: 1.2rem; margin-top: 0.35rem; }
  .lineup td.where { grid-column: 1; font-size: var(--step-small); color: var(--night-muted); margin-top: 0.25rem; }
  .lineup td.time { grid-column: 2; font-size: var(--step-small); color: var(--night-muted); margin-top: 0.25rem; }
}

/* gallery teaser: prints around the headline */
.prints { position: relative; min-height: 100svh; padding: var(--section) var(--margin); display: grid; place-items: center; overflow: clip; }
.prints h2 { position: relative; z-index: 1; text-align: center; font-size: var(--step-display); line-height: 0.85; }
.print { position: absolute; margin: 0; background: var(--bg); padding: 8px; width: 21vw; max-width: 340px; transition: transform 220ms var(--ease-out); z-index: 2; }
.print img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.print:hover { transform: rotate(0deg) scale(1.03); z-index: 3; }
.print-1 { left: var(--margin); top: 9%; transform: rotate(-8deg); }
.print-2 { right: var(--margin); top: 14%; transform: rotate(6deg); }
.print-3 { right: 27%; bottom: -6%; width: 14vw; transform: rotate(-4deg); }
.print-4 { left: 27%; bottom: -4%; width: 13vw; transform: rotate(5deg); }
.prints .foot { position: absolute; left: var(--margin); bottom: 24px; right: var(--margin); display: flex; justify-content: space-between; align-items: end; gap: 1rem; z-index: 4; }
.prints .foot p { font-size: var(--step-body); max-width: 34ch; background: var(--sand); padding: 0.5rem 0.75rem; }
@media (max-width: 760px) {
  .prints { min-height: 0; display: flex; flex-direction: column; padding-top: 4rem; padding-bottom: 2rem; }
  .prints h2 { font-size: 26vw; order: 1; }
  .print { position: relative; width: 54vw; left: auto; right: auto; top: auto; bottom: auto; }
  .print-1 { order: 0; align-self: flex-start; transform: rotate(-6deg); margin-bottom: 2rem; }
  .print-2 { order: 2; align-self: flex-end; transform: rotate(5deg); margin-top: 2rem; }
  .print-3, .print-4 { display: none; }
  .prints .foot { position: static; order: 3; margin-top: 2rem; flex-direction: column; align-items: stretch; }
  .prints .foot .button { width: 100%; }
}

/* cta: one word is the button */
.cta-band { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; position: relative; min-height: 60svh; padding: 20px var(--margin) 24px; background: var(--accent); color: var(--accent-ink); text-decoration: none; overflow: hidden; }
.cta-band .top { display: flex; align-items: flex-start; gap: 1.5rem; }
.cta-band .note { max-width: 40ch; font-size: var(--step-lead); line-height: 1.3; }
.cta-band .arrow { flex: none; width: 56px; height: 56px; transition: transform var(--t-hover) var(--ease-out); }
.cta-band .word { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(8rem, 33vw, 34rem); line-height: 0.82; margin-bottom: -0.04em; overflow: clip; overflow-clip-margin: 0.02em; letter-spacing: -0.01em; white-space: nowrap; }
.cta-band:hover, .cta-band:focus-visible { background: var(--ink); color: var(--bg); }
.cta-band:hover .arrow { transform: translate(6px, -6px); }
.cta-band:focus-visible { outline-offset: -6px; outline-color: var(--bg); }
@media (max-width: 760px) {
  .cta-band { min-height: 46svh; }
  .cta-band .note { font-size: var(--step-body); max-width: 26ch; }
  .cta-band .arrow { width: 36px; height: 36px; }
  .cta-band .word { font-size: 31vw; }
}

/* contact: clip-out coupon form */
.coupon-wrap { padding: var(--section) var(--margin); }
.coupon { --notch: 14px; position: relative; display: grid; grid-template-columns: 46fr 54fr; background: var(--night); color: var(--night-ink); width: min(100%, 1180px); margin-inline: auto;
  -webkit-mask: radial-gradient(circle var(--notch) at 46% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 46% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; /* taste-skill-ignore: coupon notch mask / photo caption scrim / form focus ring */
          mask: radial-gradient(circle var(--notch) at 46% 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 46% 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; } /* taste-skill-ignore: coupon notch mask / photo caption scrim / form focus ring */
.coupon .left { padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; border-right: 5px dotted var(--bg); }
.coupon h2 { font-size: clamp(2.25rem, 1.2rem + 2.6vw, 3.75rem); line-height: 0.92; }
.coupon .left p { font-size: var(--step-body); color: var(--night-muted); }
.coupon .left .direct a { color: var(--night-ink); }
.coupon form { padding: 48px; display: grid; gap: 10px; }
.coupon input, .coupon textarea { width: 100%; min-height: 52px; padding: 0.85rem 1rem; background: #2a2725; color: var(--night-ink); border: 0; border-radius: 0; font-size: var(--step-body); }
.coupon textarea { min-height: 120px; resize: vertical; }
.coupon input::placeholder, .coupon textarea::placeholder { color: #b5aea4; }
.coupon input:focus-visible, .coupon textarea:focus-visible { outline-color: var(--sand); outline-offset: 0; }
.coupon button { min-height: 56px; background: var(--bg); color: var(--ink); font-weight: 600; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.coupon button:hover { background: var(--sand); }
.coupon button:active { transform: scale(0.985); }
.coupon .status { min-height: 1.5em; font-size: var(--step-small); color: var(--sand); }
@media (max-width: 760px) {
  .coupon-wrap { padding-inline: 12px; }
  .coupon { grid-template-columns: 1fr; -webkit-mask: radial-gradient(circle var(--notch) at 0 var(--cut, 50%), #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% var(--cut, 50%), #0000 98%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle var(--notch) at 0 var(--cut, 50%), #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% var(--cut, 50%), #0000 98%, #000) right / 51% 100% no-repeat; } /* taste-skill-ignore: coupon notch mask / photo caption scrim / form focus ring */
  .coupon .left { padding: 28px 22px; border-right: 0; border-bottom: 5px dotted var(--bg); }
  .coupon form { padding: 28px 22px; }
  .coupon input, .coupon textarea { min-height: 54px; }
}

/* footer: contact as the headline */
.site-footer { background: var(--night); color: var(--night-ink); min-height: 90svh; padding: 40px var(--margin) 28px; display: flex; flex-direction: column; }
.site-footer .top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 1.5rem; font-size: var(--step-body); }
.site-footer .top img { height: 30px; width: auto; }
.site-footer .top .b1 { grid-column: 1 / span 3; }
.site-footer .top .b2 { grid-column: 4 / span 3; color: var(--night-muted); }
.site-footer .top .b3 { grid-column: 7 / span 4; color: var(--night-muted); }
.site-footer .top .b3 a { color: var(--night-ink); }
.site-footer .top .toTop { grid-column: 11 / -1; justify-self: end; color: var(--night-ink); }
.site-footer .call { margin-top: auto; padding-top: 4rem; }
.site-footer .call .label { font-size: var(--step-body); color: var(--night-muted); margin-bottom: 0.75rem; }
.site-footer .call a { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: clamp(4.5rem, 1rem + 15vw, 17rem); line-height: 0.82; text-decoration: none; font-variant-numeric: tabular-nums; transition: color var(--t-hover) ease; }
.site-footer .call a:hover { color: var(--sand); }
.site-footer .call .alt { margin-top: 1.25rem; font-size: var(--step-lead); }
.site-footer .call .alt a { font-family: var(--font-text); font-weight: 600; font-size: inherit; line-height: 1.3; text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.site-footer .meta { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; font-size: var(--step-small); color: var(--night-muted); }
.site-footer .meta nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.site-footer .meta a { color: var(--night-ink); text-decoration: none; }
.site-footer .meta a:hover { text-decoration: underline; }
.site-footer .meta .right { text-align: right; }
@media (max-width: 760px) {
  .site-footer { min-height: 0; }
  .site-footer .top { grid-template-columns: 1fr; }
  .site-footer .top > * { grid-column: 1 !important; justify-self: start !important; }
  .site-footer .call { padding-top: 5rem; }
  .site-footer .call a { font-size: 15.5vw; white-space: nowrap; }
  .site-footer .meta { grid-template-columns: 1fr; font-size: var(--step-small); }
  .site-footer .meta .right { text-align: left; }
}

/* ======================================================================
   SUB PAGES
   ====================================================================== */

/* full-bleed photograph with a caption bar (programs) */
.bleed-photo { position: relative; margin: 0; }
.bleed-photo img { width: 100%; height: min(86svh, 62vw); object-fit: cover; }
.bleed-photo .bar { position: relative; margin: -7rem var(--margin) 0 auto; width: min(560px, calc(100% - 2 * var(--margin))); background: var(--sand); padding: clamp(1.5rem, 3vw, 2.5rem); }
.bleed-photo .bar h2 { font-size: clamp(2.5rem, 1.4rem + 3vw, 4.5rem); }
.bleed-photo .bar p { margin-top: 1rem; }
@media (max-width: 760px) { .bleed-photo img { height: 70vw; } .bleed-photo .bar { margin: -3rem var(--margin) 0; width: auto; } }

/* split: picture one side, text the other */
.split { padding: var(--section) var(--margin); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; align-items: center; }
.split .pic { grid-column: 1 / span 5; margin: 0; }
.split .pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split .pic.tilt img { transform: rotate(-3deg); }
.split .txt { grid-column: 7 / -1; }
.split.flip .pic { grid-column: 8 / -1; grid-row: 1; }
.split.flip .txt { grid-column: 1 / span 6; grid-row: 1; }
.split.text-first .txt { grid-column: 1 / span 6; }
.split.text-first .pic { grid-column: 8 / -1; }
.split .pic.wide img { aspect-ratio: 4 / 3; }
.split h2 { font-size: var(--step-head); }
.split .txt > p:first-of-type { margin-top: 1.5rem; }
.split .txt .lead + p { margin-top: 1rem; }
.split .txt .button { margin-top: 2rem; }
@media (max-width: 760px) {
  .split .pic, .split .txt, .split.flip .pic, .split.flip .txt, .split.text-first .pic, .split.text-first .txt { grid-column: 1 / -1; grid-row: auto; }
}

/* two photographs side by side with captions */
.pair { padding: 0 var(--margin) var(--section); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--tile-gap); }
.pair figure { margin: 0; }
.pair figure:first-of-type { grid-column: 1 / span 7; }
.pair figure:last-of-type { grid-column: 8 / -1; align-self: end; }
.pair img { width: 100%; height: 100%; object-fit: cover; }
.pair figure:first-of-type img { aspect-ratio: 3 / 2; }
.pair figure:last-of-type img { aspect-ratio: 4 / 5; }
.pair figcaption { margin-top: 0.6rem; font-size: var(--step-small); color: var(--muted); }
@media (max-width: 760px) { .pair figure:first-of-type, .pair figure:last-of-type { grid-column: 1 / -1; } }

/* pillars band */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillars > div { padding: clamp(1.5rem, 3vw, 2.5rem); min-height: 46svh; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.pillars > div:nth-child(1) { background: var(--night); color: var(--night-ink); }
.pillars > div:nth-child(2) { background: var(--sand); }
.pillars > div:nth-child(3) { background: var(--accent); color: var(--accent-ink); }
.pillars > div:nth-child(4) { background: var(--surface); }
.pillars h3 { font-size: clamp(2.25rem, 1rem + 2.6vw, 4rem); }
.pillars p { font-size: var(--step-body); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } .pillars > div { min-height: 300px; } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } .pillars > div { min-height: 0; } }

/* events page */
.event-feature { padding: 0 var(--margin) var(--section); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; }
.event-feature .pic { grid-column: 1 / span 7; margin: 0; background: var(--surface); }
.event-feature .pic img { width: 100%; height: 100%; max-height: 78svh; aspect-ratio: 4 / 3; object-fit: cover; }
.event-feature .info { grid-column: 8 / -1; display: flex; flex-direction: column; }
.event-feature .date { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(3.5rem, 1.5rem + 5vw, 7rem); line-height: 0.85; }
.event-feature h2 { font-size: clamp(2rem, 1.2rem + 2vw, 3.25rem); margin-top: 1.5rem; line-height: 0.95; }
.event-feature dl, .event-row dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.25rem; margin-top: 1.5rem; }
.event-feature dt, .event-row dt { color: var(--muted); }
.event-feature dd, .event-row dd { font-weight: 600; }
.event-feature .body { margin-top: 1.5rem; }
.event-feature .acts, .event-row .acts { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: auto; padding-top: 2rem; }
.event-feature .acts .button.ghost, .event-row .acts .button.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.event-feature .acts .button.ghost:hover, .event-row .acts .button.ghost:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 900px) { .event-feature .pic, .event-feature .info { grid-column: 1 / -1; } }

.event-list { padding: var(--section) var(--margin); }
.event-list > h2 { font-size: var(--step-head); margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.event-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 1.25rem; padding-block: clamp(2rem, 4vw, 3rem); }
.event-row:nth-child(odd of .event-row) { background: transparent; }
.event-row .when { grid-column: 1 / span 3; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.5rem, 1.2rem + 3vw, 4.5rem); line-height: 0.88; }
.event-row .when .wk { display: block; font-size: 0.5em; color: var(--night-muted); margin-top: 0.3em; }
.event-row .main { grid-column: 4 / span 5; }
.event-row h3 { font-size: clamp(1.9rem, 1.2rem + 1.6vw, 2.75rem); line-height: 0.95; }
.event-row .main p { margin-top: 1rem; color: var(--night-muted); }
.event-row dt { color: var(--night-muted); }
.event-row .pic { grid-column: 9 / -1; margin: 0; }
.event-row .pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.event-row .acts .button.ghost { color: var(--night-ink); border: 2px solid var(--night-ink); }
.event-row .acts .button.ghost:hover { background: var(--night-ink); color: var(--night); }
.event-row + .event-row { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 900px) {
  .event-row .when, .event-row .main, .event-row .pic { grid-column: 1 / -1; }
  .event-row .pic { grid-row: 1; }
}

/* gallery page */
.gallery-tools { padding: 0 var(--margin) 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.chip { min-height: 44px; padding: 0 1.1rem; background: var(--surface); font-weight: 600; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.chip:hover { background: #d9d3c9; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.gallery-tools .count { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.masonry { padding: 0 var(--margin) var(--section); columns: 4 280px; column-gap: var(--tile-gap); }
.masonry .item { break-inside: avoid; margin: 0 0 var(--tile-gap); position: relative; display: block; width: 100%; text-align: left; background: var(--surface); overflow: hidden; }
.masonry .item img, .masonry .item video { width: 100%; height: auto; transition: transform 600ms var(--ease-soft); }
.masonry .item:hover img { transform: scale(1.04); }
.masonry .item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 0.9rem 0.8rem; color: #fff; font-size: var(--step-small); font-weight: 600; background: linear-gradient(to top, rgba(0,0,0,0.62), rgba(0,0,0,0)); opacity: 0; transform: translateY(8px); transition: opacity var(--t-hover) ease, transform var(--t-hover) var(--ease-out); } /* taste-skill-ignore: coupon notch mask / photo caption scrim / form focus ring */
.masonry .item:hover .cap, .masonry .item:focus-visible .cap { opacity: 1; transform: none; }
.masonry .item .play { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; font-weight: 600; font-size: var(--step-small); padding: 0.3rem 0.6rem; }
.masonry .embed { aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--night); color: var(--night-ink); font-weight: 600; }
@media (hover: none) { .masonry .item .cap { opacity: 1; transform: none; } }

.lightbox { overscroll-behavior: contain; width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(18, 17, 16, 0.96); color: var(--night-ink); }
.lightbox::backdrop { background: rgba(18, 17, 16, 0.96); }
.lightbox .stage { position: absolute; inset: 72px var(--margin) 96px; display: grid; place-items: center; }
.lightbox .stage img, .lightbox .stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox .stage iframe { width: min(100%, 1100px); aspect-ratio: 16 / 9; border: 0; }
.lightbox .bar { position: absolute; left: var(--margin); right: var(--margin); bottom: 24px; display: flex; gap: 1rem; align-items: center; }
.lightbox .bar p { flex: 1; font-weight: 600; }
.lightbox .top { position: absolute; top: 16px; right: var(--margin); left: var(--margin); display: flex; justify-content: space-between; align-items: center; font-variant-numeric: tabular-nums; }
.lightbox button { min-height: 48px; min-width: 48px; padding: 0 1rem; background: var(--night-ink); color: var(--night); font-weight: 600; }
.lightbox button:hover { background: var(--sand); }

/* donate page */
.give-grid { padding: 0 var(--margin) var(--section); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--tile-gap); }
.give-grid .give:nth-child(1) { grid-column: 1 / span 7; grid-row: 1 / span 2; min-height: 640px; }
.give-grid .give:nth-child(1) h2 { font-size: var(--step-display); }
.give-grid .give:nth-child(2), .give-grid .give:nth-child(3) { grid-column: 8 / -1; min-height: 316px; }
.give-grid .give:nth-child(4) { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.give-grid .give:nth-child(4) h2 { grid-column: 1 / span 4; }
.give-grid .give:nth-child(4) .zbody { grid-column: 5 / span 5; display: grid; gap: 1rem; }
.give-grid .give:nth-child(4) .copy { grid-column: 10 / -1; justify-self: end; align-self: end; }
.give { position: relative; min-height: 380px; padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 1rem; text-decoration: none; transition: transform var(--t-press) var(--ease-out); }
.give:nth-child(1) { background: var(--night); color: var(--night-ink); }
.give:nth-child(2) { background: var(--accent); color: var(--accent-ink); }
.give:nth-child(3) { background: var(--sand); }
.give:nth-child(4) { background: var(--surface); }
.give h2 { font-size: clamp(3.25rem, 1.5rem + 5vw, 7rem); }
.give .handle { font-weight: 600; font-size: var(--step-lead); overflow-wrap: anywhere; }
.give p { font-size: var(--step-body); max-width: 40ch; }
.give .go { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 600; font-size: var(--step-lead); padding-top: 1.5rem; }
.give .go svg { width: 44px; height: 44px; flex: none; transition: transform var(--t-hover) var(--ease-out); }
a.give:hover .go svg { transform: translate(6px, -6px); }
a.go { color: inherit; text-decoration: none; }
a.go:hover svg { transform: translate(6px, -6px); }
.give .amounts { display: flex; gap: var(--tile-gap); margin-top: auto; padding-top: 1.5rem; }
.give .amounts + .go { margin-top: 0; }
.give .amounts a { flex: 1; max-width: 120px; min-height: 56px; display: grid; place-items: center; background: var(--night-ink); color: var(--night); font-weight: 600; font-size: var(--step-lead); font-variant-numeric: tabular-nums; text-decoration: none; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.give .amounts a:hover { background: var(--sand); }
.give .amounts a:active { transform: scale(0.97); }
a.give:active { transform: scale(0.99); }
.give .copy { align-self: flex-start; min-height: 48px; padding: 0 1.25rem; background: var(--ink); color: var(--bg); font-weight: 600; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.give .copy:hover { background: #2d2a27; }
.give .copy:active { transform: scale(0.97); }
@media (max-width: 760px) { .give-grid .give:nth-child(n) { grid-column: 1 / -1; grid-row: auto; min-height: 280px; } .give-grid .give:nth-child(1) h2 { font-size: var(--step-head); } .give-grid .give:nth-child(4) { display: flex; align-items: flex-start; } .give-grid .give:nth-child(4) .copy { align-self: flex-start; } }

/* ======================================================================
   FORMS (sign up, sign in)
   ====================================================================== */
.form-layout { padding: 0 var(--margin) var(--section); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; align-items: start; }
.form-layout > form, .form-layout > .form-main { grid-column: 1 / span 8; min-width: 0; }
.form-layout > aside { grid-column: 9 / -1; display: grid; gap: var(--tile-gap); }
@media (max-width: 1020px) { .form-layout > form, .form-layout > .form-main, .form-layout > aside { grid-column: 1 / -1; } .form-layout > aside { order: 2; grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .form-layout > aside { grid-template-columns: 1fr; } }
.done .acts .button { white-space: normal; text-align: center; }

.fieldset { border: 0; margin: 0 0 var(--tile-gap); padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--surface); min-width: 0; }
.fieldset legend { float: left; width: 100%; padding: 0; margin-bottom: 1.5rem; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 1.3rem + 1.8vw, 3rem); line-height: 0.9; }
.fieldset legend + * { clear: both; }
.fieldset .hint { margin: -0.75rem 0 1.5rem; color: var(--muted); font-size: var(--step-body); clear: both; }
.fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem 1rem; clear: both; }
.f { grid-column: span 6; display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.f.half { grid-column: span 3; }
.f.third { grid-column: span 2; }
.f.twothird { grid-column: span 4; }
@media (max-width: 640px) { .f.half, .f.third, .f.twothird { grid-column: span 6; } }
.f label, .f .label { font-weight: 600; font-size: var(--step-body); }
.f .opt { font-weight: 400; color: var(--muted); }
.f input, .f select, .f textarea { width: 100%; min-height: 52px; padding: 0.8rem 0.95rem; background: #fff; border: 1px solid #bdb6ab; border-radius: 0; font-size: var(--step-body); transition: border-color var(--t-hover) ease, box-shadow var(--t-hover) ease; }
.f textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.f input:hover, .f select:hover, .f textarea:hover { border-color: var(--ink); }
.f input:focus-visible, .f select:focus-visible, .f textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent); } /* taste-skill-ignore: coupon notch mask / photo caption scrim / form focus ring */
.f [aria-invalid="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); } /* taste-skill-ignore: coupon notch mask / photo caption scrim / form focus ring */
.f .err { color: var(--accent-deep); font-size: var(--step-small); font-weight: 600; }
.f .err:empty { display: none; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.choice span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.1rem; background: #fff; border: 1px solid #bdb6ab; font-weight: 600; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, border-color var(--t-hover) ease; }
.choice input:hover + span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent); } /* taste-skill-ignore: coupon notch mask / photo caption scrim / form focus ring */
.check { display: flex; gap: 0.85rem; align-items: flex-start; font-size: var(--step-body); }
.check input { width: 24px; height: 24px; margin: 0.1rem 0 0; accent-color: var(--ink); flex: none; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--night); color: var(--night-ink); }
.submit-row .button { min-height: 3.5rem; padding-inline: 2rem; }
.submit-row p { font-size: var(--step-small); color: var(--night-muted); max-width: 46ch; }
.form-error { background: #fde9e9; color: #7d1014; padding: 1rem 1.25rem; font-weight: 600; margin-bottom: var(--tile-gap); }
.form-error:empty { display: none; }

.side-panel { padding: clamp(1.5rem, 2.5vw, 2rem); }
.side-panel h2 { font-size: clamp(2rem, 1.3rem + 1.6vw, 2.75rem); line-height: 0.92; }
.side-panel p, .side-panel ul { margin-top: 1rem; font-size: var(--step-body); }
.side-panel ul { padding-left: 1.1rem; }
.side-panel li + li { margin-top: 0.4rem; }
.side-panel .fee { font-family: var(--font-display); font-weight: 800; font-size: clamp(4.5rem, 2rem + 5vw, 7rem); line-height: 0.85; font-variant-numeric: tabular-nums; }
.side-panel .button { margin-top: 1.25rem; width: 100%; }
.side-photo { margin: 0; }
.strip { padding: 0 var(--margin) var(--section); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--tile-gap); }
.strip figure { margin: 0; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.strip figure:nth-child(2) { margin-top: 3rem; }
@media (max-width: 640px) { .strip { grid-template-columns: 1fr 1fr; } .strip figure:nth-child(3) { display: none; } }
.side-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.done { padding: clamp(2rem, 4vw, 3.5rem); background: var(--sand); min-width: 0; }
.form-layout > .done { grid-column: 1 / span 8; }
@media (max-width: 1020px) { .form-layout > .done { grid-column: 1 / -1; } }
.done h2 { overflow-wrap: anywhere; }
.done p { max-width: 52ch; overflow-wrap: anywhere; }
.done h2 { font-size: var(--step-head); }
.done p { margin-top: 1rem; font-size: var(--step-lead); line-height: 1.35; }
.done .acts { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.done dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.25rem; margin-top: 1.5rem; font-size: var(--step-body); }
.done dt { color: #3d342a; }
.done dd { font-weight: 600; font-variant-numeric: tabular-nums; }

/* sign in / out mode switch */
.mode { display: grid; grid-template-columns: 1fr 1fr; gap: var(--tile-gap); margin-bottom: var(--tile-gap); }
.mode button { min-height: 84px; padding: 0 1.5rem; text-align: left; background: var(--surface); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.75rem, 1rem + 2vw, 2.75rem); line-height: 1; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.mode button:hover { background: #d9d3c9; }
.mode button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.clock { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 2rem + 4vw, 6.5rem); line-height: 0.85; font-variant-numeric: tabular-nums; }

/* demo-mode notice (shown only while the site runs without a database) */
.demo-note { background: #fff4d6; color: #5a3d00; padding: 0.75rem var(--margin); font-size: var(--step-small); }
.demo-note[hidden] { display: none; }

/* ---------- motion (content stays visible without JavaScript) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { animation: line-up 900ms var(--ease-expo) backwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
  .js [data-rise] { animation: rise 700ms var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 90ms + 520ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .hero-photo .frame img { animation: drift 18s var(--ease-soft) infinite alternate; }
  /* entrance only adds motion: the photo is visible by default, so it shows even if the animation never runs */
  .hero-photo { animation: photo-in 1000ms var(--ease-out) 250ms backwards; }
  .tile-c img { animation: drift 20s var(--ease-soft) infinite alternate-reverse; }
}
@keyframes line-up { from { transform: translateY(105%); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
@keyframes photo-in { from { opacity: 0; transform: translateY(28px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}

/* partners page: one row per organization, logo and words alternating sides */
.partners { padding: 0 var(--margin) var(--section); display: grid; row-gap: clamp(3rem, 7vw, 6rem); }
.partner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
.partner .logo { grid-column: 1 / span 5; margin: 0; background: #fff; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: clamp(1.5rem, 3vw, 3rem); }
.partner .logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.partner .txt { grid-column: 7 / -1; }
.partner:nth-child(even) .logo { grid-column: 8 / -1; grid-row: 1; }
.partner:nth-child(even) .txt { grid-column: 1 / span 6; grid-row: 1; }
.partner h2 { font-size: clamp(2.25rem, 1.2rem + 3vw, 4.25rem); line-height: 0.92; }
.partner p { margin-top: 1.25rem; font-size: var(--step-lead); line-height: 1.38; max-width: 36ch; }
@media (max-width: 760px) {
  .partner .logo, .partner .txt, .partner:nth-child(even) .logo, .partner:nth-child(even) .txt { grid-column: 1 / -1; grid-row: auto; }
  .partner .txt { margin-top: 1.25rem; }
  .partner p { font-size: var(--step-body); }
}
@media (max-width: 760px) { .cta-band .word.long { font-size: 25vw; } }
