/* ==========================================================================
   The Energetics of You — shared styles
   Scale and flow follow belleau.studio and its Mindful Men's Guild build
   (tag + two-line headline, card stacks, bands, closing band); the feel is
   softer: Cormorant display type with flowing italics, arches and domes,
   wave-edged sage bands, warm glows and slow, blurred motion.
   ========================================================================== */

:root {
  /* palette */
  --cream: #FEF1E1;
  --cream-hi: #FFF8EF;
  --cream-lo: #F8E3CF;
  --blush: #F4D6C6;
  --ink: #3A2A1F;
  --ink-2: #5A4636;
  --ink-3: #7F6655;
  --sage: #61826D;
  --green: #3B5245;
  --green-2: #4A6455;
  --clay: #B9573B;
  --clay-deep: #A84B30;
  --terracotta: #C75E3F;
  --gold: #E9A521;
  --peach: #E9B790;
  --line: rgba(168, 75, 48, 0.12);
  --line-2: rgba(168, 75, 48, 0.22);
  --on-dark: #FEF1E1;
  --on-dark-2: rgba(254, 241, 225, 0.84);
  --on-dark-3: rgba(254, 241, 225, 0.64);
  --dark-line: rgba(254, 241, 225, 0.16);
  --sunlit: linear-gradient(120deg, #FEF1E1 0%, #E9B790 50%, #E9A521 100%);
  --sunset: linear-gradient(120deg, #A84B30 0%, #C2603E 50%, #C9772F 100%);
  --sage-glow: linear-gradient(165deg, #61826D 0%, #4A6455 45%, #3B5245 100%);

  /* type */
  --font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --fs-micro: 11.5px;
  --fs-tag: 11.5px;
  --fs-small: 14px;
  --fs-body: 17px;
  --fs-prose: 17.5px;
  --fs-lead: clamp(19px, 1.5vw, 21px);
  --fs-h3: clamp(24px, 2vw, 28px);
  --fs-statement: clamp(30px, 3.5vw, 50px);
  --fs-h2: clamp(40px, 5.2vw, 74px);
  --fs-h1: clamp(48px, 6.4vw, 100px);

  /* layout */
  --container: 1360px;
  --pad: clamp(20px, 4vw, 48px);
  --inset: clamp(8px, 1.4vw, 20px);
  --section: clamp(88px, 10vw, 144px);
  --nav-h: 64px;
  --wave: clamp(34px, 5vw, 84px);
  --r-sm: 16px;
  --r-md: 26px;
  --r-lg: 34px;
  --r-xl: clamp(30px, 3.6vw, 52px);
  --arch: 999px 999px var(--r-lg) var(--r-lg);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --flow: cubic-bezier(0.45, 0, 0.2, 1);

  /* wave edges (used as masks) */
  --wave-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,64 C180,30 360,22 560,46 C760,70 960,92 1160,72 C1290,58 1380,40 1440,34 L1440,100 L0,100 Z'/%3E%3C/svg%3E");
  --wave-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,42 C1300,74 1140,86 940,64 C740,42 560,18 360,34 C220,46 100,66 0,58 Z'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--inset) * 2);
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* slow, warm light drifting behind the page */
body::before {
  content: '';
  position: fixed;
  inset: -20vmax;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38vmax 32vmax at 86% 12%, rgba(233, 183, 144, 0.30), transparent 70%),
    radial-gradient(34vmax 30vmax at 6% 88%, rgba(233, 165, 33, 0.12), transparent 70%),
    radial-gradient(30vmax 26vmax at 42% 52%, rgba(244, 214, 198, 0.30), transparent 70%);
  animation: drift 46s var(--flow) infinite alternate;
  will-change: transform;
}
@keyframes drift { to { transform: translate3d(3vmax, -2.5vmax, 0) rotate(5deg); } }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--peach); color: var(--ink); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--ink); color: var(--cream);
  font-size: var(--fs-small); padding: 10px 16px; border-radius: 100px;
  text-decoration: none; transition: top 0.2s;
}
.skip:focus { top: 12px; }

.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;
}

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

.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * 0.6) 0; }
.section--flush-top { padding-top: 0; }

