/* Echelon Hyperbarics — design tokens & base styles */

:root {
  --paper:    #FAFAF7;
  --paperAlt: #F4F2ED;
  --mist:     #EAE7DF;
  --stone:    #D2CEC4;
  --ash:      #9A978E;
  --graphite: #4A4842;
  --ink:      #111110;
  --inkSoft:  #1A1A18;

  --font-mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; }

button { font: inherit; cursor: pointer; }
button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

a { color: inherit; text-decoration: none; }

/* ── Animations ─────────────────────────────────────────── */
@keyframes ech-drift {
  0%   { transform: translate3d(-4%, -2%, 0) scale(1.15); }
  50%  { transform: translate3d( 3%,  2%, 0) scale(1.22); }
  100% { transform: translate3d(-4%, -2%, 0) scale(1.15); }
}
@keyframes ech-breathe {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 0.85; transform: translate(-50%, -50%) scale(1.04); }
}
@keyframes ech-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track,
  .drift,
  .breathe { animation: none !important; }
}

/* ── Shared atoms ───────────────────────────────────────── */
.caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}

.btn {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 16px 24px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--ghost   { background: transparent; color: var(--ink); border: 1px solid var(--ink); }

.serif { font-family: var(--font-serif); font-weight: 400; }
.italic { font-style: italic; }
.muted  { color: var(--graphite); }

.placeholder {
  width: 100%;
  background: repeating-linear-gradient(135deg, var(--paperAlt) 0 18px, rgba(17,17,16,0.04) 18px 19px);
  border: 1px solid rgba(17,17,16,0.06);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ash);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.placeholder span:last-child { opacity: 0.6; }

.figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ash);
  text-transform: uppercase;
}

/* Product photo on home collection cards — clean white-bg product shot */
.product-card-media {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
  background: var(--paperAlt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}
.cards-3 article:hover .product-card-media img { transform: scale(1.03); }

/* Product photo on chambers.html detail */
.product-detail-media {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
  background: var(--paperAlt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 32px;
}

.held-image {
  position: relative;
  width: 100%;
  height: 640px;
  overflow: hidden;
  background: var(--paperAlt);
}
.held-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1200ms cubic-bezier(.2,.7,.2,1);
}
.held-image:hover img { transform: scale(1.02); }
@media (max-width: 900px) {
  .held-image { height: 360px; }
}

/* ── Marquee ────────────────────────────────────────────── */
.marquee {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  height: 34px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 4;
  border-bottom: 1px solid rgba(250,250,247,0.08);
}
.marquee__track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ech-marquee 90s linear infinite;
  will-change: transform;
}
.marquee__item { display: inline-flex; align-items: center; gap: 48px; }
.marquee__item span:first-child { opacity: 0.88; }
.marquee__item span:last-child  { opacity: 0.45; }

/* ── Nav ────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  font-family: var(--font-mono);
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 3;
  color: var(--paper);
  border-bottom: 1px solid rgba(250,250,247,0.14);
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand-name { font-size: 14px; letter-spacing: 0.02em; }

/* Brand wordmark — same PNG used everywhere, blend modes adapt it
   to light and dark backgrounds so the white PNG matte disappears. */
.logo {
  display: block;
  height: 40px;
  width: auto;
  user-select: none;
  -webkit-user-drag: none;
}
/* Light backgrounds (most pages, footer, scrolled nav) — multiply drops white */
.logo--mark { mix-blend-mode: multiply; }
/* Dark backgrounds (hero overlay over the video) — invert + screen drops black */
.hero .logo--mark {
  mix-blend-mode: screen;
  filter: invert(1);
}
.footer .logo--mark { height: 44px; }
.nav__links {
  display: flex;
  gap: 40px;
  font-size: 13px;
  color: rgba(250,250,247,0.75);
}
.nav__links a:hover { color: var(--paper); }
.nav__cta {
  font-size: 13px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.nav__menu-btn {
  background: none;
  border: none;
  color: inherit;
  font-size: 13px;
  display: none;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 880px;
  overflow: hidden;
  background: var(--ink);
}
.hero__media {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%; /* oversize so parallax never exposes edges */
  object-fit: cover;
  z-index: 0;
}
.hero__media--mobile { display: none; }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(17,17,16,0.25) 0%,
    rgba(17,17,16,0.05) 30%,
    rgba(17,17,16,0.05) 60%,
    rgba(17,17,16,0.45) 100%);
  pointer-events: none;
}
.hero__content {
  position: absolute;
  z-index: 2;
  left: 48px;
  right: 48px;
  bottom: 112px;
  color: var(--paper);
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 24px;
}
.hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 128px;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero__title em { font-style: italic; opacity: 0.9; }
.hero__copy {
  margin-top: 40px;
  max-width: 44ch;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(250,250,247,0.82);
}
.hero__caption {
  position: absolute;
  z-index: 2;
  right: 48px;
  bottom: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(250,250,247,0.65);
  text-transform: uppercase;
  text-align: right;
}
.hero__fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  z-index: 2;
  background: linear-gradient(180deg, rgba(250,250,247,0) 0%, var(--paper) 100%);
  pointer-events: none;
}

