/* =====================================================================
   PHASE — Pilates · Somatic Movement · Method™
   Cinematic, editorial, on-brand. Sage / Cream / Emerald-Forest.
   Author build: hand-tuned, dependency-light (GSAP enhancement only).
   ===================================================================== */

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

:root {
  /* Emerald / forest (from the brand mark) */
  --forest-deep: #0f1f18;
  --forest: #16302440;
  --forest-1: #163024;
  --forest-2: #1d4030;
  --emerald: #2f7d5b;
  --emerald-bright: #3aa57f;
  --emerald-deep: #1c5f47;

  /* Sage / olive (from IG editorial posts) */
  --sage: #8a9a5b;
  --sage-light: #a9b67f;
  --sage-dark: #6d7c46;

  /* Warm paper neutrals */
  --paper: #f5f0e4;
  --cream: #efe8d8;
  --sand: #e3d9c3;
  --off-white: #fbf9f3;

  /* Warm accent */
  --terracotta: #c2693c;
  --clay: #aa5f38;
  --terracotta-soft: #d98a5f;

  /* Ink */
  --ink: #18201a;
  --ink-soft: #2c352c;
  --muted: #6b7065;
  --muted-light: #9aa091;

  /* Semantic */
  --bg: var(--paper);
  --fg: var(--ink);

  /* Fluid type scale */
  --t-xs: clamp(0.72rem, 0.69rem + 0.14vw, 0.8rem);
  --t-sm: clamp(0.82rem, 0.79rem + 0.18vw, 0.94rem);
  --t-base: clamp(1rem, 0.96rem + 0.24vw, 1.15rem);
  --t-lg: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --t-xl: clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
  --t-2xl: clamp(2rem, 1.6rem + 1.8vw, 3.1rem);
  --t-3xl: clamp(2.6rem, 2rem + 3vw, 4.6rem);
  --t-4xl: clamp(3.2rem, 2.2rem + 4.8vw, 6.5rem);
  --t-5xl: clamp(4rem, 2.2rem + 8vw, 10rem);
  --t-mega: clamp(5rem, 1rem + 17vw, 18rem);

  /* Spacing rhythm */
  --section-y: clamp(5rem, 3rem + 9vw, 11rem);
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 4rem);
  --maxw: 1280px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);
  --dur: 0.8s;

  --radius: 18px;
  --radius-lg: 30px;
}

/* ---------------------------------------------------------------------
   1. Base
   --------------------------------------------------------------------- */
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 6rem;
}
html.has-smooth { scroll-behavior: auto; } /* Lenis/JS owns it if present */
html:not(.has-smooth) { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: var(--t-base);
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  /* Mobile: branded tap flash instead of the default blue, no text inflation */
  -webkit-tap-highlight-color: color-mix(in srgb, var(--sage) 30%, transparent);
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body.is-locked { overflow: hidden; }

/* Tappable elements: comfortable touch behaviour on mobile */
a, button, [role="button"], input, summary {
  -webkit-tap-highlight-color: color-mix(in srgb, var(--terracotta) 26%, transparent);
  touch-action: manipulation; /* removes the 300ms tap delay */
}

h1, h2, h3, h4, h5 {
  font-family: "Fraunces", ui-serif, Georgia, serif;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--emerald); color: var(--off-white); }

:focus-visible {
  outline: 2.5px solid var(--terracotta);
  outline-offset: 4px;
  border-radius: 3px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb {
  background: var(--sage-dark);
  border: 3px solid var(--cream);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--emerald-deep); }

/* Skip link */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  background: var(--forest-deep);
  color: var(--off-white);
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------------------------------------------------------------------
   2. Layout helpers
   --------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-wide { max-width: 1480px; }
.section { position: relative; padding-block: var(--section-y); }
.section-dark {
  background: var(--forest-deep);
  color: var(--paper);
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--off-white); }

/* Headings sitting on the dark brand sections must read light.
   (Base rule paints headings --ink; these sections need --off-white.) */
.hero h1,
.hero h2,
.hero__word,
.phases h2,
.phases h3,
.method h2,
.method h3,
.contact h2,
.contact h3 { color: var(--off-white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.36em;
  font-weight: 600;
  color: var(--sage-dark);
}
.section-dark .eyebrow { color: var(--sage-light); }
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow.center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.lede {
  font-size: var(--t-lg);
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.6;
}
.section-dark .lede { color: #c8d2c0; }

.serif { font-family: "Fraunces", serif; }
.italic { font-style: italic; }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }
.accent { color: var(--terracotta); }
.sage-text { color: var(--sage); }

/* ---------------------------------------------------------------------
   3. Brand textures
   --------------------------------------------------------------------- */
.quilt {
  background-image:
    repeating-linear-gradient(45deg, currentColor 0 1px, transparent 1px 54px),
    repeating-linear-gradient(-45deg, currentColor 0 1px, transparent 1px 54px);
}
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, currentColor 40%, transparent), transparent);
  border: 0;
}

/* Floating soft orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

/* ---------------------------------------------------------------------
   4. Buttons & links
   --------------------------------------------------------------------- */
.btn {
  --btn-fg: var(--off-white);
  --btn-bg: var(--forest-deep);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.05rem 2.3rem;
  border-radius: 999px;
  color: var(--btn-fg);
  background: var(--btn-bg);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), color 0.45s var(--ease);
}
.btn:hover, .btn:active { will-change: transform; }
.btn span { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 0.55rem; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--terracotta);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 22px 45px -22px rgba(194, 105, 60, 0.75); }
.btn:active { transform: scale(0.97); }

