/* ==========================================================================
   Dr Sunshine Clinic — design system
   Deep botanical green carries authority; sunrise orange is the single active
   accent; lime is a quiet highlight on dark grounds. Newsreader for the human,
   considered voice; Hanken Grotesk for clarity.
   ========================================================================== */

:root {
  --forest-950: #0b211c;
  --forest-900: #0f2a24;
  --forest-800: #173b33;
  --forest-700: #1d4a3f;
  --sun-300: #f5a15e;
  --sun-400: #f28a3b;
  --sun-500: #e9651f;
  --sun-600: #c4500f; /* AA with white text */
  --sun-700: #a34109;
  --lime-400: #a6ce39;
  --lime-500: #8db52a;

  --paper: #fcfbf8;
  --white: #ffffff;
  --mist: #eff4f0;
  --sand: #f6eee5;
  --ink: #14201c;
  --ink-2: #45554f;
  --ink-3: #6b7a74;
  --line: #e2e8e3;
  --line-strong: #d2dbd5;
  --on-dark: #d3dfd8;
  --on-dark-2: #a9bcb2;

  --f-display: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --f-sans: 'Hanken Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --leaf: 160px 24px 160px 24px; /* echoes the leaf in the clinic's mark */

  --shadow-1: 0 1px 2px rgba(15, 42, 36, 0.05), 0 6px 20px rgba(15, 42, 36, 0.05);
  --shadow-2: 0 2px 6px rgba(15, 42, 36, 0.06), 0 22px 50px -12px rgba(15, 42, 36, 0.18);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(80px, 10vw, 136px);
  --utility-h: 0px;
  --masthead-h: 72px;
  --header-height: calc(var(--utility-h) + var(--masthead-h));

  interpolate-size: allow-keywords;
}

@media (min-width: 768px) {
  :root {
    --utility-h: 40px;
  }
}

@media (min-width: 1100px) {
  :root {
    --masthead-h: 84px;
  }
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--masthead-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

h1 em,
h2 em,
h3 em {
  font-style: italic;
  color: var(--forest-700);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.45rem;
  line-height: 1.2;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--forest-700);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

ul,
ol {
  margin: 0;
}

::selection {
  background: rgba(233, 101, 31, 0.22);
}

:focus-visible {
  outline: 2.5px solid var(--sun-600);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: -9999px;
  z-index: 1000;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--forest-900);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 8px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 860px;
}

.icon {
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: auto;
}

/* ---------- Type helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-family: var(--f-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sun-600);
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sun-500);
  box-shadow: 0 0 0 4px rgba(233, 101, 31, 0.16);
}

.eyebrow--light {
  color: var(--lime-400);
}

.eyebrow--light::before {
  background: var(--lime-400);
  box-shadow: 0 0 0 4px rgba(166, 206, 57, 0.18);
}

.lede {
  font-size: clamp(1.12rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-2);
}

.muted {
  color: var(--ink-3);
}

/* ---------- Buttons & links ---------- */

.btn {
  --btn-bg: var(--forest-900);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1.5px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-sans);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease), box-shadow 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(15, 42, 36, 0.4);
}

.btn:active {
  transform: translateY(0);
}

.btn__arrow {
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--sun {
  --btn-bg: var(--sun-600);
}

.btn--sun:hover {
  --btn-bg: var(--sun-700);
  box-shadow: 0 14px 30px -10px rgba(196, 80, 15, 0.55);
}

.btn--forest:hover {
  --btn-bg: var(--forest-700);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--forest-900);
  --btn-bd: rgba(15, 42, 36, 0.22);
}

.btn--ghost:hover {
  --btn-bg: rgba(15, 42, 36, 0.04);
  --btn-bd: var(--forest-900);
  box-shadow: none;
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--forest-900);
}

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.35);
}

.btn--ghost-light:hover {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-bd: #fff;
}

.btn--lg {
  min-height: 56px;
  padding: 15px 30px;
  font-size: 1.02rem;
}

.btn--sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.9rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  color: var(--forest-900);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s var(--ease-out), color 0.25s var(--ease);
}

.link-arrow:hover {
  gap: 13px;
  color: var(--sun-600);
}

.link-arrow--light {
  color: #fff;
}

.link-arrow--light:hover {
  color: var(--sun-300);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.chip--future {
  background: var(--sun-600);
  color: #fff;
}

.chip--hero {
  margin-bottom: 22px;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: transform 0.4s var(--ease-out);
}

.header-spacer {
  height: var(--header-height);
}

@media (min-width: 768px) {
  .site-header.is-scrolled:not(.menu-open) {
    transform: translateY(calc(-1 * var(--utility-h)));
  }
}

.utility {
  display: none;
  background: var(--forest-900);
  color: var(--on-dark);
  font-size: 0.84rem;
}

@media (min-width: 768px) {
  .utility {
    display: block;
    height: var(--utility-h);
  }
}

.utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.utility__group {
  display: flex;
  align-items: center;
  gap: 26px;
}

.utility__link,
.utility__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--on-dark);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.utility__link:hover {
  color: #fff;
}

.utility__link .icon,
.utility__note .icon {
  color: var(--lime-400);
}

.utility__note {
  color: var(--on-dark-2);
}

@media (max-width: 1099px) {
  .utility__link--hide-md {
    display: none;
  }
}

.masthead {
  position: relative;
  height: var(--masthead-h);
  background: rgba(252, 251, 248, 0.88);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.is-scrolled .masthead,
.menu-open .masthead,
.mega-active .masthead {
  background: rgba(252, 251, 248, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(15, 42, 36, 0.3);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.2s var(--ease);
}

.brand:hover {
  opacity: 0.85;
}

.logo-mark {
  height: 46px;
  width: auto;
}

@media (min-width: 1100px) {
  .logo-mark {
    height: 60px;
  }
}

.masthead__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.masthead__cta {
  display: none;
}

@media (min-width: 640px) {
  .masthead__cta {
    display: inline-flex;
  }
}

.menu-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.menu-toggle__bar {
  position: absolute;
  width: 18px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out);
}

.menu-toggle__bar:first-child {
  transform: translateY(-3.5px);
}

.menu-toggle__bar:last-child {
  transform: translateY(3.5px);
}

.menu-toggle[aria-expanded='true'] .menu-toggle__bar:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded='true'] .menu-toggle__bar:last-child {
  transform: rotate(-45deg);
}

/* Mobile / tablet navigation panel */

.nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100dvh - var(--header-height));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px var(--gutter) 40px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease-out), visibility 0.3s;
}

.nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav__list {
  list-style: none;
  padding: 0;
}

.nav__item {
  border-bottom: 1px solid var(--line);
}

.nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  border: 0;
  background: none;
  font-family: var(--f-display);
  font-size: 1.65rem;
  line-height: 1.2;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.nav__link[aria-current='page'],
