:root {
  --ink: #123233;
  --deep: #071f24;
  --sage: #2f8f6d;
  --mint: #d9f2e7;
  --coral: #d86b4b;
  --oat: #f7efe3;
  --linen: #fbf8f2;
  --paper: #ffffff;
  --blue: #234e70;
  --line: #d9e2de;
  --muted: #53635f;
  --shadow: 0 22px 60px rgba(18, 50, 51, 0.14);
  --header-height: 109px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

figure {
  margin: 0;
}

[data-parallax] {
  transform: scale(1.04);
  transform-origin: center;
  will-change: transform;
}

.reveal {
  opacity: 1;
  transform: translateY(26px);
  transition:
    transform 0.7s ease var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-140%);
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 10px 14px;
  font-weight: 800;
  transition: transform 0.2s ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  padding: 14px 28px;
  border-bottom: 1px solid rgba(18, 50, 51, 0.1);
  background: rgba(251, 248, 242, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-weight: 900;
}

.brand-logo {
  width: 286px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
}

.footer-logo {
  width: 286px;
  height: auto;
  border-radius: 8px;
  background: var(--paper);
  padding: 8px;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--ink);
}

.brand-mark::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--oat);
}

.brand-mark span {
  position: absolute;
  width: 22px;
  height: 14px;
  border-radius: 100% 0 100% 0;
  background: var(--sage);
  transform: rotate(-18deg);
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.desktop-nav a,
.mobile-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: #294441;
  font-size: 0.94rem;
  font-weight: 800;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"],
.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  background: var(--mint);
  color: var(--ink);
}

.header-cta,
.primary-button,
.secondary-button,
.ghost-button,
.map-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  border: 1px solid var(--ink);
  padding: 0 18px;
  font-weight: 900;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}

.header-cta,
.primary-button {
  background: var(--ink);
  color: var(--paper);
}

.header-cta:hover,
.primary-button:hover {
  transform: translateY(-1px);
  border-color: var(--coral);
  background: var(--coral);
}

.secondary-button {
  background: var(--paper);
  color: var(--ink);
}

.secondary-button:hover {
  transform: translateY(-1px);
  background: var(--mint);
}

.ghost-button,
.map-button {
  min-height: 42px;
  border-color: var(--line);
  background: transparent;
}

.ghost-button:hover,
.map-button:hover {
  background: var(--paper);
  border-color: var(--sage);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  justify-self: end;
  align-self: center;
  grid-template-rows: repeat(3, 2px);
  place-content: center;
  justify-items: center;
  row-gap: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0;
  background: var(--ink);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 auto;
  z-index: 75;
  display: none;
  grid-template-columns: 1fr;
  gap: 6px;
  max-height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 20px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--linen);
  box-shadow: var(--shadow);
}

body.menu-open .mobile-nav {
  display: grid;
}

main {
  min-height: 68vh;
  outline: none;
}

.page {
  padding-top: var(--header-height);
}

.section {
  padding: 82px 28px;
}

.section.compact {
  padding-top: 58px;
  padding-bottom: 58px;
}

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

.section.mint {
  background: #edf8f2;
}

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

.wrap {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.wide-wrap {
  width: min(100%, 1440px);
  margin: 0 auto;
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 0;
  background: var(--linen);
}

.hero-copy {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 118px 48px 70px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--sage);
  font-size: 0.84rem;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
.hero-title {
  margin: 0;
  max-width: 780px;
  font-size: 4.8rem;
  line-height: 0.96;
  font-weight: 950;
}

.hero-copy p.lead,
.lead {
  margin: 28px 0 0;
  max-width: 660px;
  color: #40534f;
  font-size: 1.18rem;
  line-height: 1.75;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 46px;
  max-width: 700px;
}

.hero-proof div {
  border-left: 3px solid var(--sage);
  background: rgba(255, 255, 255, 0.72);
  padding: 14px;
}

.hero-proof strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 950;
}

.hero-proof span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.hero-media {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #dbe8df;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 760px;
  object-fit: cover;
  object-position: 58% center;
}

.hero-note {
  position: absolute;
  left: clamp(28px, 4vw, 64px);
  top: clamp(88px, 16%, 150px);
  bottom: auto;
  width: min(500px, calc(100% - 72px));
  border-left: 5px solid var(--coral);
  background: rgba(255, 255, 255, 0.9);
  padding: 24px 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-note strong {
  display: block;
  font-size: 1.08rem;
}

.hero-note span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}

