/* ==========================================================================
   Purposeful Practices — design system
   Palette + type pulled from the live site so the rebuild stays hers.
     #004524 deep green (body text)   #3F7652 mid green (buttons)
     #575940 olive                    #DDD7CD warm sand
     #C69549 logo gold                Cormorant Garamond display
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  /* greens */
  --forest-900: #061510;
  --forest-800: #0A2318;
  --forest-700: #00381E;
  --forest-600: #004524;   /* hers */
  --forest-500: #1F3A24;
  --moss:       #3F7652;   /* hers */
  --moss-600:   #356244;
  --moss-400:   #6E9A7C;
  --moss-200:   #A9C4B2;

  /* earth */
  --olive:      #575940;   /* hers */
  --olive-400:  #83856B;
  --sand:       #DDD7CD;   /* hers */
  --sand-200:   #EDE8E0;
  --cream:      #F7F3EC;
  --paper:      #FFFDF9;

  /* gold */
  --gold:       #C69549;   /* sampled from her logo */
  --gold-400:   #DDB374;
  --gold-200:   #EFDCBB;

  /* text */
  --ink:        #101A13;
  --ink-2:      #33443A;
  --ink-3:      #5C6B60;
  --on-dark:    #F3F0E8;
  --on-dark-2:  #C3CFC3;

  /* type */
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --step--1: clamp(0.8rem, 0.77rem + 0.16vw, 0.9rem);
  --step-0:  clamp(1rem, 0.95rem + 0.24vw, 1.125rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3.25rem);
  --step-4:  clamp(2.6rem, 1.9rem + 3.4vw, 4.75rem);
  --step-5:  clamp(3.2rem, 2rem + 5.6vw, 7.5rem);

  /* space */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section: clamp(5rem, 10vw, 9.5rem);
  --max: 1440px;
  --measure: 62ch;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --radius: 2px;
  --radius-lg: 4px;

  --nav-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--gold-200); color: var(--forest-600); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- type ---------- */
.display, h1, h2, h3 {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--forest-600);
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.14; }
em, .italic { font-style: italic; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--olive);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: clamp(24px, 4vw, 52px);
  height: 1px;
  background: currentColor;
  opacity: 0.6;
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: clamp(24px, 4vw, 52px);
  height: 1px;
  background: currentColor;
  opacity: 0.6;
  flex: none;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: var(--measure);
  font-weight: 300;
}
.body-lg { font-size: var(--step-0); color: var(--ink-2); max-width: var(--measure); }
.muted { color: var(--ink-3); }
.fineprint { font-size: var(--step--1); color: var(--ink-3); line-height: 1.6; }

.on-dark { color: var(--on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--on-dark); }
.on-dark .lede, .on-dark .body-lg { color: var(--on-dark-2); }
.on-dark .eyebrow { color: var(--gold-400); }
.on-dark .fineprint { color: #9FB0A2; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 980px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 6vw, 6rem); }
.stack > * + * { margin-top: var(--gap, 1.5rem); }
.grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
.cols-2 { grid-template-columns: 1fr; }
@media (min-width: 860px) { .cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.15fr 0.85fr; } .split--wide-right { grid-template-columns: 0.85fr 1.15fr; } }

.bg-forest { background: var(--forest-600); }
.bg-forest-deep { background: var(--forest-900); }
.bg-sand { background: var(--sand); }
.bg-sand-200 { background: var(--sand-200); }
.bg-paper { background: var(--paper); }
.bg-olive { background: var(--olive); }

.rule { height: 1px; background: currentColor; opacity: 0.16; border: 0; margin: 0; }

/* grain texture — keeps flat colour fields from looking digital */
.grain::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--forest-600);
  --btn-fg: var(--paper);
  --btn-hover: var(--moss);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.05rem 1.9rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--btn-hover);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -18px rgba(0, 69, 36, 0.7); }
.btn:active { transform: translateY(0); }
.btn .arw { transition: transform 0.4s var(--ease); }
.btn:hover .arw { transform: translateX(5px); }

