/* ==========================================================================
   CTC v2 design system
   Editorial magazine x community noticeboard x contemporary product.
   Mobile-first. No framework. Tokens first, then base, then components,
   then page sections. Add new pages by reusing the components.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* colour: pulled from the CTC avatar illustration, then warmed up */
  --paper: #f6eee0;
  --paper-2: #ece1cb;
  --card: #fffaf0;
  --ink: #13201f;
  --ink-2: #435250;
  --line: rgba(19, 32, 31, 0.2);

  --teal: #00978f;
  --teal-deep: #0a5a56;
  --night: #0b2927;
  --sun: #ffb92e;
  --coral: #f0644b;
  --slate: #9fb1cf;
  --sage: #a8cfc2;
  --blush: #f4c7b8;

  /* type */
  --font-display: "Tanker", "Arial Narrow", Impact, sans-serif;
  --font-serif: "Switzer", system-ui, -apple-system, "Segoe UI", sans-serif; /* legacy name: now Switzer, Fraunces is no longer used */
  --font-body: "Switzer", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;

  --fs-0: 0.8125rem;
  --fs-1: 0.9375rem;
  --fs-2: 1.0625rem;
  --fs-3: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --fs-4: clamp(1.8rem, 1.4rem + 1.8vw, 2.7rem);
  --fs-5: clamp(2.3rem, 1.6rem + 3vw, 4rem);
  --fs-6: clamp(2.8rem, 1.6rem + 5vw, 5.8rem);
  --fs-hero: clamp(4.4rem, 12vw, 10.5rem);

  /* space (4px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --gutter: clamp(16px, 4.5vw, 56px);
  --section: clamp(48px, 7vw, 104px);
  --max: 80rem;  /* 1280px; grows with the root size on very large screens */

  /* radius: used on purpose. Paper edges are nearly square, chips are pills,
     portraits are arches (a nod to a church window, never a cross). */
  --r-1: 3px;
  --r-2: 10px;
  --r-pill: 999px;
  --r-arch: 999px 999px 6px 6px;

  --hard: 5px 5px 0 var(--ink);
  --hard-sm: 3px 3px 0 var(--ink);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-2);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--sun); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--sun);
  border-radius: 2px;
}
.on-night :focus-visible, .on-ink :focus-visible { outline-color: var(--sun); box-shadow: none; }

.skip {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: var(--s-3) var(--s-4);
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: var(--s-4); }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }

/* display type */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 70, "WONK" 1;
  letter-spacing: -0.028em;
  line-height: 0.92;
  text-wrap: balance;
}
.display em { font-style: italic; font-weight: 500; }
.h-5 { font-size: var(--fs-5); }
.h-6 { font-size: var(--fs-6); }
.h-4 { font-size: var(--fs-4); line-height: 1.05; }
.lede { font-size: var(--fs-3); line-height: 1.45; max-width: 36em; color: var(--ink-2); }
.on-night .lede, .on-ink .lede { color: rgba(246, 238, 224, 0.82); }

/* ---------- 3. Editorial details ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-size: var(--fs-0); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: var(--s-5);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.note {                       /* handwritten margin note */
  font-family: var(--font-hand); font-weight: 700; font-size: 1.45rem; line-height: 1.05;
  color: var(--teal-deep); display: inline-block; transform: rotate(-3deg);
}
.on-night .note { color: var(--sun); }
.note--coral { color: #b8321d; }

.hl {                          /* marker swipe */
  background: linear-gradient(transparent 56%, var(--sun) 56% 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-inline: 0.06em;
}
.hl--coral { background-image: linear-gradient(transparent 56%, var(--coral) 56% 92%, transparent 92%); }
.hl--sage { background-image: linear-gradient(transparent 56%, var(--sage) 56% 92%, transparent 92%); }

.sticker {
  display: grid; place-items: center; text-align: center;
  width: 118px; height: 118px; border-radius: 50%;
  background: var(--sun); color: var(--ink); border: 2px solid var(--ink);
  font-family: var(--font-display); font-weight: 700; line-height: 1; padding: 12px;
  transform: rotate(8deg); box-shadow: var(--hard-sm);
}
.sticker strong { display: block; font-size: 1.9rem; letter-spacing: -0.03em; }
.sticker span { font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

.tape {
  position: absolute; width: 84px; height: 26px; background: rgba(255, 185, 46, 0.72);
  top: -12px; left: 50%; transform: translateX(-50%) rotate(-3deg);
  clip-path: polygon(0 8%, 4% 0, 8% 10%, 100% 0, 96% 50%, 100% 100%, 5% 92%, 0 100%, 3% 55%);
}

.rule { border: 0; border-top: 2px solid var(--ink); }

/* ---------- 4. Buttons, links, tags, chips ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
  min-height: 52px; padding: 0 var(--s-5);
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--ink); border-radius: var(--r-1);
  font-weight: 700; font-size: var(--fs-2); text-decoration: none; line-height: 1;
  box-shadow: 4px 4px 0 var(--sun);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s;
  position: relative;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--sun); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--sun); }
.btn svg { width: 20px; height: 20px; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: none; }
.btn--ghost:hover { background: var(--paper-2); box-shadow: 4px 4px 0 var(--ink); }
.btn--sun { --bg: var(--sun); --fg: var(--ink); box-shadow: var(--hard-sm); }
.btn--sun:hover { box-shadow: 6px 6px 0 var(--ink); }
.on-night .btn { --bg: var(--sun); --fg: var(--ink); border-color: var(--paper); box-shadow: 4px 4px 0 var(--paper); }
.on-night .btn:hover { box-shadow: 7px 7px 0 var(--paper); }
.on-night .btn--ghost { --bg: transparent; --fg: var(--paper); box-shadow: none; }
.on-night .btn--ghost:hover { background: rgba(246, 238, 224, 0.12); box-shadow: 4px 4px 0 var(--paper); }
.btn--small { min-height: 44px; padding: 0 var(--s-4); font-size: var(--fs-1); }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px;
  font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor;
  align-self: flex-start;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px;
  border: 1.5px solid currentColor; border-radius: var(--r-pill);
  font-size: var(--fs-0); font-weight: 700; letter-spacing: 0.02em; line-height: 1.4;
}
.tag--fill { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tag--sun { background: var(--sun); color: var(--ink); border-color: var(--ink); }
.tag--dashed { border-style: dashed; }
.tag--live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip {
  min-height: 44px; padding: 0 var(--s-4); background: transparent;
  border: 2px solid currentColor; border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--fs-1); line-height: 1;
  transition: background 0.15s, color 0.15s, transform 0.15s var(--ease);
}
.chip:hover { transform: translateY(-2px) rotate(-1deg); background: rgba(19, 32, 31, 0.07); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.on-night .chip:hover { background: rgba(246, 238, 224, 0.12); }
.on-night .chip[aria-pressed="true"] { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; padding: 6px var(--gutter) 10px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.chips--scroll::-webkit-scrollbar { display: none; }
.chips--scroll .chip { flex: none; scroll-snap-align: start; }

/* ---------- 5. Inputs ---------- */
.field { display: grid; gap: var(--s-2); }
.field > label, .field > .legend { font-weight: 700; font-size: var(--fs-1); }
.field .hint { font-size: var(--fs-0); color: var(--ink-2); font-weight: 400; }
.input, .select {
  width: 100%; min-height: 54px; padding: 0 var(--s-4);
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-1);
  font-size: 1rem; /* 16px stops iOS zoom */
  transition: box-shadow 0.15s, background 0.15s;
}
.input::placeholder { color: #7a8582; }
.input:hover, .select:hover { background: #fff; }
.input:focus-visible, .select:focus-visible { box-shadow: 4px 4px 0 var(--sun); outline-offset: 0; outline-width: 2px; }
.select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%2313201f' stroke-width='2.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field[data-invalid="true"] .input, .field[data-invalid="true"] .select { border-color: #b8321d; background: #fff3ef; }
.error-msg { display: none; color: #a32a17; font-weight: 600; font-size: var(--fs-1); }
.field[data-invalid="true"] .error-msg { display: flex; gap: 6px; align-items: center; }
.error-msg svg { width: 18px; height: 18px; flex: none; }

.pick { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick span {
  display: flex; align-items: center; gap: var(--s-3); min-height: 52px; padding: var(--s-2) var(--s-4);
  border: 2px solid var(--ink); border-radius: var(--r-1); background: var(--card);
  font-weight: 600; font-size: var(--fs-1); line-height: 1.25;
  transition: background 0.15s, transform 0.15s var(--ease);
}
.pick span::before {
  content: ""; flex: none; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 3px; background: #fff;
  background-position: center; background-repeat: no-repeat;
}
.pick:hover span { transform: translateX(3px); }
.pick input:checked + span { background: var(--sun); }
.pick input:checked + span::before { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff6e0' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pick input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--sun); }

/* ---------- 6. Photography ---------- */
.photo { position: relative; background: var(--paper-2); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--arch { border-radius: var(--r-arch); }
.photo--print {                /* white-border print, slightly crooked */
  background: #fff; padding: 8px 8px 30px; border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 6px 8px 0 rgba(19, 32, 31, 0.9);
}
.photo--print img { aspect-ratio: 4 / 5; }
.caption { font-family: var(--font-hand); font-weight: 700; font-size: 1.2rem; line-height: 1; }
.photo--print .caption { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; color: var(--ink); }

/* ---------- 7. Header and drawer: full-width bar, menu button at the left, floating drawer ---------- */
:root { --header-h: 76px; --bar-pad: clamp(14px, 2vw, 28px); }
html { scroll-padding-top: calc(var(--header-h) + 16px); }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 2px solid var(--ink); }
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--header-h); padding-inline: var(--bar-pad); gap: var(--s-3); width: 100%; }
.brand { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 52px; text-decoration: none; grid-column: 2; grid-row: 1; justify-self: center; }
.brand svg { width: 30px; height: 46px; flex: none; transition: transform 0.3s var(--ease); }
.brand:hover svg { transform: rotate(-6deg) scale(1.06); }
.nav { display: contents; }
.nav__l, .nav__r { display: none; }
.menu-btn, .drawer__close {
  width: 48px; height: 48px; display: inline-grid; place-items: center; padding: 0;
  border: 2px solid var(--ink); background: var(--paper); border-radius: 14px; color: var(--ink);
  transition: background 0.15s, transform 0.15s var(--ease);
}
.menu-btn:hover, .drawer__close:hover { background: var(--sun); transform: translateY(-1px); }
.menu-btn svg, .drawer__close svg { width: 20px; height: 20px; }
.menu-btn { grid-column: 1; grid-row: 1; justify-self: start; }
.header-join { grid-column: 3; grid-row: 1; justify-self: end; min-height: 46px; padding: 0 var(--s-4); font-size: var(--fs-1); }
@media (max-width: 359px) { .header-join { padding: 0 var(--s-3); } .header-join svg { display: none; } }

@media (min-width: 960px) {
  .nav__l, .nav__r { display: flex; align-items: center; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
  .nav__l { grid-column: 1; grid-row: 1; justify-self: end; }
  .nav__r { grid-column: 3; grid-row: 1; justify-self: start; }
  .nav a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3);
    font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; position: relative; white-space: nowrap;
  }
  .nav a::after { content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: 8px; height: 5px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); z-index: -1; }
  .nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
  .site-header .bar { gap: var(--s-6); }
}

/* drawer: a floating card from the top-left over a dimmed page */
.scrim { position: fixed; inset: 0; z-index: 58; background: rgba(11, 41, 39, 0.55); opacity: 0; transition: opacity 0.25s; }
.scrim.open { opacity: 1; }
.drawer {
  position: fixed; z-index: 60; top: 12px; left: 12px; bottom: 12px; width: min(420px, calc(100vw - 24px));
  background: var(--paper); border: 2px solid var(--ink); border-radius: 24px; box-shadow: 8px 8px 0 var(--ink);
  display: flex; flex-direction: column; overflow-y: auto; padding: var(--s-4) var(--s-5) var(--s-5);
  visibility: hidden; opacity: 0; transform: translateX(-18px); transition: opacity 0.22s, transform 0.28s var(--ease), visibility 0s 0.28s;
}
.drawer.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.drawer__top { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; margin-bottom: var(--s-5); }
.drawer__mark { justify-self: center; display: inline-grid; place-items: center; min-width: 44px; min-height: 52px; }
.drawer__mark svg { width: 28px; height: 42px; }
.drawer__main { display: grid; gap: 2px; margin-bottom: var(--s-4); }
.drawer__main a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 60px; padding: 4px 0; text-decoration: none;
  font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 8vw, 2.7rem); line-height: 1; text-transform: uppercase; letter-spacing: 0.01em;
}
.drawer__main .chev { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--paper); display: inline-grid; place-items: center; transition: background 0.15s, color 0.15s, transform 0.2s var(--ease); }
.drawer__main .chev svg { width: 16px; height: 16px; }
.drawer__main a:hover .chev, .drawer__main a:focus-visible .chev { background: var(--sun); color: var(--ink); transform: translateX(3px); }
.drawer__more { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-4); border-top: 2px solid var(--ink); padding-top: var(--s-3); margin-bottom: var(--s-5); }
.drawer__more a { display: flex; align-items: center; gap: 6px; min-height: 44px; text-decoration: none; font-weight: 600; font-size: var(--fs-1); }
.drawer__more a b { font-weight: 700; transition: transform 0.15s var(--ease); }
.drawer__more a:hover b { transform: translateX(3px); }
.drawer__more a:hover { text-decoration: underline; }
.drawer__foot { margin-top: auto; display: grid; gap: var(--s-3); padding-top: var(--s-3); }
.drawer__foot .btn { width: 100%; }
.drawer__social { display: flex; flex-wrap: wrap; gap: 0 var(--s-4); justify-content: center; }
.drawer__social a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-0); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.drawer__social a:hover { text-decoration: underline; }
.sheet-open { overflow: hidden; }
@media (max-width: 420px) { .drawer { padding-inline: var(--s-4); } .drawer__more { grid-template-columns: 1fr 1fr; } }
@media (max-height: 640px) { .drawer__main a { min-height: 50px; font-size: 2rem; } .drawer__top { margin-bottom: var(--s-3); } }

