/* =========================================================
   Origin Health — Landing page concept
   Design tokens derived from the supplied wordmark:
   ink #3D4530 · sage dot #959775 · cream ground #FEFCF7
   ========================================================= */

:root {
  /* Colour */
  --canvas: #FBFAF6;        /* Porcelain — primary canvas (warmed to the logo ground) */
  --surface: #FFFFFF;       /* Crisp white — elevated surfaces */
  --seafoam: #F3F3EC;       /* Soft alternate background */
  --mist: #E9EBDF;          /* Mist sage — quiet accent surfaces */
  --mist-deep: #DDE0CF;
  --sage: #959775;          /* Logo dot — decorative only (not for text) */
  --sage-soft: #C3C7AC;     /* Gentle accent */
  --olive: #3D4530;         /* Logo ink — primary buttons */
  --olive-deep: #333A28;    /* Hover */
  --olive-press: #2A3021;   /* Pressed */
  --ink: #262B1F;           /* Headings */
  --text: #343A2D;          /* Body — 10.9:1 on canvas */
  --slate: #50574A;         /* Secondary text — 7.1:1 on canvas, 5.9:1 on mist */
  --line: rgba(38, 43, 31, 0.11);
  --line-strong: rgba(38, 43, 31, 0.2);
  --night: #313827;         /* Final CTA ground */
  --cream: #F6F4EC;

  /* Type */
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Newsreader", "Iowan Old Style", Georgia, serif;

  /* Space & shape */
  --gutter: clamp(20px, 4.4vw, 64px);
  --max: 1312px;
  --section: clamp(96px, 10.5vw, 168px);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --origin-curve: clamp(120px, 15vw, 220px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 220ms;

  --header-h: 88px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

::selection { background: var(--mist-deep); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.sr-only {
  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: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 12px 18px; border-radius: var(--radius-sm);
  background: var(--olive); color: #fff; font-weight: 600; font-size: 14px;
  transform: translateY(-160%);
  transition: transform var(--t-fast) var(--ease);
}
.skip-link:focus-visible { transform: none; }

.nowrap { white-space: nowrap; }

.icon {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* The logo's sage full stop, carried into the typography */
.stop { color: var(--sage); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; line-height: 1;
  font-weight: 650; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--olive);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage); flex: none;
}
.eyebrow--light { color: rgba(246, 244, 236, 0.88); }
.eyebrow--light::before { background: var(--sage-soft); }

.section-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.375rem, 1.55rem + 2.7vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink);
  font-optical-sizing: auto;
  text-wrap: balance;
  margin-top: 26px;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--olive);
  --btn-bg-hover: var(--olive-deep);
  --btn-bg-press: var(--olive-press);
  --btn-fg: #fff;
  --btn-shadow: 0 1px 2px rgba(38, 43, 31, 0.14), 0 6px 14px -8px rgba(38, 43, 31, 0.35);
  --btn-shadow-hover: 0 2px 4px rgba(38, 43, 31, 0.1), 0 14px 28px -12px rgba(38, 43, 31, 0.42);

  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 0 24px 0 20px;
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: 0.005em;
  white-space: nowrap;
  box-shadow: var(--btn-shadow);
  transition:
    transform var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn .icon { margin-top: -1px; transition: transform var(--t-fast) var(--ease); }

@media (hover: hover) {
  .btn:hover {
    background: var(--btn-bg-hover);
    box-shadow: var(--btn-shadow-hover);
    transform: translateY(-2px);
  }
  .btn:hover .icon { transform: translateY(-1px); }
}
.btn:active {
  background: var(--btn-bg-press);
  box-shadow: var(--btn-shadow);
  transform: translateY(0) scale(0.985);
  transition-duration: 90ms;
}
.btn:focus-visible { outline-offset: 4px; border-radius: var(--radius-sm); }

.btn--lg { min-height: 58px; padding: 0 30px 0 26px; gap: 11px; font-size: 16px; }
.btn--header { min-height: 46px; padding: 0 20px 0 18px; border-radius: 13px; font-size: 14.5px; }
.btn--block { width: 100%; }

.btn--light {
  --btn-bg: var(--cream);
  --btn-bg-hover: #FFFFFF;
  --btn-bg-press: #E9E7DD;
  --btn-fg: var(--olive);
  --btn-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 8px 20px -10px rgba(0, 0, 0, 0.45);
  --btn-shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.1), 0 18px 34px -14px rgba(0, 0, 0, 0.55);
}
.btn--light:focus-visible { outline-color: var(--cream); }

