/* One Four Counseling — base styles */

:root {
  color-scheme: only light;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --bg-muted: #efefef;
  --ink: #0a0a0a;
  --ink-soft: #1f1f1f;
  --muted: #5c5c5c;
  --line: #e0e0e0;
  --line-strong: #cfcfcf;
  --footer-bg: #f8f8f8;
  --footer-muted: #555555;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  --shadow-tight: 0 8px 24px rgba(0, 0, 0, 0.05);
  --radius: 12px;
  --radius-lg: 20px;
  --max: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--ink);
}

a:hover {
  color: var(--ink-soft);
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
  display: block;
  margin-top: 0.25rem;
}

.visually-hidden {
  position: absolute;
  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: -999px;
  top: 0.5rem;
  background: var(--ink);
  color: #fff;
  padding: 0.55rem 0.9rem;
  border-radius: 6px;
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  left: 0.75rem;
}

.shell {
  width: min(100% - 1.75rem, var(--max));
  margin-inline: auto;
}

@media (max-width: 767.98px) {
  .shell {
    width: min(90%, var(--max));
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 0.95rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
  opacity: 0.88;
}

.brand__logo {
  display: block;
  height: 32px;
  width: auto;
  max-width: min(180px, 42vw);
  object-fit: contain;
}

/* Keep header chrome stable while visual edit wrappers are present */
body.dm-edit-mode .brand {
  max-width: min(200px, 46vw);
  min-width: 0;
}

body.dm-edit-mode .brand .dm-edit-spot--image {
  height: 32px;
  max-width: min(180px, 42vw);
  width: auto;
}

body.dm-edit-mode .brand .dm-edit-spot--image img.brand__logo,
body.dm-edit-mode .brand img.brand__logo {
  height: 32px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain;
}

body.dm-edit-mode .header__inner {
  align-items: center;
}

body.dm-edit-mode .header__actions {
  flex-shrink: 0;
  gap: 0.65rem;
  position: relative;
  z-index: 3;
}

body.dm-edit-mode .header__actions .dm-edit-link {
  margin-inline: 0.1rem;
}

body.dm-edit-mode .nav-main {
  min-width: 0;
}

body.dm-edit-mode .nav-main__link .dm-edit-spot {
  display: inline;
}

.brand__text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav-toggle {
  margin-left: auto;
  display: inline-flex;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0.35rem;
  cursor: pointer;
  position: relative;
  z-index: 130;
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.24s ease;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
  padding: 5.2rem 1.2rem 1.35rem;
  border-top: 0;
  background: rgba(249, 251, 252, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.26s ease, transform 0.26s ease, visibility 0.26s ease;
}

.nav-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-drawer.is-open + .header__actions,
.nav-drawer.is-open ~ .header__actions {
  pointer-events: none;
}

.nav-main {
  width: min(100%, 420px);
  margin-inline: auto;
}

.nav-main__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.nav-main__list > * {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.nav-drawer.is-open .nav-main__list > * {
  opacity: 1;
  transform: translateY(0);
}

.nav-main__item {
  position: relative;
}

.nav-main__link {
  display: block;
  padding: 0.6rem 0.5rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.26rem;
  letter-spacing: -0.01em;
  white-space: normal;
  text-align: center;
}

.nav-main__link:hover {
  text-decoration: none;
  color: var(--ink);
  opacity: 0.72;
}

.nav-main__link.is-active {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
}

.nav-main__item--services {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 360px;
}

.nav-main__link--parent {
  grid-column: 1;
}

.nav-main__caret {
  grid-column: 2;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-main__caret::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.15s ease;
}

.nav-main__item--services.is-open .nav-main__caret::before {
  transform: rotate(-135deg) translateY(-1px);
}

.nav-main__submenu {
  grid-column: 1 / -1;
  display: none;
  padding: 0.35rem 0;
  text-align: left; /* Align dropdown items to the left */
}

.nav-main__item--services.is-open .nav-main__submenu {
  display: block;
}

.nav-main__sublink {
  display: block;
  padding: 0.38rem 0.6rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 500;
  text-align: left; /* Ensure individual links are left-aligned */
}

.nav-main__sublink:hover {
  background: var(--bg-soft);
  color: var(--ink);
  text-decoration: none;
}

.header__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.header__actions--desktop {
  display: none;
}

.header__actions--mobile {
  width: min(100%, 420px);
  margin: auto auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.header__actions--mobile .header__textlink,
.header__actions--mobile .btn {
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  text-decoration: none;
}

.header__actions--mobile .header__textlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.header__actions--mobile .btn--book {
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
}

body.nav-open {
  overflow: hidden;
}

.header__textlink {
  font-weight: 400;
  font-size: 0.94rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.header__textlink:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 960px) {
  .header__inner {
    flex-wrap: nowrap;
    align-items: center;
  }

  .brand__logo {
    height: 36px;
    max-width: 200px;
  }

  body.dm-edit-mode .brand {
    max-width: 220px;
  }

  body.dm-edit-mode .brand .dm-edit-spot--image {
    height: 36px;
    max-width: 200px;
  }

  body.dm-edit-mode .brand .dm-edit-spot--image img.brand__logo,
  body.dm-edit-mode .brand img.brand__logo {
    height: 36px !important;
  }

  .nav-toggle {
    display: none;
  }

  .nav-drawer {
    position: static;
    inset: auto;
    z-index: auto;
    order: 0;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .nav-main {
    width: auto;
    flex: 0 1 auto;
  }

  .nav-main__list {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem 1.75rem;
  }

  .nav-main__list > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-main__link {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0.25rem;
    white-space: nowrap;
    text-align: left;
  }

  .nav-main__item--services {
    display: flex;
    align-items: center;
    width: auto;
    padding-bottom: 0.35rem;
    margin-bottom: -0.35rem;
  }

  .nav-main__caret {
    width: 1.7rem;
    height: 1.7rem;
    margin-left: -0.35rem;
  }

  .nav-main__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 13.5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow-tight);
    padding: 0.35rem;
    z-index: 60;
  }

  .nav-main__item--services.is-open .nav-main__submenu {
    display: block;
  }

  .header__actions--desktop {
    display: flex;
    flex: 0 0 auto;
  }

  .header__actions--mobile {
    display: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease, opacity 0.12s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn--primary:hover {
  background: #1f1f1f;
  border-color: #1f1f1f;
  color: #fff;
}

.btn--secondary {
  background: #fff;
  border-color: var(--ink);
  color: var(--ink);
}

.btn--secondary:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.btn--ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--bg-soft);
  border-color: var(--ink);
  color: var(--ink);
}

.btn--small {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
}

.btn--light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn--light:hover {
  background: #f2f5f6;
  border-color: #f2f5f6;
  color: var(--ink);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.btn--outline-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.btn--book {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  font-weight: 700;
  padding: 0.55rem 1.1rem;
}

.btn--book:hover {
  background: var(--ink);
  color: #fff;
}

.btn:focus-visible {
  outline: 2px solid #234d5d;
  outline-offset: 2px;
}

.button-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--primary);
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button-outline:hover {
  background-color: white;
  color: var(--primary);
}

/* ---------- Hero banner ---------- */
.hero-banner {
  --hero-parallax-y: 0px;
  --dm-bg-image: url("../header-bg-2.jpg");
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.64)),
    var(--dm-bg-image);
  background-repeat: no-repeat, no-repeat;
  background-size: auto, cover;
  background-position: center center, center calc(50% + var(--hero-parallax-y));
  will-change: background-position;
  border-bottom: 1px solid var(--line);
}

.hero-banner__grid {
  display: grid;
  gap: 2rem;
  padding: clamp(1.8rem, 4.2vw, 3rem) 0 clamp(4.2rem, 6.2vw, 5.4rem);
  align-items: center;
}

@media (min-width: 980px) {
  .hero-banner__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem 2.75rem;
  }
}

.hero-banner__title {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #213f4b;
}

.hero-banner__sub {
  margin: 0 0 1.9rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #35535d;
  max-width: 44ch;
  line-height: 1.65;
}

.hero-banner__prompt {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #26434d;
}

.hero-banner--about .hero-banner__grid {
  gap: 2.5rem;
}

@media (min-width: 980px) {
  .hero-banner--about .hero-banner__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }
}

.about-verse {
  text-align: right;
  max-width: 34ch;
  margin-left: auto;
}

.about-verse__label {
  display: block;
  margin-bottom: 0.5rem;
  color: #35535d;
  font-size: 1.05rem;
  font-weight: 500;
}

.about-verse__text,
.about-verse__ref {
  display: block;
  font-family: "Dancing Script", cursive;
  color: #183845;
  font-weight: 500;
}

.about-verse__text {
  font-size: 1.35rem;
  line-height: 1.35;
}

.about-verse__ref {
  margin-top: 0.3rem;
  font-size: 1.08rem;
}

.hero-banner__visual {
  position: relative;
  align-self: stretch;
}

