/* ===== Tokens ===== */
:root {
  --cream: #f4efe7;
  --driftwood: #e2ddd5;
  --sand: #e7d8c3;
  --tan: #c9b08c;
  --clay: #c47e5a;
  --sage: #a3b09a;
  --olive: #6a7a5a;
  --cove: #80755d;
  --moss: #4b5242;
  --stone: #3d3b2f;
  --ink: #34322a;
  --muted: #6e6a5c;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 300 16px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
h2 em, h1 em { font-style: italic; font-weight: 300; }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font: 500 .72rem/1 var(--sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--cove);
  margin-bottom: 1.4rem;
}
.eyebrow--light { color: var(--sand); }
.eyebrow--sage { color: var(--sage); }

.rule { display: block; width: 56px; height: 1px; background: var(--tan); margin: 1.8rem 0; }
.rule--center { margin: 1.6rem auto; }
.rule--light { background: var(--sage); opacity: .6; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 1.05em 2.2em;
  background: var(--cove);
  color: var(--cream);
  font: 500 .72rem/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  border: 1px solid var(--cove);
  cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn:hover { background: var(--moss); border-color: var(--moss); }
.btn--sm { padding: .95em 1.6em; }
.btn--outline { background: transparent; color: var(--cove); }
.btn--outline:hover { background: var(--cove); color: var(--cream); }
.btn--full { width: 100%; }

.link-arrow {
  font: 500 .72rem/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .8em;
}
.link-arrow::after { content: ""; width: 32px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.link-arrow:hover::after { width: 52px; }
.link-arrow--light { color: var(--cream); }

/* ===== Topbar & header ===== */
.topbar {
  background: var(--sand);
  color: var(--cove);
  text-align: center;
  font: 400 .66rem/1 var(--sans);
  letter-spacing: .32em;
  text-transform: uppercase;
  padding: 12px 16px;
}
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 239, 231, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, box-shadow .4s;
}
.header.is-scrolled { border-color: rgba(128, 117, 93, .15); box-shadow: 0 6px 30px -20px rgba(61, 59, 47, .35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .4s var(--ease); }
.header.is-scrolled .header__inner { height: 68px; }

.logo { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font: 400 1.7rem/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; }
.logo__sub { font: 400 .6rem/1 var(--sans); letter-spacing: .38em; text-transform: uppercase; color: var(--cove); margin-top: 7px; }

.nav { display: flex; align-items: center; gap: 2.4rem; }
.nav a:not(.btn) { font-size: .9rem; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px;
  background: var(--tan); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.burger { display: none; }

/* ===== Hero ===== */
.hero { position: relative; height: clamp(560px, calc(100vh - 120px), 920px); height: clamp(560px, calc(100svh - 120px), 920px); display: flex; align-items: center; overflow: hidden; color: var(--cream); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 115%; object-fit: cover; object-position: center 62%; will-change: transform; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(40, 42, 32, .78) 0%, rgba(40, 42, 32, .45) 45%, rgba(40, 42, 32, .1) 100%);
}
.hero__content { position: relative; padding-top: 80px; padding-bottom: 100px; }
.hero__title { font-size: clamp(3rem, 7vw, 5.6rem); font-weight: 300; line-height: 1.02; margin-bottom: 1.8rem; }
.hero__lead { max-width: 30rem; font-size: 1.05rem; color: rgba(244, 239, 231, .88); margin-bottom: 2.6rem; }
.hero__actions { display: flex; align-items: center; gap: 2.4rem; flex-wrap: wrap; }
.hero .btn { background: var(--tan); border-color: var(--tan); color: var(--stone); }
.hero .btn:hover { background: var(--cream); border-color: var(--cream); }
.hero__scroll { position: absolute; left: 50%; bottom: 32px; width: 1px; height: 56px; background: rgba(244, 239, 231, .3); overflow: hidden; }
.hero__scroll span { position: absolute; left: 0; top: -100%; width: 1px; height: 100%; background: var(--cream); animation: scrollLine 2.4s var(--ease) infinite; }
@keyframes scrollLine { to { top: 100%; } }

/* ===== Features ===== */
.features { background: var(--driftwood); padding: 34px 0; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { display: flex; align-items: center; gap: 16px; }
.feature svg { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--cove); stroke-width: 1; }
.feature h3 { font: 500 .7rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 4px; }
.feature p { font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.4; }

/* ===== Split (philosophy) ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 120px 0 120px; max-width: 1440px; margin: 0 auto; }
.split__text { padding: 0 clamp(32px, 7vw, 110px); max-width: 640px; justify-self: end; }
.split__text p:not(.eyebrow) { color: var(--muted); }
.split__text .btn { margin-top: 1rem; }
.split__media { height: min(720px, 80vh); overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Section head ===== */
.section-head { text-align: center; max-width: 620px; margin: 0 auto 70px; }
.section-head p:not(.eyebrow) { color: var(--muted); }

/* ===== Rituals ===== */
.rituals { background: var(--sand); padding: 120px 0; }
.rituals__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 36px; }
.ritual { background: var(--cream); display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.ritual:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -35px rgba(61, 59, 47, .5); }
.ritual__img { aspect-ratio: 4 / 4.6; overflow: hidden; }
.ritual__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ritual:hover .ritual__img img { transform: scale(1.05); }
.ritual__body { padding: 30px 30px 28px; display: flex; flex-direction: column; flex: 1; }
.ritual__num { font: italic 300 1rem/1 var(--serif); color: var(--clay); margin-bottom: 10px; }
.ritual h3 { font-size: 1.75rem; margin-bottom: 14px; }
.ritual p { font-size: .92rem; color: var(--muted); flex: 1; }
.ritual__meta { display: flex; justify-content: space-between; border-top: 1px solid var(--driftwood); padding-top: 16px; font: 500 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cove); }
.ritual__meta span:last-child { font: 400 1.35rem/1 var(--serif); letter-spacing: 0; color: var(--ink); }

