/*
Theme Name: Interlink Foundation
Theme URI: https://interlinkfoundation.org/
Author: Interlink Foundation
Description: Editorial theme for the Interlink Foundation. Static templates; GiveWP owns the donation flow.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: interlink-foundation
*/

/* ============================================================
   Interlink Foundation — "Ink & Paper Press"
   Design concept, staging build.
   ============================================================ */

:root {
  --paper:    #EFE8D9;
  --card:     #F5F0E5;
  --ink:      #17140F;
  --burgundy: #7A1631;
  --rose:     #A84257;
  --blush:    #C98A9C;
  --muted:    #5C5346;
  --body:     #3A342B;
  --body-dk:  #2E2921;
  --faint:    #B8AE9B;
  --rule:     rgba(23, 20, 15, 0.22);
  --rule-lt:  rgba(23, 20, 15, 0.12);
  --grid:     rgba(23, 20, 15, 0.015);
  --on-ink:   #D8CFBD;
  --on-ink-q: #A79C89;

  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans:  'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --mono:  'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --lock:  'Jost', var(--sans);

  --gutter: clamp(20px, 5vw, 88px);
  --maxw: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: repeating-linear-gradient(
    0deg, rgba(23,20,15,0.03) 0px, rgba(23,20,15,0.03) 1px, transparent 1px, transparent 3px);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.mono {
  font-family: var(--mono);
  font-size: clamp(9px, 1.1vw, 10px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.022em; margin: 0; }
h1 { font-size: clamp(34px, 5.6vw, 70px); line-height: 0.98; }
h2 { font-size: clamp(32px, 4.6vw, 58px); line-height: 1; }
h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.08; }
p  { margin: 0; }
em { font-style: italic; color: var(--burgundy); }

/* ---------- running head ---------- */
.runhead {
  border-bottom: 1px solid rgba(23,20,15,0.18);
  min-height: 36px;
  display: flex; align-items: center;
}
.runhead .wrap { display: flex; justify-content: space-between; gap: 16px; width: 100%; }
.runhead .mid { display: flex; align-items: center; gap: 10px; }
.runhead .mid img { width: 13px; height: 13px; opacity: 0.75; }
@media (max-width: 820px) { .runhead .mid, .runhead .end { display: none; } }

/* ---------- masthead + lockup ---------- */
.masthead { border-bottom: 2px solid var(--ink); }
.masthead .wrap {
  min-height: 112px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
/* lockup geometry measured off the original file:
   mark = 2.80x font-size, gap = 0.39x mark, tracking 0.21em */
.lockup { display: flex; align-items: center; gap: 24px; color: var(--ink); flex-shrink: 0; }
.lockup img { width: 62px; height: 62px; flex-shrink: 0; }
.lockup span {
  font-family: var(--lock); font-weight: 300; font-size: 22px;
  letter-spacing: 0.21em; text-transform: uppercase; white-space: nowrap;
}
.lockup--sm img { width: 48px; height: 48px; }
.lockup--sm span { font-size: 17px; gap: 19px; }
.lockup--ink { color: var(--paper); }

@media (max-width: 1180px) {
  .lockup img { width: 48px; height: 48px; }
  .lockup span { font-size: 16px; letter-spacing: 0.19em; }
  .lockup { gap: 19px; }
}
@media (max-width: 560px) {
  .masthead .wrap { min-height: 76px; }
  .lockup img { width: 36px; height: 36px; }
  .lockup { gap: 11px; }
  .lockup span {
    font-size: 10px; letter-spacing: 0.21em; white-space: normal;
    display: flex; flex-direction: column; line-height: 1.5;
  }
}

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav a.link {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink); padding: 6px 0;
}
.nav a.link[aria-current="page"] { color: var(--burgundy); border-bottom: 2px solid var(--burgundy); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 48px; padding: 0 26px; border: 1px solid var(--ink);
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer;
  background: var(--card); color: var(--ink);
}
.btn--primary { background: var(--burgundy); color: var(--card); box-shadow: 4px 4px 0 var(--ink); }
.btn--primary:hover { color: #fff; }
.btn--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid:hover { color: #fff; }
.btn--lg { min-height: 62px; padding: 0 34px; font-size: 12px; }
.btn--ghost-ink { background: transparent; color: var(--paper); border-color: rgba(239,232,217,0.45); }

.menu-toggle { display: none; }
.menu-btn {
  display: none; width: 48px; height: 48px; border: 1px solid var(--ink);
  background: transparent; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); }

@media (max-width: 980px) {
  .nav .link { display: none; }
  .menu-btn { display: flex; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 76px); }
.hero-film { margin-top: clamp(30px, 4vw, 56px); }
.hero-film figure { margin: 0; }
.hero-film video {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  background: var(--ink); border: 1px solid rgba(23, 20, 15, 0.22);
}
.film-cap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.film-pause {
  background: transparent; border: 1px solid var(--rule); color: var(--muted); cursor: pointer;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 7px 12px; transition: border-color 180ms, color 180ms;
}
.film-pause:hover { border-color: var(--ink); color: var(--ink); }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow .bar { width: 34px; height: 3px; background: var(--burgundy); flex-shrink: 0; }
.lede { max-width: 56ch; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.62; color: var(--body); }
figcaption { margin-top: 10px; }
.cap-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: clamp(24px, 3vw, 36px); }

/* ---------- marquee band ---------- */
.band {
  margin-top: clamp(44px, 6vw, 76px);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  background-color: var(--burgundy); overflow: hidden; position: relative;
  min-height: 118px; display: flex; align-items: center;
}
.band::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../img/knot-brick.png");
  background-size: 136px 136px; background-repeat: repeat; opacity: 0.16;
}
.marquee {
  position: relative; display: flex; flex-shrink: 0; align-items: center;
  white-space: nowrap; font-family: var(--serif);
  font-size: clamp(22px, 3vw, 34px); color: var(--card);
  animation: drift 42s linear infinite;
}
.marquee img { width: 26px; height: 26px; margin-inline: 32px; }
.marquee span { padding-right: 0; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }
@media (max-width: 620px) { .band { min-height: 76px; } .marquee img { width: 18px; height: 18px; margin-inline: 20px; } }

