:root {
  --ivory: #f6f1ea;
  --paper: #fffdf9;
  --paper-2: #f0ebe4;
  --ink: #292c2f;
  --muted: #6f6a65;
  --blue: #566f82;
  --blue-dark: #334b5b;
  --sage: #8a9887;
  --sage-soft: #dfe5dc;
  --clay: #a86455;
  --clay-dark: #82483e;
  --line: #ddd6ce;
  --record: #263641;
  --record-soft: #314956;
  --white: #ffffff;

  --radius: 20px;
  --radius-sm: 13px;
  --shadow: 0 18px 50px rgba(55, 47, 40, 0.08);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(246, 241, 234, 0.91);
  border-bottom: 1px solid rgba(221, 214, 206, 0.86);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50% 50% 46% 54%;
  background:
    radial-gradient(circle at 35% 28%, #fff 0 8%, transparent 9%),
    linear-gradient(145deg, var(--sage), var(--blue));
  box-shadow: inset 0 0 0 7px rgba(255,255,255,.28);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.brand-sub {
  margin-top: 5px;
  color: var(--muted);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: .92rem;
  font-weight: 650;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.nav-help {
  padding: 10px 15px;
  border-radius: 999px;
  color: white !important;
  background: var(--clay);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 78px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}

.hero::before {
  width: 430px;
  height: 430px;
  right: -150px;
  top: -170px;
  background: rgba(138, 152, 135, .19);
}

.hero::after {
  width: 300px;
  height: 300px;
  left: -120px;
  bottom: -150px;
  background: rgba(86, 111, 130, .10);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--blue);
  font-size: .77rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.hero h1 {
  margin: 0;
  max-width: 800px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 500;
}

.hero h1 em {
  color: var(--blue);
  font-style: normal;
}

.hero-lede {
  max-width: 690px;
  margin: 28px 0 0;
  color: #56534f;
  font-size: clamp(1.08rem, 1.7vw, 1.27rem);
  line-height: 1.72;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 21px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  transition: transform .16s ease, box-shadow .16s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: var(--clay);
  box-shadow: 0 9px 26px rgba(168, 100, 85, .20);
}

.button-secondary {
  color: var(--blue-dark);
  background: rgba(255,255,255,.52);
  border: 1px solid var(--line);
}

.hero-card {
  position: relative;
  min-height: 470px;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 18%, rgba(255,255,255,.78) 0 13%, transparent 14%),
    linear-gradient(145deg, #cdd8cf, #e8e0d7 55%, #c9d2d9);
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 24px;
}

.hero-card-inner {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  padding: 25px;
  border-radius: 20px;
  background: rgba(255,253,249,.88);
  backdrop-filter: blur(10px);
}

.hero-card-kicker {
  margin: 0 0 8px;
  color: var(--clay-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero-card p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.35;
  color: #394249;
}

/* General sections */

.section {
  padding: 92px 0;
}

.section-tight {
  padding: 68px 0;
}

.section-paper {
  background: var(--paper);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.section-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

/* Need cards */

.need-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.need-card {
  min-height: 250px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}

.need-card:nth-child(2) {
  background: #f3f5f1;
}

.need-card:nth-child(3) {
  background: #f5efeb;
}

.number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--blue-dark);
  font-weight: 800;
}

.need-card h3 {
  margin: 0 0 11px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.need-card p {
  margin: 0;
  color: var(--muted);
}

/* Story */

.story-grid {
  display: grid;
  grid-template-columns: .83fr 1.17fr;
  gap: 54px;
  align-items: start;
}

.story-aside {
  position: sticky;
  top: 110px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--sage-soft);
}

.story-aside strong {
  display: block;
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.story-aside p {
  margin: 0;
  color: #526054;
}

.story-copy {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.21rem;
  line-height: 1.9;
}

.story-copy p:first-child {
  margin-top: 0;
}

.story-copy p:last-child {
  margin-bottom: 0;
}

/* Public record */

.record-section {
  position: relative;
  overflow: hidden;
  color: #edf2f3;
  background: var(--record);
}

.record-section::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -230px;
  top: -180px;
  border-radius: 50%;
  background: rgba(255,255,255,.035);
}

.record-section .eyebrow {
  color: #b9cbc7;
}

.record-section .section-heading p {
  color: #c4ced1;
}

.record-intro {
  position: relative;
  z-index: 2;
}

.record-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.record-card {
  padding: 24px;
  border-radius: 16px;
  background: var(--record-soft);
  border: 1px solid rgba(255,255,255,.08);
}

.record-date {
  color: #a9bbb7;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.record-card h3 {
  margin: 12px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.record-card p {
  margin: 0;
  color: #c8d2d5;
  font-size: .93rem;
}

.record-link {
  display: inline-block;
  margin-top: 20px;
  color: white;
  font-weight: 750;
}

/* Reform */

.reform-panel {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 48px;
  align-items: center;
  padding: 44px;
  border-radius: 28px;
  background: #e8ece6;
}

.reform-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -.04em;
}

.reform-panel p {
  color: #596159;
}

.reform-list {
  display: grid;
  gap: 12px;
}

.reform-item {
  padding: 18px 20px;
  border-radius: 15px;
  background: rgba(255,255,255,.60);
  border: 1px solid rgba(82,96,84,.13);
  font-weight: 680;
}

/* Transparency */

.transparency {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.transparency-box {
  padding: 31px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}

.transparency-box h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.transparency-box p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Footer */

.footer {
  padding: 42px 0;
  background: #ece6df;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
  font-size: .86rem;
}

.footer strong {
  color: var(--ink);
}

/* Prototype notice */

.prototype {
  padding: 9px 18px;
  text-align: center;
  color: #5e554e;
  background: #e9ddd1;
  border-bottom: 1px solid #d9c9bb;
  font-size: .79rem;
  font-weight: 700;
}

/* Responsive */

@media (max-width: 900px) {
  .nav a:not(.nav-help) {
    display: none;
  }

  .hero {
    padding-top: 68px;
  }

  .hero-grid,
  .story-grid,
  .reform-panel,
  .transparency {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 360px;
  }

  .need-grid,
  .record-grid {
    grid-template-columns: 1fr;
  }

  .story-aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    position: relative;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    padding: 52px 0 58px;
  }

  .hero h1 {
    font-size: 3.3rem;
  }

  .section {
    padding: 68px 0;
  }

  .reform-panel {
    padding: 28px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* ============================================================
   MULTI-PAGE LAYOUT
   ============================================================ */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 70px;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -150px;
  top: -190px;
  border-radius: 50%;
  background: rgba(138, 152, 135, .15);
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.9rem, 6vw, 5.3rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.05em;
}

.page-hero-lede {
  max-width: 740px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.75;
}

.page-hero-record {
  color: #edf2f3;
  background: var(--record);
  border-bottom-color: rgba(255,255,255,.08);
}

.page-hero-record::after {
  background: rgba(255,255,255,.035);
}

.page-hero-record .eyebrow {
  color: #b9cbc7;
}

.page-hero-record .page-hero-lede {
  color: #c4ced1;
}

.page-content {
  padding: 78px 0 94px;
}

.page-content-paper {
  background: var(--paper);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.content-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.content-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}

.content-card h2,
.content-card h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.025em;
}

.content-card h2 {
  font-size: 2rem;
}

.content-card h3 {
  font-size: 1.45rem;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.content-card p {
  color: var(--muted);
}

.prose {
  max-width: 790px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.9;
}

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

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

.page-split {
  display: grid;
  grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr);
  gap: 56px;
  align-items: start;
}

.page-aside {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--sage-soft);
}

.page-aside h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 500;
}

.page-aside p {
  margin: 0;
  color: #526054;
}

.soft-callout {
  padding: 30px;
  margin-top: 40px;
  border-radius: var(--radius);
  background: #f5efeb;
  border: 1px solid var(--line);
}

.soft-callout h2 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
}