.nav__link.is-current {
  color: var(--forest-700);
}

.nav__chevron {
  transition: transform 0.35s var(--ease-out);
}

.has-mega.is-open .nav__chevron {
  transform: rotate(180deg);
}

.mega {
  display: none;
  padding-bottom: 18px;
}

.has-mega.is-open .mega {
  display: block;
}

.mega .container {
  padding-inline: 0;
}

.mega__label,
.mega__desc,
.mega__feature,
.mega-card__media,
.mega-card__desc {
  display: none;
}

.mega__grid {
  list-style: none;
  padding: 0;
}

.mega__link,
.mega-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  color: var(--ink-2);
  text-decoration: none;
}

.mega__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--sand);
  color: var(--sun-600);
}

.mega__title,
.mega-card__title {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
}

.nav__panel-footer {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.nav__panel-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.nav__panel-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest-900);
  font-weight: 600;
  text-decoration: none;
}

/* Desktop navigation with mega menus */

@media (min-width: 1100px) {
  .menu-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    flex: 1;
    justify-content: center;
    height: 100%;
    padding: 0;
    overflow: visible;
    background: none;
    border: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list {
    display: flex;
    gap: 2px;
    height: 100%;
  }

  .nav__item {
    display: flex;
    align-items: center;
    border: 0;
  }

  .nav__link {
    position: relative;
    gap: 6px;
    width: auto;
    padding: 10px 14px;
    font-family: var(--f-sans);
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--ink);
  }

  .nav__link::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 3px;
    height: 1.5px;
    background: var(--sun-600);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease-out);
  }

  .nav__link:hover::after,
  .nav__link[aria-current='page']::after,
  .nav__link.is-current::after,
  .has-mega.is-open .nav__link::after {
    transform: scaleX(1);
  }

  .nav__trigger::after {
    right: 34px;
  }

  .nav__panel-footer {
    display: none;
  }

  .mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    padding: 36px 0 44px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 40px 60px -40px rgba(15, 42, 36, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.35s var(--ease-out), visibility 0.25s;
  }

  .mega .container {
    padding-inline: var(--gutter);
  }

  .has-mega.is-open > .mega {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  @media (hover: hover) {
    .has-mega:hover > .mega {
      opacity: 1;
      visibility: visible;
      transform: none;
    }

    .has-mega:hover .nav__chevron {
      transform: rotate(180deg);
    }

    .has-mega:hover .nav__link::after {
      transform: scaleX(1);
    }
  }

  .mega__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
  }

  .mega__label {
    display: block;
    margin: 0 0 14px 14px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-3);
  }

  .mega__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 20px;
  }

  .mega__link {
    align-items: flex-start;
    padding: 14px;
    border-radius: 14px;
    transition: background-color 0.2s var(--ease);
  }

  .mega__link:hover {
    background: var(--mist);
  }

  .mega__icon {
    width: 42px;
    height: 42px;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
  }

  .mega__link:hover .mega__icon {
    background: var(--sun-600);
    color: #fff;
  }

  .mega__title {
    display: block;
    font-size: 0.98rem;
    font-weight: 600;
  }

  .mega__desc {
    display: block;
    margin-top: 2px;
    font-size: 0.87rem;
    line-height: 1.45;
    color: var(--ink-3);
  }

  .mega__feature {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 290px;
    padding: 30px;
    overflow: hidden;
    isolation: isolate;
    border-radius: 22px;
    background: var(--forest-900);
    color: var(--on-dark);
  }

  .mega__feature::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -140px;
    right: -120px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 138, 59, 0.55), rgba(233, 101, 31, 0.12) 45%, transparent 70%);
  }

  .mega__feature-kicker {
    margin: 0 0 10px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lime-400);
  }

  .mega__feature-title {
    margin: 0 0 10px;
    font-family: var(--f-display);
    font-size: 1.9rem;
    line-height: 1.1;
    color: #fff;
  }

  .mega__feature-title em {
    color: var(--sun-300);
  }

  .mega__feature-text {
    font-size: 0.95rem;
  }

  .mega__feature-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 20px;
    margin-top: 22px;
  }

  .mega__inner--cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }

  .mega-card {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 0;
  }

  .mega-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 16px;
  }

  .mega-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
  }

  .mega-card:hover .mega-card__media img {
    transform: scale(1.06);
  }

  .mega-card__media .chip {
    position: absolute;
    top: 12px;
    left: 12px;
  }

  .mega-card__title {
    font-family: var(--f-display);
    font-size: 1.3rem;
    font-weight: 400;
    transition: color 0.2s var(--ease);
  }

  .mega-card:hover .mega-card__title {
    color: var(--forest-700);
  }

  .mega-card__desc {
    display: block;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--ink-3);
  }
}

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 112px);
  background: radial-gradient(1100px 620px at 88% 18%, rgba(233, 101, 31, 0.1), transparent 62%),
    radial-gradient(900px 520px at 6% 96%, rgba(166, 206, 57, 0.13), transparent 62%), var(--paper);
}

.hero__grid {
  display: grid;
  align-items: center;
  gap: clamp(56px, 7vw, 96px);
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }
}

.hero__title {
  margin-bottom: 28px;
  font-size: clamp(3rem, 6.6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.028em;
}

.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.hero__line > span {
  display: inline-block;
  animation: lineUp 1.1s var(--ease-out) both;
  animation-delay: calc(var(--d, 0) * 110ms + 80ms);
}

.hero__lede {
  max-width: 35rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 48px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero__pillars li {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

.hero__pillars li + li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sun-500);
}

@media (max-width: 639.98px) {
  .hero__pillars {
    gap: 8px 18px;
  }

  .hero__pillars li + li::before {
    display: none;
  }
}

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 470px;
  margin-inline: auto;
  padding: 28px 22px 40px;
}

.hero__glow {
  position: absolute;
  inset: 10% -10% 0;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(242, 138, 59, 0.32), transparent 60%);
  filter: blur(10px);
  animation: breathe 9s ease-in-out infinite;
}

/* A slowly turning ring of rays: the sun from the clinic's logo. */
.hero__rays {
  position: absolute;
  top: -4%;
  left: 50%;
  z-index: 0;
  width: 116%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(233, 101, 31, 0.6) 0deg 1.6deg, transparent 1.6deg 12deg);
  -webkit-mask: radial-gradient(closest-side, transparent 80%, #000 81%, #000 92%, transparent 93%);
  mask: radial-gradient(closest-side, transparent 80%, #000 81%, #000 92%, transparent 93%);
  transform: translateX(-50%);
  animation: spinRays 120s linear infinite;
}

.portrait-arch {
  position: relative;
  z-index: 1;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  isolation: isolate;
  border-radius: 50% 50% var(--r-lg) var(--r-lg) / 40% 40% var(--r-lg) var(--r-lg);
  background: linear-gradient(180deg, #faf1e6 0%, #f3e3d2 100%);
  box-shadow: 0 40px 70px -36px rgba(15, 42, 36, 0.45);
}

.portrait-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* The portrait is shot on white; multiply lets the arch's warm tone show through. */
  mix-blend-mode: multiply;
}

.hero__portrait {
  animation: archIn 1.4s var(--ease-out) both 0.15s;
}

.hero__card {
  position: absolute;
  z-index: 2;
  margin: 0;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-2);
  animation: rise 0.9s var(--ease-out) both, float 7s ease-in-out 1.4s infinite;
}