/* ===== Quote band ===== */
.band { position: relative; height: clamp(420px, 68vh, 640px); overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--cream); }
.band__media { position: absolute; inset: -15% 0; }
.band__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(.85); }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(46, 48, 36, .5); }
.band__content { position: relative; z-index: 1; }
.band__quote { font: 300 clamp(2.4rem, 5.5vw, 4.4rem)/1.12 var(--serif); margin: 0; }

/* ===== Journey ===== */
.journey { background: var(--moss); color: var(--cream); padding: 120px 0; }
.journey__inner { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 8vw, 110px); align-items: center; }
.journey__media { aspect-ratio: 3 / 4; overflow: hidden; }
.journey__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; gap: 28px; padding: 28px 0; border-top: 1px solid rgba(163, 176, 154, .25); }
.steps li:last-child { border-bottom: 1px solid rgba(163, 176, 154, .25); }
.steps__num { font: italic 300 1.6rem/1 var(--serif); color: var(--tan); min-width: 36px; }
.steps h3 { font-size: 1.7rem; margin-bottom: 8px; }
.steps p { margin: 0; color: rgba(244, 239, 231, .75); font-size: .95rem; }

/* ===== Gallery ===== */
.gallery { background: var(--moss); padding: 0 0 8px; }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0 8px; }
.gallery__grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* ===== Journal ===== */
.journal { padding: 120px 0; background: var(--cream); }
.rating { display: inline-flex; align-items: center; gap: 14px; font-size: .85rem; color: var(--muted); }
.stars { color: var(--clay); letter-spacing: .2em; font-size: .9rem; }
.journal__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.review {
  background: #fbf8f3; border: 1px solid var(--driftwood);
  padding: 40px 36px 34px; display: flex; flex-direction: column; position: relative;
}
.review::before { content: "“"; position: absolute; top: 14px; right: 28px; font: 300 5.5rem/1 var(--serif); color: var(--sand); }
.review h3 { font-size: 1.55rem; margin: 18px 0 14px; font-style: italic; font-weight: 400; }
.review p { font-size: .93rem; color: var(--muted); flex: 1; }
.review footer { display: flex; flex-direction: column; border-top: 1px solid var(--driftwood); padding-top: 16px; margin-top: 8px; }
.review footer strong { font: 400 1.15rem/1.3 var(--serif); }
.review footer span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cove); }