.dark-content {
  color: #edf2f3;
  background: var(--record);
}

.dark-content .content-card {
  background: var(--record-soft);
  border-color: rgba(255,255,255,.08);
}

.dark-content .content-card p {
  color: #c8d2d5;
}

.document-type {
  margin-bottom: 11px;
  color: #a9bbb7;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.page-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue-dark);
  font-weight: 760;
  text-decoration: none;
}

.dark-content .page-link {
  color: white;
}

.home-link-card {
  text-decoration: none;
  color: inherit;
}

.home-link-card .need-card,
.home-link-card .record-card {
  height: 100%;
  transition: transform .16s ease, box-shadow .16s ease;
}

.home-link-card:hover .need-card,
.home-link-card:hover .record-card {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

@media (max-width: 900px) {
  .page-split,
  .content-grid,
  .content-grid-three {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .page-hero {
    padding: 58px 0 50px;
  }

  .page-content {
    padding: 58px 0 72px;
  }
}


/* === STORY PAGE START === */

.story-intro {
  max-width: 850px;
}

.story-intro p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.9;
  color: #4e5050;
}

.story-break {
  margin: 52px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.story-section {
  margin-top: 58px;
}

.story-section:first-child {
  margin-top: 0;
}

.story-section h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -.035em;
}

.story-section p {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.82;
}

.story-timeline {
  position: relative;
  margin: 54px 0 0;
  padding-left: 34px;
}

.story-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 8px;
  width: 2px;
  background: var(--line);
}