.btn__label-short { display: none; }

/* Text link (secondary) */
.text-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px;
  padding-inline: 4px;
  margin-inline: -4px;
  font-size: 15.5px; font-weight: 600; letter-spacing: 0.005em;
  color: var(--olive);
  transition: color var(--t-fast) var(--ease);
}
.text-link span { position: relative; }
.text-link span::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px;
  background: currentColor; opacity: 0.9;
  transform: scaleX(0); transform-origin: left center;
  transition: transform 420ms var(--ease);
}
.text-link .icon { width: 17px; height: 17px; transition: transform var(--t-fast) var(--ease); }
@media (hover: hover) {
  .text-link:hover { color: var(--ink); }
  .text-link:hover span::after { transform: scaleX(1); }
  .text-link:hover .icon { transform: translate(2px, -2px); }
}
.text-link:focus-visible span::after { transform: scaleX(1); }

/* Icon tile */
.icon-tile {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--mist);
  color: var(--olive);
  transition: background-color 320ms var(--ease), color 320ms var(--ease), transform 320ms var(--ease);
}
.icon-tile .icon { width: 24px; height: 24px; stroke-width: 1.6; }
.icon-tile--lg { width: 56px; height: 56px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color 400ms var(--ease), box-shadow 400ms var(--ease), backdrop-filter 400ms var(--ease);
  animation: header-in 700ms var(--ease) both;
}
.site-header.is-scrolled {
  background: rgba(251, 250, 246, 0.8);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line);
}
.site-header__inner {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.brand { display: inline-flex; justify-self: start; border-radius: 8px; }
.brand img { height: 52px; width: auto; }

.site-nav ul { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.site-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px;
  border-radius: 8px;
  font-size: 15px; font-weight: 500; letter-spacing: 0.005em; color: var(--text);
  transition: color var(--t-fast) var(--ease);
}
.site-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 3px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--sage);
  transform: translateX(-50%) scale(0); opacity: 0;
  transition: transform 300ms var(--ease), opacity 300ms var(--ease);
}
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: translateX(-50%) scale(1); opacity: 1; }

.site-header__actions { justify-self: end; display: flex; align-items: center; gap: 8px; }

.menu-toggle {
  display: none;
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  place-items: center; color: var(--ink);
  transition: background-color var(--t-fast) var(--ease);
}
.menu-toggle:hover { background: rgba(38, 43, 31, 0.05); }
.menu-toggle .icon { width: 22px; height: 22px; grid-area: 1 / 1; transition: opacity 200ms var(--ease), transform 300ms var(--ease); }
.menu-toggle .icon--close { opacity: 0; transform: rotate(-45deg) scale(0.8); }
.menu-toggle[aria-expanded="true"] .icon--menu { opacity: 0; transform: rotate(45deg) scale(0.8); }
.menu-toggle[aria-expanded="true"] .icon--close { opacity: 1; transform: none; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--canvas);
  opacity: 0; transform: translateY(-8px);
  transition: opacity 320ms var(--ease), transform 420ms var(--ease);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu__inner { padding-top: 24px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 40px; min-height: 100%; }
.mobile-menu ul { border-top: 1px solid var(--line); }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu li a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px;
  font-family: var(--font-serif); font-weight: 300; font-size: 32px; letter-spacing: -0.015em; color: var(--ink);
}
.mobile-menu li a::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); opacity: 0; transition: opacity var(--t-fast); }
.mobile-menu li a:active::after { opacity: 1; }
.mobile-menu .btn { margin-top: auto; min-height: 56px; }

@keyframes header-in { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow-x: clip;
  padding-top: calc(var(--header-h) + clamp(32px, 4.5vw, 72px));
  padding-bottom: clamp(72px, 8vw, 128px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(40px, 6vw, 104px);
}
.hero__copy { padding-bottom: clamp(0px, 2vw, 32px); }

.hero__title {
  margin-top: 32px;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(3.1rem, 1.6rem + 4.9vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.032em;
  color: var(--ink);
  font-optical-sizing: auto;
  max-width: 9.5em;
}
.hero__lede {
  margin-top: 30px;
  max-width: 29em;
  font-size: clamp(17.5px, 0.98rem + 0.3vw, 20px);
  line-height: 1.6;
  color: var(--slate);
  text-wrap: pretty;
}
.hero__actions {
  margin-top: 46px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px;
}

/* Media */
.hero__media {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 540px;
  isolation: isolate;
}
.hero__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--origin-curve) var(--radius) var(--radius) var(--radius);
  background: var(--mist);
  box-shadow:
    0 1px 2px rgba(38, 43, 31, 0.05),
    0 50px 90px -50px rgba(38, 43, 31, 0.38);
  transform: translateZ(0);
}
.hero__frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%;
  transition: transform 650ms var(--ease);
}
@media (hover: hover) {
  .hero__media:hover .hero__frame img { transform: scale(1.025); }
}

