/* ── Fonts ── Only the faces in use; a new weight needs its file here or the browser fakes it. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-v21-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-v21-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-v21-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-v21-latin-600italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-sans-3-v19-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/source-sans-3-v19-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/source-sans-3-v19-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-sans-3-v19-latin-italic.woff2') format('woff2');
}

/* ── Custom Properties ── */
:root {
  --color-cream: #F7F5F0;
  --color-sage: #8FAF8A;
  --color-sage-light: #A8C4A3;
  --color-sage-dark: #7A9B75;
  --color-taupe: #C4B9A8;
  --color-taupe-light: #D6CEC1;
  --color-olive: #4A5E46;
  --color-olive-dark: #3C4C39;
  --color-amber: #E8AA14;
  --color-amber-ink: #3D2600;
  --color-amber-hover: #F0BA3D;
  --color-rust: #D74E09;
  --color-slate: #3A5683;
  --color-text: #3D3B37;
  --color-text-light: #6B6760;
  --color-cream-dark: #EDE9E0;

  color-scheme: light;

  /* ── Semantic (themed) tokens ── */
  --surface-page: var(--color-cream);
  --surface-alt: var(--color-cream-dark);
  --surface-warm: #F0ECE3;
  --surface-header: var(--color-cream);
  --surface-drawer: var(--surface-header);
  --veil: var(--color-cream);

  --heading: var(--color-olive);
  --link: var(--color-olive);
  --link-hover: var(--color-sage-dark);
  --accent-marker: var(--color-sage-dark);

  --divider: rgba(196, 185, 168, 0.45);
  --divider-soft: rgba(196, 185, 168, 0.25);
  --divider-fade: linear-gradient(90deg, transparent, var(--divider) 50%, transparent);
  --divider-fade-v: linear-gradient(180deg, transparent, var(--divider) 50%, transparent);
  --divider-fade-soft: linear-gradient(90deg, transparent, var(--divider-soft) 50%, transparent);
  --focus-ring: var(--color-olive);

  --tag-sage-bg: rgba(143, 175, 138, 0.15);
  --tag-sage-fg: var(--color-olive);

  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --font-size-label: 0.875rem;
  --font-size-supporting: 1rem;
  --font-size-body: 1rem;
  --font-size-lede: 1.1875rem;
  --font-size-title: clamp(1.3125rem, 1.15rem + 0.7vw, 1.5625rem);
  --font-size-subheading: clamp(1.6875rem, 1.5rem + 0.9vw, 1.9375rem);
  --font-size-headline: clamp(1.875rem, 3.25vw, 2.625rem);
  --font-size-display: clamp(2.375rem, 4.75vw, 3.375rem);

  --max-width-text: 720px;
  --max-width-wide: 1080px;
  --section-padding: 3rem 2rem;
  --section-padding-mobile: 3rem 1.25rem;

  --radius-pill: 999px;
  --radius-circle: 50%;
  --radius-surface: 8px;
  --radius-focus: 6px;

  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* clip, not hidden: hidden makes the root a scroll container and breaks smooth scroll + sticky. */
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--color-sage-light);
  color: var(--color-olive-dark);
}

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

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--link-hover);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-sage);
  outline-offset: 3px;
  border-radius: var(--radius-focus);
}

.btn:focus-visible,
.cta-pill:focus-visible,
.section-link:focus-visible,
.skip-link:focus-visible {
  border-radius: var(--radius-pill);
}

.btn:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

ul, ol {
  list-style: none;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--heading);
  line-height: 1.25;
  text-wrap: balance;
}

h1 {
  font-size: var(--font-size-display);
  font-weight: 400;
  letter-spacing: -0.01em;
}

h2 {
  font-size: var(--font-size-headline);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: var(--font-size-title);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
  text-wrap: pretty;
}

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

/* ── Utility ── */
.text-center {
  text-align: center;
}

.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: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 1100;
  padding: 0.625rem 1.25rem;
  background-color: var(--color-olive);
  color: var(--color-cream);
  border-radius: var(--radius-pill);
  font-size: var(--font-size-label);
  font-weight: 500;
  transition: top 0.2s var(--ease-out-quart);
}

.skip-link:focus,
.skip-link:hover {
  color: var(--color-cream);
}

.skip-link:focus-visible {
  top: 1rem;
  outline: 2px solid var(--color-cream);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--font-size-supporting);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.btn--primary {
  background-color: var(--color-olive);
  color: var(--color-cream);
}

.btn--primary:hover {
  background-color: var(--color-olive-dark);
  color: var(--color-cream);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 94, 70, 0.2);
}

.btn--outline-light {
  background-color: transparent;
  color: var(--color-cream);
  border: 1.5px solid rgba(247, 245, 240, 0.55);
}

.btn--outline-light:hover {
  background-color: var(--color-cream);
  border-color: var(--color-cream);
  color: var(--color-olive);
  transform: translateY(-1px);
}

/* ── Header / Navigation ── */
.site-header {
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  position: fixed;
  background-color: var(--surface-header);
  /* Set by main.js during scroll lock (scrollbar width). */
  padding-right: var(--sbw, 0px);
  /* Shadow always present, only alpha toggles — adding it re-rasterized the bar's text heavier. */
  box-shadow: 0 1px 8px rgba(74, 94, 70, 0);
  transition: box-shadow 0.3s ease;
}

.site-header--scrolled {
  box-shadow: 0 1px 8px rgba(74, 94, 70, 0.08);
}

.site-header__inner {
  max-width: calc(var(--max-width-wide) + 4rem);
  margin: 0 auto;
  padding: 1rem 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header__logotext {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--heading);
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.site-header__logo:hover {
  opacity: 0.8;
  color: var(--heading);
}

.site-nav {
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  gap: 1.85rem;
  align-items: center;
}

.site-nav__link {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.25s ease;
}

.site-nav__link:hover,
.site-nav__link--active {
  color: var(--heading);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1.85rem;
}

/* ── Theme toggle ── */
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  transition: color 0.25s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--heading);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-focus);
}

.theme-toggle__label {
  display: none;
}

