/* =========================================================
   Aligned & Becoming — mobile-first styles
   Breakpoints (aligned with Bootstrap 5):
     xs  < 576px   base / phones
     sm  ≥ 576px   large phones
     md  ≥ 768px   tablets
     lg  ≥ 992px   desktops
     xl  ≥ 1200px  wide desktops
   ========================================================= */

:root {
  /* Brand */
  --cream: #f7f3ea;
  --sage: #7a9478;
  --sage-soft: #d5e2d2;
  --gold: #c9a84a;
  --champagne: #b69f7d;
  --dusty-blue: #6f8fa8;
  --charcoal: #3a3d45;

  --background: var(--cream);
  --foreground: var(--charcoal);
  --muted: #ebe4d6;
  --muted-foreground: #6b6f79;
  --border: #e2d9c8;
  --ring: var(--dusty-blue);

  --shadow-soft: 0 10px 40px -20px rgba(58, 61, 69, 0.18);
  --shadow-card: 0 30px 80px -40px rgba(58, 61, 69, 0.35);

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;

  /* Layout tokens — xs (mobile) defaults */
  --page-gutter: 1.25rem;
  --header-height: 4.25rem;
  --scroll-offset: calc(var(--header-height) + 0.75rem);
  --section-y: 4.5rem;
  --hero-pad-top: 5.75rem;
  --hero-pad-bottom: 3rem;
  --body-size: 1.125rem;
  --nav-size: 1.05rem;
  --label-size: 0.9rem;
  --btn-size: 0.95rem;
  --title-hero: clamp(2.6rem, 10vw, 3.15rem);
  --title-section: clamp(2.35rem, 8vw, 2.85rem);
  --title-quote: clamp(1.45rem, 6vw, 1.7rem);
  --radius-media: 1.25rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

/* sm — large phones */
@media (min-width: 576px) {
  :root {
    --page-gutter: 1.5rem;
    --section-y: 5.5rem;
    --hero-pad-top: 6rem;
    --body-size: 1.125rem;
    --nav-size: 1rem;
    --label-size: 0.875rem;
    --btn-size: 0.9375rem;
    --title-hero: clamp(2.85rem, 8vw, 3.5rem);
    --title-section: clamp(2.5rem, 5vw, 2.9rem);
    --title-quote: clamp(1.55rem, 4vw, 1.8rem);
    --radius-media: 1.5rem;
  }
}

/* md — tablets / narrow windows — keep readable type + mobile menu until lg */
@media (min-width: 768px) {
  :root {
    --page-gutter: 2rem;
    --header-height: 4.75rem;
    --section-y: 7rem;
    --hero-pad-top: 7rem;
    --hero-pad-bottom: 4rem;
    --body-size: 1.125rem;
    --nav-size: 1rem;
    --label-size: 0.85rem;
    --btn-size: 0.9375rem;
    --title-hero: clamp(3rem, 6vw, 4rem);
    --title-section: clamp(2.5rem, 4vw, 3rem);
    --title-quote: clamp(1.5rem, 3vw, 1.85rem);
    --radius-media: 1.75rem;
  }
}

/* lg — desktops — horizontal nav; type stays comfortable */
@media (min-width: 992px) {
  :root {
    --page-gutter: 2.5rem;
    --header-height: 5rem;
    --section-y: 9rem;
    --body-size: 1.0625rem;
    --nav-size: 0.875rem;
    --label-size: 0.8rem;
    --btn-size: 0.875rem;
    --title-hero: clamp(3.5rem, 5vw, 4.5rem);
  }
}

/* xl — wide */
@media (min-width: 1200px) {
  :root {
    --page-gutter: 3rem;
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: var(--scroll-offset);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--body-size);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
.font-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.container-narrow {
  width: min(1120px, calc(100% - (var(--page-gutter) * 2)));
  margin-inline: auto;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  padding-top: var(--safe-top);
  transition: background-color 0.45s ease, border-color 0.45s ease, backdrop-filter 0.45s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: color-mix(in srgb, var(--background) 94%, transparent);
  backdrop-filter: blur(14px);
  border-bottom-color: color-mix(in srgb, var(--border) 70%, transparent);
}

.site-header .navbar {
  padding: 0;
  min-height: var(--header-height);
}

.site-nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: var(--header-height);
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.site-nav-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 1rem;
  width: 100%;
  min-height: calc(var(--header-height) - 0.7rem);
}

.navbar-brand {
  margin-right: 0;
  padding: 0;
  max-width: 100%;
}

.site-logo {
  height: 2.6rem;
  width: auto;
  max-width: min(11.5rem, 58vw);
  object-fit: contain;
}

@media (min-width: 576px) {
  .site-logo {
    height: 2.75rem;
  }
}

@media (min-width: 768px) {
  .site-logo {
    height: 3rem;
  }
}

.site-nav-link {
  font-size: var(--nav-size);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: color-mix(in srgb, var(--foreground) 80%, transparent) !important;
  padding: 0.85rem 0 !important;
}

@media (min-width: 992px) {
  .site-nav-inner {
    flex-wrap: nowrap;
  }

  .site-nav-bar {
    width: auto;
    flex: 0 0 auto;
  }

  .site-nav-link {
    letter-spacing: 0.2em;
    font-weight: 400;
    padding: 0.35rem 0 !important;
  }
}

.site-nav-link:hover,
.site-nav-link:focus {
  color: var(--foreground) !important;
}

.navbar-toggler {
  padding: 0.55rem;
  margin-right: -0.4rem;
  z-index: 2;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  transition: background-image 0.2s ease;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%233a3d45' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%233a3d45' stroke-linecap='round' stroke-width='2' d='M8 8l14 14M22 8L8 22'/%3e%3c/svg%3e");
}

/* Full-screen mobile menu */
@media (max-width: 991.98px) {
  .site-header.is-open {
    background: var(--background);
    border-bottom-color: transparent;
    height: 100svh;
    height: 100dvh;
    overflow: hidden;
  }

  .site-header.is-open .navbar {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .site-header.is-open .site-nav-inner {
    height: 100%;
    min-height: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    padding-bottom: calc(1.25rem + var(--safe-bottom));
  }

  .site-header.is-open .site-nav-bar {
    flex: 0 0 auto;
  }

  #mainNav.navbar-collapse {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
  }

  #mainNav.navbar-collapse.show,
  #mainNav.navbar-collapse.collapsing {
    border-top: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
    flex: 1 1 auto;
    min-height: 0;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
  }

  #mainNav .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 1.5rem 0 2rem;
    text-align: center;
  }

  #mainNav .nav-item {
    width: 100%;
  }

  #mainNav .site-nav-link {
    display: block;
    width: 100%;
    padding: 1.15rem 0.5rem !important;
    font-size: 1.2rem;
    letter-spacing: 0.18em;
    font-weight: 500;
  }

  #mainNav .nav-join {
    width: min(100%, 14rem);
    margin: 1.35rem auto 0;
    font-size: 0.95rem !important;
    min-height: 3rem;
    padding: 0.9rem 1.5rem !important;
  }

  body:has(.site-header.is-open) {
    overflow: hidden;
  }

  body:has(.site-header.is-open) main,
  body:has(.site-header.is-open) .site-footer {
    visibility: hidden;
  }
}