.btn-ghost {
  --btn-fg: var(--ink);
  background: transparent;
  border: 1.5px solid color-mix(in srgb, var(--ink) 30%, transparent);
}
.btn-ghost::before { background: var(--forest-deep); }
.btn-ghost:hover { --btn-fg: var(--off-white); border-color: transparent; }
.section-dark .btn-ghost { --btn-fg: var(--off-white); border-color: rgba(245,240,228,0.35); }
.section-dark .btn-ghost::before { background: var(--off-white); }
.section-dark .btn-ghost:hover { --btn-fg: var(--forest-deep); }

.btn-arrow svg { transition: transform 0.5s var(--ease); }
.btn-arrow:hover svg { transform: translateX(5px); }

.link-u {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}
.link-u::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------------------------------------------------------------------
   5. Preloader
   --------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--forest-deep);
  color: var(--off-white);
}
.preloader.is-done { pointer-events: none; }
.preloader__inner { text-align: center; overflow: hidden; }
.preloader__word {
  font-family: "Fraunces", serif;
  font-size: clamp(2.5rem, 10vw, 6rem);
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  display: flex;
  gap: 0;
  justify-content: center;
}
.preloader__word span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}
.preloader__bar {
  margin: 1.6rem auto 0;
  width: min(240px, 60vw);
  height: 2px;
  background: rgba(245, 240, 228, 0.18);
  overflow: hidden;
}
.preloader__bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--sage-light);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------------------------------------------------------------------
   6. Custom cursor (desktop, fine pointer only)
   --------------------------------------------------------------------- */
.cursor, .cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    position: fixed;
    top: 0; left: 0;
    width: 38px; height: 38px;
    border: 1.5px solid var(--emerald);
    border-radius: 50%;
    pointer-events: none;
    z-index: 900;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease), height 0.3s var(--ease),
                background 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s;
    mix-blend-mode: difference;
    display: block;
    will-change: transform;
  }
  .cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 5px; height: 5px;
    background: var(--terracotta);
    border-radius: 50%;
    pointer-events: none;
    z-index: 901;
    transform: translate(-50%, -50%);
    display: block;
    will-change: transform;
  }
  .cursor.is-hover {
    width: 70px; height: 70px;
    background: color-mix(in srgb, var(--emerald) 18%, transparent);
    border-color: transparent;
  }
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

/* ---------------------------------------------------------------------
   7. Scroll progress + nav
   --------------------------------------------------------------------- */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 80;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--emerald), var(--sage), var(--terracotta));
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 70;
  padding-block: clamp(1rem, 2vw, 1.6rem);
  transition: background 0.6s var(--ease), padding 0.6s var(--ease), box-shadow 0.6s var(--ease);
  --nav-fg: var(--off-white);
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  padding-block: 0.7rem;
  box-shadow: 0 14px 40px -32px rgba(15, 31, 24, 0.9);
  --nav-fg: var(--ink);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--nav-fg);
  transition: color 0.6s var(--ease);
}
.nav__badge {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 14px -6px rgba(0,0,0,0.5);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.4vw, 2.4rem);
}
.nav__links a {
  font-size: var(--t-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--nav-fg);
  transition: color 0.6s var(--ease), opacity 0.3s;
}
.nav__cta { display: inline-flex; }
.nav .btn {
  --btn-fg: var(--nav-fg);
  background: transparent;
  border: 1.5px solid color-mix(in srgb, var(--nav-fg) 40%, transparent);
  padding: 0.7rem 1.5rem;
}
.nav .btn::before { background: var(--terracotta); }
.nav .btn:hover { --btn-fg: var(--off-white); border-color: transparent; }
.nav.is-scrolled .btn { --btn-fg: var(--off-white); background: var(--forest-deep); border-color: transparent; }

.nav__toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  z-index: 75;
}
.nav__toggle span {
  position: absolute;
  left: 9px; right: 9px;
  height: 2px;
  background: var(--nav-fg);
  transition: transform 0.5s var(--ease), opacity 0.3s var(--ease), background 0.6s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 28px; }
.nav.is-open .nav__toggle span { background: var(--off-white); }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu — elevated editorial */
.menu {
  position: fixed;
  inset: 0;
  z-index: 65;
  background-color: var(--forest-deep);
  background-image:
    radial-gradient(120% 80% at 100% 0%, var(--forest-soft) 0%, transparent 60%);
  color: var(--off-white);
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path 0.75s var(--ease-inout);
  pointer-events: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); pointer-events: auto; }
.menu__bg {
  position: fixed; inset: 0;
  color: var(--sage);
  opacity: 0.07;
}
.menu__inner {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  /* center when content fits, scroll from top when it doesn't */
  justify-content: center;
  padding: calc(5.5rem + env(safe-area-inset-top)) clamp(1.6rem, 7vw, 3rem)
           calc(2.5rem + env(safe-area-inset-bottom));
  gap: clamp(1.1rem, 3.5vw, 2rem);
}
/* On short screens the menu content is taller than the viewport — anchor to
   the top so nothing is clipped, and let .menu scroll. */
@media (max-height: 740px) {
  .menu__inner { justify-content: flex-start; }
}
.menu__eyebrow {
  font-size: var(--t-xs);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--sage-light);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.menu.is-open .menu__eyebrow { opacity: 1; transform: none; transition-delay: 0.15s; }

