/* ==========================================================================
   ServiceAnimalLaw.com Design System
   Palette:  ink #17305a / coral #cd483a / warm white #F7F5F2
   Type:     Source Serif 4 (display) + Source Sans 3 (interface)
   ========================================================================== */

:root {
  --ink: #17305a;
  --ink-2: #1e3a6b;
  --ink-soft: #3a5278;
  --paper: #F7F5F2;
  --paper-2: #EFECE7;
  --card: #FFFFFF;
  --brass: #cd483a;
  --brass-light: #e05f52;
  --denied: #9C3B3B;
  --denied-2: #7A2E2E;
  --resolved: #3F6B52;
  --text: #1E2233;
  --text-muted: #5B6172;
  --border: #E2DED7;
  --radius: 3px;
  --serif: "Source Serif 4", Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SF Mono", "IBM Plex Mono", "Courier New", Menlo, Consolas, monospace;
  --shadow-card: 0 1px 2px rgba(23,48,90,0.06), 0 8px 24px -12px rgba(23,48,90,0.18);
  --shadow-lift: 0 4px 8px rgba(23,48,90,0.08), 0 20px 40px -16px rgba(23,48,90,0.28);
  /* Coral decorative underline (complement to navy ink; same pattern as verify-dog .esa-uline) */
  --uline: var(--brass);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-section: 96px;
  --pad-card: 24px;
  --pad-card-lg: 32px;
  --gap-cluster: 18px;
}

* { 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;
  font-family: var(--sans);
  font-size: 18px;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  hyphens: none;
  -webkit-hyphens: none;
}

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: 48px; line-height: 1.08; }
h2 { font-size: 48px; line-height: 1.12; }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.55rem); line-height: 1.25; }
p { margin: 0 0 1em; color: var(--text-muted); }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* Coral hand-drawn underline for key phrases inside headings */
.uline {
  text-decoration-line: underline;
  text-decoration-color: var(--uline);
  -webkit-text-decoration-color: var(--uline);
  text-decoration-thickness: 0.13em;
  text-underline-offset: 0.16em;
  text-decoration-skip-ink: none;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 var(--space-3); }
.section { padding: var(--space-section) 0; }
.section--tight { padding: var(--space-5) 0; }
.section--ink { background: var(--ink); color: #EDEFF4; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: #B9C0D4; }
.section--paper2 { background: var(--paper-2); }

.section-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto var(--space-5);
}
.section-intro h2 { margin-bottom: var(--space-2); }
.section-intro p { margin: 0; font-size: 1.125rem; }

.eyebrow {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.page-hero .eyebrow {
  color: var(--brass-light);
  font-size: 15px;
  font-weight: 700;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 28px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--ink-2); box-shadow: var(--shadow-lift); }
.btn--brass { background: var(--brass); color: #fff; }
.btn--brass:hover { background: var(--brass-light); box-shadow: var(--shadow-lift); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 70;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo {
  display: block;
  height: auto;
  width: auto;
  max-height: 48px;
}
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-name { font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: 1.18rem; line-height: 1.15; }
.brand-name span { display: block; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; color: var(--ink-soft); text-transform: uppercase; font-weight: 600; margin-top: 2px; }

.main-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: #fff;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 88px 28px 32px;
  gap: 0;
  display: flex;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 60;
  box-shadow: none;
  overflow-y: auto;
  border-left: 1px solid var(--border);
}
.main-nav.open {
  transform: translateX(0);
  box-shadow: -16px 0 40px rgba(23, 48, 90, 0.12);
}
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 14px 0;
  width: 100%;
  border-bottom: 1px solid var(--border);
}
.main-nav a:hover { color: var(--brass); }
.nav-toggle {
  display: block;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 11px;
  cursor: pointer;
  position: relative;
  z-index: 70;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 48, 90, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 55;
}
.nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 64px; }
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero .lede { font-size: 1.12rem; color: var(--text-muted); max-width: 46ch; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(23,48,90,0.04);
  white-space: nowrap;
}
.hero-trust svg {
  flex-shrink: 0;
  color: var(--brass);
}

