/* The SEND Practice: shared styles for every page.
   Palette: deep navy, charcoal, eucalyptus, soft blue, warm off-white.
   Text colours all meet WCAG AA contrast on the backgrounds they're used on. */
:root {
  --navy: #1b2a41;
  --navy-2: #24364f;
  --charcoal: #2a2f35;
  --muted: #4f5964;
  --eucalyptus: #3d6455;
  --eucalyptus-dark: #2f5044;
  --sage: #9db4a6;
  --sage-tint: #e8eee9;
  --blue: #6f8fae;
  --blue-tint: #e7edf3;
  --paper: #f8f6f1;
  --white: #ffffff;
  --line: #dcdcd4;
  --on-navy: #f3f1ea;
  --on-navy-muted: #c3cad3;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 72rem;
  --text-max: 40rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(27, 42, 65, 0.06), 0 8px 24px rgba(27, 42, 65, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 112.5%; -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--sans);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--eucalyptus-dark); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.45rem); }
h4 { font-family: var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.35em; }
strong { font-weight: 700; color: var(--navy); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: var(--white); padding: 0.6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: var(--white); }

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

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 50rem; }
.prose { max-width: var(--text-max); }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eucalyptus);
  margin: 0 0 0.9rem;
}
.lead { font-size: clamp(1.1rem, 1.8vw, 1.25rem); color: var(--charcoal); max-width: 38rem; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 246, 241, 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.6rem; }

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.brand:hover { color: var(--navy); }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--sans); font-weight: 700; letter-spacing: 0.16em; font-size: 0.92rem; }
.brand-tag { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.02em; margin-top: 0.2rem; }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.45rem 0.95rem; font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--navy); cursor: pointer;
}
.nav-toggle-icon { display: inline-block; width: 16px; height: 10px; margin-right: 0.45rem; vertical-align: middle;
  border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
.nav-toggle-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid currentColor; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.2rem; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.2rem; }
.nav-list > li { position: relative; margin: 0; }
.nav-link, .nav-sub-toggle {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 0.7rem; border-radius: 8px;
  font: inherit; font-size: 0.92rem; font-weight: 600; color: var(--charcoal);
  text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav-link:hover, .nav-sub-toggle:hover { background: var(--sage-tint); color: var(--navy); }
.nav-link[aria-current="page"], .nav-sub-toggle.is-current { color: var(--eucalyptus-dark); box-shadow: inset 0 -2px 0 var(--sage); border-radius: 8px 8px 0 0; }
.nav-sub-toggle::after { content: ""; width: 0.4rem; height: 0.4rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 0.15rem; }

.nav-sub {
  list-style: none; margin: 0; padding: 0.5rem;
  position: absolute; top: calc(100% + 0.4rem); left: -0.5rem; min-width: 17rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  display: none;
}
.nav-sub li { margin: 0; }
.nav-sub a { display: block; padding: 0.55rem 0.8rem; border-radius: 8px; text-decoration: none; color: var(--charcoal); font-size: 0.92rem; }
.nav-sub a:hover, .nav-sub a[aria-current="page"] { background: var(--sage-tint); color: var(--navy); }
.nav-sub a span { display: block; font-size: 0.8rem; color: var(--muted); }
.has-sub.is-open > .nav-sub { display: block; }
.no-js .has-sub:hover > .nav-sub, .no-js .has-sub:focus-within > .nav-sub { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem; border-radius: 999px;
  font-family: var(--sans); font-weight: 700; font-size: 0.98rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--eucalyptus-dark); color: var(--white); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); text-decoration: none; }
.btn-light { background: var(--on-navy); color: var(--navy); }
.btn-light:hover { background: var(--white); color: var(--navy); }
.btn-ghost-light { background: transparent; color: var(--on-navy); border-color: rgba(243, 241, 234, 0.6); }
.btn-ghost-light:hover { background: var(--on-navy); color: var(--navy); }
.btn-small { padding: 0.6rem 1.05rem; font-size: 0.88rem; }
.site-nav .btn { white-space: nowrap; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; margin-top: 1.6rem; }
.text-link { font-weight: 700; text-decoration: none; color: var(--eucalyptus-dark); }
.text-link::after { content: " \2192"; }
.text-link:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5.5rem); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 3rem; align-items: center; }
.hero-brand { margin-bottom: 1.6rem; }
.hero-brand .name { font-family: var(--sans); font-weight: 700; letter-spacing: 0.22em; font-size: 0.85rem; color: var(--navy); display: block; }
.hero-brand .descriptor { display: block; color: var(--muted); font-size: 0.95rem; margin-top: 0.25rem; }
.specialisms {
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; list-style: none; padding: 0; margin: 0 0 1.6rem;
  font-weight: 700; color: var(--eucalyptus-dark); font-size: 0.95rem; letter-spacing: 0.02em;
}
.specialisms li { margin: 0; display: flex; align-items: center; gap: 0.9rem; }
.specialisms li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sage); }
.hero h1 { max-width: 15em; }
.hero-art { justify-self: end; width: 100%; max-width: 24rem; }

