:root {
  --ink: #17343d;
  --ink-muted: #4f6970;
  --deep-ocean: #12313a;
  --deep-ocean-2: #0f424c;
  --ocean-blue: #005cbc;
  --ocean-blue-dark: #00478f;
  --wave-teal: #29bbbd;
  --wave-teal-dark: #168f91;
  --sun-orange: #fba508;
  --heart-red: #fa583e;
  --mint: #e9fbfb;
  --foam: #f5fcfc;
  --shell: #fff9ef;
  --sun-soft: #fff1cc;
  --coral-soft: #fff0ec;
  --white: #ffffff;
  --line: #c8e7e8;
  --shadow: 0 18px 44px rgba(0, 92, 188, 0.12);
  --soft-shadow: 0 10px 26px rgba(0, 92, 188, 0.08);
  --container: 1180px;
  --heading-font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body-font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body-font);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ocean-blue);
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(200, 231, 232, 0.9);
  backdrop-filter: blur(16px);
}

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

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

.brand img {
  width: 218px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--ink-muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:not(.button):hover,
.site-nav a:not(.button):focus-visible {
  color: var(--ocean-blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  content: "";
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.05rem;
  color: var(--white);
  background: var(--ocean-blue);
  border: 1px solid var(--ocean-blue);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  color: var(--white);
  background: var(--ocean-blue-dark);
  border-color: var(--ocean-blue-dark);
  transform: translateY(-1px);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(251, 165, 8, 0.62);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--ink);
  background: var(--sun-soft);
  border-color: var(--sun-orange);
}

.button.full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.18) 82%);
  content: "";
}

.hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--ocean-blue), var(--wave-teal), var(--sun-orange), var(--heart-red));
  content: "";
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
}

.hero-copy {
  width: min(100%, 650px);
  padding: 4.75rem 0;
}

.mark-kicker {
  display: block;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--ocean-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--heading-font);
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.25rem;
  font-size: 3.55rem;
  font-weight: 600;
  line-height: 1.06;
}

.hero-copy p {
  max-width: 57ch;
  margin-bottom: 1.5rem;
  color: var(--ink-muted);
  font-size: 1.08rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.center-actions {
  justify-content: center;
  margin-top: 1.8rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.45rem;
  padding: 0;
  list-style: none;
}

.trust-row li {
  padding: 0.48rem 0.76rem;
  color: var(--ocean-blue);
  background: rgba(233, 251, 251, 0.9);
  border: 1px solid rgba(41, 187, 189, 0.25);
  border-radius: 8px;
  font-family: var(--body-font);
  font-size: 0.96rem;
  font-weight: 600;
}

.section {
  scroll-margin-top: 84px;
  padding: 5rem 0;
}

.section.alt {
  background: var(--foam);
}

.section-header {
  max-width: 790px;
  margin-bottom: 2.2rem;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

h2 {
  margin-bottom: 0.9rem;
  font-size: 2.55rem;
  font-weight: 600;
  line-height: 1.12;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.28;
}

.section-header p,
.card p,
.guide-card p,
.process-item p,
.areas-copy p,
.footer p {
  color: var(--ink-muted);
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.intake-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--deep-ocean) 0%, var(--deep-ocean-2) 100%);
}

.intake-section::before {
  position: absolute;
  right: -7rem;
  bottom: -8rem;
  width: 430px;
  height: 430px;
  background: url("/assets/ocean-wave-logo-mark.png?v=2") center / contain no-repeat;
  opacity: 0.08;
  content: "";
}

.intake-section .eyebrow,
.intake-section h2,
.intake-section .contact-copy p {
  color: var(--white);
}

.contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 2.25rem;
  align-items: start;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-points {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-points li {
  padding: 1rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
}

.contact-points a {
  color: var(--white);
}

.form-panel {
  padding: 1.35rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(200, 231, 232, 0.92);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.intake-form {
  display: grid;
  gap: 1rem;
}

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

label {
  display: grid;
  gap: 0.4rem;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: 0.96rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  background: #fbffff;
  border: 1px solid #bfe4e5;
  border-radius: 8px;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(41, 187, 189, 0.26);
  border-color: var(--wave-teal);
}

.full-field,
.consent-field {
  grid-column: 1 / -1;
}

.consent-field {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem;
  color: var(--ink-muted);
  font-family: var(--body-font);
  font-size: 0.9rem;
  font-weight: 700;
}

.consent-field input {
  width: 18px;
  min-height: 18px;
  margin-top: 0.2rem;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  font-weight: 800;
}

.form-status[data-type="error"] {
  color: #b12f1f;
}

.form-status[data-type="success"] {
  color: var(--wave-teal-dark);
}

.trust-section {
  background: var(--white);
}

.feature-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

.insight-stack {
  display: grid;
  gap: 1rem;
}

.insight-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.insight-item h3,
.insight-item p {
  grid-column: 2;
}

.insight-item p {
  margin: 0;
  color: var(--ink-muted);
}

.insight-number {
  grid-row: 1 / span 2;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--ocean-blue);
  background: var(--mint);
  border: 1px solid rgba(41, 187, 189, 0.28);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
}

.card,
.guide-card,
.process-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
}

