/* Pema Care — site styles
   One stylesheet for every page. Colors come from the Pema Care logo
   (purple #5c3681 / #7a519a, teal #4aa5b1 / #59b2bd); the darker tints
   are used wherever text sits on color so contrast stays above WCAG AA.

   Many visitors are older adults, so body text starts at 19px, body colors
   reach 9:1 contrast, nothing moves on its own and links look like links. */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/figtree-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/figtree-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/eb-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/eb-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  --purple-900: #34204b;
  --purple-800: #4a2a6b;
  --purple-700: #5c3681;
  --purple-500: #7a519a;
  --purple-100: #e9e0f1;
  --purple-50: #f5f0f9;

  --teal-800: #17606a;
  --teal-700: #1f6c76;
  --teal-500: #4aa5b1;
  --teal-400: #59b2bd;
  --teal-100: #d5ecef;
  --teal-50: #edf7f8;

  --gold-500: #c9a43a;
  --gold-200: #ecdcab;
  --gold-100: #f3e8c8; /* small text on teal/purple (AA contrast) */

  --ink: #1f2124;
  --ink-soft: #383b41;
  --field-border: #6f675e;
  --bg: #faf8f5;
  --bg-warm: #f3eee7;
  --surface: #ffffff;
  --line: #e4ddd3;
  --error: #b3261e;
  --error-bg: #fcebea;
  --success: #1e6b3a;
  --success-bg: #e8f4ec;

  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "EB Garamond", Garamond, "Times New Roman", serif;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgb(31 26 40 / 0.06), 0 2px 8px rgb(31 26 40 / 0.05);
  --shadow: 0 10px 30px -12px rgb(31 26 40 / 0.25);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 9vw, 112px);
  --header-h: 76px;
}

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

html {
  font-size: 118.75%; /* 19px by default; still follows the visitor's browser setting */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--purple-800);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem);
}

h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.6rem);
}

/* The display serif is delicate at smaller sizes, so h3 and below use the sans. */
h3,
h4 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.25;
  font-size: clamp(1.15rem, 1.08rem + 0.3vw, 1.3rem);
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--teal-800);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--purple-700);
}

/* Show where someone has already been */
.prose a:visited,
.guide a:not(.btn):visited,
.faq__answer a:visited,
.field__hint a:visited {
  color: var(--purple-700);
}

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

.hero__panel :focus-visible,
.service :focus-visible,
.credential :focus-visible,
.info-card :focus-visible,
.cta-band :focus-visible,
.lightbox :focus-visible {
  outline-color: #fff;
}

/* Skip-link target: receives focus from code, not a control to outline */
main:focus {
  outline: none;
}

/* Keep phone numbers on one line */
a[href^="tel:"] {
  white-space: nowrap;
}

::selection {
  background: var(--purple-100);
  color: var(--purple-900);
}

[hidden] {
  display: none !important;
}

.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;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--purple-700);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 860px;
}

.section {
  padding-block: var(--section);
}

.section--tight {
  padding-block: clamp(40px, 6vw, 72px);
}

.section--warm {
  background: var(--bg-warm);
}