/* ── Layout: two-column section header ──────────────────── */
.section {
  padding: 128px 48px 48px;
  position: relative;
}
.section--alt {
  padding: 128px 48px 96px;
  background: var(--paperAlt);
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}
.section--collection { padding: 96px 48px; }
.section--image      { padding: 48px 48px 96px; }
.section--history    { padding: 160px 48px; overflow: hidden; }
.section--practice   { padding: 160px 48px; position: relative; overflow: hidden; }
.section--ordering   { padding: 128px 48px; background: var(--paperAlt); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.section--concierge  { padding: 128px 48px; position: relative; overflow: hidden; }
.section--cta        { padding: 176px 48px; position: relative; overflow: hidden; text-align: center; }

.row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
}
.row--header { margin-bottom: 72px; }

.h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 56px;
  letter-spacing: -0.015em;
  line-height: 1.08;
  max-width: 22ch;
}
.h2--md { font-size: 48px; line-height: 1.1; max-width: 18ch; }
.h2 em { color: var(--graphite); }

.p {
  margin-top: 40px;
  max-width: 58ch;
  font-size: 14px;
  color: var(--graphite);
  line-height: 1.9;
}
.p--lg { font-size: 15px; }

.cta-row { margin-top: 40px; display: flex; gap: 12px; }

/* ── Collection cards ───────────────────────────────────── */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.card__title {
  margin: 0;
  font-size: 36px;
  font-weight: 400;
  font-family: var(--font-serif);
  letter-spacing: -0.01em;
}
.card__desc {
  margin: 0;
  font-size: 13px;
  color: var(--graphite);
  line-height: 1.7;
}
.card__link {
  margin-top: 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  align-self: flex-start;
}
.card__body {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.center-row {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

/* ── Three-up understanding cards ───────────────────────── */
.understanding {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--mist);
}
.understanding__cell {
  padding: 48px 40px;
  border-bottom: 1px solid var(--mist);
}
.understanding__cell:not(:last-child) { border-right: 1px solid var(--mist); }
.understanding__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}
.understanding__h {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.understanding__b {
  margin: 24px 0 0;
  font-size: 14px;
  color: var(--graphite);
  line-height: 1.9;
}

/* ── History timeline ───────────────────────────────────── */
.history__timeline {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 120px 1fr;
  row-gap: 28px;
  column-gap: 32px;
  font-size: 14px;
  color: var(--graphite);
  line-height: 1.8;
  max-width: 820px;
}
.history__year {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ash);
  text-transform: uppercase;
}

/* ── Quotes ─────────────────────────────────────────────── */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.quote {
  margin: 0;
  padding: 48px 40px;
  border-top: 1px solid var(--mist);
}
.quote:nth-child(odd) { border-right: 1px solid var(--mist); }
.quote blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 26px;
  line-height: 1.35;
  color: var(--ink);
  max-width: 32ch;
}
.quote figcaption {
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ash);
  text-transform: uppercase;
}
.quotes__disclaimer {
  margin: 64px auto 0;
  max-width: 68ch;
  font-size: 12px;
  color: var(--ash);
  line-height: 1.8;
  text-align: center;
}

/* ── Drift bg ───────────────────────────────────────────── */
.drift {
  position: absolute;
  inset: -8% -8%;
  background:
    radial-gradient(1000px 700px at 20% 30%, rgba(255,255,255,0.9), transparent 60%),
    radial-gradient(900px 700px at 80% 80%, rgba(234,231,223,1), transparent 60%),
    radial-gradient(700px 500px at 60% 20%, rgba(217,211,197,0.7), transparent 60%),
    var(--paperAlt);
  background-size: 140% 140%;
  opacity: 0.7;
  animation: ech-drift 38s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  filter: blur(12px);
}

