/* =========================================================
   Harambe — Private Wellness Sanctuary
   Design system: earthy-natural base · ceremonial warmth · modern calm
   ========================================================= */

:root {
  /* Palette */
  --forest: #1e3b2f;
  --forest-2: #16302632;
  --moss: #3f5c47;
  --clay: #b0603a;
  --clay-soft: #c47c56;
  --gold: #c3a24d;
  --gold-soft: #d9c186;
  --sand: #ece2d0;
  --cream: #f7f1e6;
  --paper: #fbf7ef;
  --ink: #241f18;
  --stone: #6d6456;
  --stone-2: #8a8175;
  --line: #e2d7c3;
  --white: #ffffff;

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing / shape */
  --wrap: 1180px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -30px rgba(30, 40, 33, 0.45);
  --shadow-sm: 0 10px 30px -18px rgba(30, 40, 33, 0.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.2px;
  margin: 0 0 0.4em;
  color: var(--forest);
}
h1 { font-size: clamp(2.7rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
p { margin: 0 0 1.1em; }

.wrap { width: min(100% - 44px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.center { text-align: center; }
.narrow { max-width: 720px; margin-inline: auto; }

/* ---------- Utility text ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 1.1em;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.center .eyebrow { justify-content: center; }
.center .eyebrow::after {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); color: var(--stone); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.95em 1.8em;
  border-radius: 100px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, box-shadow 0.4s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--forest); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--clay); }
.btn-ghost { border-color: rgba(255,255,255,0.5); color: var(--cream); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-outline { border-color: var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--cream); }
.btn-arrow::after { content: "→"; transition: transform 0.4s var(--ease); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 247, 239, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 0.7em; }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand .name {
  font-family: var(--serif); font-size: 1.55rem; color: var(--forest);
  letter-spacing: 0.5px; line-height: 1;
}
.brand .name small {
  display: block; font-family: var(--sans);
  font-size: 0.56rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--stone-2); margin-top: 3px; font-weight: 600;
}
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em; color: var(--ink);
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--clay); transition: width 0.35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 1.1rem; }

/* Language switch */
.lang {
  display: flex; align-items: center; gap: 2px;
  border: 1px solid var(--line); border-radius: 100px; padding: 3px; background: var(--white);
}
.lang button {
  border: 0; background: transparent; color: var(--stone);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 4px 9px; border-radius: 100px; transition: 0.25s;
}
.lang button.active { background: var(--forest); color: var(--cream); }

.nav-toggle {
  display: none; border: 0; background: transparent; width: 40px; height: 40px;
  flex-direction: column; justify-content: center; gap: 5px; padding: 8px;
}
.nav-toggle span { height: 2px; background: var(--forest); border-radius: 2px; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(196,124,86,0.28), transparent 55%),
    linear-gradient(160deg, #24463799 0%, #16302688 45%, transparent 75%),
    linear-gradient(180deg, var(--forest) 0%, #17301f 100%);
  color: var(--cream);
}
.hero .wrap { position: relative; z-index: 2; padding: clamp(96px, 15vh, 190px) 0 clamp(90px, 13vh, 150px); }
.hero h1 { color: var(--cream); max-width: 15ch; }
.hero .lead { color: rgba(247,241,230,0.82); max-width: 46ch; }
.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 2.2rem; }
.hero-motif {
  position: absolute; inset: 0; z-index: 1; opacity: 0.5;
  background-repeat: no-repeat; background-position: right -40px top -20px; background-size: 620px;
  pointer-events: none;
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 2; font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(247,241,230,0.6); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll::after { content: ""; width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); }

/* page hero (inner) */
.page-hero {
  background:
    radial-gradient(110% 120% at 85% 0%, rgba(196,124,86,0.22), transparent 55%),
    linear-gradient(165deg, var(--forest), #17301f);
  color: var(--cream); text-align: center;
}
.page-hero .wrap { padding: clamp(90px, 13vh, 150px) 0 clamp(60px, 8vh, 96px); }
.page-hero h1 { color: var(--cream); }
.page-hero .lead { color: rgba(247,241,230,0.82); }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before, .page-hero .eyebrow::after { background: var(--gold); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--cream); border: 1px solid var(--line); margin-bottom: 18px; color: var(--clay);
}
.card h3 { font-size: 1.35rem; }
.card p { color: var(--stone); font-size: 0.98rem; margin: 0; }
.card .num { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); }

/* Split feature */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split.rev .media { order: 2; }
.media {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  min-height: 380px; position: relative; border: 1px solid var(--line);
}
.media .ph-label {
  position: absolute; left: 14px; bottom: 12px; font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.85); background: rgba(30,40,33,0.4);
  padding: 4px 9px; border-radius: 100px; backdrop-filter: blur(4px);
}

/* Photo placeholders (self-contained, no external images) */
.ph { position: relative; }
.ph-1 { background: linear-gradient(150deg, #2c5140, #1b3527 70%); }
.ph-2 { background: linear-gradient(150deg, #b0603a, #7d3c22 80%); }
.ph-3 { background: linear-gradient(150deg, #c3a24d, #7d6220 80%); }
.ph-4 { background: linear-gradient(150deg, #3f5c47, #24463a 80%); }
.ph-5 { background: linear-gradient(150deg, #d9c186, #b0603a 90%); }
.ph-6 { background: linear-gradient(150deg, #6d6456, #2c2419 90%); }
.ph::after {
  content: ""; position: absolute; inset: 0; opacity: 0.5; mix-blend-mode: soft-light;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.5), transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* ---------- Feature bands ---------- */
.band-forest { background: var(--forest); color: var(--cream); }
.band-forest h2, .band-forest h3 { color: var(--cream); }
.band-forest .lead { color: rgba(247,241,230,0.8); }
.band-forest .eyebrow { color: var(--gold-soft); }
.band-sand { background: var(--sand); }
.band-cream { background: var(--cream); }

/* stat row */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat .n { font-family: var(--serif); font-size: clamp(2.2rem,4vw,3.2rem); color: var(--gold); line-height:1; }
.stat .l { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); margin-top: 8px; }
.band-forest .stat .l { color: rgba(247,241,230,0.7); }

/* pillars / list */
.pillar { display: flex; gap: 18px; align-items: flex-start; }
.pillar .dot { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cream); border: 1px solid var(--line); color: var(--clay); font-family: var(--serif); font-size: 1.2rem; }
.band-forest .pillar .dot { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); color: var(--gold-soft); }
.pillar h3 { font-size: 1.2rem; margin-bottom: 0.25em; }
.pillar p { color: var(--stone); font-size: 0.96rem; margin: 0; }
.band-forest .pillar p { color: rgba(247,241,230,0.75); }

/* ---------- Testimonials ---------- */
.quote {
  font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.3;
  color: var(--forest); font-weight: 500;
}
.band-forest .quote { color: var(--cream); }
.quote-mark { font-family: var(--serif); font-size: 3rem; color: var(--gold); line-height: 0.6; }
.attr { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone-2); margin-top: 1.4em; }

/* ---------- Membership charter ---------- */
.charter { counter-reset: c; display: grid; gap: 2px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.charter li {
  list-style: none; background: var(--white); padding: 26px 30px; display: grid;
  grid-template-columns: 56px 1fr; gap: 18px; align-items: start;
}
.charter li::before {
  counter-increment: c; content: counter(c, decimal-leading-zero);
  font-family: var(--serif); font-size: 1.5rem; color: var(--gold);
}
.charter h3 { font-size: 1.2rem; margin-bottom: 0.2em; }
.charter p { margin: 0; color: var(--stone); font-size: 0.97rem; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: 0; padding: 24px 4px;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  font-family: var(--serif); font-size: 1.3rem; color: var(--forest);
}
.faq-q .plus { flex: none; width: 26px; height: 26px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; inset: 0; margin: auto; background: var(--clay); transition: 0.3s;
}
.faq-q .plus::before { width: 16px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 16px; }
.faq-item.open .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { padding: 0 4px 24px; color: var(--stone); margin: 0; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--stone); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.98rem; background: var(--white); color: var(--ink);
  transition: border 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(176,96,58,0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--stone-2); }

/* ---------- Members gate ---------- */
.gate-card {
  max-width: 460px; margin-inline: auto; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px 36px; box-shadow: var(--shadow); text-align: center;
}
.gate-card .mark { width: 46px; height: 46px; margin: 0 auto 16px; }
.gate-msg { font-size: 0.86rem; margin-top: 12px; min-height: 20px; }
.gate-msg.err { color: var(--clay); }
.gate-msg.ok { color: var(--moss); }
#member-area { display: none; }
.member-tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.member-tile .ico { color: var(--clay); margin-bottom: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--moss);
  background: rgba(63,92,71,0.1); padding: 6px 13px; border-radius: 100px;
}

/* ---------- Footer ---------- */
.site-footer { background: #16281e; color: rgba(247,241,230,0.72); padding: 76px 0 32px; }
.site-footer h4 { color: var(--cream); font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: 1.2em; font-weight: 600; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer a { color: rgba(247,241,230,0.72); transition: color 0.25s; }
.site-footer a:hover { color: var(--gold-soft); }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 0.92rem; }
.foot-brand .name { font-family: var(--serif); font-size: 1.7rem; color: var(--cream); }
.foot-brand p { font-size: 0.94rem; max-width: 34ch; margin-top: 12px; }
.foot-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.8rem; color: rgba(247,241,230,0.5);
}
.disclaimer { font-size: 0.78rem; color: rgba(247,241,230,0.45); max-width: 62ch; line-height: 1.6; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Misc helpers ---------- */
.nav-links .mobile-only { display: none; }
.media.sm { min-height: 230px; }
.form-sent {
  display: none; background: rgba(63,92,71,0.1); border: 1px solid rgba(63,92,71,0.3);
  color: var(--moss); border-radius: var(--radius-sm); padding: 16px 18px; font-size: 0.95rem; margin-top: 4px;
}
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--stone); }
.checkbox input { width: auto; margin-top: 3px; }
.list-clean { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.list-clean li { display: flex; gap: 12px; align-items: flex-start; color: var(--stone); }
.list-clean li::before { content: "✦"; color: var(--gold); flex: none; }
.divider { width: 60px; height: 1px; background: var(--gold); margin: 22px 0; }
.center .divider { margin-inline: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 30px; }
}
@media (max-width: 820px) {
  .nav-links, .nav-right .desktop-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 20px 22px; gap: 4px;
    box-shadow: var(--shadow-sm);
  }
  .nav.open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav.open .nav-links .mobile-only { display: block; }
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev .media { order: 0; }
  .g-2, .g-3 { grid-template-columns: 1fr; }
  .charter li { grid-template-columns: 40px 1fr; }
}
@media (max-width: 520px) {
  .g-4 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