.section--texture {
  background:
    radial-gradient(1200px 600px at 10% 0%, rgb(255 255 255 / 0.85), transparent 60%),
    radial-gradient(900px 500px at 95% 100%, rgb(233 224 241 / 0.55), transparent 65%),
    linear-gradient(180deg, #f6f2ec 0%, #f1ece5 100%);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-800);
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  color: var(--ink-soft);
}

.nowrap {
  white-space: nowrap;
}

.text-center {
  text-align: center;
}

.intro {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

/* Small ornament used between sections (replaces the old Edgemere divider image) */
.ornament {
  display: block;
  width: 120px;
  height: 14px;
  margin: 0 auto 1.25rem;
  color: var(--gold-500);
}

.accent-bar {
  display: block;
  width: 64px;
  height: 4px;
  margin-bottom: 1.25rem;
  background: var(--gold-500);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.7rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--purple-700);
  color: #fff;
}

.btn--primary:hover {
  background: var(--purple-800);
  color: #fff;
}

.btn--teal {
  background: var(--teal-700);
  color: #fff;
}

.btn--teal:hover {
  background: var(--teal-800);
  color: #fff;
}

.btn--light {
  background: #fff;
  color: var(--purple-800);
}

.btn--light:hover {
  background: var(--purple-50);
  color: var(--purple-900);
}

.btn--outline-light {
  border-color: rgb(255 255 255 / 0.85);
  color: #fff;
  background: transparent;
}

.btn--outline-light:hover {
  background: rgb(255 255 255 / 0.14);
  color: #fff;
}

.btn--outline {
  border-color: var(--purple-700);
  color: var(--purple-700);
  background: transparent;
}

.btn--outline:hover {
  background: var(--purple-50);
  color: var(--purple-800);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
}

.btn-row--center {
  justify-content: center;
  margin-top: clamp(28px, 4vw, 44px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.96);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

@supports (backdrop-filter: blur(8px)) {
  .site-header {
    background: rgb(255 255 255 / 0.88);
    backdrop-filter: saturate(160%) blur(10px);
  }
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 10px;
  min-height: 48px;
  margin-right: auto;
  text-decoration: none;
  border-radius: 8px;
}

.brand__mark {
  width: 46px;
  height: auto;
}

.brand__word {
  width: 150px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  display: inline-block;
  padding: 10px 11px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav__link:hover {
  background: var(--purple-50);
  color: var(--purple-800);
}

.nav__link[aria-current="page"] {
  color: var(--purple-800);
  box-shadow: inset 0 -3px 0 var(--purple-700);
  border-radius: 0;
}

/* Always on screen, in the same place on every page */
.header-call {
  flex: none;
  min-height: 48px;
  padding: 0.4rem 1rem;
  font-size: 1rem;
  white-space: nowrap;
}

.header-call__short {
  display: none;
}

.nav-toggle {
  display: none;
  flex: none;
  height: 48px;
  padding: 0 10px;
  border: 2px solid var(--purple-700);
  border-radius: 12px;
  background: transparent;
  color: var(--purple-800);
  font: 600 1rem/1 var(--font-body);
  cursor: pointer;
}

.nav-toggle__open,
.nav-toggle__close {
  align-items: center;
  gap: 6px;
}

.nav-toggle__open {
  display: inline-flex;
}

.nav-toggle:hover {
  background: var(--purple-50);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle__close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: inline-flex;
}

@media (max-width: 1119px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  /* Without JavaScript the menu simply stays visible below the logo. */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px var(--gutter) 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .js .nav {
    display: none;
  }

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

  .nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav__link {
    display: block;
    padding: 14px 12px;
    border-radius: var(--radius);
  }

  .nav__link[aria-current="page"] {
    box-shadow: inset 4px 0 0 var(--purple-700);
    background: var(--purple-50);
    border-radius: 4px var(--radius) var(--radius) 4px;
  }
}

@media (max-width: 899px) {
  .brand__word {
    width: 128px;
  }
}

/* Small phones: short button label, and the logo mark gives way to the name */
@media (max-width: 560px) {
  .header-call__short {
    display: inline;
  }

  .header-call__long {
    display: none;
  }

  .header-call {
    padding-inline: 0.8rem;
  }
}

@media (max-width: 440px) {
  .site-header__inner > .brand .brand__mark {
    display: none;
  }

  .site-header__inner > .brand .brand__word {
    width: 112px;
  }
}

/* The smallest phones: every word still fits on one row */
@media (max-width: 360px) {
  .site-header__inner {
    gap: 8px;
  }

  .site-header__inner > .brand .brand__word {
    width: 96px;
  }

  .nav-toggle svg {
    display: none;
  }
}

@media (min-width: 1120px) {
  .nav-toggle {
    display: none !important;
  }
}

/* ---------- Hero ---------- */
/* Text sits on solid color beside the photo, never on top of it, so the people
   in the photo stay visible and text contrast doesn't depend on the image. */
.hero {
  --hero-color: var(--teal-700);
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  min-height: clamp(440px, 72vh, 720px);
  background: var(--hero-color);
}

.hero--purple {
  --hero-color: var(--purple-700);
}

.hero--deep {
  --hero-color: var(--teal-800);
}

.hero--plum {
  --hero-color: var(--purple-800);
}

/* Where to crop each photo */
.hero--focus-left {
  --hero-focus: 14% 50%;
}

.hero--focus-right {
  --hero-focus: 70% 60%;
}

.hero__media {
  position: relative;
  grid-column: 2;
  grid-row: 1;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-focus, 50% 50%);
}

.hero__panel {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  padding-block: clamp(32px, 5vw, 64px);
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) clamp(28px, 4vw, 56px);
  color: #fff;
}

.hero__panel h1 {
  color: #fff;
  font-size: clamp(2rem, 1.4rem + 2.1vw, 3.2rem);
}

.hero__panel p {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  color: #fff;
}

.hero__panel .hero__license {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 1.25em 0 0;
  font-size: 1rem;
}

.hero__license svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--gold-200);
}