/* ---------- 8. Ticker ---------- */
.ticker { background: var(--sun); border-block: 2px solid var(--ink); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker ul { display: flex; flex: none; }
.ticker li {
  display: flex; align-items: center; white-space: nowrap; padding: 14px 0;
  font-family: var(--font-serif); font-weight: 600; font-style: italic; font-size: clamp(1.15rem, 3.4vw, 1.7rem);
  font-variation-settings: "opsz" 48, "SOFT" 80, "WONK" 1;
}
.ticker li::after { content: "✦"; margin-inline: clamp(16px, 3vw, 32px); font-style: normal; font-size: 0.8em; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- 9. Cards ---------- */
.card { background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-1); position: relative; }

/* member */
.member {
  display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-3) var(--s-3) var(--s-5);
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-1);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.member:hover, .member:focus-within { transform: translateY(-8px) rotate(-0.8deg); box-shadow: var(--hard); }
.member .photo { aspect-ratio: 4 / 5; }
.member .photo img { object-position: var(--pos, 50% 18%); transition: transform 0.5s var(--ease); }
.member:hover .photo img { transform: scale(1.05); }
.member h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1.05; letter-spacing: -0.015em; padding-inline: var(--s-2); font-variation-settings: "opsz" 48, "SOFT" 60; }
.member .role { padding-inline: var(--s-2); font-weight: 700; font-size: var(--fs-1); line-height: 1.3; }
.member .meta { padding-inline: var(--s-2); }
.member p { padding-inline: var(--s-2); color: var(--ink-2); font-size: var(--fs-1); line-height: 1.45; }
.member--you { background: var(--sun); justify-content: space-between; }
.member--you .big { font-family: var(--font-display); font-weight: 700; font-size: 3.6rem; line-height: 0.9; padding: var(--s-5) var(--s-2) 0; letter-spacing: -0.04em; font-style: italic; }
.member--you .photo { background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(19,32,31,.12) 10px 12px); display: grid; place-items: center; border: 2px dashed var(--ink); }

/* event */
.event {
  display: grid; grid-template-columns: 86px 1fr; background: var(--card);
  border: 2px solid var(--ink); border-radius: var(--r-1); position: relative;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.event:hover { transform: translate(-3px, -3px); box-shadow: var(--hard); }
.event__date {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px;
  padding: var(--s-4) var(--s-2); background: var(--ink); color: var(--paper); border-right: 2px dashed var(--paper);
  font-weight: 700; font-size: var(--fs-0); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1;
}
.event__date b { font-family: var(--font-display); font-size: 2.2rem; letter-spacing: -0.03em; line-height: 0.9; text-transform: none; font-variation-settings: "opsz" 72, "SOFT" 60; }
.event--soon .event__date { background: var(--paper-2); color: var(--ink); border-right-color: var(--ink); }
.event--soon .event__date b { font-style: italic; font-size: 1.5rem; }
.event__body { padding: var(--s-5); display: grid; gap: var(--s-3); align-content: start; }
.event h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.05; letter-spacing: -0.015em; font-variation-settings: "opsz" 48, "SOFT" 60; }
.event p { color: var(--ink-2); font-size: var(--fs-1); }
.event .where { display: flex; gap: 6px; align-items: center; font-weight: 600; font-size: var(--fs-1); }
.event .where svg { width: 18px; height: 18px; flex: none; }

/* states: loading, empty, error */
.skeleton { border: 2px solid var(--line); border-radius: var(--r-1); min-height: 148px; background: linear-gradient(100deg, var(--paper-2) 30%, #f8f1e3 50%, var(--paper-2) 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -100% 0; } }
.state {
  display: grid; gap: var(--s-4); justify-items: start; padding: var(--s-6);
  border: 2px dashed var(--ink); border-radius: var(--r-1); background: var(--card);
}
.state h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-4); line-height: 1; letter-spacing: -0.02em; }
.state--error { border-color: #a32a17; background: #fff3ef; }

/* ---------- 10. Section: hero ---------- */
/* Mobile and tablet order: headline, short description, join action, compact collage.
   Desktop: text left, collage right. */
.hero { padding-block: clamp(20px, 4vw, 64px) clamp(40px, 6vw, 88px); position: relative; }
.hero__grid { display: grid; gap: var(--s-6); align-items: center; }
.hero h1 { font-size: var(--fs-hero); line-height: 0.9; margin-bottom: var(--s-4); }
.hero h1 .line { display: block; overflow: hidden; padding: 0.04em 0.06em 0.12em; margin: -0.04em -0.06em -0.12em; }
.hero h1 .line > span { display: inline-block; animation: rise 0.9s var(--ease) both; animation-delay: var(--d, 0s); }
.hero h1 .hero-people { font-style: italic; font-weight: 500; position: relative; }
@keyframes rise { from { transform: translateY(110%) rotate(3deg); } }
.hero__copy { max-width: 30em; margin-bottom: var(--s-5); font-size: var(--fs-3); color: var(--ink-2); line-height: 1.4; }
.hero__copy strong { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4); margin-bottom: var(--s-4); }
.hero__micro { font-size: var(--fs-1); color: var(--ink-2); display: flex; gap: var(--s-2) var(--s-3); align-items: center; flex-wrap: wrap; }
.say { display: grid; min-height: 1.6em; font-weight: 700; color: var(--teal-deep); }
.say span { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity 0.5s, transform 0.5s var(--ease); }
.say span.on { opacity: 1; transform: none; }

.collage { position: relative; width: min(100%, 560px); height: 250px; margin-inline: auto; }
.collage .photo { position: absolute; }
.collage .photo img { aspect-ratio: 4 / 5; object-position: 50% 28%; }
.collage .p0 { left: 2%; top: 4%; width: 32%; transform: rotate(-4deg); z-index: 2; }
.collage .p1 { left: 31%; top: 0; width: 34%; transform: rotate(2deg); z-index: 3; }
.collage .p2 { right: 2%; top: 8%; width: 31%; transform: rotate(5deg); z-index: 2; }
.collage .p3 { display: none; }
.collage .caption { font-size: 0.95rem; }
.collage .sticker { position: absolute; right: -2px; top: -18px; bottom: auto; z-index: 5; width: 96px; height: 96px; }
.collage .sticker strong { font-size: 1.5rem; }
.collage .sticker span { font-size: 0.62rem; }
.collage .note { position: absolute; z-index: 5; }
.collage .n1 { left: 4%; bottom: -4px; transform: rotate(-4deg); max-width: 9em; font-size: 1.2rem; }

@media (min-width: 640px) { .collage { height: 340px; } .collage .caption { font-size: 1.1rem; } .collage .sticker { width: 110px; height: 110px; } }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--s-6); }
  .collage { height: 600px; width: 100%; margin-right: -2vw; }
  .collage .p0 { left: 0; top: 14%; width: 50%; }
  .collage .p1 { left: auto; right: 0; top: 0; width: 46%; }
  .collage .p2 { right: 12%; top: 46%; width: 44%; }
  .collage .p3 { display: block; left: 6%; bottom: 0; width: 34%; transform: rotate(-3deg); z-index: 1; }
  .collage .sticker { left: 42%; right: auto; top: 40%; bottom: auto; width: 118px; height: 118px; }
  .collage .n1 { left: 2%; bottom: auto; top: 6%; font-size: 1.45rem; }
}