.hero__card--name {
  left: 0;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation-delay: 0.7s, 1.6s;
}

.hero__card--stat {
  top: 26%;
  right: 0;
  text-align: center;
  animation-delay: 0.9s, 2.6s;
  animation-duration: 0.9s, 8s;
}

.hero__card-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mist);
}

.hero__card-mark .logo-icon {
  width: 22px;
  height: auto;
}

.hero__card-title {
  margin: 0;
  font-family: var(--f-display);
  font-size: 1.12rem;
  line-height: 1.2;
  color: var(--ink);
}

.hero__card-sub {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-3);
}

.hero__stat-num {
  margin: 0;
  font-family: var(--f-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--sun-600);
}

.hero__stat-label {
  margin: 4px 0 0;
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--ink-3);
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  padding-block: 22px;
  background: var(--forest-900);
  color: #e7efe9;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 55s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__list {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 40px;
  padding: 0 40px 0 0;
  list-style: none;
}

.marquee__list li {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-style: italic;
  white-space: nowrap;
}

.marquee__list .icon {
  color: var(--lime-400);
}

/* ---------- Stats ---------- */

.stats {
  padding-block: clamp(56px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 0;
}

@media (min-width: 900px) {
  .stats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat {
  padding-inline: clamp(16px, 2.4vw, 32px);
  border-left: 1px solid var(--line);
}

.stat__num {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(2.7rem, 4.6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--forest-900);
  font-variant-numeric: lining-nums tabular-nums;
}

.stat__num sup {
  top: -0.35em;
  margin-left: 2px;
  font-size: 0.55em;
  color: var(--sun-600);
}

.stat__label {
  max-width: 18ch;
  margin: 12px 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink-3);
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--section-y);
}

.section--mist {
  background: var(--mist);
}

.section--sand {
  background: var(--sand);
}

.section--white {
  background: #fff;
}

.section--tight-top {
  padding-top: clamp(32px, 4vw, 56px);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(44px, 5vw, 68px);
}

.section-head h2 {
  margin: 0;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--split {
  display: grid;
  align-items: end;
  gap: 24px 64px;
  max-width: none;
}

@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }
}

.section-head__aside {
  margin: 0;
  font-size: 1.08rem;
  color: var(--ink-2);
}

/* ---------- Intro ---------- */

.intro__grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .intro__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 96px;
  }
}

.intro__statement {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--ink);
  text-wrap: balance;
}

.intro__statement em {
  color: var(--forest-700);
}

.intro__body {
  font-size: 1.08rem;
}

.intro__body .link-arrow {
  margin-top: 12px;
}

/* ---------- Timeline (a genuine sequence) ---------- */

.timeline {
  position: relative;
  display: grid;
  padding: 0;
  list-style: none;
}

.timeline__step {
  position: relative;
  padding: 0 0 36px 64px;
}

.timeline__step::before {
  content: '';
  position: absolute;
  top: 46px;
  bottom: 4px;
  left: 21px;
  width: 1px;
  background: var(--line-strong);
  transform: scaleY(var(--line, 1));
  transform-origin: top;
}

.timeline__step:last-child {
  padding-bottom: 0;
}

.timeline__step:last-child::before {
  display: none;
}

.timeline__dot {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--f-display);
  font-size: 1.05rem;
  color: var(--sun-600);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease),
    transform 0.35s var(--ease-out);
}

.section--mist .timeline__dot,
.section--white .timeline__dot {
  background: #fff;
}

.timeline__step:hover .timeline__dot {
  background: var(--sun-600);
  border-color: var(--sun-600);
  color: #fff;
  transform: scale(1.08);
}

.timeline__step h3 {
  margin: 6px 0 8px;
  font-size: 1.55rem;
}

.timeline__step p {
  margin: 0;
  font-size: 0.99rem;
}

@media (min-width: 960px) {
  .timeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 32px;
  }

  .timeline__step {
    padding: 72px 0 0;
  }

  .timeline__step::before {
    top: 22px;
    right: -32px;
    bottom: auto;
    left: 44px;
    width: auto;
    height: 1.5px;
    background: linear-gradient(90deg, var(--sun-500), var(--lime-500));
    transform: scaleX(var(--line, 1));
    transform-origin: left;
  }

  .timeline__step h3 {
    margin-top: 0;
  }
}

/* ---------- Forest band ---------- */

.band {
  position: relative;
  overflow: hidden;
  background: var(--forest-900);
  color: var(--on-dark);
}

.band h2,
.band h3 {
  color: #fff;
}

.band h2 em,
.band h3 em {
  color: var(--sun-300);
}

.band__grid {
  display: grid;
  align-items: center;
  gap: 48px;
  padding-block: var(--section-y);
}

@media (min-width: 900px) {
  .band__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 96px;
  }
}

.band__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--leaf);
}

.band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.2s var(--ease-out);
}

.band__media:hover img {
  scale: 1.04;
}

.band__copy p {
  font-size: 1.08rem;
}

.band__motto {
  margin-top: 36px !important;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-style: italic;
  color: #fff;
}

.band__sub {
  margin-top: 6px;
  font-size: 0.95rem !important;
  color: var(--on-dark-2);
}

/* ---------- Services index ---------- */

.svc-list {
  position: relative;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.svc-row {
  position: relative;
  border-top: 1px solid var(--line);
}

.svc-row__link {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 20px;
  padding: 24px 6px;
  color: inherit;
  text-decoration: none;
}

@media (min-width: 900px) {
  .svc-row__link {
    grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1fr) 52px;
    gap: 28px;
    padding: 30px 14px;
  }
}

.svc-row__link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-1);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease-out);
}

.svc-row__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--sun-600);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

@media (min-width: 900px) {
  .svc-row__icon {
    width: 56px;
    height: 56px;
  }
}

.svc-row__title {
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  line-height: 1.2;
  color: var(--ink);
  transition: color 0.3s var(--ease), transform 0.45s var(--ease-out);
}

.svc-row__tag {
  display: none;
  font-size: 0.98rem;
  color: var(--ink-2);
  transition: opacity 0.3s var(--ease);
}

@media (min-width: 900px) {
  .svc-row__tag {
    display: block;
  }
}

.svc-row__go {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--forest-900);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.45s var(--ease-out);
}