/* ── Type ───────────────────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-tag);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay-deep);
  background: rgba(233, 183, 144, 0.22);
  padding: 7px 15px 7px 13px;
  border-radius: 100px;
  margin-bottom: clamp(20px, 2.4vw, 28px);
}
.tag::before {
  content: '';
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  background: currentColor;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: twinkle 5s var(--flow) infinite;
}
@keyframes twinkle { 0%, 100% { transform: scale(0.85) rotate(0deg); opacity: 0.75; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }
.tag__dot { display: none; }

.h1, .h2 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  text-wrap: balance;
}
.h1 { font-size: var(--fs-h1); line-height: 1; letter-spacing: -0.018em; }
.h2 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.014em; }
/* room below each line so Cormorant's long descenders (g, y, p) are never
   clipped when a line is filtered, animated or painted with gradient text */
.h1 .line, .h2 .line { display: block; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.soft {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  background: var(--sunset);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.06em 0.06em 0;
}
.accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(120deg, #B9573B 0%, #D7743A 55%, #E9A521 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 0.08em;
}
.h3 {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.lead {
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.standout {
  font-family: var(--serif);
  font-size: clamp(24px, 2.2vw, 30px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
  color: var(--clay-deep);
}
.prose p,
.prose li { font-size: var(--fs-prose); font-weight: 300; line-height: 1.8; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose em { font-style: italic; }
.prose a { color: var(--clay-deep); text-underline-offset: 3px; }
.aside-text { font-size: var(--fs-prose); font-weight: 300; line-height: 1.75; color: var(--ink-2); max-width: 30em; }
.small { font-size: var(--fs-small); line-height: 1.6; }
.micro {
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.num {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  color: var(--clay);
  font-variant-numeric: lining-nums;
}
.rule {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 15%, var(--line-2) 85%, transparent);
}

.statement {
  font-family: var(--serif);
  font-size: var(--fs-statement);
  font-style: italic;
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.01em;
  max-width: 26em;
  text-wrap: pretty;
}
.statement .soft { padding-bottom: 0; }

/* section heading block: tag + headline (+ aside on the right) */
.head { margin-bottom: clamp(40px, 5vw, 72px); }
.head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}
.head--split .aside-text { justify-self: end; }
.head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.head--center .aside-text { margin-top: 20px; max-width: 34em; }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 6px 6px 6px 24px;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  background: var(--clay);
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  box-shadow: 0 14px 34px -18px rgba(168, 75, 48, 0.7);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.btn:hover { background: var(--clay-deep); transform: translateY(-1px); box-shadow: 0 18px 40px -16px rgba(168, 75, 48, 0.75); }
.btn__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--clay-deep);
  transition: transform 0.6s var(--ease);
}
.btn__icon svg { width: 14px; height: 14px; }
.btn:hover .btn__icon { transform: translateX(2px); }
.btn:hover .btn__icon--out { transform: rotate(45deg); }

.btn--ghost { background: rgba(255, 248, 239, 0.6); color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn--ghost .btn__icon { background: var(--clay); color: #fff; }
.btn--ghost:hover { background: var(--cream-hi); border-color: var(--peach); box-shadow: 0 16px 36px -22px rgba(168, 75, 48, 0.5); }

.btn--light { background: var(--cream); color: var(--ink); box-shadow: 0 16px 40px -18px rgba(20, 30, 24, 0.6); }
.btn--light .btn__icon { background: var(--clay); color: #fff; }
.btn--light:hover { background: #fff; }

.btn--sm { min-height: 44px; padding: 4px 4px 4px 18px; font-size: 13.5px; gap: 12px; }
.btn--sm .btn__icon { width: 36px; height: 36px; }
.btn--block { width: 100%; justify-content: space-between; }

.btn:disabled,
.btn.is-disabled {
  background: var(--cream-lo);
  color: var(--ink-3);
  border-color: var(--line);
  box-shadow: none;
  cursor: not-allowed;
  padding-right: 24px;
  transform: none;
}

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--clay-deep);
  text-decoration: none; border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px; transition: border-color 0.3s;
}
.text-link:hover { border-color: var(--clay); }

/* ── Navigation ─────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: var(--inset);
  left: var(--inset);
  right: var(--inset);
  z-index: 100;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 7px 0 16px;
  border-radius: 100px;
  border: 1px solid transparent;
  background: rgba(254, 241, 225, 0);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav.is-scrolled,
.nav.is-open {
  background: rgba(255, 248, 239, 0.82);
  border-color: rgba(233, 183, 144, 0.4);
  box-shadow: 0 18px 44px -24px rgba(168, 75, 48, 0.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}
.brand__mark { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; }
.end .brand__mark { box-shadow: 0 0 0 1px var(--dark-line); }
.brand__word { display: flex; flex-direction: column; text-transform: uppercase; line-height: 1; text-align: left; }
.brand__word b { font-size: 12px; font-weight: 500; letter-spacing: 0.16em; }
.brand__word span { font-family: var(--serif); font-size: 15px; font-style: italic; font-weight: 500; letter-spacing: 0.02em; text-transform: none; margin-top: 3px; }

.nav__links { display: flex; gap: clamp(18px, 2.2vw, 34px); list-style: none; }
.nav__links a {
  position: relative;
  display: block;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.3s;
}
.nav__links a::after {
  content: '';
  position: absolute; left: 50%; bottom: -2px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--clay);
  transform: translateX(-50%) scale(0);
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }

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

.nav__toggle {
  display: none;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px 0 14px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(255, 248, 239, 0.6);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  cursor: pointer;
}
.nav__bars { position: relative; width: 16px; height: 8px; }
.nav__bars::before,
.nav__bars::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 1.5px;
  background: currentColor; border-radius: 2px;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav__bars::before { top: 0; }
.nav__bars::after { top: 6.5px; }
.nav.is-open .nav__bars::before { top: 3.25px; transform: rotate(45deg); }
.nav.is-open .nav__bars::after { top: 3.25px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  top: calc(var(--inset) + var(--nav-h) + 8px);
  left: var(--inset);
  right: var(--inset);
  z-index: 99;
  padding: 8px 22px 22px;
  background: var(--cream-hi);
  border: 1px solid rgba(233, 183, 144, 0.4);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 70px -30px rgba(168, 75, 48, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s;
}
.menu ul { list-style: none; margin-bottom: 18px; }
.menu li { border-bottom: 1px solid var(--line); }
.menu li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 2px;
  font-family: var(--serif);
  font-size: 28px; font-weight: 400;
  color: var(--ink); text-decoration: none;
}
.menu li a[aria-current="page"] { font-style: italic; color: var(--clay-deep); }
.menu li a .num { font-size: 16px; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; padding-top: clamp(124px, 13vw, 176px); }
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  will-change: transform;
}
.hero::before {
  width: clamp(240px, 34vw, 520px); height: clamp(240px, 34vw, 520px);
  top: 4%; right: 6%;
  background: radial-gradient(circle, rgba(233, 183, 144, 0.55), rgba(233, 183, 144, 0) 70%);
  animation: float-a 18s var(--flow) infinite alternate;
}
.hero::after {
  width: clamp(200px, 26vw, 400px); height: clamp(200px, 26vw, 400px);
  top: 18%; left: -4%;
  background: radial-gradient(circle, rgba(233, 165, 33, 0.22), rgba(233, 165, 33, 0) 70%);
  animation: float-b 22s var(--flow) infinite alternate;
}
@keyframes float-a { to { transform: translate3d(-40px, 30px, 0) scale(1.08); } }
@keyframes float-b { to { transform: translate3d(50px, -24px, 0) scale(0.94); } }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: end;
}
.hero__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; padding-bottom: 0.8vw; }
.hero__sub {
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 22em;
}
.hero__meta {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  font-size: var(--fs-small); color: var(--ink-2);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 14px; }
.hero__meta span + span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--peach); }
.hero__aside .hero__meta { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 15px; }
.hero__aside .hero__meta span::before,
.hero__aside .hero__meta span + span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--peach); }
.hero__aside .hero__meta span { gap: 12px; }
.hero__media {
  position: relative;
  margin: clamp(40px, 5vw, 72px) var(--inset) 0;
  height: clamp(340px, 62vw, 760px);
  max-height: 82vh;
  border-radius: 50% 50% var(--r-xl) var(--r-xl) / clamp(70px, 11vw, 200px) clamp(70px, 11vw, 200px) var(--r-xl) var(--r-xl);
  overflow: hidden;
  background: var(--cream-lo);
  box-shadow: 0 50px 90px -60px rgba(168, 75, 48, 0.5);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero--split .hero__media { border-radius: var(--arch); }

/* hero entrance: headline blurs into focus, media rises and settles.
   Only the start state is animated (fill: backwards). Once it finishes the
   element falls back to its normal style with no filter at all; a filter
   left in place, even blur(0), makes Safari clip descenders to the box. */
.js .hero__title .line,
.js .hero__tag,
.js .hero__aside {
  animation: focus-in 1.6s var(--ease) backwards;
}
.js .hero__tag { animation-delay: 0.05s; }
.js .hero__title .line:nth-child(1) { animation-delay: 0.15s; }
.js .hero__title .line:nth-child(2) { animation-delay: 0.32s; }
.js .hero__title .line:nth-child(3) { animation-delay: 0.49s; }
.js .hero__aside { animation-delay: 0.65s; }
.js .hero__media { animation: rise 1.9s var(--ease) 0.25s both; }
.js .hero__media img { animation: settle 2.6s var(--ease) 0.25s both; }

@keyframes focus-in { from { opacity: 0; filter: blur(14px); transform: translateY(12px); } }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.14); } to { transform: scale(1); } }

/* ── Cards & photos ─────────────────────────────────────────────────── */
.card {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(255, 245, 234, 0.92));
  border: 1px solid rgba(233, 183, 144, 0.36);
  border-radius: var(--r-lg);
  box-shadow: 0 34px 70px -48px rgba(168, 75, 48, 0.45);
}
.card__media {
  border-radius: calc(var(--r-lg) - 8px);
  background: radial-gradient(120% 90% at 50% 100%, #F5D3BC 0%, #FAE6D3 55%, #FDF1E4 100%);
  overflow: hidden;
}
.photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--cream-lo);
  box-shadow: 0 40px 80px -56px rgba(168, 75, 48, 0.55);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.arch, .photo.arch { border-radius: var(--arch); }
