:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #4f5d58;
  --line: #d7dfda;
  --paper: #fbfaf7;
  --paper-rgb: 251, 250, 247;
  --soft: #eef4f0;
  --white: #ffffff;
  --teal: #0d6f68;
  --teal-dark: #084c47;
  --forest: #1d332d;
  --gold: #9a5d12;
  --gold-bright: #e0a64f;
  --clay: #8f4f3f;
  --surface: rgba(255, 255, 255, 0.95);
  --shadow: 0 18px 44px rgba(22, 33, 31, 0.1);
  --soft-shadow: 0 10px 28px rgba(22, 33, 31, 0.07);
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #fdfcf9 0%, var(--paper) 52%, #f2f7f3 100%);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  overflow-wrap: anywhere;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(183, 122, 37, 0.38);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--forest);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(var(--paper-rgb), 0.94);
  border-bottom: 1px solid rgba(216, 223, 220, 0.8);
  backdrop-filter: blur(10px);
}

.brand,
nav,
.button,
.eyebrow,
.hero-meta a,
.hero-meta span,
.panel-number,
label,
legend,
input,
select,
textarea,
fieldset,
.form-status,
.optional {
  font-family: var(--font-sans);
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    var(--forest);
  color: var(--white);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

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

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  color: #3f4d49;
  font-size: 0.95rem;
}

nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 4px 0;
  text-decoration: none;
}

nav a:hover {
  color: var(--teal-dark);
}

.nav-cta {
  padding: 8px 12px;
  border: 1px solid rgba(29, 51, 45, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--forest);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: min(820px, calc(100svh - 84px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--forest);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 22, 20, 0.9) 0%, rgba(7, 22, 20, 0.7) 44%, rgba(7, 22, 20, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 22, 20, 0.08) 0%, rgba(7, 22, 20, 0.48) 100%),
    url("/assets/charnwood-knoll-surrealist-hero-clean-1600.png");
  background-position: center;
  background-size: cover;
}

.hero-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(251, 250, 246, 0.2));
  content: "";
}

.hero-content {
  position: relative;
  width: min(780px, calc(100% - 36px));
  margin: 0 0 clamp(42px, 10vh, 96px) clamp(18px, 7vw, 88px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.evidence-section .eyebrow {
  color: var(--gold-bright);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 4.35rem;
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 2.8rem;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.3;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
  line-height: 1.58;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-meta a,
.hero-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.hero-meta a:hover {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  transform: translateY(-1px);
}

.hero-meta a:focus-visible {
  outline-color: rgba(255, 255, 255, 0.72);
}

#mediation-formats,
#civil-mediation-summary,
#commercial-mediation-summary,
#community-mediation-summary {
  scroll-margin-top: 108px;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

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

.button.primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.18);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button.secondary.dark {
  border-color: rgba(29, 51, 45, 0.34);
  color: var(--forest);
}

.button.secondary.dark:hover {
  background: rgba(29, 51, 45, 0.08);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.trust-strip div {
  padding: 24px clamp(18px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  color: var(--muted);
}

.section {
  position: relative;
  isolation: isolate;
  padding: clamp(58px, 9vw, 110px) clamp(18px, 6vw, 80px);
}

.section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(29, 51, 45, 0.035), transparent 42%);
  content: "";
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.split > div:first-child p:not(.eyebrow),
.request-intro p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.03rem;
}

.category-note {
  max-width: 620px;
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  background: rgba(238, 244, 240, 0.76);
}

.category-note strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.category-note p {
  margin: 0;
}

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

.service-grid article {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 100% 0%, rgba(183, 122, 37, 0.16), transparent 13rem);
  box-shadow: var(--soft-shadow);
}

.service-grid span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--clay);
  font-weight: 900;
}

.service-grid p,
.process-list p,
.benefits-grid p,
.complaint-panel p,
.legal-content p,
.policy-content li,
.source-note,
.section-summary {
  margin-bottom: 0;
  color: var(--muted);
}

.service-grid article h3,
.service-grid article p,
.benefits-grid article h3,
.benefits-grid article p,
.evidence-grid article h3,
.evidence-grid article p,
.service-example-grid article h3,
.service-example-grid article p,
.service-list h3,
.service-list p,
.service-cta h3,
.service-cta p,
.complaint-panel h3,
.complaint-panel p {
  align-self: start;
}