@media (max-width: 991.98px) and (prefers-reduced-motion: reduce) {
  #mainNav .nav-item {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 992px) {
  #mainNav.navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    width: auto;
    margin-left: auto;
  }
}

/* ---------- Buttons (spa / wellness) ---------- */
.btn.site-btn,
.site-btn,
.elegant-btn {
  --btn-radius: 0.4rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: var(--btn-radius);
  background: transparent;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: var(--btn-size);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  box-shadow: none;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.35s ease, color 0.35s ease;
  will-change: transform;
}

.site-btn-frame {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3rem;
  padding: 0.9rem 1.7rem;
  border-radius: var(--btn-radius);
  border: 1px solid rgba(122, 148, 120, 0.35);
  background: var(--sage);
  color: inherit;
  box-shadow: 0 6px 20px -14px rgba(58, 61, 69, 0.28);
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    color 0.35s ease;
}

.site-btn-label,
.site-btn-icon {
  position: relative;
}

.site-btn-icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: rgba(247, 243, 234, 0.88);
  transition: transform 0.35s ease, color 0.35s ease;
}

@media (min-width: 768px) {
  .site-btn-frame {
    min-height: 2.75rem;
    padding: 0.85rem 1.8rem;
  }
}

.btn.site-btn:hover,
.btn.site-btn:focus-visible,
.site-btn:hover,
.site-btn:focus-visible,
.elegant-btn:hover,
.elegant-btn:focus-visible {
  background: transparent;
  color: var(--cream);
  transform: translateY(-1px);
}

