/* ============================================================
   Mobile Sauna Therapy — golden-hour wellness aesthetic
   Fraunces (display) + Instrument Sans (body)
   ============================================================ */

:root {
  --navy:      #123a53;
  --navy-deep: #0c2836;
  --cedar:     #d98a4f;
  --cedar-dk:  #bf6f34;
  --ember:     #e2762f;
  --sage:      #7ba05b;
  --water:     #4a7ba6;
  --cream:     #f7f0e3;
  --cream-2:   #efe5d4;
  --ink:       #23201b;
  --paper:     #fbf6ec;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;

  --shadow: 0 24px 60px -24px rgba(18, 58, 83, .35);
  --radius: 18px;
  --max: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

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

::selection { background: var(--cedar); color: #fff; }

/* ---------- Film grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .04; mix-blend-mode: multiply;
  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='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; color: var(--navy); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
h3 { font-size: 1.35rem; }
em { font-style: italic; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--cedar-dk);
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--bg); color: #fff;
  padding: .95em 1.7em; border-radius: 100px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, background .3s;
  box-shadow: 0 10px 24px -12px rgba(12,40,54,.7);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -14px rgba(12,40,54,.75); }
.btn--gold { --bg: var(--cedar); color: var(--navy-deep); }
.btn--gold:hover { background: var(--cedar-dk); color: #fff; }
.btn--ghost { background: transparent; color: var(--cream); border: 1px solid rgba(247,240,227,.5); box-shadow: none; }
.btn--ghost:hover { background: rgba(247,240,227,.12); }
.btn--sm { padding: .7em 1.3em; font-size: .85rem; }
.btn--full { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  transition: background .4s, box-shadow .4s, padding .4s;
}
.nav.scrolled {
  background: rgba(251,246,236,.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(18,58,83,.08);
  padding-top: .6rem; padding-bottom: .6rem;
}
.nav__brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.nav__brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 12px -4px rgba(0,0,0,.4); }
.nav__brand span {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--cream); letter-spacing: -.01em; transition: color .4s;
}
.nav.scrolled .nav__brand span { color: var(--navy); }
.nav__links { display: flex; gap: 1.8rem; }
.nav__links a {
  text-decoration: none; color: var(--cream); font-weight: 500; font-size: .95rem;
  position: relative; transition: color .3s;
}
.nav.scrolled .nav__links a { color: var(--navy); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--cedar); transition: width .3s;
}
.nav__links a:hover::after { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--cream); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(12,40,54,.92) 0%, rgba(12,40,54,.35) 45%, rgba(12,40,54,.15) 100%),
    linear-gradient(to right, rgba(12,40,54,.55), transparent 60%);
}
.hero__inner {
  position: relative; max-width: var(--max); width: 100%;
  margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(5rem, 10vh, 8rem);
}
.hero__title {
  font-size: clamp(3rem, 10vw, 7rem); font-weight: 400; line-height: .95;
  color: var(--cream); margin: .4rem 0 1.4rem; letter-spacing: -.02em;
}
.hero__title span { display: block; }
.hero__title em { color: var(--cedar); font-style: italic; }
.hero__lede { max-width: 46ch; font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(247,240,227,.9); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* hero marquee strip */
.hero__marquee {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--cedar); color: var(--navy-deep);
  overflow: hidden; padding: .55rem 0; z-index: 2;
  border-top: 1px solid rgba(0,0,0,.1);
}
.marquee__track {
  display: inline-flex; gap: 2rem; white-space: nowrap;
  font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1rem;
  animation: marquee 26s linear infinite;
}
.marquee__track span { flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro { max-width: 900px; margin: 0 auto; padding: clamp(5rem, 12vh, 9rem) clamp(1.2rem, 4vw, 2rem); text-align: center; }
.intro__text { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.5rem, 3.6vw, 2.5rem); line-height: 1.3; color: var(--navy); }
.intro__text em { color: var(--cedar-dk); font-weight: 400; }

/* ---------- Experience ---------- */
.experience {
  max-width: var(--max); margin: 0 auto;
  padding: 2rem clamp(1.2rem, 4vw, 3rem) 5rem;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.experience__img { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.experience__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.tag {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(251,246,236,.92); color: var(--navy);
  padding: .5rem .95rem; border-radius: 100px; font-size: .8rem; font-weight: 600;
  backdrop-filter: blur(4px);
}
.experience__copy h2 { margin: .6rem 0 1.2rem; }
.experience__copy > p { color: #4a4740; font-size: 1.05rem; }
.feature-list { list-style: none; margin-top: 1.8rem; display: grid; gap: .9rem; }
.feature-list li { padding-left: 1.7rem; position: relative; color: #4a4740; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .6rem; height: .6rem; border-radius: 50%;
  background: var(--sage); box-shadow: 0 0 0 4px rgba(123,160,91,.2);
}
.feature-list strong { color: var(--navy); }

/* ---------- How it works ---------- */
.how { background: var(--navy); color: var(--cream); padding: clamp(4rem, 10vh, 7rem) clamp(1.2rem, 4vw, 3rem); }
.how__head { max-width: var(--max); margin: 0 auto 3rem; text-align: center; }
.how__head h2 { color: var(--cream); margin-top: .5rem; }
.steps { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step {
  background: rgba(247,240,227,.05); border: 1px solid rgba(247,240,227,.12);
  border-radius: var(--radius); padding: 2rem 1.7rem;
  transition: transform .4s, border-color .4s, background .4s;
}
.step:hover { transform: translateY(-6px); border-color: var(--cedar); background: rgba(217,138,79,.08); }
.step__num { font-family: var(--font-display); font-size: 2.6rem; font-style: italic; color: var(--cedar); display: block; margin-bottom: .6rem; }
.step h3 { color: var(--cream); margin-bottom: .5rem; }
.step p { color: rgba(247,240,227,.75); font-size: .98rem; }

/* ---------- Pricing ---------- */
.pricing { max-width: var(--max); margin: 0 auto; padding: clamp(4.5rem, 11vh, 8rem) clamp(1.2rem, 4vw, 3rem); }
.pricing__intro { text-align: center; max-width: 620px; margin: 0 auto 3.2rem; }
.pricing__intro h2 { margin: .5rem 0 1rem; }
.pricing__intro p { color: #4a4740; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.plan {
  background: var(--paper); border: 1px solid var(--cream-2);
  border-radius: var(--radius); padding: 2.2rem 1.9rem;
  display: flex; flex-direction: column;
  box-shadow: 0 12px 30px -22px rgba(18,58,83,.4);
  transition: transform .4s, box-shadow .4s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan--feature {
  background: linear-gradient(180deg, #163f59, #0e2f43);
  border-color: transparent; position: relative;
  transform: scale(1.03);
}
.plan--feature:hover { transform: scale(1.03) translateY(-6px); }
.plan--feature h3, .plan--feature .plan__price { color: var(--cream); }
.plan--feature .plan__desc { color: rgba(247,240,227,.7); }
.plan--feature ul li { color: rgba(247,240,227,.85); border-color: rgba(247,240,227,.14); }
.plan__flag {
  position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%);
  background: var(--cedar); color: var(--navy-deep); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; padding: .35rem .9rem; border-radius: 100px;
}
.plan h3 { margin-bottom: .3rem; }
.plan__desc { color: #6a655c; font-size: .92rem; margin-bottom: 1.2rem; }
.plan__price { font-family: var(--font-display); font-size: 3.4rem; font-weight: 500; color: var(--navy); line-height: 1; margin-bottom: 1.4rem; }
.plan__price span { font-size: 1.4rem; vertical-align: super; color: var(--cedar-dk); }
.plan__price small { font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: #6a655c; margin-left: .2rem; }
.plan__price--sm { font-size: 2.2rem; font-style: italic; }
.plan ul { list-style: none; margin-bottom: 1.8rem; flex: 1; }
.plan ul li { padding: .7rem 0; border-bottom: 1px solid var(--cream-2); font-size: .95rem; color: #4a4740; }
.plan ul li:last-child { border-bottom: none; }
.pricing__note { text-align: center; margin-top: 1.6rem; font-size: .85rem; color: #8a8478; }
.pricing__note code { background: var(--cream-2); padding: .15em .45em; border-radius: 5px; font-size: .9em; }

/* ---------- Benefits ---------- */
.benefits { background: var(--cream-2); padding: clamp(4.5rem, 11vh, 8rem) clamp(1.2rem, 4vw, 3rem); }
.benefits__head { max-width: var(--max); margin: 0 auto 3rem; text-align: center; }
.benefits__head h2 { margin-top: .5rem; }
.benefits__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.benefit {
  background: var(--paper); border-radius: 14px; padding: 1.9rem;
  border-left: 3px solid var(--sage);
  transition: transform .35s, border-color .35s;
}
.benefit:nth-child(3n-1) { border-left-color: var(--cedar); }
.benefit:nth-child(3n) { border-left-color: var(--water); }
.benefit:hover { transform: translateY(-5px); }
.benefit h3 { margin-bottom: .4rem; font-size: 1.2rem; }
.benefit p { color: #56524a; font-size: .96rem; }

/* ---------- Book ---------- */
.book { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 90vh; }
.book__media {
  background-image: linear-gradient(to bottom, rgba(12,40,54,.15), rgba(12,40,54,.55)), url("assets/sauna-exterior.webp");
  background-size: cover; background-position: center;
}
.book__panel {
  background: var(--navy); color: var(--cream);
  padding: clamp(3rem, 8vh, 6rem) clamp(1.5rem, 5vw, 4.5rem);
  display: flex; flex-direction: column; justify-content: center;
}
.book__panel h2 { color: var(--cream); margin: .5rem 0 1rem; }
.book__lede { color: rgba(247,240,227,.8); margin-bottom: 2rem; max-width: 44ch; }
.book__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: rgba(247,240,227,.7); text-transform: uppercase; }
.field input, .field textarea {
  background: rgba(247,240,227,.06); border: 1px solid rgba(247,240,227,.2);
  border-radius: 10px; padding: .8rem .9rem; color: var(--cream);
  font-family: var(--font-body); font-size: 1rem; transition: border-color .3s, background .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cedar); background: rgba(247,240,227,.1); }
.field textarea { resize: vertical; }
.book__form .btn { grid-column: 1 / -1; margin-top: .4rem; }
.book__fineprint { grid-column: 1 / -1; font-size: .82rem; color: rgba(247,240,227,.55); text-align: center; }
.book__contact { margin-top: 2rem; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; font-family: var(--font-display); font-size: 1.15rem; }
.book__contact a { color: var(--cedar); text-decoration: none; transition: color .3s; }
.book__contact a:hover { color: var(--cream); }
.book__contact span { color: rgba(247,240,227,.4); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--cream); text-align: center; padding: 4rem 1.5rem 2.5rem; }
.footer__brand img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.2rem; box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
.footer__tag { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--cream); }
.footer__links { display: flex; justify-content: center; gap: 1.6rem; margin: 1.6rem 0; }
.footer__links a { color: rgba(247,240,227,.75); text-decoration: none; font-size: .95rem; transition: color .3s; }
.footer__links a:hover { color: var(--cedar); }
.footer__legal { font-size: .82rem; color: rgba(247,240,227,.45); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .experience, .book { grid-template-columns: 1fr; }
  .steps, .plans, .benefits__grid { grid-template-columns: 1fr; }
  .plan--feature, .plan--feature:hover { transform: none; }
  .book__media { min-height: 45vh; }
  .experience__img img { aspect-ratio: 16/11; }
}
@media (max-width: 560px) {
  .book__form { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