.hero-banner__figure {
  margin: 0;
  position: relative;
  z-index: 1;
  border-radius: 38% 62% 42% 58% / 50% 52% 48% 50%;
  overflow: hidden;
  border: 2px solid #2fa8bf;
  box-shadow: var(--shadow);
  transform-origin: 58% 56%;
  animation: hero-oval-roll-in 1.05s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* In edit mode, allow Change image button outside the oval crop */
body.dm-edit-mode .hero-banner__figure {
  overflow: visible;
}

body.dm-edit-mode .hero-banner__verse {
  border-radius: 38% 62% 42% 58% / 50% 52% 48% 50%;
  overflow: hidden;
}

/* Clip the photo to the oval; keep the spot overflow visible so the Change image control isn’t cropped */
body.dm-edit-mode .hero-banner__figure > .dm-edit-spot--image {
  display: block;
  width: 100%;
  overflow: visible;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

body.dm-edit-mode .hero-banner__figure > .dm-edit-spot--image img {
  border-radius: 38% 62% 42% 58% / 50% 52% 48% 50%;
  border: 2px solid #2fa8bf;
  box-shadow: var(--shadow);
}

body.dm-edit-mode .hero-banner__figure {
  border: 0;
  box-shadow: none;
}

.hero-banner--services .hero-banner__figure {
  border-radius: var(--radius-lg);
  animation: none;
}

@media (min-width: 980px) {
  .hero-banner--services .hero-banner__grid {
    grid-template-columns: 1fr;
  }
}

@keyframes hero-oval-roll-in {
  0% {
    opacity: 0;
    transform: translateX(120px) rotate(18deg) scale(0.88);
  }
  55% {
    opacity: 1;
    transform: translateX(-10px) rotate(-3deg) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0deg) scale(1);
  }
}

.hero-banner__figure img {
  display: block;
  width: 100%;
  height: min(50vh, 460px);
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
}

/* Keep cms_img wrapper from breaking oval crop / fill */
.hero-banner__figure > .dm-edit-spot--image,
.hero-banner__figure > .dm-styled--image {
  display: block;
  width: 100%;
  line-height: 0;
}

.hero-banner__verse {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 0 0 clamp(2rem, 4vw, 2.8rem);
  background: linear-gradient(180deg, rgba(22, 52, 64, 0.04) 0%, rgba(22, 52, 64, 0.28) 52%, rgba(16, 44, 56, 0.9) 100%);
  background-size: 135% 135%;
  background-position: 50% 30%;
  animation: hero-overlay-shift 6.5s ease-in-out infinite alternate;
  color: #f7fbfd;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  /* Let clicks reach the photo underneath (Change image); text spots re-enable below */
  pointer-events: none;
}

.hero-banner__verse .dm-edit-spot,
.hero-banner__verse a {
  pointer-events: auto;
  position: relative;
  z-index: 3;
}

body.dm-edit-mode .hero-banner__figure > .dm-edit-spot--image {
  position: relative;
  z-index: 1;
}

body.dm-edit-mode .hero-banner__figure > .dm-edit-spot--image .dm-edit-img-btn {
  top: 0.85rem;
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  white-space: nowrap;
}

/* Overlay stays on top visually; pointer-events:none lets Change image receive clicks */
body.dm-edit-mode .hero-banner__verse {
  z-index: 2;
}

@keyframes hero-overlay-shift {
  0% {
    background-position: 34% 12%;
    filter: saturate(100%);
  }
  50% {
    background-position: 66% 50%;
    filter: saturate(126%);
  }
  100% {
    background-position: 30% 78%;
    filter: saturate(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner__verse {
    animation: none;
  }

  .hero-banner__figure {
    animation: none;
  }
}

.hero-banner__verse-ref {
  margin: 0;
  width: min(68%, 34ch);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.96;
}

.hero-banner__verse-text {
  margin: 0;
  width: min(68%, 34ch);
  font-size: clamp(0.78rem, 0.88vw, 0.9rem);
  line-height: 1.35;
}

@media (min-width: 980px) {
  .hero-banner__figure img {
    height: min(47vh, 470px);
    min-height: 360px;
  }
}

.hero-banner__frame {
  display: none;
}

/* ---------- Service page hero (aligned with About hero-banner) ---------- */
.service-hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  --dm-bg-image: url("../header-bg-2.jpg");
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.64)),
    var(--dm-bg-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.service-hero__inner {
  padding: clamp(1.8rem, 4.2vw, 3rem) 0 clamp(2.6rem, 5vw, 3.75rem);
}

.service-hero__copy {
  max-width: 44rem;
}

.service-hero__kicker {
  margin: 0 0 0.65rem;
  color: #4f5358;
}

.service-hero .hero-banner__title,
.service-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #213f4b;
  max-width: 18ch;
}

.service-hero .hero-banner__sub,
.service-hero__sub {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.65;
  color: #35535d;
  max-width: 44ch;
}

@media (max-width: 767.98px) {
  .service-hero__inner {
    padding: clamp(1.5rem, 6vw, 2.4rem) 0 clamp(2rem, 7vw, 2.8rem);
  }

  .service-hero__kicker {
    margin-bottom: 0.5rem;
  }

  .service-hero .hero-banner__title,
  .service-hero__title {
    max-width: 100%;
  }

  .service-hero .hero-banner__sub,
  .service-hero__sub {
    max-width: 38ch;
  }
}

/* ---------- Overlapping service cards ---------- */
.hero-cards {
  margin-top: clamp(0.9rem, 1.8vw, 1.35rem);
  margin-bottom: clamp(-3.4rem, -4vw, -2.8rem);
  padding-bottom: 0.65rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-cards {
    margin-top: clamp(0.55rem, 1.1vw, 0.95rem);
    margin-bottom: clamp(-6.4rem, -7.5vw, -5.2rem);
    padding-bottom: 0.35rem;
  }

  .hero-banner + .band {
    padding-top: clamp(9.6rem, 12vw, 12.6rem);
    padding-bottom: clamp(5.2rem, 7vw, 7.2rem);
  }

  .hero-banner--services + .band {
    padding-top: clamp(6rem, 6vw, 12.6rem);
    padding-bottom: clamp(5.2rem, 7vw, 7.2rem);
  }
}

.hero-cards__inner {
  position: relative;
}

@media (max-width: 767.98px) {
  .hero-banner {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.64)),
      var(--dm-bg-image, url("../header-bg-2.jpg"));
    background-size: auto, cover;
    background-position: center center, center calc(50% + var(--hero-parallax-y));
  }

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

  .hero-banner__title,
  .hero-banner__sub,
  .hero-banner__prompt,
  .hero-banner__text .kicker {
    margin-left: auto;
    margin-right: auto;
  }

  .action-row {
    justify-content: center;
    flex-wrap: nowrap;
  }

  .action-row .btn {
    font-size: 1.05rem;
    padding: 0.85rem 1.5rem;
  }

  .action-row .btn:first-child {
    display: none;
  }

  .hero-banner__grid {
    gap: 1.1rem;
    padding: clamp(2.25rem, 5vw, 3rem) 0;
    min-height: 400px;
  }

  .hero-banner--about .hero-banner__grid {
    min-height: 0;
    gap: 1.25rem;
  }

  .about-verse {
    margin-left: 0;
    max-width: 100%;
    text-align: center;
  }

  .about-verse__label {
    margin-bottom: 0.35rem;
    font-size: 0.98rem;
  }

  .about-verse__text {
    font-size: 1.14rem;
  }

  .about-verse__ref {
    font-size: 0.98rem;
  }

  .hero-banner__visual {
    display: none;
  }

  .hero-banner__figure img {
    height: clamp(190px, 42vw, 250px);
    min-height: 0;
  }

  .hero-banner__frame {
    inset: -8px -6px auto -6px;
    height: 62%;
  }

  .hero-cards {
    margin-top: 0.45rem;
    margin-bottom: -1.5rem;
    padding-bottom: 0.3rem;
    z-index: 3;
  }

  .hero-cards__inner {
    overflow: visible;
    padding-bottom: 0;
  }

  .hero-banner + .band {
    padding-top: clamp(2.1rem, 5.5vw, 2.5rem);
  }
}

.svc-cards {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .svc-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) and (max-width: 1199.98px) {
  .svc-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .svc-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.svc-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 198px;
  padding: 1.45rem 1.35rem;
  border-radius: 16px;
  border: 1px solid #d7dee1;
  background: #fff;
  text-decoration: none;
  color: #17343f;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
  border-color: #b5c3c9;
  text-decoration: none;
  color: #17343f;
}

.svc-card--invert {
  background: #234d5d;
  color: #fff;
  border-color: #234d5d;
}

.svc-card--invert:hover {
  color: #fff;
  opacity: 0.96;
}

.svc-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ccd6da;
  background: #eff4f6;
  display: grid;
  place-items: center;
  margin-bottom: 0.95rem;
  color: #163540;
}

.svc-card--invert .svc-card__icon {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: #dff5ff;
}

.svc-card__title {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.svc-card__hint {
  font-size: 0.95rem;
  color: #56717c;
  margin-bottom: 0.9rem;
}

.svc-card--invert .svc-card__hint {
  color: rgba(255, 255, 255, 0.82);
}

.svc-card__arrow {
  margin-top: auto;
  font-size: 1.2rem;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .svc-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    width: auto;
    min-width: 0;
    padding-right: 0;
  }

  .svc-card {
    min-height: 0;
    padding: 0.85rem 0.65rem 0.9rem;
    border-radius: 12px;
    text-align: center;
    align-items: center;
  }

  .svc-card__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.55rem;
  }

  .svc-card__title {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.25;
  }

  .svc-card__hint,
  .svc-card__arrow {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .why-section {
    margin-top: 2rem;
  }
}

/* ---------- Bands & inner pages ---------- */
.band {
  padding: clamp(3.25rem, 7vw, 5.25rem) 0;
  position: relative;
  isolation: isolate;
}

.band + .band {
  margin-top: clamp(1rem, 2.2vw, 1.65rem);
}

.band + .band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(-1rem, -2.2vw, -1.65rem);
  height: clamp(1.4rem, 3vw, 2.2rem);
  background: linear-gradient(180deg, rgba(248, 250, 251, 0), rgba(248, 250, 251, 0.52), rgba(248, 250, 251, 0));
  pointer-events: none;
  z-index: 1;
}

