/* =========================================================================
   SacredSoulSpace — landing page
   All written content is Lorem Ipsum placeholder.
   ========================================================================= */

/* ---------------------------------------------------------------- tokens */
:root {
  /* palette — olive, cream and gold. Purple is retained only as the logo's own
     colour; nothing in the interface uses it. */
  --cream:        #F8F1E5;
  --cream-deep:   #F1E7D6;
  --ivory:        #FDFAF4;

  --olive-deep:   #3E4A33;   /* display headings          8.4:1 on cream */
  --olive:        #4F6141;   /* links, labels, borders    6.0:1 on cream */
  --sage-mid:     #6B8159;   /* secondary button hairline 3.8:1 on cream */
  --sage:         #78976B;   /* brand sage — decorative only, too light for type */
  --sage-air:     #EDEFE6;   /* soft tinted section ground */
  --sage-slab:    #DBE0CE;   /* the closing slab */

  --gold:         #DFA83E;   /* hairlines and rules only, never type */
  --gold-deep:    #8A6A26;   /* italic emphasis           4.5:1 on cream */

  --ink:          #33352C;   /* body text — warm, not black */
  --ink-soft:     rgba(51, 53, 44, .78);
  --ink-faint:    #676959;   /* secondary text on cream and cream-deep */
  --ink-faint-t:  #54564A;   /* secondary text on tinted grounds, which sit darker */
  --rule:         rgba(51, 53, 44, .18);
  --rule-form:    rgba(51, 53, 44, .42);   /* input underlines and form dividers */
  --rule-light:   rgba(248, 241, 229, .28);

  --lavender:     #CFC3E8;   /* logo palette, unused in the interface */
  --purple:       #60348D;   /* the logo's purple — kept for reference only */

  /* type */
  --f-display: "Cormorant Garamond", "EB Garamond", "Iowan Old Style", Georgia, serif;
  --f-sans:    "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* metrics */
  --wrap:        1440px;
  --pad:         clamp(22px, 5.5vw, 90px);
  --gap:         clamp(18px, 2.2vw, 34px);
  --section:     clamp(88px, 13vw, 176px);
  --header-h:    104px;
  --header-h-sm: 76px;

  /* motion */
  --ease:     cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.78;
  letter-spacing: .012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
/* A <picture> inside a fixed-shape frame (aspect-ratio figures) must fill it,
   or the <img> inside keeps its own proportions and object-fit never applies,
   leaving a gap or cropping from the top. In frames without a set height this
   resolves to auto and changes nothing. */
figure > picture { width: 100%; height: 100%; }
img { height: auto; }

h1, h2, h3, h4, p, figure, blockquote, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }

/* the UA `[hidden] { display: none }` rule loses to any author `display`
   declaration of equal specificity, so state it here and mean it. Without this
   the hidden mobile nav panel stays laid out at inset:0 and eats every click. */
[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }

::selection { background: var(--sage-slab); color: var(--olive-deep); }

:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 4px;
  border-radius: 1px;
}
/* bands and the closing slab are light grounds, so the default purple ring
   is the legible one — no override needed. */

.u-sr {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 999;
  transform: translateY(-160%);
  background: var(--olive); color: var(--cream);
  padding: 12px 20px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* fine paper grain — sits above everything, ignores pointer events */
.grain {
  position: fixed; inset: 0; z-index: 900;
  pointer-events: none;
  background-image: var(--noise);
  opacity: .035;
  mix-blend-mode: multiply;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.sep {
  display: inline-block;
  width: 20px; height: 1px;
  margin: 0 .5em;
  background: currentColor;
  opacity: .45;
  vertical-align: middle;
}

/* ------------------------------------------------------------ typography */
.display {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--olive-deep);
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.2;
  letter-spacing: -.004em;
  text-wrap: balance;
}
.display--lg {
  font-size: clamp(36px, 4.9vw, 66px);
  line-height: 1.08;
  letter-spacing: -.012em;
}
.display em { font-style: italic; color: var(--gold-deep); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
/* used on the tinted image bands, which are light — so this centres rather
   than lightens. Name kept for markup stability. */
.eyebrow--light { color: var(--ink-faint); justify-content: center; }

.eyebrow__rule {
  display: inline-block;
  width: clamp(28px, 4vw, 54px);
  height: 1px;
  margin: 0 14px;
  background: var(--gold);
}
.eyebrow__rule--lead { margin-left: 0; }

.prose p { color: var(--ink-soft); max-width: 54ch; }
.prose p + p { margin-top: 1.2em; }

/* ------------------------------------------------------- links & buttons */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--olive);
  padding-bottom: 6px;
  position: relative;
}
.link-arrow::before {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  opacity: .38;
  transform-origin: left;
  transition: transform .55s var(--ease-out), opacity .35s ease;
}
.link-arrow::after {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  position: relative;
  transition: width .45s var(--ease-out);
}
.link-arrow:hover::before { transform: scaleX(.35); opacity: 1; }
.link-arrow:hover::after  { width: 38px; }

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 34px;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .24em;
  text-transform: uppercase;
  white-space: nowrap;
  background: transparent;
  border: 1px solid transparent;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