/* Editorial homepage hero */
.hero--editorial {
  padding: var(--space-6) 0 40px;
  min-height: clamp(640px, 78vh, 820px);
  display: flex;
  align-items: center;
}
.hero--editorial .container {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--space-6);
  align-items: center;
  width: 100%;
}
.hero--editorial .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}
.hero--editorial .eyebrow { margin-bottom: 0; }
.hero--editorial h1 {
  font-size: 48px;
  line-height: 1.08;
  margin: 0;
}
.hero--editorial .lede {
  font-size: 1.2rem;
  line-height: 1.65;
  max-width: none;
  width: 100%;
  margin: 0;
}
.cta-cluster {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: var(--space-1);
  width: 100%;
}
.hero--editorial .hero-actions {
  margin: 0;
  justify-content: center;
  width: 100%;
}
.trust-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}
.trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 8px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(23,48,90,0.04);
}
.trust-line svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--brass);
}
.trust-line--final {
  margin-top: 0;
}

.hero-photo {
  position: relative;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  min-height: 520px;
  box-shadow: var(--shadow-lift);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}
.hero-photo .stamp--denied { top: 20%; left: 4%; right: auto; }
.hero-photo .stamp--review { bottom: 6%; left: 4%; }
.hero-photo .stamp--reject { bottom: 6%; right: 4%; left: auto; }

/* Trust strip (ADA / FHA) */
.trustStrip {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.trustInner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.trustIntro {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.trustMarks {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 0;
}
.lawMark {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  min-height: 48px;
}
/* ADA: letters beside name */
.trustMarks .lawMark:first-child {
  flex-direction: row;
  align-items: center;
  text-align: left;
}
/* FHA: letters stacked over name */
.trustMarks .lawMark:nth-child(3) {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
}
.lawLetters {
  font-family: var(--sans);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1;
}
.lawName {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.25;
}
.trustDivider {
  width: 1px;
  height: 40px;
  align-self: center;
  background: var(--border);
  margin: 0 26px;
  flex-shrink: 0;
}
.missionMark {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}
.shieldIcon {
  width: 34px;
  height: 40px;
  color: var(--ink);
  flex-shrink: 0;
  display: block;
}
.missionText {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

/* Situation photo cards */
.situations { background: var(--paper); }
.situation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.situation-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.situation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.situation-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}
.situation-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.situation-card:hover .situation-card__media img { transform: scale(1.04); }
.situation-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  padding: var(--pad-card);
  flex: 1;
}
.situation-card__body h3 {
  margin: 0;
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
}
.situation-card__body p {
  margin: 0;
  flex: 1;
  font-size: 1rem;
}
.situation-card__link {
  margin-top: auto;
  padding-top: var(--space-1);
  font-weight: 700;
  color: var(--brass);
  font-size: 0.98rem;
}

/* Journey steps: no cards, connected line */
.journey { background: var(--card); }
.steps--journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 0;
  text-align: center;
  position: relative;
}
.steps--journey::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--border);
}
.steps--journey .step {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  gap: 14px;
  align-items: center;
  text-align: center;
}
.steps--journey .step:hover {
  transform: none;
  box-shadow: none;
  border: none;
}
.steps--journey .step-num {
  width: 56px;
  height: 56px;
  background: var(--card);
  color: var(--brass);
  border: 1.5px solid var(--brass);
  position: relative;
  z-index: 1;
  font-size: 1rem;
  margin: 0 auto;
}
.steps--journey .step-code { display: none; }
.steps--journey h3 {
  margin: 8px 0 0;
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
}
.steps--journey p {
  font-size: 1.05rem;
  max-width: 32ch;
  margin-left: auto;
  margin-right: auto;
}

/* Full-width emotional interrupt */
.photo-interrupt {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.photo-interrupt__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.photo-interrupt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247,245,242,0.92) 0%, rgba(247,245,242,0.78) 42%, rgba(247,245,242,0.15) 72%, rgba(247,245,242,0) 100%);
}
.photo-interrupt__content {
  position: relative;
  z-index: 1;
  padding-top: 96px;
  padding-bottom: 96px;
  max-width: 1180px;
}
.photo-interrupt__quote {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.15;
  color: var(--ink);
  max-width: 16ch;
  margin: 0 0 22px;
  font-weight: 700;
}
.photo-interrupt__quote::before {
  content: "“";
  display: block;
  color: var(--brass);
  font-size: 4rem;
  line-height: 0.7;
  margin-bottom: 12px;
}
.photo-interrupt__aside {
  max-width: 36ch;
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Commitment: editorial split */
.commitment { padding: var(--space-section) 0; }
.commitment__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-6);
  align-items: start;
}
.commitment__lead h2 {
  color: #fff;
  margin-bottom: var(--space-3);
  max-width: 16ch;
}
.commitment__lead p {
  color: #B9C0D4;
  font-size: 1.1rem;
  max-width: 40ch;
  margin: 0;
}
.commitment__principles {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-1);
}
.commitment__principles h3 {
  color: #fff;
  font-size: 1.35rem;
  margin: 0 0 var(--space-1);
}
.commitment__principles p {
  margin: 0;
  color: #9AA3BB;
  font-size: 1.02rem;
}