.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper) 0%, var(--sage-tint) 160%); }
.page-hero h1 { max-width: 18em; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.section-tint { background: var(--sage-tint); }
.section-blue { background: var(--blue-tint); }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: var(--on-navy); }
.section-navy h2, .section-navy h3, .section-navy strong { color: var(--white); }
.section-navy p, .section-navy li { color: var(--on-navy-muted); }
.section-navy .eyebrow { color: var(--sage); }
.section-navy a:not(.btn) { color: var(--white); }
.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split-wide { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }

/* Big quiet statement */
.statement {
  font-family: var(--serif); font-size: clamp(1.5rem, 3.2vw, 2.25rem); line-height: 1.3; color: var(--navy);
  max-width: 30em; margin: 0; font-weight: 400;
}
.statement em { font-style: italic; color: var(--eucalyptus-dark); }
.section-navy .statement { color: var(--white); }
.section-navy .statement em { color: var(--sage); }
.rule { width: 3rem; height: 3px; background: var(--sage); border: 0; margin: 0 0 1.6rem; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; display: flex; flex-direction: column;
}
.card h3 { margin-bottom: 0.5rem; }
.card p:last-child { margin-bottom: 0; }
.card .text-link { margin-top: auto; padding-top: 0.8rem; }
.card-link { text-decoration: none; color: inherit; transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease; }
.card-link:hover { border-color: var(--sage); box-shadow: var(--shadow); color: inherit; text-decoration: none; transform: translateY(-2px); }
.card-link:hover h3 { color: var(--eucalyptus-dark); }
.card-index { font-family: var(--serif); font-size: 0.95rem; color: var(--eucalyptus); margin-bottom: 1rem; display: block; }

.specialism-card { border-top: 4px solid var(--sage); }
.specialism-card:nth-child(2) { border-top-color: var(--blue); }
.specialism-card:nth-child(3) { border-top-color: var(--eucalyptus); }
.specialism-card:nth-child(4) { border-top-color: var(--navy); }

/* "I can help if..." quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.quotes li {
  margin: 0; background: var(--white); border-radius: var(--radius); padding: 1.3rem 1.4rem 1.3rem 1.4rem;
  font-family: var(--serif); font-size: 1.12rem; line-height: 1.4; color: var(--navy);
  border-left: 3px solid var(--sage);
}

/* Lists */
.ticks, .questions, .crosses { list-style: none; padding: 0; }
.ticks li, .questions li, .crosses li { position: relative; padding-left: 1.9rem; margin-bottom: 0.6rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0.15rem; top: 0.42em; width: 0.95rem; height: 0.5rem;
  border-left: 2.5px solid var(--eucalyptus); border-bottom: 2.5px solid var(--eucalyptus); transform: rotate(-45deg);
}
.section-navy .ticks li::before { border-color: var(--sage); }
.questions li::before {
  content: "?"; position: absolute; left: 0; top: 0.05em; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--sage-tint); color: var(--eucalyptus-dark); font-weight: 700; font-size: 0.82rem;
  display: flex; align-items: center; justify-content: center; font-family: var(--serif);
}
.section-tint .questions li::before { background: var(--white); }
.crosses li::before { content: "\2013"; position: absolute; left: 0.3rem; color: var(--muted); font-weight: 700; }
.cols-2 { columns: 2; column-gap: 2.5rem; }
.cols-2 li { break-inside: avoid; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 1em; }
.tag-list li { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.85rem; font-size: 0.88rem; color: var(--charcoal); }
.section-white .tag-list li { background: var(--paper); }
.section-navy .tag-list li { background: transparent; border-color: rgba(195, 202, 211, 0.35); color: var(--on-navy); }

