/* Shared styles for the secondary pages (thanks, unsubscribe, work/*). The homepage inlines its own. */
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 500 650;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #fbf6ec;
  --paper-2: #f4ead8;
  --ink: #1c2726;
  --ink-2: #4a5654;
  --line: #e4d7c1;
  --red: #b83a1f;
  --mustard: #f2b632;
  --mustard-soft: #fbe3a6;
  --sage: #2f5d50;
  --sky: #2c5d8a;
  --radius: 16px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(860px, 100% - 32px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 650; line-height: 1.1; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
p { margin: 0; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }

header { border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 650; font-size: 1.25rem; }
.brand img { width: 44px; height: 44px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 750 1rem/1 var(--sans); text-decoration: none; border: 2px solid var(--ink); background: var(--red); color: #fff; box-shadow: 4px 4px 0 var(--ink); cursor: pointer; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: .9rem; box-shadow: 3px 3px 0 var(--ink); }

main { padding: clamp(40px, 7vw, 80px) 0; }
.lead { margin-top: 18px; font-size: 1.15rem; color: var(--ink-2); max-width: 56ch; }
.panel { margin-top: 32px; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(22px, 4vw, 32px); box-shadow: 6px 6px 0 var(--ink); }

form.stack { display: grid; gap: 14px; max-width: 460px; }
form.stack label { display: grid; gap: 6px; font-size: .92rem; font-weight: 700; }
form.stack input { width: 100%; min-height: 48px; padding: 11px 14px; border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); color: var(--ink); font: 1rem/1.4 var(--sans); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { margin-top: 16px; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--ink); font-weight: 600; }
.note.ok { background: #dbe8e1; }
.note.err { background: #f8dcd3; }
[hidden] { display: none !important; }

footer { padding: 32px 0 48px; color: var(--ink-2); font-size: .9rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 2px solid var(--ink); padding-top: 22px; }
.foot b { color: var(--ink); font-family: var(--serif); }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
