/* =========================================================
   STEL — Editorial Luxe Stylesheet
   Palette: cream / linen / sand / soft champagne / ink
   ========================================================= */

:root {
  --cream: #f7f1e7;
  --cream-2: #fdf8ef;
  --cream-3: #fffaf3;
  --linen: #ebe0d2;
  --sand: #d6c2aa;
  --taupe: #9b8f76;
  --champagne: #b59a6e;
  --champagne-2: #cdb38a;
  --ink: #1e1c12;
  --ink-2: #2c2a1f;
  --soft-ink: rgba(30, 28, 18, 0.66);
  --quiet-ink: rgba(30, 28, 18, 0.48);
  --line: rgba(30, 28, 18, 0.10);
  --line-2: rgba(30, 28, 18, 0.18);
  --white: #fffaf3;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --radius-pill: 999px;

  --shadow-sm: 0 8px 24px rgba(45, 37, 26, 0.06);
  --shadow-md: 0 20px 50px rgba(45, 37, 26, 0.10);
  --shadow-lg: 0 40px 100px rgba(45, 37, 26, 0.14);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad-x: clamp(20px, 5vw, 80px);
  --max-w: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.7), transparent 30rem),
    radial-gradient(circle at 8% 80%, rgba(214, 194, 170, 0.22), transparent 26rem),
    linear-gradient(180deg, #fffaf3 0%, var(--cream) 38%, #efe3d2 100%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; transition: color .2s var(--ease), opacity .2s var(--ease); }
img { display: block; max-width: 100%; }
button, input { font-family: inherit; }

.sr-only,
.hidden-field {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute; top: -40px; left: 12px;
  background: var(--ink); color: var(--white);
  padding: 8px 14px; border-radius: 8px;
  font-size: 13px; z-index: 1000;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

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

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px var(--pad-x);
  background: rgba(255, 250, 243, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: transform .4s var(--ease), background .3s var(--ease), border-color .3s var(--ease), height .3s var(--ease);
}
.site-header.is-scrolled {
  height: 72px;
  background: rgba(255, 250, 243, 0.88);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }

.brand-mark {
  justify-self: start;
  width: 80px;
  display: inline-block;
}
.brand-mark img { width: 100%; height: auto; }

.nav-links {
  justify-self: center;
  display: flex;
  gap: clamp(20px, 3.4vw, 48px);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft-ink);
}
.nav-links a { position: relative; padding: 6px 2px; }
.nav-links a::after {
  content: "";
  position: absolute; left: 50%; bottom: -2px;
  width: 0; height: 1px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: width .25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.header-cta {
  justify-self: end;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.header-cta:hover {
  background: var(--champagne);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(181, 154, 110, 0.35);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.primary-button,
.ghost-button,
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 16px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.primary-button,
button[type="submit"] {
  background: var(--ink);
  color: var(--white);
}
.primary-button span { transition: transform .25s var(--ease); }
.primary-button:hover,
button[type="submit"]:hover {
  background: var(--champagne);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(181, 154, 110, 0.32);
}
.primary-button:hover span { transform: translateX(4px); }

.ghost-button {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
  padding: 15px 26px;
}
.ghost-button:hover {
  border-color: var(--ink);
  background: rgba(30, 28, 18, 0.03);
  transform: translateY(-2px);
}

/* =========================================================
   TYPOGRAPHY HELPERS
   ========================================================= */
.display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 0.96;
  color: var(--ink);
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--champagne);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--quiet-ink);
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 0 4px rgba(181, 154, 110, 0.18);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(181, 154, 110, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(181, 154, 110, 0); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 132px var(--pad-x) 0;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 132px);
  padding-bottom: 64px;
}
.hero-copy { max-width: 560px; }
.hero h1 {
  font-size: clamp(48px, 7.2vw, 104px);
  margin-bottom: 26px;
}
.hero-lede {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink-2);
  margin-bottom: 14px;
  max-width: 500px;
}
.hero-sub {
  font-size: 14px;
  color: var(--soft-ink);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}