/* ---------- 11. Section: places (paths) ---------- */
.places { background: var(--paper); }
.places__head { display: grid; gap: var(--s-5); margin-bottom: var(--s-7); }
.paths { border-top: 2px solid var(--ink); }
.path { border-bottom: 2px solid var(--ink); transition: background 0.35s; }
.path[data-tone="sage"].is-open { background: var(--sage); }
.path[data-tone="sun"].is-open { background: var(--sun); }
.path[data-tone="coral"].is-open { background: var(--coral); }
.path__btn {
  width: 100%; display: grid; grid-template-columns: 1fr auto; gap: var(--s-3) var(--s-4); align-items: center;
  text-align: left; background: none; border: 0; padding: var(--s-5) 0; min-height: 88px;
}
.path__num { font-family: var(--font-hand); font-weight: 700; font-size: 1.4rem; grid-column: 1 / -1; color: var(--teal-deep); }
.path.is-open .path__num { color: var(--ink); }
.path__name { font-size: clamp(2.8rem, 15vw, 7.5rem); line-height: 0.88; transition: transform 0.35s var(--ease), letter-spacing 0.35s; display: block; }
.path__btn:hover .path__name { transform: translateX(10px); }
.path__quote { grid-column: 1 / -1; font-size: var(--fs-3); font-style: italic; color: var(--ink-2); max-width: 26em; line-height: 1.3; font-family: var(--font-serif); font-weight: 400; }
.path.is-open .path__quote { color: var(--ink); }
.path__icon { width: 52px; height: 52px; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; background: var(--paper); flex: none; grid-row: 2; grid-column: 2; }
.path__icon svg { width: 22px; height: 22px; transition: transform 0.3s var(--ease); }
.path.is-open .path__icon svg { transform: rotate(45deg); }
.path__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.path.is-open .path__panel { grid-template-rows: 1fr; }
.path__panel > div { overflow: hidden; visibility: hidden; transition: visibility 0s 0.45s; }
.path.is-open .path__panel > div { visibility: visible; transition-delay: 0s; }
.path__inner { display: grid; gap: var(--s-6); padding-bottom: var(--s-7); }
.path__inner h4 { font-size: var(--fs-0); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: var(--s-3); }
.path__inner li { display: flex; gap: var(--s-3); padding-block: 6px; font-weight: 500; }
.path__inner li::before { content: "→"; font-weight: 700; flex: none; }
.path__story { font-family: var(--font-serif); font-size: var(--fs-3); line-height: 1.3; max-width: 24em; }
.path__story cite { display: block; margin-top: var(--s-3); font-family: var(--font-body); font-style: normal; font-size: var(--fs-1); font-weight: 700; }
.path__foot { font-size: var(--fs-1); }

@media (min-width: 900px) {
  .places__head { grid-template-columns: 1fr 1fr; align-items: end; }
  .path__btn { grid-template-columns: 8.5rem 1fr 1.1fr auto; }
  .path__num { grid-column: auto; }
  .path__quote { grid-column: auto; }
  .path__icon { grid-row: auto; grid-column: auto; }
  .path__inner { grid-template-columns: 8.5rem 1fr 1fr; align-items: start; }
  .path__inner > :first-child { grid-column: 2; }
  .path__inner > :nth-child(2) { grid-column: 3; }
}

/* ---------- 12. Section: people ---------- */
.people { background: var(--paper-2); border-block: 2px solid var(--ink); overflow: hidden; }
.people__head { display: grid; gap: var(--s-5); margin-bottom: var(--s-6); }
.people__tools { display: flex; flex-direction: column; gap: var(--s-4); margin-bottom: var(--s-6); }
.people__count { font-weight: 700; font-size: var(--fs-1); }
.members {
  display: flex; gap: var(--s-4); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 14px var(--gutter) 28px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: thin;
}
.members > li { flex: none; width: min(72vw, 290px); scroll-snap-align: center; }
.members > li:nth-child(odd) .member { transform: rotate(-0.6deg); }
.members > li:nth-child(even) .member { transform: rotate(0.7deg); margin-top: 14px; }
.members .member:hover { transform: translateY(-8px) rotate(-0.8deg); }
.swipe-hint { font-family: var(--font-hand); font-weight: 700; font-size: 1.3rem; color: var(--teal-deep); }
@media (min-width: 900px) {
  .people__head { grid-template-columns: 1.4fr 1fr; align-items: end; }
  .people__tools { flex-direction: row; justify-content: space-between; align-items: center; }
  .members { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-6) var(--s-5); overflow: visible; padding: 14px 0 0; margin: 0; }
  .members > li { width: auto; }
  .members > li:nth-child(4n + 2) { margin-top: 56px; }
  .members > li:nth-child(4n + 4) { margin-top: 28px; }
  .swipe-hint { display: none; }
}

/* ---------- 13. Section: grow (contents page) ---------- */
.grow__head { display: grid; gap: var(--s-5); margin-bottom: var(--s-7); }
.toc { display: grid; gap: var(--s-4); counter-reset: toc; }
.toc > li { counter-increment: toc; }
.toc a.tile {
  display: grid; gap: var(--s-3); align-content: space-between; height: 100%; min-height: 220px;
  padding: var(--s-5); border: 2px solid var(--ink); border-radius: var(--r-1); text-decoration: none;
  background: var(--tile, var(--card)); color: var(--tile-ink, var(--ink)); position: relative; overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.toc a.tile:hover { transform: translate(-4px, -4px) rotate(-0.4deg); box-shadow: 8px 8px 0 var(--ink); }
.tile__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-3); }
.tile__num { font-family: var(--font-display); font-weight: 700; font-size: 4.2rem; line-height: 0.8; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 2px var(--tile-ink, var(--ink)); font-variation-settings: "opsz" 144, "SOFT" 100; }
.tile__num::before { content: counter(toc, decimal-leading-zero); }
.tile h3 { font-size: clamp(2rem, 7vw, 3.2rem); line-height: 0.95; margin-bottom: var(--s-3); }
.tile p { font-size: var(--fs-2); max-width: 28em; line-height: 1.4; }
.tile .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-top: var(--s-3); }
.tile .go svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.tile:hover .go svg { transform: translateX(5px); }
.tile .note { position: absolute; right: 18px; bottom: 14px; transform: rotate(-5deg); font-size: 1.3rem; opacity: 0.95; color: inherit; }
@media (min-width: 760px) {
  .toc { grid-template-columns: repeat(12, 1fr); gap: var(--s-5); }
  .toc > li { grid-column: span 6; }
  .toc > li:nth-child(4n + 1), .toc > li:nth-child(4n + 4) { grid-column: span 7; }
  .toc > li:nth-child(4n + 2), .toc > li:nth-child(4n + 3) { grid-column: span 5; }
  .toc a.tile { min-height: 280px; }
  .toc > li:nth-child(even) { margin-top: 28px; }
}

/* ---------- 14. Section: faith & work (night) ---------- */
.night { background: var(--night); color: var(--paper); position: relative; }
.night--torn { clip-path: polygon(0 2.2%, 5% 0.6%, 11% 2%, 18% 0.4%, 26% 1.8%, 33% 0.3%, 41% 1.9%, 50% 0.5%, 58% 2%, 66% 0.4%, 74% 1.7%, 83% 0.3%, 91% 1.9%, 100% 0.6%, 100% 97.8%, 94% 99.5%, 87% 98%, 79% 99.6%, 70% 98.2%, 62% 99.7%, 53% 98.1%, 44% 99.6%, 35% 98%, 26% 99.7%, 17% 98.2%, 8% 99.6%, 0 98%); margin-block: -2vw; padding-block: calc(var(--section) + 2vw); z-index: 1; }
.fw__grid { display: grid; gap: var(--s-7); }
.fw h2 { font-size: clamp(2.7rem, 1.2rem + 8vw, 7.4rem); margin-bottom: var(--s-5); }
.fw h2 em { color: var(--sun); }
.fw__margin { margin-top: var(--s-6); max-width: 22em; border-left: 3px solid var(--sun); padding-left: var(--s-4); font-family: var(--font-serif); font-style: italic; font-size: var(--fs-3); line-height: 1.3; }
.fw__margin cite { display: block; font-family: var(--font-body); font-style: normal; font-weight: 700; font-size: var(--fs-1); margin-top: var(--s-2); color: var(--sun); }
.fw__topics { margin-bottom: var(--s-5); }
.prompt {
  position: relative; background: var(--paper); color: var(--ink); padding: var(--s-6) var(--s-5) var(--s-5) clamp(var(--s-6), 8vw, 64px);
  border-radius: var(--r-1); transform: rotate(0.8deg); min-height: 280px;
  background-image: repeating-linear-gradient(transparent 0 35px, rgba(10, 90, 86, 0.18) 35px 36px);
  background-position: 0 14px; box-shadow: 8px 8px 0 var(--sun);
}
.prompt::before { content: ""; position: absolute; left: clamp(24px, 6vw, 44px); top: 0; bottom: 0; width: 2px; background: var(--coral); opacity: 0.7; }
.prompt__topic { font-family: var(--font-hand); font-weight: 700; font-size: 1.6rem; color: var(--teal-deep); display: block; margin-bottom: var(--s-3); line-height: 1; }
.prompt__q { font-size: clamp(1.7rem, 1.1rem + 2.6vw, 2.8rem); line-height: 1.05; margin-bottom: var(--s-5); }
.prompt__verse { font-family: var(--font-hand); font-weight: 700; font-size: 1.5rem; line-height: 1.15; color: #8a2412; max-width: 24em; }
.prompt__verse small { display: block; font-family: var(--font-body); font-weight: 700; font-size: var(--fs-0); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 6px; color: var(--ink); }
.prompt__foot { margin-top: var(--s-5); }
.prompt .link-arrow { color: var(--ink); }
.prompt.swap { animation: swap 0.45s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(14px) rotate(-1deg); } }

.resources { margin-top: var(--s-9); border-top: 1px solid rgba(246, 238, 224, 0.3); padding-top: var(--s-7); display: grid; gap: var(--s-6); }
.resources h3 { font-size: var(--fs-5); line-height: 0.95; }
.watch { display: grid; gap: 0; }
.watch a {
  display: grid; grid-template-columns: 56px 1fr; gap: var(--s-4); align-items: center; padding: var(--s-4) 0; text-decoration: none; min-height: 88px;
  border-bottom: 1px solid rgba(246, 238, 224, 0.3); transition: padding 0.25s var(--ease), background 0.25s;
}
.watch a:hover { padding-inline: var(--s-4); background: rgba(246, 238, 224, 0.08); }
.watch .play { width: 56px; height: 56px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; }
.watch .play svg { width: 22px; height: 22px; margin-left: 3px; }
.watch b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.1; font-variation-settings: "opsz" 48, "SOFT" 60; }
.watch span.m { font-size: var(--fs-1); color: rgba(246, 238, 224, 0.75); }
@media (min-width: 960px) {
  .fw__grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--s-8); align-items: start; }
  .fw__right { position: sticky; top: 110px; }
  .resources { grid-template-columns: 0.8fr 1.2fr; }
}

/* ---------- 15. Section: happening ---------- */
.flagship { display: grid; gap: var(--s-6); margin-bottom: var(--s-8); }
.flagship__poster { position: relative; border: 2px solid var(--ink); box-shadow: var(--hard); transform: rotate(-1.2deg); background: #000; }
.flagship__poster img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.flagship__text { display: grid; gap: var(--s-4); align-content: center; }
.impact { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3) var(--s-5); margin-block: var(--s-2); }
.impact b { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 0.9; letter-spacing: -0.04em; font-variation-settings: "opsz" 144, "SOFT" 60; }
.impact span { font-size: var(--fs-1); font-weight: 600; }
.next-box { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); background: var(--ink); color: var(--paper); padding: var(--s-4) var(--s-5); border-radius: var(--r-1); }
.next-box p { flex: 1 1 220px; font-weight: 600; }
.next-box .btn { --bg: var(--sun); --fg: var(--ink); border-color: var(--paper); box-shadow: 3px 3px 0 var(--paper); }
.tabs { display: flex; gap: var(--s-2); margin-bottom: var(--s-5); }
.events { display: grid; gap: var(--s-5); }
@media (min-width: 900px) {
  .flagship { grid-template-columns: 1.15fr 0.85fr; gap: var(--s-8); align-items: center; }
  .events { grid-template-columns: repeat(2, 1fr); }
  .events > :first-child:nth-last-child(odd) { grid-column: span 2; }
  .event { grid-template-columns: 112px 1fr; }
}

