/* ============================================================
   VEGAN WELLNESS RETREATS — Design System
   Bold / modern / Apple-inspired
   ============================================================ */

:root {
  /* Core palette */
  --ink: #0a0e0c;            /* near-black, slightly green */
  --ink-soft: #1a1f1c;
  --paper: #ffffff;
  --cream: #f6f4ee;          /* warm off-white sections */
  --cream-2: #efece2;
  --mist: #e8ebe6;

  /* Brand greens */
  --moss: #2f5d40;           /* deep forest */
  --moss-deep: #1e3d2a;
  --leaf: #4a8a5c;           /* mid green */
  --sage: #8fae93;
  --sage-soft: #c5d6c8;

  /* Accents */
  --sun: #e3a34d;            /* warm amber for highlights */
  --sun-deep: #c9842f;
  --clay: #c66a4a;           /* terracotta */
  --sky: #6fa8b8;

  /* Text */
  --text: #14201a;
  --text-2: #44524a;
  --text-3: #6c7a71;
  --on-dark: #f4f6f2;
  --on-dark-2: #b9c6bd;

  /* Lines */
  --line: rgba(20, 32, 26, 0.10);
  --line-strong: rgba(20, 32, 26, 0.18);
  --line-dark: rgba(255, 255, 255, 0.14);

  /* Type */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "New York", "Iowan Old Style", "Palatino Linotype", "Georgia", "Times New Roman", serif;

  /* Layout */
  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 64px);
  --radius: 22px;
  --radius-lg: 32px;
  --radius-sm: 12px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadow */
  --shadow-sm: 0 2px 10px rgba(10, 14, 12, 0.06);
  --shadow: 0 18px 50px -18px rgba(10, 14, 12, 0.30);
  --shadow-lg: 0 40px 90px -30px rgba(10, 14, 12, 0.45);

  --nav-h: 68px;
}

/* ----------  Reset  ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: var(--sun); color: var(--ink); }

/* ----------  Typographic scale  ---------- */
.display {
  font-size: clamp(2.6rem, 7.5vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 0;
}
h1, .h1 {
  font-size: clamp(2.1rem, 5.2vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0;
}
h2, .h2 {
  font-size: clamp(1.7rem, 3.8vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0;
}
h3, .h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 650;
  margin: 0;
}
.eyebrow {
  font-size: 0.78rem;
  font-weight: 660;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--leaf);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--leaf);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--sun); }
.eyebrow.on-dark::before { background: var(--sun); }
.eyebrow.center { justify-content: center; }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  color: var(--text-2);
  letter-spacing: -0.015em;
}
.serif { font-family: var(--serif); font-style: italic; }

/* ----------  Layout helpers  ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap-wide { max-width: 1380px; }
.section { padding-block: clamp(72px, 11vw, 150px); }
.section-sm { padding-block: clamp(48px, 7vw, 90px); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 64ch; }
.measure-sm { max-width: 48ch; }

.bg-cream { background: var(--cream); }
.bg-cream-2 { background: var(--cream-2); }
.bg-ink { background: var(--ink); color: var(--on-dark); }
.bg-moss { background: var(--moss-deep); color: var(--on-dark); }

/* ----------  Buttons  ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid transparent;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s ease, color 0.3s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform 0.4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-primary { --bg: var(--moss); --fg: #fff; }
.btn-primary:hover { --bg: var(--moss-deep); }
.btn-sun { --bg: var(--sun); --fg: var(--ink); }
.btn-sun:hover { --bg: var(--sun-deep); }
.btn-light { --bg: #fff; --fg: var(--ink); box-shadow: var(--shadow-sm); }
.btn-ghost {
  --bg: transparent; --fg: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { --bg: var(--ink); --fg: #fff; border-color: var(--ink); }
.btn-ghost.on-dark { --fg: var(--on-dark); border-color: var(--line-dark); }
.btn-ghost.on-dark:hover { --bg: #fff; --fg: var(--ink); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* Text link with arrow */
.tlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--moss);
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.3s ease, gap 0.3s var(--ease);
  padding-bottom: 1px;
}
.tlink:hover { border-color: var(--leaf); gap: 11px; }
.tlink.on-dark { color: var(--sun); }

/* ----------  Pills / chips  ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px;
  border-radius: 100px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-2);
  backdrop-filter: blur(8px);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); }
.pill .dot.live { background: #e4574c; box-shadow: 0 0 0 0 rgba(228,87,76,.6); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(228,87,76,.55); }
  70% { box-shadow: 0 0 0 9px rgba(228,87,76,0); }
  100% { box-shadow: 0 0 0 0 rgba(228,87,76,0); }
}
.pill.on-dark { background: rgba(255,255,255,0.08); border-color: var(--line-dark); color: var(--on-dark); }

/* ----------  Announcement bar  ---------- */
.announce {
  background: var(--ink);
  color: var(--on-dark);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 9px var(--gut);
  position: relative;
  z-index: 60;
}
.announce a { color: var(--sun); font-weight: 650; border-bottom: 1px solid transparent; transition: border-color .25s; }
.announce a:hover { border-color: var(--sun); }
.announce .sep { opacity: .4; margin-inline: 10px; }