.theme-toggle__icons {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.theme-toggle__icons .ico {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.theme-toggle__disc {
  r: 4px;
  transition: r 0.4s var(--ease-out-quart);
}

.theme-toggle__cutout {
  transform: translate(10px, -10px);
  transition: transform 0.4s var(--ease-out-quart);
}

.theme-toggle__rays {
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.4s var(--ease-out-quart),
              transform 0.4s var(--ease-out-quart);
}

:root[data-theme="dark"] .theme-toggle__disc { r: 8px; }
:root[data-theme="dark"] .theme-toggle__cutout { transform: none; }
:root[data-theme="dark"] .theme-toggle__rays { opacity: 0; transform: scale(0.55); }

@media (prefers-reduced-motion: reduce) {
  .theme-toggle__disc,
  .theme-toggle__cutout,
  .theme-toggle__rays { transition: none; }
}

.site-nav__footer {
  display: none;
}

/* ── Mobile Menu Toggle ── */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--heading);
  font-size: 1.25rem;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  transition: transform 0.3s var(--ease-out-quart),
              opacity 0.2s var(--ease-out-quart),
              background-color 0.2s var(--ease-out-quart);
}

.menu-toggle__icon {
  position: relative;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: '';
  position: absolute;
  left: 0;
}

.menu-toggle__icon::before { top: -7px; }
.menu-toggle__icon::after  { top: 7px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__icon {
  background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero Section ── */
.hero {
  position: relative;
  background-color: var(--color-olive);
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: calc(64px + 4.5rem) 4rem 4.5rem;
  max-width: calc(var(--max-width-wide) + 4rem);
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

@media (max-width: 640px) {
  .hero {
    display: flex;
    align-items: stretch;
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero__inner {
    flex: 1 1 auto;
    width: 100%;
  }
}

.hero__scroll {
  display: none;
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  pointer-events: none;
}

@media (max-width: 640px) {
  .hero__scroll {
    display: flex;
  }
}

.hero__scroll-line {
  display: block;
  position: relative;
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg,
    rgba(247, 245, 240, 0) 0%,
    rgba(247, 245, 240, 0.4) 40%,
    rgba(247, 245, 240, 0) 100%);
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -1px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--color-cream);
  animation: hero-scroll-drift 2.8s var(--ease-out-quart) infinite;
}

@keyframes hero-scroll-drift {
  0%   { transform: translateY(31px); opacity: 0; }
  20%  { opacity: 0.85; }
  70%  { opacity: 0.85; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line::after {
    top: 15px;
    opacity: 0.85;
    animation: none;
  }
}

.hero__content {
  flex: 1;
  max-width: 500px;
}

@media (max-width: 768px) {
  .hero__inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.hero__photo {
  flex: none;
  width: 280px;
  max-width: 52vw;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247, 245, 240, 0.42);
  border-radius: var(--radius-surface);
}

.hero__photo a,
.hero__photo img {
  display: block;
}

.hero__photo a {
  width: 100%;
  height: 100%;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 42px 6px rgba(74, 94, 70, 0.28);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__photo img { transition: none; }
}

.hero h1 {
  font-size: max(2.875rem, var(--font-size-display));
  margin: 0 0 1.5rem;
  color: var(--color-cream);
}

.hero__subtitle {
  font-size: var(--font-size-lede);
  color: rgba(247, 245, 240, 0.92);
  max-width: 500px;
  margin: 0;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.hero__alt {
  position: relative;
  margin: 0;
  padding-left: 1.25rem;
  border-left: 1px solid rgba(247, 245, 240, 0.42);
  font-size: var(--font-size-label);
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: rgba(247, 245, 240, 0.88);
}

.hero__alt span {
  display: block;
  max-width: 18em;
  text-wrap: balance;
  color: var(--color-cream);
}

.hero .hero__cta {
  display: inline-flex;
  flex: none;
}

/* Outranks the later .cta-pill:focus-visible, which would paint olive on olive. */
.hero .hero__cta:focus-visible {
  outline-color: var(--color-cream);
}

@media (max-width: 959px) {
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__alt {
    padding-left: 0;
    border-left: 0;
  }

  .hero__alt span {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .hero__actions {
    align-items: flex-start;
  }
}

/* ── Icons ── */
.ico {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

/* ── Color Accent Utilities ── */
.icon--sage { color: var(--color-sage); }
.icon--amber { color: var(--color-amber); }
.icon--rust { color: var(--color-rust); }

/* ── Section Styles ── */
.section {
  padding: var(--section-padding);
}

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

:where(h1, h2, h3)[id] {
  scroll-margin-top: 6rem;
}

.section__header {
  max-width: var(--max-width-text);
  margin: 0 auto 3rem;
}

/* ── Quiet section link ── */
.section-link {
  display: inline-flex;
  align-items: center;
  font-size: var(--font-size-supporting);
  line-height: 1;
  color: var(--link);
  padding: 0.6875rem 1.375rem;
  border-radius: var(--radius-pill);
  background-color: transparent;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--link) 45%, transparent);
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.section-link:hover,
.section-link:focus-visible {
  background-color: var(--tag-sage-bg);
  color: var(--heading);
  box-shadow: inset 0 0 0 1px var(--color-sage);
}

/* ── Who I Work With (Home) ── */
.aud-pair__head {
  max-width: var(--max-width-text);
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.aud-pair__lede {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.45;
  color: var(--color-text);
  max-width: 50ch;
  margin: 0 auto;
  text-wrap: pretty;
}

.aud-pair__grid {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.aud-pair__item {
  position: relative;
  padding-inline: clamp(1.5rem, 4vw, 3.5rem);
}

.aud-pair__item:first-child {
  padding-left: 0;
}

.aud-pair__item:last-child {
  padding-right: 0;
}

.aud-pair__item + .aud-pair__item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background-image: var(--divider-fade-v);
}

.aud-pair__item h3 {
  position: relative;
  display: inline-block;
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  margin-left: -0.04em;
  margin-bottom: 1.125rem;
  padding-bottom: 0.25rem;
}

.aud-pair__item h3 {
  --draw: 1;
}

.aud-pair__item h3::after {
  clip-path: inset(0 calc((1 - var(--draw)) * 100%) 0 0);
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.2em;
  height: 0.32em;
  background-color: var(--accent-marker);
  opacity: 0.5;
  -webkit-mask: var(--stroke-a) no-repeat 0 0 / 100% 100%;
  mask: var(--stroke-a) no-repeat 0 0 / 100% 100%;
}

.aud-pair__item + .aud-pair__item h3::after {
  -webkit-mask-image: var(--stroke-b);
  mask-image: var(--stroke-b);
}

.aud-pair__item p {
  max-width: 34rem;
  color: var(--color-text-light);
  line-height: 1.75;
  margin-bottom: 1rem;
  text-wrap: pretty;
  hanging-punctuation: first;
}

.aud-pair__item p:last-child {
  margin-bottom: 0;
}

.aud-pair__foot {
  margin-top: 3.5rem;
  text-align: center;
}

@media (max-width: 768px) {
  .aud-pair__grid {
    grid-template-columns: 1fr;
    row-gap: 2.25rem;
    max-width: var(--max-width-text);
  }

  .aud-pair__item {
    padding: 0;
  }

  .aud-pair__item + .aud-pair__item {
    padding-top: 2.25rem;
  }

  .aud-pair__item + .aud-pair__item::before {
    bottom: auto;
    right: 0;
    width: auto;
    height: 1px;
    background-image: var(--divider-fade);
  }

  .aud-pair__foot {
    margin-top: 2.75rem;
  }
}

/* ── Services Index (Home "What I Offer") ── */
.services-index {
  padding: var(--section-padding);
  background-color: var(--surface-alt);
}

.services-index--plain {
  background-color: var(--surface-page);
}

.services-index__inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.services-index__title {
  font-size: var(--font-size-headline);
  line-height: 1.25;
  margin: 0;
}

.services-index__link {
  margin-top: 1.5rem;
}

.services-index__lede {
  margin: 1.25rem 0 0;
  max-width: 38ch;
  color: var(--color-text-light);
}

.services-index__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-index--tags .services-index__inner {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  max-width: var(--max-width-text);
  text-align: center;
}

.services-index--tags .services-index__lede {
  max-width: 96ch;
  margin: 1.25rem auto 0;
}

.modalities {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 40rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: 0.15rem;
  font-family: var(--font-heading);
  font-size: clamp(1.3125rem, 1.15rem + 0.6vw, 1.5625rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--heading);
}

.modalities li {
  display: inline-flex;
  align-items: center;
}

.modalities li:not(:last-child)::after {
  content: "";
  flex: none;
  width: 0.24em;
  height: 0.24em;
  margin: 0 0.6em;
  border-radius: var(--radius-circle);
  background-color: var(--accent-marker);
}

.modalities li {
  --write: 1;
  opacity: calc(0.5 + var(--write) * 0.5);
}

.services-index__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.125rem;
  align-items: start;
  padding-block: 1.5rem;
}

.services-index__item:first-child {
  padding-top: 0.5rem;
}

.services-index__item + .services-index__item {
  border-top: 1px solid transparent;
  border-image: var(--divider-fade) 1;
}

.services-index__icon {
  font-size: 1.375rem;
  line-height: 1;
  padding-top: 0.3rem;
}

.services-index__name {
  font-size: var(--font-size-title);
  margin: 0 0 0.375rem;
}

.services-index__desc {
  max-width: 46ch;
  text-wrap: pretty;
  font-size: var(--font-size-body);
  line-height: 1.65;
  color: var(--color-text-light);
  margin: 0;
}

@media (max-width: 768px) {
  .services-index__inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .services-index:not(.services-index--tags) .services-index__head {
    display: contents;
  }

  .services-index:not(.services-index--tags) .services-index__title {
    text-align: center;
  }

  .services-index:not(.services-index--tags) .services-index__lede {
    text-align: center;
    margin: 0 auto;
    max-width: 60ch;
  }

  .services-index:not(.services-index--tags) .services-index__main {
    margin-top: 0.75rem;
  }

  .services-index__link {
    order: 1;
    margin: 0.75rem auto 0;
  }
}

/* ── CTA Banner ── */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: var(--section-padding);
  text-align: center;
  background-color: var(--color-olive);
  color: rgba(247, 245, 240, 0.9);
}

.cta-banner__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cta-banner > :not(.cta-banner__canvas) {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--color-cream);
}

.cta-banner p {
  color: rgba(247, 245, 240, 0.88);
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: var(--font-size-body);
}

.cta-banner .btn--primary {
  background-color: transparent;
  color: var(--color-cream);
  border: 1.5px solid rgba(247, 245, 240, 0.55);
}

.cta-banner .btn--primary:hover {
  background-color: var(--color-cream);
  border-color: var(--color-cream);
  color: var(--color-olive);
  box-shadow: none;
}

.cta-banner .btn:focus-visible {
  outline-color: var(--color-cream);
}

/* ── About Page ── */
.about-intro-split {
  max-width: 46rem;
  margin: 0 auto;
}

.about-intro-split__text {
  display: flow-root;
  color: var(--color-text);
}

.about-intro-split__text p {
  font-size: 1.0625rem;
}

.about-intro-split__photo {
  float: right;
  width: min(42%, 300px);
  margin: 0.4rem 0 1.25rem 2.25rem;
  shape-outside: margin-box;
  overflow: hidden;
  border: 1px solid var(--divider);
  border-radius: var(--radius-surface);
}

.about-intro-split__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.about-intro-split__text .about-intro-split__coda {
  clear: both;
  padding-top: 0.75rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--heading);
}

@media (max-width: 480px) {
  .about-intro-split__text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .about-intro-split__text > p,
  .about-intro-split__text .about-intro-split__coda {
    margin: 0;
    padding-top: 0;
  }

  .about-intro-split__text .about-intro-split__coda {
    position: relative;
    z-index: 1;
  }

  .about-intro-split__photo {
    float: none;
    order: 1;
    width: auto;
    height: 52svh;
    margin: -3rem -1.25rem -3rem;
    border: 0;
    border-radius: 0;
    -webkit-mask-image: linear-gradient(0deg, #000 55%, transparent);
    mask-image: linear-gradient(0deg, #000 55%, transparent);
  }

  .about-intro-split__photo img {
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
  }
}

.about-intro {
  max-width: var(--max-width-text);
  margin: 0 auto;
}

.about-intro > h2 {
  text-align: center;
}

.about-intro p {
  color: var(--color-text-light);
}

.about-intro p > .ico {
  margin-right: 0.4em;
  color: var(--accent-marker);
}

.values-list {
  max-width: var(--max-width-text);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.values-list__item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.values-list__item + .values-list__item {
  padding-top: 1.75rem;
  border-top: 1px solid transparent;
  border-image: var(--divider-fade) 1;
}

.values-list__marker {
  flex-shrink: 0;
  color: var(--accent-marker);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  height: calc(var(--font-size-title) * 1.25);
}

.values-list__item h3 {
  font-size: var(--font-size-title);
  margin-bottom: 0.375rem;
}

.values-list__item p {
  font-size: var(--font-size-body);
  color: var(--color-text-light);
}

.values-list__item p a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Good to Know (Book) ── */
.faq__list {
  max-width: var(--max-width-text);
  margin: 0 auto;
}

.faq__item + .faq__item {
  border-top: 1px solid var(--divider);
}

.faq__item h3 {
  margin: 0;
  padding: 1.125rem 0.25rem 0.5rem;
  font-size: var(--font-size-title);
}

.faq__body {
  padding: 0 0.25rem 1.5rem;
}

.faq__body p {
  margin: 0;
  color: var(--color-text-light);
}

.faq__body a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Services Page ── */
.service-detail {
  max-width: var(--max-width-text);
  margin: 0 auto;
}

.service-detail + .service-detail {
  margin-top: 4rem;
}

.service-detail__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-detail__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.service-detail__head .service-detail__icon {
  margin: 0;
  line-height: 0;
  translate: 0 -0.20em;
}

.service-detail__head h2 {
  margin: 0;
}

.service-detail > p {
  margin-bottom: 0;
}

.service-detail > .concerns {
  margin-top: 1.75rem;
}

.service-detail h2 {
  font-size: var(--font-size-subheading);
  margin-bottom: 1rem;
}

.service-detail p {
  font-size: var(--font-size-body);
  color: var(--color-text-light);
}

:root {
  --stroke-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6.5 C 22 3.5, 45 8, 64 5.2 S 90 4.2, 98 6' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
  --stroke-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M2 5 C 18 7.5, 40 3.2, 62 5.8 S 88 7, 98 4.4' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
  --stroke-c: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C 25 4.2, 50 6.8, 75 4.6 S 94 5.6, 98 5.2' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* main.js tweens --draw 0 → 1; the default 1 leaves strokes drawn without GSAP / reduced motion. */
.concerns {
  --concern-accent: var(--accent-marker);
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.6rem;
}

.concerns--amber { --concern-accent: var(--color-amber); }
.concerns--rust { --concern-accent: var(--color-rust); }

.concerns li {
  position: relative;
  padding-bottom: 0.4rem;
  font-weight: 500;
  color: var(--color-text);
}

.concerns li {
  --draw: 1;
}

.concerns li::after {
  clip-path: inset(0 calc((1 - var(--draw)) * 100%) 0 0);
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: 0;
  height: 0.45rem;
  background-color: var(--concern-accent);
  -webkit-mask: var(--stroke-a) no-repeat 0 0 / 100% 100%;
  mask: var(--stroke-a) no-repeat 0 0 / 100% 100%;
}

.concerns li:nth-child(3n+2)::after {
  -webkit-mask-image: var(--stroke-b);
  mask-image: var(--stroke-b);
}

.concerns li:nth-child(3n)::after {
  -webkit-mask-image: var(--stroke-c);
  mask-image: var(--stroke-c);
}

.reg-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 2.5rem;
  padding: 0.35em 1em 0.35em 0.8em;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--heading) 28%, transparent);
  line-height: 1.2;
  text-decoration: none;
  transition: border-color 0.25s var(--ease-out-quart), background-color 0.25s var(--ease-out-quart);
}

.reg-badge > .ico {
  flex: none;
  width: 1.15em;
  height: 1.15em;
  color: var(--accent-marker);
}

.reg-badge__label {
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

.reg-badge strong {
  font-weight: 600;
  color: var(--heading);
  font-variant-numeric: lining-nums;
}

.reg-badge:hover,
.reg-badge:focus-visible {
  border-color: var(--accent-marker);
  background-color: var(--tag-sage-bg);
}

.reg-badge:focus-visible {
  border-radius: var(--radius-pill);
}

@media (prefers-reduced-motion: reduce) {
  .reg-badge {
    transition: none;
  }
}

.reg-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

/* ── Fee table ── */
.fee-table,
.fee-table + p {
  max-width: 32rem;
  margin-inline: auto;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.fee-table :is(th, td) {
  padding: 1rem 0;
  vertical-align: baseline;
}

.fee-table thead tr {
  border-bottom: 1px solid var(--color-sage);
}

.fee-table tbody tr {
  border-bottom: 1px solid var(--divider);
}

.fee-table th[scope="col"],
.fee-table tbody td {
  width: 1%;
  padding-left: clamp(1.25rem, 6vw, 3.5rem);
  text-align: right;
  white-space: nowrap;
}

.fee-table th[scope="col"] {
  padding-block: 0 0.625rem;
  font-size: var(--font-size-label);
  font-weight: 400;
  color: var(--color-text-light);
}

.fee-table tbody th {
  text-align: left;
  font-family: var(--font-heading);
  font-size: var(--font-size-lede);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text);
}

.fee-table tbody td {
  font-weight: 600;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--color-text);
}

.fee-table sup {
  line-height: 0;
  font-weight: 400;
  color: var(--color-text-light);
}

.fee-table tfoot td {
  padding-block: 0.625rem 0;
  font-size: var(--font-size-label);
  color: var(--color-text-light);
}

/* ── Credentials list ── */
.cred-list__heading {
  margin-top: 1.75rem;
}

.cred-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.cred-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.cred-list__item .ico {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin-top: 0.20em;
  color: var(--tag-sage-fg);
}

.cred-list__name {
  color: var(--color-text);
  font-weight: 500;
  display: block;
  line-height: 1.5;
}

.cred-list__meta {
  display: block;
  margin-top: 0.15rem;
  font-size: var(--font-size-label);
  color: var(--color-text-light);
}

/* ── Session Format: In-Person & Virtual ── */
.format-options {
  max-width: var(--max-width-text);
  margin: 0 auto;
  display: grid;
  place-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(2rem, 6vw, 4rem);
}

.format-divider {
  align-self: stretch;
  width: 1px;
  background-image: var(--divider-fade-v);
}

.format-option {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.format-option .service-detail__icon {
  font-size: 2.5rem;
}

.format-option h3 {
  font-size: var(--font-size-title);
  text-align: center;
  margin-bottom: 0.5rem;
}

.format-option p {
  color: var(--color-text-light);
  max-width: 240px;
  text-align: center;
}

@media (max-width: 640px) {
  .format-options {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .format-divider {
    align-self: center;
    justify-self: stretch;
    width: auto;
    height: 1px;
    background-image: var(--divider-fade);
  }
}

/* ── Book Page: the hand-off ── */
.booking {
  --hand-w: min(520px, calc((100vw - 560px) / 2 + 120px));
  --hand-h: calc(var(--hand-w) * 0.4);
  --cta-offset: -2.75rem;
  --hand-lean: 8px;
  position: relative;
  overflow: hidden;
  padding: clamp(6.5rem, 8vw, 7rem) 2rem clamp(3rem, 5vw, 5rem);
  background-color: var(--surface-page);
}

.booking__hand {
  position: absolute;
  z-index: 0;
  width: var(--hand-w);
  height: var(--hand-h);
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.booking__hand--left {
  left: calc(var(--hand-lean) * -1);
  top: calc(50% + var(--cta-offset) - var(--hand-h) * 0.66);
}

.booking__hand--right {
  right: calc(var(--hand-lean) * -1);
  top: calc(50% + var(--cta-offset) - var(--hand-h) * 0.5);
}

@media (max-width: 768px) {
  .booking__hand,
  .booking__portal {
    display: none;
  }

  .booking {
    padding: clamp(2rem, 6vw, 4rem) 1.25rem clamp(3rem, 5vw, 5rem);
  }
}

@media (min-width: 769px) and (max-width: 1050px) {
  .booking {
    --hand-w: clamp(270px, calc((100vw - 440px) / 2), 330px);
  }

  .booking__stage {
    max-width: 400px;
  }

  .booking__cta {
    font-size: clamp(1.0625rem, 0.7rem + 0.9vw, 1.1875rem);
    padding: 1.125rem 2.25rem;
  }
}

/* ── The stage: portal, button, one supporting line ── */
.booking__stage {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 1rem;
}

/* Positions only; motion lands on children so GSAP and the keyframe never share a transform. */
.booking__portal {
  position: absolute;
  left: 50%;
  top: 0.5rem;
  width: min(320px, 40vw);
  aspect-ratio: 29 / 18;
  transform: translate(-50%, -46%);
  pointer-events: none;
}

.booking__portal-glow {
  position: absolute;
  inset: -4%;
  background: radial-gradient(closest-side at 50% 52%,
    rgba(255, 248, 231, 0.85),
    rgba(252, 242, 219, 0.3) 55%,
    rgba(247, 245, 240, 0) 82%);
  filter: blur(26px);
}

:root[data-theme="dark"] .booking__portal {
  width: min(320px, 40vw);
  aspect-ratio: 29 / 18;
}

:root[data-theme="dark"] .booking__portal-glow {
  inset: 0;
  background: radial-gradient(closest-side at 50% 56%,
    rgba(244, 212, 138, 0.34),
    rgba(233, 174, 30, 0.16) 52%,
    rgba(232, 170, 20, 0) 74%);
  filter: blur(28px);
}

/* After the dark blocks, so it wins in light without out-specifying them. */
@media (min-width: 769px) {
  .booking__portal {
    width: min(560px, 64vw);
    aspect-ratio: 48 / 17;
  }

  .booking__portal-glow {
    background: radial-gradient(ellipse farthest-side at 50% 52%,
      rgba(255, 248, 231, 0.85),
      rgba(252, 242, 219, 0.28) 58%,
      rgba(247, 245, 240, 0) 100%);
  }
}

/* ── The amber booking pill: the one booking action ── */
.cta-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--color-amber-ink);
  text-decoration: none;
  padding: 1.125rem 2.5rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-amber);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-pill:hover,
.cta-pill:focus-visible {
  color: var(--color-amber-ink);
  background-color: var(--color-amber-hover);
  box-shadow:
    0 0 0 5px rgba(232, 170, 20, 0.18),
    0 0 28px rgba(232, 170, 20, 0.4);
}

.cta-pill:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 4px;
}

.cta-pill__arrow {
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
}

.cta-banner .cta-pill:focus-visible {
  outline-color: var(--color-cream);
}

.cta-pill--nav {
  font-size: var(--font-size-supporting);
  gap: 0.45rem;
  padding: 0.6875rem 1.375rem;
}

.cta-pill--nav::after {
  content: "";
  position: absolute;
  inset: -4px 0;
}

.cta-pill--nav:hover,
.cta-pill--nav:focus-visible {
  box-shadow:
    0 0 0 4px rgba(232, 170, 20, 0.16),
    0 0 18px rgba(232, 170, 20, 0.35);
}
.cta-pill--nav:active {
  color: rgba(61, 38, 0, 0.72);
  background-color: var(--color-taupe);
  box-shadow: none;
}

.cta-pill--nav .cta-pill__arrow {
  width: 0.95em;
  height: 0.95em;
}

/* html[data-pill] (set in <head>) carries the last page's look; main.js settles it. .js-scoped. */
.js .cta-pill--nav {
  transition: opacity 0.6s ease-in-out, background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.js[data-pill] .cta-pill--nav {
  transition: opacity 0.6s ease-in-out, background-color 0.6s ease-in-out, color 0.6s ease-in-out, box-shadow 0.6s ease-in-out;
}

.js[data-pill="none"] .cta-pill--nav {
  opacity: 0;
}

@media (min-width: 769px) {
  .js .cta-pill--nav--yield:not(.is-visible),
  .js[data-pill="quiet"] .cta-pill--nav {
    background-color: transparent;
    color: var(--link);
    box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--link) 45%, transparent);
  }

  .js .cta-pill--nav--yield:not(.is-visible):hover,
  .js .cta-pill--nav--yield:not(.is-visible):focus-visible {
    background-color: var(--tag-sage-bg);
    color: var(--heading);
    box-shadow: inset 0 0 0 1.5px var(--color-sage);
  }

  .js[data-pill="amber"] .cta-pill--nav {
    background-color: var(--color-amber);
    color: var(--color-amber-ink);
    box-shadow: none;
  }
}

@media (max-width: 768px) {
  .js .cta-pill--nav--yield:not(.is-visible),
  .js[data-pill="quiet"] .cta-pill--nav {
    opacity: 0;
    pointer-events: none;
  }

  .js[data-pill="amber"] .cta-pill--nav {
    opacity: 1;
    pointer-events: auto;
  }
}

.booking__cta {
  font-size: clamp(1.125rem, 0.8rem + 1vw, 1.3125rem);
  padding: 1.375rem 2.875rem;
}

.booking__meta {
  position: relative;
  margin: 2rem auto 0;
  font-size: var(--font-size-supporting);
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.booking__alt {
  position: relative;
  margin: 0.875rem auto 0;
  font-size: var(--font-size-supporting);
  color: var(--color-text-light);
}

.booking__alt a {
  position: relative;
  color: var(--link);
  text-decoration: none;
}

.booking__alt a::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.3em;
  height: 0.4em;
  background-color: var(--accent-marker);
  -webkit-mask: var(--stroke-a) no-repeat 0 0 / 100% 100%;
  mask: var(--stroke-a) no-repeat 0 0 / 100% 100%;
  opacity: 0.55;
  transition: opacity 0.3s var(--ease-out-quart);
}

.booking__alt a:hover::after,
.booking__alt a:focus-visible::after {
  opacity: 1;
  animation: pencil-draw 0.55s var(--ease-out-expo);
}

@keyframes pencil-draw {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  .booking__alt a::after {
    transition: none;
    animation: none !important;
  }
}

.booking__error {
  margin: 1rem auto 0;
  max-width: 32ch;
  font-size: var(--font-size-supporting);
  color: var(--color-text);
}

.booking__error a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* ── Entrance pre-hide ── main.js restores these if GSAP never arrives. */
.js .booking__hand,
.js .booking__portal-glow,
.js .booking__cta,
.js .booking__meta,
.js .booking__alt {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .js .booking__hand,
  .js .booking__portal-glow,
  .js .booking__cta,
  .js .booking__meta,
  .js .booking__alt {
    opacity: 1;
  }
}

/* ── Click transition ── */
.booking__veil {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--veil);
  clip-path: circle(0px at 50% 50%);
  visibility: hidden;
  pointer-events: none;
}

.booking__veil-note {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--heading);
  opacity: 0;
}