.circle { border-radius: 50%; aspect-ratio: 1; }

.badge-num {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFF4E8, #F6D9C2);
  font-family: var(--serif);
  font-size: 18px; font-style: italic; font-weight: 500; color: var(--clay-deep);
}

/* numbered card stack (sticky head on the left, cards on the right) */
.stack {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.stack__head { position: sticky; top: calc(var(--nav-h) + var(--inset) + 40px); }
.stack__head .aside-text { margin-top: 24px; }
.stack__list { list-style: none; display: grid; gap: 14px; }
.stack__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: clamp(22px, 2.6vw, 32px);
}
.stack__item:nth-child(even) { margin-left: clamp(0px, 3vw, 40px); }
.stack__item .h3 { margin: 6px 0 8px; }
.stack__item p { font-size: 16.5px; font-weight: 300; line-height: 1.75; color: var(--ink-2); }

/* two-column body under a soft rule */
.split-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 6vw, 112px);
  padding-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, var(--line-2), var(--line-2) 70%, transparent) 1;
}
.split-body > div > * + * { margin-top: 1.1em; }

/* ── Sage band with flowing wave edges ──────────────────────────────── */
.band {
  position: relative;
  padding: calc(var(--wave) + clamp(56px, 7vw, 104px)) 0;
  background: var(--sage-glow);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
  -webkit-mask:
    var(--wave-top) top / 100% var(--wave) no-repeat,
    linear-gradient(#000 0 0) center / 100% calc(100% - var(--wave) * 2 + 2px) no-repeat,
    var(--wave-bottom) bottom / 100% var(--wave) no-repeat;
  mask:
    var(--wave-top) top / 100% var(--wave) no-repeat,
    linear-gradient(#000 0 0) center / 100% calc(100% - var(--wave) * 2 + 2px) no-repeat,
    var(--wave-bottom) bottom / 100% var(--wave) no-repeat;
}
.band::before {
  content: '';
  position: absolute; inset: -10%; z-index: -1;
  background:
    radial-gradient(45% 50% at 85% 15%, rgba(233, 183, 144, 0.24), transparent 70%),
    radial-gradient(40% 45% at 10% 85%, rgba(233, 165, 33, 0.14), transparent 70%),
    radial-gradient(30% 35% at 50% 50%, rgba(254, 241, 225, 0.06), transparent 70%);
  animation: drift 30s var(--flow) infinite alternate;
  pointer-events: none;
  will-change: transform;
}
.band .h1, .band .h2, .band .h3, .band .lead { color: var(--on-dark); }
.band .standout { color: var(--peach); }
.band .soft,
.end .soft {
  background: var(--sunlit);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.band .tag,
.end .tag { color: var(--peach); background: rgba(254, 241, 225, 0.1); }
.band .prose p, .band .aside-text { color: var(--on-dark-2); }
.band .num { color: var(--peach); }
.band .split-body { border-image: linear-gradient(90deg, var(--dark-line), var(--dark-line) 70%, transparent) 1; }
.band .btn--ghost { color: var(--on-dark); background: rgba(254, 241, 225, 0.06); border-color: rgba(254, 241, 225, 0.32); }
.band .btn--ghost .btn__icon { background: var(--cream); color: var(--clay-deep); }
.band .btn--ghost:hover { background: rgba(254, 241, 225, 0.12); border-color: var(--on-dark-2); }

/* hairline list (used in bands and on cream) */
.lines { list-style: none; }
.lines > li { position: relative; padding: clamp(18px, 2vw, 26px) 0; }
.lines > li + li::before,
.lines > li:first-child::after,
.lines > li:last-child::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--line-2), var(--line-2) 70%, transparent);
}
.lines > li + li::before { top: 0; }
.lines > li:first-child::after { top: 0; }
.lines > li:last-child::after { bottom: 0; }
.band .lines > li + li::before,
.band .lines > li:first-child::after,
.band .lines > li:last-child::after { background: linear-gradient(90deg, var(--dark-line), var(--dark-line) 70%, transparent); }