.menu__list { position: relative; display: flex; flex-direction: column; }
.menu__list a {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 1rem;
  padding: clamp(0.7rem, 2.6vw, 1.05rem) 0;
  border-top: 1px solid rgba(245, 240, 228, 0.14);
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.4s var(--ease);
}
.menu__list a:last-child { border-bottom: 1px solid rgba(245, 240, 228, 0.14); }
.menu.is-open .menu__list a { opacity: 1; transform: none; }
.menu__num {
  font-family: "Fraunces", serif;
  font-size: var(--t-sm);
  color: var(--sage-light);
  font-feature-settings: "tnum";
  transition: color 0.4s var(--ease);
}
.menu__label {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 9vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.01em;
  transition: transform 0.45s var(--ease), font-style 0.2s;
  transform-origin: left center;
}
.menu__desc {
  grid-column: 2;
  font-size: var(--t-xs);
  letter-spacing: 0.04em;
  color: var(--muted-light);
  margin-top: 0.35rem;
  transition: color 0.4s var(--ease);
}
/* press / hover feedback */
.menu__list a:hover .menu__label,
.menu__list a:active .menu__label { font-style: italic; transform: translateX(0.5rem); color: var(--sage-light); }
.menu__list a:hover .menu__num,
.menu__list a:active .menu__num { color: var(--terracotta-soft); }

.menu__foot {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.menu.is-open .menu__foot { opacity: 1; transform: none; transition-delay: 0.55s; }
.menu__book { align-self: flex-start; background: var(--terracotta); }
.menu__book::before { background: var(--off-white); }
.menu__book:hover { color: var(--forest-deep); }
.menu__social { display: flex; gap: 0.7rem; }
.menu__social a {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 228, 0.22);
  color: var(--off-white);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.menu__social a svg { width: 19px; height: 19px; }
.menu__social a:hover { background: var(--sage); color: var(--forest-deep); transform: translateY(-3px); }
.menu__meta {
  color: var(--sage-light);
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
}

/* Staggered reveal for the list items */
.menu.is-open .menu__list a:nth-child(1) { transition-delay: 0.20s; }
.menu.is-open .menu__list a:nth-child(2) { transition-delay: 0.27s; }
.menu.is-open .menu__list a:nth-child(3) { transition-delay: 0.34s; }
.menu.is-open .menu__list a:nth-child(4) { transition-delay: 0.41s; }
.menu.is-open .menu__list a:nth-child(5) { transition-delay: 0.48s; }
.menu.is-open .menu__list a:nth-child(6) { transition-delay: 0.55s; }
.menu.is-open .menu__list a:nth-child(7) { transition-delay: 0.62s; }

/* Collapse the desktop nav into the hamburger menu on small screens. */
@media (max-width: 900px) {
  .nav__links,
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
}

/* ---------------------------------------------------------------------
   8. Hero
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--off-white);
  background:
    radial-gradient(120% 90% at 70% 10%, var(--emerald-bright) 0%, var(--emerald-deep) 38%, var(--forest-1) 72%, var(--forest-deep) 100%);
  isolation: isolate;
}
.hero__photo {
  position: absolute;
  inset: -8%;
  z-index: 0;
  background-image: url("../assets/img/studio.jpg");
  background-size: cover;
  background-position: center 40%;
  will-change: transform;
}
.hero__tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(125deg, rgba(18,46,34,0.92) 0%, rgba(20,48,36,0.78) 40%, rgba(28,95,71,0.55) 100%),
    radial-gradient(120% 90% at 70% 12%, rgba(58,165,127,0.35), transparent 55%);
  mix-blend-mode: multiply;
}
.hero__quilt {
  position: absolute;
  inset: -20%;
  color: rgba(245, 240, 228, 0.12);
  z-index: 2;
  will-change: transform;
}
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(120% 80% at 50% 120%, rgba(10,22,17,0.9), transparent 60%),
    linear-gradient(to bottom, rgba(10,22,17,0.55), transparent 22%, transparent 62%, rgba(10,22,17,0.72));
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
  padding-block: 8rem 6rem;
}
.hero__eyebrow {
  justify-content: center;
  color: var(--sage-light);
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
}
.hero__eyebrow::after {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.hero__word {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: var(--t-mega);
  line-height: 0.82;
  letter-spacing: 0.04em;
  text-indent: 0.04em;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 0.02em;
}
.hero__word .ch {
  display: inline-block;
  transform: translateY(120%);
}
.hero__breathe {
  display: inline-block;
  animation: breathe 8s var(--ease-inout) infinite;
}
.hero__tag {
  margin-top: clamp(1.2rem, 3vw, 2rem);
  font-size: var(--t-xl);
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.hero__tag b { font-style: normal; font-weight: 400; }
.hero__tag .dot { color: var(--sage-light); padding: 0 0.4em; }
.hero__sub {
  margin: clamp(1.4rem, 3vw, 2.2rem) auto 0;
  max-width: 52ch;
  color: #d6ddcf;
  font-size: var(--t-base);
}
.hero__cta {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .btn-primary {
  --btn-fg: var(--forest-deep);
  background: var(--off-white);
}
.hero .btn-primary::before { background: var(--terracotta); }
.hero .btn-primary:hover { --btn-fg: var(--off-white); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1.2rem, 3vh, 2.4rem);
  transform: translateX(-50%);
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  color: var(--sage-light);
  font-size: var(--t-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero__scroll i {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, transparent, currentColor 45%, transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute; inset: 0;
  background: currentColor;
  animation: scrollcue 2.4s var(--ease-inout) infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.94; }
  50% { transform: scale(1.035); opacity: 1; }
}
@keyframes scrollcue {
  0% { transform: translateY(-100%); }
  60% { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* ---------------------------------------------------------------------
   9. Marquee
   --------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  padding-block: clamp(1.1rem, 2.2vw, 1.8rem);
  background: var(--forest-deep);
  color: var(--paper);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 40s linear infinite;
}
.marquee.alt .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-inline: clamp(0.75rem, 1.5vw, 1.5rem);
  font-family: "Fraunces", serif;
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 300;
  white-space: nowrap;
}
.marquee__item .star { color: var(--terracotta-soft); font-style: normal; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------------------------------------------------------------------
   10. Reveal system
   --------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(38px);
  filter: blur(8px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
}
/* Promote to its own layer ONLY while still waiting to animate in; the
   observer removes .reveal-pending after it fires, dropping the layer. */
.js .reveal.reveal-pending { will-change: opacity, transform; }
.js .reveal.from-left { transform: translateX(-50px); }
.js .reveal.from-right { transform: translateX(50px); }
.js .reveal.from-scale { transform: scale(0.92); }
.reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
  filter: blur(0) !important;
}

