@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@400;500;600&display=swap');

:root {
  --paper: #EDEBE3;
  --paper-dim: #E2DFD4;
  --ink: #0A0A0A;
  --ink-soft: #4E4E4E;
  --ink-faint: #8C8C8C;
  --wine: #0A0A0A;
  --wine-deep: #000000;
  --brass: #A9853A;
  --stage: #101010;
  --line: #D2CFC2;
  --line-strong: #0A0A0A;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* -------- Nav -------- */
header.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 248, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: var(--max);
  margin: 0 auto;
}

.wordmark {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
}

.wordmark em {
  font-style: italic;
  color: var(--brass);
}

nav.links {
  display: flex;
  align-items: center;
  gap: 36px;
}

nav.links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

nav.links a:hover { color: var(--ink); }

/* Mobile menu toggle -- revealed only in the <=860px block below. Hidden
   outright at desktop widths so it stays out of the tab order. */
.nav-toggle,
.nav-burger { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 2px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--wine-deep); }

.btn-gold {
  background: var(--brass);
  color: var(--ink);
}
.btn-gold:hover { background: #8F6F2E; }

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}

/* -------- Eyebrow / labels -------- */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--brass);
}

.eyebrow.centered {
  justify-content: center;
}
.eyebrow.centered::before,
.eyebrow.centered::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--brass);
}

/* -------- Hero (full-bleed, dark) -------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--stage);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 58% 65% at 50% 44%, rgba(5,5,5,0.82) 0%, rgba(5,5,5,0.4) 65%, rgba(5,5,5,0.1) 100%),
    linear-gradient(180deg, rgba(5,5,5,0.35) 0%, rgba(5,5,5,0.55) 55%, rgba(5,5,5,0.75) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

.hero .eyebrow {
  color: var(--brass);
}
.hero .eyebrow::before,
.hero .eyebrow::after {
  background: var(--brass);
}

.rule-double {
  width: 64px;
  margin: 0 auto 28px;
  height: 5px;
  border-top: 1px solid rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.5);
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(38px, 5.6vw, 60px);
  line-height: 1.14;
  letter-spacing: -0.005em;
  margin: 0 0 22px;
  color: #FAF9F6;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--brass);
}

.hero p.lead {
  font-size: 17px;
  color: rgba(250,249,246,0.78);
  max-width: 480px;
  margin: 0 auto 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-actions .btn-ghost {
  border-color: rgba(255,255,255,0.7);
  color: #FAF9F6;
}
.hero-actions .btn-ghost:hover { background: #FAF9F6; color: var(--ink); }

/* -------- Sections -------- */
section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.24;
  margin: 0;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 16.5px;
  margin-top: 16px;
}

/* -------- Page header (secondary pages) -------- */
.page-header {
  padding: 80px 0 20px;
  text-align: center;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 50px);
  line-height: 1.16;
  margin: 0 0 20px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.page-header h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--brass);
}

.page-header p.lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto;
}

/* Photo variant. Each page supplies its own background-image and, where it
   differs, its own scrim -- see the small <style> block in that page's head. */
.page-header-photo {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  background: var(--stage);
}

.page-header-photo .photo-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 65% at 50% 46%, rgba(5,5,5,0.72) 0%, rgba(5,5,5,0.35) 65%, rgba(5,5,5,0.1) 100%),
    linear-gradient(180deg, rgba(5,5,5,0.3) 0%, rgba(5,5,5,0.55) 100%);
}

.page-header-photo .page-header-inner {
  position: relative;
  z-index: 2;
  padding: 0 32px;
}

.page-header-photo h1 { color: #FAF9F6; }
.page-header-photo p.lead { color: rgba(250,249,246,0.82); }

.page-header-photo .eyebrow { color: var(--brass); }
.page-header-photo .eyebrow.centered::before,
.page-header-photo .eyebrow.centered::after { background: var(--brass); }

/* Photographer credit. Sits quietly in the corner of a photo header -- legible
   against the scrim, but never competing with the headline. */
.photo-credit {
  position: absolute;
  right: 22px;
  bottom: 16px;
  z-index: 3;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.55);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.photo-credit span {
  color: rgba(250, 249, 246, 0.82);
  font-weight: 500;
}

/* -------- Prose section (page body content) -------- */
.prose-section {
  padding: 40px 0 90px;
}

.index-section {
  padding: 30px 0 10px;
}

.prose {
  max-width: 640px;
  margin: 0 auto;
}

.prose p {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 22px;
}

.prose h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
  margin: 44px 0 14px;
}

.prose h2:first-child { margin-top: 0; }

.prose blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 27px);
  line-height: 1.42;
  color: var(--ink);
  margin: 0 0 36px;
  padding-left: 24px;
  border-left: 2px solid var(--brass);
}