/* ---------- 16. Section: stories ---------- */
.stories { background: var(--blush); border-block: 2px solid var(--ink); }
.stories__head { display: grid; gap: var(--s-4); margin-bottom: var(--s-7); }
.story-grid { display: grid; gap: var(--s-6); }
.story {
  position: relative; background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-1);
  padding: var(--s-6) var(--s-5) var(--s-5); display: grid; gap: var(--s-5); align-content: space-between;
}
.story:nth-child(2) { transform: rotate(0.8deg); }
.story:nth-child(3) { transform: rotate(-0.8deg); }
.story blockquote { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.8rem); line-height: 1.22; letter-spacing: -0.01em; font-variation-settings: "opsz" 72, "SOFT" 70, "WONK" 1; }
.story--feature blockquote { font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; }
.story blockquote::before { content: "“"; display: block; font-size: 4.6rem; line-height: 0.6; height: 0.45em; color: var(--coral); font-style: normal; }
.story .more { display: grid; gap: 6px; font-size: var(--fs-1); color: var(--ink-2); }
.story .more li { display: flex; gap: 8px; }
.story .more li::before { content: "✓"; font-weight: 700; color: var(--teal-deep); }
.story footer { display: flex; align-items: center; gap: var(--s-4); border-top: 2px dashed var(--ink); padding-top: var(--s-4); }
.mono {
  flex: none; width: 56px; height: 68px; border: 2px solid var(--ink); border-radius: var(--r-arch);
  display: grid; place-items: center; background: var(--c, var(--sage)); font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; font-style: italic;
}
.story footer b { display: block; line-height: 1.1; }
.story footer span { font-size: var(--fs-1); color: var(--ink-2); }
.story--invite { background: var(--ink); color: var(--paper); text-align: left; }
.story--invite blockquote::before { color: var(--sun); }
.story--invite .btn { --bg: var(--sun); --fg: var(--ink); border-color: var(--paper); box-shadow: 4px 4px 0 var(--paper); }
@media (min-width: 900px) {
  .story-grid { grid-template-columns: repeat(12, 1fr); gap: var(--s-6); }
  .story--feature { grid-column: 1 / 8; grid-row: span 2; padding: var(--s-7) var(--s-6) var(--s-6); }
  .story:nth-child(2), .story:nth-child(3) { grid-column: 8 / 13; }
  .story--invite { grid-column: 1 / -1; grid-template-columns: 1.4fr 1fr; align-items: center; transform: none; }
}

/* ---------- 17. Section: opportunities ---------- */
.opps__head { display: grid; gap: var(--s-5); margin-bottom: var(--s-6); }
.board {
  border: 2px solid var(--ink); border-radius: var(--r-1); background: var(--card);
  padding: var(--s-5); min-height: 340px; position: relative;
  background-image: radial-gradient(rgba(19, 32, 31, 0.14) 1.2px, transparent 1.4px); background-size: 22px 22px;
}
.pins { display: grid; gap: var(--s-5); }
.pin {
  position: relative; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-1); padding: var(--s-6) var(--s-5) var(--s-5);
  display: grid; gap: var(--s-3); align-content: start; box-shadow: var(--hard-sm); transform: rotate(var(--r, -1deg));
}
.pin::before { content: ""; position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--coral); border: 2px solid var(--ink); transform: translateX(-50%); }
.pin h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.05; font-variation-settings: "opsz" 48, "SOFT" 60; }
.pin p { font-size: var(--fs-1); color: var(--ink-2); }
.pin--sample { border-style: dashed; background: transparent; box-shadow: none; }
.pin--sample::before { background: var(--paper-2); }
.opps__foot { margin-top: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); font-size: var(--fs-1); }
@media (min-width: 760px) { .pins { grid-template-columns: repeat(3, 1fr); } .board { padding: var(--s-7); } }

/* ---------- 18. Section: everywhere / about ---------- */
.everywhere { background: var(--paper-2); border-top: 2px solid var(--ink); overflow: hidden; }
.everywhere__top { display: grid; gap: var(--s-7); align-items: center; margin-bottom: var(--s-8); }
.everywhere h2 { font-size: clamp(2.8rem, 1.3rem + 7.6vw, 7rem); margin-bottom: var(--s-5); }
.worldmap { position: relative; }
.worldmap img { width: 100%; }
.worldmap .note { position: absolute; font-size: 1.35rem; background: var(--paper-2); padding: 0 6px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-block: 2px solid var(--ink); }
.stats div { padding: var(--s-5) var(--s-4); border-bottom: 2px solid var(--ink); }
.stats div:nth-child(odd) { border-right: 2px solid var(--ink); }
.stats div:nth-last-child(-n + 2) { border-bottom: 0; }
.stats b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 9vw, 4.8rem); line-height: 0.9; letter-spacing: -0.045em; font-variation-settings: "opsz" 144, "SOFT" 60; }
.stats span { font-weight: 600; font-size: var(--fs-1); }
.cities { margin-top: var(--s-7); display: grid; gap: var(--s-4); }
.cities h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-4); line-height: 1; }
.cities a.chip { display: inline-flex; align-items: center; text-decoration: none; }
.cities a.chip--home { background: var(--sun); border-color: var(--ink); color: var(--ink); }
.about { margin-top: var(--s-9); display: grid; gap: var(--s-7); }
.about blockquote { font-family: var(--font-serif); font-size: var(--fs-4); font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; max-width: 22em; font-variation-settings: "opsz" 72, "SOFT" 70, "WONK" 1; }
.about blockquote cite { display: block; margin-top: var(--s-3); font: 700 var(--fs-1) var(--font-body); }
.crew { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5) var(--s-4); }
.crew figure .photo { aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--ink); margin-bottom: var(--s-2); }
.crew figure .photo img { object-position: 50% 22%; }
.crew b { display: block; line-height: 1.15; font-size: var(--fs-1); }
.crew span { font-size: var(--fs-0); color: var(--ink-2); line-height: 1.3; display: block; }
@media (min-width: 900px) {
  .everywhere__top { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats div { border-bottom: 0 !important; border-right: 2px solid var(--ink) !important; }
  .stats div:last-child { border-right: 0 !important; }
  .about { grid-template-columns: 1fr 1.1fr; align-items: start; }
  .crew { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 19. Final CTA ---------- */
.finale {
  background: var(--sun); border-top: 2px solid var(--ink); position: relative; overflow: hidden;
  border-radius: 50vw 50vw 0 0 / clamp(60px, 14vw, 220px) clamp(60px, 14vw, 220px) 0 0;
  padding-block: clamp(96px, 16vw, 220px) clamp(72px, 10vw, 140px); text-align: center;
}
.finale h2 { font-size: clamp(3.2rem, 1rem + 12.5vw, 12.5rem); line-height: 0.86; margin-bottom: var(--s-6); }
.finale h2 span { display: block; }
.finale h2 .two { font-style: italic; font-weight: 500; }
.finale p { max-width: 28em; margin: 0 auto var(--s-6); font-size: var(--fs-3); }
.finale__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-4); }
.finale .btn { box-shadow: 4px 4px 0 var(--paper); }
.finale .btn:hover { box-shadow: 7px 7px 0 var(--paper); }
.finale .btn--ghost { box-shadow: none; }
.finale .btn--ghost:hover { background: rgba(255, 255, 255, 0.35); box-shadow: 4px 4px 0 var(--ink); }
.finale .note { position: absolute; font-size: 1.6rem; color: var(--ink); }

/* ---------- 20. Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: var(--s-8) var(--s-6); }
.site-footer .wrap { display: grid; gap: var(--s-7); }
.site-footer .brand b small { color: rgba(246, 238, 224, 0.7); }
.footer__cols { display: grid; gap: var(--s-6); grid-template-columns: repeat(2, 1fr); }
.footer__cols h2 { font-size: var(--fs-0); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sun); margin-bottom: var(--s-3); }
.footer__cols a { display: flex; align-items: center; min-height: 44px; text-decoration: none; overflow-wrap: anywhere; }
.footer__cols > div { min-width: 0; }
.footer__cols a:hover { text-decoration: underline; }
.footer__tag { font-family: var(--font-serif); font-style: italic; font-size: var(--fs-4); line-height: 1.05; max-width: 14em; margin-top: var(--s-4); font-variation-settings: "opsz" 72, "SOFT" 80, "WONK" 1; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); font-size: var(--fs-0); color: rgba(246, 238, 224, 0.7); border-top: 1px solid rgba(246, 238, 224, 0.25); padding-top: var(--s-5); }
@media (min-width: 900px) { .site-footer .wrap { grid-template-columns: 1.2fr 1.8fr; } .footer__cols { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 21. Join page ---------- */
.join { padding-block: clamp(32px, 6vw, 80px) var(--section); }
.join__grid { display: grid; gap: var(--s-8); }
.join h1 { font-size: clamp(3rem, 1.2rem + 8vw, 7rem); margin-bottom: var(--s-5); }
.form { background: var(--card); border: 2px solid var(--ink); box-shadow: var(--hard); padding: clamp(var(--s-5), 5vw, var(--s-7)); display: grid; gap: var(--s-5); position: relative; border-radius: var(--r-1); }
.form h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-4); line-height: 1; letter-spacing: -0.02em; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s-3); min-width: 0; }
.form .two { display: grid; gap: var(--s-5); }
.picks { display: grid; gap: var(--s-2); }
.hp { position: absolute; left: -9999px; }
.banner { display: flex; gap: var(--s-3); padding: var(--s-4); border: 2px solid var(--ink); border-radius: var(--r-1); font-size: var(--fs-1); font-weight: 600; align-items: flex-start; }
.banner svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.banner--error { background: #fff3ef; border-color: #a32a17; color: #7d1f10; }
.banner--demo { background: var(--paper-2); border-style: dashed; }
.banner a { font-weight: 700; }
.success { display: grid; gap: var(--s-5); justify-items: start; }
.success h2 { font-size: var(--fs-6); line-height: 0.9; }
.spinner { width: 18px; height: 18px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 640px) { .form .two { grid-template-columns: 1fr 1fr; } .picks { grid-template-columns: 1fr 1fr; } }

/* ---------- 22. Reveal + motion safety ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--rd, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
[data-speed] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ticker { overflow-x: auto; }
  .ticker__track { animation: none; }
  .say span:not(:first-child) { display: none; }
  .say span:first-child { opacity: 1; transform: none; }
}

@media print { .site-header, .sheet, .ticker { display: none; } }

/* ---------- 23. v2.1 additions: page heads, routes, compact rows ---------- */
.page-head { padding-block: clamp(32px, 6vw, 80px) clamp(24px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2.6rem, 1.2rem + 6.4vw, 6rem); margin-bottom: var(--s-4); }
.page-head .lede { max-width: 38em; }
.band { background: var(--paper-2); border-block: 2px solid var(--ink); }
.section--tight { padding-block: clamp(36px, 5vw, 72px); }
.head-row { display: grid; gap: var(--s-4); margin-bottom: var(--s-6); }
.head-row .lede { max-width: 34em; }
@media (min-width: 900px) { .head-row { grid-template-columns: 1.3fr 1fr; align-items: end; } }

/* featured people on the homepage */
.members--five { }
@media (min-width: 900px) {
  .members--five { grid-template-columns: repeat(5, 1fr); gap: var(--s-4); }
  .members--five > li:nth-child(n) { margin-top: 0; }
  .members--five > li:nth-child(even) { margin-top: 36px; }
  .members--five .member h3 { font-size: 1.2rem; }
}

/* three routes */
.routes { display: grid; gap: var(--s-4); }
.route {
  display: grid; gap: var(--s-3); align-content: start; padding: var(--s-5); background: var(--card);
  border: 2px solid var(--ink); border-radius: var(--r-1); text-decoration: none; position: relative;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
a.route:hover { transform: translate(-3px, -3px); box-shadow: var(--hard); }
.route h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-4); line-height: 1; letter-spacing: -0.02em; }
.route p { color: var(--ink-2); font-size: var(--fs-1); }
.route--main { background: var(--sun); }
.route--main p { color: var(--ink); }
.route .tag { justify-self: start; }
@media (min-width: 800px) { .routes { grid-template-columns: 1.2fr 1fr 1fr; } }