.breathe {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234,231,223,1) 0%, rgba(250,250,247,0) 65%);
  animation: ech-breathe 9s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}
.breathe--history {
  left: -10%;
  top: 20%;
  transform: none;
  animation-duration: 12s;
}
@keyframes ech-breathe-history {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 0.85; transform: scale(1.04); }
}
.breathe--history { animation-name: ech-breathe-history; }

/* ── Practice teaser ────────────────────────────────────── */
.practice__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}
.practice__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 88px;
  margin: 24px 0 0;
  letter-spacing: -0.025em;
  line-height: 0.98;
}
.practice__title em { font-style: italic; }

/* ── Beach (full-bleed image) ───────────────────────────── */
.beach {
  position: relative;
  height: 640px;
  overflow: hidden;
  background: var(--ink); /* avoids any flash of background while image loads/scrolls */
}
.beach__img {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%; /* oversize so parallax translation never exposes the edges */
  object-fit: cover;
  z-index: 0;
}
.beach__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(250,250,247,0.22) 0%,
    rgba(17,17,16,0) 35%,
    rgba(17,17,16,0.35) 100%);
}
.beach__content {
  position: absolute;
  z-index: 2;
  left: 48px;
  right: 48px;
  bottom: 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: var(--paper);
}
.beach__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 20px;
}
.beach__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 80px;
  letter-spacing: -0.02em;
  line-height: 0.98;
  max-width: 18ch;
}
.beach__title em { font-style: italic; opacity: 0.92; }
.beach__copy {
  max-width: 32ch;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
  color: rgba(250,250,247,0.88);
  text-align: right;
}

/* ── Ordering ───────────────────────────────────────────── */
.ordering {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--mist);
}
.ordering__cell {
  padding: 48px 32px 40px;
}
.ordering__cell:not(:last-child) { border-right: 1px solid var(--mist); }
.ordering__h {
  margin: 24px 0 20px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.ordering__b {
  margin: 0;
  font-size: 13px;
  color: var(--graphite);
  line-height: 1.9;
  white-space: pre-line;
}
.ordering__notes {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--mist);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  font-size: 12px;
  color: var(--ash);
  line-height: 1.9;
  max-width: 1100px;
}
.ordering__notes p { margin: 0; }

/* ── Concierge ──────────────────────────────────────────── */
.concierge__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: stretch;
}
.concierge__title {
  margin: 24px 0 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 64px;
  letter-spacing: -0.025em;
  line-height: 1.0;
  max-width: 18ch;
}
.concierge__title em { font-style: italic; color: var(--graphite); }
.concierge__steps {
  margin-top: 48px;
  border-top: 1px solid var(--mist);
}
.concierge__step {
  display: grid;
  grid-template-columns: 48px 180px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--mist);
  align-items: baseline;
}
.concierge__step-title {
  font-size: 16px;
  font-family: var(--font-serif);
  letter-spacing: -0.01em;
}
.concierge__step-body {
  font-size: 13px;
  color: var(--graphite);
  line-height: 1.8;
  max-width: 58ch;
}
.concierge__contact {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--mist);
}
.concierge__contact .caption { margin-bottom: 10px; }
.concierge__contact-value { font-size: 14px; }

/* ── CTA ────────────────────────────────────────────────── */
.cta__inner { position: relative; z-index: 1; }
.cta__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 104px;
  margin: 32px auto 0;
  letter-spacing: -0.03em;
  line-height: 1;
  max-width: 14ch;
}
.cta__title em { font-style: italic; }
.cta__copy {
  margin: 32px auto 0;
  max-width: 44ch;
  font-size: 14px;
  color: var(--graphite);
  line-height: 1.8;
}
.cta__btn-row { margin-top: 48px; }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--paperAlt);
  border-top: 1px solid var(--mist);
  font-family: var(--font-mono);
}
.footer__notice {
  padding: 14px 24px;
  border-bottom: 1px solid var(--mist);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ash);
}
.footer__cols {
  padding: 64px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.footer__tagline {
  margin: 0;
  font-size: 12px;
  color: var(--ash);
  line-height: 1.7;
  max-width: 32ch;
}
.footer__col-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--graphite);
}
.footer__col-list a:hover { color: var(--ink); }
.footer__col .caption { margin-bottom: 16px; display: block; }
.footer__base {
  display: flex;
  justify-content: space-between;
  padding: 24px 48px;
  border-top: 1px solid var(--mist);
  font-size: 11px;
  color: var(--ash);
  letter-spacing: 0.08em;
}