.timeline-entry {
  position: relative;
  margin: 0 0 36px;
  padding: 0 0 0 24px;
}

.timeline-entry:last-child {
  margin-bottom: 0;
}

.timeline-entry::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: -32px;
  top: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px var(--ivory);
}

.timeline-entry.turning-point::before {
  background: var(--clay);
}

.timeline-date {
  margin-bottom: 6px;
  color: var(--blue-dark);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.timeline-entry h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.timeline-entry p {
  margin: 0;
  max-width: 780px;
  color: var(--muted);
}

.story-callout {
  margin: 58px 0;
  padding: 34px;
  border-radius: 22px;
  background: var(--sage-soft);
  border: 1px solid rgba(82, 96, 84, .12);
}

.story-callout p {
  margin: 0;
  max-width: 850px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.38rem;
  line-height: 1.65;
  color: #445348;
}

.story-now {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.story-now-card {
  padding: 26px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.story-now-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.story-now-card p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
}

.story-next {
  margin-top: 64px;
  padding: 38px;
  border-radius: 24px;
  background: #f5efeb;
  border: 1px solid var(--line);
}

.story-next h2 {
  margin-top: 0;
}

@media (max-width: 800px) {
  .story-now {
    grid-template-columns: 1fr;
  }

  .story-timeline {
    padding-left: 28px;
  }
}

/* === STORY PAGE END === */


/* === PUBLIC RECORD DETAIL START === */

.record-shell {
  background: var(--record);
  color: #edf2f3;
}

.record-profile {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
  margin: 0 0 34px;
  border-radius: 22px;
  background: var(--record-soft);
  border: 1px solid rgba(255,255,255,.09);
}

.mugshot-placeholder {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  border-radius: 16px;
  background: #20323d;
  border: 1px dashed rgba(255,255,255,.22);
  color: #aebdc2;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.record-profile h2 {
  margin: 0 0 8px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.25rem,4vw,3.7rem);
  font-weight: 500;
  letter-spacing: -.04em;
}

.record-subtitle {
  margin: 0 0 24px;
  color: #bfcbd0;
  font-size: 1rem;
}

.record-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

.record-fact {
  padding: 13px 15px;
  border-radius: 13px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.06);
}

.record-fact small {
  display: block;
  margin-bottom: 4px;
  color: #9fb1b7;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.record-fact strong {
  color: white;
  font-size: .97rem;
}

.affidavit-feature {
  margin: 54px 0;
  padding: 38px;
  border-radius: 24px;
  background: #f5f1eb;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.affidavit-feature .eyebrow {
  color: var(--clay-dark);
}

.affidavit-feature h2 {
  margin: 0 0 18px;
  max-width: 900px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.3rem,4.5vw,4.2rem);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -.045em;
}

.affidavit-feature > p {
  max-width: 900px;
  color: #5a5854;
}

.affidavit-quote {
  margin: 30px 0 0;
  padding: 28px 30px;
  border-left: 5px solid var(--clay);
  border-radius: 0 16px 16px 0;
  background: white;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.25rem,2.2vw,1.65rem);
  line-height: 1.62;
  color: #343638;
}

.affidavit-quote strong {
  color: #8f4e45;
}

.affidavit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.meta-chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: #e7e0d8;
  color: #54504b;
  font-size: .78rem;
  font-weight: 750;
}

.family-report-callout {
  margin: 38px 0 58px;
  padding: 32px;
  border-radius: 20px;
  background: #efe5e2;
  color: #3f3836;
  border: 1px solid #ddcac4;
}

.family-report-callout h2 {
  margin: 0 0 13px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2rem;
  font-weight: 500;
}

.family-report-callout p {
  max-width: 900px;
  margin-bottom: 0;
  line-height: 1.78;
}

.source-label {
  margin-bottom: 11px;
  color: #8f5f56;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.injury-grid,
.order-grid,
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

.injury-card,
.order-card {
  padding: 25px;
  border-radius: 17px;
  background: var(--record-soft);
  border: 1px solid rgba(255,255,255,.08);
}

.injury-card h3,
.order-card h3 {
  margin: 0 0 9px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.injury-card p,
.order-card p {
  margin: 0;
  color: #c5d0d4;
}

.record-section-heading {
  margin: 72px 0 28px;
}

.record-section-heading h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.2rem,4vw,3.5rem);
  font-weight: 500;
  letter-spacing: -.04em;
}