@media (min-width: 900px) {
  .svc-row__go {
    width: 52px;
    height: 52px;
  }
}

.svc-row__link:hover::before,
.svc-row__link:focus-visible::before {
  opacity: 1;
  transform: none;
}

.svc-row__link:hover .svc-row__icon {
  background: var(--sun-600);
  color: #fff;
}

.svc-row__link:hover .svc-row__title {
  color: var(--forest-700);
  transform: translateX(6px);
}

.svc-row__link:hover .svc-row__go {
  background: var(--forest-900);
  border-color: var(--forest-900);
  color: #fff;
  transform: rotate(-45deg);
}

.svc-row__preview {
  display: none;
}

@media (hover: hover) and (min-width: 1100px) {
  .svc-row__preview {
    position: absolute;
    top: 50%;
    right: 96px;
    z-index: 5;
    display: block;
    width: 230px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.85) rotate(-6deg);
    transition: opacity 0.3s var(--ease), transform 0.55s var(--ease-out);
  }

  .svc-row:hover .svc-row__preview {
    opacity: 1;
    transform: translateY(-50%) scale(1) rotate(-3deg);
  }

  .svc-row:hover .svc-row__tag {
    opacity: 0.15;
  }
}

.services-index__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
}

/* ---------- Founder ---------- */

.founder__grid {
  display: grid;
  align-items: center;
  gap: 48px;
}

@media (min-width: 960px) {
  .founder__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 96px;
  }
}

.founder__quote {
  position: relative;
  margin: 0;
  padding: clamp(40px, 5vw, 72px);
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-xl);
  background: var(--sand);
}

.founder__quote::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 36px;
  z-index: -1;
  font-family: var(--f-display);
  font-size: 11rem;
  line-height: 0.8;
  color: rgba(233, 101, 31, 0.14);
}

.founder__quote blockquote {
  margin: 0;
}

.founder__quote blockquote p {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.founder__quote blockquote em {
  color: var(--forest-700);
}

.founder__quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.founder__quote figcaption .logo-icon {
  width: 34px;
  height: auto;
}

.founder__sig {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

.founder__role {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-3);
}

.milestones {
  display: grid;
  gap: 0;
  margin: 32px 0 36px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.milestones li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.milestones strong {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--sun-600);
}

.milestones span {
  font-size: 0.98rem;
}

/* ---------- Bento: beyond the clinic ---------- */

.bento {
  display: grid;
  gap: 20px;
}

@media (min-width: 760px) {
  .bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .bento__tile:nth-child(1) {
    grid-column: span 7;
  }

  .bento__tile:nth-child(2) {
    grid-column: span 5;
  }

  .bento__tile:nth-child(3) {
    grid-column: span 5;
  }

  .bento__tile:nth-child(4) {
    grid-column: span 7;
  }
}

.bento__tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 340px;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-lg);
  color: #fff;
  text-decoration: none;
}

@media (min-width: 1100px) {
  .bento__tile {
    min-height: 420px;
  }
}

.bento__tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.1s var(--ease-out);
}

.bento__tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(11, 33, 28, 0.9) 0%, rgba(11, 33, 28, 0.42) 42%, rgba(11, 33, 28, 0) 72%);
  transition: background-color 0.4s var(--ease);
}

.bento__body {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: clamp(24px, 3vw, 36px);
}

.bento__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #dce8e1;
}

.bento__kicker .icon {
  color: var(--lime-400);
}

.bento__title {
  max-width: 22ch;
  margin: 0;
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.14;
  color: #fff;
}

.bento__go {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color 0.3s var(--ease), transform 0.45s var(--ease-out);
}

.bento__tile .chip {
  position: absolute;
  top: 26px;
  left: 26px;
}

.bento__tile:hover img {
  scale: 1.06;
}

.bento__tile:hover .bento__go {
  background: var(--sun-600);
  transform: rotate(-45deg);
}

/* ---------- Reasons ---------- */

.reasons {
  display: grid;
  gap: 0 40px;
}

@media (min-width: 640px) {
  .reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .reasons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.reason {
  padding: 32px 0 36px;
  border-top: 1px solid var(--line);
}

.reason__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: #fff;
  color: var(--forest-700);
  box-shadow: var(--shadow-1);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.4s var(--ease-out);
}

.reason:hover .reason__icon {
  background: var(--forest-900);
  color: var(--lime-400);
  transform: translateY(-3px);
}

.reason h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.reason p {
  margin: 0;
  font-size: 0.99rem;
}

/* ---------- FAQ ---------- */

.faq-split {
  display: grid;
  gap: 40px;
}

@media (min-width: 960px) {
  .faq-split {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 96px;
  }

  .faq-split__head {
    position: sticky;
    top: calc(var(--masthead-h) + 40px);
    align-self: start;
  }
}

.faq-split__head .section-head {
  margin-bottom: 28px;
}

.faq {
  border-top: 1px solid var(--line-strong);
}

.faq__item {
  border-bottom: 1px solid var(--line-strong);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  line-height: 1.3;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary:hover {
  color: var(--forest-700);
}

.faq__toggle {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--forest-900);
  transition: transform 0.4s var(--ease-out), background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.faq__item[open] .faq__toggle {
  background: var(--forest-900);
  border-color: var(--forest-900);
  color: #fff;
  transform: rotate(45deg);
}

.faq__item::details-content {
  height: 0;
  overflow: clip;
  transition: height 0.45s var(--ease-out), content-visibility 0.45s allow-discrete;
}

.faq__item[open]::details-content {
  height: auto;
}

.faq__answer {
  max-width: 64ch;
  padding: 0 64px 28px 0;
  color: var(--ink-2);
}

/* ---------- Closing CTA ---------- */

.closing {
  padding-block: 0 var(--section-y);
}

.band + .closing,
.quote-band + .closing,
.page-hero + .closing,
.stats + .closing,
.section--mist + .closing,
.section--sand + .closing {
  padding-top: var(--section-y);
}

.closing__panel {
  position: relative;
  display: grid;
  align-items: end;
  gap: 40px;
  padding: clamp(40px, 6.5vw, 96px);
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-xl);
  background: var(--forest-900);
  color: var(--on-dark);
}

@media (min-width: 960px) {
  .closing__panel {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 64px;
  }
}

.closing__sun {
  position: absolute;
  right: -240px;
  bottom: -500px;
  z-index: -1;
  width: 780px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 138, 59, 0.62) 0%, rgba(233, 101, 31, 0.22) 38%, transparent 66%);
  animation: sunrise 10s ease-in-out infinite alternate;
}

.closing__sun::after {
  content: '';
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(245, 161, 94, 0.22) 0deg 1.4deg, transparent 1.4deg 10deg);
  -webkit-mask: radial-gradient(closest-side, transparent 58%, #000 59%, #000 70%, transparent 71%);
  mask: radial-gradient(closest-side, transparent 58%, #000 59%, #000 70%, transparent 71%);
  animation: spin 160s linear infinite;
}

.closing__title {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 4.8vw, 4rem);
  line-height: 1.02;
  color: #fff;
}