/* ── Scroll-driven motion & high-end accents ───────────── */

/* Top-of-page progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--ink), var(--graphite));
  z-index: 100;
  transition: width 80ms linear;
  pointer-events: none;
}

/* Ambient cursor halo (only on pointer-fine devices) */
.cursor-halo {
  position: fixed;
  top: 0; left: 0;
  width: 480px; height: 480px;
  margin: -240px 0 0 -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17,17,16,0.06) 0%, rgba(17,17,16,0) 60%);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
  transform: translate3d(-9999px, -9999px, 0);
  transition: opacity 600ms ease;
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-halo { opacity: 1; }
}

/* Scroll-reveal: hidden by default, then revealed */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 900ms cubic-bezier(.2,.7,.2,1),
              transform 900ms cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.reveal--delay-1 { transition-delay: 90ms; }
.reveal--delay-2 { transition-delay: 180ms; }
.reveal--delay-3 { transition-delay: 270ms; }
.reveal--blur {
  filter: blur(8px);
  transition: opacity 1100ms cubic-bezier(.2,.7,.2,1),
              transform 1100ms cubic-bezier(.2,.7,.2,1),
              filter 1100ms cubic-bezier(.2,.7,.2,1);
}
.reveal--blur.is-in { filter: blur(0); }

/* Parallax — y translation driven from JS via --parallax */
.parallax {
  transform: translate3d(0, var(--parallax, 0px), 0);
  will-change: transform;
}

/* Stagger for grids of cards */
.cards-3 article,
.understanding__cell,
.ordering__cell,
.module {
  transition: transform 500ms cubic-bezier(.2,.7,.2,1),
              box-shadow 500ms cubic-bezier(.2,.7,.2,1);
}

/* Card hover micro-interaction */
.cards-3 article {
  position: relative;
  cursor: pointer;
}
.cards-3 article:hover {
  transform: translate3d(0, -6px, 0);
}
.cards-3 article .placeholder {
  transition: filter 600ms ease, transform 700ms cubic-bezier(.2,.7,.2,1);
}
.cards-3 article:hover .placeholder {
  filter: brightness(0.97);
  transform: scale(1.01);
}

/* Button micro-interaction — subtle sweep */
.btn { position: relative; overflow: hidden; transition: background-color 220ms ease, color 220ms ease, transform 200ms ease; }
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }
.btn--primary:hover { background: var(--inkSoft); transform: translateY(-1px); }
.btn--ghost:hover   { background: var(--ink); color: var(--paper); }
.btn--primary:active, .btn--ghost:active { transform: translateY(0); }

/* Card link micro-interaction */
.card__link, .nav__cta { position: relative; }
.card__link::after, .nav__cta::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -1px;
  height: 1px; background: currentColor;
  transition: right 350ms cubic-bezier(.2,.7,.2,1);
}
.card__link:hover::after, .nav__cta:hover::after { right: 0; }

/* Hero text — slow drift in */
.hero__title, .hero__copy, .hero__eyebrow {
  animation: hero-rise 1400ms cubic-bezier(.2,.7,.2,1) both;
}
.hero__title { animation-delay: 200ms; }
.hero__copy  { animation-delay: 500ms; }
@keyframes hero-rise {
  from { opacity: 0; transform: translate3d(0, 32px, 0); filter: blur(6px); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}

/* Section headings — slight letter-rise on reveal */
.h2.reveal.is-in,
.cta__title.reveal.is-in,
.beach__title.reveal.is-in,
.practice__title.reveal.is-in {
  letter-spacing: -0.02em;
}

/* Marquee — pauses on hover */
.marquee:hover .marquee__track { animation-play-state: paused; }

/* Module card (educational page) */
.module {
  background: var(--paper);
  border: 1px solid var(--mist);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.module:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 18px 60px -30px rgba(17,17,16,0.18);
}
.module::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 0% 0%, rgba(234,231,223,0.6), transparent 60%);
  opacity: 0;
  transition: opacity 600ms ease;
  pointer-events: none;
}
.module:hover::before { opacity: 1; }
.module__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ash);
  text-transform: uppercase;
}
.module__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ash);
  text-transform: uppercase;
}
.module__title {
  margin: 18px 0 16px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.module__lede {
  font-size: 15px;
  line-height: 1.8;
  color: var(--graphite);
  margin: 0 0 24px;
  max-width: 60ch;
}
.module__body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--graphite);
}
.module__body p { margin: 0 0 14px; }
.module__body ul { margin: 0 0 18px; padding-left: 18px; }
.module__body ul li { margin-bottom: 8px; }
.module__body strong { color: var(--ink); }
.module__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0;
}
.module__rule {
  height: 1px;
  background: var(--mist);
  margin: 24px 0;
}