@media (max-width: 640px) {
  .booking__cta {
    padding: 1.2rem 2.3rem;
  }

  .booking__portal {
    width: min(480px, 96vw);
  }
}

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

  .cta-pill {
    transition: none;
  }

  .booking__meta {
    transition: none;
  }

  .booking__veil {
    display: none;
  }
}

.steps-path {
  overflow-x: clip;
}

.steps-path__body {
  position: relative;
  max-width: 52rem;
  margin: 0 auto;
}

.steps-path__line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 10rem;
  height: 100%;
  translate: -50% 0; /* not transform: the reveal tweens that */
  mask-image: linear-gradient(to bottom, transparent 4%, #000 14%, #000 86%, transparent 96%);
  overflow: visible;
  pointer-events: none;
}

.steps-path__line path {
  fill: none;
  stroke-width: 1.5px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.steps-path__line--track path {
  stroke: color-mix(in srgb, var(--heading) 22%, transparent);
}

.steps-path__line--ink path {
  stroke: var(--accent-marker);
}

.steps-path__list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-auto-rows: 1fr;
}

.steps-path__step {
  display: grid;
  grid-template-columns: 1fr 5rem 1fr;
  column-gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0;
}

.steps-path__dot {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: 1rem;
  height: 1rem;
  border-radius: var(--radius-circle);
  border: 1.5px solid var(--accent-marker);
  background-color: var(--accent-marker);
  outline: 6px solid var(--surface-alt);
}

