:root {
  --paper: #F5EFE6;
  --paper-2: #EFE7DA;
  --ink: #241F18;
  --ink-2: #4A4236;
  --muted: #8A8175;
  --hairline: #E0D7C8;
  --clay: #B0472E;
  --clay-2: #8A5A3C;
  --forest: #4A5F4A;

  --serif-display: "Fraunces", Georgia, serif;
  --serif-body: "Lora", Georgia, serif;
  --mono: "DM Mono", ui-monospace, monospace;

  --measure: 660px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif-body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
em { font-style: italic; }
img { max-width: 100%; display: block; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

/* Mono utility */
.kicker, .masthead, .banner, .form-note, .scroll-cue, button, .btn, .text-btn, .footer nav, figcaption {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.kicker { font-size: 12px; color: var(--clay); margin-top: 0; margin-bottom: 20px; }

/* 1. Banner */
.banner {
  display: block;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  font-size: 11px;
  padding: 9px var(--gutter);
  text-decoration: none;
  line-height: 1.5;
}
.banner:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* 2. Masthead */
.masthead {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--ink-2);
  padding: 20px var(--gutter);
  border-bottom: 1px solid var(--hairline);
}
.masthead a { text-decoration: none; }
.masthead a:hover { color: var(--clay); }

/* 3. Hero */
.hero {
  position: relative;
  min-height: 82vh;
  min-height: 82svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px var(--gutter) 120px;
  text-align: center;
}
.hero-inner { max-width: 780px; width: 100%; }
.wordmark {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.01em;
  margin: 0 0 48px;
}
.wordmark em { font-weight: 400; }
h1, h2 {
  font-family: var(--serif-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}
h1 { font-size: clamp(40px, 6.4vw, 76px); }
h1 em, h2 em { color: var(--clay); font-weight: 350; }
.sub {
  font-style: italic;
  font-size: clamp(18px, 2vw, 21px);
  color: var(--ink-2);
  max-width: 560px;
  margin: 32px auto 48px;
}

/* Email form */
.join {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid var(--ink);
  background: #FBF8F3;
}
.join input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  padding: 16px 18px;
}
.join input::placeholder { color: var(--muted); }
.join input:focus { outline: none; }
.join:focus-within { outline: 2px solid var(--clay); outline-offset: 3px; }
button, .btn {
  border: 0;
  cursor: pointer;
  font-size: 12px;
  padding: 16px 22px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  display: inline-block;
  transition: background .2s ease;
}
button:hover, .btn:hover { background: var(--clay); }
.btn-clay { background: var(--clay); }
.btn-clay:hover { background: var(--clay-2); }
.form-note { font-size: 11px; color: var(--muted); margin-top: 18px; margin-bottom: 0; line-height: 1.6; }
.success {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 24px;
  margin: 0 auto;
  padding: 10px 0;
}
.success span { font-family: var(--mono); font-style: normal; font-size: 12px; letter-spacing: 0.12em; color: var(--clay); margin-left: 6px; }

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
}
.scroll-cue:hover { color: var(--clay); }

/* Sections */
main > section:not(.hero) {
  border-top: 1px solid var(--hairline);
  padding: 128px var(--gutter);
}
main > section > * { max-width: var(--measure); margin-left: auto; margin-right: auto; }

/* 4. What it is */
.what { text-align: center; }
.what .kicker { color: var(--forest); }
.what-line {
  font-family: var(--serif-display);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.4;
  max-width: 760px !important;
  margin: 0 auto;
}
.what-line em { color: var(--clay); }

/* 5. Story */
.story h2, .support h2 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 28px; }
.teaser { font-style: italic; color: var(--ink-2); font-size: 20px; margin-top: 0; }
.story-full {
  max-height: 0;
  overflow: hidden;
  transition: max-height .8s cubic-bezier(.4, 0, .2, 1);
}
.story-full p { margin: 0 0 1.4em; }
.story-full .lead { margin-top: 24px; }
.story-full .lead::first-letter {
  font-family: var(--serif-display);
  float: left;
  font-size: 4.4em;
  line-height: 0.82;
  padding: 6px 10px 0 0;
  color: var(--clay);
}
.text-btn {
  background: none;
  color: var(--clay);
  padding: 8px 0;
  font-size: 12px;
  display: block;
  width: 100%;
  text-align: left;
}
.text-btn:hover { background: none; color: var(--ink); }

.pull {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.3;
  text-align: center;
  color: var(--ink);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 32px 0;
  margin: 48px 0;
}

.photo { margin: 0; }
.photo-ph, .photo img {
  width: 100%;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
}
.photo-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.photo img { height: auto; object-fit: cover; }
figcaption { font-size: 10.5px; color: var(--muted); margin-top: 10px; line-height: 1.5; }

.photo-small {
  float: right;
  width: 220px;
  margin: 6px 0 20px 32px;
}
.photo-small .photo-ph { aspect-ratio: 4 / 5; }
.photo-small img { aspect-ratio: 4 / 3; }

.photo-large {
  clear: both;
  width: 100%;
  max-width: 420px;
  margin: 56px auto 24px;
  text-align: center;
}
.photo-large .photo-ph { aspect-ratio: 4 / 5; }
.photo-large img { aspect-ratio: 3 / 4; }

/* 6. Support */
.support p { color: var(--ink-2); }
.support-action { margin-top: 36px; margin-bottom: 0; }

/* 7. CTA */
.cta { text-align: center; background: var(--paper-2); }
.cta h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 40px; }

/* 8. Footer */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 48px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.made { font-family: var(--serif-display); font-style: italic; margin: 0; }
.footer nav { display: flex; gap: 28px; font-size: 11px; }
.footer nav a { text-decoration: none; color: var(--ink-2); }
.footer nav a:hover { color: var(--clay); }

/* Privacy page */
.doc { padding: 96px var(--gutter) 128px; }
.doc > * { max-width: var(--measure); margin-left: auto; margin-right: auto; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 12px; }
.doc h2 { font-size: 26px; margin: 48px auto 12px; }
.doc .meta { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 48px; }
.doc a { color: var(--clay); }

/* Form states */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join button[disabled] { opacity: .7; cursor: wait; }
.form-note.error { color: var(--clay); }

/* Short note pages (thanks, unsubscribed, chipped in) */
.note-page {
  min-height: 70vh;
  min-height: 70svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px var(--gutter) 120px;
}
.note-page .inner { max-width: 620px; width: 100%; }
.note-page h1 { margin-bottom: 28px; }
.note-page .sub { margin: 0 auto 40px; }
.note-page .sign { font-family: var(--serif-display); font-style: italic; font-size: 22px; margin: 40px 0 0; }
.note-page .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.note-page .btn-ghost { background: none; color: var(--ink); border: 1px solid var(--ink); }
.note-page .btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* Mobile */
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 17px; }
  .masthead { font-size: 10.5px; }
  .banner { font-size: 10px; letter-spacing: .08em; }
  .hero { padding: 72px var(--gutter) 104px; }
  .wordmark { margin-bottom: 36px; }
  .join { flex-direction: column; border: 0; background: none; gap: 10px; }
  .join:focus-within { outline: none; }
  .join input { border: 1px solid var(--ink); background: #FBF8F3; padding: 18px; font-size: 17px; }
  .join input:focus { outline: 2px solid var(--clay); outline-offset: 2px; }
  .join button { padding: 18px; width: 100%; }
  main > section:not(.hero) { padding: 88px var(--gutter); }
  .photo-small { width: 44%; max-width: 200px; margin: 4px 0 14px 18px; }
  .footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .story-full { transition: none; }
}