/* ── Shared page sections ───────────────────────────────────────────── */
/* meet: lead | body | portrait under a soft rule */
.meet {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.78fr);
  gap: clamp(24px, 4.4vw, 72px);
  padding-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, var(--line-2), var(--line-2) 70%, transparent) 1;
  align-items: start;
}
.meet > div > * + * { margin-top: 1.1em; }
.meet__photo { aspect-ratio: 3 / 4.2; border-radius: var(--arch); }
.meet__photo img { object-position: top center; }

/* photo strip: a row of arches with tag captions */
.strip {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 1.05fr 1.15fr;
  gap: clamp(10px, 1.2vw, 16px);
  align-items: end;
  margin-top: clamp(48px, 6vw, 88px);
}
.strip figure {
  position: relative;
  height: clamp(260px, 32vw, 470px);
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--cream-lo);
  box-shadow: 0 40px 80px -56px rgba(168, 75, 48, 0.55);
}
.strip figure:nth-child(even) { height: clamp(230px, 28vw, 410px); }
.strip img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.strip figcaption {
  position: absolute; left: 50%; bottom: 14px; margin: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(255, 248, 239, 0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* two columns inside a band */
.band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 112px);
  align-items: start;
  margin-top: clamp(36px, 4.4vw, 64px);
}
.band__grid .lead { max-width: 24em; margin-bottom: 34px; font-weight: 300; }
.method > li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; }
.method .num { padding-top: 6px; font-size: 22px; }
.method p { margin-top: 6px; font-size: 16.5px; font-weight: 300; line-height: 1.75; color: var(--on-dark-2); }