.closing__title em {
  color: var(--sun-300);
}

.closing__text {
  max-width: 44ch;
  font-size: 1.08rem;
}

.closing__actions {
  display: grid;
  gap: 12px;
}

.closing__call {
  margin-top: 4px;
  font-size: 0.95rem;
  color: var(--on-dark-2);
  text-align: center;
  text-decoration: none;
}

.closing__call strong {
  color: #fff;
  font-weight: 600;
}

.closing__call:hover strong {
  color: var(--sun-300);
}

/* ---------- Inner page hero ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 104px);
  background: radial-gradient(900px 480px at 92% 0%, rgba(233, 101, 31, 0.09), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(166, 206, 57, 0.11), transparent 60%), var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero__grid {
  display: grid;
  align-items: center;
  gap: 48px;
}

@media (min-width: 960px) {
  .page-hero--media .page-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 80px;
  }
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--ink-3);
}

.crumbs li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--line-strong);
}

.crumbs a {
  color: var(--ink-2);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--sun-600);
  text-decoration: underline;
}

.page-hero__title {
  max-width: 17ch;
  margin: 0 0 24px;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.024em;
}

.page-hero:not(.page-hero--media) .page-hero__title {
  max-width: 20ch;
}

.page-hero__lede {
  max-width: 40rem;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.page-hero__media {
  margin: 0;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: var(--leaf);
  box-shadow: 0 40px 80px -44px rgba(15, 42, 36, 0.5);
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__media--portrait {
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  max-width: 440px;
  margin-inline: auto;
}

/* Photographic, dark hero (Healing Retreat) */

.page-hero--photo {
  display: flex;
  align-items: flex-end;
  min-height: clamp(460px, 64vh, 680px);
  padding-block: clamp(96px, 12vw, 160px) clamp(56px, 7vw, 96px);
  background-color: var(--forest-950);
  background-position: center;
  background-size: cover;
  border-bottom: 0;
  color: var(--on-dark);
}

.page-hero--photo .page-hero__grid {
  width: 100%;
}

.page-hero--photo .page-hero__title {
  color: #fff;
}

.page-hero--photo .page-hero__title em {
  color: var(--sun-300);
}

.page-hero--photo .lede {
  color: var(--on-dark);
}

.page-hero--photo .crumbs ol,
.page-hero--photo .crumbs a {
  color: var(--on-dark-2);
}

.page-hero--photo .crumbs li + li::before {
  color: rgba(255, 255, 255, 0.3);
}

/* ---------- Services detail page ---------- */

.svc-layout {
  display: grid;
  gap: 48px;
}

@media (min-width: 1100px) {
  .svc-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 80px;
  }
}

.toc {
  display: none;
}

@media (min-width: 1100px) {
  .toc {
    position: sticky;
    top: calc(var(--masthead-h) + 40px);
    display: block;
    align-self: start;
  }
}

.toc__label {
  margin: 0 0 16px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.toc__list {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line-strong);
}

.toc__list a {
  display: block;
  margin-left: -1px;
  padding: 9px 0 9px 18px;
  border-left: 2px solid transparent;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.toc__list a:hover {
  color: var(--ink);
}

.toc__list a.is-active {
  border-left-color: var(--sun-600);
  color: var(--forest-900);
  font-weight: 600;
}

.toc__card {
  padding: 24px;
  border-radius: 20px;
  background: var(--forest-900);
  color: var(--on-dark);
}

.toc__card p {
  margin-bottom: 16px;
  font-family: var(--f-display);
  font-size: 1.3rem;
  line-height: 1.2;
  color: #fff;
}

.toc__card .btn {
  width: 100%;
}

.svc-detail {
  display: grid;
  align-items: center;
  gap: 32px;
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.svc-detail:first-child {
  padding-top: 0;
  border-top: 0;
}

@media (min-width: 900px) {
  .svc-detail {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 56px;
  }

  .svc-detail:nth-child(even) .svc-detail__media {
    order: 2;
  }
}

.svc-detail__media {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-lg);
}

.svc-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.1s var(--ease-out);
}

.svc-detail:hover .svc-detail__media img {
  scale: 1.04;
}

.svc-detail__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--sand);
  color: var(--sun-600);
}

.svc-detail h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.svc-detail__tagline {
  margin: -4px 0 18px;
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.35;
  color: var(--forest-700);
}

.svc-detail__body {
  margin-bottom: 28px;
}

.svc-detail--text {
  grid-template-columns: minmax(0, 1fr) !important;
  padding: clamp(36px, 5vw, 64px);
  border: 0;
  border-radius: var(--r-xl);
  background: var(--sand);
  margin-top: clamp(24px, 4vw, 48px);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink);
}

.pills .icon {
  color: var(--sun-600);
}

/* ---------- Split media sections ---------- */

.split {
  display: grid;
  align-items: center;
  gap: 48px;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 96px;
  }

  .split--reverse .split__media {
    order: 2;
  }
}

.split__media {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--leaf);
}

.split--reverse .split__media {
  border-radius: 24px 160px 24px 160px;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.2s var(--ease-out);
}

.split:hover .split__media img {
  scale: 1.04;
}

.split__copy h2 {
  margin-bottom: 20px;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 28px 0 36px;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .checklist--2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
  }
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
  color: var(--ink);
}

.checklist__tick {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-top: -1px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--forest-700);
}

.section--mist .checklist__tick {
  background: #fff;
}

/* ---------- Tiles ---------- */

.tiles {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tiles--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.tile {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s var(--ease);
}

.tile:hover {
  border-color: transparent;
  box-shadow: var(--shadow-2);
  transform: translateY(-5px);
}

.tile__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: var(--sand);
  color: var(--sun-600);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.tile:hover .tile__icon {
  background: var(--sun-600);
  color: #fff;
}

.tile h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.tile p {
  margin: 0;
  font-size: 0.99rem;
}

.values {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.value {
  display: grid;
  flex: 1 1 140px;
  justify-items: center;
  gap: 16px;
  max-width: 158px;
  padding: 28px 12px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  text-align: center;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s var(--ease);
}

.value:hover {
  border-color: transparent;
  box-shadow: var(--shadow-2);
  transform: translateY(-5px);
}

.value__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--forest-700);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.value:hover .value__icon {
  background: var(--forest-900);
  color: var(--lime-400);
}

.value__name {
  font-family: var(--f-display);
  font-size: 1.18rem;
  line-height: 1.2;
  color: var(--ink);
}

/* ---------- Quote band ---------- */

.quote-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: var(--section-y);
  background: var(--forest-900);
  color: var(--on-dark);
  text-align: center;
}