/* Four perspectives */
.perspectives { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.perspective { padding: 1.8rem 1.5rem 1.5rem 0; border-right: 1px solid var(--line); margin-right: 1.5rem; }
.perspective:last-child { border-right: 0; margin-right: 0; }
.perspective .num { font-family: var(--serif); color: var(--eucalyptus); font-size: 0.95rem; display: block; margin-bottom: 0.6rem; }
.perspective h3 { font-size: 1.5rem; }
.perspective ul { list-style: none; padding: 0; margin: 0; font-size: 0.93rem; color: var(--muted); }
.perspective li { padding: 0.35rem 0; border-bottom: 1px solid rgba(220, 220, 212, 0.7); margin: 0; }
.perspective li:last-child { border-bottom: 0; }

/* ---------- Services ---------- */
.surgery-feature {
  background: var(--white); border-radius: calc(var(--radius) + 6px); border: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); overflow: hidden; box-shadow: var(--shadow);
}
.surgery-feature .body { padding: clamp(1.8rem, 4vw, 3rem); }
.surgery-feature .aside { background: var(--navy); color: var(--on-navy); padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.surgery-feature .aside .price { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--white); }
.surgery-feature .aside .meta { color: var(--on-navy-muted); margin: 0.6rem 0 1.4rem; }
.surgery-feature .aside .btn { align-self: flex-start; }
.surgery-feature .tagline { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--eucalyptus-dark); }

.price-meta { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.price-meta .price { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; }
.price-meta .meta { font-family: var(--sans); font-weight: 600; font-size: 0.88rem; color: var(--muted); align-self: center; }

.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); scroll-margin-top: 6rem; }
.service + .service { margin-top: 1.25rem; }
.service-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 1.5rem; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1.2rem; }
.service-head h3 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.service-head .price-meta { margin: 0; }
.service-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 2.5rem; }
.service .note { margin-top: 1.2rem; }
.service-signature { border: 2px solid var(--navy); }
.badge { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25rem 0.65rem; border-radius: 999px; background: var(--sage-tint); color: var(--eucalyptus-dark); vertical-align: middle; }
.badge-navy { background: var(--navy); color: var(--white); }
.badge-soon { background: var(--blue-tint); color: var(--navy); }

/* Service selector */
.selector { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.selector li { margin: 0; border-bottom: 1px solid var(--line); }
.selector a {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 0.4rem 1.5rem; align-items: center;
  padding: 1.15rem 0.5rem; text-decoration: none; color: var(--charcoal);
}
.selector a:hover { background: var(--white); color: var(--charcoal); }
.selector .q { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); line-height: 1.35; }
.selector .s { font-weight: 700; color: var(--eucalyptus-dark); }
.selector .p { font-weight: 700; color: var(--navy); white-space: nowrap; text-align: right; }
.selector .p::after { content: " \2192"; color: var(--eucalyptus); }

/* Fee table */
.fee-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.fee-table th, .fee-table td { text-align: left; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.fee-table thead th { background: var(--navy); color: var(--white); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.fee-table td:last-child, .fee-table th:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: var(--navy); }
.fee-table tr:last-child td { border-bottom: 0; }
.fee-table td a { font-weight: 700; }
.table-wrap { overflow-x: auto; }

/* Notes and boundaries */
.note {
  background: var(--blue-tint); border-radius: 10px; padding: 1rem 1.2rem; font-size: 0.92rem; color: var(--charcoal);
  border-left: 3px solid var(--blue);
}
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--navy); }
.section-blue .note { background: var(--white); }
.boundaries { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.boundaries h3 { font-size: 1.2rem; }

/* Pull quote / parent voice */
.voice { border-left: 3px solid var(--sage); padding: 0.2rem 0 0.2rem 1.5rem; margin: 1.8rem 0; }
.voice p { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.55rem); line-height: 1.4; color: var(--navy); margin: 0; }
.section-navy .voice p { color: var(--white); }

/* Credentials */
.creds { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.75rem; }
.creds li { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 0.85rem 1rem; font-size: 0.93rem; line-height: 1.4; }
.creds li strong { display: block; font-size: 0.98rem; margin-bottom: 0.15rem; }
.creds li span { color: var(--muted); font-size: 0.86rem; }

/* CTA band */
.cta-band { background: var(--navy); color: var(--on-navy); padding: clamp(3.5rem, 8vw, 5.5rem) 0; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--white); max-width: 18em; }
.cta-band p { color: var(--on-navy-muted); max-width: 36rem; }
.cta-band .price-line { color: var(--white); font-weight: 700; letter-spacing: 0.04em; margin-top: 1.4rem; }
.cta-band .reassure { font-size: 0.9rem; margin-top: 1.4rem; }
.cta-art { position: absolute; right: -4rem; bottom: -3rem; width: 26rem; opacity: 0.18; pointer-events: none; }