.text-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 18px;
  color: var(--teal-dark);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.benefits-section {
  background:
    linear-gradient(180deg, rgba(251, 250, 247, 0.98), rgba(245, 248, 245, 0.98));
}

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

.benefits-grid article {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.benefits-grid h3 {
  max-width: 18ch;
}

.evidence-section {
  background:
    linear-gradient(180deg, rgba(29, 51, 45, 0.94), rgba(20, 35, 31, 0.94)),
    url("/assets/charnwood-knoll-surrealist-hero-clean-1600.png");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.evidence-section .eyebrow,
.evidence-section .section-summary,
.evidence-section .source-note {
  color: rgba(255, 255, 255, 0.84);
}

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

.evidence-grid article {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.evidence-grid strong {
  display: block;
  margin-bottom: 42px;
  color: var(--gold);
  font-size: 3rem;
  line-height: 1;
}

.evidence-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.evidence-source {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.92rem;
}

.evidence-source a {
  color: var(--white);
  font-weight: 800;
}

.source-note {
  max-width: 980px;
  margin: 24px 0 0;
  font-size: 0.95rem;
}

.source-note a {
  color: var(--white);
  font-weight: 800;
}

.process-band {
  background:
    linear-gradient(180deg, rgba(237, 243, 239, 0.96), rgba(225, 235, 228, 0.95)),
    url("/assets/charnwood-knoll-surrealist-hero-clean-1600.png");
  background-position: center;
  background-size: cover;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.35fr 0.65fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 38px;
}

.section-summary {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-list li {
  min-height: 280px;
  padding: 26px;
  background: rgba(251, 250, 247, 0.94);
}

.process-list span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 60px;
  border-radius: 8px;
  background: var(--forest);
  color: var(--white);
  font-weight: 900;
}

.mediation-questions {
  background: var(--paper);
}

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

.question-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.question-list summary {
  position: relative;
  min-height: 76px;
  padding: 22px 58px 22px 24px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.3;
  list-style: none;
}

.question-list summary::-webkit-details-marker {
  display: none;
}

.question-list summary::after {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(29, 51, 45, 0.2);
  border-radius: 999px;
  color: var(--teal-dark);
  content: "+";
  display: grid;
  font-weight: 900;
  line-height: 1;
  place-items: center;
}

.question-list details[open] summary::after {
  content: "-";
}

.question-list p {
  margin: -4px 24px 24px;
  color: var(--muted);
}

.costs-section {
  background:
    linear-gradient(180deg, rgba(251, 250, 247, 0.99), rgba(245, 248, 245, 0.98));
}

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

.costs-grid article {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.costs-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.complaints-section {
  background:
    linear-gradient(180deg, rgba(251, 250, 246, 0.96), rgba(239, 246, 241, 0.94)),
    url("/assets/charnwood-knoll-surrealist-hero-clean-1600.png");
  background-position: center;
  background-size: cover;
}

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

.complaint-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 290px;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
}

.complaint-panel p {
  max-width: 54ch;
  margin: 0;
  color: var(--muted);
}

.panel-number {
  color: var(--clay);
  font-weight: 900;
  text-transform: uppercase;
}

.file-import input {
  position: absolute;
  left: -9999px;
}

.file-import {
  display: inline-flex;
  align-items: start;
}

.policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.request-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.98), rgba(251, 250, 247, 0.94)),
    url("/assets/charnwood-knoll-surrealist-hero-clean-1600.png");
  background-position: center;
  background-size: cover;
}

.page-form-section {
  min-height: calc(100svh - 84px);
}

.contact-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 360px;
  margin-top: 28px;
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: rgba(237, 243, 239, 0.88);
}

.contact-note span {
  color: var(--muted);
}

.request-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.request-form,
.legal-content,
.complaint-panel,
.service-grid article,
.benefits-grid article,
.evidence-grid article {
  overflow: hidden;
}

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

label,
fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--ink);
  font-weight: 750;
}

.optional {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 650;
}

