/* ==========================================================
   SACRED WITH HIMALI — EDITORIAL WELLNESS
   Palette: warm terracotta, earthy cream, sage green, soft amethyst
   Type: Fraunces (display serif) · Jost (body sans)
   ========================================================== */

:root {
  /* Brand palette */
  --cream:        #f5ede1;
  --cream-deep:   #ece1cf;
  --cream-soft:   #faf5ec;
  --terracotta:   #b85c3c;
  --terracotta-d: #8e3f25;
  --sage:         #6f7d65;
  --sage-deep:    #475044;
  --amethyst:     #9b8aa8;
  --ink:          #2b2218;
  --ink-soft:     #5b4d3d;
  --gold:         #c8995a;

  /* Type */
  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', system-ui, sans-serif;

  /* Layout */
  --pad-x: clamp(1.25rem, 4vw, 4rem);
  --max:   1400px;
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* -------- reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--terracotta); color: var(--cream); }

/* -------- shared type -------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--terracotta);
  margin: 0 0 1.5rem;
}
.eyebrow--dark { color: var(--sage-deep); }
.eyebrow--gold { color: var(--gold); }

.section-h {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5.5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0 0 2rem;
  color: var(--ink);
}
.section-h em {
  font-style: italic;
  font-weight: 300;
  color: var(--terracotta);
}
.section-h--light { color: var(--cream); }
.section-h--light em { color: var(--gold); }

/* -------- buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.05rem 2rem;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all .35s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--terracotta);
  color: var(--cream);
}
.btn--primary:hover {
  background: var(--terracotta-d);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -16px rgba(184, 92, 60, .5);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn--dark {
  background: var(--ink);
  color: var(--cream);
}
.btn--dark:hover {
  background: var(--terracotta);
}
.btn--full { width: 100%; }

.link-arrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-top: 2rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid currentColor;
  transition: gap .3s var(--ease), color .3s;
}
.link-arrow:hover { color: var(--terracotta-d); }

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--pad-x);
  background: rgba(245, 237, 225, 0);
  backdrop-filter: blur(0px);
  transition: background .45s var(--ease), backdrop-filter .45s, padding .45s, border-color .45s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(245, 237, 225, .85);
  backdrop-filter: blur(14px);
  padding: .85rem var(--pad-x);
  border-bottom-color: rgba(43, 34, 24, .08);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--cream);
  transition: color .45s;
}
.nav.is-scrolled .nav__brand { color: var(--ink); }

.nav__mark {
  font-size: 1.1rem;
  display: inline-block;
  transform: translateY(-1px);
}
.nav__name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: .01em;
}
.nav__name em {
  font-style: italic;
  font-weight: 300;
  margin: 0 .15em;
  opacity: .7;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav__links a {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--cream);
  position: relative;
  transition: color .45s, opacity .3s;
  opacity: .9;
}
.nav.is-scrolled .nav__links a { color: var(--ink); }
.nav__links a:not(.nav__cta):hover { opacity: 1; color: var(--terracotta); }
.nav__links a:not(.nav__cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }

.nav__cta {
  padding: .75rem 1.4rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  letter-spacing: .15em !important;
}
.nav__cta:hover {
  background: var(--terracotta);
  color: var(--cream) !important;
  border-color: var(--terracotta);
}

.nav__burger { display: none; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0 var(--pad-x) 3rem;
  color: var(--cream);
  isolation: isolate;
  overflow: hidden;
}
.hero__image {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(43, 34, 24, .55) 0%,
      rgba(43, 34, 24, .15) 30%,
      rgba(43, 34, 24, .25) 70%,
      rgba(43, 34, 24, .75) 100%
    ),
    radial-gradient(
      ellipse at 30% 50%,
      rgba(43, 34, 24, .35) 0%,
      transparent 60%
    );
  z-index: 1;
}
.hero__image::after {
  /* subtle grain */
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .15;
  mix-blend-mode: overlay;
  z-index: 2;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  align-self: end;
  max-width: 900px;
  padding-top: 8rem;
  padding-bottom: 3rem;
}
.hero .eyebrow {
  color: var(--cream);
  opacity: .85;
  animation: fadeUp 1.1s var(--ease) .2s both;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 8.5vw, 7.5rem);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0 0 2rem;
}
.hero__line {
  display: block;
  overflow: hidden;
}
.hero__line span,
.hero__line em {
  display: inline-block;
  animation: heroLine 1.3s var(--ease) both;
}
.line-1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}
.line-1 { animation: heroLine 1.3s var(--ease) .35s both; }
.line-2 { animation: heroLine 1.3s var(--ease) .55s both; padding-left: 1.5em; }
.line-3 { animation: heroLine 1.3s var(--ease) .75s both; padding-left: 3em; }