.btn.site-btn:hover .site-btn-frame,
.btn.site-btn:focus-visible .site-btn-frame,
.site-btn:hover .site-btn-frame,
.site-btn:focus-visible .site-btn-frame,
.elegant-btn:hover .site-btn-frame,
.elegant-btn:focus-visible .site-btn-frame {
  background: rgba(122, 148, 120, 0.62);
  border-color: rgba(182, 159, 125, 0.7);
  box-shadow:
    0 0 0 1px rgba(182, 159, 125, 0.4),
    0 0 8px rgba(122, 148, 120, 0.45),
    0 0 14px rgba(111, 143, 168, 0.28);
}

.btn.site-btn:hover .site-btn-icon,
.btn.site-btn:focus-visible .site-btn-icon,
.site-btn:hover .site-btn-icon,
.site-btn:focus-visible .site-btn-icon,
.elegant-btn:hover .site-btn-icon,
.elegant-btn:focus-visible .site-btn-icon {
  color: rgba(247, 243, 234, 0.95);
}

.btn.site-btn:focus-visible .site-btn-frame,
.site-btn:focus-visible .site-btn-frame,
.elegant-btn:focus-visible .site-btn-frame,
.site-btn-outline:focus-visible .site-btn-frame {
  outline: 2px solid rgba(111, 143, 168, 0.45);
  outline-offset: 3px;
}

.site-btn-sm .site-btn-frame {
  min-height: 2.45rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
  gap: 0.45rem;
}

@media (min-width: 992px) {
  .site-btn-sm .site-btn-frame {
    min-height: 2.3rem;
    padding: 0.5rem 1.1rem;
    font-size: 0.8rem;
  }
}

.site-btn-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: var(--btn-radius, 0.4rem);
  background: transparent;
  color: var(--sage);
  font-family: var(--font-sans);
  font-size: var(--btn-size);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  outline: none;
  user-select: none;
  transition: transform 0.35s ease, color 0.35s ease;
}

.site-btn-outline .site-btn-frame {
  border: 1px solid rgba(122, 148, 120, 0.55);
  background: transparent;
  color: var(--sage);
  box-shadow: none;
}

.site-btn-outline .site-btn-icon {
  color: var(--champagne);
}

.site-btn-outline:hover,
.site-btn-outline:focus-visible {
  background: transparent;
  color: var(--sage);
  transform: translateY(-1px);
}

.site-btn-outline:hover .site-btn-frame,
.site-btn-outline:focus-visible .site-btn-frame {
  background: rgba(122, 148, 120, 0.2);
  border-color: rgba(182, 159, 125, 0.75);
  box-shadow:
    0 0 0 1px rgba(122, 148, 120, 0.35),
    0 0 8px rgba(122, 148, 120, 0.4),
    0 0 14px rgba(111, 143, 168, 0.25);
}

.site-btn-outline:hover .site-btn-icon,
.site-btn-outline:focus-visible .site-btn-icon {
  color: var(--champagne);
}

.coming-soon {
  opacity: 0.9;
  pointer-events: none;
  cursor: default;
}

/* Flat primary chip (no frame structure) */
.coming-soon.site-btn {
  padding: 0.9rem 1.55rem;
  min-height: 3rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(122, 148, 120, 0.35);
  background: var(--sage);
  color: var(--cream);
  letter-spacing: 0.14em;
  box-shadow: 0 6px 20px -14px rgba(58, 61, 69, 0.28);
  transform: none;
}

@media (min-width: 768px) {
  .coming-soon.site-btn {
    min-height: 2.75rem;
    padding: 0.85rem 1.7rem;
  }
}

.text-link {
  font-size: var(--label-size);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  transition: color 0.25s ease;
}

@media (min-width: 768px) {
  .text-link {
    letter-spacing: 0.2em;
  }
}