.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--forest-900); --btn-hover: var(--gold-400); }
.btn--cream { --btn-bg: var(--paper); --btn-fg: var(--forest-600); --btn-hover: var(--sand); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--forest-600);
  --btn-hover: var(--forest-600);
  border: 1px solid rgba(0, 69, 36, 0.3);
}
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--paper); }

/* every dark surface flips the ghost button, the plain link and body copy.
   listed explicitly so a dark section can never render dark-on-dark text. */
.on-dark, .hero, .phero--dark, .phero--image, .cta-band, .site-foot,
.bg-forest, .bg-forest-deep, .bg-olive, .drawer, .panel__aside .timer {
  --btn-ghost-fg: var(--on-dark);
}
.on-dark .btn--ghost, .hero .btn--ghost, .phero--dark .btn--ghost, .phero--image .btn--ghost,
.cta-band .btn--ghost, .site-foot .btn--ghost, .bg-forest .btn--ghost,
.bg-forest-deep .btn--ghost, .bg-olive .btn--ghost, .drawer .btn--ghost {
  --btn-fg: var(--on-dark);
  --btn-hover: var(--paper);
  border-color: rgba(243, 240, 232, 0.32);
}
.on-dark .btn--ghost:hover, .hero .btn--ghost:hover, .phero--dark .btn--ghost:hover,
.phero--image .btn--ghost:hover, .cta-band .btn--ghost:hover, .site-foot .btn--ghost:hover,
.bg-forest .btn--ghost:hover, .bg-forest-deep .btn--ghost:hover, .bg-olive .btn--ghost:hover,
.drawer .btn--ghost:hover,
.on-dark .btn--ghost:focus-visible, .hero .btn--ghost:focus-visible,
.phero--dark .btn--ghost:focus-visible, .phero--image .btn--ghost:focus-visible,
.cta-band .btn--ghost:focus-visible, .bg-forest .btn--ghost:focus-visible,
.bg-forest-deep .btn--ghost:focus-visible { color: var(--forest-900); }

.hero .link-u, .phero--dark .link-u, .phero--image .link-u, .cta-band .link-u,
.bg-forest .link-u, .bg-forest-deep .link-u, .bg-olive .link-u { color: var(--gold-400); }
.hero h1, .hero h2, .hero h3,
.phero--dark h1, .phero--dark h2, .phero--dark h3,
.phero--image h1, .phero--image h2, .phero--image h3,
.cta-band h1, .cta-band h2, .cta-band h3,
.bg-forest h2, .bg-forest h3, .bg-forest-deep h2, .bg-forest-deep h3 { color: var(--on-dark); }
.hero .lede, .hero .body-lg, .phero--dark .lede, .phero--dark .body-lg,
.phero--image .lede, .phero--image .body-lg, .cta-band .lede, .cta-band .body-lg,
.bg-forest .lede, .bg-forest .body-lg, .bg-forest-deep .lede, .bg-forest-deep .body-lg { color: var(--on-dark-2); }
.hero .eyebrow, .phero--dark .eyebrow, .phero--image .eyebrow, .cta-band .eyebrow,
.bg-forest .eyebrow, .bg-forest-deep .eyebrow { color: var(--gold-400); }
.hero .fineprint, .phero--dark .fineprint, .phero--image .fineprint, .cta-band .fineprint,
.bg-forest .fineprint, .bg-forest-deep .fineprint { color: #9FB0A2; }
.bg-forest .tag, .bg-forest-deep .tag, .cta-band .tag, .phero--image .tag { border-color: rgba(243, 240, 232, 0.3); color: var(--on-dark-2); }
.btn--sm { padding: 0.8rem 1.35rem; font-size: 0.68rem; }
.btn--block { width: 100%; justify-content: center; }

.link-u {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest-600);
  padding-bottom: 4px;
}
.link-u::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 0.45s var(--ease);
}
.link-u:hover::after, .link-u:focus-visible::after { transform-origin: left; animation: swipe 0.55s var(--ease); }
@keyframes swipe { 0% { transform: scaleX(1); transform-origin: right; } 49% { transform: scaleX(0); transform-origin: right; } 50% { transform: scaleX(0); transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }
.link-u .arw { transition: transform 0.4s var(--ease); }
.link-u:hover .arw { transform: translateX(5px); }
.on-dark .link-u { color: var(--gold-400); }

/* ---------- header ---------- */
.progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: left;
  background: var(--gold);
  z-index: 90;
  transition: transform 0.1s linear;
}
.site-head {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 80;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease), height 0.45s var(--ease);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; }
.site-head.is-stuck {
  height: 64px;
  background: rgba(247, 243, 236, 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(0, 69, 36, 0.1);
}
.site-head.is-hidden { transform: translateY(-100%); transition: transform 0.45s var(--ease); }

.brand { display: flex; align-items: baseline; gap: 0.7rem; line-height: 1; }
.brand__mark {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--forest-600);
}
.brand__sub {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--olive);
}
.site-head--invert .brand__mark { color: var(--paper); }
.site-head--invert .brand__sub { color: var(--gold-400); }
.site-head--invert .nav__link { color: var(--on-dark); }
.site-head--invert .burger span { background: var(--paper); }
.site-head--invert.is-stuck .brand__mark { color: var(--forest-600); }
.site-head--invert.is-stuck .brand__sub { color: var(--olive); }
.site-head--invert.is-stuck .nav__link { color: var(--ink-2); }
.site-head--invert.is-stuck .burger span { background: var(--forest-600); }

