:root {
  --ink: #1e2526;
  --muted: #687275;
  --paper: #f4f1ea;
  --card: #fffdf8;
  --accent: #a64837;
  --accent-dark: #7f3125;
  --line: #d9d5cc;
  --deep: #243437;
  --soft: #e7ece9;
  --shadow: 0 16px 48px rgba(31, 40, 41, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 880px; }
.skip-link {
  position: absolute; left: -9999px; top: auto;
}
.skip-link:focus {
  left: 20px; top: 10px; z-index: 1000; background: white; padding: 8px 12px;
}
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(0,0,0,.07);
  background: rgba(244,241,234,.94);
  backdrop-filter: blur(12px);
}
.nav-wrap {
  min-height: 74px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--deep); color: white;
  font-family: "Libre Baskerville", serif; font-size: 13px;
}
.brand-text { font-family: "Libre Baskerville", serif; }
nav { display: flex; gap: 24px; }
nav a { text-decoration: none; font-size: 14px; font-weight: 600; }
nav a:hover { color: var(--accent); }

.hero {
  padding: 90px 0 80px;
  background:
    radial-gradient(circle at 80% 20%, rgba(166,72,55,.12), transparent 26%),
    linear-gradient(180deg, #f7f4ee 0%, #f0eee7 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.55fr .75fr; gap: 70px; align-items: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800;
  color: var(--accent); margin: 0 0 14px;
}
h1, h2, h3 { font-family: "Libre Baskerville", Georgia, serif; line-height: 1.2; }
h1 { font-size: clamp(42px, 6vw, 78px); letter-spacing: -.04em; margin: 0 0 24px; }
h1 span { color: var(--accent); }
h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.025em; margin: 0 0 22px; }
h3 { font-size: 19px; }
.hero-copy { font-size: 19px; max-width: 790px; color: #455052; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px; border-radius: 999px;
  font-weight: 800; text-decoration: none; transition: .2s ease;
}
.button.primary { background: var(--accent); color: white; }
.button.primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.button.secondary { border: 1px solid var(--deep); color: var(--deep); }
.button.secondary:hover { background: var(--deep); color: white; }
.quote-card {
  background: var(--deep); color: white; padding: 36px; border-radius: 24px;
  box-shadow: var(--shadow); transform: rotate(1.25deg);
}
.quote-mark { font: 700 70px/1 "Libre Baskerville", serif; color: #d98a77; }
.quote-card p { font: 700 25px/1.45 "Libre Baskerville", serif; }
.quote-card span { color: #cbd5d2; font-size: 14px; }

.section { padding: 86px 0; }
.section p { color: #465052; }
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 38px; }
.topic {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 24px;
}
.topic span { font-weight: 800; color: var(--accent); font-size: 12px; letter-spacing: .12em; }
.topic h3 { margin: 9px 0 8px; }
.topic p { margin: 0; font-size: 14px; }

.submit-section { background: #e9ece8; }
.form-layout { display: grid; grid-template-columns: .8fr 1.35fr; gap: 48px; align-items: start; }
.form-intro { position: sticky; top: 104px; }
.privacy-card {
  margin-top: 28px; border-left: 4px solid var(--accent);
  background: rgba(255,255,255,.55); padding: 20px 22px; border-radius: 0 14px 14px 0;
}
.privacy-card h3 { margin-top: 0; }
.privacy-card p { font-size: 14px; }

.story-form {
  background: var(--card); border: 1px solid #d8d9d4;
  border-radius: 24px; padding: 34px; box-shadow: var(--shadow);
}
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { margin-bottom: 18px; }
label, legend { font-weight: 700; font-size: 14px; }
label span, .field label span { font-weight: 500; color: var(--muted); }
input, textarea {
  width: 100%; border: 1px solid #c9cec9; border-radius: 10px;
  background: white; color: var(--ink); padding: 12px 13px; margin-top: 7px;
  font: inherit; outline: none; transition: .15s ease;
}
textarea { resize: vertical; min-height: 230px; }
input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(166,72,55,.12); }
fieldset {
  border: 1px solid #d5d8d3; border-radius: 14px; padding: 20px; margin: 4px 0 22px;
}
legend { padding: 0 7px; }
.radio, .consent {
  display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; font-weight: 500;
}
.radio input, .consent input { width: auto; margin-top: 5px; }
.release { background: #f6f4ee; }
.release-text {
  max-height: 300px; overflow: auto; padding: 14px 16px; border: 1px solid #d7d2c9;
  background: white; border-radius: 10px; margin: 8px 0 16px;
}
.release-text p { font-size: 13px; margin-top: 0; }
.signature-row { margin-top: 18px; }
.charline { text-align: right; color: var(--muted); font-size: 12px; margin-top: 4px; }
.optional { margin-top: 14px; }
.submit-button { width: 100%; font-size: 16px; min-height: 54px; margin-top: 12px; }
.form-note { font-size: 12px; text-align: center; margin-bottom: 0; }
.hidden { display: none !important; }

details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 18px; margin: 12px 0;
}
summary { cursor: pointer; font-weight: 800; }
details p { margin-bottom: 0; }

.site-footer { background: #172325; color: white; padding: 55px 0 30px; }
.footer-wrap { display: flex; justify-content: space-between; gap: 30px; }
.footer-brand .brand-mark { background: white; color: var(--deep); }
.site-footer p { color: #bcc9c6; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: white; text-decoration: none; }
.fineprint { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; }
.fineprint p { font-size: 12px; margin: 5px 0; }
.legal-note { max-width: 850px; }

.thanks-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: var(--paper); }
.thanks-card {
  width: min(680px, 100%); background: var(--card); border: 1px solid var(--line);
  border-radius: 24px; padding: 42px; box-shadow: var(--shadow); text-align: center;
}
.thanks-card h1 { font-size: clamp(36px, 6vw, 56px); }
.thanks-card p { color: var(--muted); }
.thanks-card .button { margin-top: 14px; }

@media (max-width: 860px) {
  .hero-grid, .form-layout { grid-template-columns: 1fr; }
  .form-intro { position: static; }
  .quote-card { transform: none; }
  .hero { padding-top: 60px; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 26px, 1140px); }
  .nav-wrap { min-height: 66px; }
  nav a:not(:nth-child(2)) { display: none; }
  .brand-text { font-size: 14px; }
  .topic-grid, .field-row { grid-template-columns: 1fr; }
  .story-form { padding: 22px; border-radius: 18px; }
  .section { padding: 64px 0; }
  .footer-wrap { flex-direction: column; }
}