.hero-notes {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 440px;
}
.hero-notes li {
  text-align: center;
  font-size: 12px;
  color: var(--soft-ink);
  line-height: 1.35;
}
.hero-notes span {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 250, 243, 0.5);
  font-size: 18px;
  color: var(--champagne);
}

.hero-visual {
  position: relative;
}
.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--linen);
  aspect-ratio: 4 / 5;
  transform: perspective(1200px) rotateY(-1.5deg);
  transition: transform .8s var(--ease);
}
.hero-frame:hover { transform: perspective(1200px) rotateY(0); }
.hero-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-tag {
  position: absolute;
  top: 20px; left: 20px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 250, 243, 0.86);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}

/* MARQUEE */
.marquee {
  margin: 0 calc(var(--pad-x) * -1);
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.42);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  animation: scroll 40s linear infinite;
  padding-left: 36px;
}
.marquee-track span:not(:nth-child(2n)) { font-style: italic; }
.marquee-track span:nth-child(2n) { color: var(--champagne); font-style: normal; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   INTRO
   ========================================================= */
.intro {
  padding: 120px var(--pad-x);
  text-align: center;
}
.intro-inner { max-width: 820px; margin: 0 auto; }
.intro h2 {
  font-size: clamp(44px, 6vw, 88px);
  margin-bottom: 28px;
}
.intro-body {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.intro-body--quiet {
  color: var(--quiet-ink);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 20px);
}

/* =========================================================
   BENEFITS
   ========================================================= */
.benefits {
  padding: 0 var(--pad-x) 120px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.benefit {
  padding: 48px 28px;
  text-align: center;
  border-right: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.benefit:last-child { border-right: 0; }
.benefit:hover { background: rgba(255, 250, 243, 0.5); }

.benefit-icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(235, 224, 212, 0.6);
  border: 1px solid var(--line-2);
  color: var(--champagne);
}
.benefit-icon svg { width: 28px; height: 28px; }
.benefit h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.1;
  margin-bottom: 10px;
  color: var(--ink);
}
.benefit p {
  font-size: 13px;
  color: var(--soft-ink);
  line-height: 1.5;
  max-width: 220px;
  margin: 0 auto;
}

/* =========================================================
   RITUALS
   ========================================================= */
.rituals {
  padding: 0 var(--pad-x) 120px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.rituals-header { text-align: center; margin-bottom: 56px; max-width: 720px; margin-left: auto; margin-right: auto; }
.rituals-header h2 {
  font-size: clamp(40px, 5.4vw, 78px);
  margin-bottom: 22px;
}
.rituals-intro {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--soft-ink);
}
.rituals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.ritual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--linen);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.ritual:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.ritual-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.ritual-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(247, 241, 231, 0.4) 100%);
  pointer-events: none;
}
.ritual-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.ritual:hover .ritual-image img { transform: scale(1.06); }
.ritual-text {
  padding: 22px 22px 26px;
  text-align: left;
}
.ritual-number {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--champagne);
  display: block;
  margin-bottom: 8px;
}
.ritual h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 6px;
}
.ritual p {
  font-size: 13px;
  color: var(--soft-ink);
  line-height: 1.5;
}

/* =========================================================
   STRIP / QUOTE
   ========================================================= */
.strip {
  padding: clamp(64px, 10vw, 140px) var(--pad-x);
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(214, 194, 170, 0.18), transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip blockquote {
  max-width: 880px;
  margin: 0 auto;
}
.strip p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.strip footer {
  margin-top: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--champagne);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  padding: clamp(80px, 10vw, 140px) var(--pad-x);
  max-width: 980px;
  margin: 0 auto;
}
.faq-header { text-align: center; margin-bottom: 48px; }
.faq-header h2 { font-size: clamp(40px, 5vw, 72px); }