/* ---------- section heads ---------- */
.sec { padding-top: clamp(44px, 6vw, 80px); }
.sec-head {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-bottom: 26px; border-bottom: 2px solid var(--ink); flex-wrap: wrap;
}
.sec-head h2 { display: flex; align-items: center; gap: 18px; }
.sec-head h2 img { width: clamp(26px, 3vw, 38px); height: clamp(26px, 3vw, 38px); flex-shrink: 0; }

/* ---------- program rows ---------- */
.prow {
  display: grid; grid-template-columns: 92px 206px 340px 1fr 3px;
  gap: 36px; padding: 32px 0; border-bottom: 1px solid var(--rule); align-items: center;
}
.prow:last-child { border-bottom: 2px solid var(--ink); }
.prow .num { font-family: var(--serif); font-size: 58px; line-height: 0.9; color: var(--faint); transition: color .2s; }
.prow img.thumb { width: 100%; aspect-ratio: 206/190; object-fit: cover; border: 1px solid rgba(23,20,15,0.25); }
.prow .rule { background: var(--ink); align-self: stretch; transition: background .2s; }
.prow:hover .num { color: var(--burgundy); }
.prow:hover .rule { background: var(--burgundy); }
.prow .kicker {
  display: block; margin-top: 10px; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--burgundy);
}
.prow p { font-size: clamp(14px, 1.3vw, 16px); line-height: 1.66; color: var(--body); }
@media (max-width: 1200px) {
  .prow { grid-template-columns: 74px 170px 1fr; gap: 24px; }
  .prow .rule { display: none; }
  .prow p { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .prow { grid-template-columns: 56px 1fr; gap: 16px; padding: 26px 0; }
  .prow img.thumb { grid-column: 1 / -1; aspect-ratio: 16/9; }
  .prow .num { font-size: 40px; }
}

/* ---------- ink panel ---------- */
.ink {
  margin-top: clamp(48px, 6vw, 88px);
  background: var(--ink); color: var(--paper);
  padding-block: clamp(44px, 6vw, 76px); position: relative; overflow: hidden;
}
.ink::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../img/knot-brick.png");
  background-size: 184px 184px; background-repeat: repeat; opacity: 0.05;
}
.ink .wrap { position: relative; }
.ink h2, .ink h3 { color: var(--paper); }
.ink p { color: var(--on-ink); }
.ink .mono { color: var(--on-ink-q); }
.ink .kicker { color: var(--blush); }

.feature { display: grid; grid-template-columns: 486px 1fr; gap: clamp(28px, 4vw, 64px); }
@media (max-width: 1080px) { .feature { grid-template-columns: 1fr; } }
.feature > figure { margin: 0; }
.feature > figure img { width: 100%; aspect-ratio: 486/690; object-fit: cover; }
.detail-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.detail-3 img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }

/* ---------- events ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); padding-top: 34px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .cards { grid-template-columns: 1fr; } }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card .meta { margin-top: 16px; border-top: 3px solid var(--ink); padding-top: 16px; }
.card:first-child .meta { border-top-color: var(--burgundy); }
.card h3 { margin-top: 12px; }
.card p { margin-top: 10px; font-size: 15px; color: var(--body); }

/* ---------- stamped block ---------- */
.stamp {
  border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--burgundy);
  background: var(--card); padding: clamp(28px, 4vw, 54px);
  position: relative; overflow: hidden;
}
.stamp .mark-wm {
  position: absolute; top: -110px; right: -90px; width: 420px; height: 420px;
  opacity: 0.07; pointer-events: none;
}
.stamp > * { position: relative; }
.stamp .top { display: flex; align-items: flex-start; justify-content: space-between; gap: clamp(28px, 4vw, 64px); flex-wrap: wrap; }
.stamp .actions { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 760px) { .stamp .actions { width: 100%; } }
.stamp h2 { font-size: clamp(30px, 4.6vw, 66px); line-height: 0.98; }