/* Final CTA */
.final-cta {
  padding: var(--space-section) 0;
  background: var(--paper);
}
.final-cta__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-6);
  align-items: center;
}
.final-cta__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}
.final-cta__copy .eyebrow { margin-bottom: 0; }
.final-cta__copy h2 {
  font-size: 48px;
  margin: 0;
}
.final-cta__copy .lede {
  font-size: 1.2rem;
  max-width: 34ch;
  margin: 0;
}
.final-cta__copy .btn { margin-top: 0; }
.final-cta__photo {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow-card);
}
.final-cta__photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

/* ---------- Stamp signature element ---------- */
.case-file {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow-lift);
  padding: 34px 32px 30px;
  transform: rotate(-1.1deg);
  max-width: 460px;
  margin: 0 auto;
}
.case-file::before {
  content: "";
  position: absolute; inset: 10px;
  border: 1px dashed rgba(23,48,90,0.15);
  border-radius: 2px;
  pointer-events: none;
}
.case-file .doc-code { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--text-muted); display: flex; justify-content: space-between; margin-bottom: 18px; }
.case-file .doc-line { height: 9px; background: var(--paper-2); border-radius: 2px; margin-bottom: 10px; }
.case-file .doc-line.w-90 { width: 90%; } .case-file .doc-line.w-75 { width: 75%; } .case-file .doc-line.w-60 { width: 60%; } .case-file .doc-line.w-40 { width: 40%; }
.case-file .doc-title { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); margin-bottom: 14px; font-weight: 700; }
.case-file--scene .scene-photo { width: 100%; height: auto; display: block; border-radius: 3px; }
.case-file--scene .stamp--denied { top: 20%; left: 4%; right: auto; }
.case-file--scene .stamp--review { bottom: 6%; left: 4%; }
.case-file--scene .stamp--reject { bottom: 6%; right: 4%; left: auto; }

.stamp {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  background: var(--ink);
  border: 2.5px solid var(--stamp-accent, var(--brass));
  border-radius: 6px;
  padding: 8px 14px;
  display: inline-block;
  position: relative;
  transform: rotate(-7deg);
  opacity: 0;
  text-align: center;
  line-height: 1.3;
  max-width: 170px;
  white-space: normal;
  box-shadow: 0 3px 10px rgba(0,0,0,0.35);
  animation: stamp-thud 0.45s cubic-bezier(.36,1.6,.55,1) 0.5s forwards;
}
.stamp::after {
  content: ""; position: absolute; inset: -5px;
  border: 1px solid var(--stamp-accent, var(--brass)); border-radius: 8px; opacity: 0.6;
}
.stamp--denied { --stamp-accent: #E0392F; color: #FFD84D; position: absolute; top: 44%; right: 6%; }
.stamp--review {
  --stamp-accent: #E0392F;
  color: #fff;
  position: absolute; bottom: 14%; left: 8%;
  animation: stamp-thud 0.45s cubic-bezier(.36,1.6,.55,1) 1.15s forwards;
  transform: rotate(4deg);
}
.stamp--reject {
  --stamp-accent: #FFD84D;
  color: #fff;
  position: absolute; bottom: 10%; right: 6%;
  animation: stamp-thud 0.45s cubic-bezier(.36,1.6,.55,1) 1.75s forwards;
  transform: rotate(-3deg);
}
@keyframes stamp-thud {
  0% { opacity: 0; transform: scale(2.4) rotate(-7deg); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: scale(1) rotate(-7deg); }
}
.stamp--review { }
.stamp--review.stamp { animation-name: stamp-thud-review; }
@keyframes stamp-thud-review {
  0% { opacity: 0; transform: scale(2.4) rotate(4deg); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: scale(1) rotate(4deg); }
}

/* generic stamp badge used on cards / status */
.stamp-badge {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid currentColor;
  border-radius: 4px;
  padding: 3px 9px;
  display: inline-block;
  transform: rotate(-4deg);
  color: var(--brass);
}
.stamp-badge--lg {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  padding: 8px 16px;
  border-width: 2.5px;
  border-radius: 5px;
  margin-bottom: 20px;
}
.stamp-badge--denied { color: var(--denied); }
.stamp-badge--review { color: var(--brass); }
.stamp-badge--resolved { color: var(--resolved); }

/* Your Rights law cards */
.rights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.rights-card {
  background: var(--card);
  border: 1px solid var(--brass);
  border-radius: 4px;
  padding: 36px 32px 32px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.rights-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-6px);
  border-color: var(--brass-light);
}
.rights-card .stamp-badge { margin-bottom: 22px; }
.rights-card h2 {
  font-size: 48px;
  line-height: 1.1;
  margin: 0 0 16px;
}
.rights-card p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1em;
}
.rights-card p:last-child { margin-bottom: 0; }