/* -------- Next-page link -------- */
.next-page {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  text-align: center;
}

.next-page a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
  transition: gap 0.2s ease;
}

.next-page a:hover { gap: 16px; }

.next-page .next-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}

/* -------- Home index list -------- */
.index-list {
  max-width: 680px;
  margin: 0 auto;
}

.index-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.index-row:last-child { border-bottom: 1px solid var(--line); }

.index-row h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 21px;
  margin: 0;
  color: var(--ink);
}

.index-row-arrow {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--brass);
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.index-row:hover .index-row-arrow { transform: translateX(6px); }

/* Problem section */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.problem-card {
  border-top: 1px solid var(--line-strong);
  padding-top: 22px;
}

.problem-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 20px;
  margin: 0 0 10px;
}

.problem-card p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}

/* -------- Founders' story -------- */
.story {
  background: var(--paper-dim);
}

.story-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.story-pull {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.4;
  margin: 0 0 32px;
}

.story-pull em {
  font-style: italic;
  color: var(--brass);
}

.story-body {
  text-align: left;
  max-width: 620px;
  margin: 0 auto;
}

.story-body p {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0 0 18px;
}

.story-sign {
  margin-top: 28px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
}

/* -------- Network / matchmakers -------- */
.network-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.network-card {
  border-top: 1px solid var(--line-strong);
  padding-top: 24px;
}

.network-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 21px;
  margin: 0 0 12px;
}

.network-card p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}
.philosophy {
  background: var(--paper-dim);
}

.philosophy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.philosophy blockquote {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.42;
  color: var(--ink);
}

.philosophy blockquote::before {
  content: '\201C';
  color: var(--brass);
  font-style: normal;
}

.philosophy cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

.philosophy-body p {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin: 0 0 16px;
}

/* How it works: vertical journey with connecting line */
.journey {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  padding: 10px 0;
}

.journey::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 20px;
  bottom: 20px;
  width: 1.5px;
  background: linear-gradient(180deg, var(--brass) 0%, var(--brass) 85%, transparent 100%);
  opacity: 0.5;
}

.journey-step {
  position: relative;
  display: flex;
  gap: 26px;
  padding-bottom: 52px;
}

.journey-step:last-child { padding-bottom: 0; }

.journey-marker-col {
  position: relative;
  width: 44px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.journey-marker {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--brass);
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.journey-marker svg {
  width: 20px;
  height: 20px;
}

.marker-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--brass);
  animation: marker-pulse-anim 2.6s ease-out infinite;
}

.journey-step:nth-child(2) .marker-pulse { animation-delay: 0.5s; }
.journey-step:nth-child(3) .marker-pulse { animation-delay: 1s; }
.journey-step:nth-child(4) .marker-pulse { animation-delay: 1.5s; }
.journey-step:nth-child(5) .marker-pulse { animation-delay: 2s; }

@keyframes marker-pulse-anim {
  0% { transform: scale(0.85); opacity: 0.55; }
  70% { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

.journey-content {
  padding-top: 8px;
}

.journey-content h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 23px;
  margin: 0 0 10px;
}

.journey-content p {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 60px 0 80px;
}

.cta-band h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 18px;
}

.cta-band p {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 460px;
  margin: 0 auto 34px;
}

/* -------- DNA strand layout -------- */
.strand {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 70px 0 30px;
}

.strand-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 0;
  pointer-events: none;
}

.strand-line path {
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.2;
  opacity: 0.45;
}

.strand-item {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 300px;
  text-align: center;
}

.strand-up { margin-top: 0; }
.strand-down { margin-top: 96px; }

.strand-node {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--brass);
  margin: 0 auto 22px;
  box-shadow: 0 0 0 7px var(--paper);
}

.strand-item h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 21px;
  margin: 0 0 10px;
}

.strand-item p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner .wordmark { font-size: 16px; }

footer .meta {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* -------- Apply page -------- */
.apply-hero {
  padding: 72px 0 48px;
}

.apply-hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 48px);
  line-height: 1.15;
  margin: 0 0 18px;
  max-width: 620px;
}

.apply-hero p {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 520px;
}

.apply-hero p.apply-eligibility {
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
}

.form-section { border-top: 1px solid var(--line); padding: 64px 0 100px; }

form.application {
  max-width: 640px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.field {
  margin-bottom: 26px;
}

.field label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 9px;
}