/* compact event rows (TBA events should not shout) */
.event--soon { grid-template-columns: 76px 1fr; }
.event--soon .event__body { padding: var(--s-4) var(--s-5); gap: var(--s-2); }
.event--soon .event__body p:not(.where) { display: none; }
.event--soon h3 { font-size: 1.25rem; }
.event--soon .event__date b { font-size: 1.2rem; }
.events--rows { display: grid; gap: var(--s-3); }
@media (min-width: 900px) { .events--rows { grid-template-columns: 1fr 1fr; } .event--soon { grid-template-columns: 76px 1fr; } }

/* empty opportunities stay small */
.board .state { padding: var(--s-5); gap: var(--s-3); }
.board .state h3 { font-size: var(--fs-3); line-height: 1.1; }
.board { min-height: 0; padding: var(--s-4); }
@media (min-width: 760px) { .board { padding: var(--s-5); } }

/* duo blocks: stories + opportunities on the homepage */
.duo { display: grid; gap: var(--s-4); }
.duo .card { padding: var(--s-5); display: grid; gap: var(--s-3); align-content: start; }
.duo h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-4); line-height: 1; letter-spacing: -0.02em; }
@media (min-width: 800px) { .duo { grid-template-columns: 1fr 1fr; } }

/* prompts: first four topics, the rest on request */
.topics-more { margin-top: var(--s-3); }

/* join page: the chat first, then the other routes (see section 40) */
.join__grid { display: grid; gap: var(--s-6); }
.join-card { background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-1); padding: clamp(var(--s-5), 4vw, var(--s-6)); display: grid; gap: var(--s-4); scroll-margin-top: 92px; }
.join-card h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-4); line-height: 1; letter-spacing: -0.02em; }
.join-card--main { background: var(--sun); box-shadow: var(--hard); }
.join-card .step-list { display: grid; gap: 6px; font-size: var(--fs-1); }
.join-card .step-list li { display: flex; gap: 10px; }
.join-card .step-list li b { font-family: var(--font-hand); font-size: 1.4rem; line-height: 1; color: var(--teal-deep); }
.join-card--main .step-list li b { color: var(--ink); }
.join-card details summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 700; }
.join-card form { display: grid; gap: var(--s-4); }
.radios { display: grid; gap: var(--s-2); }
.sent-box { display: grid; gap: var(--s-3); padding: var(--s-4); border: 2px dashed var(--ink); border-radius: var(--r-1); background: var(--paper); }
.sent-box textarea { width: 100%; min-height: 120px; padding: var(--s-3); border: 2px solid var(--ink); background: var(--card); font: inherit; font-size: 0.95rem; border-radius: var(--r-1); }
.textarea { min-height: 96px; padding: var(--s-3) var(--s-4); resize: vertical; }
.sr-live { position: absolute; left: -9999px; }
@media (min-width: 960px) {
  .join__grid { grid-template-columns: 0.85fr 1.15fr; gap: var(--s-8); align-items: start; }
  .join__lead { position: sticky; top: 110px; }
}

/* flagship moved to the events page */
.flagship { margin-bottom: var(--s-6); }
.crew--page { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .crew--page { grid-template-columns: repeat(4, 1fr); } }
.partners { display: flex; flex-wrap: wrap; gap: var(--s-3); }

@media (min-width: 640px) and (max-width: 959px) { .hero h1 { font-size: clamp(4.6rem, 13vw, 7rem); } .hero__copy { font-size: 1.35rem; } }

/* ---------- 24. v2.2: event statuses, volunteering, community updates ---------- */
.event--proposed .event__date, .event--planned .event__date { background: var(--paper-2); color: var(--ink); border-right: 2px dashed var(--ink); }
.event--proposed .event__date b { font-size: 1.5rem; }
.event--proposed, .event--planned { border-style: dashed; }
.event--planned .event__date b { font-style: italic; font-size: 1.2rem; }
.event--proposed .event__body, .event--planned .event__body { padding: var(--s-4) var(--s-5); gap: var(--s-2); }
.event--proposed .event__body p:not(.where), .event--planned .event__body p:not(.where) { display: block; }
.event--soon .event__body p:not(.where) { display: block; }
.event--feature { grid-column: 1 / -1; border-width: 2px; box-shadow: var(--hard-sm); }
.event--feature .event__body { padding: var(--s-5); gap: var(--s-3); }
.event--feature h3 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem); }
.event__details { display: grid; gap: 4px; font-weight: 600; font-size: var(--fs-1); }
.event__details li { display: flex; gap: 8px; }
.event__details li::before { content: "•"; font-weight: 700; }
.event__note { font-size: var(--fs-1); color: var(--ink-2); border-left: 3px solid var(--sun); padding-left: var(--s-3); }
.legend-line { font-size: var(--fs-1); color: var(--ink-2); margin-bottom: var(--s-4); max-width: 46em; }
.legend-line b { color: var(--ink); }

.routes--four { grid-template-columns: 1fr; }
@media (min-width: 640px) { .routes--four { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .routes--four { grid-template-columns: 1.25fr 1fr 1fr 1fr; } }

.areas { display: grid; gap: var(--s-4); }
.area { background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-1); padding: var(--s-5); display: grid; gap: var(--s-2); align-content: start; }
.area h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.05; letter-spacing: -0.015em; }
.area p { color: var(--ink-2); font-size: var(--fs-1); }
@media (min-width: 700px) { .areas { grid-template-columns: repeat(3, 1fr); } }
.onboard { display: grid; gap: var(--s-3); counter-reset: ob; }
.onboard li { display: grid; grid-template-columns: 2.4rem 1fr; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 2px solid var(--ink); counter-increment: ob; }
.onboard li::before { content: counter(ob); font-family: var(--font-hand); font-weight: 700; font-size: 1.7rem; line-height: 1; color: var(--teal-deep); }
.callout { border: 2px solid var(--ink); border-left-width: 8px; border-radius: var(--r-1); padding: var(--s-4) var(--s-5); background: var(--card); font-weight: 600; }
.vol-grid { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .vol-grid { grid-template-columns: 1fr 1fr; align-items: start; } .vol-grid .join-card { position: sticky; top: 100px; } }

.footer__news { margin-top: var(--s-5); max-width: 24em; display: grid; gap: 6px; font-size: var(--fs-1); color: rgba(246, 238, 224, 0.85); }
.footer__news b { color: var(--sun); font-size: var(--fs-0); letter-spacing: 0.14em; text-transform: uppercase; }
.footer__news a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--paper); }

/* ---------- 25. Tanker (headlines, Fontshare, one weight, no italic) ---------- */
html { font-synthesis: none; }               /* never fake bold or italic */
.display, .member h3, .event h3, .state h3, .route h3, .duo h3, .area h3, .pin h3, .form h2, .join-card h2, .cities h3, .watch b, .page-head h1 {
  font-weight: 400; font-variation-settings: normal; letter-spacing: 0.01em;
}
.display { line-height: 0.95; letter-spacing: 0.005em; }
.display em, .hero h1 .hero-people, .finale h2 .two, .member--you .big, .mono { font-style: normal; font-weight: 400; }
.hero h1 { line-height: 0.88; }
.finale h2 { font-size: clamp(4rem, 1rem + 14vw, 14rem); line-height: 0.84; }
.fw h2 { font-size: clamp(3.2rem, 1.2rem + 9vw, 8.4rem); }
.page-head h1 { font-size: clamp(3.2rem, 1.2rem + 7.4vw, 7rem); }
.everywhere h2 { font-size: clamp(3.2rem, 1.3rem + 8vw, 7.6rem); }
.path__name { font-size: clamp(3.4rem, 17vw, 8.5rem); }
.tile h3 { font-size: clamp(2.3rem, 8vw, 3.8rem); }
.member h3 { font-size: 1.7rem; }
.event h3 { font-size: 1.85rem; }
.event--feature h3 { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.2rem); }
.event--soon h3, .event--proposed h3, .event--planned h3 { font-size: 1.6rem; }
.route h3, .duo h3, .state h3, .join-card h2, .form h2, .cities h3 { text-transform: none; }
.watch b { font-size: 1.55rem; }
.area h3, .pin h3 { font-size: 1.6rem; }
.members--five .member h3 { font-size: 1.45rem; }
.prompt__q { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); }
.impact b { font-size: 3.2rem; }
.stats b { font-size: clamp(3.2rem, 10vw, 5.6rem); }
.tile__num { font-size: 4.8rem; -webkit-text-stroke-width: 1.5px; }
.sticker strong { font-weight: 400; }
.event__date b { font-weight: 400; font-size: 2.6rem; }
@media (max-width: 959px) { .hero h1 { font-size: clamp(4.6rem, 18vw, 8rem); } }
/* long questions stay readable: serif, not Tanker */
.prompt__q { font-family: var(--font-serif); font-weight: 500; font-variation-settings: "opsz" 72, "SOFT" 70, "WONK" 1; letter-spacing: -0.015em; line-height: 1.08; font-size: clamp(1.7rem, 1.1rem + 2.6vw, 2.8rem); }
/* brand lockup and footer tagline: Tanker, not Fraunces */
.brand b { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; letter-spacing: 0.03em; line-height: 0.95; text-transform: uppercase; font-variation-settings: normal; }
.brand b small { font-size: 0.6rem; letter-spacing: 0.2em; margin-top: 4px; }
.footer__tag { font-family: var(--font-display); font-style: normal; font-weight: 400; font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); line-height: 0.95; letter-spacing: 0.01em; text-transform: uppercase; max-width: 11em; font-variation-settings: normal; }

/* Fraunces is retired: quotes, ticker and prompts now use Switzer (no italic file, so upright) */
.ticker li, .path__quote, .path__story, .fw__margin, .story blockquote, .about blockquote, .prompt__q, .prompt__verse, .footer__tag {
  font-style: normal; font-variation-settings: normal;
}
.ticker li { font-weight: 700; letter-spacing: -0.01em; }
.path__quote { font-weight: 500; letter-spacing: -0.005em; line-height: 1.3; }
.path__story, .fw__margin { font-weight: 500; line-height: 1.35; }
.story blockquote, .about blockquote { font-weight: 500; letter-spacing: -0.015em; line-height: 1.22; }
.prompt__q { font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }

