/* Venture Capital Club — editorial stylesheet. Mobile-first; breakpoints at 640, 960 and 1200px. */

@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --panel: #F3F2ED;
  --ink: #171717;
  --muted: #5B5B57;          /* 6.6:1 on --bg */
  --rule: #E2E1DB;
  --rule-strong: #C9C8C1;
  --field: #8A8984;          /* 3.4:1 on white — form control borders */
  --accent: #1F4D3A;         /* deep forest green, 9.6:1 on --bg */
  --accent-hover: #153828;
  --error: #A3261B;
  --success: #1F4D3A;
  --preview: #8A5A00;

  --serif: "Newsreader", "Iowan Old Style", "Charter", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: 24px;
  --max: 1160px;
  --section: clamp(4rem, 11vw, 8.5rem);
  --header-h: 60px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 1px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
code { font-size: 0.9em; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 40px; } body { font-size: 1.125rem; } }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

/* ------------------------------------------------------------ preview bar */
.preview-bar { background: #FFF6E0; border-bottom: 1px solid #EBD9A8; color: #4A3500; font-size: 0.82rem; padding: 8px 0; line-height: 1.45; }
.tag { display: inline-block; font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; padding: 4px 6px 3px; border: 1px solid var(--rule-strong); border-radius: var(--radius); color: var(--muted); background: var(--surface); white-space: nowrap; vertical-align: 0.1em; }
.tag--preview { color: var(--preview); border-color: #E2C68A; background: #FFF9EA; }
.tag--start { color: #fff; background: var(--accent); border-color: var(--accent); }
.tag--inline { margin-left: 6px; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: var(--radius);
  font: 500 0.98rem/1.2 var(--sans); letter-spacing: 0.005em; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--bg); }
.btn--inverse { background: transparent; color: #FAFAF7; border-color: rgba(250,250,247,.7); }
.btn--inverse:hover { background: #FAFAF7; color: var(--ink); }
.btn--small { min-height: 40px; padding: 8px 16px; font-size: 0.9rem; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.arrow { display: inline-block; transition: transform .2s ease; }
a:hover .arrow { transform: translateX(3px); }
.text-link { font-weight: 500; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; min-height: 44px; }
.text-link:hover { text-decoration: underline; }

/* ------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,250,247,.94); border-bottom: 1px solid var(--rule); }
@supports (backdrop-filter: blur(1px)) { .site-header { background: rgba(250,250,247,.86); backdrop-filter: saturate(1.2) blur(10px); } }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.1; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 1.2rem; }
.brand-sub { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav-desktop, .header-cta { display: none; }
.nav-desktop ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-desktop a { color: var(--ink); text-decoration: none; font-size: 0.92rem; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav-desktop a:hover { border-bottom-color: var(--ink); }

.nav-mobile > summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px; cursor: pointer; font-size: 0.92rem; font-weight: 500; }
.nav-mobile > summary::-webkit-details-marker { display: none; }
.menu-icon { width: 18px; height: 10px; position: relative; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transition: transform .2s ease; }
.nav-mobile[open] .menu-icon { border-bottom-color: transparent; transform: translateY(3px) rotate(45deg); }
.nav-mobile[open] .menu-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 1.5px solid var(--ink); transform: rotate(-90deg); }
.nav-mobile > nav { position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--bg); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 24px; box-shadow: 0 12px 24px -18px rgba(0,0,0,.25); }
.nav-mobile ul { list-style: none; margin: 0 0 16px; padding: 0; }
.nav-mobile li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.35rem; }
.nav-mobile .btn { width: 100%; }
@media (min-width: 960px) {
  .nav-desktop, .header-cta { display: flex; }
  .nav-mobile { display: none; }
  :root { --header-h: 68px; }
}

/* ------------------------------------------------------------ shared section */
.section { padding-block: var(--section); border-top: 1px solid var(--rule); }
.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head .section-num { margin-bottom: .9rem; }
@media (min-width: 960px) { .section-head { display: flex; align-items: baseline; gap: 20px; } .section-head .section-num { margin-bottom: 0; } }
.section-num { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.12em; color: var(--muted); margin: 0; min-width: 2ch; font-variant-numeric: tabular-nums; }
.section h2 { font-size: clamp(2.1rem, 6.4vw, 3.6rem); }
.eyebrow, .kicker { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.section-head .eyebrow { margin-bottom: .6rem; }
.prose { max-width: 65ch; }
.prose-lead { font-family: var(--serif); font-size: clamp(1.35rem, 3.6vw, 1.75rem); line-height: 1.38; letter-spacing: -0.005em; }

/* ------------------------------------------------------------ hero */
.hero { padding-block: clamp(3.5rem, 12vw, 9rem) clamp(3.5rem, 10vw, 7.5rem); }
.hero-grid { display: grid; gap: 3rem; align-items: end; }
.hero h1 { font-size: clamp(3rem, 13.5vw, 7.25rem); line-height: 0.98; letter-spacing: -0.025em; margin-bottom: 1.5rem; }
.lede { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 4.2vw, 1.9rem); line-height: 1.35; color: #2b2b29; max-width: 30ch; margin-bottom: 2.25rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-aside { border-top: 1px solid var(--ink); padding-top: 1rem; max-width: 340px; }
.hero-aside .kicker { margin-bottom: .5rem; }
.hero-event-title { font-family: var(--serif); font-size: 1.5rem; margin-bottom: .35rem; }
.hero-event-meta { color: var(--muted); font-size: .95rem; margin-bottom: .25rem; }
@media (max-width: 479px) {
  .actions .btn { flex: 1 1 100%; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 4rem; }
}

/* ------------------------------------------------------------ mission */
.mission-grid { display: grid; gap: 2.5rem; }
.panel { background: var(--panel); padding: clamp(1.5rem, 5vw, 2.25rem); border-top: 2px solid var(--ink); }
.panel h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.panel p { font-size: 1rem; }
.placeholder { font-size: .9rem; color: var(--muted); border: 1px dashed var(--rule-strong); padding: 12px 14px; margin-top: 1.25rem; }
.facts { margin: 1.75rem 0 0; display: grid; gap: 1.25rem; }
.fact { border-top: 1px solid var(--rule-strong); padding-top: 1rem; }
.fact dt { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.fact dd { margin: 0; }
.fact-figure { display: block; font-family: var(--serif); font-size: 2.2rem; line-height: 1.1; margin-bottom: .3rem; }
.fact-statement { display: block; font-size: .98rem; margin-bottom: .45rem; }
.fact-source { display: block; font-size: .8rem; color: var(--muted); line-height: 1.5; }
@media (min-width: 960px) {
  .mission-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 5rem; align-items: start; }
}

/* ------------------------------------------------------------ reading */
.reading-intro { max-width: 65ch; margin-bottom: 2rem; }
.res-controls { margin-bottom: 1.25rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-block: 14px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.res-cats { min-width: 0; }
.res-cats ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.res-cats a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px;
  border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--surface);
  color: var(--ink); text-decoration: none; font-size: 0.9rem; white-space: nowrap;
}
.res-cats a:hover { border-color: var(--ink); }
.res-cats a[aria-current="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.res-cats .count { font-size: .76rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.res-cats a[aria-current="true"] .count { color: #cfcfca; }
/* Phones: one tidy horizontal scroller instead of five rows of chips. */
@media (max-width: 639px) {
  .js .res-cats { margin-inline: calc(-1 * var(--gutter)); }
  .js .res-cats ul { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 28px), transparent 100%); }
  .js .res-cats ul::-webkit-scrollbar { display: none; }
  .js .res-cats li { scroll-snap-align: start; }
}
.res-search { display: grid; gap: 6px; }
.res-search label { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.res-search input { width: 100%; }
@media (min-width: 960px) {
  .res-controls { grid-template-columns: minmax(0, 1fr) 300px; align-items: end; }
}
.res-status { font-size: .9rem; color: var(--muted); min-height: 1.4em; margin: 0 0 1rem; }
.res-group + .res-group { margin-top: 3.5rem; }
.res-group-title { font-size: 1.6rem; margin-bottom: .5rem; padding-bottom: .75rem; border-bottom: 1px solid var(--ink); }
.res-group-intro { color: var(--muted); max-width: 65ch; margin: .75rem 0 0; font-size: 1rem; }
.js.res-filtered .res-group-title { /* single-category view: heading duplicates the active control */ }
.card-grid { display: grid; gap: 16px; margin-top: 1.5rem; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1040px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); display: flex; flex-direction: column; min-width: 0; transition: border-color .15s ease; }
.card:hover { border-color: var(--rule-strong); }
.card-body { padding: 18px 20px 14px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.card-title { font-size: 1.4rem; line-height: 1.18; margin-bottom: .3rem; overflow-wrap: anywhere; hyphens: auto; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.card-author { font-size: .92rem; color: var(--muted); margin-bottom: .75rem; }
.card-desc { font-size: .97rem; line-height: 1.58; margin-bottom: .75rem; }
.card-actions { margin-top: auto; display: flex; flex-wrap: wrap; column-gap: 20px; font-size: .95rem; }

/* Asset containers: white, quiet, never stretch the mark. */
.asset { border-bottom: 1px solid var(--rule); background: var(--surface); display: flex; align-items: center; }
.asset--logo { height: 84px; padding: 0 20px; gap: 14px; }
.asset--logo img { height: 40px; width: auto; max-width: min(190px, 72%); object-fit: contain; object-position: left center; }
.asset--report { background: var(--panel); padding: 16px 20px; gap: 16px; flex-wrap: wrap; }
.asset--report > img { max-height: 132px; width: auto; max-width: 100%; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.asset-marks { display: flex; align-items: center; gap: 14px; }
.asset-marks img { max-height: 18px; width: auto; }
.asset--cover { background: var(--panel); justify-content: center; padding: 22px; height: 252px; }
.asset--cover img { max-height: 208px; width: auto; box-shadow: 0 1px 2px rgba(0,0,0,.14), 0 8px 18px -10px rgba(0,0,0,.35); }
.asset--wordmark { height: 84px; padding: 0 20px; }
.asset--wordmark span { font-family: var(--serif); font-size: 1.15rem; color: #3a3a37; letter-spacing: -0.005em; line-height: 1.15; overflow-wrap: anywhere; }
.asset--wordmark.asset--cover { height: 252px; }
.asset--wordmark.asset--cover span { border: 1px solid var(--rule-strong); background: var(--surface); padding: 18px 14px; width: 140px; height: 208px; display: flex; align-items: center; text-align: center; font-size: 1rem; }

/* Books on phones: cover beside the title, description full width below — compact and readable. */
@media (max-width: 639px) {
  .card-grid--books .card { display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 16px; padding: 18px 18px 6px; }
  .card-grid--books .card-body { display: contents; }
  .card-grid--books .asset--cover { grid-column: 1; grid-row: 1 / span 3; width: 96px; height: auto; padding: 0; background: transparent; border: 0; align-self: start; }
  .card-grid--books .asset--cover img { width: 96px; max-height: none; }
  .card-grid--books .asset--wordmark.asset--cover span { width: 96px; height: 144px; padding: 10px; font-size: .9rem; }
  .card-grid--books .card-meta, .card-grid--books .card-title, .card-grid--books .card-author { grid-column: 2; }
  .card-grid--books .card-title { font-size: 1.3rem; }
  .card-grid--books .card-author { margin-bottom: 0; }
  .card-grid--books .card-desc, .card-grid--books .card-actions { grid-column: 1 / -1; }
  .card-grid--books .card-desc { margin-top: 16px; }
}
.res-empty { border: 1px dashed var(--rule-strong); padding: 2rem; text-align: center; background: var(--surface); }
.res-empty .btn { margin-top: 1rem; }

/* ------------------------------------------------------------ founders */
.founders-grid { display: grid; gap: 2.5rem; }
.founder-cards { display: grid; gap: 28px; }
@media (min-width: 520px) { .founder-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 960px) {
  .founders-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; align-items: start; }
  .founder-cards { gap: 24px; }
}
.founder { margin: 0; }
.founder-photo { aspect-ratio: 1 / 1; background: var(--panel); overflow: hidden; }
@media (min-width: 520px) { .founder-photo { aspect-ratio: 4 / 5; } }
.founder-photo picture, .founder-img { width: 100%; height: 100%; }
.founder-img { object-fit: cover; filter: grayscale(1); }
.founder-placeholder { height: 100%; display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; text-align: center; padding: 20px; color: var(--muted); font-size: .9rem; border: 1px dashed var(--rule-strong); }
.founder figcaption { padding-top: 14px; border-top: 0; display: flex; flex-direction: column; gap: 2px; }
.founder-name { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; }
.founder-role { font-size: .88rem; color: var(--muted); letter-spacing: .02em; }

/* ------------------------------------------------------------ events */
.events-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .events-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 4rem; align-items: start; } }
.poster {
  background: #171717; color: #FAFAF7; padding: clamp(1.75rem, 6vw, 3.25rem);
  border-radius: var(--radius); position: relative;
}
.poster::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(250,250,247,.18); pointer-events: none; }
.poster-club { font-size: .76rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: rgba(250,250,247,.75); margin-bottom: clamp(2rem, 8vw, 4rem); }
.poster-title { font-size: clamp(2.6rem, 11vw, 4.6rem); line-height: 1; letter-spacing: -0.02em; margin-bottom: 2rem; color: #FAFAF7; }
.poster-details { margin: 0 0 2rem; border-top: 1px solid rgba(250,250,247,.28); }
.poster-details > div { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(250,250,247,.28); }
.poster-details dt { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(250,250,247,.65); padding-top: .25em; }
.poster-details dd { margin: 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; }
.poster-tz { font-family: var(--sans); font-size: .8rem; color: rgba(250,250,247,.65); margin-left: 4px; }
.poster-copy { color: rgba(250,250,247,.86); max-width: 42ch; margin-bottom: 1.75rem; }
.poster-action { display: flex; flex-wrap: wrap; gap: 10px; }
.poster a:focus-visible { outline-color: #FAFAF7; }
@media (max-width: 479px) { .poster-action .btn { width: 100%; } }
.no-events { font-family: var(--serif); font-size: 1.5rem; padding: 2rem 0; border-top: 1px solid var(--ink); }
.event-list { margin-top: 2rem; display: grid; gap: 1.5rem; }
.event-item { border-top: 1px solid var(--ink); padding-top: 1rem; }
.event-date { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.event-title { font-size: 1.6rem; margin-bottom: .3rem; }
.past-events { margin-top: 4rem; border-top: 1px solid var(--rule); padding-top: 1.5rem; }
.past-title { font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.past-events ul { list-style: none; margin: 0; padding: 0; }
.past-events li { display: grid; gap: 2px 20px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: .95rem; }
@media (min-width: 640px) { .past-events li { grid-template-columns: 15rem minmax(0, 1fr) auto; } }

/* ------------------------------------------------------------ form */
.join { background: var(--surface); border: 1px solid var(--rule); padding: clamp(1.5rem, 5vw, 2.5rem); scroll-margin-top: calc(var(--header-h) + 16px); }
.join h3 { font-size: clamp(1.75rem, 5vw, 2.2rem); margin-bottom: .6rem; }
.join > p { margin-bottom: 1.75rem; }
.signup { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .92rem; font-weight: 500; }
input[type="text"], input[type="email"], input[type="search"] {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 400 16px/1.3 var(--sans); color: var(--ink);
  background: var(--surface); border: 1px solid var(--field); border-radius: var(--radius); appearance: none;
}
input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.has-error input { border-color: var(--error); border-width: 2px; padding: 11px 13px; }
.field--check { grid-template-columns: 24px minmax(0, 1fr); align-items: start; column-gap: 12px; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.field--check label { font-weight: 400; font-size: .95rem; line-height: 1.5; }
.field--check .field-error { grid-column: 2; }
.field-error { color: var(--error); font-size: .88rem; font-weight: 500; margin: 0; }
.field-error::before { content: "! "; font-weight: 700; }
.form-summary { border-left: 3px solid var(--error); background: #FBEFEE; padding: 12px 16px; font-size: .94rem; }
.form-summary:focus { outline: 2px solid var(--error); outline-offset: 2px; }
.form-summary ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.form-summary a { color: var(--error); }
.form-success { border-left: 3px solid var(--success); background: #EDF3EF; padding: 16px 18px; }
.form-success p { margin: 0; font-weight: 500; }
.form-actions { display: grid; gap: 10px; }
.form-actions .btn { width: 100%; }
@media (min-width: 640px) { .form-actions { grid-template-columns: auto minmax(0, 1fr); align-items: center; } .form-actions .btn { width: auto; } }
.form-status { margin: 0; font-size: .92rem; color: var(--muted); }
.privacy-note { font-size: .82rem; color: var(--muted); line-height: 1.55; margin: 4px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.spinner { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ utility pages */
.page { padding-block: clamp(3rem, 10vw, 6rem) var(--section); }
.page-wrap { max-width: calc(720px + 2 * var(--gutter)); }
.page-title { font-size: clamp(2.2rem, 7vw, 3.4rem); margin-bottom: 1.5rem; }
.page .prose h2 { font-size: 1.5rem; margin: 2rem 0 .6rem; }
.notice { padding: 14px 18px; margin-bottom: 1.5rem; border-left: 3px solid; }
.notice--success { border-color: var(--success); background: #EDF3EF; }
.notice--error { border-color: var(--error); background: #FBEFEE; }
.stack { display: grid; gap: 16px; max-width: 460px; margin-top: 1.25rem; }

/* ------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--ink); padding-block: 2.5rem 3rem; font-size: .92rem; }
.footer-inner { display: grid; gap: 1.25rem; }
.footer-name { font-family: var(--serif); font-size: 1.3rem; margin-bottom: .2rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a { display: inline-block; padding: 8px 0; color: var(--ink); }
.footer-note { font-size: .8rem; max-width: 80ch; margin: 0; }
@media (min-width: 960px) { .footer-inner { grid-template-columns: 1fr auto; align-items: start; } .footer-note { grid-column: 1 / -1; } }

/* ------------------------------------------------------------ motion */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media print {
  .site-header, .preview-bar, .signup, .res-controls { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
