/* Craig Wood — one page.
   Paper, ink, and one red. Square edges, mono labels, big type.
   Nothing here is clever; it is meant to stay readable a year from now. */

:root {
  --paper: #f3f0e9;
  --paper-2: #eae6dd;
  --ink: #0b0b0b;
  --ink-soft: #55524c;
  --coal: #0b0b0b;
  --coal-card: #161616;
  --red: #c4342a;
  --line: rgba(11, 11, 11, .14);
  --line-dark: rgba(255, 255, 255, .14);
  --pad: clamp(18px, 4.4vw, 60px);
  --gap: clamp(16px, 2.2vw, 28px);
  --sans: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ── the small mono labels that run through the whole page ─────────────── */
.label {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ── headings ──────────────────────────────────────────────────────────── */
.h2, .big {
  margin: 0;
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1;
  text-transform: uppercase;
}
.h2 { font-size: clamp(30px, 5vw, 58px); }
.big { font-size: clamp(32px, 6.2vw, 76px); }

/* ── buttons: square, flat, and the same height everywhere ─────────────── */
.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--h);
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-dark  { background: var(--ink); color: #fff; }
.btn-dark:hover  { background: #2a2a2a; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper-2); }
.btn-red   { background: var(--red); color: #fff; }
.btn-red:hover   { background: #a92a22; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.band-dark .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-wide { width: 100%; }

/* ── the thin bar on top ───────────────────────────────────────────────── */
.bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: var(--gap);
  padding: 10px var(--pad);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.bar-name {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
}
.bar-bit {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.bar-give { --h: 34px; padding: 0 18px; font-size: 11px; }
@media (max-width: 860px) {
  .bar { grid-template-columns: 1fr auto; }
  .bar-bit { display: none; }
}

/* ── 1. the ask ────────────────────────────────────────────────────────── */
.hero { padding: clamp(46px, 8vw, 110px) var(--pad) clamp(34px, 5vw, 60px); }
.hero-head {
  margin: 0 0 clamp(34px, 6vw, 76px);
  max-width: 21ch;
  font-size: clamp(40px, 7.4vw, 104px);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.catch { border-top: 1px solid var(--line); padding-top: 18px; }
.catch .label { margin-bottom: 12px; }
.catch-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 10px; }
.catch-row input {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, .5);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}
.catch-row input::placeholder { color: #8d8a84; }
.catch-row input:focus { outline: none; border-color: var(--ink); background: #fff; }
.catch-row .btn { padding: 0 42px; }
.catch-note { margin: 12px 0 0; font-size: 14px; color: var(--ink-soft); min-height: 1.2em; }
.catch-note.bad { color: var(--red); }
@media (max-width: 900px) {
  .catch-row { grid-template-columns: 1fr 1fr; }
  .catch-row .btn { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .catch-row { grid-template-columns: 1fr; } }

/* ── 2. the photograph, letterboxed on black like a film still ─────────── */
.shot { padding: 0 var(--pad) clamp(40px, 6vw, 88px); }
.shot-label { margin-bottom: 12px; }
.shot-frame { margin: 0; background: var(--coal); }
.shot-frame img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

/* ── 3. the numbers ────────────────────────────────────────────────────── */
.figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.figure { padding: clamp(26px, 4vw, 48px) var(--pad); }
.figure + .figure { border-left: 1px solid var(--line); }
.figure b {
  display: block;
  font-size: clamp(30px, 4.6vw, 58px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
}
.figure span {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 680px) {
  .figures { grid-template-columns: 1fr; }
  .figure + .figure { border-left: 0; border-top: 1px solid var(--line); }
}

/* ── 4. what I do, one card at a time ──────────────────────────────────── */
.work { padding: clamp(48px, 7vw, 100px) var(--pad); }
.work-stage { margin-top: 20px; min-height: 230px; }
.work .card { max-width: 60ch; }
.work .card h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.02;
  text-transform: uppercase;
}
.work .card p { margin: 0; font-size: clamp(16px, 1.3vw, 19px); color: #2c2a26; }
.work-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.work-keys { display: flex; gap: 10px; }

/* ── 5. why I do this ──────────────────────────────────────────────────── */
.story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding: clamp(40px, 6vw, 92px) var(--pad);
  border-top: 1px solid var(--line);
}
.story-shot { margin: 0; }
.story-shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story-words { padding-top: 6px; }
.story-body { margin-top: 20px; max-width: 58ch; }
.story-body p { margin: 0 0 16px; font-size: clamp(16px, 1.25vw, 18px); color: #2c2a26; }
.story-body p:last-child { margin-bottom: 0; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; } }

/* ── 6. the globe ──────────────────────────────────────────────────────── */
.atlas { padding: clamp(40px, 6vw, 92px) var(--pad); border-top: 1px solid var(--line); }
.globe-holder {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 760px;
  margin: 24px auto 0;
  aspect-ratio: 1 / 1;
}
.globe-start {
  display: grid;
  gap: 8px;
  place-items: center;
  padding: 22px 30px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}
.globe-start:hover { background: rgba(11, 11, 11, .05); }
.globe-note { font-size: 10px; color: var(--ink-soft); letter-spacing: .1em; }
.pin-card {
  max-width: 560px;
  margin: 20px auto 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .6);
}
.pin-card h3 { margin: 0 0 6px; font-size: 18px; }
.pin-card p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* ── 7. the photographs that drift ─────────────────────────────────────── */
.strip { padding: clamp(32px, 5vw, 70px) 0; border-top: 1px solid var(--line); overflow: hidden; }
.strip .label { padding: 0 var(--pad); margin-bottom: 18px; }
.marquee { overflow: hidden; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: drift 72s linear infinite; }
.marquee-track figure { margin: 0; flex: 0 0 auto; }
.marquee-track img { width: clamp(220px, 26vw, 360px); aspect-ratio: 3 / 2; object-fit: cover; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ── 8 + 10. the black bands ───────────────────────────────────────────── */
.band-dark { background: var(--coal); color: #fff; padding: clamp(48px, 7vw, 104px) var(--pad); }
.band-dark .label { color: rgba(255, 255, 255, .55); }
.subscribe { display: grid; gap: 28px; justify-items: start; }
.subscribe .big { max-width: 16ch; }

/* ── 9. the money ──────────────────────────────────────────────────────── */
.give { padding: clamp(48px, 7vw, 104px) var(--pad); border-top: 1px solid var(--line); }
.give-lead { margin: 18px 0 0; max-width: 52ch; font-size: 18px; color: #2c2a26; }
.give-lead.small { font-size: 15px; color: var(--ink-soft); }
.meter { margin: 28px 0 0; max-width: 820px; }
.meter-track { height: 12px; background: rgba(11, 11, 11, .12); overflow: hidden; }
.meter-fill { display: block; height: 100%; width: 0; background: var(--ink); transition: width .9s ease; }
.meter-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; }
.give-keys { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fine { margin: 22px 0 0; font-size: 13px; color: var(--ink-soft); max-width: 60ch; }
.faq { margin-top: 34px; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-weight: 500; }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { margin: 0 0 20px; font-size: 16px; color: var(--ink-soft); max-width: 62ch; }

/* ── the three ways in ─────────────────────────────────────────────────── */
/* min-width:0 matters here: without it the email address, which cannot be
   broken, makes the whole black band wider than a phone screen. */
.choose { display: grid; gap: clamp(26px, 4vw, 48px); }
.choose > * { min-width: 0; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 210px;
  padding: 24px;
  background: var(--coal-card);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
}
.choice h2 { margin: 0; font-size: clamp(22px, 2.3vw, 30px); font-weight: 900; letter-spacing: -.02em; line-height: 1.04; text-transform: uppercase; }
.choice p { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.choice .btn { margin-top: auto; --h: 42px; }
.choice .tag {
  align-self: flex-start;
  padding: 5px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
@media (max-width: 860px) { .choices { grid-template-columns: 1fr; } }

/* ── the oversized contact rows ────────────────────────────────────────── */
.rows { list-style: none; margin: 0; padding: 0; }
.rows li + li { border-top: 1px solid var(--line-dark); }
.rows a, .rows button {
  display: flex;
  align-items: baseline;
  gap: 10px;
  width: 100%;
  padding: 10px 0;
  border: 0;
  background: none;
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(19px, 5.4vw, 64px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: opacity .18s ease;
}
.rows a:hover, .rows button:hover { opacity: .6; }
.row-k {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

/* ── foot ──────────────────────────────────────────────────────────────── */
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  padding: 28px var(--pad);
  background: var(--coal);
  color: rgba(255, 255, 255, .55);
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.foot-logo img { width: 130px; opacity: .6; filter: invert(1); }

/* ── the dialogs ───────────────────────────────────────────────────────── */
.sheet {
  width: min(560px, calc(100vw - 32px));
  padding: 26px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
}
.sheet.wide { width: min(880px, calc(100vw - 32px)); }
.sheet::backdrop { background: rgba(11, 11, 11, .55); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.sheet-head h2 { margin: 0; font-size: 24px; font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; }
.x { width: 36px; height: 36px; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 14px; }
.x:hover { background: var(--paper-2); }
.sheet-lead { margin: 0 0 20px; font-size: 15px; color: var(--ink-soft); }
.sheet-form { display: grid; gap: 14px; }
.sheet-form .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sheet-form label {
  display: grid;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.sheet-form input, .sheet-form textarea {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
}
.sheet-form textarea { min-height: 110px; resize: vertical; }
.sheet-form input:focus, .sheet-form textarea:focus { outline: none; border-color: var(--ink); }
.err { margin: 0; font-size: 14px; color: var(--red); }
.sheet-done p { margin: 0 0 10px; font-size: 18px; }
#giving-frame { width: 100%; height: min(70vh, 640px); border: 1px solid var(--line); background: #fff; }
@media (max-width: 520px) { .sheet-form .pair { grid-template-columns: 1fr; } }

/* ── things arriving ───────────────────────────────────────────────────── */
.up { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.up.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .up { opacity: 1; transform: none; transition: none; } }