/* ===== Booking ===== */
.book { background: var(--driftwood); padding: 120px 0; }
.book__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.book__text p:not(.eyebrow) { color: var(--muted); max-width: 28rem; }
.book__prices { display: flex; gap: 48px; margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid rgba(128, 117, 93, .25); }
.book__prices div { display: flex; flex-direction: column; }
.book__prices .label { font: 500 .66rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--cove); margin-bottom: 10px; }
.book__prices strong { font: 400 2.6rem/1 var(--serif); }
.book__prices span:last-child { font-size: .85rem; color: var(--muted); margin-top: 6px; }

.form { background: var(--cream); padding: 44px; display: flex; flex-direction: column; gap: 20px; }
.form label { display: flex; flex-direction: column; gap: 8px; font: 500 .66rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--cove); flex: 1; }
.form input, .form select {
  font: 300 1rem/1.4 var(--sans); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--tan);
  padding: 10px 0; border-radius: 0; outline: none; letter-spacing: 0; text-transform: none;
  transition: border-color .3s; -webkit-appearance: none; appearance: none; min-width: 0;
}
.form select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2380755d'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 20px; }
.form input:focus, .form select:focus { border-color: var(--cove); }
.form__row { display: flex; gap: 24px; }
.form .btn { margin-top: 10px; }
.form__note { font-size: .8rem; color: var(--muted); text-align: center; margin: 0; }
.form__note.is-success { color: var(--olive); }

/* ===== Footer ===== */
.footer { background: var(--stone); color: rgba(244, 239, 231, .75); padding: 80px 0 32px; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand { display: flex; flex-direction: column; }
.footer__brand .logo__name { color: var(--cream); }
.footer__brand .logo__sub { color: var(--tan); }
.footer__brand p { margin-top: 20px; max-width: 16rem; }
.footer h4 { font: 500 .68rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--tan); margin-bottom: 18px; }
.footer a:hover { color: var(--cream); }
.footer__bottom { display: flex; justify-content: space-between; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(244, 239, 231, .12); font-size: .78rem; }

/* ===== Reveal animations ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal--fade { transform: none; transition-duration: 1.6s; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .rituals__grid, .journal__grid { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .nav { gap: 1.6rem; }
}

@media (max-width: 900px) {
  .burger { display: flex; flex-direction: column; gap: 7px; background: none; border: 0; padding: 10px; cursor: pointer; }
  .burger span { width: 26px; height: 1px; background: var(--ink); transition: transform .4s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: 12px 24px 28px; border-bottom: 1px solid var(--driftwood);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--driftwood); font: 400 1.4rem/1.2 var(--serif); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 20px; text-align: center; }

  .split { grid-template-columns: 1fr; padding: 90px 0 0; }
  .split__text { justify-self: start; padding: 0 24px 60px; }
  .split__media { height: 70vw; }
  .journey__inner, .book__inner { grid-template-columns: 1fr; }
  .journey__media { aspect-ratio: 4 / 3; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .split__text { padding: 0 16px 56px; }
  .header__inner, .header.is-scrolled .header__inner { height: 68px; }
  .logo__name { font-size: 1.35rem; }
  .topbar { font-size: .58rem; letter-spacing: .22em; }
  .rituals, .journey, .journal, .book { padding: 84px 0; }
  .rituals__grid, .journal__grid, .features__grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 48px; }
  .hero__content { padding-top: 60px; padding-bottom: 110px; }
  .form { padding: 28px 22px; }
  .form__row { flex-direction: column; }
  .book__prices { gap: 32px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 10px; }
  .review { padding: 34px 26px 28px; }
}

/* ===== Legal pages ===== */
.form__note a, .legal a { color: var(--cove); text-decoration: underline; text-decoration-color: var(--tan); text-underline-offset: 3px; }
.form__note a:hover, .legal a:hover { color: var(--moss); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__legal a[aria-current] { color: var(--cream); }
.footer__bottom--solo { margin-top: 0; padding-top: 0; border-top: 0; }

.legal { background: var(--cream); }
.legal__head { background: var(--sand); padding: 90px 0 70px; text-align: center; }
.legal__head h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 300; }
.legal__date { margin: 1.2rem 0 0; font-size: .85rem; color: var(--muted); }
.legal__layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(40px, 6vw, 96px); padding-top: 80px; padding-bottom: 110px; }
.legal__toc { position: sticky; top: 110px; align-self: start; }
.legal__toc-title { font: 500 .66rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--cove); margin-bottom: 18px; }
.legal__toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--driftwood); }
.legal__toc li a { display: block; padding: 6px 0 6px 18px; font-size: .88rem; color: var(--muted); text-decoration: none; transition: color .3s; }
.legal__toc li a:hover { color: var(--ink); }
.legal__body { max-width: 720px; }
.legal__intro { font: 300 1.35rem/1.6 var(--serif); color: var(--ink); margin-bottom: 3rem; }
.legal__body section { padding: 2.2rem 0; border-top: 1px solid var(--driftwood); }
.legal__body h2 { font-size: 1.9rem; margin-bottom: 1.1rem; }
.legal__body p, .legal__body li { color: var(--muted); font-size: .97rem; }
.legal__body strong { color: var(--ink); font-weight: 500; }
.legal__body ul { padding-left: 1.2rem; margin: 0 0 1.1em; }
.legal__body li { margin-bottom: .55em; }
.legal__body li::marker { color: var(--tan); }
.legal__contact { font-style: normal; background: var(--driftwood); padding: 24px 28px; margin-bottom: 1.2em; line-height: 1.9; color: var(--muted); }

