/* Mindfulness Guides: Semkyi x Divergent hybrid.
   Warm cream ground, near-black ink, big editorial serif,
   gold and forest green as small accents only. */

:root {
  --cream: #FFFDF8;
  --cream-2: #FCFAF5;
  --paper: #F6F0E4;
  --ink: #1C1B17;
  --ink-soft: #55503F;
  --green: #274F38;
  --green-deep: #1F4230;
  --gold: #B08F3E;
  --gold-soft: #D9BC77;
  --hairline: rgba(28, 27, 23, 0.16);
  --serif: 'Libre Baskerville', 'Iowan Old Style', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.75;
}

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

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(3rem, 9.5vw, 7.25rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.3;
}

p { margin: 0 0 1.15em; color: var(--ink-soft); }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.15rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand-icon { width: 22px; height: 22px; flex: none; }

.brand-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  white-space: nowrap;
}

.main-nav { display: flex; align-items: center; gap: 2.2rem; }

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover { border-bottom-color: var(--ink); color: var(--ink); }

.main-nav a.nav-cta {
  background: var(--ink);
  color: var(--cream);
  padding: 0.55rem 1.3rem;
  border-radius: 2px;
  border-bottom: none;
  transition: background 0.2s ease;
}

.main-nav a.nav-cta:hover { background: var(--green-deep); color: var(--cream); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  display: block;
  transition: transform 0.25s ease;
}

.nav-toggle.open span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle.open span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- Shared section chrome ---------- */

.section { padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 4vw, 3rem); }

.section-inner { max-width: 1240px; margin: 0 auto; }

.eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--green);
  margin: 0 0 1.1rem;
}

.btn {
  display: inline-block;
  padding: 0.95rem 2.1rem;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
}

.btn-primary:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--cream); }

/* ---------- Hero ---------- */

.hero { padding: 0; }

.hero-text {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4.5rem);
}

.kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  margin: 0 0 1.4rem;
}

.hero h1 { max-width: 14ch; margin-bottom: 0.35em; }

.hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-sub {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink);
  max-width: 34ch;
  margin: 0;
}

.hero-figure {
  margin: 0 0 0 auto;
  width: min(100%, calc(50% + 620px));
}

.hero-figure img {
  width: 100%;
  height: clamp(400px, 78vh, 780px);
  object-fit: cover;
  object-position: 50% 42%;
}

/* ---------- Split layout (reused by Why, Bhutan, Program) ---------- */

.why { background: var(--cream); }
.whatis { background: var(--paper); }
.levels { background: var(--cream); }
.believe { background: var(--paper); }
.bhutan { background: var(--cream); }
.how { background: var(--paper); }
.guides-way { background: var(--cream); }
.program { background: var(--paper); }

.split {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 2.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  border-top: 1px solid var(--hairline);
  padding-top: clamp(2rem, 4vw, 3.5rem);
}

.split-label .eyebrow { margin-bottom: 0; }

.split-body h2 { max-width: 20ch; margin-bottom: 0.9em; }

.split-body p { max-width: 62ch; }

.opener {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.6;
  color: var(--ink);
}

.lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.5;
  color: var(--green);
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--hairline);
  max-width: 30ch;
}

/* ---------- How ---------- */

.how-heading {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 2.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.how-heading .eyebrow { margin-bottom: 0; }
.how-heading h2 { margin-bottom: 0; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.step {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(1.25rem, 4vw, 4rem);
  border-top: 1px solid var(--hairline);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
}

.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1.2;
}

.step h3 { margin: 0; }

.step p { margin: 0; max-width: 58ch; }

.how-note {
  max-width: 62ch;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
  border-top: 1px solid var(--hairline);
  font-size: 0.98rem;
  color: var(--ink-soft);
}

/* ---------- Contact ---------- */

.contact { background: var(--cream-2); border-top: 1px solid var(--hairline); }

.contact-inner {
  max-width: 720px;
  text-align: center;
  padding: clamp(1rem, 3vw, 2rem) 0;
}

.contact-icon { margin: 0 auto 1.6rem; width: 34px; height: 34px; }

.contact .eyebrow { margin-bottom: 0.8rem; }

.contact h2 { font-size: clamp(2.4rem, 6vw, 4.2rem); }

.contact-note { max-width: 42ch; margin: 0 auto 2.2rem; }

/* Booking embed */
.booking-embed {
  max-width: 720px;
  margin: 0 auto 1.2rem;
}

.booking-embed iframe {
  width: 100%;
  height: 660px;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  background: var(--cream);
}

/* Intake form */
.intake-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 420px;
  margin: 0 auto 1.2rem;
  text-align: left;
}

.intake-form input, .intake-form textarea {
  background: var(--cream);
  border: 1px solid var(--hairline);
  color: var(--ink);
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  border-radius: 2px;
}

.intake-form textarea { resize: vertical; }
.intake-form input::placeholder, .intake-form textarea::placeholder { color: var(--ink-soft); }
.intake-form input:focus, .intake-form textarea:focus { outline: none; border-color: var(--green); }
.intake-form .btn { align-self: center; margin-top: 0.3rem; border: none; cursor: pointer; }

.form-fallback { font-size: 0.88rem; margin-top: 0.5rem; color: var(--ink-soft); }

/* ---------- Subpages (Prospective Guides, Referral Partners) ---------- */

.subpage { background: var(--cream); }
.section-inner.narrow { max-width: 760px; }
.subpage h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 0.55em;
  max-width: 16ch;
}
.subpage .opener { font-size: clamp(1.18rem, 1.9vw, 1.4rem); line-height: 1.6; color: var(--ink); }
.subpage p { max-width: 64ch; }
.subpage .btn { margin-top: 1.4rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--cream-2);
  border-top: 1px solid var(--hairline);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 1rem; }

.footer-logo-link { display: block; flex: none; }

.footer-logo { height: 26px; width: auto; }

.footer-brand p { margin: 0; font-size: 0.95rem; color: var(--ink); }

.footer-meta-block { text-align: right; }

.footer-meta { margin: 0 0 0.4rem; font-size: 0.88rem; color: var(--ink-soft); }

.footer-copy { margin: 0; font-size: 0.78rem; color: rgba(85, 80, 63, 0.75); }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .step {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
  .step .step-num { grid-row: 1 / span 2; }
  .step p { grid-column: 2; }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
    gap: 1.3rem;
    border-bottom: 1px solid var(--hairline);
    display: none;
  }
  .main-nav.open { display: flex; }
  .header-inner { position: relative; }
  .site-header { background: var(--cream); }
  .nav-toggle { display: flex; }

  .hero-figure { width: 100%; }
  .hero-figure img { height: clamp(340px, 60vh, 520px); }

  .split,
  .how-heading { grid-template-columns: 1fr; gap: 1.25rem; }

  .step { grid-template-columns: 1fr; gap: 0.8rem; }
  .step .step-num { grid-row: auto; }
  .step p { grid-column: auto; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta-block { text-align: left; }
}