/* Thin architectural echo of the frame, offset behind it */
.hero__outline {
  position: absolute; inset: 0;
  border: 1px solid var(--sage-soft);
  border-radius: var(--origin-curve) var(--radius) var(--radius) var(--radius);
  transform: translate(22px, 22px);
  z-index: -1;
  opacity: 0.9;
}

/* Ambient glow — perceived as depth, not as an object */
.hero__glow {
  position: absolute;
  inset: -8% -18% -12% -26%;
  z-index: -2;
  background:
    radial-gradient(closest-side at 38% 48%, #AFC096 0%, rgba(175, 192, 150, 0) 100%),
    radial-gradient(closest-side at 72% 74%, #C4D6C4 0%, rgba(196, 214, 196, 0) 100%);
  filter: blur(120px);
  opacity: 0.32; /* perceived as tonal depth only (~8–10%) */
  pointer-events: none;
  animation: drift 12s var(--ease-in-out) infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-10px, 8px, 0) scale(1.02); }
}

/* Floating editorial label */
.hero__label {
  position: absolute;
  left: clamp(-56px, -3.6vw, -24px);
  bottom: clamp(36px, 4.5vw, 64px);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 26px 18px 20px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(38, 43, 31, 0.06), 0 24px 48px -28px rgba(38, 43, 31, 0.4);
  font-family: var(--font-serif);
  font-style: italic; font-weight: 400;
  font-size: 19.5px; line-height: 1.2; letter-spacing: -0.005em;
  color: var(--ink);
  white-space: nowrap;
  border: 1px solid rgba(38, 43, 31, 0.06);
}
.hero__label-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--sage);
  box-shadow: 0 0 0 5px var(--mist);
  flex: none;
}

/* Entrance choreography (CSS-only, so it runs without JS too) */
.enter {
  animation: rise 820ms var(--ease) both;
  animation-delay: calc(140ms + var(--i, 0) * 90ms);
}
.enter--media {
  animation-name: reveal-media;
  animation-duration: 1100ms;
}
@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes reveal-media {
  from { opacity: 0; transform: scale(0.975); }
  to   { opacity: 1; transform: none; }
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding-block: var(--section); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 32px clamp(40px, 6vw, 104px);
  align-items: end;
}
.section-intro {
  max-width: 25em;
  font-size: 18.5px; line-height: 1.62; color: var(--slate);
  padding-bottom: 8px;
  text-wrap: pretty;
}

/* ---------- Services ---------- */
.services { position: relative; padding-bottom: clamp(64px, 7vw, 112px); }
.services::before {
  /* Quiet tonal transition from hero into the content */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}

.service-list {
  margin-top: clamp(56px, 6vw, 88px);
  margin-inline: calc(-1 * clamp(24px, 2.4vw, 40px)); /* optically align item content with the heading */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
}
.service-list { position: relative; padding-top: 12px; }
.service-list::before {
  content: ""; position: absolute; top: 0; height: 1px; background: var(--line);
  left: clamp(24px, 2.4vw, 40px); right: clamp(24px, 2.4vw, 40px);
}
.service {
  position: relative;
  padding: 40px clamp(24px, 2.4vw, 40px) 44px;
  border-radius: var(--radius);
  transition:
    transform 420ms var(--ease),
    background-color 420ms var(--ease);
}
.service + .service::before {
  content: ""; position: absolute;
  left: calc(clamp(16px, 2vw, 32px) / -2); top: 28px; bottom: 28px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line) 18%, var(--line) 82%, transparent);
}
/* hairline accent that draws in on hover */
.service::after {
  content: ""; position: absolute; top: -12px; left: clamp(24px, 2.4vw, 40px);
  width: 56px; height: 1px; background: var(--olive);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 520ms var(--ease);
}
.service__top { display: flex; align-items: flex-start; justify-content: space-between; }
.service__index {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; color: var(--slate);
  font-variant-numeric: tabular-nums;
  padding-top: 6px;
}
.service__title {
  margin-top: clamp(44px, 4.4vw, 64px);
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(26px, 1.25rem + 0.6vw, 31px);
  line-height: 1.15; letter-spacing: -0.012em; color: var(--ink);
}
.service__text {
  margin-top: 14px; max-width: 22em;
  font-size: 17px; line-height: 1.6; color: var(--slate);
  text-wrap: pretty;
}
@media (hover: hover) {
  .service:hover {
    transform: translateY(-2px);
    background: rgba(233, 235, 223, 0.42);
  }
  .service:hover::after { transform: scaleX(1); }
  .service:hover .icon-tile { background: var(--olive); color: var(--cream); }
  .service:hover .service__index { color: var(--olive); }
}