.service-card::after {
  position: absolute;
  right: -24px;
  bottom: -28px;
  width: 96px;
  height: 96px;
  background: url("/assets/ocean-wave-logo-mark.png?v=2") center / contain no-repeat;
  opacity: 0.08;
  content: "";
}

.icon-box {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--ocean-blue);
  background: var(--mint);
  border-radius: 8px;
  font-family: var(--heading-font);
  font-weight: 700;
}

.icon-box.coral {
  color: #af3323;
  background: var(--coral-soft);
}

.icon-box.gold {
  color: #754d00;
  background: var(--sun-soft);
}

.guide-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--shell) 100%);
}

.guide-grid {
  align-items: stretch;
}

.guide-card {
  padding: 1.25rem;
  color: inherit;
  text-decoration: none;
}

.guide-card h3 {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.guide-card:hover h3,
.guide-card:focus-visible h3 {
  color: var(--ocean-blue);
}

.guide-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--ocean-blue);
  background: var(--mint);
  border: 1px solid rgba(41, 187, 189, 0.28);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}

.guide-mark.teal {
  color: var(--wave-teal-dark);
}

.guide-mark.red {
  color: #9e382b;
  background: var(--coral-soft);
  border-color: rgba(250, 88, 62, 0.22);
}

.guide-mark.gold {
  color: #755000;
  background: var(--sun-soft);
  border-color: rgba(251, 165, 8, 0.28);
}

.process-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 2.5rem;
  align-items: start;
}

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

.process-item {
  padding: 1.25rem;
}

.process-item span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--white);
  background: var(--ocean-blue);
  border-radius: 8px;
  font-family: var(--heading-font);
  font-weight: 700;
}

.process-item:nth-child(2) span,
.process-item:nth-child(4) span {
  background: var(--wave-teal-dark);
}

.areas-section {
  background: var(--deep-ocean);
}

.areas-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.areas-section .eyebrow,
.areas-section h2,
.areas-section p {
  color: var(--white);
}

.areas-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.area-tags li {
  padding: 0.65rem 0.82rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-family: var(--heading-font);
  font-weight: 600;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
  max-width: 920px;
  margin-inline: auto;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 92, 188, 0.06);
}

summary {
  padding: 1.1rem 1.2rem;
  font-family: var(--heading-font);
  font-weight: 700;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 1.2rem 1.2rem;
  color: var(--ink-muted);
}

.site-footer {
  padding: 2.75rem 0;
  color: rgba(255, 255, 255, 0.82);
  background: #102f38;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.78);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

.footer-brand {
  display: grid;
  gap: 0.65rem;
  align-items: start;
  max-width: 660px;
}

.footer-logo {
  display: block;
  width: min(100%, 300px);
  height: auto;
  max-height: 112px;
  margin-bottom: 0.25rem;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
  align-items: center;
}

.footer-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0.45rem 0.7rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font-family: var(--heading-font);
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  background: rgba(41, 187, 189, 0.18);
  border-color: rgba(41, 187, 189, 0.42);
}

.resource-hero {
  padding: 5.5rem 0 4.75rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(245, 252, 252, 0.9)),
    url("/assets/hero-aba-therapy.png") center / cover;
  border-bottom: 1px solid var(--line);
}

.resource-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2rem;
  align-items: end;
}

.resource-hero h1 {
  max-width: 920px;
  margin-bottom: 1rem;
  font-size: 3.35rem;
}

.resource-hero p {
  max-width: 760px;
  color: var(--ink-muted);
  font-size: 1.08rem;
}

.resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.resource-summary {
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.resource-summary p {
  margin-bottom: 0.9rem;
  color: var(--ink);
  font-weight: 700;
}

.resource-summary ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-muted);
}

.resource-section {
  background: var(--white);
}