.text-link:hover {
  color: var(--foreground);
}

/* ---------- Accents ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--label-size);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0;
}

@media (min-width: 768px) {
  .eyebrow {
    letter-spacing: 0.28em;
    font-weight: 500;
  }
}

.hairline {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  flex-shrink: 0;
}

@media (min-width: 576px) {
  .hairline {
    width: 48px;
  }
}

.brand-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
}

@media (min-width: 576px) {
  .brand-rule {
    gap: 0.75rem;
  }
}

.brand-rule-text {
  font-size: var(--label-size);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted-foreground);
  margin: 0;
}

@media (min-width: 768px) {
  .brand-rule-text {
    letter-spacing: 0.28em;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 575.98px) {
  .hero-bg {
    object-position: 55% center;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--background) 45%, transparent),
    color-mix(in srgb, var(--background) 22%, transparent),
    var(--background)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 48rem;
  padding: calc(var(--hero-pad-top) + var(--safe-top)) 0 var(--hero-pad-bottom);
}

.hero-emblem-host {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto 1.25rem;
}

.hero-emblem-svg {
  display: block;
  width: min(9.5rem, 42vw);
  height: auto;
  overflow: visible;
}

@media (min-width: 768px) {
  .hero-emblem-host {
    margin-bottom: 1.5rem;
  }

  .hero-emblem-svg {
    width: min(11.5rem, 28vw);
  }
}

/* Emblem: stroke draws the outlines; evenodd body fills only the letter bands */
.hero-emblem-svg .emblem-draw {
  fill: none;
  stroke: var(--champagne);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--len, 1000);
  stroke-dashoffset: var(--len, 1000);
  stroke-opacity: 1;
  animation: none;
}

.hero-emblem-svg .emblem-ring {
  stroke-width: 10;
}

/* Filled monogram with transparent A/B counters (evenodd) */
.hero-emblem-svg .emblem-body {
  fill: var(--champagne);
  fill-opacity: 0;
  stroke: none;
  fill-rule: evenodd;
  animation: none;
}

.hero-emblem-svg.is-ready .emblem-letter {
  animation:
    logo-draw var(--dur, 2.6s) cubic-bezier(0.37, 0, 0.63, 1) var(--delay, 0s) forwards,
    logo-stroke-fade var(--stroke-fade-dur, 0.85s) ease-out var(--stroke-fade-delay, 2.6s) forwards;
}

.hero-emblem-svg.is-ready .emblem-ring {
  animation:
    logo-draw var(--dur, 2.6s) cubic-bezier(0.37, 0, 0.63, 1) var(--delay, 0s) forwards,
    logo-fill-champagne var(--dur, 2.6s) cubic-bezier(0.37, 0, 0.63, 1) var(--delay, 0s) forwards,
    logo-stroke-fade var(--stroke-fade-dur, 0.85s) ease-out var(--stroke-fade-delay, 2.6s) forwards;
}

.hero-emblem-svg.is-ready .emblem-body {
  animation: logo-fill-champagne var(--dur, 2.6s) cubic-bezier(0.37, 0, 0.63, 1) var(--delay, 0s) forwards;
}

@keyframes logo-fill-champagne {
  0% {
    fill: var(--champagne);
    fill-opacity: 0;
  }
  55% {
    fill: var(--champagne);
    fill-opacity: 0;
  }
  100% {
    fill: var(--champagne);
    fill-opacity: 1;
  }
}