.funds { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 860px) { .funds { grid-template-columns: 1fr; } }
.fund .row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fund .name { font-family: var(--serif); font-size: 25px; }
.fund .bar { margin-top: 14px; height: 9px; background: #DDD4C2; border: 1px solid var(--ink); }
.fund .bar i { display: block; height: 100%; background: var(--burgundy); }

/* ---------- footer ---------- */
.foot { margin-top: clamp(48px, 6vw, 88px); border-top: 2px solid var(--ink); padding-block: clamp(32px, 4vw, 54px) 36px; }
.foot .cols { display: grid; grid-template-columns: 420px 1fr; gap: clamp(28px, 4vw, 64px); }
@media (max-width: 960px) { .foot .cols { grid-template-columns: 1fr; } }
.foot .links { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 720px) { .foot .links { grid-template-columns: 1fr; } }
.foot .links h4 { margin: 0 0 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.foot .links a { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); padding: 7px 0; }
.signup { display: flex; border: 1px solid var(--ink); margin-top: 6px; }
.signup input { flex-grow: 1; min-width: 0; height: 46px; padding: 0 12px; border: 0; background: transparent; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink); }
.signup button { height: 46px; padding: 0 16px; border: 0; border-left: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.colophon { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 36px; }

/* ---------- inner pages ---------- */
.page-head { padding-top: clamp(36px, 5vw, 68px); }
.page-head h1 { font-size: clamp(32px, 6vw, 78px); line-height: 0.94; }
.crumb { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.crumb a { color: var(--muted); }

.hero-wide { margin-top: clamp(28px, 4vw, 52px); }
.hero-wide img { width: 100%; aspect-ratio: 1264/700; object-fit: cover; }

.spec { margin-top: clamp(32px, 4vw, 58px); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 28px 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2vw, 32px); }
@media (max-width: 1000px) { .spec { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .spec { grid-template-columns: 1fr; } }
.spec .v { margin-top: 8px; font-family: var(--serif); font-size: clamp(20px, 2vw, 25px); line-height: 1.15; }

.gallery { padding-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.gallery .wide img { aspect-ratio: 3/2; }

.editorial { padding-top: clamp(40px, 5vw, 68px); display: grid; grid-template-columns: 196px 1fr; gap: clamp(28px, 4vw, 72px); }
@media (max-width: 900px) { .editorial { grid-template-columns: 1fr; } }
.editorial .side { font-family: var(--mono); font-size: 10px; line-height: 2; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.editorial .side .bar { height: 3px; background: var(--burgundy); margin-bottom: 18px; }
.cols2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 48px); }
@media (max-width: 780px) { .cols2 { grid-template-columns: 1fr; } }
.cols2 p { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.72; color: var(--body-dk); }
.dropcap::first-letter {
  float: left; font-family: var(--serif); font-size: 78px; line-height: 0.76;
  padding: 6px 12px 0 0; color: var(--burgundy);
}
blockquote { margin: 34px 0 0; padding: 26px 0 26px 28px; border-left: 3px solid var(--burgundy);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.24; }
.ink blockquote { border-top: 0; border-bottom: 0; padding: 0 0 0 30px; border-left-color: var(--rose); font-size: clamp(24px, 3.4vw, 42px); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stats .n { font-family: var(--serif); font-size: clamp(40px, 5vw, 66px); line-height: 1; color: var(--blush); }
.stats .l { margin-top: 10px; }

.strip { margin-top: clamp(40px, 5vw, 72px); }
.strip .inner { border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--burgundy); background: var(--card);
  padding: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 48px);
  display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 3vw, 48px); flex-wrap: wrap; }
.strip .who { display: flex; align-items: center; gap: 26px; }
.strip .who img { width: 82px; height: 82px; flex-shrink: 0; }
@media (max-width: 620px) { .strip .who img { width: 56px; height: 56px; } }