.resource-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.resource-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.resource-toc h2 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.resource-toc a {
  padding: 0.45rem 0.55rem;
  color: var(--ink-muted);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.resource-toc a:hover,
.resource-toc a:focus-visible {
  color: var(--ocean-blue);
  background: var(--white);
}

.resource-content {
  display: grid;
  gap: 2.25rem;
}

.wiki-section {
  scroll-margin-top: 96px;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(200, 231, 232, 0.86);
}

.wiki-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.wiki-section h2 {
  max-width: 860px;
}

.wiki-section > p {
  max-width: 880px;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.info-grid,
.term-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.3rem 0;
}

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

.info-card,
.term-card {
  padding: 1.1rem;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-card h3,
.term-card h3 {
  margin-bottom: 0.45rem;
}

.info-card p,
.term-card p {
  margin: 0;
  color: var(--ink-muted);
}

.callout,
.source-note,
.checklist-box {
  margin: 1.3rem 0;
  padding: 1.2rem;
  background: var(--shell);
  border: 1px solid rgba(251, 165, 8, 0.34);
  border-radius: 8px;
}

.callout h3,
.checklist-box h3 {
  margin-bottom: 0.4rem;
}

.callout p,
.source-note,
.checklist-box li {
  color: var(--ink-muted);
}

.callout p,
.source-note {
  margin-bottom: 0;
}

.step-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.3rem 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 92, 188, 0.05);
}

.step-list span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--ocean-blue);
  border-radius: 8px;
  font-weight: 700;
}

.step-list h3 {
  margin-bottom: 0.35rem;
}

.step-list p {
  margin: 0;
  color: var(--ink-muted);
}

.checklist-box ul,
.source-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.15rem;
}

.question-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.question-list p {
  margin: 0;
  padding: 1rem;
  color: var(--ink-muted);
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.glossary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.3rem 0 0;
}

.glossary-list div {
  padding: 1rem;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.glossary-list dt {
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-weight: 700;
}

.glossary-list dd {
  margin: 0;
  color: var(--ink-muted);
}

.source-list a {
  color: var(--ocean-blue);
  font-weight: 600;
}

.simple-page {
  min-height: 64vh;
  display: grid;
  align-items: center;
  padding: 5rem 0;
  background: var(--foam);
}

.simple-card {
  max-width: 760px;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.simple-card h1 {
  max-width: none;
  font-size: 3.5rem;
}

.brand-assets-page {
  align-items: start;
}

.asset-page-card {
  max-width: none;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.4rem 0;
}

.asset-card {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.asset-card img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid rgba(200, 231, 232, 0.8);
  border-radius: 8px;
}

.asset-card h2 {
  margin: 0;
  font-size: 1.15rem;
}

.asset-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

@media (max-width: 1080px) {
  .brand img {
    width: 210px;
  }

  .site-nav {
    gap: 0.72rem;
    font-size: 0.92rem;
  }

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

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

  .resource-hero-inner,
  .resource-layout {
    grid-template-columns: 1fr;
  }

  .resource-summary {
    max-width: 620px;
  }

  .resource-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-toc h2 {
    grid-column: 1 / -1;
  }

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

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem;
  }

  .site-nav a.button {
    margin-top: 0.4rem;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.88) 70%, rgba(255, 255, 255, 0.66) 100%);
  }

  .hero-media img {
    object-position: 64% center;
  }

  .hero-copy {
    padding: 4rem 0 2rem;
  }

  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .grid.three,
  .feature-band,
  .contact-layout,
  .process-layout,
  .areas-layout,
  .info-grid,
  .info-grid.two,
  .term-grid,
  .question-list,
  .glossary-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .brand img {
    width: 184px;
  }

  .header-inner {
    min-height: 68px;
  }

  .site-nav {
    top: 68px;
  }

  .hero::before {
    background: rgba(255, 255, 255, 0.9);
  }

  .hero-media {
    opacity: 0.35;
  }

  .hero-copy {
    padding: 3.25rem 0 2rem;
  }

  h1 {
    max-width: 12ch;
    font-size: 2.25rem;
  }

  .resource-hero {
    padding: 3.5rem 0 3rem;
  }

  .resource-hero h1 {
    max-width: none;
    font-size: 2.35rem;
  }

  .resource-toc {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 1.88rem;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .grid.three,
  .grid.four,
  .form-grid,
  .process-list,
  .asset-grid {
    grid-template-columns: 1fr;
  }

  .step-list li {
    grid-template-columns: 1fr;
  }

  .simple-card h1 {
    font-size: 2.35rem;
  }

  .insight-item {
    grid-template-columns: 1fr;
  }

  .insight-item h3,
  .insight-item p {
    grid-column: auto;
  }

  .insight-number {
    grid-row: auto;
  }

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

  .footer-logo {
    width: min(100%, 260px);
  }

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