:root {
  --ink: #17130f;
  --ink-soft: #2c241d;
  --muted: #706457;
  --paper: #f7efe3;
  --paper-2: #efe0ca;
  --card: #fffaf1;
  --line: rgba(23, 19, 15, 0.14);
  --gold: #c78945;
  --copper: #9c4c2f;
  --olive: #596247;
  --blueblack: #12171b;
  --shadow: 0 24px 70px rgba(23, 19, 15, 0.15);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(199, 137, 69, .20), transparent 32rem),
    radial-gradient(circle at 88% 10%, rgba(89, 98, 71, .15), transparent 30rem),
    linear-gradient(180deg, #fbf5ec 0%, var(--paper) 45%, var(--paper-2) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image:
    linear-gradient(rgba(23,19,15,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,19,15,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 82%);
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 99;
  background: var(--ink);
  color: white;
  padding: .8rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: .85rem clamp(1rem, 4vw, 3.8rem);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 239, 226, .88);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff1db;
  font-family: Georgia, serif;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .06em;
  box-shadow: 0 16px 30px rgba(23,19,15,.18);
}
.brand-text { min-width: 0; }
.brand-text strong,
.brand-text small { display: block; line-height: 1.06; }
.brand-text strong { font-size: 1.02rem; white-space: nowrap; }
.brand-text small { color: var(--muted); margin-top: .26rem; font-size: .78rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 780;
}
.site-nav a:hover,
.site-nav a:focus { color: var(--ink); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink);
  cursor: pointer;
  padding: .6rem;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff4e2;
  margin: 5px 0;
  border-radius: 99px;
}

.section {
  position: relative;
  padding: clamp(4rem, 7vw, 7.5rem) clamp(1rem, 5vw, 5.4rem);
}
.section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.hero {
  position: relative;
  padding: clamp(2.25rem, 5vw, 4.2rem) clamp(1rem, 5vw, 5.4rem) clamp(4rem, 7vw, 6.5rem);
  overflow: hidden;
}
.hero::before {
  content: "VOICE";
  position: absolute;
  right: clamp(-7rem, -6vw, -2rem);
  top: clamp(1rem, 4vw, 4rem);
  z-index: 0;
  font-family: Georgia, serif;
  font-size: clamp(7rem, 18vw, 17rem);
  line-height: .8;
  letter-spacing: -.08em;
  color: rgba(23,19,15,.035);
  pointer-events: none;
  user-select: none;
}
.hero-panel {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  min-height: min(720px, calc(100vh - 110px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: clamp(28px, 5vw, 48px);
  background:
    linear-gradient(135deg, rgba(255,250,241,.82), rgba(239,224,202,.58)),
    radial-gradient(circle at 0% 0%, rgba(199,137,69,.18), transparent 25rem);
  box-shadow: 0 24px 80px rgba(23,19,15,.11);
}
.hero-copy {
  padding: clamp(.75rem, 2.4vw, 2rem);
}
.eyebrow {
  margin: 0 0 .9rem;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  font-weight: 860;
}
h1, h2, h3 { margin: 0; }
h1, h2 {
  font-family: Georgia, Cambria, "Times New Roman", serif;
  letter-spacing: -.045em;
}
h1 {
  max-width: 760px;
  font-size: clamp(3.1rem, 7vw, 6.6rem);
  line-height: .92;
}
h2 {
  font-size: clamp(2rem, 4.2vw, 4.15rem);
  line-height: .98;
}
h3 { font-size: 1.08rem; }
.lead {
  max-width: 66ch;
  margin: 1.3rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.68;
}
.strong-lead {
  color: var(--ink-soft);
  font-weight: 720;
}
.hero-actions {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .88rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 820;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(23,19,15,.13);
}
.button.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff2df;
}
.button.secondary {
  background: rgba(255,250,241,.68);
  color: var(--ink);
}
.button.full {
  width: 100%;
  border-radius: 16px;
  font-size: 1rem;
}

.authority-card {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 440px;
  padding: clamp(1.4rem, 3vw, 2.35rem);
  border-radius: 34px;
  color: #fff4e2;
  background:
    radial-gradient(circle at 88% 8%, rgba(199,137,69,.50), transparent 13rem),
    linear-gradient(145deg, rgba(23,19,15,.98), rgba(47,34,25,.95));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.authority-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,244,226,.15);
  border-radius: 26px;
  pointer-events: none;
}
.card-label {
  display: inline-flex;
  align-self: flex-start;
  padding: .45rem .72rem;
  border: 1px solid rgba(255,244,226,.18);
  border-radius: 999px;
  color: rgba(255,244,226,.78);
  font-size: .76rem;
  font-weight: 820;
  margin-bottom: 1.1rem;
}
.authority-card h2 { font-size: clamp(1.85rem, 3vw, 3rem); }
.authority-card p,
.authority-card li { color: rgba(255,244,226,.76); line-height: 1.65; }
.check-list { padding-left: 1.15rem; margin: 1.1rem 0 0; }

.hero-strip {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 1rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
}
.hero-strip span {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,250,241,.66);
  color: var(--muted);
  font-size: .9rem;
  font-weight: 760;
}

.section-intro { max-width: 980px; }
.section-intro > p:not(.eyebrow),
.section-heading > p,
.notice-band > p,
.two-col p,
.submit-copy p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.02rem;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}
.section-heading > p { max-width: 470px; margin: 0; }