.steps-path__text {
  grid-row: 1;
  grid-column: 1;
  justify-self: end;
  max-width: 20rem;
  text-align: right;
}

.steps-path__step:nth-child(even) .steps-path__text {
  grid-column: 3;
  justify-self: start;
  text-align: left;
}

.steps-path__text h3 {
  font-size: var(--font-size-subheading);
  margin: 0 0 0.5rem;
  text-wrap: balance;
}

.steps-path__text p {
  margin: 0;
  color: var(--color-text-light);
}

@media (max-width: 640px) {
  .steps-path__line {
    left: 1.25rem;
    width: 2rem;
  }
  .steps-path__step {
    grid-template-columns: 2.5rem 1fr;
    column-gap: 1rem;
    padding: 1.5rem 0;
  }
  .steps-path__dot {
    grid-column: 1;
  }
  .steps-path__text,
  .steps-path__step:nth-child(even) .steps-path__text {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }
}

.steps-path__line--ink {
  --draw: 1;
  clip-path: inset(0 0 calc((1 - var(--draw)) * 100%) 0);
}

.steps-path__dot {
  --fill: 1;
  background-color: color-mix(in srgb, var(--accent-marker) calc(var(--fill) * 100%), var(--surface-alt));
  scale: calc(0.7 + var(--fill) * 0.3);
}