.record-section-heading p {
  max-width: 780px;
  color: #bdcbd0;
}

.archive-grid {
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.archive-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 25px;
  border-radius: 17px;
  background: var(--record-soft);
  border: 1px solid rgba(255,255,255,.08);
}

.archive-card.featured {
  background: #3d5665;
  border-color: rgba(255,255,255,.15);
}

.archive-card h3 {
  margin: 10px 0 10px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.archive-card p {
  margin: 0;
  color: #c3cfd3;
}

.archive-card .record-link {
  margin-top: auto;
  padding-top: 22px;
}

.release-timeline {
  position: relative;
  padding-left: 32px;
}

.release-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: rgba(255,255,255,.14);
}

.release-entry {
  position: relative;
  padding: 0 0 30px 22px;
}

.release-entry::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #a7bbb6;
  box-shadow: 0 0 0 5px var(--record);
}

.release-entry.alert::before {
  background: #c98275;
}

.release-entry .timeline-date {
  color: #a8bbb7;
}

.release-entry h3 {
  margin: 4px 0 7px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.release-entry p {
  margin: 0;
  color: #c3cfd3;
}

.record-disclaimer {
  margin-top: 58px;
  padding: 22px 24px;
  border-radius: 15px;
  background: rgba(255,255,255,.045);
  color: #b8c7cc;
  border: 1px solid rgba(255,255,255,.07);
  font-size: .91rem;
}

@media (max-width: 900px) {
  .record-profile {
    grid-template-columns: 1fr;
  }
  .mugshot-placeholder {
    max-width: 310px;
  }
  .record-facts,
  .injury-grid,
  .order-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }
}

/* === PUBLIC RECORD DETAIL END === */


/* === BOOKING PHOTOS START === */

.booking-photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.booking-photo-card {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #20323d;
  border: 1px solid rgba(255,255,255,.10);
}

.booking-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #182831;
}

.booking-photo-card figcaption {
  padding: 12px 13px 14px;
  color: #c2ced2;
  font-size: .76rem;
  line-height: 1.45;
}

.booking-photo-card figcaption strong {
  display: block;
  margin-bottom: 3px;
  color: white;
  font-size: .82rem;
}

.booking-record-link {
  display: inline-block;
  margin-top: 12px;
  color: #d9e4e7;
  font-size: .78rem;
  font-weight: 750;
}

@media (max-width: 560px) {
  .booking-photo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .booking-photo-card figcaption {
    padding: 10px;
    font-size: .68rem;
  }
}

/* === BOOKING PHOTOS END === */

/* === FEATURED COMPLAINT VIEWER START === */

.complaint-feature {
  width: 100%;
  margin: 0 0 56px;
}

.complaint-feature-head {
  margin-bottom: 22px;
}

.complaint-feature-head .eyebrow {
  margin-bottom: 10px;
}

.complaint-feature-head h2 {
  margin: 0;
  color: #edf2f3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4.5vw, 4.2rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -.04em;
}

.complaint-feature-head p {
  max-width: 850px;
  margin: 16px 0 0;
  color: #c7d2d6;
  font-size: 1rem;
  line-height: 1.7;
}

.pdf-preview-shell {
  overflow: hidden;
  width: 100%;
  border-radius: 18px;
  background: #16262f;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 22px 60px rgba(0,0,0,.18);
}

.pdf-preview-shell object,
.pdf-preview-shell iframe {
  display: block;
  width: 100%;
  height: min(88vh, 980px);
  min-height: 760px;
  border: 0;
  background: white;
}

.pdf-preview-fallback {
  padding: 24px;
  text-align: center;
  color: #c8d2d5;
}

.complaint-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 700px) {
  .pdf-preview-shell object,
  .pdf-preview-shell iframe {
    height: 72vh;
    min-height: 560px;
  }
}

/* === FEATURED COMPLAINT VIEWER END === */

/* === COMPLAINT VIEWER CLEANUP === */

.document-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 4px 14px;
  color: #dce5e8;
}

.document-preview-bar > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.document-preview-bar strong {
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.16rem;
  font-weight: 500;
}

.document-preview-bar span {
  color: #9fb0b7;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.document-preview-bar a {
  flex: 0 0 auto;
  color: #dce5e8;
  font-size: .82rem;
  font-weight: 750;
  text-decoration: none;
}

.document-preview-bar a:hover {
  color: #ffffff;
}

@media (max-width: 560px) {
  .document-preview-bar {
    align-items: flex-start;
  }
}

/* === END COMPLAINT VIEWER CLEANUP === */