/* ---------- Legacy trust cards (unused on homepage) ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 36px 0;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: 0 1px 2px rgba(23,48,90,0.04);
}
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(205,72,58,0.1);
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { display: block; }
.trust-item h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.25;
}
.trust-item p {
  font-size: 0.86rem;
  margin: 0;
  line-height: 1.45;
  color: var(--text-muted);
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  text-align: left;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px 30px;
  box-shadow: 0 1px 2px rgba(23,48,90,0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.step:hover {
  border-color: rgba(205,72,58,0.35);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.step .step-code {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brass);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(205,72,58,0.1);
  margin: 0;
}
.step h3 {
  margin: 4px 0 0;
  font-size: 1.2rem;
  line-height: 1.25;
}
.step p {
  font-size: 0.93rem;
  margin: 0;
  line-height: 1.55;
}
.steps-rule { display: none; }

/* ---------- Complaint category cards ---------- */
.cat-banner {
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.cat-banner h2 { color: #fff; font-size: 1.4rem; line-height: 1.25; margin-bottom: 4px; }
.cat-banner p { color: #B9C0D4; margin: 0; font-size: 0.92rem; }
.cat-banner-left { display: flex; align-items: center; gap: 18px; }
.cat-banner-left > svg { color: var(--brass-light); flex-shrink: 0; }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cat-card {
  background: var(--card);
  border: 1px solid var(--brass);
  border-radius: 4px;
  padding: var(--pad-card-lg) var(--pad-card);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.cat-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-6px);
  border-color: var(--brass-light);
}
.cat-card .doc-code {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  display: block;
  text-transform: uppercase;
}
.cat-card .doc-code .doc-code__label { color: var(--brass); }
.cat-card .cat-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--ink);
  transition: transform 0.25s ease, background 0.25s ease;
}
.cat-card:hover .cat-icon { transform: scale(1.06); background: #f3ebe9; }
.cat-card h3 { color: var(--ink); margin-bottom: 8px; }
.cat-card p { font-size: 0.9rem; margin-bottom: 16px; }
.cat-card .cat-link {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--brass);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: color 0.2s ease, gap 0.2s ease;
}
.cat-card:hover .cat-link { color: var(--brass-light); gap: 10px; }

/* ---------- Forms ---------- */
.form-wrap { background: var(--card); border: 1px solid var(--border); border-radius: 4px; box-shadow: var(--shadow-card); overflow: hidden; }
.form-head { padding: var(--pad-card-lg); border-bottom: 1px solid var(--border); background: var(--paper-2); }
.form-head .doc-code {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brass);
  margin-bottom: 8px;
  display: block;
  text-transform: uppercase;
}
.form-head h2 { margin-bottom: 6px; font-size: 2rem; line-height: 1.2; }
.form-body { padding: var(--pad-card-lg); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.form-col h4 { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin: 0 0 20px; padding-bottom: 10px; border-bottom: 2px solid var(--brass); display: inline-block; }
.field { margin-bottom: 18px; position: relative; }
.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field label .req { color: var(--denied); }
.field label.sr-only,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}
.field select:required:invalid {
  color: var(--text-muted);
}
.field select option {
  color: var(--text);
}
.field-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  margin-bottom: 0;
}
.field-row .field { margin-bottom: 18px; }
.check-legend {
  margin: 0 0 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}
.check-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}
.check-option input {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--brass);
}
.check-option span { line-height: 1.35; }
.field--checks { margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--sans); font-size: 0.94rem; color: var(--text); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(205,72,58,0.18);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