/* long headlines: a step smaller on phones so they wrap in 3 to 4 lines; the hero and finale stay oversized */
@media (max-width: 700px) { .h-long { font-size: clamp(2.2rem, 9.4vw, 3.2rem); line-height: 0.98; } }

/* ---------- 26. event photography ---------- */
.wide-photo { margin: 0; position: relative; border: 2px solid var(--ink); background: var(--paper-2); box-shadow: var(--hard); }
.wide-photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 45%; }
.wide-photo figcaption { position: absolute; left: var(--s-3); bottom: var(--s-3); background: var(--paper); border: 2px solid var(--ink); padding: 2px 12px; transform: rotate(-1.5deg); font-size: 1.15rem; }
.photo-pair { display: grid; gap: var(--s-6); }
@media (min-width: 800px) { .photo-pair { grid-template-columns: 1fr 1fr; } }
.gallery { columns: 2; column-gap: var(--s-3); }
.gallery figure { break-inside: avoid; margin: 0 0 var(--s-3); border: 2px solid var(--ink); background: var(--card); }
.gallery img { width: 100%; height: auto; display: block; }
.gallery figcaption { padding: var(--s-2) var(--s-3); font-size: var(--fs-0); font-weight: 600; color: var(--ink-2); line-height: 1.35; }
@media (min-width: 900px) { .gallery { columns: 4; column-gap: var(--s-4); } .gallery figure { margin-bottom: var(--s-4); } }
.collage .p1 img, .collage .p3 img { object-fit: cover; }

/* ---------- 27. v2.6 layout scale: 1280px content cap, large screens, bigger About illustration ---------- */
html { font-size: 100%; }
@media (min-width: 1680px) { html { font-size: 106.25%; } }  /* content cap 1360px */
@media (min-width: 2200px) { html { font-size: 125%; } }     /* content cap 1600px */
.about--hero { margin-top: 0; gap: var(--s-5); }
.about--hero .worldmap { margin-inline: calc(var(--gutter) * -1); }
.about--hero .worldmap img { width: 100%; }
@media (min-width: 900px) {
  .about--hero { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); align-items: center; gap: var(--s-6); }
  .about--hero .worldmap { margin-inline: 0 calc(var(--gutter) * -1); }
}
@media (min-width: 1280px) { .about--hero .worldmap img { transform: scale(1.06); transform-origin: 40% 50%; } }
/* short landscape screens (phones turned sideways): keep the header and menu usable */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { padding-block: var(--s-3) var(--s-6); }
  .sheet a.big { min-height: 48px; font-size: 2rem; padding-block: 6px; }
  :root { --header-h: 62px; }
}
.clip { overflow-x: clip; }

/* ---------- 28. v2.6 footer: no orphan column, shorter on phones ---------- */
.footer__cols { grid-template-columns: repeat(2, 1fr); gap: var(--s-5) var(--s-5); }
.footer__cols > div:nth-child(3) { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
.footer__cols > div:nth-child(3) h2 { flex-basis: 100%; }
.footer__tag { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); max-width: 12em; margin-top: var(--s-3); }
.footer__news { margin-top: var(--s-4); }
.site-footer { padding-block: var(--s-7) var(--s-5); }
.site-footer .wrap { gap: var(--s-6); }
@media (min-width: 640px) {
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .footer__cols > div:nth-child(3) { display: block; grid-column: auto; }
}
@media (min-width: 900px) { .site-footer .wrap { grid-template-columns: 1fr 1.5fr; column-gap: var(--s-8); align-items: start; } }
.footer__base { grid-column: 1 / -1; }
.footer__cols > div:nth-child(3) a[href^="mailto:"], .footer__cols > div:nth-child(3) a[href*="whatsapp"] { flex-basis: 100%; }
@media (min-width: 640px) { .footer__cols > div:nth-child(3) a { flex-basis: auto; } }

/* ---------- 29. v2.6 tiny screens (280px folded phones) and short screens ---------- */
.event, .event__body, .join-card, .join__routes, .head-row > *, .about > *, .card, .route, .area, .pin, .state, .path__btn > *, .tile, .hero__text > * { min-width: 0; }
h1, h2, h3, p, li, label, .lede { overflow-wrap: break-word; }
.event__body { min-width: 0; }
@media (max-width: 340px) {
  :root { --gutter: 14px; }
  .event { grid-template-columns: 60px 1fr; }
  .event__date { padding: var(--s-3) 4px; font-size: 0.68rem; letter-spacing: 0.04em; }
  .event__date b { font-size: 1.9rem; }
  .event__body, .event--feature .event__body, .event--proposed .event__body, .event--planned .event__body { padding: var(--s-4) var(--s-3); }
  .join-card { padding: var(--s-4); }
  .path__num { font-size: 1.1rem; }
  .btn { padding: 0 var(--s-4); }
  .hero__cta .btn { width: 100%; }
  .collage .sticker { width: 80px; height: 80px; right: -6px; }
  .collage .sticker strong { font-size: 1.15rem; }
}
/* laptops with short screens: keep the join button in the first viewport */
@media (min-width: 960px) { .hero h1 { font-size: clamp(4.4rem, min(12vw, 19vh), 10.5rem); } .collage { height: min(640px, 72vh); min-height: 460px; } }
/* phones in landscape: text and photos side by side so the join button is visible */
@media (min-width: 640px) and (max-height: 520px) and (orientation: landscape) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; gap: var(--s-5); }
  .hero__text { display: block; }
  .hero__text > h1 { margin-bottom: var(--s-3); font-size: clamp(3rem, 15vh, 4.6rem); }
  .hero__copy { font-size: 1.05rem; margin-bottom: var(--s-3); }
  .hero__cta { margin-bottom: var(--s-2); }
  .hero__micro { display: none; }
  .hero__grid > .collage { margin-block: 0; height: 280px; }
  .collage .p3 { display: none; }
}
.link-arrow { max-width: 100%; overflow-wrap: anywhere; }
@media (min-width: 640px) and (max-height: 400px) and (orientation: landscape) {
  .hero__text > h1 { font-size: clamp(2.6rem, 13vh, 3.6rem); }
  .hero__copy { font-size: 0.95rem; margin-bottom: var(--s-2); }
  .hero { padding-top: var(--s-2); }
}

/* ---------- 30. phones: no Join in the bar, centred hero ---------- */
@media (max-width: 639px) { .header-join { display: none; } }
@media (max-width: 959px) {
  .hero__text > * { text-align: center; }
  .hero__text > h1 { text-align: center; }
  .hero__copy { margin-inline: auto; }
  .hero__cta { justify-content: center; flex-direction: column; align-items: center; }
  .hero__cta .btn { width: min(100%, 340px); }
  .hero__micro { justify-content: center; text-align: center; }
  .say { justify-items: center; }
}
/* phones turned sideways keep the two-column, left-aligned hero */
@media (min-width: 640px) and (max-height: 520px) and (orientation: landscape) {
  .hero__text > * { text-align: left; }
  .hero__text > h1 { text-align: left; }
  .hero__copy { margin-inline: 0; }
  .hero__cta { justify-content: flex-start; flex-direction: row; align-items: flex-start; }
  .hero__cta .btn { width: auto; }
}


/* ---------- 31. v2.7 navbar behaviour: flat at the top, floating card when scrolled, hides going down, returns going up ---------- */
.site-header { border-bottom: 0; background: transparent; transition: transform 0.38s var(--ease); will-change: transform; }
.site-header .bar { margin: 8px 10px; min-height: calc(var(--header-h) - 16px); width: auto; padding-inline: 8px 12px; border-radius: 18px; background: transparent; transition: background 0.3s, box-shadow 0.3s; }
.site-header.is-card .bar { background: var(--paper); box-shadow: 0 10px 28px rgba(19, 32, 31, 0.14), 0 1px 3px rgba(19, 32, 31, 0.1); }
.site-header.is-hidden { transform: translateY(calc(-100% - 16px)); }
.site-header:focus-within, .site-header:hover.is-peek, .site-header.is-peek { transform: none; }
html { scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { .site-header, .site-header .bar { transition: none; } }

/* the mark never gets the link underline; links keep it on hover and for the current page */
.nav a.brand::after, .nav a.brand:hover::after { display: none; }

/* long display words never split mid-word (the old rule broke EXPLORING into EXPLORIN / G) */
.display, h1, h2, .path__name { overflow-wrap: normal; word-break: normal; hyphens: manual; }
@media (min-width: 900px) {
  .path__btn { grid-template-columns: 7rem minmax(0, 1.3fr) minmax(0, 1fr) auto; }
  .path__inner { grid-template-columns: 7rem 1fr 1fr; }
  .path__name { font-size: clamp(3.4rem, 8.4vw, 7rem); }
}


/* ---------- 32. v3.0 collapsed state: the bar shrinks into a pill with the SAME height, padding, border and mark as the bar, and grows back out ---------- */
/* --pl / --pr: how far the pill reaches left and right of the screen centre. The mark always sits exactly on the centre, in the bar and in the pill. */
:root { --pl: 30px; --pr: 30px; --card-shadow: 0 10px 28px rgba(19, 32, 31, 0.16), 0 0 0 1px rgba(19, 32, 31, 0.08); }
@media (max-width: 959px) { :root { --pl: 53px; --pr: 53px; } }   /* phones: the pill is centred as a whole: 10 + 48 menu button + 8 gap + 30 mark + 10 = 106 */
.site-header { transform: none !important; }
.site-header .bar { clip-path: inset(-30px -30px -44px -30px round 18px); transition: clip-path 0.55s var(--ease), background 0.3s, box-shadow 0.3s; }
.site-header.is-card .bar { box-shadow: var(--card-shadow); }
.site-header.is-hidden:not(.is-peek) .bar { clip-path: inset(0 calc(50% - var(--pr)) 0 calc(50% - var(--pl)) round 18px); }
.site-header.is-hidden:focus-within .bar { clip-path: inset(-30px -30px -44px -30px round 18px); }   /* keyboard users always get the full bar */

.scroll-pill {
  position: fixed; top: 8px; left: calc(50% - var(--pl)); z-index: 51; width: calc(var(--pl) + var(--pr)); height: 60px; padding: 0 12px 0 8px;
  border-radius: 18px; background: var(--paper); display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: var(--card-shadow); opacity: 0; pointer-events: none; transition: opacity 0.2s; cursor: pointer;
}
.site-header.is-hidden:not(.is-peek) + .scroll-pill { opacity: 1; pointer-events: auto; transition-duration: 0.3s; transition-delay: 0.2s; }
.pill-mark { flex: none; width: 30px; height: 46px; display: grid; place-items: center; }
.pill-mark svg { width: 30px; height: 46px; overflow: visible; display: block; }
/* the pill's menu button is the bar's menu button: same size, border and radius */
.pill-menu { display: none; flex: none; width: 48px; height: 48px; padding: 0; place-items: center; border: 2px solid var(--ink); background: var(--paper); border-radius: 14px; color: var(--ink); transition: background 0.15s; }
.pill-menu svg { width: 20px; height: 20px; }
.pill-menu:hover { background: var(--sun); }
@media (max-width: 959px) { .pill-menu { display: inline-grid; } .scroll-pill { justify-content: flex-start; } }
/* the curves around the cross are still, except for one slow quarter-turn into place each time the bar folds into the pill */
.pm-ring { transform-origin: 80px 123px; transform: none; }
.site-header.is-hidden:not(.is-peek) + .scroll-pill .pm-ring { animation: pm-turn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }
@keyframes pm-turn { from { transform: rotate(-90deg); } to { transform: none; } }
.sheet-open .scroll-pill { display: none; }
@media (prefers-reduced-motion: reduce) { .pm-ring, .site-header.is-hidden:not(.is-peek) + .scroll-pill .pm-ring { animation: none; transform: none; transition: none; } .site-header .bar { transition: none; } .scroll-pill { transition: opacity 0.01s; } }

/* photo prints without captions: a slimmer bottom edge */
.photo--print { padding: 8px 8px 22px; }
.wide-photo figcaption, .gallery figcaption { display: none; }

/* footer: the official logo lockup (mark plus the Courier wordmark, outlined so it looks the same on every device) */
.footer__logo { display: inline-block; line-height: 0; }
.footer__logo img { display: block; width: min(250px, 70vw); height: auto; }
/* v3.0 alignment: the bar card and the pill share one geometry (same top, height, padding and centre line) */
.site-header { padding: 8px 10px; }
.site-header .bar { margin: 0; padding-inline: 8px; min-height: 60px; }
.scroll-pill { padding: 0 12px 0 8px; }
@media (min-width: 960px) { .scroll-pill { padding: 0; } }
@media (max-width: 959px) {
  .scroll-pill { padding: 0 10px; }
  /* the pill carries its own mark, so the bar's centred mark steps aside while the bar is folded (no double logo) */
  .site-header .bar .brand { transition: opacity 0.2s; }
  .site-header.is-hidden:not(.is-peek) .bar .brand { opacity: 0; transition-duration: 0.12s; }
}

/* ---------- 34. event detail pages, core values, event card links ---------- */
.event__links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.impact--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.impact--3 b { font-size: clamp(2rem, 9vw, 3.2rem); }

.crumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: var(--fs-1); font-weight: 600; margin-bottom: var(--s-4); color: var(--ink-2); }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ink); }
.crumb [aria-current] { color: var(--ink-2); }