.band--paper {
  background: linear-gradient(180deg, #fafbfc 0%, #f6f8f9 100%);
}

.band--stats {
  padding: 1.5rem 0 2.25rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.band--muted {
  background: linear-gradient(180deg, #f8fafb 0%, #f4f6f7 100%);
}

.why-section {
  display: grid;
  gap: 2rem;
}

.why-section__intro {
  display: grid;
  gap: 1rem 2rem;
  align-items: start;
}

@media (min-width: 920px) {
  .why-section__intro {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  }
}

.why-section__title {
  margin-bottom: 0;
  max-width: 14ch;
}

.why-section__copy {
  margin: 0;
  max-width: 52ch;
  line-height: 1.8;
}

.why-section__cards {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 820px) {
  .why-section__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-tight);
}

.why-card__title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.why-card__lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  max-width: 52ch;
}

.why-checks {
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 0;
  display: grid;
  gap: 0.95rem 1.15rem;
}

@media (min-width: 980px) {
  .why-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.why-checks li {
  position: relative;
  padding-left: 2rem;
  color: var(--ink);
  line-height: 1.55;
  font-weight: 500;
}

.why-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: #e0f2e7;
  box-shadow: inset 0 0 0 1px rgba(18, 122, 63, 0.12);
}

.why-checks li::after {
  content: "";
  position: absolute;
  left: 0.42rem;
  top: 0.42rem;
  width: 0.38rem;
  height: 0.2rem;
  border-left: 2px solid #16924a;
  border-bottom: 2px solid #16924a;
  transform: rotate(-45deg);
}

.band--cta {
  padding: clamp(2.6rem, 5vw, 3.6rem) 0;
}

.section {
  padding: clamp(2.85rem, 6vw, 4.3rem) 0;
}

.section--tight {
  padding: clamp(2.3rem, 5vw, 3.2rem) 0 clamp(2.7rem, 5.5vw, 3.8rem);
}

.page-head {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.page-head h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
  line-height: 1.12;
}

.kicker,
.eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.title {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.45rem;
  line-height: 1.15;
}

.title--on-dark {
  color: #fff;
}

.display {
  font-size: clamp(1.9rem, 3.8vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 0.85rem;
}

.intro,
.lede {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1rem;
  max-width: 52ch;
  line-height: 1.65;
}

.intro--narrow {
  max-width: 46ch;
}

.intro--on-dark {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head--flat {
  margin-bottom: 0;
}

.row-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.row-head .section-head {
  margin-bottom: 0;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1rem;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats__item {
  padding: 0.95rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.3rem;
  align-items: baseline;
}

.stats__n {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.stats__u {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.stats__l {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.3rem;
  line-height: 1.35;
}

/* ---------- Split + timeline ---------- */
.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .split {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 1.2rem 1.2rem;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: -7px;
  top: 0.3rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid #fff;
}

.timeline strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.timeline p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.55;
}

.timeline--steps {
  border-left: 0;
  display: grid;
  gap: 0.9rem;
  counter-reset: step;
}

.timeline--steps li {
  counter-increment: step;
  --step-accent: #bcd0de;
  --step-chip-bg: #eef5fa;
  --step-chip-border: #cadce8;
  border: 1px solid #d6dfe6;
  border-radius: 14px;
  background: #ffffff;
  padding: 1rem 3.2rem 1rem 3.5rem;
  color: var(--ink-soft);
  line-height: 1.6;
  box-shadow: 0 1px 0 rgba(7, 24, 36, 0.03);
  overflow: hidden;
}

.timeline--steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1c4a5d;
  background: #e8f1f6;
  border: 1px solid #bfd2df;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.timeline--steps li::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  top: 0.9rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--step-chip-bg);
  border: 1px solid var(--step-chip-border);
  box-shadow: inset 0 0 0 3px #fff;
}

.timeline--steps li:nth-child(odd) {
  background: #ffffff;
}

.timeline--steps li:nth-child(even) {
  background: #fbfdff;
}

.timeline--steps li:nth-child(1) {
  --step-accent: #bad6cc;
  --step-chip-bg: #e8f5f0;
  --step-chip-border: #c4dfd5;
}

.timeline--steps li:nth-child(2) {
  --step-accent: #bfd1e4;
  --step-chip-bg: #edf4fb;
  --step-chip-border: #cfdeec;
}

.timeline--steps li:nth-child(3) {
  --step-accent: #c7bde2;
  --step-chip-bg: #f1ecfa;
  --step-chip-border: #ddd3f0;
}

.timeline--steps li:nth-child(4) {
  --step-accent: #d9c4b7;
  --step-chip-bg: #f8efe9;
  --step-chip-border: #ead9cf;
}

.timeline--steps li:nth-child(5) {
  --step-accent: #b8cec4;
  --step-chip-bg: #eaf4f0;
  --step-chip-border: #ccded6;
}

.timeline--steps li:nth-child(6) {
  --step-accent: #c4d2c6;
  --step-chip-bg: #eff5ef;
  --step-chip-border: #d7e2d8;
}

.timeline--steps li {
  border-left: 6px solid var(--step-accent);
}

.timeline--steps li:last-child {
  padding-bottom: 1rem;
}

.timeline--steps strong {
  margin-bottom: 0.35rem;
  font-size: 1.06rem;
  color: var(--ink);
}

.process-centered {
  max-width: min(100%, 840px);
  margin-inline: auto;
}

.process-centered__copy .kicker,
.process-centered__copy .title {
  text-align: center;
}

.timeline--steps[data-scroll-steps] li {
  opacity: 0.18;
  transform: translateY(24px) scale(0.985);
  transition: opacity 420ms ease, transform 420ms ease;
}

.timeline--steps[data-scroll-steps] li.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.timeline--steps[data-scroll-steps] li.is-past {
  opacity: 0.35;
  transform: translateY(-14px) scale(0.985);
}

@media (prefers-reduced-motion: reduce) {
  .timeline--steps[data-scroll-steps] li,
  .timeline--steps[data-scroll-steps] li.is-visible,
  .timeline--steps[data-scroll-steps] li.is-past {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Testimonials ---------- */
.t-controls {
  display: flex;
  gap: 0.4rem;
}

.t-btn {
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  padding: 0.35rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.t-btn:hover {
  border-color: var(--ink);
}

.t-carousel {
  margin-top: 0.2rem;
}

.t-track {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.3rem;
  scrollbar-width: none;
}

.t-track::-webkit-scrollbar {
  display: none;
}

.t-slide {
  min-width: min(100%, 340px);
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.3rem;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.t-slide__quote {
  margin: 0 0 0.75rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.t-slide__by {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Blog ---------- */
.blog-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 2.75rem);
}

.blog-featured {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line, #d7e0e7);
  border-radius: calc(var(--radius, 14px) + 2px);
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 35, 49, 0.045);
}

.blog-featured__media {
  display: block;
  min-height: 14rem;
  aspect-ratio: 16 / 10;
  background: #edf2f5;
}

.blog-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-featured__body {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.blog-featured__title {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.blog-featured__title a {
  color: var(--ink, #1a2a33);
  text-decoration: none;
}

.blog-featured__title a:hover,
.blog-featured__title a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.blog-featured__excerpt {
  margin: 0;
  max-width: 52ch;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-70, #4a5a66);
}

.blog-section-head {
  margin: 0.25rem 0 0;
}

.blog-section-head .title {
  margin: 0;
  max-width: none;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.25;
}

.blog-grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  grid-template-columns: 1fr;
}

.blog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line, #d7e0e7);
  border-radius: var(--radius, 14px);
  background: #fff;
  box-shadow: 0 6px 18px rgba(16, 35, 49, 0.04);
}

.blog-card__media {
  display: block;
  height: 11.5rem;
  background: #edf2f5;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.25rem 1.25rem 1.4rem;
  flex: 1;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.85rem;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--muted, #6a7d86);
}

.blog-meta__pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #eef3f6;
  color: #213f4b;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-card__title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.blog-card__title a {
  color: var(--ink, #1a2a33);
  text-decoration: none;
}

.blog-card__title a:hover,
.blog-card__title a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.blog-card__excerpt {
  margin: 0;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-70, #4a5a66);
}

.blog-card__link {
  align-self: flex-start;
  margin-top: 0.15rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #173f52;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.blog-empty {
  margin: 0;
  color: var(--muted, #6a7d86);
  line-height: 1.7;
}

.post-page {
  background: #fff;
}

.post-hero {
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

.post-hero__inner {
  max-width: 46rem;
}

.post-hero__back {
  display: inline-block;
  margin: 0 0 1.15rem;
  font-size: 0.9rem;
  font-weight: 650;
  color: #173f52;
  text-decoration: none;
}

.post-hero__back:hover,
.post-hero__back:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.post-hero__meta {
  margin: 0 0 0.85rem;
}

.post-hero__title {
  margin: 0 0 0.9rem;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #213f4b;
}

.post-hero__lede {
  margin: 0;
  max-width: 42rem;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.7;
  color: var(--ink-70, #4a5a66);
}

.post-hero-image {
  margin-top: 0;
}

.post-hero-image img {
  display: block;
  width: 100%;
  height: clamp(14rem, 28vw, 22rem);
  object-fit: cover;
  border: 1px solid var(--line, #d7e0e7);
  border-radius: calc(var(--radius, 14px) + 2px);
}

.post-body-band {
  padding-top: clamp(2rem, 4vw, 2.75rem);
}

.post-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 2.75rem);
  align-items: start;
}

.post-layout__content {
  max-width: 44rem;
}

.post-cta {
  display: grid;
  gap: 0.75rem;
  padding: clamp(1.5rem, 2.8vw, 1.85rem);
  border: 1px solid var(--line, #d7e0e7);
  border-radius: var(--radius, 14px);
  background: #f8fafb;
}

.post-cta .kicker {
  margin: 0;
}

.post-cta__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink, #1a2a33);
}

.post-cta__copy {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--ink-70, #4a5a66);
}

.post-cta__actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.post-cta__actions .btn {
  text-align: center;
}

.post-missing {
  max-width: 36rem;
}

.post-missing .title {
  margin: 0 0 0.85rem;
  max-width: none;
}

.post-missing__copy {
  margin: 0 0 1.35rem;
  line-height: 1.7;
  color: var(--ink-70, #4a5a66);
}

.prose {
  max-width: 44rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-70, #4a5a66);
}

.prose > *:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 1.25rem;
}

.prose h2,
.prose h3 {
  margin: 2rem 0 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink, #1a2a33);
}

.prose h2 {
  font-size: 1.35rem;
}

.prose h3 {
  font-size: 1.15rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.prose a {
  font-weight: 600;
  color: #173f52;
  text-underline-offset: 0.12em;
}

@media (min-width: 760px) {
  .blog-featured {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .blog-featured__media {
    min-height: 100%;
    aspect-ratio: auto;
  }

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

@media (min-width: 1040px) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .post-layout {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 18rem);
    gap: 3rem;
  }

  .post-layout__aside {
    position: sticky;
    top: calc(var(--header-h, 4.5rem) + 1.25rem);
  }
}

/* ---------- About/Intro Section ---------- */
.band--about {
  background: #fff;
}
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}
.about-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about-content h2 {
  margin-top: 0;
  font-size: 2rem;
  font-weight: 700;
}
.about-features {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2.5rem;
}
.about-features li {
  font-size: 1.05rem;
  color: var(--ink);
  position: relative;
  padding-left: 2rem;
  line-height: 1.55;
  font-weight: 500;
}
.about-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: #e0f2e7;
  box-shadow: inset 0 0 0 1px rgba(18, 122, 63, 0.12);
}

.about-features li::after {
  content: "";
  position: absolute;
  left: 0.42rem;
  top: 0.42rem;
  width: 0.38rem;
  height: 0.2rem;
  border-left: 2px solid #16924a;
  border-bottom: 2px solid #16924a;
  transform: rotate(-45deg);
}

/* ---------- About therapist editorial profile ---------- */
.therapist-editorial {
  background: #efefef;
}

.therapist-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.therapist-picker__item {
  border: 1px solid #cfd5db;
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.8rem 0.35rem 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  color: #1d2530;
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.therapist-picker__item:hover {
  border-color: #9eabb8;
}

.therapist-picker__item img {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  object-fit: cover;
}

.therapist-picker__item.is-active {
  background: #eaf2f7;
  border-color: #89a3b8;
}

.bio-editorial {
  background: #efefef;
  border: 1px solid #e3e3e3;
  border-radius: 14px;
  padding: clamp(1.15rem, 2.8vw, 2.2rem);
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.35fr);
  gap: clamp(1rem, 2.1vw, 1.8rem);
  align-items: start;
}

.therapist-profile {
  display: none;
}

.therapist-profile.is-active {
  display: grid;
}

.therapist-profile.is-entering {
  animation: therapist-panel-slide-in 0.34s ease;
}

@keyframes therapist-panel-slide-in {
  from {
    opacity: 0;
    transform: translateX(25px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.bio-editorial__left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.bio-editorial__right {
  display: grid;
  gap: clamp(0.9rem, 1.8vw, 1.3rem);
}

.bio-editorial__headline {
  margin: 0;
  font-weight: 900;
  font-size: clamp(2.1rem, 6vw, 5.2rem);
  line-height: 0.93;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: #130707;
  max-width: 8.3ch;
}

.bio-editorial__signature {
  margin: 0.7rem 0 0;
  font-family: "Dancing Script", cursive;
  font-size: clamp(1.8rem, 3.3vw, 2.7rem);
  line-height: 1;
  color: #111;
}

.bio-editorial__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 0.8rem;
}

.bio-editorial__book {
  margin-top: 0;
  align-self: auto;
}

.bio-editorial__pt-seal {
  flex: 0 0 auto;
  line-height: 0;
  overflow: visible;
}

.bio-editorial__pt-seal .sx-verified-seal {
  position: relative;
  display: inline-block;
  width: 146px;
  height: 46px;
  min-width: 146px;
  min-height: 46px;
  flex-shrink: 0;
  background-image: url("../psychology-today-verified.svg");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  /* Prefer static <img> when present; PT JS may also set background-image */
}

.bio-editorial__pt-seal .sx-verified-seal img {
  display: block;
  width: 146px;
  height: 46px;
  max-width: none;
}

/* When PT widget paints the badge, hide the static img to avoid a double stack */
.bio-editorial__pt-seal .sx-verified-seal[style*="background-image"] img {
  opacity: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bio-editorial__pt-placeholder {
  margin: 0;
  padding: 0.55rem 0.85rem;
  border: 1px dashed var(--border, #c9d0d8);
  border-radius: 999px;
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--muted, #667788);
  background: var(--bg-soft, #f6f8fa);
  white-space: nowrap;
}

.bio-editorial__qualifications {
  margin-top: 1.35rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.bio-editorial__qual-title {
  display: none;
}

/* Legacy CMS markup (dt/dd) — match fact label/body styling */
.bio-editorial__qual-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.bio-editorial__qual-item {
  margin: 0;
  padding: 0;
  border-bottom: 0;
}

.bio-editorial__qual-item dt {
  margin: 0;
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #666b73;
  font-weight: 400;
  line-height: 1.3;
}

.bio-editorial__qual-item dd {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #2a2f37;
  font-weight: 500;
  padding: 0;
}

.bio-editorial__photo-wrap {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  max-height: 430px;
  overflow: hidden;
}

.bio-editorial__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  border-radius: 0;
  display: block;
}

.bio-editorial__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(0.8rem, 2vw, 1.35rem);
  align-items: start;
}

.bio-editorial__copy {
  color: #232529;
  font-size: 1rem;
  line-height: 1.55;
}

.bio-editorial__copy p {
  margin: 0;
}

.bio-editorial__copy p + p {
  margin-top: 0.95rem;
}

.bio-editorial__lead::first-letter {
  float: left;
  font-size: 3rem;
  line-height: 0.9;
  font-weight: 800;
  margin: 0.16rem 0.38rem 0 0;
  color: #121315;
}

.bio-editorial__quote {
  margin: 0;
  color: #15171a;
  border-top: 1px solid #bfc2c7;
  border-bottom: 1px solid #bfc2c7;
  padding: 0.7rem 0;
}

.bio-editorial__quote p {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.55;
  font-weight: 600;
}

.bio-editorial__quote footer {
  margin-top: 1rem;
  display: grid;
  gap: 0.2rem;
}

.bio-editorial__quote-label {
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #666b73;
}

.bio-editorial__facts {
  margin: 0;
  border-top: 1px solid #bfc2c7;
  border-bottom: 1px solid #bfc2c7;
  padding: 0.7rem 0;
  display: grid;
  gap: 0.8rem;
}

.bio-editorial__fact p {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #2a2f37;
  font-weight: 500;
}

@media (max-width: 980px) {
  .bio-editorial {
    grid-template-columns: 1fr;
  }

  .bio-editorial__headline {
    max-width: none;
  }

  .bio-editorial__photo-wrap {
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .bio-editorial__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .bio-editorial {
    border: 0;
    padding: 0;
  }

  .bio-editorial__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .bio-editorial__pt-seal,
  .bio-editorial__pt-seal .sx-verified-seal {
    width: 146px;
    max-width: 100%;
  }

  .about-grid {
    gap: 1.5rem;
  }

  .about-content h2 {
    font-size: clamp(1.5rem, 7vw, 1.85rem);
  }

  .about-features {
    gap: 0.75rem;
  }

  .about-features li {
    font-size: 1rem;
    padding-left: 1.75rem;
  }

  .therapist-picker {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -0.25rem;
    padding-inline: 0.25rem;
    padding-bottom: 0.2rem;
    -webkit-overflow-scrolling: touch;
  }

  .therapist-picker__item {
    flex: 0 0 auto;
  }

  .bio-editorial__headline {
    font-size: clamp(1.8rem, 11vw, 2.8rem);
    line-height: 0.98;
  }

  .bio-editorial__copy {
    font-size: 0.95rem;
  }

  .bio-editorial__lead::first-letter {
    font-size: 2.45rem;
    margin-top: 0.08rem;
  }
}

/* ---------- About page v2 ---------- */
.aboutv2-hero {
  padding-top: clamp(2.8rem, 6vw, 4.2rem);
}

.aboutv2-hero__grid {
  display: grid;
  gap: 1.2rem;
  align-items: start;
}

@media (min-width: 920px) {
  .aboutv2-hero__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 1.8rem;
  }
}

.aboutv2-hero__copy h1 {
  margin-bottom: 0.85rem;
}

.aboutv2-hero__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  max-width: 62ch;
}

.aboutv2-verse {
  margin: 0;
  background: #1f4f63;
  color: #edf6fa;
  border-radius: 18px;
  padding: 1.3rem 1.3rem 1.4rem;
  box-shadow: var(--shadow-tight);
}

.aboutv2-verse__label {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.aboutv2-verse__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

.aboutv2-team__head {
  margin-bottom: 1.35rem;
}

.aboutv2-team__head h2 {
  margin: 0;
}

.aboutv2-profiles {
  display: grid;
  gap: 1.15rem;
}

.aboutv2-profile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-tight);
  padding: 1.2rem;
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 900px) {
  .aboutv2-profile {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1.35rem;
    align-items: start;
  }
}

.aboutv2-profile__identity {
  display: grid;
  gap: 0.6rem;
  justify-items: start;
}

.aboutv2-avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #204c5e, #2a6a84);
  color: #eaf4f8;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
}

.aboutv2-profile__identity h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.aboutv2-profile__body {
  display: grid;
  gap: 0.9rem;
}

.aboutv2-profile__body p {
  margin: 0;
  color: #304852;
  line-height: 1.72;
}

.aboutv2-principles {
  padding-top: 0;
}

.aboutv2-principles__panel {
  background: linear-gradient(135deg, #0f7b45, #0e6a3d);
  color: #f4fbf7;
  border-radius: 22px;
  padding: 1.2rem 1.25rem;
  line-height: 1.8;
  box-shadow: var(--shadow-tight);
}

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

.aboutv2-cta .title {
  margin-bottom: 0.85rem;
}

.aboutv2-cta p {
  margin: 0 auto 1.15rem;
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.8;
}

/* ---------- Provider Topics Section ---------- */
.band--topics {
  background: var(--bg);
}
.topics-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}
.topics-cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .topics-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .topics-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}
.topic-card {
  --topic-image: url("https://images.unsplash.com/photo-1493836512294-502baa1986e2?auto=format&fit=crop&w=1200&q=80");
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #d2dde6;
  box-shadow: 0 6px 18px rgba(16, 35, 49, 0.07);
  padding: 0;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.topics-cards--individual .topic-card:nth-child(1) { --topic-image: url("https://images.unsplash.com/photo-1493836512294-502baa1986e2?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--individual .topic-card:nth-child(2) { --topic-image: url("https://images.unsplash.com/photo-1491841550275-ad7854e35ca6?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--individual .topic-card:nth-child(3) { --topic-image: url("https://images.unsplash.com/photo-1517022812141-23620dba5c23?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--individual .topic-card:nth-child(4) { --topic-image: url("https://images.unsplash.com/photo-1516589178581-6cd7833ae3b2?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--individual .topic-card:nth-child(5) { --topic-image: url("https://images.unsplash.com/photo-1456406644174-8ddd4cd52a06?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--individual .topic-card:nth-child(6) { --topic-image: url("https://images.unsplash.com/photo-1504052434569-70ad5836ab65?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--individual .topic-card:nth-child(7) { --topic-image: url("https://images.unsplash.com/photo-1477414348463-c0eb7f1359b6?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--individual .topic-card:nth-child(8) { --topic-image: url("https://images.unsplash.com/photo-1516302752625-fcc3c50ae61f?auto=format&fit=crop&w=1200&q=80"); }

.topics-cards--couples .topic-card:nth-child(1) { --topic-image: url("https://images.unsplash.com/photo-1475503572774-15a45e5d60b9?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--couples .topic-card:nth-child(2) { --topic-image: url("https://images.unsplash.com/photo-1454391304352-2bf4678b1a7a?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--couples .topic-card:nth-child(3) { --topic-image: url("https://images.unsplash.com/photo-1516589091380-5d8e87df6999?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--couples .topic-card:nth-child(4) { --topic-image: url("https://images.unsplash.com/photo-1469571486292-b53601020e51?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--couples .topic-card:nth-child(5) { --topic-image: url("https://images.unsplash.com/photo-1497486751825-1233686d5d80?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--couples .topic-card:nth-child(6) { --topic-image: url("https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--couples .topic-card:nth-child(7) { --topic-image: url("https://images.unsplash.com/photo-1511895426328-dc8714191300?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--couples .topic-card:nth-child(8) { --topic-image: url("https://images.unsplash.com/photo-1447452001602-7090c7ab2db3?auto=format&fit=crop&w=1200&q=80"); }

.topics-cards--christian .topic-card:nth-child(1) { --topic-image: url("https://images.unsplash.com/photo-1504052434569-70ad5836ab65?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--christian .topic-card:nth-child(2) { --topic-image: url("https://images.unsplash.com/photo-1508672019048-805c876b67e2?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--christian .topic-card:nth-child(3) { --topic-image: url("https://images.unsplash.com/photo-1511895426328-dc8714191300?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--christian .topic-card:nth-child(4) { --topic-image: url("https://images.unsplash.com/photo-1473186505569-9c61870c11f9?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--christian .topic-card:nth-child(5) { --topic-image: url("https://images.unsplash.com/photo-1477414348463-c0eb7f1359b6?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--christian .topic-card:nth-child(6) { --topic-image: url("https://images.unsplash.com/photo-1456406644174-8ddd4cd52a06?auto=format&fit=crop&w=1200&q=80"); }

.topics-cards--inperson .topic-card:nth-child(1) { --topic-image: url("https://images.unsplash.com/photo-1573497019418-b400bb3ab074?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--inperson .topic-card:nth-child(2) { --topic-image: url("https://images.unsplash.com/photo-1511632765486-a01980e01a18?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--inperson .topic-card:nth-child(3) { --topic-image: url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--inperson .topic-card:nth-child(4) { --topic-image: url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--inperson .topic-card:nth-child(5) { --topic-image: url("https://images.unsplash.com/photo-1506126613408-eca07ce68773?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--inperson .topic-card:nth-child(6) { --topic-image: url("https://images.unsplash.com/photo-1511895426328-dc8714191300?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--inperson .topic-card:nth-child(7) { --topic-image: url("https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--inperson .topic-card:nth-child(8) { --topic-image: url("https://images.unsplash.com/photo-1516589091380-5d8e87df6999?auto=format&fit=crop&w=1200&q=80"); }

.topics-cards--telehealth .topic-card:nth-child(1) { --topic-image: url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--telehealth .topic-card:nth-child(2) { --topic-image: url("https://images.unsplash.com/photo-1544005313-94ddf0286df2?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--telehealth .topic-card:nth-child(3) { --topic-image: url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--telehealth .topic-card:nth-child(4) { --topic-image: url("https://images.unsplash.com/photo-1516321497487-e288fb19713f?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--telehealth .topic-card:nth-child(5) { --topic-image: url("https://images.unsplash.com/photo-1475503572774-15a45e5d60b9?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--telehealth .topic-card:nth-child(6) { --topic-image: url("https://images.unsplash.com/photo-1515169067868-5387ec356754?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--telehealth .topic-card:nth-child(7) { --topic-image: url("https://images.unsplash.com/photo-1454391304352-2bf4678b1a7a?auto=format&fit=crop&w=1200&q=80"); }
.topics-cards--telehealth .topic-card:nth-child(8) { --topic-image: url("https://images.unsplash.com/photo-1515378791036-0648a3ef77b2?auto=format&fit=crop&w=1200&q=80"); }

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(17, 32, 45, 0.12);
  border-color: #b8c8d6;
}

.topic-card h3 {
  margin: 0;
  min-height: 132px;
  padding: 1.05rem 1rem;
  display: flex;
  align-items: flex-end;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  background-image:
    linear-gradient(180deg, rgba(8, 20, 30, 0.18) 0%, rgba(8, 20, 30, 0.78) 100%),
    var(--topic-image);
  background-size: cover;
  background-position: center;
  font-size: clamp(0.95rem, 1.35vw, 1.03rem);
  line-height: 1.28;
  font-weight: 700;
}

.topic-card p {
  color: var(--muted);
  font-size: 0.97rem;
  margin: 0;
  padding: 1rem 1rem 1.05rem;
  background: #fff;
}

/* ---------- Service concerns layout ---------- */
.service-concerns-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.service-concerns-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.05rem 1.1rem;
}

.service-concerns-item h3 {
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

@media (max-width: 767.98px) {
  .topic-card h3 {
    min-height: 120px;
    font-size: 0.94rem;
  }

  .service-concerns-item h3 {
    font-size: 0.96rem;
  }
}

@media (min-width: 860px) {
  .service-concerns-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

/* ---------- Benefits/Instruction Section ---------- */
.band--benefits {
  background: var(--bg-soft);
}
.benefits-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .benefits-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}
.benefits-list h2 {
  margin-top: 0;
  font-size: 1.5rem;
  font-weight: 700;
}
.benefits-list ul {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 2.5rem;
}
.benefits-list li {
  font-size: 1.02rem;
  color: var(--ink);
  position: relative;
  padding-left: 1.3em;
}
.benefits-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--muted);
  font-size: 1.1em;
}
.benefits-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ---------- How Mindcare Works Section ---------- */
.band--howworks {
  background: var(--bg);
}
.howworks-grid {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.howworks-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}
.howworks-step {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-tight);
  padding: 1.5rem 1.2rem;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 300px;
}
.howworks-step h3 {
  margin: 0.5rem 0 0.3rem;
  font-size: 1.08rem;
  font-weight: 700;
}
.howworks-step p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* ---------- Consultant Experts Section ---------- */
.band--consultants {
  background: var(--bg-soft);
}
.consultants-grid {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.consultant-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}
.consultant-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-tight);
  padding: 1.5rem 1.2rem;
  flex: 1 1 180px;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
}
.consultant-card img {
  border-radius: 50%;
  margin-bottom: 1rem;
  width: 80px;
  height: 80px;
  object-fit: cover;
}
.consultant-card h3 {
  margin: 0.5rem 0 0.3rem;
  font-size: 1.08rem;
  font-weight: 700;
}
.consultant-card p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* ---------- Newsletter Subscription Section ---------- */
.band--newsletter {
  background: var(--bg);
}
.newsletter-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.newsletter-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 140px;
  height: 140px;
  object-fit: cover;
}
.newsletter-content h2 {
  margin-top: 0;
  font-size: 1.5rem;
  font-weight: 700;
}
.newsletter-form {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
}
.newsletter-form input[type="email"] {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 1rem;
  outline: none;
}
.newsletter-form button {
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 1rem;
}

/* ---------- CTA strip ---------- */
.cta-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: var(--shadow);
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* ---------- Inner grids ---------- */
.grid-2 {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 820px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow-tight);
}

.card h2 {
  margin-top: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.pull-quote {
  margin: 0;
  padding-left: 1rem;
  border-left: 3px solid var(--ink);
  font-style: italic;
  color: var(--muted);
  line-height: 1.6;
}

.pull-quote footer {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- FAQ ---------- */
.faq-page__layout {
  max-width: 52rem;
}

.faq-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line, #d7e0e7);
}

.faq-jump a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line, #d7e0e7);
  border-radius: 999px;
  background: #fff;
  color: var(--ink, #1a2a33);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.faq-jump a:hover,
.faq-jump a:focus-visible {
  border-color: #9eb4c2;
  background: #f7fafb;
  color: #183845;
}

.faq-group + .faq-group {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.faq-group__head {
  margin: 0 0 1.15rem;
}

.faq-group__head .kicker {
  margin: 0 0 0.55rem;
}

.faq-group__head .title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.2;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  background: #fff;
}

.faq details + details {
  margin-top: 0.65rem;
}

.faq details[open] {
  box-shadow: 0 8px 20px rgba(16, 35, 49, 0.04);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--ink, #1a2a33);
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  float: right;
  margin-left: 1rem;
  font-weight: 600;
  color: #6a7d86;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.faq p a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.faq-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border: 1px solid var(--line, #d7e0e7);
  border-radius: calc(var(--radius, 14px) + 4px);
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 35, 49, 0.05);
}

.faq-cta__copy {
  flex: 1 1 18rem;
  max-width: 36rem;
}

.faq-cta__copy .kicker {
  margin: 0 0 0.55rem;
}

.faq-cta__copy .title {
  margin: 0 0 0.7rem;
  max-width: none;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.2;
}

.faq-cta__copy p {
  margin: 0;
  line-height: 1.7;
  color: var(--ink-70, #4a5a66);
}

.faq-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 719.98px) {
  .faq-cta__actions {
    width: 100%;
  }

  .faq-cta__actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

/* ---------- Forms ---------- */
form.stack label {
  display: block;
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 0.28rem;
}

.req-mark {
  color: #c32424;
  font-weight: 800;
}

.field-optional {
  color: var(--muted);
  font-weight: 500;
}

form.stack input,
form.stack select,
form.stack textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  font: inherit;
  background: #fff;
}

form.stack .field {
  margin-bottom: 0.95rem;
}

.flash {
  padding: 0.75rem 0.95rem;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.95rem;
}

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

@media (min-width: 920px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.75fr);
    gap: clamp(2.5rem, 5vw, 4rem);
  }
}

.contact-panel-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink, #1a2a33);
}

.contact-form__row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .contact-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form .btn {
  margin-top: 0.35rem;
}

.contact-crisis {
  margin: 1.25rem 0 0;
  max-width: 42rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted, #6a7d86);
}

.contact-aside {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
  border: 1px solid var(--line, #d7e0e7);
  border-radius: var(--radius, 14px);
  background: #fff;
}

.contact-aside__block + .contact-aside__block {
  padding-top: 1.35rem;
  border-top: 1px solid var(--line, #d7e0e7);
}

.contact-aside__label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, #6a7d86);
}

.contact-aside__value {
  display: inline-block;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.45;
  color: #173f52;
  text-decoration: none;
}

a.contact-aside__value:hover,
a.contact-aside__value:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.contact-aside__value--text {
  font-weight: 600;
  color: var(--ink, #1a2a33);
}

.contact-aside__note {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted, #6a7d86);
}

.contact-aside__link {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.92rem;
  font-weight: 650;
  color: #173f52;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.contact-hours {
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.contact-hours li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink-soft, #3d525c);
}

.contact-hours li span {
  color: var(--muted, #6a7d86);
}

.contact-hours li strong {
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--ink, #1a2a33);
}

.contact-map-band {
  padding-top: clamp(2rem, 4vw, 2.75rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.contact-map {
  border: 1px solid var(--line, #d7e0e7);
  border-radius: calc(var(--radius, 14px) + 2px);
  overflow: hidden;
  background: #edf2f5;
}

.contact-map iframe {
  width: 100%;
  height: min(42vh, 320px);
  border: 0;
  display: block;
}

@media (max-width: 919.98px) {
  .contact-layout {
    display: flex;
    flex-direction: column;
  }

  .contact-form-panel {
    order: -1;
  }
}

@media (max-width: 767.98px) {
  .contact-form form.stack input,
  .contact-form form.stack select,
  .contact-form form.stack textarea {
    font-size: 16px;
  }

  .contact-form .btn {
    width: 100%;
    text-align: center;
  }

  .contact-map iframe {
    height: 260px;
  }
}

/* ---------- Consultation page ---------- */
.consultation-page__head {
  background:
    radial-gradient(120% 120% at 95% 5%, rgba(39, 128, 149, 0.12) 0%, rgba(39, 128, 149, 0) 52%),
    #fff;
}

.consultation-page__section {
  background: linear-gradient(180deg, #f9fcfd 0%, #f4f8fa 100%);
}

.consultation-page__grid {
  display: grid;
  gap: 1.2rem;
}

.consultation-page__info {
  display: grid;
  gap: 1rem;
}

@media (min-width: 980px) {
  .consultation-page__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .consultation-form-card {
    position: sticky;
    top: 5.5rem;
  }
}

.consultation-hero-card {
  position: relative;
  border-color: #c9dbe3;
  --dm-bg-image: url("../counseling-consultation.jpg");
  background-image: var(--dm-bg-image);
  background-size: cover;
  background-position: center;
  min-height: 220px;
  overflow: hidden;
}

.consultation-hero-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 29, 0.38) 0%, rgba(7, 18, 29, 0.78) 100%);
}

.consultation-hero-card__content {
  position: relative;
  z-index: 1;
  color: #f4f9fb;
}

.consultation-hero-card .eyebrow {
  color: rgba(234, 244, 248, 0.92);
}

.consultation-hero-card h2 {
  margin: 0 0 0.55rem;
  color: #fff;
}

.consultation-hero-card p {
  margin: 0;
  line-height: 1.6;
}

.consultation-info-card h2,
.consultation-form-card h2 {
  margin-bottom: 0.55rem;
}

/* Manager form: two columns on the consultation page */
.consultation-form-card .dm-form-embed__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.consultation-form-card .dm-form-embed__field.is-full {
  grid-column: 1 / -1;
}

@media (max-width: 639.98px) {
  .consultation-form-card .dm-form-embed__fields {
    grid-template-columns: 1fr;
  }
}

.consultation-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.68rem;
}

.consultation-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.consultation-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #2d7388;
}

.consultation-list--checks li::before {
  width: 0.85rem;
  height: 0.85rem;
  top: 0.35rem;
  background: #e0f2e7;
  box-shadow: inset 0 0 0 1px rgba(18, 122, 63, 0.12);
}

.consultation-list--checks li::after {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.64rem;
  width: 0.25rem;
  height: 0.14rem;
  border-left: 2px solid #16924a;
  border-bottom: 2px solid #16924a;
  transform: rotate(-45deg);
}

.consultation-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.consultation-form-card .lede {
  max-width: none;
  margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
  .consultation-page__section {
    padding-top: 1.8rem;
    padding-bottom: 2.15rem;
  }

  .consultation-page__grid {
    gap: 0.9rem;
  }

  .consultation-page__grid > .consultation-form-card {
    order: -1;
  }

  .consultation-hero-card,
  .consultation-info-card,
  .consultation-form-card {
    padding: 1rem;
    border-radius: 14px;
  }

  .consultation-hero-card {
    min-height: 195px;
  }

  .consultation-form-card form.stack input,
  .consultation-form-card form.stack select,
  .consultation-form-card form.stack textarea {
    min-height: 2.85rem;
    font-size: 16px;
  }

  .consultation-form-card form.stack textarea {
    min-height: 8rem;
  }

  .consultation-form-card .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Booking ---------- */
.slot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.slot {
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0.35rem 0.75rem;
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
  background: #fff;
  font-family: inherit;
}

.slot.is-on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.day-pill {
  min-width: 4.2rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 0.4rem 0.5rem;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.day-pill.is-on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.day-pill .muted {
  color: inherit;
  opacity: 0.85;
}

.day-pill.is-on .muted {
  color: #fff;
}

/* ---------- Footer (light grey band) ---------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--ink);
  border-top: 1px solid var(--line);
  margin-top: 0;
  padding-top: 1.8rem;
}

.footer-cta {
  margin-top: 0;
  margin-bottom: 2rem;
  border-radius: 24px;
  --dm-bg-image: url("../footer-callout.jpg");
  background-image:
    linear-gradient(100deg, rgba(2, 4, 7, 0.9) 12%, rgba(2, 4, 7, 0.72) 42%, rgba(2, 4, 7, 0.3) 100%),
    var(--dm-bg-image);
  background-color: #020407;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.footer-cta__copy {
  max-width: 42rem;
}

.footer-cta__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.footer-cta__title {
  margin: 0.5rem 0 0;
  font-size: clamp(1.8rem, 3vw, 2.95rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-cta__btn {
  min-height: 52px;
  padding-inline: 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.footer__grid {
  display: grid;
  gap: 2rem;
  padding: 2.75rem 0 2rem;
}

@media (min-width: 820px) {
  .footer__grid {
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 2rem 1.5rem;
    align-items: start;
  }
}

.footer__intro {
  max-width: 34rem;
}

.footer__logo {
  display: block;
  height: auto;
  max-height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 0.85rem;
}

body.dm-edit-mode .footer__intro .dm-edit-spot--image {
  max-height: 48px;
  max-width: 220px;
}

body.dm-edit-mode .footer__intro .dm-edit-spot--image img.footer__logo,
body.dm-edit-mode img.footer__logo {
  max-height: 48px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain;
}

.footer__brandtitle {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.02em;
}

.footer__muted {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--footer-muted);
}

.footer__muted--mobile {
  display: none;
}

.footer__address {
  margin-top: 0.75rem;
}

.footer__muted strong {
  color: #000;
  font-weight: 700;
}

.footer__label {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000;
}

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

.footer__links a {
  color: #000;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.45;
}

.footer__links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Booking modal ---------- */
.booking-modal .modal-content {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.booking-modal__header {
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem;
}

.booking-modal__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
}

.booking-modal__title {
  font-size: 1.25rem;
  margin: 0;
  letter-spacing: -0.02em;
}

.booking-modal__body {
  padding: 1rem 1.25rem;
}

.booking-modal__footer {
  border-top: 1px solid var(--line);
  padding: 0.9rem 1.25rem;
}

.booking-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
}

.booking-steps__item {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.45rem;
  background: #fff;
}

.booking-steps__item.is-current {
  border-color: #1f4a5a;
  background: #eaf3f6;
  color: #183845;
}

.booking-steps__item.is-done {
  border-color: #9eb6c0;
  color: #1f4a5a;
}

.booking-step {
  display: none;
}

.booking-step.is-active {
  display: block;
}

.booking-step__title {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.booking-step__sub {
  margin: 0.35rem 0 1rem;
  color: var(--muted);
  line-height: 1.5;
}

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

.booking-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  padding: 0.85rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, transform 0.12s ease;
}

.booking-card:hover {
  border-color: #9db3bc;
  transform: translateY(-1px);
}

.booking-card.is-selected {
  border-color: #1f4a5a;
  box-shadow: inset 0 0 0 1px #1f4a5a;
  background: #f4f9fb;
}

.booking-card__title {
  display: block;
  font-weight: 700;
  color: var(--ink);
}

.booking-card__meta {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.booking-therapist {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #fbfdfe);
  padding: 0.9rem;
  box-shadow: var(--shadow-tight);
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.booking-therapist:hover {
  transform: translateY(-2px);
  border-color: #9db3bc;
}

.booking-therapist.is-selected {
  border-color: #1f4a5a;
  box-shadow: 0 10px 24px rgba(17, 57, 71, 0.14);
  background: linear-gradient(180deg, #ffffff, #f0f7fa);
}

.booking-therapist__head {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.85rem;
  align-items: start;
}

.booking-therapist__photo {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #cdd8dd;
}

.booking-therapist__name {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.booking-therapist__bio {
  margin: 0.35rem 0 0;
  color: #2f3f46;
  line-height: 1.5;
  font-size: 0.92rem;
  font-weight: 300;
}

.booking-therapist__badges {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.booking-therapist__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #d0dde3;
  background: #f8fbfc;
  color: #36515a;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.booking-therapist__badge.is-active {
  border-color: #1f4a5a;
  background: #1f4a5a;
  color: #fff;
}

.booking-therapist__meta {
  margin-top: 0.8rem;
  padding: 0.7rem;
  border: 1px solid #dde6ea;
  border-radius: 12px;
  background: #ffffff;
}

.booking-therapist__meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.booking-therapist__meta p + p {
  margin-top: 0.35rem;
}

.booking-therapist__meta strong {
  color: var(--ink);
}

.booking-therapist__actions {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.booking-therapist__bio-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: #1f4a5a;
  text-underline-offset: 3px;
}

.booking-therapist__bio-link:hover {
  color: #143845;
}

.booking-select-btn.is-selected {
  background: #1f8a57;
  border-color: #1f8a57;
  color: #fff;
  font-weight: 700;
}

.booking-select-btn.is-selected:hover {
  background: #187148;
  border-color: #187148;
  color: #fff;
}

/* ---------- Consultation modal ---------- */
.consult-modal .modal-content {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.consult-modal__header {
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.15rem;
}

.consult-modal__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
}

.consult-modal__title {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.consult-modal__body {
  padding: 1rem 1.15rem 1.2rem;
}

.consult-modal__lede {
  margin: 0 0 0.9rem;
  color: #486068;
  line-height: 1.5;
}

.consult-modal__success {
  text-align: center;
  padding: 0.5rem 0.2rem;
}

.booking-days,
.booking-times {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.booking-times {
  margin-top: 0.8rem;
}

.booking-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0.45rem 0.8rem;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.booking-pill:hover {
  border-color: var(--line-strong);
}

.booking-pill.is-selected {
  border-color: #1f4a5a;
  background: #1f4a5a;
  color: #fff;
}

.booking-schedule {
  margin-top: 0.1rem;
}

.booking-schedule__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.booking-schedule__session {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.booking-schedule__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #c8d5db;
  border-radius: 999px;
  background: #f7fbfc;
  color: #2f4650;
  padding: 0.25rem 0.65rem;
  font-size: 0.84rem;
  font-weight: 600;
}

.booking-schedule__badge--session {
  background: #edf5f8;
  border-color: #b9cdd6;
}

.booking-schedule__badge svg {
  width: 14px;
  height: 14px;
}

.booking-schedule__window {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: start;
}

.booking-schedule__nav {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: #596a70;
  font-size: 1.15rem;
  cursor: pointer;
}

.booking-schedule__nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.booking-schedule__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.booking-daycol__title {
  margin: 0 0 0.45rem;
  text-align: center;
  font-size: 0;
  line-height: 1.2;
}

.booking-daycol__title span {
  display: block;
  font-size: 0.92rem;
  color: #2f4046;
  font-weight: 600;
}

.booking-daycol__title span:first-child {
  font-size: 0.9rem;
  text-transform: none;
}

.booking-daycol__slots {
  display: grid;
  gap: 0.35rem;
}

.booking-timecard {
  border: 1px solid #c7d2d8;
  border-radius: 9px;
  background: #fff;
  color: #24363d;
  padding: 0.38rem 0.45rem;
  text-align: left;
  cursor: pointer;
  min-height: 2.2rem;
}

.booking-timecard:hover {
  border-color: #96abb4;
}

.booking-timecard.is-selected {
  border-color: #17a165;
  background: #eef8f3;
}

.booking-timecard__top {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  font-weight: 600;
}

.booking-timecard__duration {
  display: block;
  margin-top: 0.2rem;
  text-align: center;
  color: #476069;
  font-size: 0.74rem;
}

.booking-summary {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: #fbfbfb;
}

.booking-confirm-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.booking-confirm-card__header {
  margin-bottom: 0.8rem;
}

.booking-confirm-card__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #5a7079;
  font-weight: 700;
}

.booking-confirm-card__title {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  color: #1f343d;
}

.booking-confirm-card__sub {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
  color: #50666f;
}

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

.booking-confirm-tile {
  border: 1px solid #d7e3e8;
  border-radius: 12px;
  background: #fff;
  padding: 0.65rem 0.7rem;
}

.booking-confirm-tile__label {
  display: block;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #607782;
  font-weight: 700;
}

.booking-confirm-tile__value {
  display: block;
  margin-top: 0.2rem;
  color: #1d343d;
  font-size: 0.95rem;
  line-height: 1.35;
}

.booking-confirm-tile--accent {
  border-color: #8fc5ac;
  background: #eef8f3;
}

.booking-confirm-tile--note {
  border-color: #cbd9df;
  background: #f5fafc;
}

@media (max-width: 767.98px) {
  .booking-confirm-grid {
    grid-template-columns: 1fr;
  }
}

.booking-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0;
}

.booking-summary__row:last-child {
  border-bottom: 0;
}

.booking-summary__row span {
  color: var(--muted);
}

.booking-empty {
  margin: 0;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  background: #fcfcfc;
}

.booking-success {
  text-align: center;
  padding: 0.6rem 0.2rem 0.2rem;
}

.booking-success__check {
  width: 84px;
  margin: 0 auto 0.9rem;
}

.booking-success__check svg {
  width: 100%;
  height: auto;
}

.booking-success__ring,
.booking-success__mark {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking-success__ring {
  stroke: #1f8a57;
  stroke-width: 4;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: booking-ring 0.7s ease forwards;
}

.booking-success__mark {
  stroke: #1f8a57;
  stroke-width: 5;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: booking-mark 0.45s 0.55s ease forwards;
}

@keyframes booking-ring {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes booking-mark {
  to {
    stroke-dashoffset: 0;
  }
}

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

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

  .booking-schedule__window {
    grid-template-columns: 1fr;
  }

  .booking-schedule__nav {
    width: 100%;
    height: 2.6rem;
  }

  .booking-schedule__columns {
    grid-template-columns: 1fr;
  }

  .booking-therapist__head {
    grid-template-columns: 72px 1fr;
  }

  .booking-therapist__photo {
    width: 72px;
    height: 72px;
  }

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

/* ---------- Large desktop optimization ---------- */
@media (min-width: 1280px) {
  :root {
    --max: 1260px;
  }

  .shell {
    width: min(100% - 3rem, var(--max));
  }

  .hero-banner__grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 2.4rem 3.25rem;
    padding: clamp(2.2rem, 4.2vw, 3.4rem) 0 clamp(4.8rem, 6.2vw, 6.2rem);
  }

  .hero-banner__title {
    font-size: clamp(3rem, 4vw, 4.4rem);
    max-width: 16ch;
  }

  .hero-banner__sub {
    font-size: clamp(1.15rem, 1.4vw, 1.4rem);
    max-width: 48ch;
  }

  .hero-banner__figure img {
    height: min(52vh, 520px);
    min-height: 400px;
  }

  .svc-card {
    min-height: 210px;
  }

  .band {
    padding: clamp(3rem, 4vw, 4.6rem) 0;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 2.75rem;
  }
}

@media (min-width: 1536px) {
  :root {
    --max: 1380px;
  }

  .shell {
    width: min(100% - 4rem, var(--max));
  }

  .hero-banner__grid {
    gap: 2.8rem 3.8rem;
  }

  .hero-banner__title {
    font-size: clamp(3.3rem, 3.8vw, 4.8rem);
  }

  .hero-banner__figure img {
    height: min(56vh, 560px);
    min-height: 430px;
  }

  .svc-cards {
    gap: 1.2rem;
  }
}

.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0 1.75rem;
  font-size: 0.8rem;
  color: var(--footer-muted);
  line-height: 1.5;
}

.footer__bottom p {
  margin: 0;
}

@media (max-width: 767.98px) {
  .site-footer {
    margin-top: 0;
    padding-top: 1.1rem;
  }

  .footer-cta {
    margin-top: 0;
    margin-bottom: 1.2rem;
    border-radius: 20px;
    padding: 1.1rem;
    gap: 1rem;
    background-position: center;
  }

  .footer-cta__eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }

  .footer-cta__title {
    margin-top: 0.45rem;
    font-size: 1.7rem;
    line-height: 1.1;
  }

  .footer-cta__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-cta__btn {
    width: 100%;
    min-height: 46px;
    font-size: 0.87rem;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1rem;
    padding: 1.75rem 0 1.25rem;
  }

  .footer__block--intro,
  .footer__block--crisis {
    grid-column: 1 / -1;
  }

  .footer__block--intro {
    margin-bottom: 0.1rem;
  }

  .footer__logo {
    max-height: 40px;
    max-width: 170px;
    margin-bottom: 0.6rem;
  }

  .footer__muted--desktop {
    display: none;
  }

  .footer__muted--mobile {
    display: block;
  }

  .footer__muted,
  .footer__links a {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .footer__label {
    margin-bottom: 0.45rem;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  .footer__links {
    gap: 0.38rem;
  }

  .footer__bottom {
    padding: 0.85rem 0 1.15rem;
  }

  .footer__bottom p {
    font-size: 0.75rem;
  }
}

/* ---------- Prose (shared article body) ---------- */
/* Base rules live with the blog/post styles above. */

/* ---------- Insurance & Payment ---------- */
.insurance-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.insurance-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.insurance-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.insurance-card p {
  margin: 0 0 1rem;
  line-height: 1.65;
  color: var(--ink-70);
}

.insurance-steps {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  line-height: 1.7;
  color: var(--ink-70);
}

.insurance-plans {
  display: grid;
  gap: 0.65rem 1.25rem;
  margin: 0 0 clamp(1.75rem, 3vw, 2.25rem);
  padding: 0;
  list-style: none;
  grid-template-columns: 1fr;
}

.insurance-plans li {
  margin: 0;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line, #d7e0e7);
  border-radius: calc(var(--radius, 14px) - 2px);
  background: #fff;
  color: var(--ink, #1a2a33);
  font-size: 0.97rem;
  font-weight: 550;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .insurance-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .insurance-plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.insurance-fee {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.75rem;
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.insurance-fee__label {
  color: var(--ink-70);
  font-size: 0.95rem;
}

.insurance-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.insurance-cta-row,
.service-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.insurance-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.insurance-promo__copy {
  flex: 1 1 18rem;
}

/* ---------- Service detail pages (individual / couples / etc.) ---------- */
.service-page .service-hero__inner {
  padding: clamp(1.8rem, 4.2vw, 3rem) 0 clamp(2.6rem, 5vw, 3.75rem);
}

.service-page .service-hero__copy {
  max-width: 44rem;
}

.service-page .service-hero__kicker {
  margin: 0 0 0.65rem;
  letter-spacing: 0.08em;
}

.service-page .service-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.05;
  max-width: 18ch;
}

.service-page .service-hero__sub {
  margin: 0;
  max-width: 44ch;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.service-page .band {
  padding: clamp(4.25rem, 8.5vw, 7rem) 0;
}

.service-page .band + .band {
  margin-top: 0;
}

.service-page .band + .band::before {
  display: none;
}

.service-section-head {
  max-width: 42rem;
  margin: 0 0 clamp(2.75rem, 5vw, 3.75rem);
}

.service-section-head .kicker {
  margin: 0 0 0.85rem;
  letter-spacing: 0.08em;
}

.service-section-head .title {
  margin: 0 0 1.15rem;
  max-width: 20ch;
  line-height: 1.15;
}

.service-lede {
  margin: 0;
  max-width: 44rem;
  font-size: clamp(1.05rem, 1.55vw, 1.18rem);
  line-height: 1.8;
  color: var(--ink-70, #4a5a66);
}

.service-page .service-pillars {
  display: grid;
  gap: clamp(1.25rem, 2.4vw, 1.65rem);
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 720px) {
  .service-page .service-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.service-page .service-pillar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
  padding: clamp(1.55rem, 2.8vw, 2rem);
  border: 1px solid var(--line, #d7e0e7);
  border-radius: var(--radius, 14px);
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 35, 49, 0.05);
}

.service-page .service-pillar h3 {
  display: block;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink, #1a2a33);
}

.service-page .service-pillar p {
  display: block;
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--ink-70, #4a5a66);
}

.service-page .topics-cards {
  display: grid;
  gap: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-top: 0;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .service-page .topics-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .service-page .topics-cards,
  .service-page .topics-cards--individual,
  .service-page .topics-cards--couples,
  .service-page .topics-cards--christian,
  .service-page .topics-cards--telehealth,
  .service-page .topics-cards--inperson {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.service-page .topic-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-page .topic-card h3 {
  min-height: 8.25rem;
  padding: 1.35rem 1.2rem;
  font-size: clamp(1.02rem, 1.4vw, 1.12rem);
  line-height: 1.35;
}

.service-page .topic-card p {
  flex: 1 1 auto;
  margin: 0;
  padding: 1.3rem 1.25rem 1.45rem;
  font-size: 0.97rem;
  line-height: 1.75;
}

.service-steps {
  display: grid;
  gap: 0;
  max-width: 46rem;
}

.service-step {
  display: grid;
  gap: 0.65rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line, #d7e0e7);
}

.service-step:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-step:last-child {
  padding-bottom: 0;
}

.service-step h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.3;
  color: var(--ink, #1a2a33);
}

.service-step p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--ink-70, #4a5a66);
}

.service-faq {
  display: grid;
  gap: 1.15rem;
  max-width: 46rem;
}

.service-faq-item {
  padding: 1.45rem 1.5rem;
  border: 1px solid var(--line, #d7e0e7);
  border-radius: var(--radius, 14px);
  background: #fff;
}

.service-faq-item h3 {
  margin: 0 0 0.7rem;
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink, #1a2a33);
}

.service-faq-item p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--ink-70, #4a5a66);
}

.service-cta-band {
  background: linear-gradient(180deg, #f8fafb 0%, #f3f6f8 100%);
}

.service-cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem 2.5rem;
  padding: clamp(2rem, 4vw, 2.75rem);
  border: 1px solid var(--line, #d7e0e7);
  border-radius: calc(var(--radius, 14px) + 4px);
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 35, 49, 0.05);
}

.service-cta-panel__copy {
  flex: 1 1 18rem;
  max-width: 36rem;
}

.service-cta-panel__copy .kicker {
  margin: 0 0 0.7rem;
  letter-spacing: 0.08em;
}

.service-cta-panel__copy .title {
  margin: 0 0 0.8rem;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  max-width: none;
}

.service-cta-panel__copy p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-70, #4a5a66);
}

.service-cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@media (max-width: 719.98px) {
  .service-cta-panel__actions {
    width: 100%;
  }

  .service-cta-panel__actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

/* —— 404 / error page —— */
.error-page__hero {
  min-height: min(72vh, 40rem);
  display: flex;
  align-items: center;
}

.error-page__shell {
  max-width: 40rem;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
  animation: error-page-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes error-page-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.error-page__kicker {
  margin: 0 0 0.85rem;
  letter-spacing: 0.12em;
}

.error-page__title {
  margin: 0 0 0.9rem;
  max-width: none;
}

.error-page__copy {
  margin: 0 0 1.75rem;
  max-width: 34rem;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.error-page__links {
  list-style: none;
  margin: 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid rgba(10, 10, 10, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.error-page__links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.error-page__links a:hover {
  color: var(--ink);
  border-bottom-color: currentColor;
}

@media (prefers-reduced-motion: reduce) {
  .error-page__shell {
    animation: none;
  }
}