/* line mask reveal */
.js .mask { overflow: hidden; }
.js .mask > * {
  display: block;
  transform: translateY(110%);
  transition: transform 1.05s var(--ease);
}
.mask.is-visible > * { transform: translateY(0); }

/* ---------------------------------------------------------------------
   11. Philosophy
   --------------------------------------------------------------------- */
.philosophy { background: var(--paper); position: relative; overflow: hidden; }
.philosophy .orb-1 { width: 460px; height: 460px; background: var(--sage); top: -120px; right: -120px; opacity: 0.28; }
.philosophy .orb-2 { width: 360px; height: 360px; background: var(--terracotta-soft); bottom: -140px; left: -100px; opacity: 0.16; }
.philosophy__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 920px) {
  .philosophy__grid { grid-template-columns: 1.25fr 0.9fr; }
}
.philosophy__statement {
  font-family: "Fraunces", serif;
  font-size: var(--t-3xl);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-block: 1.5rem 2rem;
}
.philosophy__statement em { font-style: italic; color: var(--terracotta); }
.philosophy__badge {
  position: relative;
  justify-self: center;
  width: min(360px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(15, 31, 24, 0.6);
}
.philosophy__badge img { width: 100%; height: 100%; object-fit: cover; }
.philosophy__badge .ring {
  position: absolute;
  inset: -22px;
  border: 1px dashed color-mix(in srgb, var(--sage-dark) 60%, transparent);
  border-radius: 50%;
  animation: spin 50s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------------
   12. The Phases (classes scrollytelling)
   --------------------------------------------------------------------- */
.phases { background: var(--forest-deep); color: var(--paper); position: relative; overflow: hidden; }
.phases__head { text-align: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.phases__head .eyebrow { justify-content: center; }
.phases__head h2 { font-size: var(--t-4xl); margin-top: 1rem; }

.phases__list { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.phase-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 3rem);
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  border: 1px solid rgba(245, 240, 228, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(245,240,228,0.04), rgba(245,240,228,0.01));
  overflow: hidden;
  transition: border-color 0.6s var(--ease), background 0.6s var(--ease), transform 0.6s var(--ease);
}
.phase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--accent2) 26%, transparent), transparent 55%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.phase-card:hover {
  border-color: color-mix(in srgb, var(--accent2) 55%, transparent);
  transform: translateY(-4px);
}
.phase-card:hover::before { opacity: 1; }
.phase-card > * { position: relative; z-index: 2; }
.phase-card__num {
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 300;
  line-height: 1;
  color: color-mix(in srgb, var(--accent2) 90%, white 0%);
  opacity: 0.85;
}
.phase-card__body h3 { font-size: var(--t-2xl); color: var(--off-white); margin-bottom: 0.4rem; }
.phase-card__tag {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sage-light);
  margin-bottom: 0.7rem;
}
.phase-card__body p { color: #c5cebf; max-width: 60ch; font-size: var(--t-base); }
.phase-card__arrow {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(245,240,228,0.25);
  display: grid;
  place-items: center;
  color: var(--paper);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease);
  flex-shrink: 0;
}
.phase-card:hover .phase-card__arrow {
  background: var(--accent2);
  color: var(--forest-deep);
  transform: rotate(45deg);
}
@media (max-width: 680px) {
  .phase-card { grid-template-columns: auto 1fr; }
  .phase-card__arrow { display: none; }
}

/* ---------------------------------------------------------------------
   13. Schedule
   --------------------------------------------------------------------- */