/* === BOOKING RECORD MODAL START === */

.booking-record-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

body.modal-open {
  overflow: hidden;
}

.booking-modal[hidden] {
  display: none;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 28px;
}

.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 25, 31, .78);
  backdrop-filter: blur(5px);
}

.booking-modal-panel {
  position: relative;
  z-index: 1;
  width: min(940px, 100%);
  max-height: calc(100vh - 56px);
  overflow: hidden;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(0,0,0,.38);
}

.booking-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.booking-modal-header .document-type {
  margin: 0 0 3px;
  color: var(--muted);
}

.booking-modal-header h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.booking-modal-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.booking-modal-image-wrap {
  overflow: auto;
  max-height: calc(100vh - 145px);
  padding: 20px;
  background: #e9edf0;
  text-align: center;
}

.booking-modal-image-wrap img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,.14);
}

@media (max-width: 600px) {
  .booking-modal {
    padding: 12px;
  }

  .booking-modal-panel {
    max-height: calc(100vh - 24px);
  }

  .booking-modal-image-wrap {
    max-height: calc(100vh - 115px);
    padding: 10px;
  }
}

/* === BOOKING RECORD MODAL END === */


/* === HELP PAGE START === */

.help-intro {
  max-width: 840px;
  margin-bottom: 46px;
}

.help-intro p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.help-card {
  padding: 30px;
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.help-card:nth-child(1) {
  background: #f3f6f1;
}

.help-card:nth-child(2) {
  background: #f6f1ed;
}

.help-card:nth-child(3) {
  background: #f0f4f6;
}

.help-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  font-size: 1.45rem;
}

.help-card h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -.025em;
}

.help-card p {
  margin: 0;
  color: var(--muted);
}

.help-section {
  margin-top: 76px;
}

.help-section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.help-section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -.04em;
}

.help-section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.need-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.need-item {
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.need-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.need-item p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.65;
}

.help-callout {
  margin-top: 76px;
  padding: 40px;
  border-radius: 26px;
  background: var(--sage-soft);
  border: 1px solid rgba(82,96,84,.12);
}

.help-callout h2 {
  margin: 0 0 17px;
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -.035em;
}

.help-callout p {
  max-width: 820px;
  color: #526054;
  line-height: 1.78;
}

.support-note {
  margin-top: 26px;
  padding: 19px 21px;
  border-radius: 14px;
  background: rgba(255,255,255,.62);
  color: #526054;
  font-size: .92rem;
}

.support-coming {
  display: inline-flex;
  margin-top: 18px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(82,96,84,.14);
  color: var(--blue-dark);
  font-weight: 750;
  font-size: .84rem;
}

.small-help {
  margin-top: 76px;
  padding: 38px;
  border-radius: 24px;
  background: #f5efeb;
  border: 1px solid var(--line);
}

.small-help h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 500;
}

.small-help p {
  max-width: 850px;
  color: var(--muted);
  line-height: 1.8;
}

.small-help p:last-child {
  margin-bottom: 0;
}

@media (max-width: 850px) {
  .help-grid,
  .need-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .help-callout,
  .small-help {
    padding: 27px;
  }
}

/* === HELP PAGE END === */


/* === TRANSPARENCY PAGE START === */

.transparency-intro {
  max-width: 850px;
  margin-bottom: 54px;
}

.transparency-intro p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.transparency-section {
  margin-top: 68px;
}

.transparency-section:first-of-type {
  margin-top: 0;
}

.transparency-section-head {
  max-width: 780px;
  margin-bottom: 25px;
}

.transparency-section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -.035em;
}