/* a soft wash rises from the baseline on hover — the same "line grows"
   language as the nav underline and .link-arrow, rather than a colour flip */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: scaleY(1); }
.btn--sm { padding: 13px 26px; font-size: 10.5px; }

/* primary — an outline, not a slab. Purple hairline and purple type, so it
   stays light at rest while still reading as the main action. */
.btn--solid {
  color: var(--olive);
  border-color: var(--olive);
}
.btn--solid::before { background: rgba(79, 97, 65, .12); }
.btn--solid:hover { color: var(--olive-deep); border-color: var(--olive-deep); }

/* secondary — the lighter purple hairline keeps it in the same family while
   ink type (rather than purple) keeps it clearly below the primary. A neutral
   hairline measured 1.65:1 here, too faint to identify the control. */
.btn--ghost {
  border-color: var(--sage-mid);
  color: var(--ink);
}
.btn--ghost::before { background: rgba(47, 42, 51, .05); }
.btn--ghost:hover { border-color: var(--olive); color: var(--olive); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: height .55s var(--ease), background-color .5s ease, border-color .5s ease;
}
.site-header.is-stuck {
  height: var(--header-h-sm);
  background: rgba(248, 241, 229, .94);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--rule);
}

.site-header__inner {
  height: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
}

.brand { display: block; flex: none; }
.brand img {
  width: auto;
  height: 70px;
  transition: height .55s var(--ease);
}
.is-stuck .brand img { height: 50px; }

.site-nav ul { display: flex; align-items: center; gap: clamp(22px, 3vw, 46px); }
.site-nav a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .4s ease;
}
.site-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.site-nav a:hover { color: var(--olive); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.site-header__end { display: flex; align-items: center; gap: 18px; flex: none; }

.nav-toggle { display: none; padding: 10px; margin-right: -10px; }
.nav-toggle__bars { display: block; width: 26px; }
.nav-toggle__bars i {
  display: block; height: 1px; background: var(--ink);
  transition: transform .45s var(--ease), opacity .3s ease;
}
.nav-toggle__bars i + i { margin-top: 7px; }
.nav-toggle[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-child  { transform: translateY(-4px) rotate(-45deg); }

/* mobile nav panel */
.nav-panel {
  position: fixed; inset: 0; z-index: 150;
  background: var(--cream);
  padding: calc(var(--header-h-sm) + 8vh) var(--pad) 8vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8vh;
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.nav-panel.is-open { opacity: 1; }
.nav-panel a { display: block; }
.nav-panel nav ul { display: grid; gap: clamp(14px, 3vh, 26px); }
.nav-panel nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--f-display);
  color: var(--olive-deep);
  font-size: clamp(34px, 11vw, 54px);
  line-height: 1.05;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease) var(--d, 0ms), transform .6s var(--ease) var(--d, 0ms), color .3s ease;
}
.nav-panel nav a:hover { color: var(--olive); }
.nav-panel .btn {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease) var(--d, 0ms), transform .6s var(--ease) var(--d, 0ms), background .4s ease;
}
.nav-panel.is-open nav a,
.nav-panel.is-open .btn { opacity: 1; transform: none; }
.nav-panel__idx {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--ink-faint);
}

/* ------------------------------------------------------------------ hero */
.hero {
  min-height: 100svh;
  padding-top: var(--header-h);
  display: flex;
  flex-direction: column;
}

.hero__type {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap);
  row-gap: clamp(20px, 3.4vh, 46px);
  align-items: end;
  padding-block: clamp(28px, 5.4vh, 78px) clamp(24px, 4vh, 52px);
}
.hero__type .eyebrow { grid-column: 1 / -1; }

.hero__title {
  grid-column: 1 / span 8;
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--olive-deep);
  font-size: clamp(40px, min(6.4vw, 12.5vh), 92px);
  line-height: 1.02;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--gold-deep); }

.hero__aside { grid-column: 9 / -1; padding-bottom: .5em; }
.hero__aside p {
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 40ch;
}
.hero__actions {
  margin-top: clamp(22px, 3vh, 34px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.hero__stage {
  flex: 1 1 auto;
  min-height: min(38vh, 380px);
  display: grid;
  grid-template-columns: clamp(22px, 12vw, 186px) 1fr;
  grid-template-rows: minmax(0, 1fr);
}

.hero__index {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 10.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}

.hero__media { grid-column: 2; position: relative; overflow: hidden; min-height: 0; }
.hero__media picture { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(22px, 4vh, 44px);
  transform: translateX(-50%);
  width: 1px;
  height: clamp(46px, 7vh, 76px);
  background: var(--rule);
  overflow: hidden;
}
.scroll-cue span {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px; height: 40%;
  background: var(--olive);
  animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue {
  0%        { transform: translateY(-100%); }
  55%, 100% { transform: translateY(250%); }
}

/* hero is a grid whose first column holds the rail */
.hero__stage { position: relative; }
.hero__stage > .hero__index,
.hero__stage > .scroll-cue {
  left: clamp(11px, 6vw, 93px);
  transform: translateX(-50%);
}
.hero__stage > .hero__index { top: 4px; transform: translateX(-50%) rotate(180deg); }

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

.intro__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap);
  row-gap: clamp(56px, 8vw, 96px);
  align-items: start;
}

.intro__media {
  grid-column: 1 / span 5;
  align-self: center;
}
.intro__media-a { overflow: hidden; aspect-ratio: 4 / 5; }
/* the hands and symbols sit in the left third of the wide symbols image, so it is
   anchored left and zoomed from a point chosen to bring them to the frame's centre */
.intro__media-a img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; }
.intro__media-a img[src*="reiki-symbols"] { transform: scale(1.2); transform-origin: 9% 40%; }