.modules {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 56px;
}

/* Module index — sticky table of contents on long pages */
.module-index {
  position: sticky;
  top: 32px;
  align-self: start;
  font-family: var(--font-mono);
  font-size: 12px;
  border-left: 1px solid var(--mist);
  padding-left: 20px;
}
.module-index__heading {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 18px;
}
.module-index a {
  display: block;
  color: var(--graphite);
  padding: 6px 0;
  transition: color 200ms ease, padding-left 250ms cubic-bezier(.2,.7,.2,1);
  border-bottom: 1px dotted transparent;
}
.module-index a:hover { color: var(--ink); padding-left: 6px; }
.module-index a.is-active { color: var(--ink); padding-left: 8px; border-left: 2px solid var(--ink); margin-left: -10px; padding-right: 4px; }

.modules-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
}

/* Spec table for chambers page */
.spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  border-top: 1px solid var(--mist);
  padding-top: 32px;
  margin-top: 32px;
}
.spec__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--mist);
  font-size: 13px;
  color: var(--graphite);
  line-height: 1.7;
}
.spec__row .caption { color: var(--ash); }
.spec__row strong { color: var(--ink); font-weight: 400; }

/* Chamber detail block */
.chamber {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 96px 0;
  border-top: 1px solid var(--mist);
  align-items: start;
}
.chamber:first-of-type { border-top: none; }
.chamber__media { position: sticky; top: 32px; }
.chamber__title {
  margin: 16px 0 8px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 64px;
  letter-spacing: -0.025em;
  line-height: 1.0;
}
.chamber__sub {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ash);
  text-transform: uppercase;
}
.chamber__lede {
  font-size: 16px;
  line-height: 1.85;
  color: var(--graphite);
  margin: 24px 0 24px;
  max-width: 55ch;
}
.chamber__features {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  font-size: 13px;
  color: var(--graphite);
  line-height: 1.7;
}
.chamber__features li::before { content: '· '; color: var(--ash); }

/* Pull-quote / callout */
.callout {
  padding: 32px;
  border: 1px solid var(--mist);
  background: var(--paper);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  position: relative;
}
.callout::before {
  content: '"';
  position: absolute;
  font-size: 80px;
  top: -10px; left: 16px;
  color: var(--mist);
  font-style: normal;
}