.transparency-section-head p {
  margin: 15px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.fund-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fund-step {
  position: relative;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

.fund-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: #526054;
  font-weight: 800;
  font-size: .82rem;
}

.fund-step h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.fund-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.support-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.support-category {
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.support-category strong {
  display: block;
  margin-bottom: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

.support-category p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.trust-panel {
  margin-top: 68px;
  padding: 38px;
  border-radius: 24px;
  background: var(--sage-soft);
  border: 1px solid rgba(82,96,84,.12);
}

.trust-panel h2 {
  margin: 0 0 17px;
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -.035em;
}

.trust-panel p {
  max-width: 860px;
  color: #526054;
  line-height: 1.78;
}

.trust-status {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,.62);
  color: #526054;
  font-size: .93rem;
}

.update-list {
  display: grid;
  gap: 12px;
}

.update-item {
  padding: 21px 23px;
  border-left: 3px solid var(--blue);
  background: var(--paper);
  border-radius: 0 14px 14px 0;
}

.update-item strong {
  display: block;
  margin-bottom: 6px;
}

.update-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.transparency-note {
  margin-top: 60px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
}

@media (max-width: 800px) {
  .fund-flow,
  .support-categories {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .trust-panel {
    padding: 27px;
  }
}

/* === TRANSPARENCY PAGE END === */

/* === TRANSPARENCY SITE STEWARDSHIP START === */

.stewardship-panel {
  margin-top: 68px;
  padding: 34px 36px;
  border-radius: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.stewardship-panel h2 {
  margin: 0 0 17px;
  max-width: 800px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -.03em;
}

.stewardship-panel p {
  max-width: 880px;
  color: var(--muted);
  line-height: 1.78;
}

.stewardship-panel strong {
  color: var(--ink);
}

@media (max-width: 560px) {
  .stewardship-panel {
    padding: 27px;
  }
}

/* === TRANSPARENCY SITE STEWARDSHIP END === */

/* === ACTION PAGE START === */

.action-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  color: var(--blue-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .025em;
}

.action-intro {
  max-width: 860px;
  margin-bottom: 62px;
}

.action-intro p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.action-section {
  margin-top: 76px;
}

.action-section:first-of-type {
  margin-top: 0;
}

.action-section-head {
  max-width: 800px;
  margin-bottom: 30px;
}

.action-section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -.04em;
}

.action-section-head p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.78;
}

.law-panel {
  padding: 34px;
  border-radius: 22px;
  background: var(--record);
  color: #e9eff1;
}

.law-panel h3 {
  margin: 0 0 17px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 500;
}

.law-panel p {
  margin: 0 0 18px;
  max-width: 880px;
  color: #c8d4d9;
  line-height: 1.76;
}

.law-panel p:last-child {
  margin-bottom: 0;
}

.law-panel strong {
  color: #fff;
}

.law-source {
  margin-top: 23px;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #9fb0b7;
  font-size: .82rem;
  line-height: 1.65;
}

.case-sequence {
  display: grid;
  gap: 0;
  max-width: 900px;
}

.case-step {
  position: relative;
  padding: 0 0 30px 40px;
  border-left: 2px solid var(--line);
}

.case-step:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.case-step::before {
  content: "";
  position: absolute;
  top: 3px;
  left: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px var(--paper);
}

.case-step time {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.case-step h3 {
  margin: 0 0 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 600;
}

.case-step p {
  margin: 0;
  max-width: 780px;
  color: var(--muted);
  line-height: 1.7;
}

.proposal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.proposal-card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.proposal-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 17px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: #526054;
  font-weight: 800;
  font-size: .8rem;
}

.proposal-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 600;
}

.proposal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.scope-panel {
  margin-top: 62px;
  padding: 36px;
  border-radius: 22px;
  background: var(--sage-soft);
  border: 1px solid rgba(82,96,84,.12);
}

.scope-panel h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.12;
  font-weight: 500;
}

.scope-panel p {
  max-width: 850px;
  color: #526054;
  line-height: 1.78;
}

.scope-panel p:last-child {
  margin-bottom: 0;
}

.action-next {
  margin-top: 76px;
  padding: 38px;
  border-radius: 24px;
  background: #f3efea;
  border: 1px solid var(--line);
}

.action-next h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -.035em;
}

.action-next p {
  max-width: 820px;
  color: var(--muted);
  line-height: 1.78;
}

.action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

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

  .law-panel,
  .scope-panel,
  .action-next {
    padding: 27px;
  }
}

/* === ACTION PAGE END === */


/* === SITE NOTICE / LEGAL HOUSEKEEPING START === */

.record-legal-notice {
  padding: 0 0 54px;
}

.record-legal-notice p {
  margin: 0;
  padding: 18px 21px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  color: #afbdc3;
  font-size: .84rem;
  line-height: 1.7;
}

.record-legal-notice strong {
  color: #e6edef;
}

.footer-site-notice {
  margin-top: 13px;
  font-size: .8rem;
}

.footer-site-notice a {
  color: inherit;
  opacity: .72;
  text-decoration: none;
}

.footer-site-notice a:hover {
  opacity: 1;
  text-decoration: underline;
}

.site-notice-intro {
  max-width: 820px;
  margin-bottom: 54px;
}

.site-notice-intro p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.site-notice-grid {
  display: grid;
  gap: 16px;
}

.site-notice-card {
  padding: 28px 30px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.site-notice-card h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 600;
}

.site-notice-card p {
  margin: 0 0 13px;
  max-width: 880px;
  color: var(--muted);
  line-height: 1.72;
}

.site-notice-card p:last-child {
  margin-bottom: 0;
}

