/* ============================================================
   ZenTen Studios — Silent Yoga & Meditation Detox Retreat
   Palette: warm cream, sage/forest green, soft clay
   ============================================================ */

:root {
  --cream:      #f7f3ec;
  --cream-2:    #efe9df;
  --ink:        #2c332e;   /* deep charcoal-green text */
  --ink-soft:   #55605a;
  --sage:       #6f7d63;   /* primary accent */
  --sage-deep:  #566049;
  --clay:       #b98c68;   /* warm secondary accent */
  --forest:     #2f382f;   /* dark section bg */
  --line:       rgba(44, 51, 46, 0.12);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1160px;
  --pad: clamp(1.25rem, 5vw, 4rem);
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 760px; }
.center { text-align: center; }

.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--tint { background: var(--cream-2); }
.section--dark { background: var(--forest); }

/* ---------- typography ---------- */
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sage-deep);
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: #cbd3bf; }

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.display--light { color: var(--cream); }

.lead {
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 auto 1.4rem;
}
.lead--light { color: rgba(247, 243, 236, 0.82); }

.body {
  font-size: 1.04rem;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}
.center .body { margin-inline: auto; max-width: 64ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--sage); color: #fff; }
.btn--solid:hover { background: var(--sage-deep); }
.btn--ghost { background: transparent; border-color: rgba(247,243,236,0.6); color: var(--cream); }
.btn--ghost:hover { background: rgba(247,243,236,0.12); }
.btn--full { width: 100%; margin-top: 1.5rem; }
.btn--pill { background: var(--ink); color: var(--cream); padding: 0.7rem 1.4rem; font-size: 0.72rem; }
.btn--pill:hover { background: var(--sage-deep); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.nav--scrolled {
  background: rgba(247, 243, 236, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: 1.1rem var(--pad);
  display: flex; align-items: center; gap: 1.5rem;
}
.nav__brand { display: flex; align-items: baseline; gap: 0.4rem; margin-right: auto; }
.nav__mark { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.01em; }
.nav__sub { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.28em; color: var(--sage-deep); font-weight: 700; }
/* hero is dark: nav text light until scrolled */
.nav:not(.nav--scrolled) .nav__mark,
.nav:not(.nav--scrolled) .nav__links a { color: var(--cream); }
.nav:not(.nav--scrolled) .nav__sub { color: #cbd3bf; }

.nav__links { display: flex; gap: 1.6rem; }
.nav__links a {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--ink); position: relative; padding-block: 0.2rem;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: currentColor; transition: width 0.25s ease;
}
.nav__links a:hover::after { width: 100%; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--cream); transition: 0.3s; }
.nav--scrolled .nav__toggle span { background: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  color: var(--cream); text-align: center;
  padding: 7rem var(--pad) 5rem;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  background-image: url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=2000&q=80");
  background-size: cover; background-position: center;
  transform: scale(1.05);
  animation: slowzoom 22s ease-in-out infinite alternate;
}
@keyframes slowzoom { to { transform: scale(1.14); } }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,38,30,0.55) 0%, rgba(30,38,30,0.35) 40%, rgba(30,38,30,0.7) 100%);
}
.hero__content { position: relative; max-width: 820px; margin-inline: auto; }
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1.05;
  letter-spacing: 0.01em; margin-bottom: 1.5rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.hero__lede {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 40ch; margin: 0 auto 2.4rem;
  color: rgba(247,243,236,0.92);
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 1.7rem; left: 50%; transform: translateX(-50%); }
.hero__scroll span {
  display: block; width: 1px; height: 46px;
  background: linear-gradient(var(--cream), transparent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:.3} 50%{opacity:1} }

/* ============================================================
   QUOTE STRIP
   ============================================================ */
.strip { position: relative; padding-block: clamp(5rem, 11vw, 9rem); color: var(--cream); overflow: hidden; }
.strip__media {
  position: absolute; inset: 0;
  background-image: url("https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?auto=format&fit=crop&w=2000&q=80");
  background-size: cover; background-position: center; background-attachment: fixed;
}
.strip__overlay { position: absolute; inset: 0; background: rgba(30,38,30,0.55); }
.strip__content { position: relative; }
.strip__quote {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 3.6vw, 2.6rem); line-height: 1.35; letter-spacing: 0.01em;
  max-width: 22ch; margin-inline: auto;
}