/* start here: arched photo + numbered list + CTA */
.start {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 112px);
  align-items: center;
}
.start__figure { padding: 10px; border-radius: var(--arch); }
.start__figure .photo { aspect-ratio: 4 / 5; border-radius: 999px 999px calc(var(--r-lg) - 10px) calc(var(--r-lg) - 10px); box-shadow: none; }
.start__figure .photo img { object-position: top center; }
.start__figure figcaption {
  padding: 18px 18px 14px;
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink-2);
  text-align: center;
}
.start .h2 { margin-bottom: clamp(28px, 3vw, 40px); }
.start .lines { margin-bottom: 36px; }
.start .lines li {
  display: grid;
  grid-template-columns: 56px 1fr;
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.3;
}
.start .lines .num { padding-top: 4px; }

/* page header for text pages (blog, legal) */
.page-head { position: relative; padding-top: clamp(132px, 14vw, 190px); }
.page-head .h1 { max-width: 14em; }
.page-head .lead { margin-top: 24px; max-width: 34em; color: var(--ink-2); }

/* long-form article */
.article {
  max-width: 760px;
  margin: 0 auto;
}
.article .prose h2 {
  margin-top: 2em;
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.article .prose h2 + p { margin-top: 0.6em; }
.article .prose > h2:first-child { margin-top: 0; }

/* ── Accordion ──────────────────────────────────────────────────────── */
.acc { display: grid; gap: 10px; }
.acc__item {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(255, 245, 234, 0.92));
  border: 1px solid rgba(233, 183, 144, 0.36);
  border-radius: var(--r-md);
  transition: border-color 0.4s, box-shadow 0.5s var(--ease);
}
.acc__item.is-open { border-color: var(--peach); box-shadow: 0 30px 60px -44px rgba(168, 75, 48, 0.5); }
.acc__btn {
  width: 100%;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 14px 16px 24px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 23px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}