/* === SITE NOTICE / LEGAL HOUSEKEEPING END === */


/* === FOOTER LAYOUT REFINEMENT START === */

.footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, .85fr) minmax(0, 1.4fr);
  gap: 32px 48px;
  align-items: start;
}

.footer-brand {
  line-height: 1.55;
}

.footer-brand strong {
  display: block;
  margin-bottom: 5px;
}

.footer-brand span {
  display: block;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px 20px;
}

.footer-links a {
  white-space: nowrap;
}

/* Old standalone Site Notice row is no longer used. */
.footer-site-notice {
  display: none;
}

@media (max-width: 820px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 10px 18px;
  }
}

@media (max-width: 480px) {
  .footer-links {
    gap: 9px 15px;
  }
}

/* === FOOTER LAYOUT REFINEMENT END === */

/* === PUBLIC CONTACT START === */

.footer-contact {
  display: inline-block;
  margin-top: 8px;
  color: inherit;
  opacity: .78;
  font-size: .84rem;
  text-decoration: none;
}

.footer-contact:hover {
  opacity: 1;
  text-decoration: underline;
}

/* === PUBLIC CONTACT END === */


/* BabyGeletta GoFundMe block */
.fundraiser-live {
  margin-top: 2rem;
}

.fundraiser-embed {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 2rem;
}

.fundraiser-direct {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .55);
}

.fundraiser-direct h3 {
  margin-top: .25rem;
}

.fundraiser-button {
  display: inline-block;
  margin-top: .75rem;
  padding: .85rem 1.15rem;
  border-radius: .6rem;
  font-weight: 700;
  text-decoration: none;
  background: #222;
  color: #fff;
}

.fundraiser-button:hover,
.fundraiser-button:focus-visible {
  opacity: .86;
}

.fundraiser-qr-link {
  display: block;
  line-height: 0;
}

.fundraiser-qr {
  display: block;
  width: min(220px, 38vw);
  height: auto;
  border-radius: .75rem;
}

@media (max-width: 700px) {
  .fundraiser-direct {
    grid-template-columns: 1fr;
  }

  .fundraiser-qr-link {
    justify-self: center;
  }

  .fundraiser-qr {
    width: min(240px, 72vw);
  }
}


/* Baby Geletta story photos */
.story-photo-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, .75fr);
  gap: 1rem;
  margin: 2.5rem 0 3.25rem;
}

.story-photo-primary,
.story-photo-secondary {
  overflow: hidden;
  border-radius: 1rem;
  background: rgba(0, 0, 0, .04);
}

.story-photo-feature img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-photo-primary {
  aspect-ratio: 4 / 3;
}

.story-photo-secondary {
  aspect-ratio: 3 / 4;
}

.story-photo-feature figcaption {
  grid-column: 1 / -1;
  margin-top: .15rem;
  font-size: .9rem;
  line-height: 1.5;
  opacity: .72;
}

.story-photo-feature figcaption span {
  white-space: nowrap;
}

@media (max-width: 700px) {
  .story-photo-feature {
    grid-template-columns: 1fr;
    margin: 2rem 0 2.75rem;
  }

  .story-photo-primary,
  .story-photo-secondary {
    aspect-ratio: auto;
  }

  .story-photo-feature img {
    height: auto;
  }

  .story-photo-feature figcaption {
    grid-column: auto;
  }
}




/* Baby Geletta affidavit photograph */
.affidavit-baby-photo {
  margin: 2rem 0;
}

.affidavit-baby-photo img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: rgba(0, 0, 0, .18);
  border-radius: .8rem;
}

.affidavit-baby-photo figcaption {
  margin-top: .8rem;
  font-size: .9rem;
  line-height: 1.55;
  opacity: .8;
}

.affidavit-baby-photo figcaption strong {
  display: block;
  margin-bottom: .2rem;
}


/* === SITE DENSITY PASS 2026-09 === */

/* Shared page rhythm */
.page-hero {
  padding: 58px 0 50px;
}

.page-hero-lede {
  margin-top: 20px;
  line-height: 1.65;
}

.page-content {
  padding: 54px 0 68px;
}

.actions {
  margin-top: 24px;
}


/* Story */
.story-intro p {
  line-height: 1.72;
}

.story-break {
  margin: 36px 0;
}

.story-section {
  margin-top: 42px;
}

.story-section h2 {
  margin-bottom: 14px;
}

.story-section p {
  line-height: 1.7;
}

.story-timeline {
  margin-top: 38px;
}

.story-next {
  margin-top: 46px;
  padding: 30px;
}

.story-photo-feature {
  margin-top: 1.75rem;
  margin-bottom: 2.25rem;
}