/* ---------- Why Origin ---------- */
.why { padding-top: 0; padding-bottom: clamp(80px, 8.5vw, 136px); }
.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr);
  gap: 32px clamp(40px, 6vw, 104px);
  padding-top: clamp(64px, 7vw, 112px);
  border-top: 1px solid var(--line);
}
.why__eyebrow { align-self: start; padding-top: 20px; }
.why__statement {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(2rem, 1.3rem + 2.2vw, 3.35rem);
  line-height: 1.13; letter-spacing: -0.02em; color: var(--ink);
  text-wrap: pretty;
  max-width: 20em;
}
.why__soft { color: var(--slate); }
.principles {
  grid-column: 2;
  margin-top: clamp(36px, 3.6vw, 52px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px clamp(24px, 3vw, 48px);
}
.principles li { padding-top: 22px; border-top: 1px solid var(--line-strong); }
.principles h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 600; letter-spacing: 0; color: var(--ink); line-height: 1.35;
}
.principles h3::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); flex: none; }
.principles p { margin-top: 10px; font-size: 16.5px; line-height: 1.6; color: var(--slate); max-width: 21em; text-wrap: pretty; }

/* ---------- Wellness ---------- */
.wellness { padding-inline: clamp(12px, 1.8vw, 28px); }
.wellness__panel {
  background: var(--mist);
  border-radius: var(--radius-lg);
  padding-block: clamp(72px, 9vw, 144px);
  position: relative; overflow: hidden;
}
.wellness__panel::before {
  /* very soft lift of light across the panel */
  content: ""; position: absolute; inset: -30% 40% 30% -20%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.wellness__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}
.wellness__media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius) var(--origin-curve) var(--radius) var(--radius);
  box-shadow: 0 50px 90px -60px rgba(38, 43, 31, 0.45);
  background: var(--mist-deep);
}
.wellness__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  transition: transform 650ms var(--ease);
}
@media (hover: hover) {
  .wellness__media:hover img { transform: scale(1.025); }
}
.wellness__intro {
  margin-top: 26px; max-width: 27em;
  font-size: 18.5px; line-height: 1.62; color: var(--slate);
  text-wrap: pretty;
}
.themes { margin-top: 44px; border-top: 1px solid var(--line-strong); }
.theme {
  position: relative;
  display: grid; grid-template-columns: 44px 1fr; gap: 20px; align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-strong);
}
.theme::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--olive);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 560ms var(--ease);
}
.theme__icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--olive);
  transition: background-color 320ms var(--ease), color 320ms var(--ease);
}
.theme__icon .icon { width: 21px; height: 21px; stroke-width: 1.6; }
.theme > div { transition: transform 420ms var(--ease); }
.theme h3 { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: 0; line-height: 1.4; }
.theme p { margin-top: 3px; font-size: 16px; color: var(--slate); line-height: 1.55; text-wrap: pretty; }
@media (hover: hover) {
  .theme:hover::after { transform: scaleX(1); }
  .theme:hover .theme__icon { background: var(--olive); color: var(--cream); }
  .theme:hover > div { transform: translateX(3px); }
}
.wellness .text-link { margin-top: 30px; }