.ev-hero { padding-block: clamp(28px, 5vw, 64px) clamp(24px, 4vw, 48px); }
.ev-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); align-items: start; }
.ev-hero__grid > * { min-width: 0; }
.ev-hero__tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-4); }
.ev-hero h1 { font-size: clamp(2.3rem, 0.4rem + 11vw, 6.2rem); margin-bottom: var(--s-4); }
.ev-hero .lede { max-width: 34em; }
.ev-hero__photo { margin: 0; border: 2px solid var(--ink); box-shadow: var(--hard); background: var(--paper-2); }
.ev-hero__photo img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.ev-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
@media (min-width: 960px) { .ev-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--s-8); } .ev-hero h1 { font-size: clamp(3rem, 5.4vw, 6.4rem); } }

.facts { display: grid; gap: 0; border-top: 2px solid var(--ink); margin-top: var(--s-5); max-width: 40em; }
.facts > div { display: grid; grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr); gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 2px solid var(--ink); }
.facts dt { font-weight: 700; font-size: var(--fs-0); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); padding-top: 3px; }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.facts dd small { display: block; font-weight: 500; color: var(--ink-2); font-size: var(--fs-0); margin-top: 2px; }
@media (max-width: 380px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }

.ev-sec { padding-block: clamp(32px, 5vw, 64px); }
.ev-sec__head { display: grid; gap: var(--s-3); margin-bottom: var(--s-5); max-width: 46em; }
.ev-sec__head h2 { font-size: clamp(2rem, 1rem + 4vw, 3.6rem); }
.ev-sec__head p { color: var(--ink-2); }
.ev-two { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .ev-two { grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: start; } }
.ev-prose { display: grid; gap: var(--s-3); max-width: 40em; font-size: var(--fs-2); }
.ev-scripture { margin: 0; padding: var(--s-5); background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-1); box-shadow: var(--hard-sm); font-weight: 500; line-height: 1.35; font-size: var(--fs-3); }
.ev-scripture cite { display: block; margin-top: var(--s-3); font-size: var(--fs-1); font-style: normal; font-weight: 700; color: var(--teal-deep); }
.ev-source { font-size: var(--fs-0); color: var(--ink-2); margin-top: var(--s-3); max-width: 46em; }

.ev-list { display: grid; gap: var(--s-3); max-width: 40em; }
.ev-list li { display: flex; gap: var(--s-3); font-size: var(--fs-2); font-weight: 600; }
.ev-list li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 0.55em; background: var(--sun); border: 2px solid var(--ink); border-radius: 50%; }

.speakers { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
.speaker { background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-1); padding: var(--s-4); display: grid; gap: 4px; align-content: start; min-width: 0; }
.speaker b { font-size: var(--fs-2); line-height: 1.15; }
.speaker .role { font-size: var(--fs-1); color: var(--ink-2); }
.speaker .topic { font-size: var(--fs-1); font-weight: 600; margin-top: var(--s-2); padding-top: var(--s-2); border-top: 1.5px dashed var(--ink); }
@media (min-width: 560px) { .speakers { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .speakers { grid-template-columns: repeat(3, 1fr); } }
.names { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.names li { padding: 6px 14px; border: 2px solid var(--ink); border-radius: var(--r-pill); background: var(--card); font-weight: 700; font-size: var(--fs-1); }

.programme { display: grid; border-top: 2px solid var(--ink); max-width: 52em; }
.programme li { display: grid; gap: 2px var(--s-5); padding: var(--s-4) 0; border-bottom: 2px solid var(--ink); }
.programme time { font-weight: 700; font-size: var(--fs-1); color: var(--teal-deep); }
.programme b { display: block; font-size: var(--fs-2); line-height: 1.2; }
.programme span { display: block; margin-top: 2px; color: var(--ink-2); font-size: var(--fs-1); }
@media (min-width: 700px) { .programme li { grid-template-columns: 11rem 1fr; } .programme time { padding-top: 3px; } }

.quotes { display: grid; gap: var(--s-4); }
.quote { margin: 0; padding: var(--s-5); background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-1); box-shadow: var(--hard-sm); display: grid; gap: var(--s-3); align-content: start; }
.quote blockquote { margin: 0; font-size: var(--fs-2); font-weight: 500; line-height: 1.4; }
.quote figcaption { font-weight: 700; font-size: var(--fs-1); }
.quote figcaption span { display: block; font-weight: 500; color: var(--ink-2); }
@media (min-width: 800px) { .quotes { grid-template-columns: 1fr 1fr; } }

.reg { padding: var(--s-5); background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-1); box-shadow: var(--hard); display: grid; gap: var(--s-3); max-width: 46em; }
.reg h3 { font-size: var(--fs-4); line-height: 1.05; }
.reg p { color: var(--ink-2); }
.reg .ev-cta { margin-top: var(--s-2); }

.faq { display: grid; max-width: 52em; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 2px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-4); align-items: center; min-height: 56px; padding: var(--s-3) 0; font-weight: 700; font-size: var(--fs-2); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 36px; height: 36px; box-sizing: border-box; border: 2px solid var(--ink); border-radius: 50%; /* the plus is drawn, not typed, so it is exactly centred */ background: linear-gradient(var(--ink), var(--ink)) center / 14px 2.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2.5px 14px no-repeat, var(--paper); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.faq details > div { padding: 0 0 var(--s-4); color: var(--ink-2); font-size: var(--fs-1); max-width: 42em; }
.faq details > div p + p { margin-top: var(--s-2); }

.tbc { padding: var(--s-5); border: 2px dashed var(--ink); border-radius: var(--r-1); display: grid; gap: var(--s-3); max-width: 46em; background: var(--paper); }
.tbc h3 { font-size: var(--fs-3); line-height: 1.1; }
.tbc ul { display: grid; gap: var(--s-2); }
.tbc li { display: flex; gap: var(--s-3); font-weight: 600; font-size: var(--fs-1); }
.tbc li::before { content: "?"; flex: none; width: 22px; height: 22px; border: 1.5px dashed var(--ink); border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; margin-top: 1px; }

.invite { display: grid; gap: var(--s-4); }
.invite__grid { display: grid; gap: var(--s-4); }
.invite__grid a { display: grid; gap: var(--s-2); padding: var(--s-5); background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-1); text-decoration: none; color: inherit; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.invite__grid a:hover { transform: translate(-3px, -3px); box-shadow: var(--hard); }
.invite__grid h3 { font-size: var(--fs-3); line-height: 1.1; }
.invite__grid p { color: var(--ink-2); font-size: var(--fs-1); }
@media (min-width: 760px) { .invite__grid { grid-template-columns: repeat(3, 1fr); } }

.values { display: grid; gap: var(--s-4); counter-reset: v; }
.value { counter-increment: v; padding: var(--s-5); background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-1); display: grid; gap: var(--s-3); align-content: start; }
.value::before { content: counter(v, decimal-leading-zero); font-family: var(--font-hand); font-weight: 700; font-size: 1.6rem; color: var(--teal-deep); line-height: 1; }
.value h3 { font-size: var(--fs-4); line-height: 1.05; }
.value .lives { padding-top: var(--s-3); border-top: 1.5px dashed var(--ink); font-size: var(--fs-1); }
.value .lives b { display: block; font-size: var(--fs-0); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 2px; }
@media (min-width: 700px) { .values { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .values { grid-template-columns: repeat(3, 1fr); } }
.values-intro { display: grid; gap: var(--s-4); }
.values-intro__names { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.values-intro__names li { padding: 6px 16px; border: 2px solid var(--ink); border-radius: var(--r-pill); background: var(--card); font-weight: 700; }

/* 35. About: vision, mission, what CTC is and is not */
.purpose { display: grid; gap: var(--s-4); }
.purpose article { padding: var(--s-5); background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-1); display: grid; gap: var(--s-3); align-content: start; }
.purpose h3, .isnot h3 { font-size: var(--fs-3); line-height: 1.1; }
.purpose p { font-size: var(--fs-2); line-height: 1.45; overflow-wrap: anywhere; }
.isnot { display: grid; gap: var(--s-4); }
.isnot__card { padding: var(--s-5); background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-1); display: grid; gap: var(--s-3); align-content: start; font-size: var(--fs-1); }
.isnot__card--not { background: var(--paper); border-style: dashed; }
.isnot__card ul { display: grid; gap: var(--s-2); }
.isnot__card li { display: flex; gap: var(--s-3); }
.isnot__card li::before { content: "\00d7"; flex: none; font-weight: 700; }
.isnot__church { margin-top: var(--s-5); font-weight: 700; font-size: var(--fs-2); line-height: 1.35; max-width: 32em; }
@media (min-width: 760px) { .purpose, .isnot { grid-template-columns: 1fr 1fr; } }