@keyframes logo-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes logo-stroke-fade {
  from {
    stroke-opacity: 1;
  }
  to {
    stroke-opacity: 0;
    stroke: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-emblem-svg .emblem-draw {
    animation: none !important;
    stroke-dashoffset: 0;
    stroke: none;
    stroke-opacity: 0;
  }

  .hero-emblem-svg .emblem-ring {
    fill: var(--champagne);
    fill-opacity: 1;
  }

  .hero-emblem-svg .emblem-body {
    animation: none !important;
    fill-opacity: 1;
  }
}

.hero-title {
  font-size: var(--title-hero);
  color: var(--foreground);
  margin: 0;
  line-height: 1;
}

.hero-title-host {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-title-fallback {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--title-hero);
  line-height: 1.05;
  color: var(--foreground);
}

/* Hero title SVG */
.hero-title-svg {
  display: block;
  width: min(100%, 38rem);
  height: auto;
  overflow: visible;
}

/* "Remember who you've been" — soft fade + slide (no stroke draw) */
.hero-title-svg .hero-fill-group {
  fill: var(--charcoal);
  opacity: 0;
  transform: translateY(12px);
}

.hero-title-svg .hero-draw-fill {
  fill: var(--charcoal);
  stroke: none;
}

.hero-title-svg.is-ready .hero-fill-group {
  animation: hero-title-rise 1s cubic-bezier(0.37, 0, 0.63, 1) var(--delay, 0.2s) forwards;
}

@keyframes hero-title-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* "always" — fill only (evenodd bodies, open a-counters); no stroke draw */
.hero-title-svg .always-letter {
  fill: none;
  stroke: none;
  visibility: hidden;
}

.hero-title-svg .always-body {
  fill: var(--sage);
  fill-opacity: 0;
  stroke: none;
  animation: none;
}

.hero-title-svg.is-ready .always-body {
  animation: logo-fill-sage var(--dur, 0.9s) cubic-bezier(0.37, 0, 0.63, 1) var(--delay, 0s) forwards;
}

@keyframes logo-fill-sage {
  0% {
    fill: var(--sage);
    fill-opacity: 0;
  }
  100% {
    fill: var(--sage);
    fill-opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title-svg .hero-fill-group {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .hero-title-svg .always-body {
    animation: none !important;
    fill-opacity: 1;
  }
}

.hero-lead {
  max-width: 36rem;
  font-size: 1.125rem;
  color: color-mix(in srgb, var(--foreground) 75%, transparent);
  line-height: 1.7;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .hero-lead {
    font-size: 1.125rem;
    margin-top: 2rem;
  }
}

@media (min-width: 992px) {
  .hero-lead {
    font-size: 1.2rem;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section-y) 0;
}

.section-soft {
  background: color-mix(in srgb, var(--sage-soft) 40%, transparent);
}

.section-title {
  font-size: var(--title-section);
  color: var(--foreground);
  margin: 0;
}

.section-copy {
  color: color-mix(in srgb, var(--foreground) 75%, transparent);
  line-height: 1.75;
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .section-copy {
    font-size: 1.0625rem;
  }
}

.section-copy p {
  margin-bottom: 1.25rem;
}

.section-copy p:last-child {
  margin-bottom: 0;
}

/* Stacked image/text rhythm on mobile */
@media (max-width: 767.98px) {
  #about .row {
    --bs-gutter-y: 2.5rem;
  }

  #about .section-title,
  .workbook-hero .section-title {
    text-wrap: balance;
  }
}

/* ---------- Workbook hero ---------- */
.workbook-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.workbook-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.workbook-hero picture {
  position: absolute;
  inset: 0;
  display: block;
}

.workbook-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 62%;
}

/* Soft left cream wash → clear image on the right (desktop) */
.workbook-hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    var(--background) 0%,
    var(--background) 22%,
    color-mix(in srgb, var(--background) 88%, transparent) 30%,
    color-mix(in srgb, var(--background) 40%, transparent) 38%,
    color-mix(in srgb, var(--background) 12%, transparent) 44%,
    transparent 50%
  );
}

.workbook-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  margin-inline: 0;
  padding-left: clamp(1.75rem, 5.5vw, 4.5rem);
  text-align: left;
}

.workbook-hero-copy-top {
  padding-top: calc(var(--section-y) * 0.85);
  padding-bottom: 0;
}

.workbook-hero-copy-bottom {
  padding-top: 0.85rem;
  padding-bottom: calc(var(--section-y) * 0.85);
}

@media (min-width: 992px) {
  .workbook-hero-content {
    max-width: 28rem;
    padding-left: clamp(2.5rem, 7vw, 5.5rem);
  }
}

.workbook-hero .section-copy {
  max-width: 26rem;
}

.workbook-hero .workbook-kicker {
  color: color-mix(in srgb, var(--foreground) 72%, transparent);
}