.acc__plus {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(233, 183, 144, 0.25);
  color: var(--clay-deep);
  transition: background-color 0.4s, color 0.4s, transform 0.6s var(--ease);
}
.acc__plus::before,
.acc__plus::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 12px; height: 1.5px;
  background: currentColor; border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.5s var(--ease);
}
.acc__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__item.is-open .acc__plus { background: var(--clay); color: #fff; transform: rotate(180deg); }
.acc__item.is-open .acc__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease);
}
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p {
  padding: 0 clamp(20px, 3vw, 64px) 26px 76px;
  font-size: 16.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-2);
}

/* ── Footer / closing band ──────────────────────────────────────────── */
.end {
  --wave: clamp(24px, 4vw, 72px);
  position: relative;
  margin-top: calc(var(--wave) * -0.2);
  background: var(--sage-glow);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
  -webkit-mask:
    var(--wave-top) top / 100% var(--wave) no-repeat,
    linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--wave) + 1px) no-repeat;
  mask:
    var(--wave-top) top / 100% var(--wave) no-repeat,
    linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--wave) + 1px) no-repeat;
}
.end::before {
  content: '';
  position: absolute; inset: -10%; z-index: -1;
  background:
    radial-gradient(50% 55% at 50% 10%, rgba(233, 183, 144, 0.26), transparent 70%),
    radial-gradient(35% 45% at 95% 95%, rgba(233, 165, 33, 0.12), transparent 70%);
  animation: drift 30s var(--flow) infinite alternate;
  pointer-events: none;
  will-change: transform;
}
.end__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: calc(var(--wave) + clamp(32px, 6vw, 112px)) var(--pad) clamp(32px, 5.6vw, 104px);
}
.end__cta .tag { margin-bottom: clamp(14px, 1.4vw, 22px); }
.end__cta .h2 { color: var(--on-dark); font-size: clamp(30px, 4.4vw, 66px); line-height: 1.06; max-width: 17em; }
.end__cta p {
  max-width: 32em;
  margin: clamp(14px, 1.4vw, 22px) 0 clamp(22px, 2.4vw, 36px);
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--on-dark-2);
}
.end__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  max-width: calc(var(--container) + var(--pad) * 2);
  margin: 0 auto;
  padding: clamp(18px, 2.2vw, 34px) var(--pad) clamp(20px, 2.6vw, 40px);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--dark-line) 15%, var(--dark-line) 85%, transparent) 1;
}
.end__bar .brand { color: var(--on-dark); }
.end__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px clamp(22px, 2.2vw, 34px); }
.end__nav a,
.end__legal a {
  font-size: clamp(13.5px, 1vw, 15px);
  color: var(--on-dark-2);
  text-decoration: none;
  transition: color 0.3s;
}
.end__nav a:hover,
.end__legal a:hover { color: var(--on-dark); }
.end__legal {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: clamp(12.5px, 0.9vw, 13.5px);
  color: var(--on-dark-3);
  text-align: right;
}
.end__legal a { white-space: nowrap; }
.end__social { display: inline-flex; align-items: center; gap: 8px; }
.end__social svg { width: 18px; height: 18px; }