/* ---------- donate form ---------- */
.form-card { max-width: 980px; margin-inline: auto; }
fieldset { margin: 0; padding: 0; border: 0; }
fieldset + fieldset { margin-top: 32px; }
legend { padding: 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.seg { margin-top: 14px; display: flex; border: 1px solid var(--ink); }
.seg button { flex-grow: 1; min-height: 56px; border: 0; background: transparent; color: var(--muted);
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--burgundy); color: var(--card); }
.tiles { margin-top: 14px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
@media (max-width: 640px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tiles button { min-height: 58px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink);
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.06em; cursor: pointer; }
.tiles button[aria-pressed="true"] { background: var(--ink); color: var(--card); }
.custom { margin-top: 10px; display: flex; align-items: center; border: 1px solid var(--ink); background: var(--paper); }
.custom label { padding: 0 16px; font-family: var(--serif); font-size: 26px; color: var(--muted); }
.custom input { flex-grow: 1; min-width: 0; min-height: 58px; border: 0; background: transparent; font-family: var(--sans); font-size: 16px; color: var(--ink); }
.impact { margin-top: 20px; border-left: 3px solid var(--burgundy); padding: 14px 0 14px 18px; background: rgba(122,22,49,0.07); }
.impact .t { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.2vw, 25px); line-height: 1.3; color: var(--ink); }
.funds-2 { margin-top: 14px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 640px) { .funds-2 { grid-template-columns: 1fr; } }
.funds-2 button { min-height: 62px; padding: 0 18px; text-align: left; border: 1px solid var(--ink);
  background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; cursor: pointer; }
.funds-2 button[aria-pressed="true"] { background: var(--ink); color: var(--card); }
.fields { margin-top: 14px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input { min-height: 52px; padding: 0 14px; border: 1px solid var(--ink); background: var(--paper); font-size: 15px; color: var(--ink); font-family: var(--sans); }
.fee { margin-top: 22px; display: flex; align-items: flex-start; gap: 12px; border-top: 1px solid var(--rule); padding-top: 22px; }
.fee input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--burgundy); flex-shrink: 0; }
.fee label { font-size: 15px; line-height: 1.55; color: var(--body); }
.total { margin-top: 26px; padding-top: 22px; border-top: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.total .amt { font-family: var(--serif); font-size: clamp(36px, 5vw, 52px); line-height: 1; margin-top: 4px; }
.total button { flex-grow: 1; min-height: 68px; }
.secure { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-family: var(--mono);
  font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #8C8272; }

/* ---------- staging banner ---------- */
.staging-flag {
  background: var(--ink); color: var(--paper); font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 9px 0; text-align: center;
}
.staging-flag b { color: var(--blush); font-weight: 400; }

/* ---------- publishing / imprint list ---------- */
.title-row { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 56px);
  padding: clamp(32px, 4vw, 52px) 0; border-bottom: 1px solid var(--rule); align-items: start; }
.title-row:last-child { border-bottom: 2px solid var(--ink); }
@media (max-width: 820px) { .title-row { grid-template-columns: 1fr; } }
.title-row .shot { border: 1px solid rgba(23,20,15,0.18); background: #fff; }
.title-row .shot img { width: 100%; display: block; }
.title-row h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.06; }
.title-row .byline { margin-top: 12px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--burgundy); }
.title-row .pubdate { margin-top: 6px; }
.title-row p.blurb { margin-top: 18px; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.66; color: var(--body-dk); max-width: 62ch; }
.title-row .praise { margin-top: 20px; padding-left: 20px; border-left: 3px solid var(--burgundy);
  font-family: var(--serif); font-style: italic; font-size: clamp(17px, 1.8vw, 21px); line-height: 1.34; color: var(--ink); max-width: 58ch; }