.upload-box {
  border: 1.5px dashed var(--border); border-radius: var(--radius);
  padding: 30px 16px; text-align: center; cursor: pointer; background: var(--paper);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.upload-box:hover, .upload-box.dragover { border-color: var(--brass); background: #FDF2F0; }
.upload-box svg { color: var(--brass); margin-bottom: 10px; }
.upload-box p { margin: 0; font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.upload-box small { color: var(--text-muted); font-size: 0.78rem; }
.upload-list { margin-top: 12px; font-size: 0.82rem; }
.upload-list .file-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; background: var(--paper-2); border-radius: 3px; margin-bottom: 6px; }
.upload-list .file-row button { border: none; background: none; color: var(--denied); cursor: pointer; font-size: 0.9rem; }

.confidential-note { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-top: 16px; }
.confidential-note svg { color: var(--brass); flex-shrink: 0; margin-top: 2px; }
.confidential-note p { margin: 0; font-size: 0.82rem; }

.form-foot {
  padding: var(--space-4) var(--pad-card-lg) var(--pad-card-lg);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.form-foot--centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
}
.form-foot--centered .consent {
  max-width: 52ch;
  text-align: left;
  margin: 0 auto;
}
.consent { display: flex; gap: 10px; align-items: flex-start; max-width: 60ch; }
.consent input { margin-top: 4px; flex-shrink: 0; accent-color: var(--brass); }
.consent p { font-size: 0.82rem; margin: 0; }
.form-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: var(--space-1);
}
.form-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.form-trust svg {
  flex-shrink: 0;
  color: var(--brass);
}
.form-badges { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.8rem; color: var(--text-muted); }
.form-badges span { display: flex; align-items: center; gap: 6px; }
.form-badges svg { color: var(--resolved); }

/* ---------- Values / mission ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 40px; }
.value-item { text-align: left; }
.value-item svg { color: var(--brass); margin-bottom: 12px; }
.value-item h3 { font-size: 1rem; }
.value-item p { font-size: 0.86rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B9C0D4; padding: 64px 0 26px; }
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  flex-wrap: wrap;
}
.footer-brand-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
  max-width: 280px;
  text-align: left;
  flex-shrink: 0;
}
.footer-brand {
  display: flex;
  gap: 12px;
  margin-bottom: 0;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}
.footer-social--icons {
  margin-top: 0;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.footer-address {
  margin: 0;
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.55;
  font-weight: 400;
  text-align: left;
}
.footer-brand .brand-name { color: #fff; }
.brand-logo--footer {
  max-height: 44px;
  width: auto;
  height: auto;
}
.footer-no-fees-wrap {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 120px;
  padding-top: 0;
}
.footer-no-fees {
  display: block;
  width: auto;
  height: auto;
  max-height: 140px;
  max-width: 140px;
}
.footer-nav {
  display: flex;
  gap: 48px;
  margin-left: 0;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.site-footer p.desc { font-size: 0.86rem; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col a { display: block; text-decoration: none; color: #B9C0D4; font-size: 0.88rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--brass-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.78rem; }
.footer-social { display: flex; gap: 14px; }
.footer-social a { color: #B9C0D4; }
.footer-social a:hover { color: var(--brass-light); }
.footer-social--icons {
  margin-top: 0;
  gap: 12px;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
}
.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(185, 192, 212, 0.35);
  border-radius: 50%;
  color: #fff;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.footer-social__link:hover {
  color: var(--brass-light);
  border-color: var(--brass-light);
  background: rgba(205, 72, 58, 0.12);
}

.form-wrap--contact { max-width: 640px; margin: 0 auto; }
.form-body--contact {
  display: block;
  padding: 28px 32px;
}
.form-body--contact .field { margin-bottom: 18px; }
.form-body--contact .field-row { margin-bottom: 0; }

/* ---------- Simple content pages ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 64px 0 48px; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #B9C0D4; max-width: 60ch; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.5em; color: var(--ink); }
.prose ul, .prose ol { color: var(--text-muted); padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-q { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; color: var(--ink); }
.accordion-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.accordion-a p { padding-bottom: 18px; }
.accordion-item.open .accordion-a { max-height: 400px; }
.accordion-item.open .accordion-q svg { transform: rotate(45deg); }
.accordion-q svg { transition: transform 0.2s ease; }

/* ---------- Layout primitives: stack, flex (cluster), flow grid ---------- */
.stack {
  display: flex;
  flex-direction: column;
  gap: var(--stack-gap, 1rem);
}
.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cluster-gap, 14px);
}
.flow-grid {
  display: grid;
  gap: var(--flow-gap, 26px);
  grid-template-columns: 1fr;
}
@media (min-width: 721px) {
  .flow-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .flow-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .flow-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 981px) {
  .flow-grid--auto {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.eyebrow--center { justify-content: center; }
.lede-center { max-width: 52ch; margin: 0 auto; }
.lede-mission { max-width: 70ch; }
.lede-cta { max-width: 50ch; margin: 0 auto 24px; }
.lede-contact { max-width: 60ch; }
.lede-thankyou { max-width: 50ch; margin: 0 auto 8px; }
.ref-note { font-size: 0.85rem; }

.section--ink .value-item h3 { color: #fff; }
.footer-social--spaced { margin-top: 16px; }
.steps--flush { margin-top: 0; }

.measure {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.measure--sm {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.measure--spaced {
  max-width: 760px;
  margin: 32px auto 0;
}
.prose.measure,
.prose.measure--sm { margin-left: auto; margin-right: auto; }

.cat-card--static { cursor: default; }
.req { color: var(--denied); }
.field-hint--upload { margin-top: -8px; margin-bottom: 14px; }
.container--form-foot { padding-top: 0; padding-bottom: 22px; }
.badge-row--start { justify-content: flex-start; }
.footer-muted-link { color: #B9C0D4; text-decoration: none; }
.footer-muted-link:hover { color: var(--brass-light); }
.confidential-note--wide { max-width: 100%; }
.confidential-note--center {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.case-file--static {
  transform: none;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.spacer-md { height: 40px; flex-shrink: 0; }
.stamp--static-resolved {
  color: #6FCF97;
  --stamp-accent: #3F6B52;
  position: static;
  opacity: 1;
  animation: none;
  transform: rotate(-3deg);
}
.hero-actions--center {
  justify-content: center;
  margin-top: 24px;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 48px; }
.badge-row { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.badge-row span { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--text-muted); }
.badge-row svg { color: var(--resolved); }

/* ---------- Responsive (mobile first collapse) ---------- */
@media (max-width: 980px) {
  .hero .container,
  .hero--editorial .container,
  .final-cta__grid,
  .commitment__grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-photo,
  .hero-photo img { min-height: 360px; }
  .hero--editorial { min-height: 0; padding: var(--space-5) 0 36px; }
  .hero--editorial h1 { font-size: clamp(2rem, 8vw, 48px); }
  .trust-grid, .steps, .cat-grid, .values-grid, .situation-grid, .rights-grid { grid-template-columns: repeat(2, 1fr); }
  .steps--journey { grid-template-columns: 1fr; gap: 36px; }
  .steps--journey::before { display: none; }
  .footer-grid { flex-direction: column; gap: 36px; }
  .footer-nav { margin-left: 0; gap: 32px; }
  .form-body { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .rights-grid { grid-template-columns: 1fr; }
  h1, h2, .rights-card h2, .hero--editorial h1 { font-size: clamp(2rem, 8vw, 48px); }
  .photo-interrupt::after {
    background: linear-gradient(180deg, rgba(247,245,242,0.92) 0%, rgba(247,245,242,0.82) 55%, rgba(247,245,242,0.35) 100%);
  }
  .photo-interrupt__quote { max-width: 22ch; }
  .cred-list { justify-content: center; }
  .trustInner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
  .trustIntro { max-width: none; }
  .final-cta__photo { order: -1; }
}
@media (max-width: 720px) {
  .nav-cta { display: none; }
  .trust-grid, .cat-grid, .values-grid, .situation-grid, .rights-grid { grid-template-columns: 1fr; }
  .footer-nav { flex-direction: column; gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .section, .commitment, .final-cta { padding: 64px 0; }
  .cat-banner { flex-direction: column; align-items: flex-start; }
  .header-actions { gap: 10px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .form-head, .form-body, .form-foot { padding-left: 20px; padding-right: 20px; }
  .form-body { padding-top: 28px; padding-bottom: 28px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .cred-list { flex-direction: column; align-items: center; gap: 12px; }
  .trustMarks {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
  .trustDivider {
    width: 100%;
    height: 1px;
    min-height: 0;
    margin: 4px 0;
  }
  .photo-interrupt { min-height: 480px; }
  .brand-name span { display: none; }
  .brand-logo { max-height: 40px; }
}