/* Public record */
.record-profile {
  margin-bottom: 28px;
}

.affidavit-feature {
  margin: 38px 0;
  padding: 30px;
}

.affidavit-feature h2 {
  margin-bottom: 14px;
}

.affidavit-quote {
  margin-top: 22px;
  padding: 22px 24px;
}

.affidavit-meta {
  margin-top: 20px;
}

.family-report-callout {
  margin: 28px 0 40px;
  padding: 26px;
}

.record-section-heading {
  margin: 48px 0 20px;
}

.archive-card {
  min-height: 210px;
}


/* Help */
.help-section {
  margin-top: 52px;
}

.help-section-heading {
  margin-bottom: 22px;
}

.help-section-heading p {
  margin-top: 12px;
  line-height: 1.65;
}

.help-callout {
  margin-top: 52px;
  padding: 32px;
}

.help-callout h2 {
  margin-bottom: 14px;
}

.help-callout p {
  line-height: 1.65;
}

.support-note {
  margin-top: 20px;
  padding: 16px 18px;
}


/* Smaller screens: compact without becoming cramped */
@media (max-width: 560px) {
  .page-hero {
    padding: 44px 0 38px;
  }

  .page-content {
    padding: 44px 0 56px;
  }

  .story-section {
    margin-top: 34px;
  }

  .story-break {
    margin: 30px 0;
  }

  .story-next,
  .affidavit-feature,
  .family-report-callout,
  .help-callout {
    padding: 24px;
  }

  .help-section {
    margin-top: 42px;
  }

  .record-section-heading {
    margin-top: 40px;
  }
}

/* === SITE DENSITY PASS END === */


/* Baby Geletta homepage hero photo */
.hero-photo-card {
  margin: 0;
  overflow: hidden;
}

.hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  background: #d8ddd9;
}

.hero-photo-caption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
  background: rgba(255,255,255,.72);
  border-top: 1px solid var(--line);
}

@media (max-width: 700px) {
  .hero-photo {
    aspect-ratio: 4 / 4.6;
  }
}

/* Remove legacy placeholder frame from live hero photo */
.hero-photo-card::before {
  content: none;
  display: none;
}


/* === HOMEPAGE HERO COMPACT === */

.hero {
  padding: 54px 0 48px;
}

.hero-grid {
  gap: 46px;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  line-height: .98;
}

.hero-lede {
  margin-top: 20px;
  max-width: 700px;
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.58;
}

.hero-lede-secondary {
  margin-top: 13px;
}

.hero .actions {
  margin-top: 23px;
}

.hero-photo-card {
  min-height: 0;
}

.hero-photo {
  aspect-ratio: 4 / 4.35;
  object-position: center center;
}

.hero-photo-caption {
  padding: 9px 13px 11px;
  font-size: .78rem;
}

@media (max-width: 800px) {
  .hero {
    padding: 46px 0 44px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-photo {
    aspect-ratio: 4 / 4;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 38px 0 40px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 3.3rem);
  }

  .hero-lede {
    font-size: 1rem;
    line-height: 1.55;
  }
}

/* === HOMEPAGE HERO COMPACT END === */

/* === BABY GELETTA BRAND LOGO === */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 52px;
  max-width: min(360px, 46vw);
  object-fit: contain;
}

@media (max-width: 700px) {
  .brand-logo {
    height: 44px;
    max-width: 58vw;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    height: 38px;
    max-width: 62vw;
  }
}
/* === BABY GELETTA BRAND LOGO END === */


/* Mobile hero photo placement */
.hero-photo-mobile {
  display: none;
  margin: 0;
}

@media (max-width: 800px) {
  .hero-photo-mobile {
    display: block;
    margin: 14px 0 22px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .hero-photo-mobile img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3.7;
    object-fit: cover;
    object-position: center;
  }

  .hero > .wrap > .hero-photo-card,
  .hero-grid > .hero-photo-card {
    display: none;
  }
}

/* === MOBILE FULL HEADER NAV === */
@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 10px 0 12px;
  }

  .nav {
    order: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a,
  .nav a:not(.nav-help) {
    display: inline-flex;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .nav-help {
    padding: 8px 13px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    min-height: 0;
  }

  .nav {
    gap: 14px;
    font-size: .86rem;
  }
}
/* === MOBILE FULL HEADER NAV END === */

/* Hide Take Action from mobile/tablet header only */
@media (max-width: 900px) {
  .nav a[href="/action/"] {
    display: none !important;
  }
}

/* Center mobile header navigation */
@media (max-width: 900px) {
  .nav {
    justify-content: center;
  }
}