/* Inline page nav (sub-nav) */
.subnav {
  position: sticky;
  top: 0;
  background: rgba(250,250,247,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mist);
  z-index: 5;
  padding: 14px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.subnav__links { display: flex; gap: 28px; color: var(--graphite); }
.subnav__links a { transition: color 200ms ease; }
.subnav__links a:hover, .subnav__links a.is-active { color: var(--ink); }

/* ── Responsive: tablet & mobile ────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 20px 24px; border-bottom-color: rgba(250,250,247,0.14); }
  .nav__links, .nav__cta { display: none; }
  .nav__menu-btn { display: inline-block; }

  .hero { height: 560px; background: #E8E6DE; }
  .hero__media--desktop { display: none; }
  .hero__media--mobile {
    display: block;
    object-position: 72% center;
  }
  .hero__scrim {
    background: linear-gradient(180deg,
      rgba(250,250,247,0.55) 0%,
      rgba(250,250,247,0.1) 30%,
      rgba(250,250,247,0) 60%);
  }
  .hero__content {
    left: 24px;
    right: 24px;
    top: 96px;
    bottom: auto;
    color: var(--ink);
  }
  .hero__eyebrow { color: var(--graphite); opacity: 1; }
  .hero__title  { font-size: 56px; }
  .hero__title em { color: var(--graphite); opacity: 1; }
  .hero__copy  { display: none; }
  .hero__caption {
    right: 24px;
    bottom: 24px;
    color: var(--ink);
    background: rgba(250,250,247,0.65);
    padding: 8px 10px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .section, .section--alt, .section--collection, .section--image,
  .section--history, .section--practice, .section--ordering,
  .section--concierge, .section--cta {
    padding-left: 24px;
    padding-right: 24px;
  }
  .section, .section--alt, .section--ordering { padding-top: 64px; padding-bottom: 64px; }
  .section--history, .section--practice, .section--concierge { padding-top: 72px; padding-bottom: 72px; }
  .section--cta { padding-top: 96px; padding-bottom: 96px; }

  .row { grid-template-columns: 1fr; gap: 24px; }
  .row--header { margin-bottom: 32px; }

  .h2     { font-size: 36px; max-width: none; }
  .h2--md { font-size: 32px; max-width: none; }
  .p      { margin-top: 24px; font-size: 13px; }

  .cta-row { flex-direction: column; gap: 10px; }
  .cta-row .btn { width: 100%; }

  .cards-3 { grid-template-columns: 1fr; gap: 48px; }
  .card__title { font-size: 28px; }
  .center-row { margin-top: 40px; }
  .center-row .btn { width: 100%; }

  .understanding { grid-template-columns: 1fr; border-top: none; }
  .understanding__cell {
    padding: 28px 0;
    border-right: none !important;
    border-top: 1px solid var(--mist);
    border-bottom: none;
  }
  .understanding__head { margin-bottom: 16px; }
  .understanding__h    { font-size: 24px; }
  .understanding__b    { font-size: 13px; line-height: 1.8; margin-top: 16px; }

  .history__timeline {
    grid-template-columns: 72px 1fr;
    row-gap: 20px;
    column-gap: 16px;
    font-size: 13px;
  }
  .history__year { font-size: 11px; }

  .quotes { grid-template-columns: 1fr; }
  .quote { padding: 24px 0; border-right: none !important; }
  .quote blockquote { font-size: 20px; }
  .quotes__disclaimer { text-align: left; margin-top: 32px; }

  .practice__grid { grid-template-columns: 1fr; gap: 32px; }
  .practice__title { font-size: 52px; margin-top: 20px; }

  .beach { height: 480px; }
  .beach__content {
    left: 24px;
    right: 24px;
    bottom: 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .beach__title { font-size: 48px; }
  .beach__copy  { text-align: left; }

  .ordering { grid-template-columns: 1fr; border-top: none; }
  .ordering__cell {
    padding: 28px 0;
    border-right: none !important;
    border-top: 1px solid var(--mist);
  }
  .ordering__h { font-size: 22px; }
  .ordering__notes { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; margin-top: 24px; }

  .concierge__grid { grid-template-columns: 1fr; gap: 32px; }
  .concierge__title { font-size: 34px; }
  .concierge__step {
    grid-template-columns: 40px 1fr;
    grid-template-areas:
      "n title"
      ".  body";
    column-gap: 12px;
  }
  .concierge__step .caption       { grid-area: n; }
  .concierge__step-title          { grid-area: title; }
  .concierge__step-body           { grid-area: body; margin-top: 6px; font-size: 12px; }
  .concierge__contact { grid-template-columns: 1fr; gap: 14px; }

  .cta__title { font-size: 48px; }
  .cta__btn-row .btn { width: 100%; }

  .footer__cols { grid-template-columns: 1fr; padding: 48px 24px; gap: 32px; }
  .footer__base { padding: 24px; flex-direction: column; gap: 8px; align-items: flex-start; }

  .marquee { font-size: 10px; height: 30px; }
  .marquee__track { animation-duration: 60s; }

  .breathe { width: 500px; height: 500px; }

  .modules-layout { grid-template-columns: 1fr; gap: 24px; }
  .module-index { position: relative; top: 0; border-left: none; border-top: 1px solid var(--mist); padding: 16px 0 0; }
  .module-index a.is-active { border-left: none; margin-left: 0; padding-left: 0; }
  .module { padding: 28px 24px; }
  .module__title { font-size: 28px; }

  .chamber { grid-template-columns: 1fr; gap: 32px; padding: 64px 0; }
  .chamber__media { position: relative; top: 0; }
  .chamber__title { font-size: 44px; }
  .chamber__features { grid-template-columns: 1fr; }

  .spec { grid-template-columns: 1fr; gap: 0; }
  .spec__row { grid-template-columns: 120px 1fr; }

  .subnav { padding: 12px 24px; flex-wrap: wrap; gap: 8px; }
  .subnav__links { gap: 16px; flex-wrap: wrap; }

  .scroll-progress { display: none; }
  .cursor-halo { display: none; }
}