/* 36. Footer email: break only after the @, never mid-word */
.footer__cols a[href^="mailto:"] { overflow-wrap: normal; }
/* 640px to 1099px: the "Say hi" links run across the full width (as on phones) so the address fits on one line */
@media (min-width: 640px) and (max-width: 1099px) {
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__cols > div:nth-child(3) { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); grid-column: 1 / -1; }
  .footer__cols > div:nth-child(3) h2 { flex-basis: 100%; }
}
/* 1100px and up: a wider third column so the domain never needs to split */
@media (min-width: 1100px) { .footer__cols { grid-template-columns: 1fr 1fr 1.4fr; } }

/* 37. FaithStackLive hero: theme as headline, street-sign facts, facilitator card */
.ev-topic { font-size: var(--fs-3); font-weight: 600; line-height: 1.25; max-width: 24em; text-wrap: balance; margin-bottom: var(--s-2); }
.signs { display: grid; gap: var(--s-4); max-width: 34rem; margin: var(--s-5) 0 var(--s-5); }
.sign { position: relative; isolation: isolate; color: var(--paper); padding: var(--s-4) var(--s-5); display: grid; gap: 4px; }
.sign::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--teal-deep); border: 2px solid var(--ink); border-radius: 8px; box-shadow: var(--hard-sm); outline: 2px solid var(--paper); outline-offset: -8px; }
.sign dt { font-size: var(--fs-0); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sun); }
.sign dd { margin: 0; display: grid; gap: 2px; }
.sign dd b { font-size: var(--fs-3); line-height: 1.15; font-weight: 700; overflow-wrap: anywhere; }
.sign dd span { text-wrap: balance; font-size: var(--fs-1); color: rgba(246, 238, 224, 0.86); }
.ev-person { margin: 0; width: min(100%, 22rem); justify-self: center; position: relative; isolation: isolate; padding: var(--s-2); }
.ev-person::before, .ev-person::after { content: ""; position: absolute; inset: var(--s-2); background: var(--card); border: 2px solid var(--ink); z-index: -1; }
.ev-person::before { transform: rotate(-6deg); }
.ev-person::after { transform: rotate(-3deg); }
.ev-person__card { background: var(--card); border: 2px solid var(--ink); box-shadow: var(--hard); padding: var(--s-3) var(--s-3) var(--s-4); transform: rotate(1.5deg); }
.ev-person img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ink); }
.ev-person figcaption { display: grid; gap: 2px; margin-top: var(--s-3); }
.ev-person figcaption b { font-size: var(--fs-3); line-height: 1.1; }
.ev-person figcaption span { font-size: var(--fs-0); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-deep); }
@media (min-width: 640px) {
  .sign::before { transform: rotate(-0.8deg); }
  .sign:nth-child(2)::before { transform: rotate(0.7deg); }
  .sign:nth-child(2) { margin-inline-start: var(--s-5); }
}
@media (min-width: 960px) {
  .ev-hero--sign .ev-hero__grid { align-items: center; }
  .ev-person { justify-self: end; }
}
@media (prefers-reduced-motion: no-preference) {
  .sign { animation: sign-settle 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .sign:nth-child(2) { animation-delay: 0.12s; }
  @keyframes sign-settle { from { translate: 0 -10px; rotate: -3deg; } }
}

/* 38. Drawer motion on phones and tablets (modelled on zoox.com's mobile menu, measured frame by frame):
   the card grows out of a small pill at its top centre (clip-path, ease-out ~0.4s) while the menu rises into place on the same curve,
   deeper rows travelling a little further and arriving a little later. Closing is the reverse, easing in. */
@media (max-width: 959px) {
  .drawer {
    --pill: inset(0 calc(50% - 80px) calc(100% - 60px) calc(50% - 80px) round 30px);
    box-shadow: none; transform: none; opacity: 1;
    clip-path: var(--pill);
    transition: clip-path 0.34s cubic-bezier(0.7, 0, 0.84, 0) 0.12s, visibility 0s 0.46s;
  }
  .drawer.open { clip-path: inset(0 0 0 0 round 24px); transition: clip-path 0.4s cubic-bezier(0.2, 0, 0, 1) 0.04s, visibility 0s; }
  .drawer.is-moving { overflow: hidden; }
  .drawer__main, .drawer__more, .drawer__foot { transition: transform 0.34s cubic-bezier(0.7, 0, 0.84, 0) 0.12s; }
  .drawer__main { transform: translateY(290px); }
  .drawer__more { transform: translateY(310px); }
  .drawer__foot { transform: translateY(330px); }
  .drawer.open .drawer__main, .drawer.open .drawer__more, .drawer.open .drawer__foot { transform: none; transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1) 0.04s; }
  .drawer.open .drawer__more { transition-delay: 0.06s; }
  .drawer.open .drawer__foot { transition-delay: 0.08s; }
  .scrim { transition: opacity 0.4s cubic-bezier(0.2, 0, 0, 1); }
}
@media (max-width: 959px) and (prefers-reduced-motion: reduce) {
  .drawer { clip-path: inset(0 round 24px); opacity: 0; transition: opacity 0.15s, visibility 0s 0.15s; }
  .drawer.open { opacity: 1; transition: opacity 0.15s; }
  .drawer__main, .drawer__more, .drawer__foot, .drawer.open .drawer__main, .drawer.open .drawer__more, .drawer.open .drawer__foot { transform: none; transition: none; }
}

/* 39. Team member without a portrait yet: initials in the same circle */
.crew figure .photo--initials { display: grid; place-items: center; background: var(--sage); }
.crew figure .photo--initials span { font-family: var(--font-display); font-size: clamp(1.8rem, 7vw, 2.8rem); line-height: 1; color: var(--ink); letter-spacing: 0.02em; }

/* 40. Join: route cards. Each form sits behind a card; one is open at a time.
   Closed panels are inert and visibility-hidden (same pattern as the homepage paths). */
.join__note { margin-top: var(--s-4); color: var(--ink-2); font-size: var(--fs-1); }
.join__routes .eyebrow { margin-bottom: var(--s-3); }
.rc-list { display: grid; gap: var(--s-3); }
.rc { padding: 0; gap: 0; transition: box-shadow 0.2s var(--ease); }
.join-card h2.rc__h { font: inherit; letter-spacing: 0; text-transform: none; }
.rc__btn, .rc--link { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s-4); width: 100%; min-height: 72px; padding: var(--s-4) var(--s-5); text-align: left; cursor: pointer; color: inherit; text-decoration: none; }
.rc__btn { background: none; border: 0; font: inherit; }
.rc--link { background: var(--card); border-style: dashed; }
.rc__text { display: grid; gap: 4px; min-width: 0; }
.rc__title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-3); line-height: 1.05; letter-spacing: -0.01em; text-transform: uppercase; }
.rc__line { color: var(--ink-2); font-size: var(--fs-1); line-height: 1.4; }
.rc__icon, .rc__go { position: relative; display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 2px solid var(--ink); border-radius: 50%; background: var(--card); transition: transform 0.3s var(--ease), background 0.2s; }
.rc__icon::before, .rc__icon::after { content: ""; position: absolute; width: 14px; height: 2.5px; border-radius: 2px; background: var(--ink); }
.rc__icon::after { transform: rotate(90deg); }
.rc__go svg { width: 18px; height: 18px; }
.rc:hover { box-shadow: var(--hard-sm); }
.rc--link:hover .rc__go { background: var(--sun); }
.rc.is-open { box-shadow: var(--hard); }
.rc.is-open .rc__icon { transform: rotate(45deg); background: var(--sun); }
.rc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.rc.is-open .rc__panel { grid-template-rows: 1fr; }
.rc__panel > div { overflow: hidden; visibility: hidden; transition: visibility 0s 0.45s; }
.rc.is-open .rc__panel > div { visibility: visible; transition-delay: 0s; }
html:not(.js) .rc__panel { grid-template-rows: 1fr; }
html:not(.js) .rc__panel > div { visibility: visible; }
html:not(.js) .rc__icon { display: none; }
.rc__body { display: grid; gap: var(--s-4); padding: 0 var(--s-5) var(--s-5); }
@media (max-width: 340px) { .rc__btn, .rc--link { padding: var(--s-4); } .rc__body { padding: 0 var(--s-4) var(--s-4); } }
@media (prefers-reduced-motion: reduce) { .rc, .rc__icon, .rc__go, .rc__panel, .rc__panel > div { transition: none; } }

/* 41. Support page: why and how on the left, the donation card on the right (first on phones) */
.sup-grid { display: grid; gap: var(--s-7); }
.sup-why { display: grid; gap: var(--s-7); min-width: 0; }
.sup-why h2 { margin-bottom: var(--s-4); }
.sup-list { display: grid; border-top: 2px solid var(--ink); }
.sup-list li { display: grid; grid-template-columns: 2.4rem 1fr; gap: var(--s-3); padding: var(--s-4) 0; border-bottom: 2px solid var(--ink); }
.sup-list li b, .sup-steps li b { font-family: var(--font-hand); line-height: 1; color: var(--teal-deep); }
.sup-list li b { font-size: 1.7rem; }
.sup-list li strong { display: block; font-size: var(--fs-2); }
.sup-list li span { color: var(--ink-2); font-size: var(--fs-1); }
.sup-steps { display: grid; gap: 10px; font-size: var(--fs-2); }
.sup-steps li { display: flex; gap: 12px; }
.sup-steps li b { font-size: 1.6rem; }
.sup-org { display: grid; gap: var(--s-3); padding: var(--s-5); border: 2px dashed var(--ink); border-radius: var(--r-1); }
.sup-org h2 { margin: 0; }
.sup-org__links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.sup-card { box-shadow: var(--hard); }
.sup-card form { gap: var(--s-5); }
.sup-legend { font-weight: 700; font-size: var(--fs-1); margin-bottom: var(--s-2); }
.amounts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.amt { position: relative; }
.amt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.amt span { display: grid; place-items: center; min-height: 56px; border: 2px solid var(--ink); border-radius: var(--r-1); background: var(--card); font-family: var(--font-display); font-size: var(--fs-3); letter-spacing: 0.01em; transition: background 0.15s, transform 0.15s var(--ease); }
.amt:hover span { transform: translateY(-2px); }
.amt input:checked + span { background: var(--sun); box-shadow: var(--hard-sm); }
.amt input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--sun); }
.sup-other { margin-top: var(--s-3); }
.naira { display: grid; grid-template-columns: auto 1fr; }
.naira > span { display: grid; place-items: center; padding: 0 var(--s-3); border: 2px solid var(--ink); border-right: 0; border-radius: var(--r-1) 0 0 var(--r-1); background: var(--paper-2); font-weight: 700; }
.naira .input { border-radius: 0 var(--r-1) var(--r-1) 0; }
.sup-btn { width: 100%; justify-content: center; }
.sup-btn[disabled] { opacity: 0.7; cursor: progress; }
.sup-fine { display: flex; gap: 8px; align-items: center; font-size: var(--fs-0); color: var(--ink-2); }
.sup-fine svg { width: 16px; height: 16px; flex: none; }
@media (min-width: 960px) {
  .sup-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--s-8); align-items: start; }
  .sup-card-wrap { order: 2; position: sticky; top: 110px; }
}
@media (max-width: 959px) { .sup-card-wrap { order: -1; } }
@media (prefers-reduced-motion: reduce) { .amt span { transition: none; } }
.reg__support { margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); align-items: baseline; color: var(--ink-2); font-size: var(--fs-1); }