/* ---------- Final CTA ---------- */
.cta { padding: var(--section) clamp(12px, 1.8vw, 28px) clamp(12px, 1.8vw, 28px); }
.cta__panel {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--night);
  border-radius: var(--radius-lg);
  padding: clamp(88px, 10vw, 160px) var(--gutter);
  color: var(--cream);
  text-align: center;
}
.cta__content { position: relative; max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.cta__title {
  margin-top: 28px;
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(2.5rem, 1.5rem + 3.3vw, 4.75rem);
  line-height: 1.03; letter-spacing: -0.026em;
  color: var(--cream);
  text-wrap: balance;
}
.cta__title .stop { color: var(--sage-soft); }
.cta__text {
  margin-top: 22px; font-size: 19px; line-height: 1.6;
  color: rgba(246, 244, 236, 0.86);
}
.cta .btn { margin-top: 48px; min-height: 60px; padding: 0 32px 0 28px; font-size: 16.5px; }

/* Concentric rings echoing the logo's dot — centred on the content, fading out */
.cta__geometry {
  position: absolute; z-index: -1;
  left: 50%; top: 50%;
  width: min(1240px, 150vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, rgba(0, 0, 0, 0.5) 70%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 30%, rgba(0, 0, 0, 0.5) 70%, transparent 100%);
}
.cta__geometry span {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(246, 244, 236, 0.075);
}
.cta__geometry span:nth-child(2) { inset: 14%; }
.cta__geometry span:nth-child(3) { inset: 27%; }
.cta__geometry span:nth-child(4) { inset: 40%; border-color: rgba(246, 244, 236, 0.05); background: radial-gradient(closest-side, rgba(195, 199, 172, 0.05), rgba(195, 199, 172, 0)); }
.cta__glow {
  position: absolute; z-index: -1; left: 50%; top: 0;
  width: 80%; height: 70%;
  transform: translate(-50%, -30%);
  background: radial-gradient(closest-side, rgba(203, 214, 182, 0.12), rgba(203, 214, 182, 0));
  filter: blur(60px);
  pointer-events: none;
}

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(48px, 5vw, 72px); }
.site-footer__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.brand--footer img { height: 46px; }
.footer-nav { display: flex; gap: clamp(24px, 3vw, 40px); }
.footer-nav a {
  display: inline-block; padding: 10px 0;
  min-height: 44px; display: inline-flex; align-items: center; padding: 0;
  font-size: 15px; font-weight: 500; color: var(--text);
  transition: color var(--t-fast) var(--ease);
}
.footer-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.site-footer__legal { justify-self: end; font-size: 14px; color: var(--slate); }

/* ---------- Prototype modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  padding: 20px;
  visibility: hidden; opacity: 0;
  transition: opacity 280ms var(--ease), visibility 0s linear 280ms;
}
.modal:target,
.modal.is-open {
  visibility: visible; opacity: 1;
  transition: opacity 280ms var(--ease), visibility 0s;
}
.modal__scrim {
  position: absolute; inset: 0;
  background: rgba(38, 43, 31, 0.38);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.modal__card {
  position: relative;
  width: min(460px, 100%);
  padding: 40px 36px 36px;
  border-radius: 24px;
  background: var(--canvas);
  box-shadow: 0 40px 90px -40px rgba(20, 24, 16, 0.55);
  display: flex; flex-direction: column; align-items: flex-start;
  transform: translateY(12px) scale(0.98);
  transition: transform 420ms var(--ease);
}
.modal:target .modal__card,
.modal.is-open .modal__card { transform: none; }
.modal__tag {
  position: absolute; top: 24px; right: 24px;
  padding: 6px 10px; border-radius: 8px;
  background: var(--mist);
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive);
}
.modal__title {
  margin-top: 28px;
  font-family: var(--font-serif); font-weight: 300;
  font-size: 34px; line-height: 1.1; letter-spacing: -0.018em; color: var(--ink);
}
.modal__text { margin-top: 14px; font-size: 16px; line-height: 1.62; color: var(--slate); }
.modal .btn { margin-top: 32px; }
body.has-modal { overflow: hidden; }

/* ---------- Scroll reveal (JS-enhanced only; content is visible without JS) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 760ms var(--ease) var(--d, 0ms),
    transform 860ms var(--ease) var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* services keep their hover transform transition after reveal */