.intro__body {
  grid-column: 7 / -1;
  padding-top: clamp(0px, 3vw, 46px);
}
.intro__body .display { margin-top: clamp(22px, 2.6vw, 36px); max-width: 20ch; }
.intro__body .prose  { margin-top: clamp(24px, 2.8vw, 38px); }
.intro__body .link-arrow { margin-top: clamp(28px, 3.4vw, 46px); }

/* --------------------------------------------------------------- rituals */
.rituals {
  background: var(--cream-deep);
  padding-block: var(--section);
}

.rituals__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap);
  row-gap: clamp(20px, 2.4vw, 30px);
  align-items: end;
  margin-bottom: clamp(50px, 6.5vw, 92px);
}
.rituals__head .eyebrow { grid-column: 1 / -1; }
.rituals__head .display { grid-column: 1 / span 6; }
.rituals__lede {
  grid-column: 8 / -1;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 44ch;
  padding-bottom: .5em;
}

.rituals__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap);
  align-items: start;
}

.ritual-list { grid-column: 1 / span 7; }

.ritual { border-top: 1px solid var(--rule); }
.ritual:last-child { border-bottom: 1px solid var(--rule); }

.ritual > a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2.2vw, 36px);
  padding-block: clamp(20px, 2.5vw, 34px);
}
.ritual__idx {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--ink-faint);
  transition: color .45s var(--ease), transform .55s var(--ease-out);
}
.ritual__text { display: block; transition: transform .55s var(--ease-out); }
.ritual__title {
  display: block;
  font-family: var(--f-display);
  color: var(--olive-deep);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.15;
  transition: color .45s var(--ease);
}
.ritual__meta {
  display: block;
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: .05em;
  color: var(--ink-faint);
}
.ritual__thumb { display: none; }

.ritual__arrow {
  position: relative;
  width: 34px; height: 1px;
  background: var(--olive);
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity .45s var(--ease), transform .55s var(--ease-out);
}
.ritual__arrow::after {
  content: "";
  position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid var(--olive);
  border-right: 1px solid var(--olive);
  transform: rotate(45deg);
}

.ritual.is-active .ritual__idx   { color: var(--olive); transform: translateX(6px); }
.ritual.is-active .ritual__text  { transform: translateX(12px); }
.ritual.is-active .ritual__title { color: var(--olive); }
.ritual.is-active .ritual__arrow { opacity: 1; transform: none; }

.ritual-stage {
  grid-column: 9 / -1;
  position: sticky;
  top: calc(var(--header-h-sm) + 44px);
}
.ritual-stage__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--cream);
}
.ritual-stage__frame img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .85s var(--ease), transform 1.4s var(--ease-out);
}
.ritual-stage__frame img.is-active { opacity: 1; transform: none; }

.ritual-stage__caption {
  margin-top: 18px;
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ------------------------------------------------------------------ band */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(88vh, 780px);
  display: grid;
  place-items: center;
  text-align: center;
}
.band__media {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
  will-change: transform;
}
.band__media picture, .band__media img { width: 100%; height: 100%; }
.band__media img { object-fit: cover; object-position: 50% 45%; }
.band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  /* A light veil rather than a dark one, warmed with a gold glow at the top
     and a sage wash at the foot so the band carries some colour. The cream
     halo at the centre keeps the lettering legible over the photograph. */
  background:
    radial-gradient(70% 55% at 50% 50%, rgba(253, 250, 244, .62) 0%, rgba(253, 250, 244, 0) 100%),
    radial-gradient(90% 60% at 50% 0%, rgba(223, 168, 62, .30) 0%, rgba(223, 168, 62, 0) 100%),
    radial-gradient(100% 60% at 50% 100%, rgba(120, 151, 107, .34) 0%, rgba(120, 151, 107, 0) 100%),
    linear-gradient(180deg, rgba(246, 233, 208, .80) 0%, rgba(226, 232, 214, .84) 100%);
}

.band__inner { color: var(--ink); padding-block: clamp(80px, 12vw, 140px); }
/* the veiled band and the sage slab sit darker than plain cream, so muted
   text needs a darker tone to stay above 4.5:1 */