/* ── Page Header (inner pages) ── */
.page-header {
  padding: 6rem 2rem 0.5rem;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  font-size: var(--font-size-lede);
  color: var(--color-text-light);
  max-width: 540px;
  margin: 0 auto;
}

/* ── Legal pages (Privacy) ── */
.legal {
  max-width: var(--max-width-text);
  margin: 0 auto;
}

.legal__block {
  margin-top: 3rem;
}

.legal__block > h2 {
  font-size: var(--font-size-title);
  margin-bottom: 1rem;
}

.legal p,
.legal li {
  color: var(--color-text-light);
}

.legal ul {
  list-style: disc;
  padding-left: 1.35rem;
  margin-bottom: 1.25rem;
}

.legal li {
  line-height: 1.75;
}

.legal li + li {
  margin-top: 0.55rem;
}

.legal li::marker {
  color: var(--accent-marker);
}

.legal p > a,
.legal li > a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal strong {
  font-weight: 600;
  color: var(--color-text);
}

/* ── Footer ── */
.site-footer {
  padding: 3.5rem 2rem 2.5rem;
  border-top: 1px solid transparent;
  border-image: var(--divider-fade-soft) 1;
}

.site-footer__inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.site-footer__brand {
  font-family: var(--font-heading);
  font-size: var(--font-size-title);
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.5rem;
}