.title-row .praise cite { display: block; margin-top: 10px; font-family: var(--mono); font-style: normal;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.title-row .buy { margin-top: 24px; display: flex; flex-wrap: wrap;
  align-items: center; gap: 14px 18px; }
.title-row .buy .at { font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.title-row .facts { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.title-row .facts span { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); border: 1px solid var(--rule); padding: 6px 10px; }
.title-row .extra { margin-top: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
/* Clips sit in the thumbnail grid and never autoplay: the reader asks for
   them, so a title page costs nothing extra to load. */
.title-row .clip { width: 100%; height: auto; display: block; background: var(--ink);
  border: 1px solid rgba(23,20,15,0.18); }
.status { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; font-family: var(--mono);
  font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.status--out { background: var(--burgundy); color: var(--card); }
.status--soon { border: 1px solid var(--ink); color: var(--ink); }

/* ---------- board ---------- */
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); padding-top: 30px; }
@media (max-width: 900px) { .board { grid-template-columns: repeat(2, 1fr); } }
.board .m { border-top: 2px solid var(--ink); padding-top: 14px; }
.board .m b { display: block; font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.15; }
.board .m span { display: block; margin-top: 6px; font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.support { margin-top: clamp(32px, 4vw, 48px); border: 1px solid var(--ink); background: var(--card);
  padding: clamp(22px, 3vw, 32px); display: flex; gap: 22px; align-items: flex-start; }
.support img { width: 44px; height: 44px; flex-shrink: 0; }

/* ---------- program detail ---------- */
.prog-head { display: flex; align-items: baseline; gap: clamp(18px, 3vw, 34px);
  padding-bottom: 22px; border-bottom: 2px solid var(--ink); }
.prog-num { font-family: var(--serif); font-size: clamp(46px, 6vw, 84px); line-height: 0.82;
  color: var(--burgundy); flex-shrink: 0; }
.prog-head .kicker { margin-top: 12px; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.prog-body { display: grid; grid-template-columns: 1fr 380px; gap: clamp(28px, 4vw, 56px);
  padding-top: clamp(26px, 3vw, 38px); align-items: start; }
@media (max-width: 900px) { .prog-body { grid-template-columns: 1fr; } }
.prog-body > div > p { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.72; color: var(--body-dk); max-width: 62ch; }
.prog-body > div > p + p { margin-top: 18px; }
.prog-body > img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid rgba(23,20,15,0.22); }

.tours { margin-top: 20px; border-top: 1px solid var(--rule); }
.tour { display: grid; grid-template-columns: 90px 1fr; gap: clamp(16px, 2vw, 28px);
  padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
@media (max-width: 560px) { .tour { grid-template-columns: 60px 1fr; } }
.tour .yr { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); color: var(--faint); }
.tour b { font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.1; }
.tour .who { display: block; margin-top: 4px; font-size: 15px; color: var(--body); }
.tour .works { display: block; margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink); }
.tour .tr { display: block; margin-top: 8px; font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--burgundy); }

.unis { margin: 18px 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 24px; }
@media (max-width: 1000px) { .unis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .unis { grid-template-columns: 1fr; } }
.unis li { font-size: 14.5px; line-height: 1.5; color: var(--body); padding-left: 18px; position: relative; }
.unis li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px;
  background: var(--burgundy); }

.closing { margin-top: clamp(32px, 4vw, 48px); padding-top: 26px; border-top: 2px solid var(--ink);
  font-family: var(--serif); font-size: clamp(21px, 2.6vw, 30px); line-height: 1.3; max-width: 46ch; }

/* ---------- events ---------- */
.ev { display: grid; grid-template-columns: 300px 1fr 150px; gap: clamp(20px, 3vw, 40px);
  padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--rule); align-items: start; }
.ev:last-of-type { border-bottom: 2px solid var(--ink); }
@media (max-width: 980px) { .ev { grid-template-columns: 240px 1fr; } .ev .act { grid-column: 2; } }
@media (max-width: 680px) { .ev { grid-template-columns: 1fr; } .ev .act { grid-column: 1; } }
.ev img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.ev .ph { width: 100%; aspect-ratio: 3/2; background: var(--ink); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; }
.ev .ph::before { content: ""; position: absolute; inset: 0;
  background-image: url("../img/knot-brick.png"); background-size: 110px 110px; opacity: 0.10; }
.ev .ph span { position: relative; font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--on-ink-q); }
.ev h3 { margin-top: 10px; }
.ev p { margin-top: 12px; font-size: clamp(14.5px, 1.3vw, 16px); line-height: 1.66; color: var(--body); max-width: 56ch; }
.ev .act { display: flex; flex-direction: column; gap: 10px; }

/* ---------- about / history ---------- */
.history { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); padding-top: clamp(26px, 3vw, 38px); }
@media (max-width: 860px) { .history { grid-template-columns: 1fr; } }
.history p { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.72; color: var(--body-dk); }
.history p + p { margin-top: 18px; }
.accolades { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.accolades span { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); border: 1px solid var(--ink); padding: 8px 12px; }

/* stacked program layout: keep the photo from dominating the column */
@media (max-width: 900px) {
  .prog-body > img { aspect-ratio: 16/9; }
  .ev img, .ev .ph { aspect-ratio: 16/9; }
}

/* ============================================================
   THE BLOOM — page transition
   The knot appears, centered and bold, and a burgundy field
   blooms outward from behind it to wash the page. Arriving,
   the field contracts back to a point. One gesture, no pattern.
   ============================================================ */
.veil { position: fixed; inset: 0; z-index: 9999; pointer-events: none; visibility: hidden; }
.veil-wash {
  position: absolute; left: 50%; top: 50%;
  width: 160vmax; height: 160vmax; margin: -80vmax 0 0 -80vmax;
  border-radius: 50%; background: var(--burgundy);
  transform: scale(0);
}
.veil-knot {
  position: absolute; left: 50%; top: 50%;
  width: clamp(76px, 9vw, 116px); height: auto;
  transform: translate(-50%, -50%) scale(0.68) rotate(-45deg);
  opacity: 0;
}