.quote-band::before {
  content: '';
  position: absolute;
  top: -380px;
  left: 50%;
  z-index: -1;
  width: 760px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(166, 206, 57, 0.28) 0deg 1.2deg, transparent 1.2deg 9deg);
  -webkit-mask: radial-gradient(closest-side, transparent 62%, #000 63%, #000 74%, transparent 75%);
  mask: radial-gradient(closest-side, transparent 62%, #000 63%, #000 74%, transparent 75%);
  transform: translateX(-50%);
  animation: spinCentered 200s linear infinite;
}

.quote-band__mark {
  display: block;
  height: 0.5em;
  margin-bottom: 12px;
  font-family: var(--f-display);
  font-size: 7rem;
  line-height: 1;
  color: var(--sun-500);
}

.quote-band blockquote {
  max-width: 24ch;
  margin: 0 auto;
}

.quote-band blockquote p {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}

.quote-band blockquote em {
  color: var(--sun-300);
}

.quote-band cite {
  display: block;
  margin-top: 32px;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}

.quote-band__sub {
  max-width: 56ch;
  margin: 28px auto 0;
  font-size: 1.08rem;
}

/* ---------- About ---------- */

.bio {
  display: grid;
  gap: 48px;
}

@media (min-width: 960px) {
  .bio {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 96px;
  }

  .bio__aside {
    position: sticky;
    top: calc(var(--masthead-h) + 40px);
    align-self: start;
  }
}

.bio__aside h2 {
  margin-bottom: 12px;
}

.bio__role {
  margin-bottom: 28px;
  font-size: 1.05rem;
  color: var(--ink-3);
}

.bio__body p {
  font-size: 1.1rem;
}

.bio__body p:first-child {
  font-family: var(--f-display);
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  line-height: 1.35;
  color: var(--ink);
}

.career {
  position: relative;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}

.career::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 7px;
  width: 1.5px;
  background: linear-gradient(180deg, var(--sun-500), var(--lime-500));
}

.career__item {
  position: relative;
  padding: 0 0 34px 40px;
}

.career__item:last-child {
  padding-bottom: 0;
}

.career__item::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 16px;
  height: 16px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--sun-500);
  box-shadow: 0 0 0 1px var(--sun-500);
}

.career__when {
  margin: 0 0 4px;
  font-family: var(--f-display);
  font-size: 1.35rem;
  color: var(--sun-600);
}

.career__what {
  margin: 0;
}

@media (min-width: 640px) {
  .career::before {
    left: 127px;
  }

  .career__item {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 48px;
    padding-left: 0;
  }

  .career__item::before {
    left: 120px;
  }

  .career__when {
    margin: 0;
    text-align: right;
  }
}

.vm {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .vm {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.vm__card {
  position: relative;
  padding: clamp(36px, 4.5vw, 60px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
}

.vm__card h3 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
}

.vm__card p {
  font-size: 1.06rem;
}

.vm__card--forest {
  border-color: transparent;
  background: var(--forest-900);
  color: var(--on-dark);
}

.vm__card--forest h3 {
  color: #fff;
}

.vm__card--forest::after {
  content: '';
  position: absolute;
  right: -160px;
  bottom: -200px;
  z-index: -1;
  width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 138, 59, 0.4), transparent 65%);
}

/* ---------- Notices ---------- */

.notice {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: var(--sand);
  color: var(--ink);
  font-size: 0.97rem;
  line-height: 1.6;
}

.notice .icon {
  margin-top: 2px;
  color: var(--sun-600);
}

.notice p {
  margin: 0;
}

.notice--dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--on-dark);
}

.notice--dark .icon {
  color: var(--sun-300);
}

.notice--center {
  max-width: 720px;
  margin-inline: auto;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  align-items: start;
  gap: 28px;
}

@media (min-width: 1000px) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 40px;
  }
}

.contact-panel {
  position: relative;
  padding: clamp(32px, 4vw, 52px);
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-xl);
  background: var(--forest-900);
  color: var(--on-dark);
}

.contact-panel::after {
  content: '';
  position: absolute;
  top: -180px;
  right: -180px;
  z-index: -1;
  width: 440px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 138, 59, 0.38), transparent 64%);
}

.contact-panel h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: #fff;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  transition: background-color 0.25s var(--ease), transform 0.35s var(--ease-out), border-color 0.25s var(--ease);
}

a.contact-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.contact-item__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sun-600);
  color: #fff;
}

.contact-item__label {
  display: block;
  font-size: 0.8rem;
  color: var(--on-dark-2);
}

.contact-item__value {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  word-break: break-word;
}

.form-card {
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-1);
}

.form-card h2 {
  margin-bottom: 8px;
  font-size: clamp(1.9rem, 2.8vw, 2.4rem);
}

.form-card__intro {
  margin-bottom: 32px;
  color: var(--ink-3);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.field-row {
  display: grid;
  gap: 0 16px;
}

@media (min-width: 640px) {
  .field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field label,
.field legend {
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field select {
  padding-right: 44px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231d4a3f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #b9c6bf;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest-700);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(29, 74, 63, 0.12);
}

fieldset.field {
  margin-inline: 0;
  padding: 0;
  border: 0;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.segmented label {
  position: relative;
  cursor: pointer;
}

.segmented input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  opacity: 0;
}

.segmented span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.segmented input:checked + span {
  border-color: var(--forest-900);
  background: var(--forest-900);
  color: #fff;
}

.segmented input:focus-visible + span {
  outline: 2.5px solid var(--sun-600);
  outline-offset: 2px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}

.form-note {
  max-width: 34ch;
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-3);
}

.form-success {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-lg);
  background: var(--mist);
}

.form-success__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--forest-900);
  color: var(--lime-400);
}

.form-errors {
  margin-bottom: 24px;
  padding: 18px 22px;
  border: 1px solid #f1c3bd;
  border-radius: var(--r-md);
  background: #fdf1ef;
  color: #8f2418;
}

.form-errors ul {
  padding-left: 18px;
}

/* ---------- Prose (legal pages) ---------- */

.prose {
  max-width: 720px;
}