.band .eyebrow--light,
.band__attr,
.cta .eyebrow--light,
.cta__lede { color: var(--ink-faint-t); }
.band__quote {
  margin-top: clamp(26px, 3.4vw, 46px);
  margin-inline: auto;
  max-width: min(100%, 940px);
}
.band__quote p {
  font-family: var(--f-display);
  color: var(--olive-deep);
  font-size: clamp(28px, 3.9vw, 54px);
  line-height: 1.24;
  letter-spacing: -.006em;
}
.band__quote em { font-style: italic; color: var(--gold-deep); }
.band__attr {
  margin-top: clamp(26px, 3vw, 40px);
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ------------------------------------------------------------ principles */
.principles { padding-block: clamp(64px, 9vw, 118px); }
.principles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.principles__grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) {
  .principles__grid--4 { grid-template-columns: repeat(2, 1fr); row-gap: clamp(30px, 4vw, 46px); }
  .principles__grid--4 .principle:nth-child(3) { border-left: 0; padding-inline-start: 0; }
  .principles__grid--4 .principle:nth-child(2) { padding-inline-end: 0; }
}
.principle { padding-inline: clamp(18px, 3vw, 54px); }
.principle:first-child { padding-inline-start: 0; }
.principle:last-child  { padding-inline-end: 0; }
.principle + .principle { border-left: 1px solid var(--rule); }

.principle__idx {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: .26em;
  color: var(--ink-faint);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gold);
}
.principle h3 {
  margin-top: 22px;
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--olive-deep);
  font-size: clamp(21px, 1.9vw, 27px);
  line-height: 1.2;
}
.principle p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 34ch;
}

/* ---------------------------------------------------------------- voices */
.voices {
  background: var(--sage-air);
  padding-block: var(--section);
}
.voices__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap);
  row-gap: clamp(44px, 6vw, 70px);
  align-items: center;
}
.voices__media {
  grid-column: 1 / span 4;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.voices__media img { width: 100%; height: 100%; object-fit: cover; }

.voices__body { grid-column: 6 / -1; }

.quotes {
  display: grid;
  margin-top: clamp(26px, 3.2vw, 44px);
}
.quote {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  pointer-events: none;
}
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quote p {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--olive-deep);
  font-size: clamp(21px, 2.4vw, 33px);
  line-height: 1.4;
  letter-spacing: -.004em;
  max-width: 28ch;
}
.quote footer {
  margin-top: clamp(22px, 2.6vw, 34px);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.quote__name {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--olive);
}
.quote__role {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-left: 14px;
  border-left: 1px solid var(--rule);
}

.quotes__nav {
  margin-top: clamp(34px, 4vw, 54px);
  display: flex;
  align-items: center;
  gap: 14px;
}
.qbtn {
  width: 46px; height: 46px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--ink-soft);
  transition: border-color .4s ease, color .4s ease, background .4s ease;
}
.qbtn:hover { border-color: var(--olive); color: var(--olive); background: rgba(79, 97, 65, .07); }
.quotes__count {
  margin-left: 10px;
  font-size: 10.5px;
  letter-spacing: .26em;
  color: var(--ink-faint);
}

/* ------------------------------------------------------------------- cta */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(96px, 14vw, 172px);
  color: var(--ink);
}
.cta::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  /* a soft sage close: a plain tint, no photograph behind it */
  background: linear-gradient(180deg, rgb(226, 231, 216), rgb(219, 224, 206));
}
.cta::after {
  content: "";
  position: absolute; top: 0; left: 50%;
  width: 54px; height: 1px;
  background: var(--gold);
  transform: translateX(-50%);
}