/* leaving — the knot arrives, then blooms */
html.is-covering .veil { visibility: visible; }
html.is-covering .veil-wash,
html.is-covering .veil-knot { will-change: transform, opacity; }
html.is-covering .veil-knot {
  opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg);
  transition: opacity 220ms ease-out,
              transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}
html.is-covering .veil-wash {
  transform: scale(1);
  transition: transform 580ms cubic-bezier(0.65, 0, 0.35, 1) 150ms;
}

/* arriving — painted already washed */
html.is-covered .veil { visibility: visible; }
/* The wash un-covers itself in CSS. WordPress loads our JS in the footer
   behind the whole plugin stack, so nothing that reveals the page may depend
   on a script having run. */
html.is-covered .veil-wash {
  transform: scale(1);
  transition: none;
  animation: veil-autoreveal 560ms cubic-bezier(0.65, 0, 0.35, 1) 140ms forwards;
}
html.is-covered .veil { animation: veil-autohide 0s linear 760ms forwards; }
@keyframes veil-autoreveal { to { transform: scale(0); } }
@keyframes veil-autohide { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  html.is-covered .veil-wash { animation-duration: 1ms; animation-delay: 0s; }
  html.is-covered .veil { animation-delay: 1ms; }
}
html.is-covered .veil-knot {
  opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); transition: none;
}

/* the field contracts to a point, taking the knot with it */
html.is-revealing .veil { visibility: visible; }
html.is-revealing .veil-wash,
html.is-revealing .veil-knot { will-change: transform, opacity; }
html.is-revealing .veil-wash {
  transform: scale(0);
  transition: transform 560ms cubic-bezier(0.65, 0, 0.35, 1);
}
html.is-revealing .veil-knot {
  opacity: 0; transform: translate(-50%, -50%) scale(0.72) rotate(30deg);
  transition: opacity 220ms ease-in, transform 420ms cubic-bezier(0.65, 0, 0.35, 1);
}

/* the page settles in behind it */
@keyframes if-rise {
  from { opacity: 0; transform: translateY(14px); filter: blur(4px); }
  to   { opacity: 1; transform: none; filter: none; }
}
html.is-revealing main > *:nth-child(-n+2) {
  animation: if-rise 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
html.is-revealing main > *:nth-child(2) { animation-delay: 60ms; }

/* ============================================================
   MOBILE NAV — full-bleed ink panel
   ============================================================ */
.navpanel {
  position: fixed; inset: 0; z-index: 900; display: none;
  background: var(--ink); color: var(--paper);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 260ms cubic-bezier(0.64, 0, 0.78, 0),
              transform 260ms cubic-bezier(0.64, 0, 0.78, 0),
              visibility 0s linear 260ms;
  overflow-y: auto;
}
.navpanel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("../img/knot-brick.png");
  background-size: 132px 132px; opacity: 0.07;
}
.navpanel-inner {
  position: relative; min-height: 100%;
  padding: 22px var(--gutter) 40px;
  display: flex; flex-direction: column;
}
.navpanel-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.navpanel-top .mono { color: var(--on-ink-q); }
.navpanel-close {
  width: 48px; height: 48px; flex-shrink: 0; padding: 0; cursor: pointer;
  background: transparent; border: 1px solid rgba(239,232,217,0.4);
  display: grid; place-items: center;
  transform: rotate(-90deg); opacity: 0;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
              opacity 260ms ease-out, border-color 200ms;
}
.navpanel-close:hover { border-color: var(--paper); }
.navpanel-close svg { width: 17px; height: 17px; }

.navpanel ol { list-style: none; margin: clamp(26px, 6vh, 52px) 0 0; padding: 0; flex-grow: 1; }
.navpanel li {
  border-top: 1px solid rgba(239,232,217,0.16);
  opacity: 0; transform: translateY(18px); filter: blur(6px);
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
              filter 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.navpanel li:last-child { border-bottom: 1px solid rgba(239,232,217,0.16); }
.navpanel li a {
  display: flex; align-items: baseline; gap: 18px;
  padding: clamp(14px, 2.4vh, 20px) 0; color: var(--paper);
  font-family: var(--serif); font-size: clamp(30px, 8.5vw, 44px);
  line-height: 1.04; letter-spacing: -0.02em;
  transition: color 180ms, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.navpanel li a .n {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--blush); flex-shrink: 0; width: 24px;
  transition: color 180ms;
}
.navpanel li a:hover, .navpanel li a:focus-visible { color: var(--blush); transform: translateX(6px); }
.navpanel li a:hover .n { color: var(--paper); }

.navpanel-foot { margin-top: clamp(24px, 4vh, 40px); opacity: 0; transform: translateY(14px);
  transition: opacity 420ms ease-out, transform 420ms cubic-bezier(0.22, 1, 0.36, 1); }
.navpanel-foot .btn { width: 100%; }
.navpanel-foot p { margin-top: 18px; color: var(--on-ink-q); }

@media (max-width: 900px) {
  .navpanel { display: block; }
  #menu:checked ~ .navpanel {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity 300ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0s;
  }
  #menu:checked ~ .navpanel .navpanel-close { opacity: 1; transform: none; transition-delay: 90ms; }
  #menu:checked ~ .navpanel li { opacity: 1; transform: none; filter: none; }
  #menu:checked ~ .navpanel li:nth-child(1) { transition-delay: 110ms; }
  #menu:checked ~ .navpanel li:nth-child(2) { transition-delay: 155ms; }
  #menu:checked ~ .navpanel li:nth-child(3) { transition-delay: 200ms; }
  #menu:checked ~ .navpanel li:nth-child(4) { transition-delay: 245ms; }
  #menu:checked ~ .navpanel li:nth-child(5) { transition-delay: 290ms; }
  #menu:checked ~ .navpanel .navpanel-foot { opacity: 1; transform: none; transition-delay: 335ms; }
}