@keyframes heroLine {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes fadeUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.hero__sub {
  max-width: 38rem;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.7;
  margin: 0 0 2.5rem;
  opacity: .92;
  animation: fadeUp 1.2s var(--ease) 1s both;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 1.2s var(--ease) 1.2s both;
}
.hero__ctas .btn--ghost {
  color: var(--cream);
  border-color: var(--cream);
}
.hero__ctas .btn--ghost:hover {
  background: var(--cream);
  color: var(--ink);
}

.hero__meta {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: stretch;
  gap: clamp(1rem, 4vw, 3rem);
  border-top: 1px solid rgba(245, 237, 225, .25);
  padding-top: 2rem;
  flex-wrap: wrap;
  animation: fadeUp 1.4s var(--ease) 1.5s both;
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.hero__meta-item .num {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
}
.hero__meta-item .num sup {
  font-size: .45em;
  vertical-align: super;
  margin-left: .1em;
  opacity: .8;
}
.hero__meta-item .lbl {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .85;
  max-width: 18ch;
  line-height: 1.4;
}
.hero__meta-divider {
  width: 1px;
  background: rgba(245, 237, 225, .25);
  align-self: stretch;
}

.scroll-cue {
  position: absolute;
  right: var(--pad-x);
  bottom: 2rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  font-size: .68rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: .7;
  animation: fadeUp 2s var(--ease) 1.8s both;
}
.scroll-cue__line {
  width: 1px;
  height: 50px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: '';
  position: absolute;
  top: -50px; left: 0; right: 0;
  height: 50px;
  background: var(--gold);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { top: -50px; }
  100% { top: 100%; }
}

/* ==========================================================
   MARQUEE
   ========================================================== */
.marquee {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding: 1.5rem 0;
  border-top: 1px solid var(--terracotta-d);
  border-bottom: 1px solid var(--terracotta-d);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-style: italic;
  font-weight: 300;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.marquee__track .dot {
  color: var(--terracotta);
  font-style: normal;
  font-size: .8em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================
   STORY
   ========================================================== */
.story {
  padding: clamp(5rem, 12vw, 9rem) var(--pad-x);
  background: var(--cream-soft);
  position: relative;
}
.story::before {
  /* subtle background ornament */
  content: '';
  position: absolute;
  top: 8%; right: -8%;
  width: 36rem; height: 36rem;
  background: radial-gradient(circle, rgba(184, 92, 60, .06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.story__grid {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.story__col-left {
  position: sticky;
  top: 7rem;
}

.story__pull {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: -0.005em;
  margin: 0 0 3rem;
  color: var(--ink);
}
.story__pull em {
  font-style: italic;
  color: var(--terracotta);
  display: block;
  margin-bottom: .5rem;
}

.story__portrait {
  margin: 0;
  position: relative;
}
.story__portrait img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  filter: sepia(.06) saturate(1.05);
  box-shadow:
    0 30px 60px -30px rgba(43, 34, 24, .3),
    0 8px 20px -8px rgba(43, 34, 24, .15);
}
.story__portrait figcaption {
  margin-top: 1rem;
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}

.story__col-right p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  max-width: 38rem;
}
.story__col-right p em { font-style: italic; color: var(--terracotta); }
.story__col-right p strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  font-size: 1.15em;
}

.story__quote {
  margin: 3rem 0;
  padding: 2rem 0 2rem 2.5rem;
  border-left: 2px solid var(--terracotta);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
  font-weight: 300;
  position: relative;
  max-width: 36rem;
}
.story__quote .quote__mark {
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  font-size: 5rem;
  color: var(--terracotta);
  opacity: .25;
  font-family: var(--serif);
  line-height: 1;
}

.story__emphasis {
  font-family: var(--serif) !important;
  font-style: italic;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem) !important;
  line-height: 1.45 !important;
  color: var(--ink) !important;
  border-top: 1px solid rgba(43, 34, 24, .12);
  border-bottom: 1px solid rgba(43, 34, 24, .12);
  padding: 1.75rem 0 !important;
  margin: 2.5rem 0 !important;
}

/* ==========================================================
   CLASSES
   ========================================================== */
.classes {
  padding: clamp(5rem, 12vw, 9rem) var(--pad-x);
  background: var(--sage-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.classes::before {
  content: '';
  position: absolute;
  top: -10%; left: -10%;
  width: 50rem; height: 50rem;
  background: radial-gradient(circle, rgba(200, 153, 90, .08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.classes__head {
  position: relative;
  max-width: var(--max);
  margin: 0 auto 4rem;
}
.classes__head .eyebrow { color: var(--gold); }

.classes__intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(245, 237, 225, .8);
  max-width: 38rem;
  margin: 0;
}
.classes__intro strong {
  color: var(--gold);
  font-weight: 400;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1em;
}

.classes__grid {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.classes__grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.class-card h3 .amp {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
  margin: 0 .1em;
  opacity: .9;
}

.class-card {
  position: relative;
  background: rgba(245, 237, 225, .04);
  border: 1px solid rgba(245, 237, 225, .12);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border-radius: var(--radius);
  transition: background .5s var(--ease), border-color .5s, transform .5s var(--ease);
  display: flex;
  flex-direction: column;
}
.class-card:hover {
  background: rgba(245, 237, 225, .07);
  border-color: rgba(245, 237, 225, .25);
  transform: translateY(-4px);
}
.class-card__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: .9rem;
  color: var(--gold);
  letter-spacing: .1em;
  margin-bottom: 1.5rem;
}
.class-card h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0 0 .25rem;
  letter-spacing: -.01em;
}
.classes__grid--three .class-card h3 {
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
}
.class-card__sanskrit {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold);
  opacity: .7;
  margin: 0 0 1.25rem;
  font-weight: 300;
}
.class-card p:not(.class-card__sanskrit) {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(245, 237, 225, .82);
  margin: 0 0 1.5rem;
  flex: 1;
}
.class-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(245, 237, 225, .12);
  padding-top: 1.25rem;
}
.class-card li {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem 0;
  color: rgba(245, 237, 225, .7);
  position: relative;
  padding-left: 1.25rem;
}
.class-card li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-size: .8em;
}
.class-card--accent {
  background: rgba(184, 92, 60, .08);
  border-color: rgba(184, 92, 60, .25);
}
.class-card--accent:hover {
  background: rgba(184, 92, 60, .14);
}

.classes__foot {
  position: relative;
  max-width: var(--max);
  margin: 4rem auto 0;
  text-align: center;
}
.classes__foot .btn--dark {
  background: var(--terracotta);
}
.classes__foot .btn--dark:hover {
  background: var(--cream);
  color: var(--ink);
}

/* ==========================================================
   EDITORIAL BREAK
   ========================================================== */
.editorial {
  padding: clamp(4rem, 10vw, 8rem) var(--pad-x);
  background: var(--cream);
  display: grid;
  grid-template-columns: 1.4fr 1fr .8fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}
.editorial__img { margin: 0; overflow: hidden; }
.editorial__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(.05) saturate(1.05);
  transition: transform 1s var(--ease);
}
.editorial__img:hover img { transform: scale(1.04); }
.editorial__img--big { aspect-ratio: 4 / 5; }
.editorial__img--small {
  aspect-ratio: 3 / 4;
  align-self: end;
  margin-bottom: 2rem;
}
.editorial__img--small figcaption {
  margin-top: .85rem;
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.editorial__quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: -.005em;
  color: var(--ink);
  margin: 0 0 1.75rem;
}
.editorial__quote em {
  font-style: italic;
  color: var(--terracotta);
}
.editorial__caption {
  font-size: .98rem;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 28rem;
  margin: 0;
}

/* ==========================================================
   MEMBERSHIP
   ========================================================== */
.membership {
  padding: clamp(5rem, 12vw, 9rem) var(--pad-x);
  background: var(--cream-deep);
  position: relative;
  overflow: hidden;
}
.membership::before {
  content: '';
  position: absolute;
  bottom: -20%; left: -10%;
  width: 40rem; height: 40rem;
  background: radial-gradient(circle, rgba(155, 138, 168, .12) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.membership__head {
  position: relative;
  max-width: var(--max);
  margin: 0 auto 4rem;
  text-align: center;
}
.membership__intro {
  max-width: 38rem;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.tiers {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.tier {
  position: relative;
  background: var(--cream-soft);
  border: 1px solid rgba(43, 34, 24, .1);
  padding: clamp(2rem, 3vw, 2.75rem);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.tier:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(43, 34, 24, .25);
  border-color: var(--terracotta);
}
.tier header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(43, 34, 24, .12);
  margin-bottom: 1.5rem;
}
.tier__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0;
  letter-spacing: -.005em;
}
.tier__sanskrit {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terracotta);
  margin: 0;
  font-size: 1.2rem;
}
.tier__price {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  line-height: 1;
  margin: 0 0 1rem;
  color: var(--ink);
  letter-spacing: -.02em;
}
.tier__price .cur {
  font-size: .35em;
  letter-spacing: .05em;
  margin-right: .15em;
  vertical-align: top;
  position: relative;
  top: .8em;
  color: var(--ink-soft);
}
.tier__price .per {
  font-family: var(--sans);
  font-size: .28em;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-left: .25em;
}
.tier__pitch {
  font-size: .98rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  min-height: 4rem;
}
.tier ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex: 1;
}
.tier li {
  font-size: .9rem;
  padding: .55rem 0 .55rem 1.5rem;
  position: relative;
  color: var(--ink);
  border-top: 1px dotted rgba(43, 34, 24, .14);
}
.tier li:first-child { border-top: 0; }
.tier li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-size: .8em;
  top: .9rem;
}

.tier--featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  transform: translateY(-12px);
}
.tier--featured .tier__name { color: var(--cream); }
.tier--featured .tier__price { color: var(--cream); }
.tier--featured .tier__price .cur,
.tier--featured .tier__price .per,
.tier--featured .tier__pitch,
.tier--featured li { color: rgba(245, 237, 225, .85); }
.tier--featured header { border-bottom-color: rgba(245, 237, 225, .15); }
.tier--featured li { border-top-color: rgba(245, 237, 225, .12); }
.tier--featured .tier__sanskrit { color: var(--gold); }
.tier--featured:hover {
  transform: translateY(-18px);
  border-color: var(--terracotta);
}

.tier__badge {
  position: absolute;
  top: -.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: var(--cream);
  padding: .4rem 1.1rem;
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  border-radius: 999px;
  margin: 0;
}

/* ==========================================================
   PROMISE
   ========================================================== */
.promise {
  padding: clamp(5rem, 10vw, 8rem) var(--pad-x);
  background:
    linear-gradient(to bottom, var(--cream-deep), var(--cream)),
    var(--cream);
  text-align: center;
  position: relative;
}
.promise__inner {
  max-width: 56rem;
  margin: 0 auto;
}
.promise__text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1.45;
  letter-spacing: -.005em;
  color: var(--ink);
  margin: 0 0 2rem;
}
.promise__text em {
  font-style: italic;
  color: var(--terracotta);
}
.promise__sign {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ==========================================================
   CONTACT
   ========================================================== */
.contact {
  padding: clamp(5rem, 12vw, 9rem) var(--pad-x);
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: 10%; right: -10%;
  width: 40rem; height: 40rem;
  background: radial-gradient(circle, rgba(184, 92, 60, .15) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.contact__grid {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.contact__lead .section-h { color: var(--cream); }
.contact__lead .section-h em { color: var(--gold); }
.contact__lead p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(245, 237, 225, .85);
  max-width: 32rem;
}

.contact__form {
  background: rgba(245, 237, 225, .04);
  border: 1px solid rgba(245, 237, 225, .12);
  border-radius: var(--radius);
  padding: clamp(2rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact__form label {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.contact__form label span {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(245, 237, 225, .7);
}
.contact__form input[type="text"],
.contact__form input[type="email"] {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 300;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(245, 237, 225, .25);
  color: var(--cream);
  padding: .65rem 0;
  outline: none;
  transition: border-color .3s;
}
.contact__form input:focus {
  border-bottom-color: var(--terracotta);
}
.contact__checkbox {
  flex-direction: row !important;
  align-items: center;
  gap: .65rem !important;
  cursor: pointer;
  font-size: .85rem;
}
.contact__checkbox span {
  letter-spacing: .02em !important;
  text-transform: none !important;
  font-size: .85rem !important;
  color: rgba(245, 237, 225, .8) !important;
}
.contact__checkbox input {
  width: 1rem; height: 1rem;
  accent-color: var(--terracotta);
}
.contact__note {
  font-size: .75rem;
  color: rgba(245, 237, 225, .55);
  margin: 0;
  text-align: center;
}
.contact__success {
  text-align: center;
  padding: 1rem;
  background: rgba(200, 153, 90, .15);
  border: 1px solid rgba(200, 153, 90, .35);
  color: var(--gold);
  border-radius: var(--radius);
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: #1a140d;
  color: var(--cream);
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x) 2rem;
}
.footer__top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245, 237, 225, .12);
}
.footer__brand { max-width: 22rem; }
.footer__mark {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 1rem;
  color: var(--terracotta);
}
.footer__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 .5rem;
}
.footer__name em {
  font-style: italic;
  font-weight: 300;
  margin: 0 .15em;
  opacity: .7;
}
.footer__tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  margin: 0;
  font-weight: 300;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.footer__col a {
  font-size: .88rem;
  color: rgba(245, 237, 225, .75);
  transition: color .3s;
}
.footer__col a:hover { color: var(--terracotta); }
.footer__h {
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .85rem;
  font-weight: 400;
}
.footer__bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: rgba(245, 237, 225, .5);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom p { margin: 0; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 960px) {
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(85vw, 22rem);
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 4rem 2.5rem;
    gap: 1.75rem;
    transform: translateX(100%);
    transition: transform .55s var(--ease);
    z-index: 99;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { color: var(--cream) !important; font-size: 1rem; }
  .nav__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.5rem; height: 2.5rem;
    gap: 5px;
    z-index: 100;
    color: var(--cream);
  }
  .nav.is-scrolled .nav__burger { color: var(--ink); }
  .nav__burger span {
    width: 22px; height: 1px;
    background: currentColor;
    transition: transform .3s, opacity .3s;
  }
  .nav__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(2) { opacity: 0; }
  .nav__burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .line-2 { padding-left: 0; }
  .line-3 { padding-left: 0; }

  .story__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .story__col-left {
    position: static;
  }
  .story__portrait { max-width: 22rem; }

  .classes__grid {
    grid-template-columns: 1fr;
  }
  .classes__grid--three {
    grid-template-columns: 1fr;
  }

  .editorial {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .editorial__img--small { max-width: 18rem; margin: 0 auto; }

  .tiers {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .tier--featured { transform: none; }
  .tier--featured:hover { transform: translateY(-4px); }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer__brand { grid-column: 1 / -1; }

  .scroll-cue { display: none; }
}

@media (max-width: 540px) {
  .footer__top { grid-template-columns: 1fr; }
  .hero__meta { gap: 1rem; }
  .hero__meta-divider { display: none; }
  .hero__meta-item { width: 100%; flex-direction: row; gap: 1rem; align-items: baseline; }
  .hero__meta-item .num { font-size: 2.2rem; }
  .marquee__track { font-size: 1.2rem; gap: 1.75rem; }
}

/* ==========================================================
   REVEAL ON SCROLL
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .marquee__track { animation: none; }
}