.cta__inner { display: grid; justify-items: center; }
.cta__title { max-width: 16ch; margin-top: clamp(22px, 2.6vw, 34px); }
.cta__title em { color: var(--gold-deep); }
.cta__lede {
  margin-top: clamp(18px, 2.2vw, 28px);
  max-width: 46ch;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------------- footer */
.site-footer {
  background: var(--cream-deep);
  padding-block: clamp(64px, 8vw, 104px) clamp(28px, 3vw, 40px);
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(44px, 6vw, 90px);
  padding-bottom: clamp(48px, 6vw, 78px);
}
.site-footer__brand img { width: clamp(140px, 15vw, 178px); height: auto; }
.site-footer__brand p {
  margin-top: 24px;
  max-width: 34ch;
  font-size: 14px;
  color: var(--ink-soft);
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.site-footer__cols h4 {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.site-footer__cols ul { margin-top: 18px; display: grid; gap: 11px; }
.site-footer__cols a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color .35s ease;
}
.site-footer__cols a:hover { color: var(--olive); }

.site-footer__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 30px;
  padding-top: clamp(22px, 2.6vw, 32px);
  border-top: 1px solid var(--rule);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--ink-faint);
}
.site-footer__base ul { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer__base a { transition: color .35s ease; }
.site-footer__base a:hover { color: var(--olive); }

/* ---------------------------------------------------------------- motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .95s var(--ease) var(--d, 0ms), transform .95s var(--ease) var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* The clip lives on the inner <picture>, never on `.media-reveal` itself: a
   clip-path on the observed element collapses its own intersection rect, so the
   IntersectionObserver never fires and it stays hidden forever. */
.media-reveal > picture { clip-path: inset(0 0 100% 0); transition: clip-path 1.25s var(--ease-out); }
.media-reveal img { transform: scale(1.08); transition: transform 1.9s var(--ease-out); }
.media-reveal.is-in > picture { clip-path: inset(0 0 0 0); }
.media-reveal.is-in img { transform: none; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .hero__title { grid-column: 1 / span 9; }
  .hero__aside { grid-column: 1 / span 7; padding-bottom: 0; }
  .rituals__head .display { grid-column: 1 / span 7; }
  .rituals__lede { grid-column: 1 / span 8; padding-bottom: 0; }
  .ritual-list { grid-column: 1 / span 7; }
  .ritual-stage { grid-column: 9 / -1; }
  .intro__body { grid-column: 7 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 82px; --header-h-sm: 68px; }

  .site-nav { display: none; }
  .site-header__end .btn--ghost { display: none; }
  .nav-toggle { display: block; }
  .brand img { height: 54px; }
  .is-stuck .brand img { height: 46px; }

  .hero__type { row-gap: 26px; }
  .hero__title { grid-column: 1 / -1; }
  .hero__aside { grid-column: 1 / -1; }
  .hero__aside p { max-width: 46ch; }
  .hero__stage { grid-template-columns: 1fr; min-height: 46vh; }
  .hero__media { grid-column: 1; }
  .hero__index { display: none; }
  .hero__stage > .scroll-cue { left: var(--pad); transform: none; }

  .intro__grid { grid-template-columns: 1fr; }
  .intro__media { grid-column: 1 / -1; width: 100%; max-width: 460px; justify-self: center; }
  .intro__body { grid-column: 1 / -1; padding-top: 0; }
  .intro__body .display { max-width: 22ch; }

  .rituals__grid { grid-template-columns: 1fr; }
  .ritual-list, .ritual-stage { grid-column: 1 / -1; }
  .ritual-stage { display: none; }
  .ritual > a { grid-template-columns: auto 1fr auto; gap: 18px; }
  .ritual__arrow { display: none; }
  .ritual__thumb {
    display: block;
    width: 74px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
  }
  .ritual__thumb picture { display: block; width: 100%; height: 100%; }
  .ritual__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .ritual.is-active .ritual__text,
  .ritual.is-active .ritual__idx { transform: none; }

  .principles__grid { grid-template-columns: 1fr; gap: 0; }
  .principle { padding-inline: 0; padding-block: clamp(28px, 5vw, 40px); }
  .principle:first-child { padding-block-start: 0; }
  .principle:last-child { padding-block-end: 0; }
  .principle + .principle { border-left: 0; border-top: 1px solid var(--rule); }
  .principle p { max-width: 46ch; }

  .voices__grid { grid-template-columns: 1fr; }
  .voices__media { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
  .voices__body { grid-column: 1 / -1; }
  .quote p { max-width: 30ch; }

  .site-footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .hero { padding-top: calc(var(--header-h) + 8px); }
  .hero__actions { gap: 16px 22px; }
  .hero__actions .btn { flex: 1 1 auto; }

  .eyebrow { font-size: 10px; letter-spacing: .22em; }

  .ritual > a { grid-template-columns: auto 1fr; row-gap: 16px; }
  .ritual__idx { grid-row: 1; }
  .ritual__text { grid-column: 2; }
  .ritual__thumb { grid-column: 2; width: 100%; aspect-ratio: 16 / 9; }


  .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 34px var(--gap); }
  .site-footer__base { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .media-reveal > picture { clip-path: none; }
  .media-reveal img { transform: none; }
  .scroll-cue span { animation: none; height: 100%; opacity: .5; }
}

/* ----------------------------------------------- parallax / reveal combo */
[data-parallax], [data-parallax-band] { will-change: transform; }
[data-parallax].reveal,
[data-parallax].reveal.is-in {
  transform: translate3d(0, var(--py, 0px), 0);
  transition: opacity .95s var(--ease) var(--d, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  [data-parallax], [data-parallax-band] { transform: none !important; }
}

/* =========================================================================
   Inner pages
   ========================================================================= */

/* ------------------------------------------------------------- page hero */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(52px, 8vh, 110px));
  padding-bottom: clamp(48px, 7vw, 92px);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap);
  row-gap: clamp(24px, 3vw, 40px);
  align-items: end;
}
.page-hero .eyebrow { grid-column: 1 / -1; }
.page-hero__title {
  grid-column: 1 / span 7;
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--olive-deep);
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.06;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.page-hero__title em { font-style: italic; color: var(--gold-deep); }
.page-hero__lede {
  grid-column: 9 / -1;
  color: var(--ink-soft);
  font-size: 15px;
  padding-bottom: .5em;
}