/* ============================================================
   REDUCED MOTION — functional state preserved, motion removed
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .veil { display: none !important; }
  .marquee { animation: none !important; }
  .navpanel li, .navpanel-close, .navpanel-foot { opacity: 1; transform: none; filter: none; }
}

/* ============================================================
   UX — wayfinding, keyboard access, form feedback
   ============================================================ */

/* skip link: keyboard users shouldn't tab the masthead on every page */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10000;
  background: var(--ink); color: var(--paper); padding: 12px 18px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  transition: top 160ms ease-out;
}
.skip:focus { top: 12px; color: var(--paper); }

/* in-page nav for long pages */
.jump {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper); border-bottom: 1px solid var(--rule);
  -webkit-backdrop-filter: saturate(1.2) blur(6px); backdrop-filter: saturate(1.2) blur(6px);
}
.jump ol {
  list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--maxw);
  display: flex; gap: clamp(14px, 2.4vw, 30px); overflow-x: auto; scrollbar-width: none;
}
.jump ol::-webkit-scrollbar { display: none; }
.jump a {
  display: inline-block; white-space: nowrap; padding: 15px 0; color: var(--muted);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  border-bottom: 2px solid transparent; transition: color 160ms, border-color 160ms;
}
.jump a:hover { color: var(--ink); }
.jump a[aria-current="true"] { color: var(--burgundy); border-bottom-color: var(--burgundy); }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* every page ends with an obvious next step */
.next-step { border-top: 2px solid var(--ink); }
.next-step a {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: var(--maxw); margin: 0 auto; padding: clamp(26px, 4vw, 44px) var(--gutter);
  color: var(--ink); transition: background 200ms;
}
.next-step a:hover { background: var(--card); }
.next-step .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.next-step .t { font-family: var(--serif); font-size: clamp(28px, 4.4vw, 52px); line-height: 1.04; }
.next-step a:hover .t { color: var(--burgundy); }
.next-step .arw { flex-shrink: 0; transition: transform 240ms cubic-bezier(0.22,1,0.36,1); }
.next-step a:hover .arw { transform: translateX(8px); }

/* form feedback */
.field.invalid input { border-color: var(--burgundy); border-width: 2px; }
.err { display: none; margin-top: 6px; font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--burgundy); }
.field.invalid .err { display: block; }
.done {
  margin-top: 22px; border: 2px solid var(--ink); background: var(--card);
  padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start;
}
.done img { width: 34px; height: 34px; flex-shrink: 0; }
.done h3 { font-size: clamp(20px, 2.4vw, 27px); }
.done p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--body); }

/* ---------- mission statement ----------
   One long sentence per block: set it large and give it room, so it reads
   as a declaration rather than as body copy. */
.statement {
  margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(27px, 3.5vw, 50px); line-height: 1.16;
  letter-spacing: -0.005em; color: var(--ink);
  padding-top: clamp(16px, 2.4vw, 30px);
  max-width: 30ch;
}
.statement--ink { color: var(--paper); }
@media (max-width: 700px) { .statement { max-width: none; } }

/* ---------- mission: what we do ----------
   Numbers carry the structure so the four areas scan without bullets. */
.wwd-intro { max-width: 62ch; margin: 0; padding-top: clamp(14px, 2vw, 24px);
  font-size: clamp(16px, 1.5vw, 18px); line-height: 1.6; color: var(--body); }
.wwd { margin-top: clamp(26px, 3.4vw, 42px); border-top: 1px solid var(--rule); }
.wwd-row { display: grid; grid-template-columns: 92px 1fr; gap: clamp(16px, 2.6vw, 38px);
  padding: clamp(22px, 2.8vw, 34px) 0; border-bottom: 1px solid var(--rule-lt); }
.wwd-row:last-child { border-bottom: 1px solid var(--rule); }
.wwd-num { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 48px);
  line-height: 0.9; color: var(--blush); }