.faq-list details {
  border-top: 1px solid var(--line);
  transition: background .25s var(--ease);
}
.faq-list details:last-of-type { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.chev {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 28px;
  color: var(--champagne);
  transition: transform .3s var(--ease);
  line-height: 1;
}
.faq-list details[open] .chev { transform: rotate(45deg); }
.faq-answer {
  overflow: hidden;
  padding: 0 8px 28px;
  max-width: 720px;
}
.faq-answer p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--soft-ink);
}
.faq-list details[open] summary { color: var(--champagne); }

/* =========================================================
   WAITLIST
   ========================================================= */
.waitlist {
  padding: 60px var(--pad-x) 120px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.waitlist-card {
  display: grid;
  grid-template-columns: 0.9fr auto 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(36px, 5vw, 72px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.9), transparent 22rem),
    linear-gradient(145deg, var(--cream-3) 0%, var(--linen) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.waitlist-card::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 154, 110, 0.18), transparent 70%);
}
.waitlist-card h2 {
  font-size: clamp(40px, 5.4vw, 76px);
  margin-bottom: 0;
}
.waitlist-divider {
  width: 1px;
  height: 140px;
  background: var(--line-2);
}
.waitlist-right p { color: var(--soft-ink); margin-bottom: 22px; font-size: 15px; }

.waitlist-form { display: flex; flex-direction: column; gap: 12px; }
.form-row {
  display: flex;
  gap: 10px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 250, 243, 0.78);
  border: 1px solid var(--line-2);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-row:focus-within {
  border-color: var(--champagne);
  box-shadow: 0 0 0 4px rgba(181, 154, 110, 0.14);
}
input[type="email"] {
  flex: 1;
  padding: 12px 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
  font-size: 14px;
  letter-spacing: 0.01em;
}
input[type="email"]::placeholder { color: var(--quiet-ink); }
.form-row button[type="submit"] { padding: 14px 24px; }
.form-fine {
  font-size: 11px;
  color: var(--quiet-ink);
  letter-spacing: 0.04em;
  padding-left: 10px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--cream-2);
  padding: 72px var(--pad-x) 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  max-width: var(--max-w);
  margin: 0 auto 48px;
}
.footer-brand img { width: 96px; margin-bottom: 18px; opacity: 0.92; }
.footer-brand p {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--soft-ink);
  max-width: 320px;
  line-height: 1.45;
}
.site-footer nav,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer nav a,
.footer-social a {
  font-size: 14px;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.site-footer nav a:hover,
.footer-social a:hover { color: var(--champagne); }
.site-footer .section-kicker { margin-bottom: 6px; }

.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: var(--max-w);
  margin: 0 auto;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--quiet-ink);
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: 0.05s;
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 40px; min-height: 0; padding-bottom: 80px; }
  .hero-copy { max-width: 100%; order: 1; }
  .hero-visual { order: 2; }
  .hero-frame { max-width: 560px; margin: 0 auto; aspect-ratio: 4 / 3; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(2) { border-right: 0; }
  .benefit:nth-child(1), .benefit:nth-child(2) { border-bottom: 1px solid var(--line); }
  .rituals-grid { grid-template-columns: repeat(2, 1fr); }
  .waitlist-card { grid-template-columns: 1fr; }
  .waitlist-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .site-header { height: 70px; padding: 12px 18px; }
  .site-header.is-scrolled { height: 60px; }
  .brand-mark { width: 64px; }
  .header-cta { padding: 10px 16px; font-size: 10px; }
  .hero { padding: 110px 20px 0; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .hero-frame { aspect-ratio: 3 / 4; }
  .hero-notes { gap: 8px; }
  .hero-notes span { width: 40px; height: 40px; font-size: 16px; }
  .marquee-track { font-size: 18px; gap: 24px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 36px 20px; }
  .benefit:last-child { border-bottom: 0; }
  .rituals-grid { grid-template-columns: 1fr; }
  .waitlist-card { padding: 32px 24px; }
  .form-row { flex-direction: column; padding: 12px; border-radius: 22px; }
  .form-row button { width: 100%; }
  input[type="email"] { padding: 12px 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-base { justify-content: center; text-align: center; }
}