/* -------------------------------------------------------- generic section */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(64px, 9vw, 118px); }
.section--deep  { background: var(--cream-deep); }
.section--air   { background: var(--sage-air); }

.section__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap);
  row-gap: clamp(18px, 2.2vw, 28px);
  align-items: end;
  margin-bottom: clamp(44px, 5.5vw, 78px);
}
.section__head .eyebrow { grid-column: 1 / -1; }
.section__head .display { grid-column: 1 / span 6; }
.section__head .section__lede {
  grid-column: 8 / -1;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 46ch;
  padding-bottom: .4em;
}

/* ------------------------------------------- responsive column utilities */
/* Used inside .split for two-up text columns. These MUST be classes, not
   inline styles — an inline grid-column would beat the mobile media query
   below and leave the item stranded outside the single-column grid. */
.col-left  { grid-column: 1 / span 6; }
.col-right { grid-column: 8 / -1; }
@media (max-width: 900px) {
  .col-left, .col-right { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------- measures */
.measure    { max-width: 62ch; }
.measure--n { max-width: 54ch; }

/* ------------------------------------------------------------ split block */
.split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap);
  row-gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.split__media { grid-column: 1 / span 5; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body  { grid-column: 7 / -1; }
.split--flip .split__media { grid-column: 8 / -1; order: 2; }
.split--flip .split__body  { grid-column: 1 / span 6; order: 1; }

/* -------------------------------------------------------------- offerings */
.offering {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap);
  row-gap: clamp(28px, 4vw, 44px);
  align-items: start;
  padding-block: clamp(46px, 6vw, 82px);
  border-top: 1px solid var(--rule);
}
.offering:last-of-type { border-bottom: 1px solid var(--rule); }
.offering__idx {
  grid-column: 1 / span 1;
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--ink-faint);
  padding-top: .7em;
}
.offering__body { grid-column: 2 / span 6; }
.offering__media { grid-column: 9 / -1; overflow: hidden; aspect-ratio: 4 / 3; }
.offering__media img { width: 100%; height: 100%; object-fit: cover; }
/* the sapling sits in the upper half of its portrait photograph, above the stump */
.offering__media img[src*="sprout"] { object-position: 50% 42%; }

.offering__title {
  font-family: var(--f-display);
  color: var(--olive-deep);
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.14;
}
.offering__tag {
  display: block;
  margin-top: 10px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--olive);
}
.offering__body p { margin-top: 18px; color: var(--ink-soft); max-width: 54ch; }

.spec {
  margin-top: clamp(22px, 2.6vw, 32px);
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.spec div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13.5px;
}
.spec dt {
  flex: 0 0 152px;
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 3px;
}
.spec dd { margin: 0; color: var(--ink); }
.offering .btn { margin-top: clamp(24px, 3vw, 34px); }

/* --------------------------------------------------------------- pillars */
.pillars { display: grid; gap: 0; }
.pillar {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap);
  row-gap: 14px;
  align-items: start;
  padding-block: clamp(32px, 4vw, 52px);
  border-top: 1px solid var(--rule);
}
.pillar:last-child { border-bottom: 1px solid var(--rule); }
.pillar__idx {
  grid-column: 1 / span 1;
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--ink-faint);
  padding-top: .55em;
}
.pillar__title {
  grid-column: 2 / span 4;
  font-family: var(--f-display);
  color: var(--olive-deep);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.16;
}
.pillar__body { grid-column: 7 / -1; color: var(--ink-soft); max-width: 56ch; }
.pillar__body p + p { margin-top: .9em; }

/* ------------------------------------------------------------- the story */
.mandala { display: grid; gap: 0; margin-top: clamp(34px, 4vw, 52px); }
.mandala__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(18px, 2.4vw, 36px);
  align-items: baseline;
  padding-block: 20px;
  border-top: 1px solid var(--rule);
}
.mandala__step:last-child { border-bottom: 1px solid var(--rule); }
.mandala__key {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(19px, 1.9vw, 25px);
  color: var(--olive);
  min-width: 7.5ch;
}
.mandala__step p { color: var(--ink-soft); max-width: 52ch; }

/* ---------------------------------------------------------------- stories */
.stories { display: grid; gap: 0; }
.story {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap);
  row-gap: 18px;
  padding-block: clamp(38px, 5vw, 64px);
  border-top: 1px solid var(--rule);
  align-items: start;
}
.story:last-child { border-bottom: 1px solid var(--rule); }
.story__meta { grid-column: 1 / span 3; }
.story__kind {
  display: block;
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.story__name {
  display: block;
  margin-top: 10px;
  font-family: var(--f-display);
  font-size: clamp(20px, 1.9vw, 25px);
  color: var(--olive);
}
.story__body { grid-column: 5 / -1; }
.story__body p {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--olive-deep);
  font-size: clamp(18px, 1.75vw, 23px);
  line-height: 1.5;
  max-width: 40ch;
}