.js .service[data-reveal].is-in {
  transition:
    opacity 760ms var(--ease) var(--d, 0ms),
    transform 380ms var(--ease),
    background-color 380ms var(--ease),
    border-color 380ms var(--ease),
    box-shadow 380ms var(--ease);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .site-nav ul { gap: 28px; }
  .hero__label { left: -20px; }
}

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 48px; }
  .hero__title { font-size: clamp(3rem, 1rem + 5.4vw, 4.75rem); }
  .why__grid { grid-template-columns: 1fr; }
  .principles { grid-column: 1; }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .site-header__inner { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .js .menu-toggle { display: grid; }
  .brand img { height: 44px; }

  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__title { font-size: clamp(3rem, 1.4rem + 6.4vw, 4.5rem); max-width: none; }
  .hero__media { justify-self: end; width: min(100%, 560px); max-width: none; padding-right: 22px; }
  .hero__frame { aspect-ratio: 5 / 5.6; }
  .hero__glow { inset: -10% -10% -10% -10%; filter: blur(80px); }
  .hero__label { left: 16px; bottom: 20px; font-size: 17px; padding: 14px 20px 14px 16px; }

  .section-head { grid-template-columns: 1fr; }
  .br-desk { display: none; }

  .service-list { grid-template-columns: 1fr; gap: 0; margin-inline: 0; padding-top: 0; border-top: 1px solid var(--line); }
  .service-list::before { left: 0; right: 0; }
  .service {
    display: grid; grid-template-columns: 52px 1fr; column-gap: 24px;
    padding: 32px 0; border-radius: 0;
    border: 0; border-bottom: 1px solid var(--line);
  }
  .service + .service::before { display: none; }
  .service__top { grid-row: 1 / span 2; flex-direction: column; gap: 14px; }
  .service__index { padding-left: 2px; }
  .service__title { margin-top: 4px; }
  .service__text { margin-top: 8px; }
  .service:hover { transform: none; background: none; }

  .principles { grid-template-columns: 1fr; gap: 0; margin-top: 12px; }
  .why__grid { padding-top: 64px; row-gap: 24px; }
  .principles li { padding-block: 20px; }

  .wellness__grid { grid-template-columns: 1fr; gap: 48px; }
  .wellness__media { aspect-ratio: 5 / 5.4; }

  .site-footer__inner { grid-template-columns: 1fr; justify-items: start; gap: 28px; }
  .site-footer__legal { justify-self: start; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .btn__label-full { display: none; }
  .btn__label-short { display: inline; }
  .btn--header { min-height: 44px; padding: 0 16px; font-size: 14px; }
  .btn--header .icon { width: 17px; height: 17px; }

  .eyebrow { font-size: 11.5px; letter-spacing: 0.18em; }
  .hero__title { margin-top: 24px; font-size: clamp(2.9rem, 1.2rem + 8.2vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; }
  .hero__lede { margin-top: 22px; }
  .hero__actions { margin-top: 32px; flex-direction: column; align-items: stretch; gap: 8px; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .text-link { align-self: center; }
  .hero__media { justify-self: stretch; width: 100%; padding-right: 14px; }
  .hero__outline { transform: translate(14px, 14px); }
  .hero__frame { aspect-ratio: 4 / 4.6; }

  .section-title { margin-top: 22px; }
  .section-intro, .wellness__intro { font-size: 17px; }
  .service { grid-template-columns: 1fr; row-gap: 0; padding: 30px 0 32px; }
  .service::after { display: none; }
  .service__title { margin-top: 22px; }
  .service__top { grid-row: auto; flex-direction: row; justify-content: space-between; align-items: center; }

  .why__statement { font-size: clamp(1.85rem, 1rem + 4vw, 2.3rem); }

  .wellness__panel { border-radius: 24px; }
  .wellness__media { aspect-ratio: 4 / 4.4; }
  .themes { margin-top: 36px; }
  .theme { grid-template-columns: 40px 1fr; gap: 16px; }
  .theme__icon { width: 40px; height: 40px; border-radius: 12px; }
  .theme p { font-size: 15.5px; }

  .cta__panel { border-radius: 24px; padding-block: 80px; }
  .cta__title { font-size: clamp(2.3rem, 1.1rem + 6vw, 2.9rem); }
  .cta__title .nowrap { white-space: normal; }
  .cta .btn { width: 100%; }
  .cta__geometry { width: 210vw; }

  .footer-nav { flex-wrap: wrap; gap: 4px 28px; }
  .modal__card { padding: 36px 24px 24px; }
}

@media (max-width: 380px) {
  .btn--header .icon { display: none; }
  .brand img { height: 40px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__glow { animation: none; }
}

/* ---------- Review mode (?review): highlights placeholder copy for the client ---------- */
.review-mode [data-placeholder] { position: relative; outline: 1px dashed #B0702A; outline-offset: 10px; border-radius: 4px; }
.review-mode [data-placeholder]::before {
  content: attr(data-placeholder);
  position: absolute; top: -32px; right: 0; z-index: 5;
  padding: 3px 8px; border-radius: 6px;
  background: #FFF3E2; color: #7A4612;
  font: 600 11px/1.4 var(--font-sans); letter-spacing: 0.04em; text-transform: uppercase;
}