.field label .optional {
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
  opacity: 0.75;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 2px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.field textarea { resize: vertical; min-height: 90px; font-family: 'Inter', sans-serif; }

.field input[type="file"] {
  padding: 10px 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.field input[type="file"]::file-selector-button {
  margin-right: 16px;
  padding: 9px 18px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.field input[type="file"]::file-selector-button:hover {
  background: var(--ink);
  color: var(--paper);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--brass);
}

.field-hint {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-top: 6px;
}

.field-error {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: #9c2b2b;
  margin: 6px 0 0;
}

/* Flags the date of birth as needing attention when the age check fails. */
.field input.field-invalid { border-bottom-color: #9c2b2b; }

.submit-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.form-note {
  font-size: 13px;
  color: var(--ink-faint);
  max-width: 420px;
}

.terms-acceptance {
  margin: 16px 0 0;
  font-size: 11.5px;
  color: var(--ink-faint);
  letter-spacing: 0.01em;
}

.terms-acceptance a {
  color: var(--ink-soft);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.terms-acceptance a:hover { color: var(--ink); }

/* -------- Terms page -------- */
.terms-hero {
  padding: 72px 0 46px;
  border-bottom: 1px solid var(--line);
}

.terms-hero h1 {
  max-width: 760px;
  margin: 12px 0 16px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.terms-updated {
  margin: 0;
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terms-section {
  padding: 64px 0 110px;
}

.terms-document {
  max-width: 790px;
  margin-left: clamp(0px, 8vw, 112px);
}

.terms-block {
  padding: 0 0 40px;
  margin: 0 0 40px;
  border-bottom: 1px solid var(--line);
}

.terms-block:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.terms-block h2 {
  margin: 0 0 18px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.terms-block p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.78;
}

.terms-block p:last-child { margin-bottom: 0; }

.terms-block strong {
  color: var(--ink);
  font-weight: 600;
}

.terms-block address {
  color: var(--ink-soft);
  font-size: 15px;
  font-style: normal;
  line-height: 1.78;
}

.terms-block address a { text-underline-offset: 3px; }

/* -------- Law enforcement guidelines -------- */
.law-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.law-skip-link:focus { transform: translateY(0); }

.law-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 84px;
  border-bottom: 1px solid var(--line-strong);
  background:
    linear-gradient(90deg, transparent 0 71%, rgba(169, 133, 58, 0.08) 71% 71.1%, transparent 71.1%),
    var(--paper);
}

.law-hero::after {
  content: 'LEGAL PROCESS';
  position: absolute;
  right: -34px;
  bottom: 17px;
  color: rgba(10, 10, 10, 0.045);
  font-family: 'Playfair Display', serif;
  font-size: clamp(74px, 12vw, 164px);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.06em;
  white-space: nowrap;
  pointer-events: none;
}

.law-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: clamp(52px, 8vw, 112px);
}

.law-hero-copy h1 {
  max-width: 760px;
  margin: 0 0 26px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 7.4vw, 92px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.law-hero-copy h1 em {
  color: var(--brass);
  font-weight: 400;
}

.law-hero-copy h1 span {
  display: block;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.law-intro {
  max-width: 640px;
  margin: 0 0 25px;
  color: var(--ink-soft);
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.law-updated {
  margin: 0;
  color: var(--ink-faint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.law-request-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  background: var(--stage);
  color: var(--paper);
  box-shadow: 16px 16px 0 var(--paper-dim);
}

.law-card-number {
  color: var(--brass);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.law-card-label {
  margin: 0 0 12px;
  color: var(--paper);
  font-family: 'Playfair Display', serif;
  font-size: 24px;
}

.law-request-card address {
  margin-bottom: 13px;
  color: #bdb9ae;
  font-size: 13px;
  font-style: normal;
  line-height: 1.75;
}

.law-request-card a {
  color: var(--paper);
  font-size: 13px;
  text-underline-offset: 4px;
}

.law-emergency-link {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid #353535;
  text-decoration: none;
}

.law-content {
  padding: 92px 0 130px;
}

.law-content-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: space-between;
  gap: clamp(60px, 10vw, 140px);
}

.law-index {
  position: sticky;
  top: 116px;
  align-self: start;
}

.law-index-title {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.law-index nav { display: grid; }

.law-index a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 7px;
  padding: 9px 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.law-index a span {
  color: var(--brass);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.law-index a:hover,
.law-index a:focus-visible {
  color: var(--ink);
  transform: translateX(3px);
}

.law-document { min-width: 0; }

.law-block {
  scroll-margin-top: 110px;
  padding: 0 0 52px;
  margin: 0 0 52px;
  border-bottom: 1px solid var(--line);
}

.law-block:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.law-section-number {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.law-block h2 {
  margin: 0 0 23px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.law-block p,
.law-block li,
.law-block address {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.82;
}

.law-block p { margin: 0 0 18px; }
.law-block p:last-child { margin-bottom: 0; }
.law-block a { text-underline-offset: 4px; }
.law-block strong { color: var(--ink); font-weight: 600; }

.law-process-list {
  margin: 28px 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
  border-top: 1px solid var(--line);
}

.law-process-list li {
  position: relative;
  padding: 22px 8px 22px 52px;
  border-bottom: 1px solid var(--line);
  counter-increment: process;
}

.law-process-list li::before {
  content: counter(process, lower-alpha);
  position: absolute;
  top: 23px;
  left: 8px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--brass);
  border-radius: 50%;
  color: var(--brass);
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-style: italic;
}

.law-address {
  margin: 24px 0 28px;
  padding: 24px 28px;
  border-left: 3px solid var(--brass);
  background: var(--paper-dim);
  font-style: normal;
}

.law-requirements-list {
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
}

.law-requirements-list li {
  position: relative;
  padding: 0 0 16px 25px;
}

.law-requirements-list li::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 2px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--brass);
  transform: rotate(45deg);
}

.law-emergency {
  margin-left: -42px;
  margin-right: -42px;
  padding: 42px;
  border-bottom: none;
  background: var(--stage);
  color: var(--paper);
}

.law-emergency-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.law-emergency-heading span {
  color: var(--brass);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.law-emergency h2,
.law-emergency strong { color: var(--paper); }

.law-emergency p,
.law-emergency li { color: #c7c3b8; }
.law-emergency a { color: var(--paper); }
.law-emergency .law-requirements-list li::before { border-color: var(--brass); }

.law-contact {
  padding: 44px;
  background: var(--paper-dim);
}

.law-contact address { font-style: normal; }

@media (max-width: 900px) {
  .law-hero { padding: 70px 0; }
  .law-hero-grid { grid-template-columns: 1fr; align-items: start; gap: 50px; }
  .law-request-card { min-height: 300px; max-width: 520px; }
  .law-content-grid { grid-template-columns: 1fr; gap: 54px; }
  .law-index { position: static; }
  .law-index nav { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 30px; }
}

@media (max-width: 640px) {
  .law-hero { padding: 52px 0 62px; }
  .law-hero::after { display: none; }
  .law-hero-copy h1 { font-size: clamp(46px, 15vw, 68px); }
  .law-request-card { min-height: 310px; padding: 25px; box-shadow: 10px 10px 0 var(--paper-dim); }
  .law-content { padding: 64px 0 86px; }
  .law-index nav { grid-template-columns: 1fr; }
  .law-block { padding-bottom: 42px; margin-bottom: 42px; }
  .law-process-list li { padding-left: 44px; }
  .law-emergency { margin-left: -24px; margin-right: -24px; padding: 34px 24px; }
  .law-emergency-heading { align-items: flex-start; flex-direction: column; gap: 0; }
  .law-contact { padding: 32px 24px; }
}

#form-status {
  margin-top: 18px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  display: none;
}

#form-status.visible { display: block; }
#form-status.ok { color: var(--brass); }

/* -------- Responsive -------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 220px; order: -1; }
  .problem-grid { grid-template-columns: 1fr; gap: 32px; }
  .network-grid { grid-template-columns: 1fr; gap: 32px; }
  .philosophy-inner { grid-template-columns: 1fr; gap: 32px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .nav-inner { padding: 18px 24px; }
  .wrap { padding: 0 24px; }
  .terms-document { margin-left: 0; }

  /* Nav collapses into a toggle. The checkbox is a sibling of both the
     burger and the nav, so :checked drives the panel with no JavaScript. */
  .nav-toggle {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }

  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    margin-right: -9px;
    cursor: pointer;
  }

  .nav-burger span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--ink);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .nav-toggle:focus-visible ~ .nav-burger {
    outline: 1px solid var(--brass);
    outline-offset: 4px;
  }

  nav.links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 24px 24px;
    background: rgba(250, 250, 248, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .nav-toggle:checked ~ nav.links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  nav.links a {
    padding: 16px 2px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }

  nav.links a.btn {
    margin-top: 16px;
    justify-content: center;
    padding: 14px 22px;
    border-bottom: none;
  }

  nav.links a:not(.btn):last-of-type { border-bottom: none; }

  /* DNA strand (why.html) */
  .strand {
    flex-direction: column;
    align-items: stretch;
    gap: 44px;
    padding: 20px 0;
  }
  .strand-line { display: none; }
  .strand-item { max-width: none; }
  .strand-up, .strand-down { margin-top: 0; }
}

@media (max-width: 640px) {
  /* Journey timeline (how-it-works.html) */
  .journey::before { left: 17px; }
  .journey-marker-col { width: 36px; }
  .journey-marker { width: 36px; height: 36px; }
  .journey-marker svg { width: 16px; height: 16px; }
  .journey-step { gap: 18px; }

  /* Photo credit tucks in a little tighter on small screens */
  .photo-credit {
    right: 16px;
    bottom: 12px;
    font-size: 9.5px;
    letter-spacing: 0.1em;
  }
}