/* -------------------------------------------------------------------- faq */
.faq { display: grid; gap: 0; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(14px, 2vw, 28px);
  align-items: baseline;
  padding-block: clamp(19px, 2.1vw, 26px);
  cursor: pointer;
  list-style: none;
  transition: color .35s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--olive); }
.faq__idx { font-size: 11px; letter-spacing: .18em; color: var(--ink-faint); }
.faq__q {
  font-family: var(--f-display);
  color: var(--olive-deep);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.3;
}
.faq__sign {
  position: relative;
  width: 13px; height: 13px;
  flex: none;
  align-self: center;
}
.faq__sign::before, .faq__sign::after {
  content: "";
  position: absolute; inset: 50% 0 auto 0;
  height: 1px; background: var(--olive);
  transition: transform .4s var(--ease);
}
.faq__sign::after { transform: rotate(90deg); }
.faq details[open] .faq__sign::after { transform: rotate(0deg); }
.faq__a {
  /* indent to sit under the question text, clear of the index column */
  padding: 0 0 clamp(22px, 2.6vw, 30px) 44px;
  color: var(--ink-soft);
  max-width: 64ch;
}
.faq__a p + p { margin-top: .9em; }
.faq__a ul { margin-top: .7em; display: grid; gap: 7px; }
.faq__a li { padding-left: 20px; position: relative; }
.faq__a li::before {
  content: ""; position: absolute; left: 0; top: .78em;
  width: 9px; height: 1px; background: var(--gold);
}

/* ---------------------------------------------------------------- contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap);
  row-gap: clamp(46px, 6vw, 72px);
  align-items: start;
}
.contact-form { grid-column: 1 / span 7; }
.contact-side { grid-column: 9 / -1; }

.field { display: grid; gap: 9px; margin-bottom: clamp(22px, 2.6vw, 30px); }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-form);
  padding: 12px 2px;
  font-family: var(--f-sans);
  font-size: 16px;
  color: var(--ink);
  border-radius: 0;
  transition: border-color .35s ease;
}
.field textarea { resize: vertical; min-height: 108px; line-height: 1.7; }
.field select {
  appearance: none;
  cursor: pointer;
  padding-right: 34px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%2333352C' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 6px center / 14px 9px;
}
/* a required dropdown still on its prompt reads as a placeholder, not a choice */
.field select:invalid { color: var(--ink-faint-t); }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--olive);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint-t); }

.contact-side dl { display: grid; gap: 0; border-top: 1px solid var(--rule-form); }
.contact-side dl > div { padding: 17px 0; border-bottom: 1px solid var(--rule-form); }
.contact-side dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}
.contact-side dd { margin: 8px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink); }
/* the booking and Get Involved pages are read closely, so their notes and
   intro run at full ink rather than the site's softer secondary tone */
.contact-form .note, .contact-side .note { color: var(--ink); font-size: 15px; }
.contact-form .note strong, .contact-side .note strong { font-weight: 600; }
.page-hero--form .page-hero__lede { color: var(--ink); font-size: 16px; }
.contact-side a { color: var(--olive); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.contact-side a:hover { text-decoration-color: transparent; }

/* ------------------------------------------------------------------ notes */
.note {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 22px;
  margin-top: clamp(28px, 3.4vw, 42px);
  color: var(--ink-soft);
  font-size: 14px;
  max-width: 58ch;
}
.note strong { color: var(--ink); font-weight: 400; }

/* ------------------------------------------------------------------ legal */
.legal { max-width: 68ch; }
.legal h2 {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--olive-deep);
  font-size: clamp(23px, 2.2vw, 31px);
  line-height: 1.2;
  margin-top: clamp(40px, 4.6vw, 62px);
}
.legal h2:first-child { margin-top: 0; }
.legal p { margin-top: 1em; color: var(--ink-soft); }
.legal strong { color: var(--ink); font-weight: 500; }

/* the Rei-Ki band on About thins its veil so the hands and characters show
   through more; ink text still clears 7:1 over the lighter photograph */
.band--soft::before {
  background:
    radial-gradient(120% 90% at 50% 50%, rgba(253, 250, 244, .30) 0%, rgba(253, 250, 244, 0) 70%),
    linear-gradient(180deg, rgba(248, 241, 229, .74) 0%, rgba(237, 239, 230, .78) 100%);
}

/* the Purpose band on Giving Back shows its photograph untinted; a soft
   cream halo behind the lettering keeps the quote legible over the sky */
.band--vivid::before { background: none; }
.band--vivid .band__inner { text-shadow: 0 0 22px rgba(253, 250, 244, .9), 0 0 6px rgba(253, 250, 244, .7); }
/* over the untinted photograph the lettering runs bold so it holds its own */
.band--vivid .band__quote p { font-weight: 600; }
.band--vivid .eyebrow, .band--vivid .band__attr { font-weight: 600; color: var(--ink); }

/* the logo in place of a photograph — contained on cream, never cropped */
.split__media--logo { overflow: visible; display: grid; place-items: center; }
.split__media--logo img { width: min(100%, 440px); height: auto; object-fit: contain; }