.site-footer__contact {
  font-size: var(--font-size-supporting);
  color: var(--color-text-light);
  line-height: 1.8;
}

.site-footer__contact a {
  color: var(--color-text-light);
}

.site-footer__contact a:hover {
  color: var(--heading);
}

.site-footer__nav {
  display: flex;
  gap: 1.75rem;
}

.site-footer__nav a {
  font-size: var(--font-size-supporting);
  color: var(--color-text-light);
}

.site-footer__nav a:hover {
  color: var(--heading);
}

/* ── Crisis line ── */
.site-footer__crisis {
  max-width: var(--max-width-wide);
  margin: 2rem auto 0;
  font-size: var(--font-size-supporting);
  line-height: 1.7;
  color: var(--color-text-light);
}

.site-footer__crisis strong {
  font-weight: 600;
  color: var(--color-text);
}

.site-footer__crisis a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__crisis a:hover {
  color: var(--heading);
}

.site-footer__bottom {
  max-width: var(--max-width-wide);
  margin: 1.75rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid transparent;
  border-image: var(--divider-fade-soft) 1;
  text-align: center;
  font-size: var(--font-size-label);
  color: var(--color-text-light);
}

.site-footer__bottom a {
  color: var(--color-text-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__bottom a:hover {
  color: var(--heading);
}

.site-footer__sep {
  padding: 0 0.35rem;
  color: var(--divider);
}

@media (max-width: 420px) {
  .site-footer__bottom a { display: block; margin-top: 0.5rem; }
  .site-footer__sep { display: none; }
}

/* ── GSAP scroll choreography ── */
.js [data-reveal],
.js [data-reveal-group] > * {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js [data-reveal-group] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Hero entrance ── */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-rise-photo {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.js .hero h1,
.js .hero__subtitle,
.js .hero__cta {
  opacity: 0;
  animation: hero-rise 0.8s var(--ease-out-quart) forwards;
}

.js .hero__photo {
  opacity: 0;
  animation: hero-rise-photo 0.9s var(--ease-out-quart) forwards;
}

.js .hero__scroll {
  opacity: 0;
  animation: hero-scroll-in 0.8s var(--ease-out-quart) 1.1s forwards;
}

@keyframes hero-scroll-in {
  to { opacity: 1; }
}

.js .hero__alt {
  opacity: 0;
  animation: hero-rise 0.8s var(--ease-out-quart) forwards;
}

.js .hero h1        { animation-delay: 0.28s; }
.js .hero__subtitle { animation-delay: 0.42s; }
.js .hero__cta      { animation-delay: 0.56s; }
.js .hero__alt      { animation-delay: 0.7s; }
.js .hero__photo    { animation-delay: 0.34s; }

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .js .hero h1,
  .js .hero__subtitle,
  .js .hero__cta,
  .js .hero__alt,
  .js .hero__photo,
  .js .hero__scroll,
  .js .site-nav__link,
  .js .site-nav__footer {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .menu-toggle__icon,
  .menu-toggle__icon::before,
  .menu-toggle__icon::after,
  .menu-overlay,
  .site-nav {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  :root {
    --section-padding: var(--section-padding-mobile);
  }

  .site-header__inner {
    padding: 0.875rem 1.25rem;
  }

  .site-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .site-header__actions {
    gap: 0.75rem;
    margin-left: 0;
  }

  /* Explicit position, or the static button paints under the positioned dropdown. */
  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
    margin-right: -11px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    max-height: calc(100dvh - 100%);
    overflow-y: auto;
    padding: 0.25rem calc(1.25rem + var(--sbw, 0px)) 0.5rem 1.25rem;
    background-color: var(--surface-drawer);
    border-bottom: 1px solid var(--divider-soft);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 0.3s var(--ease-out-quart), visibility 0s linear 0.3s;
    z-index: 999;
  }

  .site-nav--open {
    clip-path: inset(0);
    visibility: visible;
    transition: clip-path 0.45s var(--ease-out-quart), visibility 0s;
  }

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

  .site-nav__list li {
    display: flex;
    align-items: center;
    min-height: 48px;
    overflow: hidden;
  }

  .site-nav__link::before {
    content: '';
    position: absolute;
    inset: -1rem -100vw -1rem 0;
  }

  .site-nav__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
  }

  .site-nav__contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    font-size: var(--font-size-label);
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.25s ease;
  }

  .site-nav__contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .site-nav__contact:hover,
  .site-nav__contact:focus-visible {
    color: var(--heading);
  }

  /* `li.` is load-bearing: `.site-nav__list li` is (0,1,1) and outranks a lone class. */
  .site-nav__list li.site-nav__item--toggle,
  .theme-toggle--nav {
    display: none;
  }

  .theme-toggle--drawer {
    margin-right: -10px;
    color: var(--color-text-light);
  }

  .js .site-nav__link,
  .js .site-nav__footer {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.35s var(--ease-out-quart),
                transform 0.35s var(--ease-out-quart),
                color 0.25s ease;
  }

  .js .site-nav--open .site-nav__link,
  .js .site-nav--open .site-nav__footer {
    opacity: 1;
    transform: none;
  }

  /* Children 2–4: the first <li> is the theme toggle — hidden, still counted. */
  .js .site-nav--open .site-nav__list li:nth-child(2) .site-nav__link { transition-delay: 0.10s; }
  .js .site-nav--open .site-nav__list li:nth-child(3) .site-nav__link { transition-delay: 0.16s; }
  .js .site-nav--open .site-nav__list li:nth-child(4) .site-nav__link { transition-delay: 0.22s; }
  .js .site-nav--open .site-nav__footer { transition-delay: 0.28s; }

  /* GSAP drives the panel, scrim and rows inline; CSS transitions would double-tween. */
  .site-nav--gsap .site-nav__link,
  .site-nav--gsap .site-nav__footer {
    transition: color 0.25s ease;
  }

  .site-nav.site-nav--gsap,
  .site-nav--gsap ~ .menu-overlay {
    transition: none;
  }

  .menu-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease-out-quart), visibility 0.3s var(--ease-out-quart);
    z-index: 998;
  }

  .menu-overlay--visible {
    opacity: 1;
    visibility: visible;
  }

  .hero__photo {
    max-width: 38vw;
  }

  .hero__subtitle {
    font-size: var(--font-size-lede);
  }

  .site-footer__inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .site-footer__nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .page-header {
    padding-inline: 1.25rem;
  }
}