.hero__license a,
.hero__license a:visited {
  color: #fff;
}

.hero__panel .eyebrow {
  color: var(--gold-100);
}

@media (max-width: 899px) {
  .hero {
    display: block;
    min-height: 0;
  }

  .hero__media {
    aspect-ratio: 16 / 9;
  }

  .hero__panel {
    padding: clamp(28px, 6vw, 44px) var(--gutter);
  }
}

@media (max-width: 700px) {
  .hero__panel .btn {
    width: 100%;
  }
}

/* Simple title band for pages without a photo hero (contact, privacy, 404) */
.page-head {
  padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 56px);
  background:
    radial-gradient(800px 300px at 15% 0%, rgb(255 255 255 / 0.9), transparent 70%),
    linear-gradient(135deg, var(--purple-50) 0%, var(--teal-50) 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.page-head p {
  max-width: 640px;
  margin-inline: auto;
}

/* ---------- Trust strip ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.trust__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-800);
}

.trust__icon svg {
  width: 24px;
  height: 24px;
}

.trust__item strong {
  display: block;
  color: var(--purple-800);
  font-weight: 600;
  line-height: 1.3;
}

.trust__item div span {
  display: block;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

@media (max-width: 860px) {
  .trust {
    grid-template-columns: 1fr;
  }
}

/* ---------- Cards (home page) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(32px, 5vw, 56px);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 4.2;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card__media img {
  transform: scale(1.03);
}

.card__title {
  margin: 0;
  padding: 18px 22px;
  background: var(--teal-700);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
}

.card:nth-child(2) .card__title {
  background: var(--purple-700);
}

.card:nth-child(3) .card__title {
  background: var(--teal-800);
}

.card__body {
  padding: 20px 22px 26px;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .card__media {
    aspect-ratio: 16 / 11;
  }
}

/* ---------- Split (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
  isolation: isolate;
  margin: 0 clamp(16px, 3vw, 40px) clamp(16px, 3vw, 40px) 0;
}

.split__media::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: calc(-1 * clamp(16px, 3vw, 40px));
  bottom: calc(-1 * clamp(16px, 3vw, 40px));
  width: 70%;
  height: 55%;
  border-radius: var(--radius-lg);
  background: var(--gold-200);
}

.split--teal .split__media::after {
  background: var(--teal-100);
}

.split--purple .split__media::after {
  background: var(--purple-100);
}

.split__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }
}

/* License / credential card on the About page */
.credential {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(150deg, var(--purple-700), var(--purple-900));
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.credential::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -130px;
  width: 220px;
  height: 220px;
  border: 26px solid rgb(89 178 189 / 0.35);
  border-radius: 50%;
}

.credential__icon {
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  color: var(--teal-400);
}

.credential__icon svg {
  width: 100%;
  height: 100%;
}

.credential h3 {
  color: #fff;
  margin-bottom: 0.4em;
}

.credential p {
  color: #fff;
}

.credential .credential__label {
  margin: 0;
  font-weight: 600;
}

.credential .credential__number {
  margin: 0.05em 0 0.3em;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 2rem + 2vw, 3.2rem);
  line-height: 1.1;
}