.prose h2 {
  margin: 2em 0 0.6em;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

.prose p {
  font-size: 1.05rem;
}

/* ---------- Error pages ---------- */

.error-page {
  padding-block: clamp(72px, 12vw, 160px);
  text-align: center;
}

.error-page__code {
  margin: 0 0 12px;
  font-family: var(--f-display);
  font-size: clamp(6rem, 18vw, 12rem);
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--sun-500), var(--lime-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.error-page .page-hero__actions {
  justify-content: center;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(64px, 8vw, 104px);
  background: var(--forest-950);
  color: var(--on-dark-2);
}

.footer__top {
  display: grid;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1000px) {
  .footer__top {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.7fr);
    gap: 72px;
  }
}

.brand--footer {
  padding: 10px 16px;
  border-radius: var(--r-md);
  background: #fff;
}

.brand--footer .logo-mark {
  height: 56px;
}

.footer__statement {
  margin: 32px 0 12px;
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.1;
  color: #fff;
}

.footer__statement em {
  color: var(--sun-300);
}

.footer__lede {
  max-width: 36ch;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #dce6e0;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.35s var(--ease-out);
}

.footer__social a:hover {
  border-color: var(--sun-600);
  background: var(--sun-600);
  transform: translateY(-3px);
}

.footer__cols {
  display: grid;
  gap: 40px;
}

@media (min-width: 640px) {
  .footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .footer__cols {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
  }
}

.footer__heading {
  margin: 0 0 18px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}

.footer__heading--spaced {
  margin-top: 36px;
}

.footer__col ul {
  display: grid;
  gap: 11px;
  padding: 0;
  list-style: none;
}

.footer__col a,
.footer__contact span {
  color: var(--on-dark-2);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer__col a:hover {
  color: #fff;
}

.footer__contact a,
.footer__contact span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
}

.footer__contact .icon {
  color: var(--sun-400);
}

.footer__cta {
  margin-top: 28px;
}

.footer__col .footer__cta {
  color: #fff;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 28px 12px;
  font-size: 0.9rem;
}

.footer__copy {
  margin: 0;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  padding: 0;
  list-style: none;
}

.footer__legal a {
  color: var(--on-dark-2);
  text-decoration: none;
}

.footer__legal a:hover {
  color: #fff;
}

.footer__disclaimer {
  max-width: 92ch;
  padding-bottom: 40px;
  font-size: 0.83rem;
  color: #7f968b;
}

.footer__disclaimer a {
  color: var(--on-dark-2);
}

/* ---------- Floating WhatsApp & mobile action bar ---------- */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 15px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 16px 36px -12px rgba(15, 42, 36, 0.42);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid #25d366;
  border-radius: inherit;
  opacity: 0;
  animation: pulseRing 3s ease-out 2s infinite;
}

.whatsapp-float__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.45s var(--ease-out), margin 0.45s var(--ease-out);
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -14px rgba(15, 42, 36, 0.5);
}

.whatsapp-float:hover .whatsapp-float__label,
.whatsapp-float:focus-visible .whatsapp-float__label {
  max-width: 140px;
  margin: 0 6px 0 10px;
}

.action-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  display: flex;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(252, 251, 248, 0.96);
  border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.action-bar__item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px 12px;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
}

.action-bar__item--primary {
  background: var(--sun-600);
  color: #fff;
}

@media (max-width: 639.98px) {
  body {
    padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px));
  }

  .whatsapp-float {
    display: none;
  }
}

@media (min-width: 640px) {
  .action-bar {
    display: none;
  }
}

/* ---------- Motion ---------- */

.hero-anim {
  animation: rise 1s var(--ease-out) both;
  animation-delay: calc(var(--d, 0) * 110ms + 80ms);
}

/* Scroll reveals only hide content when JS is present to show it again. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--rd, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.stagger > :nth-child(2) {
  --rd: 80ms;
}

.stagger > :nth-child(3) {
  --rd: 160ms;
}

.stagger > :nth-child(4) {
  --rd: 240ms;
}

.stagger > :nth-child(5) {
  --rd: 320ms;
}

.stagger > :nth-child(6) {
  --rd: 400ms;
}

.stagger > :nth-child(7) {
  --rd: 480ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lineUp {
  from {
    transform: translateY(108%);
  }
  to {
    transform: none;
  }
}

@keyframes archIn {
  from {
    clip-path: inset(100% 0 0 0);
    transform: scale(1.04);
  }
  to {
    clip-path: inset(0 0 0 0);
    transform: none;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes spinRays {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

@keyframes spinCentered {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sunrise {
  from {
    transform: translateY(30px) scale(0.96);
  }
  to {
    transform: translateY(-20px) scale(1.04);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes pulseRing {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.3, 1.5);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .marquee__track,
  .hero__rays,
  .closing__sun,
  .closing__sun::after,
  .quote-band::before,
  .whatsapp-float::before {
    animation: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}


/* ==========================================================================
   Enhancement layer — modern platform features and motion hooks
   ========================================================================== */

:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Lenis smooth scroll ---- */

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent] {
  overscroll-behavior: contain;
}

/* ---- Cross-page View Transitions (no JS; ignored by older browsers) ---- */

@view-transition {
  navigation: auto;
}

.site-header {
  view-transition-name: site-header;
}

.whatsapp-float {
  view-transition-name: whatsapp-float;
}

.action-bar {
  view-transition-name: action-bar;
}

::view-transition-old(root) {
  animation: vtOut 0.28s var(--ease) both;
}

::view-transition-new(root) {
  animation: vtIn 0.55s var(--ease-out) both;
}

@keyframes vtOut {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes vtIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---- Reading progress (CSS scroll-driven animation) ---- */

.scroll-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sun-500), var(--lime-400));
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: readProgress linear both;
    animation-timeline: scroll(root);
  }
}

@keyframes readProgress {
  to {
    transform: scaleX(1);
  }
}

/* ---- Film grain on dark surfaces ---- */

.band,
.quote-band,
.closing__panel,
.site-footer,
.marquee,
.contact-panel,
.vm__card--forest,
.toc__card,
.utility {
  background-image: var(--grain);
  background-size: 200px 200px;
}

/* ---- Pointer-tracked spotlight ---- */

.spotlight {
  position: relative;
  isolation: isolate;
}

.spotlight::before,
.spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.spotlight::before {
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(233, 101, 31, 0.1), transparent 45%);
}

.spotlight::after {
  padding: 1.5px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(233, 101, 31, 0.7), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

.spotlight:hover::before,
.spotlight:hover::after {
  opacity: 1;
}

.spotlight--dark::before {
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(242, 138, 59, 0.24), transparent 50%);
}

/* ---- Motion hooks (independent translate never fights transform) ---- */

.btn {
  translate: calc(var(--bx, 0) * 1px) calc(var(--by, 0) * 1px);
}

.hero__rays {
  translate: calc(var(--px, 0) * -16px) calc(var(--py, 0) * -12px);
}

.hero__portrait {
  translate: calc(var(--px, 0) * 6px) calc(var(--py, 0) * 5px);
}

.hero__card--name {
  translate: calc(var(--px, 0) * 20px) calc(var(--py, 0) * 14px);
}

.hero__card--stat {
  translate: calc(var(--px, 0) * 30px) calc(var(--py, 0) * 20px);
}

/* Parallax needs a little overscan so a photo never reveals its edge. */
.has-motion .band__media img,
.has-motion .split__media img,
.has-motion .page-hero__media img,
.has-motion .svc-detail__media img,
.has-motion .bento__tile img {
  scale: 1.12;
}