.schedule { background: var(--cream); position: relative; }
.schedule__head { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.schedule__head h2 { font-size: var(--t-3xl); }
.week {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(0.7rem, 1.5vw, 1.1rem);
}
.day {
  position: relative;
  background: var(--off-white);
  border: 1px solid color-mix(in srgb, var(--sage-dark) 22%, transparent);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  min-height: 190px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  overflow: hidden;
}
.day:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -30px rgba(15, 31, 24, 0.4);
  border-color: var(--emerald);
}
.day__name {
  font-family: "Fraunces", serif;
  font-size: var(--t-lg);
  margin-bottom: 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid color-mix(in srgb, var(--sage-dark) 22%, transparent);
}
.day__cls { display: grid; gap: 0.55rem; }
.slot {
  position: relative;
  display: grid;
  gap: 0.1rem;
  padding: 0.6rem 0.75rem 0.6rem 1.1rem;
  border-radius: 11px;
  background: color-mix(in srgb, var(--sage) 14%, transparent);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.slot::before {
  content: "";
  position: absolute;
  left: 0.5rem; top: 0.7rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c, var(--sage));
}
.day:hover .slot { background: color-mix(in srgb, var(--c, var(--sage)) 18%, transparent); }
.slot__time {
  font-size: var(--t-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.slot__name { font-size: var(--t-sm); color: var(--ink-soft); font-weight: 500; }
.day--rest { display: flex; flex-direction: column; }
.day--rest .day__name { border-bottom-color: transparent; margin-bottom: 0; }
.day__rest {
  margin: auto 0;
  text-align: left;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: var(--t-base);
  color: var(--muted-light);
}
.schedule__note {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 2rem;
  justify-content: space-between;
  padding: 1.6rem 1.8rem;
  background: var(--forest-deep);
  color: var(--paper);
  border-radius: var(--radius);
}
.schedule__note p { color: #cdd6c7; max-width: 52ch; }
.legend { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; margin-top: 1.6rem; }
.legend span { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--t-sm); color: var(--muted); }
.legend i { width: 12px; height: 12px; border-radius: 50%; }

/* ---------------------------------------------------------------------
   14. Pricing / offerings
   --------------------------------------------------------------------- */
.pricing { background: var(--paper); }
.pricing__head { text-align: center; max-width: 60ch; margin: 0 auto clamp(3rem, 6vw, 4.5rem); }
.pricing__head h2 { font-size: var(--t-3xl); margin: 1rem 0; }
.pricing__head p { color: var(--muted); margin-inline: auto; }
.offers { display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); grid-template-columns: 1fr; }
@media (min-width: 760px) { .offers { grid-template-columns: 1fr 1fr; } }
.offer {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border: 1px solid color-mix(in srgb, var(--sage-dark) 20%, transparent);
  overflow: hidden;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.offer:hover { transform: translateY(-8px); box-shadow: 0 36px 70px -40px rgba(15,31,24,0.45); }
.offer__texture {
  position: absolute;
  inset: 0;
  color: var(--sage);
  opacity: 0.06;
  z-index: 0;
}
.offer > * { position: relative; z-index: 1; }
.offer.featured {
  background: linear-gradient(150deg, var(--forest-1), var(--forest-deep));
  color: var(--paper);
  border-color: transparent;
}
.offer.featured h3, .offer.featured .offer__price { color: var(--off-white); }
.offer.featured p { color: #cdd6c7; }
.offer.featured .offer__texture { color: var(--sage-light); opacity: 0.12; }
.offer__badge {
  position: absolute;
  top: 1.4rem; right: 1.4rem;
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--off-white);
  z-index: 2;
}
.offer h3 { font-size: var(--t-2xl); margin-bottom: 0.5rem; }
.offer__sub { font-size: var(--t-sm); text-transform: uppercase; letter-spacing: 0.18em; color: var(--sage-dark); margin-bottom: 1.4rem; }
.offer.featured .offer__sub { color: var(--sage-light); }
.offer__list { display: grid; gap: 0.8rem; margin: 1.5rem 0; }
.offer__list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.offer__list svg { flex-shrink: 0; margin-top: 0.3rem; color: var(--emerald); }
.offer.featured .offer__list svg { color: var(--sage-light); }
.offer__price { font-family: "Fraunces", serif; font-size: var(--t-xl); margin: 1.2rem 0 0.4rem; }
.offer__price small { font-size: var(--t-sm); font-family: "Hanken Grotesk", sans-serif; color: var(--muted); }

/* ---------------------------------------------------------------------
   15. Method™ (certification)
   --------------------------------------------------------------------- */
.method { background: var(--forest-deep); color: var(--paper); position: relative; overflow: hidden; }
.method .orb-1 { width: 500px; height: 500px; background: var(--emerald); top: -160px; left: -120px; opacity: 0.22; }
.method__head { position: relative; z-index: 2; max-width: 70ch; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.method__head h2 { font-size: var(--t-4xl); margin: 1rem 0; }
.method__head .trademark { font-size: 0.4em; vertical-align: super; color: var(--sage-light); }
.levels { position: relative; z-index: 2; display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 860px) { .levels { grid-template-columns: repeat(3, 1fr); } }
.level {
  position: relative;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(245,240,228,0.05), rgba(245,240,228,0.015));
  border: 1px solid rgba(245,240,228,0.14);
  transition: transform 0.6s var(--ease), border-color 0.6s var(--ease);
  overflow: hidden;
}
.level:hover { transform: translateY(-6px); border-color: var(--sage); }
.level__step {
  font-size: var(--t-xs);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sage-light);
}
.level__num {
  font-family: "Fraunces", serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 300;
  line-height: 1;
  margin: 0.4rem 0 1rem;
  background: linear-gradient(135deg, var(--sage-light), var(--emerald-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.level h3 { font-size: var(--t-xl); color: var(--off-white); margin-bottom: 0.7rem; }
.level p { color: #c5cebf; font-size: var(--t-base); }
.level__line {
  position: absolute;
  left: 0; bottom: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--sage), var(--emerald-bright));
  transition: width 0.8s var(--ease);
}
.level:hover .level__line { width: 100%; }
.method__cta { position: relative; z-index: 2; margin-top: clamp(2.5rem, 5vw, 4rem); display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; }

/* ---------------------------------------------------------------------
   16. About Elise
   --------------------------------------------------------------------- */
.about { background: var(--cream); position: relative; overflow: hidden; }
.about__grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 920px) { .about__grid { grid-template-columns: 0.85fr 1.15fr; } }
.about__portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(150deg, var(--emerald-deep), var(--forest-1));
  box-shadow: 0 40px 80px -44px rgba(15,31,24,0.6);
}
.about__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.about__caption {
  position: absolute;
  z-index: 2;
  left: 1.1rem;
  bottom: 1.1rem;
  font-size: var(--t-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--off-white);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(10,22,17,0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.about__portrait .ph-slot { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: rgba(245,240,228,0.7); }
.about__portrait .quilt { position: absolute; inset: 0; color: rgba(245,240,228,0.12); }
.about__portrait .ph-slot span { font-size: var(--t-sm); letter-spacing: 0.2em; text-transform: uppercase; }
.about__portrait .ph-slot .serif { font-size: var(--t-2xl); margin-bottom: 0.4rem; }
.about h2 { font-size: var(--t-3xl); margin: 1rem 0 0.4rem; }
.about__role { font-size: var(--t-sm); letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: 1.6rem; }
.about p + p { margin-top: 1.1rem; }
.about__creds { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }
.about__creds span {
  font-size: var(--t-sm);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--off-white);
  border: 1px solid color-mix(in srgb, var(--sage-dark) 24%, transparent);
  color: var(--ink-soft);
}

/* ---------------------------------------------------------------------
   17. Gallery
   --------------------------------------------------------------------- */
.gallery { background: var(--paper); }
.gallery__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.gallery__head h2 { font-size: var(--t-3xl); margin-top: 1rem; }
.grid-gallery {
  display: grid;
  gap: clamp(0.7rem, 1.5vw, 1.1rem);
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
}
@media (min-width: 760px) { .grid-gallery { grid-template-columns: repeat(4, 1fr); } }
.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--emerald-deep), var(--forest-1));
  aspect-ratio: 1;
}
.tile .quilt { position: absolute; inset: 0; color: rgba(245,240,228,0.1); transition: transform 1.2s var(--ease); }
.tile:hover .quilt { transform: scale(1.12) rotate(3deg); }
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
}
.tile:hover img { transform: scale(1.06); }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,17,0.45), transparent 45%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  z-index: 1;
}
.tile:hover::after { opacity: 1; }
.tile__ig {
  position: absolute;
  z-index: 2;
  right: 0.9rem;
  bottom: 0.9rem;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(250,249,243,0.16);
  backdrop-filter: blur(4px);
  color: var(--off-white);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.tile:hover .tile__ig { opacity: 1; transform: translateY(0); }
.tile span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(245,240,228,0.55);
  font-family: "Fraunces", serif;
  font-size: var(--t-lg);
  letter-spacing: 0.2em;
}
.tile.tall { aspect-ratio: 1; }
@media (min-width: 760px) {
  .tile.tall { grid-row: span 2; aspect-ratio: 1/2; }
  .tile.wide { grid-column: span 2; aspect-ratio: 2/1; }
}