/* Mobile: full image height; title + bottom copy overlaid on the photo */
@media (max-width: 767.98px) {
  .workbook-hero {
    min-height: 0;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    align-items: stretch;
    justify-items: stretch;
    overflow: hidden;
  }

  .workbook-hero-media,
  .workbook-hero-copy-top,
  .workbook-hero-copy-bottom {
    grid-area: 1 / 1;
  }

  .workbook-hero-media {
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    height: auto;
    pointer-events: none;
  }

  .workbook-hero picture {
    position: relative;
    inset: auto;
    display: block;
  }

  .workbook-hero-bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center center;
  }

  /* Bottom cream wash behind copy + CTA; light top wash for title */
  .workbook-hero-overlay {
    background:
      linear-gradient(
        to bottom,
        color-mix(in srgb, var(--background) 78%, transparent) 0%,
        color-mix(in srgb, var(--background) 35%, transparent) 12%,
        transparent 28%
      ),
      linear-gradient(
        to top,
        var(--background) 0%,
        color-mix(in srgb, var(--background) 94%, transparent) 16%,
        color-mix(in srgb, var(--background) 62%, transparent) 34%,
        color-mix(in srgb, var(--background) 22%, transparent) 52%,
        transparent 68%
      );
  }

  .workbook-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    background: transparent;
    padding-left: clamp(1.75rem, 7vw, 2.25rem);
    padding-right: clamp(1.5rem, 6vw, 2rem);
    text-align: left;
  }

  .workbook-hero-copy-top {
    align-self: start;
    padding-top: calc(1.5rem + var(--safe-top));
    padding-bottom: 1.1rem;
  }

  .workbook-hero-copy-bottom {
    align-self: end;
    padding-top: 2.75rem;
    padding-bottom: calc(1.75rem + var(--safe-bottom));
  }

  .workbook-hero .eyebrow {
    margin-bottom: 0.7rem !important;
  }

  .workbook-hero .section-title {
    font-size: clamp(2.05rem, 8.5vw, 2.5rem);
    line-height: 1.12;
  }

  .workbook-hero .workbook-kicker {
    margin-top: 0.7rem !important;
  }

  .workbook-hero .section-copy {
    max-width: none;
    margin-top: 0;
    font-size: 1rem;
    line-height: 1.6;
  }

  .workbook-hero .feature-list {
    margin-top: 1rem !important;
    font-size: 0.98rem;
  }

  .workbook-hero .feature-list li {
    margin-bottom: 0.55rem;
  }

  .workbook-hero-cta {
    margin-top: 1.35rem;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    justify-content: flex-start;
  }
}

/* ---------- Meet Kim story slides ---------- */
.story-panel {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.85rem;
  min-height: min(68svh, 36rem);
}

@media (min-width: 768px) {
  .story-panel {
    gap: 1.1rem;
    min-height: min(70svh, 40rem);
  }
}

.story-slides {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  min-height: var(--story-slides-height, min(58svh, 32rem));
  height: var(--story-slides-height, auto);
  overflow: hidden;
}

@media (min-width: 768px) {
  .story-slides {
    min-height: var(--story-slides-height, min(62svh, 36rem));
  }
}

.story-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  padding-bottom: 0.35rem;
  box-sizing: border-box;
}

@media (max-width: 767.98px) {
  .story-panel {
    min-height: 0;
    align-items: flex-start;
    /* Solid fill while pinned so scrolled portrait doesn't show through */
    background: var(--background);
    width: 100%;
  }

  .story-slides {
    /* Prefer measured height; avoid a huge svh floor that fights pin fit */
    min-height: var(--story-slides-height, auto);
  }

  .story-slide {
    /* Parent .story-slides still clips crossfades; allow descenders room */
    overflow: visible;
    padding-bottom: 0.65rem;
  }

  .story-copy {
    font-size: 1.02rem;
    line-height: 1.62;
  }

  .story-copy p {
    margin-bottom: 0.65rem;
  }
}

.story-word {
  display: inline-block;
  will-change: transform, opacity;
  transform-origin: 50% 100%;
}

/* Before GSAP boots, only the first slide shows */
body:not(.story-ready) .story-slide:not(.is-active) {
  opacity: 0;
  visibility: hidden;
}

body:not(.story-ready) .story-slide.is-active {
  pointer-events: auto;
}