.has-motion .band__media:hover img,
.has-motion .split:hover .split__media img,
.has-motion .svc-detail:hover .svc-detail__media img,
.has-motion .bento__tile:hover img {
  scale: 1.17;
}

.split-word-mask {
  padding-block: 0.06em 0.16em;
  margin-block: -0.06em -0.16em;
}

/* Primary buttons pick up a slow sheen on hover. */
.btn--sun {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn--sun::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease-out);
}

.btn--sun:hover::after {
  transform: translateX(120%);
}

/* ---- Quick-access tiles (home) ---- */

.quick {
  position: relative;
  z-index: 3;
  margin-top: clamp(-72px, -6vw, -40px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.quick__grid {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .quick__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .quick__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.qtile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  min-height: 190px;
  padding: 24px 24px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background-color: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.qtile:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -24px rgba(15, 42, 36, 0.35);
}

.qtile__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qtile__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sand);
  color: var(--sun-600);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), rotate 0.5s var(--ease-out);
}

.qtile:hover .qtile__icon {
  background: var(--sun-600);
  color: #fff;
  rotate: -8deg;
}

.qtile__go,
.stile__go {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease),
    rotate 0.5s var(--ease-out);
}

.qtile:hover .qtile__go,
.stile:hover .stile__go {
  border-color: var(--forest-900);
  background: var(--forest-900);
  color: #fff;
  rotate: -45deg;
}

.qtile__title {
  margin: auto 0 0;
  font-family: var(--f-display);
  font-size: 1.4rem;
  line-height: 1.15;
}

.qtile__desc {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-3);
}

.qtile--primary {
  border-color: transparent;
  background-color: var(--forest-900);
  background-image: var(--grain);
  color: #fff;
}

.qtile--primary .qtile__icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--lime-400);
}

.qtile--primary .qtile__go {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.qtile--primary:hover .qtile__go {
  border-color: var(--sun-600);
  background: var(--sun-600);
}

.qtile--primary .qtile__desc {
  color: var(--on-dark-2);
}

/* ---- Services overview tiles ---- */

.stiles {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .stiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .stiles {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .stile {
    grid-column: span 3;
  }

  .stile--feature {
    grid-column: span 6;
  }
}

.stile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background-color: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.3s var(--ease);
}

.stile:hover {
  border-color: transparent;
  box-shadow: var(--shadow-2);
  transform: translateY(-5px);
}

.stile__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stile__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--sand);
  color: var(--sun-600);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.stile:hover .stile__icon {
  background: var(--sun-600);
  color: #fff;
}

.stile__title {
  margin: auto 0 0;
  font-family: var(--f-display);
  font-size: 1.45rem;
  line-height: 1.15;
}

.stile__tag {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-3);
}

.stile--feature {
  min-height: 300px;
  border: 0;
  color: #fff;
}

.stile--feature img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.1s var(--ease-out);
}

.stile__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(to top, rgba(11, 33, 28, 0.93), rgba(11, 33, 28, 0.4) 55%, rgba(11, 33, 28, 0.08));
}

.stile--feature:hover img {
  scale: 1.06;
}

.stile--feature .stile__icon {
  background: rgba(255, 255, 255, 0.14);
  color: var(--lime-400);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.stile--feature .stile__tag {
  color: var(--on-dark);
}

.stile--feature .stile__go {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.stile--feature:hover .stile__go {
  border-color: var(--sun-600);
  background: var(--sun-600);
}

/* ---- Mobile menu: links cascade in ---- */

@media (max-width: 1099px) {
  .nav.is-open .nav__item,
  .nav.is-open .nav__panel-footer {
    animation: rise 0.6s var(--ease-out) both;
  }

  .nav.is-open .nav__item:nth-child(2) {
    animation-delay: 0.05s;
  }

  .nav.is-open .nav__item:nth-child(3) {
    animation-delay: 0.1s;
  }

  .nav.is-open .nav__item:nth-child(4) {
    animation-delay: 0.15s;
  }

  .nav.is-open .nav__item:nth-child(5) {
    animation-delay: 0.2s;
  }

  .nav.is-open .nav__panel-footer {
    animation-delay: 0.28s;
  }
}

/* ---- Footer wordmark ---- */

.footer__wordmark {
  margin: 0;
  padding-bottom: 6px;
  overflow: hidden;
  font-family: var(--f-display);
  font-size: clamp(4.5rem, 16.5vw, 15.5rem);
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(242, 138, 59, 0.35), rgba(166, 206, 57, 0.05) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}

/* ---- Form: inline validation and submitting state ---- */

.field__error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: #a3261a;
}

.field__error[hidden] {
  display: none;
}

.field [aria-invalid='true'] {
  border-color: #d0584a;
  background-color: #fffafa;
}

.field [aria-invalid='true']:focus {
  box-shadow: 0 0 0 4px rgba(208, 88, 74, 0.14);
}

.btn.is-loading {
  pointer-events: none;
  opacity: 0.88;
}

.btn.is-loading .btn__arrow {
  display: none;
}

.btn__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn.is-loading .btn__spinner {
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }

  .btn,
  .hero__rays,
  .hero__portrait,
  .hero__card--name,
  .hero__card--stat {
    translate: none;
  }

  .scroll-progress {
    display: none;
  }
}

/* Phones: quick-access tiles become a compact 2x2 grid. */
@media (max-width: 639.98px) {
  .quick__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .qtile {
    min-height: 150px;
    gap: 10px;
    padding: 16px;
    border-radius: 18px;
  }

  .qtile__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .qtile__go {
    display: none;
  }

  .qtile__title {
    font-size: 1.12rem;
  }

  .qtile__desc {
    display: none;
  }
}

/* Feature service tile: keep the icon and arrow legible over bright photos. */
.stile--feature .stile__shade {
  background: linear-gradient(to top, rgba(11, 33, 28, 0.94), rgba(11, 33, 28, 0.35) 55%, rgba(11, 33, 28, 0.45));
}

.stile--feature .stile__icon {
  background: rgba(11, 33, 28, 0.55);
}

.stile--feature .stile__go {
  background: rgba(11, 33, 28, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* ---- Service photo collage (medical aesthetics) ---- */

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

@media (min-width: 900px) {
  .svc-detail:nth-child(even) .svc-gallery {
    order: 2;
  }
}

.svc-gallery__item {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--sand);
}

.svc-gallery__item--wide {
  grid-column: 1 / -1;
  aspect-ratio: 3 / 2;
}

.svc-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 1.1s var(--ease-out);
}

.svc-gallery__item:hover img {
  scale: 1.05;
}

.has-motion .svc-gallery__item img {
  scale: 1.12;
}

.has-motion .svc-gallery__item:hover img {
  scale: 1.17;
}

/* ---- Staff login links ---- */

.utility__link--staff {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.footer__staff {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