/* ── Cookie notice ──────────────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  left: var(--inset);
  bottom: var(--inset);
  z-index: 200;
  width: min(420px, calc(100% - var(--inset) * 2));
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  background: var(--cream-hi);
  border: 1px solid rgba(233, 183, 144, 0.45);
  border-radius: var(--r-md);
  box-shadow: 0 30px 70px -30px rgba(168, 75, 48, 0.45);
}
#cookie-banner.is-visible { display: flex; }
#cookie-banner p { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
#cookie-banner p a { color: var(--clay-deep); text-underline-offset: 2px; }
.cookie-buttons { display: flex; gap: 8px; }
.cookie-buttons button {
  flex: 1;
  min-height: 42px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 100px;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
}
#cookie-accept { background: var(--clay); color: #fff; border: 1px solid transparent; }
#cookie-accept:hover { background: var(--clay-deep); }
#cookie-decline { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
#cookie-decline:hover { border-color: var(--peach); }

/* ── Lightbox (gallery pages) ───────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(40, 32, 24, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 100%); max-height: 86vh; border-radius: var(--r-md); object-fit: contain; }
.lightbox button {
  position: absolute;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(254, 241, 225, 0.3);
  background: rgba(254, 241, 225, 0.1);
  color: var(--cream);
  cursor: pointer;
}
.lightbox button svg { width: 20px; height: 20px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ── Reveal on scroll ───────────────────────────────────────────────── */
.js .reveal {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(26px);
  transition: opacity 1.3s var(--ease), transform 1.3s var(--ease), filter 1.3s var(--ease);
}
.js .reveal.is-in { opacity: 1; filter: none; transform: none; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav > nav { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__toggle { display: inline-flex; }
}

@media (max-width: 900px) {
  .hero__grid,
  .head--split,
  .stack,
  .split-body { grid-template-columns: 1fr; }
  .head--split .aside-text { justify-self: start; }
  .stack__head { position: static; }
  .stack__item:nth-child(even) { margin-left: 0; }
  .end__bar { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .end__legal { justify-self: center; align-items: center; text-align: center; }
  .acc__panel p { padding: 0 22px 22px 76px; }
  .meet { grid-template-columns: 1fr 1fr; }
  .meet__photo { grid-column: 1 / -1; max-width: 400px; }
  .strip { grid-template-columns: 1fr 1fr; }
  .band__grid, .start { grid-template-columns: 1fr; }
  .start__figure { max-width: 440px; }
}

@media (max-width: 600px) {
  .meet { grid-template-columns: 1fr; }
  .strip figure, .strip figure:nth-child(even) { height: 240px; }
  .start .lines li, .method > li { grid-template-columns: 44px 1fr; }
}

@media (max-width: 560px) {
  :root { --nav-h: 58px; }
  .nav { padding: 0 6px 0 12px; }
  .nav__cta { display: none; }
  .brand__mark { width: 28px; height: 28px; }
  .hero__media { height: clamp(320px, 100vw, 440px); border-radius: 50% 50% var(--r-lg) var(--r-lg) / 70px 70px var(--r-lg) var(--r-lg); }
  .acc__btn { grid-template-columns: 1fr auto; padding-left: 20px; }
  .acc__btn .num { display: none; }
  .acc__panel p { padding: 0 20px 22px; }
  .btn { white-space: normal; text-align: left; }
  .tag { letter-spacing: 0.1em; font-size: 10.5px; }
  .end__cta { padding-bottom: 28px; }
  .end__cta .btn { min-height: 46px; font-size: 14px; }
  .end__cta .btn .btn__icon { width: 36px; height: 36px; }
  .end__bar { gap: 12px; padding-top: 16px; }
  .end__nav { gap: 4px 16px; }
  .end__nav a { font-size: 13px; }
}

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