.story-slide.is-active {
  pointer-events: auto;
}

.story-copy {
  font-size: 1.05rem;
  line-height: 1.65;
}

@media (min-width: 768px) {
  .story-copy {
    font-size: 1.02rem;
  }
}

.story-copy p {
  margin-bottom: 0.7rem;
}

.story-copy p:last-child {
  margin-bottom: 0;
}

.story-signoff {
  margin-top: 1.25rem !important;
  font-style: italic;
}

.story-signoff-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--foreground);
  margin-bottom: 0.15rem !important;
}

.story-signoff-role {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--foreground) 65%, transparent);
}

.story-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  flex: 0 0 auto;
  align-self: flex-start;
  /* Sit beside the eyebrow / opening lines on mobile */
  padding: 0.35rem 0 0;
  margin-top: 0.15rem;
}

@media (min-width: 768px) {
  .story-progress {
    align-self: center;
    justify-content: center;
    padding: 0.25rem 0;
    margin-top: 0;
  }
}

.story-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--foreground) 22%, transparent);
  transition: background-color 0.3s ease, transform 0.3s ease, height 0.3s ease;
  cursor: pointer;
}

.story-dot:hover,
.story-dot:focus-visible {
  background: color-mix(in srgb, var(--dusty-blue) 70%, transparent);
  outline: none;
}

.story-dot.is-active {
  height: 1.35rem;
  background: var(--dusty-blue);
}

/* Reduced motion: stack all slides in normal flow */
@media (prefers-reduced-motion: reduce) {
  .story-panel {
    min-height: 0;
  }

  .story-slides {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }

  .story-slide {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    overflow: visible;
    inset: auto;
  }

  .story-progress {
    display: none;
  }
}

.portrait-wrap,
.workbook-wrap {
  position: relative;
  max-width: 28rem;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .portrait-wrap,
  .workbook-wrap {
    max-width: none;
    margin-inline: 0;
  }
}

.portrait-wrap::before {
  content: "";
  position: absolute;
  inset: -0.65rem;
  border-radius: calc(var(--radius-media) + 0.35rem);
  background: color-mix(in srgb, var(--sage-soft) 60%, transparent);
  transform: translate(0.55rem, 0.55rem);
  z-index: -1;
}

@media (min-width: 576px) {
  .portrait-wrap::before {
    inset: -1rem;
    transform: translate(0.85rem, 0.85rem);
  }
}

@media (min-width: 768px) {
  .portrait-wrap::before {
    inset: -1.5rem;
    transform: translate(1rem, 1rem);
  }
}

.workbook-wrap::before {
  content: "";
  position: absolute;
  inset: -0.75rem;
  border-radius: calc(var(--radius-media) + 0.5rem);
  background: var(--cream);
  z-index: -1;
}

@media (min-width: 576px) {
  .workbook-wrap::before {
    inset: -1.15rem;
  }
}

@media (min-width: 768px) {
  .workbook-wrap::before {
    inset: -1.5rem;
  }
}

.portrait-img,
.workbook-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-media);
  box-shadow: var(--shadow-card);
}

.workbook-kicker {
  font-size: var(--label-size);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0;
}

@media (min-width: 768px) {
  .workbook-kicker {
    letter-spacing: 0.24em;
  }
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: color-mix(in srgb, var(--foreground) 70%, transparent);
  font-size: 1.0625rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.feature-list li::before {
  content: "";
  width: 1.25rem;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .feature-list {
    font-size: 0.95rem;
  }

  .feature-list li::before {
    width: 1.5rem;
  }
}

/* ---------- Philosophy ---------- */
.philosophy {
  position: relative;
  overflow: hidden;
  padding: calc(var(--section-y) * 1.15) 0;
}

@media (min-width: 768px) {
  .philosophy {
    padding: calc(var(--section-y) * 1.25) 0;
  }
}

.philosophy-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.25;
}

.philosophy-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--background),
    color-mix(in srgb, var(--background) 70%, transparent),
    var(--background)
  );
}