@media (max-width: 900px) {
  .legal__layout { grid-template-columns: 1fr; padding-top: 48px; }
  .legal__toc { position: static; }
}
@media (max-width: 640px) {
  .legal__head { padding: 64px 0 52px; }
  .legal__intro { font-size: 1.2rem; }
}

/* ===== Lounge ===== */
.lounge { background: var(--sand); padding: 120px 0; }
.lounge__inner { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 8vw, 110px); align-items: center; }
.lounge__text p:not(.eyebrow) { color: var(--muted); }
.lounge__text em { font-family: var(--serif); font-size: 1.15em; color: var(--ink); }
.lounge__list { list-style: none; padding: 0; margin: 1.6rem 0; }
.lounge__list li { padding: 12px 0 12px 28px; border-top: 1px solid rgba(128, 117, 93, .2); position: relative; font-size: .95rem; }
.lounge__list li:last-child { border-bottom: 1px solid rgba(128, 117, 93, .2); }
.lounge__list li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 8px; height: 8px; border: 1px solid var(--clay); border-radius: 50%; transform: translateY(-50%); }
.lounge__note { font-size: .8rem !important; letter-spacing: .02em; }

.lounge__machine { display: flex; justify-content: center; }
.machine {
  width: min(100%, 380px); padding: 40px 32px 34px; text-align: center;
  background: var(--moss); color: var(--cream);
  border-radius: 180px 180px 6px 6px;
  box-shadow: 0 40px 70px -40px rgba(61, 59, 47, .7), inset 0 0 0 1px rgba(201, 176, 140, .35), inset 0 0 0 10px var(--moss), inset 0 0 0 11px rgba(201, 176, 140, .25);
}
.machine__title { display: block; font: 400 1.05rem/1 var(--serif); letter-spacing: .3em; text-transform: uppercase; color: var(--tan); margin: 40px 0 30px; }
.machine__reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; background: var(--stone); border: 1px solid rgba(201, 176, 140, .3); }
.reel { aspect-ratio: 3 / 4; background: linear-gradient(180deg, #d9cdb9 0%, var(--cream) 30%, var(--cream) 70%, #d9cdb9 100%); display: flex; align-items: center; justify-content: center; }
.reel svg { width: 58%; fill: none; stroke: var(--olive); stroke-width: 1.4; }
.reel:nth-child(2) svg { stroke: var(--clay); }
.machine__line { display: block; width: 56px; height: 1px; background: var(--tan); margin: 30px auto 16px; }
.machine__caption { font: 500 .66rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--sage); }
.lounge__machine.is-visible .reel svg { animation: reelSettle 1.6s var(--ease) both; }
.lounge__machine.is-visible .reel:nth-child(2) svg { animation-delay: .25s; }
.lounge__machine.is-visible .reel:nth-child(3) svg { animation-delay: .5s; }
@keyframes reelSettle { 0% { transform: translateY(-60%); opacity: 0; } 70% { transform: translateY(6%); opacity: 1; } 100% { transform: none; } }

@media (max-width: 900px) {
  .lounge__inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lounge { padding: 84px 0; }
}