/* FAQ */
.faq-group { margin-bottom: 2.8rem; }
.faq-group > h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 0.6rem; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.05rem 3rem 1.05rem 1.3rem; position: relative;
  font-family: var(--serif); font-size: 1.15rem; color: var(--navy); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.3rem; top: 1.35rem; width: 0.55rem; height: 0.55rem;
  border-right: 2px solid var(--eucalyptus); border-bottom: 2px solid var(--eucalyptus); transform: rotate(45deg); transition: transform 0.15s ease;
}
.faq[open] summary::after { transform: rotate(-135deg); top: 1.55rem; }
.faq .answer { padding: 0 1.3rem 1.2rem; max-width: 44rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Forms */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.4rem); }
.field { margin-bottom: 1.3rem; }
.field label, .field legend { display: block; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.field .hint { display: block; font-size: 0.86rem; color: var(--muted); margin: -0.15rem 0 0.45rem; }
.field .optional { font-weight: 400; color: var(--muted); font-size: 0.88rem; }
input[type="text"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; font: inherit; color: var(--charcoal); background: var(--paper);
  border: 1.5px solid #b9bdb7; border-radius: 10px; padding: 0.7rem 0.85rem;
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--navy); background: var(--white); }
textarea { min-height: 8rem; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.choice { display: flex; align-items: center; gap: 0.5rem; font-weight: 400 !important; color: var(--charcoal) !important; margin: 0 !important; cursor: pointer; }
.choice input { width: 1.15rem; height: 1.15rem; accent-color: var(--navy); margin: 0; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; }
.consent input { margin-top: 0.3rem; width: 1.15rem; height: 1.15rem; accent-color: var(--navy); flex-shrink: 0; }
.consent label { font-weight: 400; color: var(--charcoal); }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 1.2rem; }
.hidden-field { display: none; }

/* Resources */
.resource { display: flex; flex-direction: column; }
.resource .kind { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.resource-doc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 5vw, 3rem); max-width: 50rem; }
.resource-doc h2 { font-size: 1.5rem; margin-top: 1.8em; }
.resource-doc h2:first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding: 4rem 0 2rem; font-size: 0.92rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.cta-band + .site-footer { border-top-color: rgba(195, 202, 211, 0.18); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.site-footer h2 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); margin-bottom: 1rem; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .brand { color: var(--white); margin-bottom: 1rem; }
.site-footer .brand-tag { color: var(--on-navy-muted); }
.footer-boundary { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(195, 202, 211, 0.2); font-size: 0.84rem; line-height: 1.6; max-width: 60rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; margin-top: 1.5rem; font-size: 0.82rem; }
.footer-base .version { opacity: 0.7; }

/* ---------- Responsive ---------- */
@media (max-width: 1420px) and (min-width: 1081px) {
  .header-inner .brand-tag { display: none; }
  .nav-link, .nav-sub-toggle { padding: 0.5rem 0.55rem; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 0.8rem var(--gutter) 1.4rem; flex-direction: column; align-items: stretch; gap: 1rem;
    max-height: calc(100vh - 4.6rem); overflow-y: auto;
  }
  .no-js .site-nav { display: flex; position: static; box-shadow: none; border: 0; }
  .no-js .nav-toggle { display: none; }
  .no-js .header-inner { flex-wrap: wrap; }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link, .nav-sub-toggle { width: 100%; justify-content: space-between; padding: 0.85rem 0.25rem; font-size: 1rem; border-radius: 0; }
  .nav-link[aria-current="page"], .nav-sub-toggle.is-current { box-shadow: none; }
  .nav-sub { position: static; box-shadow: none; border: 0; padding: 0 0 0.6rem 0.6rem; min-width: 0; background: transparent; }
  .no-js .nav-sub { display: block; }
  .site-nav .btn { align-self: stretch; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero-grid, .split, .split-wide, .surgery-feature { grid-template-columns: minmax(0, 1fr); }
  .hero-art { display: none; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perspectives { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perspective:nth-child(2) { border-right: 0; margin-right: 0; }
  .perspective { border-bottom: 1px solid var(--line); }
  .service-cols { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .selector a { grid-template-columns: minmax(0, 1fr) auto; }
  .selector .q { grid-column: 1 / -1; }
  .selector .p { text-align: right; }
}

@media (max-width: 600px) {
  html { font-size: 106.25%; }
  .grid-2, .grid-3, .grid-4, .perspectives, .form-row { grid-template-columns: minmax(0, 1fr); }
  .perspective { border-right: 0; margin-right: 0; padding-right: 0; }
  .cols-2 { columns: 1; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .brand-tag { display: none; }
  .btn-row .btn { width: 100%; }
  .fee-table th, .fee-table td { padding: 0.75rem 0.8rem; }
  .selector a { grid-template-columns: minmax(0, 1fr); }
  .selector .p { text-align: left; }
}

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

@media print {
  .site-header, .site-footer, .cta-band, .btn-row, .skip-link { display: none !important; }
  body { background: #fff; }
  .resource-doc { border: 0; padding: 0; }
}