.philosophy-content {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.philosophy-quotes {
  display: grid;
  gap: 1.75rem;
  font-family: var(--font-serif);
  font-size: var(--title-quote);
  line-height: 1.4;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .philosophy-quotes {
    gap: 2.5rem;
    line-height: 1.35;
  }
}

.philosophy-quotes em {
  font-style: italic;
  color: var(--sage);
}

/* ---------- Connect ---------- */
.connect-form {
  max-width: 28rem;
  width: 100%;
}

.field-label {
  font-size: var(--label-size);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--foreground) 60%, transparent);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .field-label {
    letter-spacing: 0.2em;
  }
}

.site-input {
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 0.95rem 1.2rem;
  /* ≥16px prevents iOS zoom on focus */
  font-size: 1.125rem;
  color: var(--foreground);
  box-shadow: none;
  min-height: 3.25rem;
}

@media (min-width: 768px) {
  .site-input {
    font-size: 1rem;
    min-height: 3rem;
    padding: 0.9rem 1.25rem;
  }
}

.site-input:focus {
  border-color: color-mix(in srgb, var(--ring) 50%, var(--border));
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--ring) 25%, transparent);
  background: var(--background);
  color: var(--foreground);
}

.connect-success {
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--sage) 30%, transparent);
  background: color-mix(in srgb, var(--sage-soft) 40%, transparent);
  padding: 1.5rem;
  max-width: 28rem;
  margin-inline: auto;
}

@media (min-width: 576px) {
  .connect-success {
    padding: 2rem;
  }
}

.connect-success-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--sage);
  margin: 0;
}

@media (min-width: 576px) {
  .connect-success-title {
    font-size: 1.75rem;
  }
}

.connect-success-copy {
  margin: 0.5rem 0 0;
  font-size: 1.0625rem;
  color: color-mix(in srgb, var(--foreground) 70%, transparent);
}

@media (min-width: 768px) {
  .connect-success-copy {
    font-size: 0.95rem;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  background: color-mix(in srgb, var(--sage-soft) 30%, transparent);
  padding: 2.75rem 0 calc(2.75rem + var(--safe-bottom));
}

@media (min-width: 768px) {
  .site-footer {
    padding: 3.5rem 0 calc(3.5rem + var(--safe-bottom));
  }
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  color: var(--foreground);
  margin: 0;
  text-wrap: balance;
}

.footer-copy {
  margin: 1rem auto 0;
  max-width: 28rem;
  font-size: 1.0625rem;
  color: color-mix(in srgb, var(--foreground) 60%, transparent);
}

@media (min-width: 768px) {
  .footer-copy {
    font-size: 0.95rem;
  }
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.social-link {
  color: color-mix(in srgb, var(--foreground) 60%, transparent);
  transition: color 0.25s ease;
  display: inline-flex;
  padding: 0.35rem;
}

.social-link:hover {
  color: var(--sage);
}

.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--foreground) 50%, transparent);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: left;
  }
}

.footer-bottom a {
  transition: color 0.25s ease;
}

.footer-bottom a:hover {
  color: var(--foreground);
}

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1.15rem, env(safe-area-inset-bottom, 0px));
  z-index: 1040;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--champagne) 45%, transparent);
  border-radius: 9999px;
  background: color-mix(in srgb, var(--background) 88%, transparent);
  color: var(--sage);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--foreground) 10%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover,
.scroll-top:focus-visible {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
  outline: none;
}

.scroll-top-glyph {
  display: block;
}

@media (min-width: 768px) {
  .scroll-top {
    right: max(1.5rem, env(safe-area-inset-right, 0px));
    bottom: max(1.75rem, env(safe-area-inset-bottom, 0px));
    width: 3rem;
    height: 3rem;
  }
}

/* ---------- Landscape phones ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  :root {
    --hero-pad-top: 4.5rem;
    --hero-pad-bottom: 2rem;
    --section-y: 3.5rem;
  }

  .hero {
    min-height: auto;
    padding-bottom: 2rem;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .site-header,
  .btn.site-btn,
  .site-btn,
  .site-btn-outline,
  .site-btn-frame,
  .site-btn-icon,
  .text-link,
  .social-link,
  .footer-bottom a,
  .scroll-top {
    transition: none;
  }

  .btn.site-btn:hover,
  .site-btn:hover,
  .site-btn-outline:hover,
  .elegant-btn:hover {
    transform: none;
  }
}