/* ---------------------------------------------------------------------
   18. Contact
   --------------------------------------------------------------------- */
.contact { background: var(--forest-deep); color: var(--paper); position: relative; overflow: hidden; }
.contact__quilt { position: absolute; inset: -10%; color: rgba(245,240,228,0.06); z-index: 0; }
.contact .orb-1 { width: 480px; height: 480px; background: var(--terracotta); bottom: -180px; right: -120px; opacity: 0.18; }
.contact__inner { position: relative; z-index: 2; text-align: center; }
.contact h2 { font-size: var(--t-4xl); margin: 1rem 0; }
.contact__lede { color: #cdd6c7; max-width: 54ch; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.contact__methods {
  display: grid;
  gap: clamp(0.8rem, 2vw, 1.2rem);
  grid-template-columns: 1fr;
  max-width: 880px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 680px) { .contact__methods { grid-template-columns: repeat(2, 1fr); } }
.cmethod {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid rgba(245,240,228,0.16);
  background: rgba(245,240,228,0.03);
  text-align: left;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.cmethod:hover { background: rgba(245,240,228,0.07); border-color: var(--sage); transform: translateY(-4px); }
.cmethod__ic {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--sage) 20%, transparent);
  color: var(--sage-light);
  flex-shrink: 0;
}
.cmethod__t small { display: block; font-size: var(--t-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-light); }
.cmethod__t strong { font-weight: 500; font-size: var(--t-lg); color: var(--off-white); }
.contact__map {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245,240,228,0.16);
  box-shadow: 0 40px 80px -50px rgba(0,0,0,0.7);
}
.contact__map iframe { width: 100%; height: 360px; border: 0; display: block; filter: grayscale(0.3) contrast(1.05); }
.map-facade {
  position: relative;
  width: 100%;
  height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  color: var(--paper);
  background: linear-gradient(150deg, var(--emerald-deep), var(--forest-1) 70%, var(--forest-deep));
  overflow: hidden;
  cursor: pointer;
}
.map-facade__quilt {
  position: absolute;
  inset: -10%;
  color: rgba(245, 240, 228, 0.1);
  transition: transform 1.2s var(--ease);
}
.map-facade:hover .map-facade__quilt { transform: scale(1.08) rotate(2deg); }
.map-facade__pin {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(245, 240, 228, 0.1);
  color: var(--sage-light);
}
.map-facade__pin::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--sage-light);
  animation: pulsering 2.6s var(--ease-inout) infinite;
}
@keyframes pulsering {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.8); opacity: 0; }
}
.map-facade__t { position: relative; z-index: 1; display: grid; gap: 0.3rem; }
.map-facade__t strong { font-family: "Fraunces", serif; font-size: var(--t-lg); color: var(--off-white); }
.map-facade__t small {
  font-size: var(--t-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-light);
}
.map-facade:hover .map-facade__t small { color: var(--off-white); }

/* ---------------------------------------------------------------------
   19. Footer
   --------------------------------------------------------------------- */