.hero-note-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-note-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  padding: 0 16px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 950;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}

.hero-note-button:hover {
  transform: translateY(-1px);
  background: var(--mint);
}

.hero-note-button-primary {
  background: var(--ink);
  color: var(--paper);
}

.hero-note-button-primary:hover {
  border-color: var(--coral);
  background: var(--coral);
}

.intro-grid,
.split-grid,
.contact-grid,
.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 54px;
  align-items: start;
}

.section-title {
  margin: 0;
  max-width: 860px;
  font-size: 3.2rem;
  line-height: 1.04;
  font-weight: 950;
}

.section-text {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.section-text.on-dark {
  color: rgba(255, 255, 255, 0.76);
}

.principle-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principle-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.principle-list span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 950;
}

.principle-list strong {
  display: block;
  font-size: 1.12rem;
}

.principle-list p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

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

.service-card,
.case-card,
.resource-card,
.mini-card,
.contact-card,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 24px;
}

.service-card h3,
.case-card h3,
.resource-card h3,
.mini-card h3,
.contact-card h3,
.legal-card h3 {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.2;
  font-weight: 950;
}

.service-card p,
.case-card p,
.resource-card p,
.mini-card p,
.contact-card p,
.legal-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--sage);
}

.visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 20px;
}

.visual-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.visual-card.tall {
  min-height: 560px;
}

.visual-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 54% 68%;
}

.visual-card figcaption {
  position: absolute;
  inset: auto 18px 18px;
  max-width: 440px;
  border-left: 5px solid var(--coral);
  background: rgba(255, 255, 255, 0.93);
  padding: 16px;
  color: var(--ink);
  line-height: 1.52;
}

.icon-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.icon-stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 22px;
}

.icon-stat strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 950;
}

.icon-stat p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.card-link {
  display: inline-flex;
  margin-top: 22px;
  font-weight: 950;
  color: var(--sage);
}

.service-card ul,
.case-card ul,
.legal-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.55;
}

.service-card li::before,
.case-card li::before,
.legal-card li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.finder-shell {
  border: 1px solid rgba(18, 50, 51, 0.16);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.finder-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 28px;
  border-bottom: 1px solid var(--line);
}

.finder-head h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 950;
}

.finder-head p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.finder-score {
  width: 136px;
  min-height: 104px;
  display: grid;
  place-items: center;
  align-self: start;
  border-radius: 8px;
  background: var(--mint);
  color: var(--ink);
  text-align: center;
  font-weight: 950;
}

.finder-score span {
  display: block;
  font-size: 2.2rem;
}

.finder-body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.finder-controls {
  display: grid;
  gap: 22px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.choice-group h3 {
  margin: 0 0 10px;
  font-size: 0.92rem;
  text-transform: uppercase;
}

.choice-row {
  display: grid;
  gap: 8px;
}

.choice-row button {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f9fbf8;
  padding: 10px 12px;
  text-align: left;
  color: var(--ink);
  font-weight: 850;
}

.choice-row button:hover,
.choice-row button[aria-pressed="true"] {
  border-color: var(--sage);
  background: var(--mint);
}

.finder-result {
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(47, 143, 109, 0.14), transparent 38%),
    var(--paper);
}

.result-kicker {
  color: var(--coral);
  font-weight: 950;
  text-transform: uppercase;
}

.finder-result h3 {
  margin: 12px 0 0;
  font-size: 2.2rem;
  line-height: 1.06;
  font-weight: 950;
}

.finder-result p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.result-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.result-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  line-height: 1.55;
}

.result-list span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 950;
}

.process-list {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.process-item {
  display: grid;
  grid-template-columns: clamp(130px, 11vw, 180px) 1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.process-item span {
  color: #9adfbd;
  font-size: clamp(2.75rem, 4.8vw, 4.15rem);
  font-weight: 950;
  line-height: 0.92;
}

.process-item h3 {
  margin: 0;
  font-size: 1.45rem;
}

.process-item p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.image-panel {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  background: var(--line);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: 58% center;
}

.image-caption {
  position: absolute;
  inset: auto 18px 18px;
  border-left: 5px solid var(--sage);
  background: rgba(255, 255, 255, 0.93);
  padding: 16px;
  color: var(--ink);
  line-height: 1.5;
}

.case-highlight {
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  align-items: stretch;
}

.case-highlight > div:first-child {
  display: grid;
  align-content: start;
}

.case-highlight .section-title {
  max-width: 760px;
}

.case-highlight .section-text {
  max-width: 680px;
}

.case-meta {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-height: 100%;
  margin-top: 0;
}

.case-meta article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbf8;
  padding: 24px 28px;
  color: var(--muted);
  box-shadow: 0 16px 40px rgba(18, 50, 51, 0.06);
}

.case-meta article > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 950;
}