.credential__list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.credential__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.credential__list svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--gold-200);
}

/* What the state's records show, with links to read them */
.split--record {
  align-items: start;
}

.record {
  display: grid;
  gap: 0;
  margin: 1.1em 0 0;
  border-top: 1px solid var(--line);
}

.record > div {
  display: grid;
  grid-template-columns: minmax(0, 11em) minmax(0, 1fr);
  gap: 2px 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.record dt {
  font-weight: 700;
  color: var(--purple-800);
}

.record dd {
  margin: 0;
}

.record-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 1em 0 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
}

.record-note {
  margin: 0.8em 0 1em;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

@media (max-width: 560px) {
  .record > div {
    grid-template-columns: 1fr;
  }
}

/* Summary of the care in the state disclosure form */
.care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 16px;
  margin: clamp(20px, 3vw, 32px) 0 0;
}

.care-grid > div {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.care-grid dt {
  font-weight: 700;
  color: var(--purple-800);
}

.care-grid dd {
  margin: 0.25em 0 0;
}

/* ---------- Services ---------- */
.services {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  margin-top: clamp(32px, 5vw, 56px);
}

.service {
  --svc: var(--purple-700);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(24px, 4vw, 48px);
  background: var(--svc);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.service:nth-child(even) {
  --svc: var(--teal-700);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.service:nth-child(even) .service__media {
  order: -1;
}

.service h2 {
  color: #fff;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
}

.service p {
  color: #fff;
}

.service__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 14px 30px -14px rgb(0 0 0 / 0.5);
}

@media (max-width: 800px) {
  .service,
  .service:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service .service__media,
  .service:nth-child(even) .service__media {
    order: -1;
  }
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
  margin: clamp(32px, 5vw, 56px) 0 0;
  padding: 0;
  list-style: none;
}

.gallery__link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-warm);
  box-shadow: var(--shadow-sm);
  color: #fff;
  text-decoration: none;
}

.gallery__link img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__link:hover img {
  transform: scale(1.04);
}

.gallery__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 10px;
  background: linear-gradient(180deg, transparent, rgb(20 14 28 / 0.72));
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
}

@media (max-width: 860px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* Lightbox (native <dialog>) */
.lightbox {
  width: min(1200px, 100vw);
  max-width: 100vw;
  max-height: 100vh;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgb(14 10 20 / 0.9);
}

.lightbox__figure {
  margin: 0;
  padding: 56px 64px 16px;
}

.lightbox__img {
  width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox__caption {
  margin-top: 12px;
  text-align: center;
  font-weight: 500;
}

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.95);
  color: var(--purple-800);
  cursor: pointer;
}

.lightbox__btn:hover {
  background: #fff;
  color: var(--purple-900);
}

.lightbox__btn svg {
  width: 22px;
  height: 22px;
}

.lightbox__close {
  top: 4px;
  right: 8px;
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__prev {
  left: 6px;
}

.lightbox__next {
  right: 6px;
}

@media (max-width: 640px) {
  .lightbox__figure {
    padding: 60px 8px 76px;
  }

  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: 12px;
    transform: none;
  }

  .lightbox__prev {
    left: calc(50% - 60px);
  }

  .lightbox__next {
    right: calc(50% - 60px);
  }
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 44px);
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.faq__item summary {
  position: relative;
  display: block;
  padding: 20px 68px 20px 24px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--purple-800);
  border-radius: var(--radius-lg);
}

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

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background:
    linear-gradient(var(--teal-800), var(--teal-800)) center / 16px 3px no-repeat,
    linear-gradient(var(--teal-800), var(--teal-800)) center / 3px 16px no-repeat,
    var(--teal-50);
  transition: transform 0.25s ease;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item summary:hover {
  color: var(--purple-700);
}