/* ============================================================
   CARDS (3 levels)
   ============================================================ */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 3.5rem;
}
.card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 18px;
  padding: 2.6rem 2rem; position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section--tint .card { background: #fff; }
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 45px -25px rgba(44,51,46,0.35); }
.card__num {
  font-family: var(--serif); font-size: 1.1rem; color: var(--clay);
  letter-spacing: 0.2em; font-weight: 600;
}
.card__title {
  font-family: var(--serif); font-weight: 600; font-size: 1.9rem;
  margin: 0.4rem 0 0.9rem; color: var(--ink);
}
.card__body { color: var(--ink-soft); font-size: 1rem; }

/* ============================================================
   SPLIT (practices)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 4rem; margin-top: 3rem; }
.split__item { position: relative; padding-top: 1.6rem; border-top: 2px solid var(--clay); }
.split__title { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; margin-bottom: 0.8rem; }

/* ============================================================
   TIMELINE (schedule)
   ============================================================ */
.timeline { margin-top: 3.5rem; max-width: 680px; }
.timeline .wrap { padding: 0; }
.tl {
  display: grid; grid-template-columns: 92px 1fr; align-items: baseline; gap: 1.5rem;
  padding: 1.05rem 0; border-bottom: 1px solid rgba(247,243,236,0.14);
}
.tl:last-child { border-bottom: 0; }
.tl__time { font-family: var(--serif); font-size: 1.4rem; color: #cbd3bf; text-align: right; }
.tl__event { color: rgba(247,243,236,0.9); font-size: 1.05rem; }

/* ============================================================
   FEATURE (venue) — image + text side by side
   ============================================================ */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.feature__media {
  min-height: 460px;
  background-image: url("images/venue.jpg");
  background-size: cover; background-position: center;
}
.feature__body { padding: clamp(3rem, 7vw, 6rem) var(--pad); align-self: center; max-width: 620px; }

/* ============================================================
   LEADER
   ============================================================ */
.leader { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.leader__portrait {
  display: block; width: 100%; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: center 30%;
  border-radius: 18px; background: var(--cream-2);
}
.leader__body { max-width: 560px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.quote {
  background: var(--cream-2); border-radius: 18px; padding: 2.6rem 2.4rem;
  border: 1px solid var(--line);
}
.quote blockquote {
  font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.5;
  color: var(--ink); margin-bottom: 1.1rem;
}
.quote figcaption { font-weight: 700; letter-spacing: 0.04em; color: var(--sage-deep); }

/* ============================================================
   PRICE
   ============================================================ */
.price { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.incl { list-style: none; margin-top: 1.8rem; }
.incl li {
  position: relative; padding: 0.65rem 0 0.65rem 2rem;
  border-bottom: 1px solid var(--line); color: var(--ink-soft);
}
.incl li:last-child { border-bottom: 0; }
.incl li::before {
  content: ""; position: absolute; left: 0; top: 1.15rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--clay);
}
.price__card {
  background: var(--forest); color: var(--cream);
  border-radius: 22px; padding: 2.6rem 2.2rem; position: sticky; top: 6rem;
  box-shadow: 0 30px 60px -30px rgba(47,56,47,0.6);
}
.price__label { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.72rem; color: #cbd3bf; font-weight: 700; }
.price__amount { font-family: var(--serif); font-size: 3.6rem; font-weight: 600; line-height: 1; margin: 0.4rem 0 1.2rem; }
.price__amount span { font-size: 1.3rem; color: #cbd3bf; }
.price__earlybird {
  background: rgba(185,140,104,0.18); border: 1px solid rgba(185,140,104,0.4);
  color: #ecd9c7; border-radius: 12px; padding: 0.9rem 1rem; font-size: 0.95rem;
}
.price__earlybird strong { color: #fff; }
.price__meta { margin-top: 1.6rem; display: grid; gap: 0.9rem; }
.price__meta > div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(247,243,236,0.14); padding-bottom: 0.7rem; }
.price__meta span { color: #aeb8a6; font-size: 0.9rem; }
.price__meta strong { font-weight: 600; font-size: 0.95rem; }

/* ============================================================
   RESERVE
   ============================================================ */
.reserve { position: relative; padding-block: clamp(5rem, 12vw, 9rem); color: var(--cream); overflow: hidden; text-align: center; }
.reserve__media {
  position: absolute; inset: 0;
  background-image: url("https://images.unsplash.com/photo-1508672019048-805c876b67e2?auto=format&fit=crop&w=2000&q=80");
  background-size: cover; background-position: center;
}
.reserve__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,38,30,0.5), rgba(30,38,30,0.72)); }
.reserve__content { position: relative; }
.reserve__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 0.5rem; }
.reserve__contact { margin-top: 2rem; letter-spacing: 0.06em; color: rgba(247,243,236,0.8); font-size: 0.95rem; }

/* ============================================================
   FORMS (booking + contact)
   ============================================================ */
.wrap--form { max-width: 780px; }
.form-head { text-align: center; margin-bottom: 2.8rem; }
.form-head .body { margin-inline: auto; max-width: 60ch; }
.inline-link { color: var(--sage-deep); text-decoration: underline; text-underline-offset: 3px; }
.inline-link:hover { color: var(--clay); }

.form { display: grid; gap: 1.35rem; }
/* honeypot — visually removed & taken out of layout; only bots see/fill it */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form--card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(1.75rem, 4vw, 2.6rem);
  box-shadow: 0 24px 50px -34px rgba(44,51,46,0.4);
}
.field { display: grid; gap: 0.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
.field label,
.check span { font-size: 0.9rem; font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.req { color: var(--clay); }

.field input,
.field textarea,
.field select {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 0.85rem 1rem; width: 100%; transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #a7ac9f; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none; border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(111,125,99,0.14); background: #fff;
}
/* dropdown: match text inputs, custom chevron, muted placeholder option */
.field select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2355605a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.field select:required:invalid { color: #a7ac9f; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 90px; }

.check {
  display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start;
  cursor: pointer; line-height: 1.5;
}
.check input {
  appearance: none; -webkit-appearance: none;
  width: 22px; height: 22px; margin-top: 1px; flex: none;
  border: 1.5px solid var(--sage); border-radius: 6px; background: var(--cream);
  cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease;
  position: relative;
}
.check input:checked { background: var(--sage); border-color: var(--sage); }
.check input:checked::after {
  content: ""; position: absolute; left: 7px; top: 3px;
  width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.check span { font-weight: 400; color: var(--ink-soft); }

.form__submit { justify-self: start; margin-top: 0.4rem; }
.form__status { font-size: 0.95rem; margin: 0; min-height: 1.2em; }
.form__status.is-pending { color: var(--ink-soft); }
.form__status.is-success { color: var(--sage-deep); font-weight: 600; }
.form__status.is-error { color: #b4553f; font-weight: 600; }

/* contact layout */
.contact { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__info { max-width: 460px; }
.contact__list { list-style: none; margin-top: 1.8rem; display: grid; gap: 1.1rem; }
.contact__list li { display: grid; gap: 0.15rem; }
.contact__list span { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.7rem; font-weight: 700; color: var(--sage-deep); }
.contact__list a { color: var(--ink); border-bottom: 1px solid var(--line); width: fit-content; }
.contact__list a:hover { color: var(--sage-deep); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: rgba(247,243,236,0.75); padding-block: 2.4rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer .nav__mark { color: var(--cream); }
.footer p { font-size: 0.85rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .split, .quotes, .price { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature__media { min-height: 300px; }
  .leader { grid-template-columns: 1fr; }
  .leader__portrait { max-width: 380px; margin-inline: auto; }
  .price__card { position: static; }

  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; gap: 0; text-align: center;
    background: rgba(247,243,236,0.98); backdrop-filter: blur(10px);
    padding: 0.5rem 0; box-shadow: 0 12px 30px -15px rgba(44,51,46,0.35);
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
  }
  body.nav-open .nav__links { max-height: 340px; }
  .nav__links a { padding: 0.9rem 0; width: 100%; }
  /* force dark text in mobile menu regardless of hero state */
  .nav:not(.nav--scrolled) .nav__links a { color: var(--ink); }
  .strip__media { background-attachment: scroll; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}