.feature-grid,
.record-layout,
.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.feature,
.record-card,
.standard-card,
.story-form,
.safety-box,
.panel {
  background: rgba(255,250,241,.74);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem;
  box-shadow: 0 14px 40px rgba(23,19,15,.07);
}
.feature p,
.record-card p,
.standard-card li,
.panel li {
  color: var(--muted);
  line-height: 1.65;
}
.number {
  display: inline-block;
  margin-bottom: .8rem;
  font-family: Georgia, serif;
  color: var(--gold);
  font-size: 2.1rem;
}
.tag {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: .43rem .72rem;
  border-radius: 999px;
  background: rgba(156,76,47,.12);
  color: var(--copper);
  font-size: .76rem;
  font-weight: 840;
}

.record-section {
  background: rgba(255,250,241,.35);
  border-block: 1px solid var(--line);
}

.notice-band {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  margin: 0 clamp(1rem, 5vw, 5.4rem);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 34px;
  background: linear-gradient(135deg, var(--ink), #3a2b20);
  color: #fff1dc;
  box-shadow: var(--shadow);
}
.notice-band .eyebrow { color: #f0bd7a; }
.notice-band h2 { font-size: clamp(1.8rem, 3.6vw, 3.5rem); }
.notice-band > p { color: rgba(255,241,220,.76); margin: 0; }

.submit-section {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(320px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.safety-box {
  margin-top: 1.4rem;
  background: rgba(89,98,71,.11);
  line-height: 1.6;
}
.story-form {
  display: grid;
  gap: 1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
label {
  display: grid;
  gap: .45rem;
  font-weight: 820;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .9rem 1rem;
  background: rgba(255,255,255,.85);
  color: var(--ink);
  font: inherit;
}
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(199,137,69,.26);
  border-color: rgba(156,76,47,.45);
}
textarea { resize: vertical; }
.checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .7rem;
  font-weight: 650;
  color: var(--muted);
  line-height: 1.45;
}
.checkbox input { width: 18px; height: 18px; margin-top: .15rem; }
.form-message { min-height: 1.35rem; margin: 0; color: var(--olive); font-weight: 850; }

.dark-section {
  color: #fff2df;
  background:
    radial-gradient(circle at 18% 20%, rgba(199,137,69,.24), transparent 30rem),
    linear-gradient(135deg, #12171b, #231b16);
}
.dark-section .eyebrow { color: #f0bd7a; }
.dark-section p { color: rgba(255,242,223,.76); }
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .66fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.two-col.reverse { grid-template-columns: minmax(300px, .72fr) minmax(0, 1fr); }
.panel {
  background: rgba(255,242,223,.08);
  border-color: rgba(255,242,223,.18);
  color: #fff2df;
}
.panel.light {
  color: var(--ink);
  background: rgba(255,250,241,.78);
  border-color: var(--line);
}
.panel ul,
.standard-card ul { padding-left: 1.2rem; }
.panel li { color: rgba(255,242,223,.76); }
.panel.light li { color: var(--muted); }

.legal-section {
  background:
    radial-gradient(circle at 82% 30%, rgba(156,76,47,.12), transparent 27rem),
    rgba(255,250,241,.28);
}

.manifesto {
  text-align: center;
  padding-top: clamp(3rem, 6vw, 6rem);
}
.manifesto p {
  max-width: 1060px;
  margin: auto;
  font-family: Georgia, serif;
  font-size: clamp(2.05rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1rem, 5vw, 5.4rem);
  background: var(--ink);
  color: #fff2df;
}
.site-footer p,
.site-footer a { color: rgba(255,242,223,.72); }
.footer-links a { display: block; text-decoration: none; margin: .38rem 0; }
.footer-links a:hover { color: #fff2df; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .site-nav { gap: .75rem; }
  .site-nav a { font-size: .86rem; }
  .hero-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .authority-card { min-height: auto; }
}

@media (max-width: 900px) {
  .submit-section,
  .two-col,
  .two-col.reverse,
  .notice-band,
  .feature-grid,
  .record-layout,
  .standards-grid,
  .hero-strip {
    grid-template-columns: 1fr;
  }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 1rem; }
  .site-nav {
    position: absolute;
    right: 1rem;
    top: calc(100% + .6rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: min(310px, calc(100vw - 2rem));
    padding: 1rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
}

@media (max-width: 620px) {
  .brand-text small { display: none; }
  .brand-mark { width: 44px; height: 44px; border-radius: 14px; font-size: .75rem; }
  .brand-text strong { font-size: .95rem; }
  .site-header { padding: .72rem 1rem; }
  .hero { padding-top: 1rem; }
  .hero-panel { padding: .9rem; border-radius: 26px; }
  .hero-copy { padding: 1rem .35rem .35rem; }
  h1 { font-size: clamp(2.75rem, 16vw, 3.75rem); line-height: .95; }
  h2 { font-size: clamp(1.8rem, 10vw, 2.65rem); }
  .lead { font-size: 1rem; line-height: 1.58; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .authority-card { border-radius: 24px; padding: 1.35rem; }
  .authority-card::after { inset: 10px; border-radius: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
  .section { padding-left: 1rem; padding-right: 1rem; }
  .notice-band { margin-left: 1rem; margin-right: 1rem; }
}

@media (max-width: 380px) {
  .brand-text strong { max-width: 185px; overflow: hidden; text-overflow: ellipsis; }
  h1 { font-size: 2.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

.hidden-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.field-help {
  display: block;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 620;
  line-height: 1.45;
}

.email-note a,
.contact-card a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

.contact-section {
  background: rgba(255,250,241,.35);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.contact-card {
  background: rgba(255,250,241,.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem;
  box-shadow: 0 14px 40px rgba(23,19,15,.07);
}

.contact-card h3 {
  font-size: clamp(.95rem, 1.5vw, 1.08rem);
  overflow-wrap: anywhere;
}

.contact-card p {
  color: var(--muted);
  line-height: 1.65;
}

.thank-you-page .hero-panel {
  min-height: min(560px, calc(100vh - 110px));
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