.faq__answer {
  padding: 0 24px 24px;
  color: var(--ink-soft);
}

.faq__group {
  margin: clamp(32px, 5vw, 48px) 0 0;
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
}

.faq__group:first-child {
  margin-top: 0;
}

.faq__group + .faq {
  margin-top: 16px;
}

/* ---------- Contact section & form ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact__media {
  position: relative;
  isolation: isolate;
  margin: clamp(28px, 4vw, 40px) clamp(16px, 3vw, 40px) clamp(16px, 3vw, 40px) 0;
}

.contact__media::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: calc(-1 * clamp(16px, 3vw, 40px));
  bottom: calc(-1 * clamp(16px, 3vw, 40px));
  width: 75%;
  height: 45%;
  border-radius: var(--radius-lg);
  background: var(--gold-200);
}

.contact__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@media (max-width: 960px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

.form-card {
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-card__title {
  margin-bottom: 0.25em;
  font-size: clamp(1.6rem, 1.35rem + 0.9vw, 2.125rem);
}

.form-card__intro {
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
}

.form {
  display: grid;
  gap: 18px;
}

.form-preview {
  margin: 0;
  padding: 12px 16px;
  border-left: 4px solid var(--teal-700);
  border-radius: 4px;
  background: var(--teal-50);
  color: var(--ink);
  font-size: 0.9375rem;
}

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

@media (max-width: 560px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

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

.field label,
.field-group legend {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}

.field-group {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field-group legend {
  padding: 0;
}

.field__opt {
  font-weight: 400;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  border: 2px solid var(--field-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

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

.field select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-700);
  box-shadow: 0 0 0 4px rgb(31 108 118 / 0.18);
}

.field [aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgb(179 38 30 / 0.12);
}

.field__error {
  display: none;
  align-items: center;
  gap: 6px;
  color: var(--error);
  font-weight: 600;
}

.field__error:not(:empty) {
  display: flex;
}

.field__hint {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

/* Honeypot: off-screen for people, still present for naive bots */
.form__hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* "Verify you are human" widget (self-hosted proof-of-work, no third party) */
.human-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 420px;
  padding: 12px 16px;
  border: 2px solid var(--field-border);
  border-radius: var(--radius);
  background: #fbfaf8;
}

.human-check[data-state="error"] {
  border-color: var(--error);
}

.human-check[data-state="verified"] {
  border-color: var(--success);
  background: var(--success-bg);
}

.human-check__control {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  min-height: 44px;
}

.human-check__input {
  position: absolute;
  opacity: 0;
  width: 34px;
  height: 34px;
  margin: 0;
  cursor: pointer;
}