/* a portrait subject (the stacked stones) that a 4:3 crop would cut in half */
.offering__media.offering__media--tall { aspect-ratio: 4 / 5; max-width: 460px; }
/* the stack sits high in the stones photograph; keep its top pebble in frame */
.offering__media--tall img { object-position: 50% 30%; }
/* the sunlit sprig hangs just right of centre in the upper half of its photograph */
.offering__media--tall img[src*="rain-leaves"] { object-position: 55% 32%; }

/* divider heading between the healing sessions and teaching on Services */
.offering-group { padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(20px, 2.4vw, 32px); }

/* the disclaimer should read as a quiet note, not a warning */
.page-hero--quiet .page-hero__title { font-size: clamp(32px, 3.8vw, 52px); }
.legal--quiet { font-size: 14.5px; }
.legal--quiet h2 { font-size: clamp(19px, 1.7vw, 23px); margin-top: clamp(28px, 3.2vw, 40px); }

/* ---------------------------------------------------------------- modal */
/* Native <dialog> opened with showModal(): Esc, focus handling and the
   backdrop come from the browser; this is only the look. */
.page-hero__cta { margin-top: 24px; }
.modal {
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(51, 53, 44, .28);
  overflow: auto;
  overscroll-behavior: contain;
}
.modal::backdrop { background: rgba(51, 53, 44, .5); backdrop-filter: blur(3px); }
/* hold the page still while a modal is open; lifts itself on any close */
html:has(dialog.modal[open]) { overflow: hidden; }
.modal[open] { animation: modal-in .4s var(--ease-out); }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px); } }
.modal__inner { position: relative; padding: clamp(28px, 4.4vw, 52px); }
.modal__close {
  position: absolute; top: 12px; right: 12px;
  width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
  font-size: 30px; line-height: 1; color: var(--ink);
}
.modal__close:hover { color: var(--olive); }
.modal__title {
  margin-top: 16px;
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--olive-deep);
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.1;
}
.modal__title em { font-style: italic; color: var(--gold-deep); }
.modal__lede { margin-top: 12px; max-width: 48ch; font-size: 15px; color: var(--ink); }
.req { color: var(--gold-deep); font-weight: 600; letter-spacing: 0; }
.modal__req { margin-top: 10px; font-size: 13px; color: var(--ink); }
.modal__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; margin-top: clamp(24px, 3vw, 34px); }
.modal__grid .field--wide { grid-column: 1 / -1; }
.modal .note { color: var(--ink); font-size: 14px; }
.modal .note strong { font-weight: 600; }
@media (max-width: 600px) { .modal__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .modal[open] { animation: none; } }

/* ------------------------------------------------------- nav active state */
.site-nav a[aria-current="page"] { color: var(--olive); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-panel a[aria-current="page"] { color: var(--olive); }

/* ------------------------------------------------------- expanded footer */
.site-footer__cols--4 { grid-template-columns: repeat(3, 1fr); }
.site-footer__cols address { font-style: normal; }
.site-footer__cols address a { display: block; }
.site-footer__legal {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.75;
  color: var(--ink-faint);
  max-width: 46ch;
}

/* ------------------------------------------------ inner-page responsive */
@media (max-width: 1100px) {
  .page-hero__title { grid-column: 1 / span 9; }
  .page-hero__lede  { grid-column: 1 / span 8; padding-bottom: 0; }
  .section__head .display { grid-column: 1 / span 7; }
  .section__head .section__lede { grid-column: 1 / span 8; padding-bottom: 0; }
  .offering__body { grid-column: 2 / span 7; }
  .offering__media { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .story__meta { grid-column: 1 / span 4; }
  .story__body { grid-column: 5 / -1; }
}

@media (max-width: 900px) {
  .page-hero { padding-top: calc(var(--header-h) + 46px); }
  .page-hero__title, .page-hero__lede { grid-column: 1 / -1; }
  .section__head .display, .section__head .section__lede { grid-column: 1 / -1; }

  .split, .offering, .pillar, .story, .contact-grid { grid-template-columns: 1fr; }
  .split__media, .split__body,
  .split--flip .split__media, .split--flip .split__body { grid-column: 1 / -1; order: 0; }
  .split__media { max-width: 460px; }

  .offering__idx { grid-column: 1 / -1; padding-top: 0; }
  .offering__body, .offering__media { grid-column: 1 / -1; }
  .pillar__idx, .pillar__title, .pillar__body { grid-column: 1 / -1; }
  .pillar__idx { padding-top: 0; }
  .story__meta, .story__body { grid-column: 1 / -1; }
  .contact-form, .contact-side { grid-column: 1 / -1; }
  .site-footer__cols--4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .site-footer__cols--4 { grid-template-columns: 1fr; gap: 34px; }
  .faq summary { gap: 12px; }
  .faq__a { padding-left: 0; }
  .spec dt { flex: 0 0 100%; }
  .story__body p { max-width: none; }
}