.case-meta strong {
  display: block;
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.15;
}

.case-meta p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.58;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 0;
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 950;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 16px;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field label,
.privacy-check {
  color: #2d4441;
  font-size: 0.95rem;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfdfb;
  padding: 13px 14px;
  color: var(--ink);
}

.field textarea {
  min-height: 154px;
  resize: vertical;
}

.privacy-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  line-height: 1.55;
}

.privacy-check a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.form-status {
  min-height: 24px;
  color: var(--coral);
  font-weight: 900;
}

.form-status.success {
  color: var(--sage);
}

.map-shell {
  min-height: 360px;
  border: 1px solid var(--line);
  background: #edf3f0;
}

.map-placeholder {
  display: grid;
  min-height: 360px;
  place-items: center;
  padding: 28px;
  text-align: center;
}

.map-placeholder p {
  max-width: 470px;
  margin: 10px auto 18px;
  color: var(--muted);
  line-height: 1.65;
}

.map-shell iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.site-footer {
  padding: 54px 28px 30px;
  border-top: 1px solid var(--line);
  background: var(--deep);
  color: var(--paper);
}

.footer-grid {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #9adfbd;
  font-size: 0.98rem;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a,
.footer-button {
  display: block;
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.footer-button {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

.reference-note {
  width: min(100%, 1180px);
  margin: 38px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

.cookie-panel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  width: min(520px, calc(100% - 36px));
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.cookie-panel.hidden {
  display: none;
}

.cookie-inner {
  padding: 22px;
}

.cookie-inner h2 {
  margin: 0;
  font-size: 1.22rem;
}

.cookie-inner p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cookie-options {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.cookie-options label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  line-height: 1.45;
}

.noscript {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 130;
  background: var(--paper);
  border: 1px solid var(--coral);
  padding: 16px;
  box-shadow: var(--shadow);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .header-cta {
    justify-self: end;
  }

  h1,
  .hero-title {
    font-size: 3.8rem;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 520px;
    order: -1;
  }

  .hero-media img {
    min-height: 520px;
  }

  .hero-note {
    left: clamp(28px, 5vw, 58px);
    top: clamp(112px, 22%, 160px);
    width: min(560px, calc(100% - 96px));
  }

  .hero-copy {
    padding-top: 54px;
  }
}

@media (max-width: 900px) {
  .section,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .intro-grid,
  .split-grid,
  .contact-grid,
  .legal-grid,
  .finder-body,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .finder-controls {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .card-grid,
  .two-grid,
  .visual-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .hero-proof,
  .case-meta,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .case-meta {
    grid-template-rows: auto;
    min-height: auto;
    margin-top: 32px;
  }

  .case-meta article {
    align-items: start;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 77px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 70px;
    gap: 10px;
    padding: 12px 14px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-logo {
    width: 186px;
    max-height: 54px;
  }

  .header-cta {
    display: none;
  }

  .page {
    padding-top: var(--header-height);
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    height: clamp(220px, 36vh, 310px);
    min-height: 0;
  }

  .hero-media img {
    height: 100%;
    min-height: 0;
    object-position: 62% center;
    transform: none;
  }

  .hero-note {
    display: none;
  }

  .hero-copy {
    padding: 28px 20px 52px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 14px;
    font-size: 0.78rem;
  }

  h1,
  .hero-title {
    font-size: clamp(2.05rem, 9.2vw, 2.55rem);
    line-height: 1.03;
  }

  .hero-copy p.lead,
  .lead {
    margin-top: 18px;
    font-size: 1.04rem;
    line-height: 1.58;
  }

  .hero-actions,
  .action-row {
    margin-top: 24px;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    width: 100%;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section-title {
    font-size: 2rem;
  }

  .icon-stat-grid {
    grid-template-columns: 1fr;
  }

  .finder-head {
    grid-template-columns: 1fr;
  }

  .finder-score {
    width: 100%;
  }

  .process-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 28px 0;
  }

  .process-item span {
    font-size: 2.6rem;
  }

  .cookie-panel {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  [data-parallax] {
    transform: none !important;
  }
}