.field-help {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

fieldset {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: end;
  padding: 0;
  border: 0;
}

legend {
  grid-column: 1 / -1;
  padding: 0;
  font-weight: 750;
}

fieldset label,
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-weight: 650;
}

.complaint-confirmation {
  line-height: 1.5;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #c2cdc8;
  border-radius: 8px;
  background: #fefdf9;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.16);
  outline-offset: 0;
  border-color: var(--teal);
}

input:user-invalid,
select:user-invalid,
textarea:user-invalid {
  border-color: #b42318;
  background: #fff8f7;
}

input[type="radio"],
input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  accent-color: var(--teal);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 750;
}

.form-status.visible {
  display: block;
}

.form-status.success {
  background: #e3f5ec;
  color: #155d3f;
}

.form-status.error {
  background: #fdecea;
  color: #8f241b;
}

.submit-button {
  width: 100%;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 6vw, 80px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.legal-section {
  min-height: calc(100svh - 84px);
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.98), rgba(251, 250, 247, 0.95)),
    url("/assets/charnwood-knoll-surrealist-hero-clean-1600.png");
  background-position: center;
  background-size: cover;
}

.legal-content {
  max-width: 840px;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-content h1 {
  font-size: 3rem;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.45rem;
  line-height: 1.18;
}

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

.policy-content ul {
  display: grid;
  gap: 10px;
  padding-left: 1.2rem;
  color: var(--muted);
}

.policy-content address {
  max-width: 560px;
  padding: 16px;
  border-left: 4px solid var(--gold);
  background: rgba(237, 243, 239, 0.75);
  color: var(--muted);
  font-style: normal;
}

.service-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 64px);
  align-items: center;
}

.service-page-hero-media {
  min-height: 420px;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.civil-image {
  background-image:
    linear-gradient(180deg, rgba(13, 24, 22, 0.08), rgba(13, 24, 22, 0.22)),
    url("/assets/civil-mediation-natural-path.jpg");
}

.commercial-image {
  background-image:
    linear-gradient(180deg, rgba(13, 24, 22, 0.08), rgba(13, 24, 22, 0.22)),
    url("/assets/commercial-mediation-natural-orchard.jpg");
}

.community-image {
  background-image:
    linear-gradient(180deg, rgba(13, 24, 22, 0.08), rgba(13, 24, 22, 0.22)),
    url("/assets/community-mediation-open-space.png");
}

.service-page-copy p,
.service-list p,
.service-cta p,
.image-credit {
  color: var(--muted);
}

.service-detail-grid,
.service-example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.service-list,
.service-example-grid article,
.service-cta {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.service-list ul {
  display: grid;
  gap: 12px;
  padding-left: 1.2rem;
  color: var(--muted);
}

.service-cta {
  gap: 14px;
  margin-top: 30px;
}

.service-cta .button,
.complaint-panel .button,
.policy-actions .button {
  margin-top: auto;
  align-self: start;
}

.image-credit {
  margin: 18px 0 0;
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 720px;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .split,
  .section-heading,
  .request-section,
  .service-page-hero,
  .service-detail-grid,
  .service-grid,
  .benefits-grid,
  .costs-grid,
  .evidence-grid,
  .question-list {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .process-list,
  .complaints-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article,
  .benefits-grid article,
  .costs-grid article,
  .evidence-grid article,
  .complaint-panel,
  .process-list li {
    min-height: auto;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    gap: 6px 14px;
  }

  .hero {
    min-height: 650px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px 42px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .legal-content h1 {
    font-size: 2.15rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero-copy {
    font-size: 1.06rem;
  }

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

  .service-grid,
  .benefits-grid,
  .costs-grid,
  .evidence-grid,
  .service-example-grid,
  .form-row,
  fieldset {
    grid-template-columns: 1fr;
  }

  .service-page-hero-media {
    min-height: 300px;
  }

  .process-list li {
    min-height: 220px;
  }

  .process-list span {
    margin-bottom: 32px;
  }

  .section,
  .site-footer {
    padding-inline: 16px;
  }

  .contact-note {
    max-width: none;
  }
}

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

  .button:hover {
    transform: none;
  }
}