.wwd-row h3 { margin: 0; font-size: clamp(20px, 2.1vw, 27px); line-height: 1.1; }
.wwd-row h3 a { color: var(--ink); border-bottom: 1px solid transparent; }
.wwd-row h3 a:hover { color: var(--burgundy); border-bottom-color: var(--burgundy); }
.wwd-row p { margin: 10px 0 0; max-width: 68ch;
  font-size: clamp(15px, 1.4vw, 16px); line-height: 1.62; color: var(--body); }
@media (max-width: 620px) {
  .wwd-row { grid-template-columns: 1fr; gap: 6px; }
  .wwd-num { font-size: 26px; }
}

/* ---------- past events: embedded film ----------
   aspect-ratio holds the box before the iframe loads, so nothing jumps. */
.vids { margin-top: clamp(22px, 3vw, 36px); display: grid;
  grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
@media (max-width: 980px) { .vids { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .vids { grid-template-columns: 1fr; } }
.vid { margin: 0; }
.vid-frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink);
  border: 1px solid var(--rule); }
.vid-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid figcaption { margin-top: 14px; border-top: 3px solid var(--ink); padding-top: 13px; }
.vid figcaption b { display: block; font-family: var(--serif); font-weight: 400;
  font-size: clamp(17px, 1.7vw, 21px); line-height: 1.16; }
.vid figcaption .mono { display: block; margin-top: 7px; color: var(--muted); }

/* ---------- past events: tour posters ---------- */
.pastgrid { margin-top: clamp(22px, 3vw, 36px); display: grid;
  grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); }
@media (max-width: 980px) { .pastgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .pastgrid { grid-template-columns: 1fr; } }
.past { margin: 0; }
/* Posters are designed artefacts: letterbox them, never crop. */
.past > img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain;
  border: 1px solid var(--rule); background: var(--card); padding: 10px; }
.past-meta { margin-top: 15px; border-top: 3px solid var(--ink); padding-top: 14px; }
.past-meta .yr { color: var(--burgundy); }
.past-meta h3 { margin: 9px 0 0; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.12; }
.past-meta p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--body); }
.past-facts { margin: 14px 0 0; padding: 0; list-style: none;
  border-top: 1px solid var(--rule-lt); }
.past-facts li { padding: 7px 0; border-bottom: 1px solid var(--rule-lt);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.subhead { margin: clamp(38px, 5vw, 62px) 0 0; font-size: clamp(22px, 2.3vw, 30px);
  border-top: 1px solid var(--rule); padding-top: clamp(18px, 2.2vw, 26px); }

/* ---------- about: archive portrait ----------
   Sits between the section head and the prose, held to a modest width so the
   damaged print reads as a document rather than as a hero image. */
.archive { margin: clamp(24px, 3vw, 36px) 0 0; max-width: 400px; }
.archive img { width: 100%; border: 1px solid var(--rule); background: var(--card); }
.archive figcaption { margin-top: 11px; color: var(--muted); }
@media (max-width: 860px) { .archive { max-width: 320px; } }

/* ---------- footer sign-up (Contact Form 7) ----------
   CF7 emits its own markup; this pulls it back into the house style. */
.foot .wpcf7 { margin-top: 6px; }
.foot .wpcf7 form > p:first-child { margin-top: 0; }
.footer-signup-form label { display: block; }
.footer-signup-form input[type="email"] {
  width: 100%; height: 46px; padding: 0 12px;
  border: 1px solid var(--ink); background: transparent;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink);
  border-radius: 0; -webkit-appearance: none;
}
.footer-signup-form input[type="email"]::placeholder { color: var(--muted); }
.footer-signup-form .interest {
  margin-top: 13px; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--body);
}
.footer-signup-form .wpcf7-checkbox { display: inline-flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; }
.footer-signup-form .wpcf7-list-item { margin: 0; }
.footer-signup-form .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.footer-signup-form input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--burgundy); }
.footer-signup-form input[type="submit"] {
  margin-top: 15px; min-height: 46px; padding: 0 22px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; border-radius: 0;
}
.footer-signup-form input[type="submit"]:hover { background: var(--burgundy); border-color: var(--burgundy); }
.foot .wpcf7-not-valid-tip,
.foot .wpcf7-response-output {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  line-height: 1.6; color: var(--burgundy);
}
.foot .wpcf7-response-output { margin: 14px 0 0 !important; border: 1px solid var(--rule) !important; padding: 10px 12px !important; }
.foot .wpcf7-spinner { margin: 0 0 0 10px; }

/* ---------- author tours: optional photograph ---------- */
.tour-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 12px;
  border: 1px solid var(--rule); }
@media (min-width: 561px) { .tour-photo { grid-column: 2; max-width: 260px; } }