.nav { display: none; align-items: center; gap: clamp(0.85rem, 1.5vw, 1.5rem); }
@media (min-width: 1280px) { .nav { display: flex; } }
.nav__link {
  position: relative;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 0.4rem 0;
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 1px; width: 100%;
  background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--forest-600); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); background: var(--gold); }
.site-head--invert .nav__link[aria-current="page"] { color: var(--gold-400); }

.head-cta { display: none; }
@media (min-width: 1280px) { .head-cta { display: inline-flex; } }

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; align-items: flex-end;
}
@media (min-width: 1280px) { .burger { display: none; } }
.burger span { display: block; height: 1.5px; width: 26px; background: var(--forest-600); transition: transform 0.4s var(--ease), opacity 0.3s, width 0.4s var(--ease); }
.burger span:nth-child(2) { width: 18px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { width: 26px; transform: translateY(-7.5px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0;
  z-index: 79;
  background: var(--forest-600);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--nav-h) var(--gutter) 3rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
  overflow-y: auto;
}
.drawer.is-open { clip-path: inset(0 0 0 0); }
.drawer__list { display: flex; flex-direction: column; gap: 0.35rem; }
.drawer__link {
  font-family: var(--display);
  font-size: clamp(2rem, 9vw, 3.4rem);
  font-weight: 300;
  color: var(--paper);
  line-height: 1.14;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}
.drawer.is-open .drawer__link { opacity: 1; transform: none; transition-delay: calc(0.14s + var(--i) * 0.05s); }
.drawer__link:hover { color: var(--gold-400); }
.drawer__foot { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--forest-900);
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img {
  width: 100%; height: 118%;
  object-fit: cover;
  object-position: center 32%;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.02);
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 21, 16, 0.55) 0%, rgba(6, 21, 16, 0.12) 32%, rgba(6, 21, 16, 0.72) 78%, rgba(6, 21, 16, 0.92) 100%),
    linear-gradient(90deg, rgba(6, 21, 16, 0.5) 0%, rgba(6, 21, 16, 0) 62%);
}
.hero__inner { position: relative; width: 100%; padding-bottom: clamp(3.5rem, 8vh, 7rem); }
.hero h1 { color: var(--paper); max-width: 15ch; }
.hero__sub {
  font-family: var(--display);
  font-size: var(--step-2);
  font-style: italic;
  font-weight: 300;
  color: var(--gold-200);
  margin-top: 0.4rem;
}
.hero__note { color: #D7E0D6; max-width: 46ch; margin-top: 1.8rem; font-size: var(--step-0); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }
.hero__meta {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  display: flex; flex-wrap: wrap; gap: 1.4rem 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(243, 240, 232, 0.18);
}
.hero__stat { display: flex; flex-direction: column; gap: 0.25rem; }
.hero__stat b { font-family: var(--display); font-size: var(--step-2); font-weight: 400; color: var(--gold-400); line-height: 1; }
.hero__stat span { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: #A9B8AB; }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: clamp(2rem, 5vh, 3.5rem);
  display: none; flex-direction: column; align-items: center; gap: 0.8rem;
  font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(243, 240, 232, 0.7);
  writing-mode: vertical-rl;
}
@media (min-width: 900px) { .scroll-cue { display: flex; } }
.scroll-cue::after {
  content: ""; width: 1px; height: 64px;
  background: linear-gradient(180deg, rgba(243, 240, 232, 0.7), rgba(243, 240, 232, 0));
  animation: cue 2.4s var(--ease-io) infinite;
}
@keyframes cue { 0%, 100% { transform: scaleY(0.25); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* page hero (inner pages) */
.phero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(3.5rem, 9vw, 8rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.phero--dark { background: var(--forest-600); }
.phero--image { background: var(--forest-900); }
.phero--image .phero__bg { position: absolute; inset: 0; }
.phero--image .phero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.phero--image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 21, 16, 0.72), rgba(6, 21, 16, 0.4) 50%, rgba(6, 21, 16, 0.88));
}
.phero__inner { position: relative; z-index: 2; }
.phero h1 { font-size: var(--step-4); max-width: 18ch; }

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }
/* the mask must not clip descenders — pad, then pull the padding back off */
.line-mask { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.line-mask > span { display: block; transform: translateY(115%); transition: transform 1s var(--ease); transition-delay: var(--d, 0s); }
.is-in .line-mask > span, .line-mask.is-in > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .line-mask > span { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__media img { transform: none !important; }
}

/* ---------- figures ---------- */
.fig { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--sand); }
.fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 0.7s var(--ease); }
.fig--zoom:hover img { transform: scale(1.045); }
.fig--tall { aspect-ratio: 3 / 4; }
.fig--square { aspect-ratio: 1 / 1; }
.fig--wide { aspect-ratio: 16 / 10; }
.fig--portrait { aspect-ratio: 4 / 5; }
.fig__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1.4rem 1.15rem;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(6, 21, 16, 0) 0%, rgba(6, 21, 16, 0.55) 45%, rgba(6, 21, 16, 0.92) 100%);
}
.fig-frame { position: relative; }
.fig-frame::before {
  content: ""; position: absolute;
  inset: clamp(10px, 2vw, 22px) clamp(-10px, -2vw, -22px) clamp(-10px, -2vw, -22px) clamp(10px, 2vw, 22px);
  border: 1px solid rgba(0, 69, 36, 0.25);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.on-dark .fig-frame::before, .bg-forest .fig-frame::before { border-color: rgba(198, 149, 73, 0.4); }

/* ---------- cards ---------- */
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid rgba(0, 69, 36, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -34px rgba(0, 56, 30, 0.55); border-color: rgba(0, 69, 36, 0.24); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: clamp(1.4rem, 2.4vw, 2rem); display: flex; flex-direction: column; gap: 0.9rem; flex: 1; }
.card__body > .card__foot { margin-top: auto; padding-top: 0.4rem; }
.card h3 { font-size: var(--step-2); }
.card__price {
  font-family: var(--display);
  font-size: var(--step-1);
  color: var(--gold);
  font-weight: 500;
}

/* numbered / indexed lists — no bullet dots anywhere */
.idx { counter-reset: idx; }
.idx > li {
  counter-increment: idx;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.4rem 1rem;
  align-items: start;
  padding: 1.05rem 0;
  border-top: 1px solid rgba(0, 69, 36, 0.14);
}
.idx > li:last-child { border-bottom: 1px solid rgba(0, 69, 36, 0.14); }
.idx > li::before {
  content: counter(idx, decimal-leading-zero);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  padding-top: 0.42rem;
}
.on-dark .idx > li, .bg-forest .idx > li { border-color: rgba(243, 240, 232, 0.16); }

.marks { display: flex; flex-direction: column; }
.marks > li {
  display: grid; grid-template-columns: auto 1fr; gap: 0.95rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid rgba(0, 69, 36, 0.1);
  color: var(--ink-2);
}
.marks > li::before {
  content: "";
  width: 16px; height: 1px;
  margin-top: 0.85em;
  background: var(--gold-ink);
  flex: none;
}
.on-dark .marks > li, .bg-forest .marks > li { border-color: rgba(243, 240, 232, 0.14); color: var(--on-dark-2); }

.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tag {
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.36rem 0.7rem;
  border: 1px solid rgba(0, 69, 36, 0.24);
  border-radius: 100px;
  color: var(--ink-2);
}
.tag--vata { border-color: rgba(87, 89, 64, 0.5); color: var(--olive); }
.tag--pitta { border-color: rgba(198, 149, 73, 0.6); color: #9A7132; }
.tag--kapha { border-color: rgba(63, 118, 82, 0.55); color: var(--moss); }
.on-dark .tag { border-color: rgba(243, 240, 232, 0.3); color: var(--on-dark-2); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding-block: clamp(2.2rem, 4vw, 3.4rem); border-block: 1px solid rgba(0, 69, 36, 0.14); }
.marquee__track { display: flex; width: max-content; gap: 3.5rem; animation: slide 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--display);
  font-size: var(--step-2);
  font-style: italic;
  font-weight: 300;
  color: var(--forest-600);
  white-space: nowrap;
  display: flex; align-items: center; gap: 3.5rem;
}
.marquee__item::after { content: ""; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- testimonials ---------- */
.quote {
  display: flex; flex-direction: column; gap: 1.4rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--paper);
  border: 1px solid rgba(0, 69, 36, 0.12);
  border-radius: var(--radius-lg);
  break-inside: avoid;
  margin-bottom: clamp(1.2rem, 2vw, 1.8rem);
}
.quote p { font-size: var(--step-0); color: var(--ink-2); line-height: 1.66; }
.quote p + p { margin-top: 0.9rem; }
.quote .quote__who, .quote__who { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.quote::before {
  content: "”";
  font-family: var(--display);
  font-size: 3.4rem; line-height: 0.6;
  color: var(--sand);
  height: 1.4rem;
}
.masonry { columns: 1; column-gap: clamp(1.2rem, 2vw, 1.8rem); }
@media (min-width: 760px) { .masonry { columns: 2; } }
@media (min-width: 1140px) { .masonry { columns: 3; } }

/* ---------- accordion ---------- */
.acc { border-top: 1px solid rgba(0, 69, 36, 0.16); }
.acc__item { border-bottom: 1px solid rgba(0, 69, 36, 0.16); }
.acc__btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: clamp(1.2rem, 2.4vw, 1.7rem) 0;
  text-align: left;
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 400;
  color: var(--forest-600);
  transition: color 0.3s;
}
.acc__btn:hover { color: var(--moss); }
.acc__ico { position: relative; width: 16px; height: 16px; flex: none; }
.acc__ico::before, .acc__ico::after { content: ""; position: absolute; background: currentColor; transition: transform 0.45s var(--ease), opacity 0.3s; }
.acc__ico::before { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }
.acc__ico::after { left: 50%; top: 0; height: 100%; width: 1px; transform: translateX(-50%); }
.acc__btn[aria-expanded="true"] .acc__ico::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.acc__panel[data-open="true"] { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p, .acc__panel ul { padding-bottom: 1.6rem; max-width: var(--measure); color: var(--ink-2); }
.on-dark .acc, .on-dark .acc__item { border-color: rgba(243, 240, 232, 0.18); }
.on-dark .acc__btn { color: var(--on-dark); }
.on-dark .acc__btn:hover { color: var(--gold-400); }
.on-dark .acc__panel p { color: var(--on-dark-2); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: var(--paper);
  border: 1px solid rgba(0, 69, 36, 0.22);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 300;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(63, 118, 82, 0.16);
}
.field input::placeholder, .field textarea::placeholder { color: #9AA79D; }
.field .err { font-size: 0.72rem; color: #A33B2A; min-height: 1.1em; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #A33B2A; }
.on-dark .field label { color: var(--on-dark-2); }
.on-dark .field input, .on-dark .field textarea, .on-dark .field select {
  background: rgba(255, 253, 249, 0.07);
  border-color: rgba(243, 240, 232, 0.28);
  color: var(--on-dark);
}
.on-dark .field input::placeholder, .on-dark .field textarea::placeholder { color: #93A296; }
.on-dark .field .err { color: #E9A08F; }

.form-note { font-size: 0.75rem; color: var(--ink-3); line-height: 1.55; }
.on-dark .form-note { color: #9FB0A2; }
.form-done {
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--moss);
  border-left-width: 3px;
  background: rgba(63, 118, 82, 0.08);
  color: var(--forest-600);
  font-size: 0.92rem;
}
.on-dark .form-done { color: var(--on-dark); background: rgba(198, 149, 73, 0.14); border-color: var(--gold); }
[hidden] { display: none !important; }

/* checkbox / radio */
.opt {
  position: relative;
  display: flex; align-items: flex-start; gap: 0.95rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(0, 69, 36, 0.2);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
  line-height: 1.45;
}
.opt:hover { border-color: var(--moss); transform: translateX(3px); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__box {
  flex: none; width: 18px; height: 18px; margin-top: 0.18em;
  border: 1px solid rgba(0, 69, 36, 0.4);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: border-color 0.3s, background 0.3s;
}
.opt__box::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--paper); transform: scale(0); transition: transform 0.3s var(--ease); }
.opt--check .opt__box { border-radius: 2px; }
.opt--check .opt__box::after { border-radius: 1px; }
.opt input:checked ~ .opt__box { background: var(--forest-600); border-color: var(--forest-600); }
.opt input:checked ~ .opt__box::after { transform: scale(1); }
.opt:has(input:checked) { border-color: var(--forest-600); background: rgba(63, 118, 82, 0.07); }
.opt input:focus-visible ~ .opt__box { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- footer ---------- */
.site-foot { background: var(--forest-900); color: var(--on-dark); padding-block: clamp(3.5rem, 7vw, 6rem) 2.5rem; position: relative; }
.foot-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.foot-h { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 1.2rem; }
.foot-list { display: flex; flex-direction: column; gap: 0.7rem; }
.foot-list a { color: #C3CFC3; font-size: 0.94rem; transition: color 0.3s, transform 0.3s var(--ease); display: inline-block; }
.foot-list a:hover { color: var(--paper); transform: translateX(4px); }
.foot-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.8rem;
  border-top: 1px solid rgba(243, 240, 232, 0.14);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center;
  font-size: 0.76rem; color: #8FA093;
}
.soc { display: flex; gap: 0.7rem; }
.soc a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid rgba(243, 240, 232, 0.24);
  border-radius: 50%;
  color: #C3CFC3;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.soc a:hover { background: var(--gold); color: var(--forest-900); border-color: var(--gold); transform: translateY(-3px); }
.foot-mark { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--forest-600); }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.26; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0, 56, 30, 0.9), rgba(6, 21, 16, 0.65)); }
.cta-band .wrap { position: relative; z-index: 2; }

/* ---------- utility ---------- */
.center { text-align: center; }
.center .lede, .center .body-lg { margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.max-60 { max-width: 60ch; }
.max-50 { max-width: 50ch; }
.max-44 { max-width: 44ch; }
.mt-1 { margin-top: 0.6rem; } .mt-2 { margin-top: 1.2rem; } .mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; } .mt-5 { margin-top: clamp(3rem, 6vw, 5rem); }
.flex-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: 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 {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--forest-600); color: var(--paper);
  padding: 0.8rem 1.2rem; border-radius: var(--radius);
  transition: top 0.3s var(--ease);
}
.skip:focus { top: 1rem; }

/* ---------- section index rail ---------- */
.rail { position: sticky; top: calc(var(--nav-h) + 2rem); align-self: start; }

/* ---------- stats ---------- */
.stats { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.stat { padding-top: 1.4rem; border-top: 1px solid rgba(0, 69, 36, 0.2); }
.stat b { display: block; font-family: var(--display); font-size: var(--step-3); font-weight: 400; color: var(--forest-600); line-height: 1; }
.stat span { display: block; margin-top: 0.6rem; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.on-dark .stat { border-color: rgba(243, 240, 232, 0.2); }
.on-dark .stat b { color: var(--gold-400); }
.on-dark .stat span { color: #9FB0A2; }

/* ==========================================================================
   Contrast corrections
   Two rules govern colour here:
     1. gold is a FILL colour. As TEXT on a light surface it only reaches
        2.65:1, so light-surface gold type uses --gold-ink (4.7–6.5:1).
     2. a light card can sit inside a dark section. The dark-section colour
        rules must stop at the card edge, or you get white on white.
   ========================================================================== */
:root { --gold-ink: #7A5518; }

/* --- 1. gold as text on light --- */
.quote__who, .quote .quote__who { color: var(--gold-ink); }
.ritual__open { color: var(--gold-ink); }
.card__price { color: var(--gold-ink); }
.tag--pitta { border-color: rgba(122, 85, 24, 0.5); color: var(--gold-ink); }
.idx > li::before, .step::before { color: var(--gold-ink); }
.marks > li::before { background: var(--gold-ink); }

/* on dark surfaces gold type is fine — put it back */
.on-dark .quote__who, .bg-forest .quote__who, .bg-forest-deep .quote__who,
.cta-band .quote__who, .phero--image .quote__who,
.on-dark .idx > li::before, .bg-forest .idx > li::before, .bg-forest-deep .idx > li::before,
.cta-band .idx > li::before, .phero--image .idx > li::before { color: var(--gold-400); }
.on-dark .marks > li::before, .bg-forest .marks > li::before,
.bg-forest-deep .marks > li::before, .cta-band .marks > li::before { background: var(--gold-400); }
.timer .idx > li::before { color: var(--gold-400); }

/* --- 2. light surfaces reset the dark-section cascade --- */
.card, .mod, .book-rail, .quote, .ritual, .res__next, .panel, .form-done { color: var(--ink); }

/* …including the ghost button. The dark-section rules above flip it to cream on a
   near-transparent border, which is right on the section itself and unreadable on a
   light card sitting inside that section. Put it back to the dark-ink treatment. */
.card .btn--ghost, .mod .btn--ghost, .book-rail .btn--ghost, .quote .btn--ghost,
.ritual .btn--ghost, .res__next .btn--ghost, .panel .btn--ghost, .form-done .btn--ghost {
  --btn-fg: var(--forest-600);
  --btn-hover: var(--forest-600);
  border-color: rgba(0, 69, 36, 0.3);
}
.card .btn--ghost:hover, .mod .btn--ghost:hover, .book-rail .btn--ghost:hover,
.quote .btn--ghost:hover, .ritual .btn--ghost:hover, .res__next .btn--ghost:hover,
.panel .btn--ghost:hover, .form-done .btn--ghost:hover,
.card .btn--ghost:focus-visible, .book-rail .btn--ghost:focus-visible,
.panel .btn--ghost:focus-visible { color: var(--paper); }

.bg-forest .card h2, .bg-forest .card h3, .bg-forest-deep .card h2, .bg-forest-deep .card h3,
.cta-band .card h2, .cta-band .card h3, .phero--image .card h2, .phero--image .card h3,
.on-dark .card h2, .on-dark .card h3,
.bg-forest .mod h2, .bg-forest .mod h3, .bg-forest-deep .mod h2, .bg-forest-deep .mod h3,
.on-dark .mod h2, .on-dark .mod h3,
.bg-forest .book-rail h2, .bg-forest .book-rail h3, .on-dark .book-rail h2, .on-dark .book-rail h3,
.bg-forest .quote h3, .on-dark .quote h3,
.bg-forest .ritual h3, .bg-forest-deep .ritual h3, .on-dark .ritual h3 { color: var(--forest-600); }

.bg-forest .card .lede, .bg-forest .card .body-lg, .bg-forest-deep .card .lede, .bg-forest-deep .card .body-lg,
.cta-band .card .lede, .cta-band .card .body-lg, .phero--image .card .lede, .phero--image .card .body-lg,
.on-dark .card .lede, .on-dark .card .body-lg,
.bg-forest .mod .lede, .bg-forest .mod .body-lg, .bg-forest-deep .mod .lede, .bg-forest-deep .mod .body-lg,
.on-dark .mod .lede, .on-dark .mod .body-lg,
.bg-forest .book-rail .lede, .bg-forest .book-rail .body-lg, .on-dark .book-rail .lede, .on-dark .book-rail .body-lg,
.bg-forest .quote p, .bg-forest-deep .quote p, .on-dark .quote p,
.bg-forest .ritual p, .bg-forest-deep .ritual p, .on-dark .ritual p { color: var(--ink-2); }

.bg-forest .card .eyebrow, .bg-forest-deep .card .eyebrow, .cta-band .card .eyebrow,
.phero--image .card .eyebrow, .on-dark .card .eyebrow,
.bg-forest .mod .eyebrow, .bg-forest-deep .mod .eyebrow, .on-dark .mod .eyebrow,
.bg-forest .book-rail .eyebrow, .bg-forest-deep .book-rail .eyebrow, .on-dark .book-rail .eyebrow,
.bg-forest .res__next .eyebrow, .on-dark .res__next .eyebrow { color: var(--olive); }

.bg-forest .card .link-u, .bg-forest-deep .card .link-u, .cta-band .card .link-u,
.phero--image .card .link-u, .on-dark .card .link-u,
.bg-forest .mod .link-u, .bg-forest-deep .mod .link-u, .on-dark .mod .link-u,
.bg-forest .book-rail .link-u, .on-dark .book-rail .link-u { color: var(--gold-ink); }

.bg-forest .card .fineprint, .bg-forest-deep .card .fineprint, .on-dark .card .fineprint,
.bg-forest .mod .fineprint, .bg-forest-deep .mod .fineprint, .on-dark .mod .fineprint,
.bg-forest .book-rail .fineprint, .on-dark .book-rail .fineprint { color: var(--ink-3); }

.bg-forest .card .tag, .bg-forest-deep .card .tag, .cta-band .card .tag,
.phero--image .card .tag, .on-dark .card .tag,
.bg-forest .mod .tag, .bg-forest-deep .mod .tag, .on-dark .mod .tag,
.bg-forest .book-rail .tag, .on-dark .book-rail .tag,
.bg-forest .ritual .tag, .bg-forest-deep .ritual .tag { border-color: rgba(0, 69, 36, 0.24); color: var(--ink-2); }

/* --- 3. the scrolled header keeps the active-page marker readable --- */
.site-head--invert.is-stuck .nav__link[aria-current="page"] { color: var(--forest-600); }
.site-head--invert.is-stuck .nav__link[aria-current="page"]::after { background: var(--gold-ink); }

/* --- 4. inactive tab labels --- */
.switcher button { color: var(--ink-2); }
.on-dark .switcher button { color: var(--on-dark-2); }


/* a disabled control has to read as disabled */
.btn[disabled], .btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn[disabled]::before, .btn:disabled::before { transform: translateY(101%); }
.hscroll__btn[disabled] { opacity: 0.3; cursor: not-allowed; }
.hscroll__btn[disabled]:hover { background: none; color: inherit; }


/* diagrams, book covers and typographic graphics must not be cropped —
   fit them inside the frame instead of filling it */
.fig--fit img, .card__media--fit img, .ritual__media--fit img { object-fit: contain; }
.fig--fit, .card__media--fit, .ritual__media--fit { background: var(--sand-200); }
.bg-forest .card__media--fit, .bg-forest-deep .card__media--fit { background: var(--sand-200); }