.footer { background: #0a1611; color: var(--paper); padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem; }
.footer__top { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__brand .word {
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: 0.3em;
  text-indent: 0.3em;
}
.footer__brand p { color: #9fae9b; max-width: 38ch; margin-top: 1rem; }
.footer__col h4 { font-size: var(--t-sm); text-transform: uppercase; letter-spacing: 0.2em; color: var(--sage-light); margin-bottom: 1.2rem; font-family: "Hanken Grotesk", sans-serif; }
.footer__col ul { display: grid; gap: 0.7rem; }
.footer__col a { color: #c2cdba; transition: color 0.3s; }
.footer__col a:hover { color: var(--off-white); }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.8rem;
  border-top: 1px solid rgba(245,240,228,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  color: #8b9a87;
  font-size: var(--t-sm);
}
.footer__bottom a { color: #8b9a87; }
.footer__social { display: flex; gap: 0.8rem; }
.footer__social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(245,240,228,0.2);
  display: grid; place-items: center;
  color: var(--paper);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.footer__social a:hover { background: var(--sage); color: var(--forest-deep); transform: translateY(-3px); }

/* ---------------------------------------------------------------------
   20. Policy pages
   --------------------------------------------------------------------- */
.policy { padding-top: clamp(8rem, 14vw, 11rem); padding-bottom: var(--section-y); background: var(--paper); min-height: 100vh; }
.policy__hero { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.policy__hero .eyebrow { margin-bottom: 1rem; }
.policy__hero h1 { font-size: var(--t-4xl); }
.policy__body { max-width: 760px; }
.policy__body h2 { font-size: var(--t-xl); margin: 2.4rem 0 1rem; }
.policy__body p { color: var(--ink-soft); margin-bottom: 1rem; }
.policy__body ul { display: grid; gap: 0.6rem; margin: 1rem 0 1.5rem; padding-left: 0; }
.policy__body li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--ink-soft); }
.policy__body li::before { content: "✦"; color: var(--sage-dark); flex-shrink: 0; }
.policy__body ul ul { margin: 0.5rem 0 0.5rem 1rem; }
.policy__card {
  margin-top: 2.5rem;
  padding: 1.8rem 2rem;
  background: var(--off-white);
  border: 1px solid color-mix(in srgb, var(--sage-dark) 22%, transparent);
  border-radius: var(--radius);
}
.policy__card strong { display: block; font-family: "Fraunces", serif; font-size: var(--t-lg); }
.policy__back { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 3rem; color: var(--emerald-deep); font-weight: 600; }

/* ---------------------------------------------------------------------
   21. Reduced motion
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html:not(.has-smooth) { scroll-behavior: auto !important; }
  .js .reveal, .js .mask > * { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero__word .ch, .preloader__word span { transform: none !important; opacity: 1 !important; }
  .cursor, .cursor-dot { display: none !important; }
}

/* ---------------------------------------------------------------------
   22. Mobile optimization (mobile-first audience)
   Notched-phone safe areas, comfortable touch targets (WCAG 2.5.5 ≥44px),
   tighter rhythm, and crisper hero on small screens.
   --------------------------------------------------------------------- */

/* Respect notch / home-indicator safe areas */
.nav { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.menu__list { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }

@media (max-width: 600px) {
  :root {
    /* a touch more breathing room on the sides, shorter section gaps */
    --gutter: clamp(1.15rem, 4vw, 1.6rem);
    --section-y: clamp(3.6rem, 11vw, 5rem);
  }

  /* Hero: keep the wordmark grand but GUARANTEED to fit even at 320px.
     Floor is small + vw-driven so 5 letters never exceed the viewport; the
     word also self-constrains so a letter can't be clipped. */
  /* The hero is a grid; its content track can blow out to min-content width
     (unwrappable wordmark) and overflow. min-width:0 + 100vw cap forces it to
     the viewport so nothing is ever clipped. */
  .hero { min-width: 0; }
  .hero__inner {
    padding-block: 6rem 3rem;
    max-width: 100vw;
    min-width: 0;
    box-sizing: border-box;
    overflow-wrap: anywhere;
  }
  .hero__word {
    font-size: min(16vw, 5rem);
    max-width: 100%;
    flex-wrap: nowrap;
  }
  .hero__tag {
    max-width: 100%;
    flex-wrap: wrap;
    text-wrap: balance;
  }
  .hero__eyebrow { max-width: 100%; }
  .hero__sub { max-width: 38ch; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { width: 100%; max-width: 340px; }

  /* The scroll cue is decorative; on short mobile screens it collided with the
     stacked CTA buttons. Hide it on mobile — the page is obviously scrollable. */
  .hero__scroll { display: none; }

  /* Full-width, comfortably tall primary buttons */
  .btn { padding: 1rem 1.8rem; }

  /* Pricing "Most loved" badge: flow as a pill ABOVE the title instead of
     absolute top-right (which overlapped the heading on narrow screens). */
  .offer { padding-top: clamp(1.6rem, 5vw, 2.4rem); }
  .offer__badge {
    position: static;
    align-self: flex-start;
    display: inline-flex;
    margin-bottom: 1rem;
  }
  .offer { display: flex; flex-direction: column; align-items: flex-start; }
  .offer__list { align-self: stretch; }

  /* Contact rows: stack icon over text is unnecessary — keep row but roomy */
  .cmethod { padding: 1.15rem 1.2rem; }
  .cmethod__t strong { font-size: var(--t-base); word-break: break-word; }

  /* Schedule note + CTA stack full width */
  .schedule__note { flex-direction: column; align-items: flex-start; }
  .schedule__note .btn { width: 100%; }

  /* Pricing CTA + method CTA full width */
  .method__cta { flex-direction: column; align-items: stretch; }
  .method__cta .btn { width: 100%; }

  /* Section headings shouldn't crowd the screen edges */
  .phases__head h2, .contact h2, .method__head h2 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
}

/* Footer: the most tap-dense area — give every link a 44px target.
   Applies a bit wider so tablets benefit too. */
@media (max-width: 760px) {
  .footer__top { gap: 2.4rem; }
  .footer__col ul { gap: 0.2rem; }
  .footer__col li { display: flex; }
  .footer__col li a,
  .footer__bottom a.link-u {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 0.35rem;
  }
  .footer__bottom { gap: 1.2rem; flex-direction: column; align-items: flex-start; }
  .footer__social { gap: 1rem; }
  .footer__social a { width: 48px; height: 48px; }
  /* honour the home-indicator inset at the very bottom */
  .footer { padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
}

/* Larger phones / small tablets: 2-col footer reads better than 1 */
@media (min-width: 480px) and (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* Fine-pointer-only flourishes off on touch (already gated, but belt-and-braces) */
@media (hover: none) {
  .cursor, .cursor-dot { display: none !important; }
  body, body a, body button { cursor: auto !important; }
}

/* ---------------------------------------------------------------------
   23. Touch hit-area top-ups (mobile-first audience, WCAG 2.5.5 ≥44px)
   Bumps the last few small links to a comfortable tap size. Vertical
   padding on inline links extends the tappable area; only applied on
   touch devices so desktop layout is untouched.
   --------------------------------------------------------------------- */
.nav__brand { min-height: 44px; }

@media (hover: none) {
  /* standalone text links (email in Method, @phase.lb in gallery, etc.)
     get a guaranteed 44px tap height via inline-flex + min-height. */
  .link-u {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  /* footer links already get their 44px from rule §22 — keep them as-is */
  .footer__col li a.link-u,
  .footer__bottom a.link-u { min-height: 44px; }
}

/* ---------------------------------------------------------------------
   24. Mobile bottom tab bar (app-style quick navigation)
   Hidden on desktop; pinned to the bottom on phones so the main
   destinations are always one tap away — cuts the "endless scroll" feel.
   --------------------------------------------------------------------- */
.tabbar { display: none; }

@media (max-width: 760px) {
  .tabbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.45rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--forest-deep) 90%, transparent);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    border-top: 1px solid rgba(245, 240, 228, 0.12);
    box-shadow: 0 -12px 40px -24px rgba(0, 0, 0, 0.8);
    transform: translateY(120%);
    transition: transform 0.5s var(--ease);
  }
  /* Slide the bar in only after the user has left the hero */
  .tabbar.is-shown { transform: translateY(0); }

  .tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 52px;
    padding: 0.3rem 0.2rem;
    border-radius: 14px;
    color: color-mix(in srgb, var(--paper) 62%, transparent);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    transition: color 0.35s var(--ease), background 0.35s var(--ease);
  }
  .tab svg { width: 22px; height: 22px; }
  .tab span:last-child { line-height: 1; }
  .tab.is-active { color: var(--off-white); }
  .tab.is-active:not(.tab--book) {
    background: color-mix(in srgb, var(--sage) 22%, transparent);
  }

  /* Center "Book" tab — raised pill, the primary action */
  .tab--book { position: relative; color: var(--off-white); }
  .tab__book {
    display: grid;
    place-items: center;
    width: 50px; height: 50px;
    margin-top: -1.6rem;
    margin-bottom: 0.1rem;
    border-radius: 50%;
    background: var(--terracotta);
    color: var(--off-white);
    box-shadow: 0 10px 24px -8px rgba(194, 105, 60, 0.8);
    border: 3px solid color-mix(in srgb, var(--forest-deep) 90%, transparent);
    transition: transform 0.4s var(--ease), background 0.4s var(--ease);
  }
  .tab__book svg { width: 24px; height: 24px; }
  .tab--book:active .tab__book { transform: scale(0.92); }

  /* Make room so the bar never covers footer content */
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .footer { padding-bottom: calc(2rem + 68px + env(safe-area-inset-bottom)); }

  /* The floating-pill custom cursor / scroll cue never apply here anyway,
     but ensure the back-to-top scroll cue (if shown) sits above the bar. */
}

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

/* ---------------------------------------------------------------------
   25. Mobile alignment safety (≤760px)
   The scroll-reveal system uses transforms that, if a reveal fails to fire
   on a phone, can leave content shifted off-screen ("cut off"). On mobile we
   DON'T rely on JS at all: every reveal is shown and squarely positioned by
   CSS alone. Animations still play on desktop where they're reliable.
   Also hard-guards against any horizontal overflow.
   --------------------------------------------------------------------- */
@media (max-width: 760px) {
  /* Never allow sideways scrolling / cut-off, whatever a child does */
  html, body { overflow-x: hidden; max-width: 100%; }

  /* Force every reveal to its final, aligned state regardless of JS/IO/GSAP */
  .js .reveal,
  .js .reveal.from-left,
  .js .reveal.from-right,
  .js .reveal.from-scale,
  .js .mask > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    will-change: auto !important;
  }

  /* The About portrait is decorative on mobile — pin it flush in the grid */
  .about__portrait { transform: none !important; left: auto !important; margin-inline: 0; }

  /* Decorative layers that intentionally overflow must stay clipped, not scroll */
  .hero, .philosophy, .method, .about, .contact, .marquee { overflow: hidden; }
}