.human-check__box {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border: 2px solid var(--field-border);
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.human-check__input:focus-visible + .human-check__box {
  outline: 3px solid var(--purple-700);
  outline-offset: 3px;
}

.human-check__control:hover .human-check__box {
  border-color: var(--teal-700);
}

.human-check__box svg {
  width: 22px;
  height: 22px;
  opacity: 0;
  color: #fff;
}

.human-check__spinner {
  position: absolute;
  inset: -2px;
  border: 3px solid var(--teal-100);
  border-top-color: var(--teal-700);
  border-radius: 50%;
  opacity: 0;
}

.human-check[data-state="working"] .human-check__box {
  border-color: transparent;
  background: transparent;
}

.human-check[data-state="working"] .human-check__spinner {
  opacity: 1;
  animation: hc-spin 0.8s linear infinite;
}

.human-check[data-state="verified"] .human-check__box {
  border-color: var(--success);
  background: var(--success);
}

.human-check[data-state="verified"] .human-check__box svg {
  opacity: 1;
}

.human-check__meta svg {
  width: 24px;
  height: 24px;
  color: var(--teal-800);
}

.human-check__status {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.human-check__status:empty {
  display: none;
}

.human-check[data-state="error"] + .human-check__status,
.human-check__status.is-error {
  color: var(--error);
  font-weight: 500;
}

@keyframes hc-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .human-check[data-state="working"] .human-check__spinner {
    animation-duration: 2.4s;
  }
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.form__submit[aria-busy="true"] {
  cursor: progress;
}

.form__privacy {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.form__status {
  display: none;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-weight: 600;
}

.form__status:not(:empty) {
  display: flex;
}

.form__status--error {
  background: var(--error-bg);
  color: var(--error);
}

.form__status--success {
  background: var(--success-bg);
  color: var(--success);
}

.form-success {
  padding: clamp(8px, 2vw, 16px) 0;
  text-align: center;
}

/* Once sent, only the confirmation remains: no form heading or field hints */
.form-card:has(.form-success) > :not(.form-success, form) {
  display: none;
}

.field__count {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.field__count.is-over {
  color: var(--error);
  font-weight: 600;
}

.form-success .btn {
  margin: 0.5rem;
}

html:has(.lightbox[open]) {
  overflow: hidden;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  color: var(--success);
}

.form-success h3 {
  color: var(--purple-800);
}

.form-noscript {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--purple-50);
  color: var(--purple-900);
}

/* Contact page details */
.info-card {
  padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(160deg, var(--teal-700), var(--teal-800));
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.info-card h2 {
  color: #fff;
  font-size: clamp(1.75rem, 1.45rem + 1vw, 2.25rem);
}

.info-card a:not(.btn) {
  color: #fff;
}

.info-list {
  display: grid;
  gap: 22px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: flex;
  gap: 14px;
}

.info-list__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.14);
}

.info-list__icon svg {
  width: 22px;
  height: 22px;
}

.info-list strong {
  display: block;
  font-weight: 600;
}

.info-card__emergency {
  margin-top: 20px;
  font-size: 0.9375rem;
  color: #fff;
}

.info-list address,
.info-list span {
  font-style: normal;
  color: #fff;
}

@media (min-width: 961px) and (min-height: 700px) {
  .info-card {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

/* CTA band */
.cta-band {
  padding: clamp(32px, 5vw, 56px);
  background: linear-gradient(120deg, var(--purple-700), var(--purple-900));
  color: #fff;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  max-width: 620px;
  margin-inline: auto;
  color: #fff;
}

.cta-band .btn-row {
  justify-content: center;
}

/* Prose (privacy page) */
.prose {
  max-width: 760px;
  margin-inline: auto;
}

.prose h2 {
  margin-top: 1.6em;
  font-size: clamp(1.6rem, 1.35rem + 0.9vw, 2rem);
}

.prose ul {
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose kbd {
  padding: 0 6px;
  border: 1px solid var(--field-border);
  border-radius: 5px;
  background: #fff;
  font: 600 0.9em var(--font-body);
}

/* ---------- Getting started ---------- */
.section-title {
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 40px);
}

/* Who the visitor is: three large links on the home page */
.paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.paths li {
  display: flex;
}

.path {
  position: relative;
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 22px 56px 22px 24px;
  border: 2px solid var(--purple-700);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.path:hover {
  background: var(--purple-50);
  color: var(--ink);
}

.path strong {
  color: var(--purple-800);
  font-size: 1.1rem;
  line-height: 1.3;
}

.path svg {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  color: var(--purple-700);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps__item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  counter-increment: step;
}

.steps__item::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--purple-700);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
}

@media (max-width: 860px) {
  .paths,
  .steps {
    grid-template-columns: 1fr;
  }
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 1.25rem;
  font-weight: 600;
}

.guide {
  max-width: 860px;
}

.guide h3 {
  margin-top: 1.75em;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 1em 0 1.25em;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checklist svg {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 3px;
  color: var(--teal-800);
}

.resource-list {
  display: grid;
  gap: 18px;
  margin: 1em 0 0;
  padding: 0;
  list-style: none;
}

.resource-list li > a,
.resource-list li > strong {
  font-weight: 700;
}

.resource-list li > span {
  display: block;
}

.note {
  padding: 16px 20px;
  border-left: 6px solid var(--purple-700);
  border-radius: 6px;
  background: var(--purple-50);
}

/* Jump links at the top of the services page */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 6px 24px;
  max-width: 860px;
  margin: clamp(20px, 3vw, 32px) auto 0;
  padding: 0;
  list-style: none;
}

.quick-links a {
  display: inline-block;
  padding: 6px 0;
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: clamp(48px, 7vw, 80px) 28px;
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(28px, 5vw, 64px);
}

.footer__brand {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer__brand .brand__mark {
  width: 64px;
}

.footer__brand .brand__word {
  width: 190px;
}

.footer__tagline {
  max-width: 340px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.3;
  color: var(--purple-800);
}

.footer__heading {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple-800);
}

.footer__contact address {
  font-style: normal;
  margin-bottom: 10px;
  color: var(--ink);
}

.footer__phone {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--purple-700);
  text-decoration: none;
}

.footer__phone:hover {
  text-decoration: underline;
}

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

.footer__links a,
.footer__legal a {
  display: inline-block;
  padding-block: 2px;
  color: var(--ink);
}

.footer__links a:hover,
.footer__legal a:hover {
  color: var(--purple-700);
}

.footer__emergency {
  margin-top: 10px;
  font-weight: 600;
  color: var(--ink);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin: clamp(28px, 4vw, 40px) 0 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}

.footer__bottom p {
  margin: 0;
}

@media (max-width: 860px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Visitors who asked for less motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .card:hover .card__media img,
  .gallery__link:hover img {
    transform: none;
  }
}

/* ---------- Windows contrast themes and other forced colors ---------- */
@media (forced-colors: active) {
  .btn,
  .nav-toggle,
  .lightbox__btn,
  .path,
  .steps__item,
  .faq__item,
  .form-card,
  .card,
  .trust__item,
  .care-grid > div,
  .service,
  .credential,
  .info-card,
  .cta-band,
  .note {
    border: 1px solid CanvasText;
  }

  /* The logo's purple would vanish on a dark theme */
  .brand__word {
    forced-color-adjust: none;
    padding: 2px 4px;
    border-radius: 4px;
    background: #fff;
  }

  .faq__item summary::after {
    forced-color-adjust: none;
    background:
      linear-gradient(CanvasText, CanvasText) center / 16px 3px no-repeat,
      linear-gradient(CanvasText, CanvasText) center / 3px 16px no-repeat;
  }

  .faq__item[open] summary::after {
    transform: none;
    background: linear-gradient(CanvasText, CanvasText) center / 16px 3px no-repeat;
  }

  .steps__item::before {
    border: 2px solid CanvasText;
    forced-color-adjust: auto;
  }

  .human-check[data-state="verified"] .human-check__box {
    background: Highlight;
  }

  .human-check[data-state="verified"] .human-check__box svg {
    color: HighlightText;
  }

  .human-check__spinner {
    border-top-color: Highlight;
  }

  .field [aria-invalid="true"] {
    border-width: 4px;
  }
}

/* ---------- Print ---------- */
@media print {
  .nav,
  .nav-toggle,
  .form-card,
  .skip-link,
  .lightbox,
  .hero__media {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .hero {
    display: block;
    min-height: 0;
    background: none;
  }

  .site-header {
    position: static;
  }

  .hero__panel,
  .service,
  .credential,
  .info-card,
  .cta-band {
    background: none !important;
    color: #000 !important;
    box-shadow: none !important;
  }

  .hero__panel *,
  .service *,
  .credential *,
  .info-card *,
  .cta-band * {
    color: #000 !important;
  }

  .record-links a::after {
    content: " (" attr(href) ")";
    font-weight: 400;
    overflow-wrap: anywhere;
  }
}