@media (max-width: 640px) {
  .hero__inner {
    padding: 0 1.5rem 5rem;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
  }

  .hero__content {
    flex: none;
  }

  .hero__photo {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
    height: 52svh;
    aspect-ratio: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
    mask-image: linear-gradient(180deg, #000 55%, transparent);
  }

  .hero__photo::after {
    display: none;
  }

  .hero__photo img {
    object-position: 50% 18%;
  }

  .hero h1 {
    margin-bottom: 1rem;
  }

  .js .hero__photo    { animation-delay: 0.2s; }
  .js .hero h1        { animation-delay: 0.36s; }
  .js .hero__subtitle { animation-delay: 0.5s; }
  .js .hero__cta      { animation-delay: 0.64s; }
  .js .hero__alt      { animation-delay: 0.78s; }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .cta-pill--nav {
    padding-left: 1.125rem;
    padding-right: 1.125rem;
  }

  .hero__subtitle {
    font-size: var(--font-size-body);
  }

  .hero__actions {
    margin-top: 1.5rem;
    gap: 1rem;
  }
}

@media (max-width: 480px) and (min-height: 680px) {
  .hero__subtitle {
    font-size: var(--font-size-lede);
  }

  .hero__actions {
    margin-top: 2.5rem;
  }
}

/* ── Page transition ── */
.page-veil {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: var(--veil);
  opacity: 0;
  pointer-events: none;
}

.js .page-veil {
  opacity: 1;
  animation: pageVeilLift 0.2s var(--ease-out-quart) forwards;
}

@keyframes pageVeilLift {
  to { opacity: 0; }
}

/* Must swallow clicks while washing in, or a second click hits a leaving page. */
.page-veil--leaving {
  pointer-events: auto;
}

.page-veil--leaving ~ .site-header {
  box-shadow: 0 1px 8px rgba(74, 94, 70, 0);
}

@media (prefers-reduced-motion: reduce) {
  .js .page-veil {
    display: none;
  }
}

/* ══ Dark theme ══ data-theme is written by the head script before first paint. */
:root[data-theme="dark"] {
  color-scheme: dark;

  --surface-page: #13160F;
  --surface-alt: #191D14;
  --surface-warm: #1D2016;
  --surface-header: #13160F;
  --veil: #13160F;

  --color-text: #E6E2D6;
  --color-text-light: #ABA898;

  --heading: #DCE7D6;
  --link: #A8C4A3;
  --link-hover: #C6DBC0;
  --accent-marker: #A8C4A3;

  --divider: rgba(203, 193, 173, 0.14);
  --divider-soft: rgba(203, 193, 173, 0.09);
  --focus-ring: #A8C4A3;

  --tag-sage-bg: rgba(143, 175, 138, 0.2);
  --tag-sage-fg: #A8C4A3;
}

/* ══ Long-string resilience ══ */
.site-footer__contact,
.site-nav__contact,
.site-footer__crisis {
  overflow-wrap: break-word;
}

/* ══ Forced colors ══ */
@media (forced-colors: active) {
  .hero__canvas,
  .cta-banner__canvas,
  .booking__portal {
    display: none;
  }

  .cta-pill {
    border: 2px solid ButtonText;
  }
  .cta-pill:hover,
  .cta-pill:focus-visible {
    border-color: Highlight;
  }

  .btn--outline-light {
    border-color: ButtonText;
  }

  a:focus-visible,
  button:focus-visible,
  .btn:focus-visible,
  .cta-pill:focus-visible,
  .skip-link:focus-visible {
    outline-color: Highlight;
  }
}

/* ══ Print ══ */
@media print {
  :root,
  :root[data-theme="dark"] {
    --surface-page: #fff;
    --surface-alt: #fff;
    --surface-warm: #fff;
    --heading: #000;
    --color-text: #000;
    --color-text-light: #222;
    --link: #000;
  }

  body {
    background: #fff;
    color: #000;
  }

  .site-header,
  .menu-overlay,
  .page-veil,
  .booking__veil,
  .hero__canvas,
  .cta-banner__canvas,
  .hero__scroll,
  .booking__hand,
  .booking__portal,
  .theme-toggle,
  .menu-toggle,
  .skip-link {
    display: none !important;
  }

  .hero,
  .cta-banner,
  .booking {
    background: #fff !important;
    color: #000 !important;
  }
  .hero h1,
  .hero__subtitle,
  .cta-banner h2,
  .cta-banner p {
    color: #000 !important;
  }

  .page-header,
  .hero__inner {
    padding-top: 1rem !important;
  }

  /* Pin every reveal target visible, or below-the-fold content prints blank. */
  .js [data-reveal],
  .js [data-reveal-group] > *,
  .js .booking__hand,
  .js .booking__portal-glow,
  .js .booking__cta,
  .js .booking__meta,
  .js .booking__alt,
  .js .hero h1,
  .js .hero__subtitle,
  .js .hero__photo {
    opacity: 1 !important;
    transform: none !important;
  }

  .steps-path__line--ink,
  .steps-path__dot {
    --draw: 1 !important;
    --fill: 1 !important;
  }

  .values-list__item,
  .steps-path__step,
  .service-detail,
  .cred-list__item,
  .site-footer__crisis {
    break-inside: avoid;
  }

  .booking__cta {
    border: 1px solid #000;
  }
  .booking__cta::after {
    content: " — " attr(href);
    font-size: 0.8em;
    font-weight: 400;
  }
}