/* ----------  Navigation  ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-color: var(--line); background: rgba(255,255,255,0.85); }
.nav-inner {
  height: 100%;
  max-width: 1380px; margin-inline: auto;
  padding-inline: var(--gut);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -0.03em; font-size: 1.06rem; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--moss);
  display: grid; place-items: center;
  color: #fff; flex: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.brand-mark svg { width: 19px; height: 19px; }
.brand small { display:block; font-size: .62rem; font-weight: 600; letter-spacing: .14em; color: var(--text-3); text-transform: uppercase; margin-top: 1px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 0.92rem; font-weight: 550; color: var(--text-2);
  padding: 8px 13px; border-radius: 9px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(20,32,26,.05); }
.nav-links a.active { color: var(--moss); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 42px; height: 42px;
  border: 1px solid var(--line-strong); background: transparent;
  border-radius: 11px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(6px); }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--cream);
  padding: calc(var(--nav-h) + 30px) var(--gut) 40px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-100%);
  opacity: 0; pointer-events: none;
  transition: transform .45s var(--ease), opacity .3s ease;
  overflow-y: auto;
}
body.menu-open .mobile-menu { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-size: 1.5rem; font-weight: 650; letter-spacing: -0.02em;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu a .arr { color: var(--sage); }
.mobile-menu .mm-foot { margin-top: auto; padding-top: 26px; display: grid; gap: 12px; }

/* ----------  Cards  ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ic {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--cream); color: var(--moss);
  display: grid; place-items: center; margin-bottom: 20px;
}
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 9px; }
.feature p { margin: 0; color: var(--text-2); font-size: 0.98rem; }

/* ----------  Grids  ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* ----------  Stat strip  ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px,2vw,24px); }
.stat .num {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1; color: var(--ink);
}
.stat .num .u { color: var(--leaf); }
.stat .lbl { margin-top: 9px; font-size: 0.9rem; color: var(--text-3); font-weight: 550; }
.bg-ink .stat .num, .bg-moss .stat .num { color: #fff; }
.bg-ink .stat .num .u, .bg-moss .stat .num .u { color: var(--sun); }
.bg-ink .stat .lbl, .bg-moss .stat .lbl { color: var(--on-dark-2); }

/* ----------  Reveal animation  ---------- */
/* Only hide when JS is active (html.js). Without JS, content stays visible. */
.reveal { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
html.js .reveal { opacity: 0; transform: translateY(28px); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .pill .dot.live { animation: none; }
}

/* ----------  Footer  ---------- */
.footer { background: var(--ink); color: var(--on-dark); padding-block: clamp(56px, 8vw, 88px) 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.13em; color: var(--on-dark-2); margin: 0 0 18px; font-weight: 650; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { color: var(--on-dark); opacity: .82; font-size: 0.95rem; transition: opacity .2s, color .2s; width: fit-content; }
.footer-links a:hover { opacity: 1; color: var(--sun); }
.footer .brand { color: #fff; }
.footer .brand small { color: var(--on-dark-2); }
.footer-blurb { color: var(--on-dark-2); margin: 18px 0 22px; max-width: 34ch; font-size: 0.95rem; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid var(--line-dark);
  display: grid; place-items: center; opacity: .85;
  transition: background .25s, opacity .25s, transform .3s var(--ease);
}
.socials a:hover { background: rgba(255,255,255,.1); opacity: 1; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--on-dark-2);
}
.footer-bottom .mini-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--sun); }

/* ----------  Misc utilities  ---------- */
.tag {
  display:inline-flex; align-items:center; gap:7px;
  font-size:.74rem; font-weight:680; letter-spacing:.08em; text-transform:uppercase;
  padding:6px 12px; border-radius:100px;
}
.tag-tx { background: rgba(227,163,77,.16); color: var(--sun-deep); }
.tag-mi { background: rgba(111,168,184,.18); color: #3f7d8e; }
.divider { height:1px; background: var(--line); border:0; margin:0; }
.flow > * + * { margin-top: 1.1em; }
.muted { color: var(--text-3); }
.nowrap { white-space: nowrap; }

/* ----------  Responsive  ---------- */
@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .g-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .btn-row .btn { width: 100%; }
  .announce { font-size: 0.76rem; }
  .announce .hide-sm { display: none; }
}
