/* ==========================================================
   Kesten Rono — styles
   Colors are a proposed palette; change them here in one place.
   ========================================================== */
:root {
  /* Brand palette — accents (orange + bright greens) are used sparingly */
  --forest: #274001;        /* deep green: dark sections, Book Now */
  --forest-2: #335409;      /* hover for deep green */
  --cream: #F2F2F2;         /* light background */
  --sand: #E9E1DC;          /* light tint of clay, alternate section bg */
  --clay: #A6613A;          /* clay brown: Shipibo patterns */
  --earth: #524823;         /* olive brown: small labels, footer */
  --accent: #ED6209;        /* orange accent: buttons, lines, icons */
  --accent-green: #83A603;  /* bright green accent: on dark backgrounds */
  --accent-green-2: #6E8C03;/* green accent: large text/icons on light backgrounds */
  --ink: #1B1A16;
  --muted: #5A574C;
  --line: rgba(27, 26, 22, 0.14);
  --line-light: rgba(242, 242, 242, 0.24);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(80px, 11vw, 160px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; margin: 0; }
h2, h1.page-title { font-size: clamp(40px, 5.4vw, 76px); letter-spacing: -0.01em; text-wrap: balance; }
h2 em, h1.page-title em { font-style: italic; color: var(--accent-green-2); }
p { margin: 0 0 1.1em; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--forest); color: var(--cream); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.hero :focus-visible, .dietas :focus-visible, .closing :focus-visible, .site-footer :focus-visible { outline-color: var(--accent-green); }

.container { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--earth); margin-bottom: 22px; display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--accent); }
.eyebrow-light { color: var(--cream); }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 34px; min-width: 210px;
  font-family: var(--font-display); font-size: 20px; text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  cursor: pointer;
}
.btn-solid { background: var(--accent); color: var(--ink); border: 1px solid var(--accent); }
.btn-solid:hover { background: var(--accent-green); border-color: var(--accent-green); }
.btn-outline { color: var(--cream); border: 1px solid rgba(242, 242, 242, .7); }
.btn-outline:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.btn-light { background: var(--cream); color: var(--forest); border: 1px solid var(--cream); }
.btn-light:hover { background: transparent; color: var(--cream); }
.text-link {
  font-family: var(--font-display); font-size: 20px; color: var(--forest); text-decoration: none;
  border-bottom: 2px solid var(--accent); padding-bottom: 2px;
}
.text-link span { display: inline-block; transition: transform .25s var(--ease); }
.text-link:hover span { transform: translateX(4px); }

/* ---------- Header (reference: divided top bar) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1.5fr 3fr 1.1fr 1fr;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.header-cell {
  display: flex; align-items: center; padding: 0 clamp(16px, 2vw, 36px);
  border-right: 1px solid var(--line); text-decoration: none; min-width: 0;
}
.brand { gap: 12px; font-family: var(--font-display); font-size: 22px; color: var(--forest); }
.brand-logo { display: block; height: 66px; width: auto; max-width: 100%; }
.main-nav { justify-content: center; }
.main-nav ul { display: flex; gap: clamp(16px, 2.2vw, 34px); list-style: none; margin: 0; padding: 0; }
.main-nav a { font-family: var(--font-display); font-size: 18px; white-space: nowrap; text-decoration: none; position: relative; padding: 6px 0; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav-contact-mobile { display: none; }

/* Retreats dropdown */
.has-sub { position: relative; }
.sub-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 0;
  background: none; border: 0; color: inherit; cursor: pointer;
  font-family: var(--font-display); font-size: 18px; font-weight: 400;
}
.sub-toggle svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.main-nav .sub-menu {
  display: block; position: absolute; top: calc(100% + 22px); left: -22px; min-width: 210px;
  margin: 0; padding: 8px 0; list-style: none;
  background: var(--cream); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(27, 26, 22, .12);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s .22s;
}
.main-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; } /* hover bridge */
.has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .22s var(--ease), transform .22s var(--ease); }
.main-nav .sub-menu a { display: block; padding: 10px 22px; font-size: 19px; }
.main-nav .sub-menu a::after { display: none; }
.main-nav .sub-menu a:hover, .main-nav .sub-menu a:focus-visible { background: var(--forest-2); color: var(--cream); }
/* Retreats button: same hover as Book Now (desktop only; padding offset keeps it aligned with the other links) */
@media (min-width: 961px) {
  .sub-toggle { padding: 6px 12px; margin: 0 -12px; transition: background-color .25s var(--ease), color .25s var(--ease); }
  .sub-toggle:hover, .sub-toggle[aria-expanded="true"] { background: var(--forest-2); color: var(--cream); }
}
.main-nav .sub-menu a { transition: background-color .2s var(--ease), color .2s var(--ease); }
.main-nav .sub-menu a:focus-visible { outline: 2px solid var(--accent-green); outline-offset: -4px; }
.header-cta {
  justify-content: center; background: var(--forest); color: var(--cream);
  font-family: var(--font-display); font-size: 20px; border-right: 0; transition: background-color .25s;
}
.header-cta:hover { background: var(--forest-2); }
.header-contact { justify-content: center; font-family: var(--font-display); font-size: 19px; border-right: 0; }
.header-contact:hover { color: var(--accent-green-2); }
.menu-toggle { display: none; }

/* ---------- Hero (minimal: kené disc + drawing rings) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  padding: calc(var(--header-h) + clamp(24px, 4.5vh, 56px)) var(--gutter) clamp(64px, 8.5vh, 96px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0; text-align: center;
  --kene: clamp(230px, 42vh, 440px);   /* kené size (previous, larger size) */
  color: var(--cream); overflow: hidden; isolation: isolate;
  background: var(--forest);   /* solid brand green */
}
.hero-rings { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; will-change: transform; }

/* Kené line drawing (drawn on the canvas; this box sizes/positions it) */
.hero-kene {
  position: relative; z-index: 1; pointer-events: none; flex: none;
  width: var(--kene); aspect-ratio: 1;
  margin: calc(var(--kene) * .04) 0;    /* breathing room above and below */
}
.hero-kene-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-kene.is-drawn .hero-kene-img { visibility: hidden; }

.hero-head, .hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero-stage { position: relative; display: flex; align-items: center; justify-content: center; flex: none; }
/* the name sits across the centre of the kené, on a soft elliptical veil */
.hero-stage .hero-head {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: max-content; max-width: 100vw;
  padding: 18px 40px;
}
.hero-stage .hero-head::before {
  content: ""; position: absolute; inset: -34px -80px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(39, 64, 1, .5) 40%, rgba(39, 64, 1, .25) 68%, rgba(39, 64, 1, 0));   /* soft, mostly transparent */
}
.hero-stage .hero-title {
  font-size: clamp(38px, 5vw, 72px); font-weight: 500; color: #FFFFFF;
  /* a soft dark-green halo hugs the letters, so the name stays crisp over the kené without a heavy veil */
  text-shadow: 0 0 2px rgba(20, 34, 0, .9), 0 0 10px rgba(20, 34, 0, .85), 0 0 26px rgba(20, 34, 0, .7);
}
.hero-stage .hero-meta { color: #FFFFFF; text-shadow: 0 0 6px rgba(20, 34, 0, .95), 0 0 16px rgba(20, 34, 0, .8); }
.hero-stage .hero-meta { margin-bottom: 14px; }
.hero-title {
  font-size: clamp(34px, 4.4vw, 62px); line-height: 1; font-weight: 400; text-transform: uppercase;
  letter-spacing: .2em; word-spacing: .3em; padding-left: .2em; /* balances the trailing letter-spacing */
}
.hero-meta {
  display: flex; align-items: center; gap: 14px; margin: 0 0 18px;
  font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: rgba(242, 242, 242, .78);
}
.hero-meta::before { content: ""; width: 34px; height: 2px; background: var(--accent); }
.hero-tagline { font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.3; margin: 0 0 10px; color: rgba(242, 242, 242, .9); }
.hero-offer { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55; max-width: 44ch; color: rgba(242, 242, 242, .86); margin: 0 0 30px; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }


.hero .btn { min-height: 50px; min-width: 196px; font-size: 18px; }

/* shorter screens (laptops): tighter spacing so the whole hero fits */
@media (max-height: 800px) and (min-width: 641px) {
  .hero { padding-top: calc(var(--header-h) + 16px); padding-bottom: 56px; }
}

.scroll-cue {
  position: absolute; z-index: 1; left: 50%; bottom: 26px; translate: -50% 0;
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  color: rgba(242, 242, 242, .7); text-decoration: none;
}
.scroll-cue:hover { color: var(--accent-green); }
.scroll-cue svg { width: 22px; height: 22px; animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.about-text h2, .about-text h1.page-title { margin-bottom: 34px; }
.about-text > p { max-width: 56ch; color: #3E3C34; }
.pillars { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; border-top: 1px solid var(--line); padding-top: 32px; }
.pillars svg { width: 34px; height: 34px; color: var(--accent-green-2); margin-bottom: 14px; }
.pillars h3 { font-size: 24px; margin-bottom: 8px; }
.pillars p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }
.about-media { position: relative; padding-bottom: 18%; }
.about-img-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-img-small {
  position: absolute; left: -12%; bottom: 0; width: 46%;
  border: 10px solid var(--cream);
}
.about-img-small img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }

/* ---------- Healer bio ---------- */
.healer {
  display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start;
  margin-top: clamp(80px, 10vw, 140px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line);
}
.healer-photo { margin: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.healer-frame { position: relative; display: block; }
.healer-frame { --kb: 48px; }
/* kené strips fill the offset frame behind the photo: bottom band + side band (clay ground, brand-palette threads) */
.healer-frame::before, .healer-frame::after { content: ""; position: absolute; z-index: 0; background-repeat: repeat; }
.healer-frame::before { left: var(--kb); right: calc(-1 * var(--kb)); bottom: calc(-1 * var(--kb)); height: var(--kb);
  background-image: url("../Media-Peru/kene/kene-strip-h.svg?v=7"); background-size: auto 100%; background-position: left center; }
.healer-frame::after { right: calc(-1 * var(--kb)); top: var(--kb); bottom: 0; width: var(--kb);
  background-image: url("../Media-Peru/kene/kene-strip-v.svg?v=7"); background-size: 100% auto; background-position: center top; }
.healer-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1; object-fit: cover; }
.healer-photo .healer-img-top { object-position: 50% 18%; }   /* portrait photo: keep the face in the square crop */
.healer-photo figcaption { position: relative; margin-top: 72px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--earth); }
.healer-name { font-size: clamp(40px, 5vw, 68px); line-height: 1.02; margin: 0 0 12px; }
.healer-name em { font-style: italic; color: var(--accent-green-2); }
/* Don Enrique (Kesten Rono) is the centre of the site: his name sits a step larger than the other bios */
.healer-name-main { font-size: clamp(46px, 5.8vw, 80px); text-wrap: balance; }
.healer-origin { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--earth); margin-bottom: 28px; }
.healer-shipibo-name {
  font-family: var(--font-display); font-size: clamp(22px, 2vw, 27px); line-height: 1.35; color: var(--forest);
  margin: 0 0 30px; padding: 4px 0 4px 20px; border-left: 2px solid var(--accent); max-width: 40ch;
}
.healer-lead { font-weight: 500; color: var(--forest); }
.healer-shipibo-name strong { font-weight: 500; font-style: italic; color: var(--accent-green-2); }
.healer-text > p:not(.eyebrow):not(.healer-origin):not(.healer-shipibo-name) { max-width: 60ch; color: #3E3C34; }
.healer-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.healer-facts div { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); }
.healer-facts div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.healer-facts dt { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); margin-bottom: 4px; }
.healer-facts dd { margin: 0; font-family: var(--font-display); font-size: 21px; line-height: 1.25; color: var(--forest); }
/* second bio: mirrored, photo on the right */
.healer + .healer { margin-top: clamp(64px, 8vw, 120px); }
.healer-reverse { grid-template-columns: 1.2fr minmax(260px, .8fr); }
.healer-reverse .healer-photo { order: 2; }
.healer-reverse .healer-frame::before { left: calc(-1 * var(--kb)); right: var(--kb); }
.healer-reverse .healer-frame::after { right: auto; left: calc(-1 * var(--kb)); }
@media (max-width: 960px) {
  .healer { grid-template-columns: 1fr; }
  .healer-reverse .healer-photo { order: 0; }
  .healer-photo { position: relative; top: auto; max-width: 420px; }
}
@media (max-width: 640px) {
  .healer-frame { --kb: 28px; }
  .healer-photo { max-width: none; margin-right: 28px; }
  .healer-reverse .healer-frame::before { left: var(--kb); right: calc(-1 * var(--kb)); }
  .healer-reverse .healer-frame::after { left: auto; right: calc(-1 * var(--kb)); }
  .healer-facts { grid-template-columns: 1fr; }
  .healer-facts div:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* community & ethics note at the end of About */
.community-note { margin-top: clamp(64px, 8vw, 110px); padding-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); }
.community-note h3 { font-size: clamp(40px, 5.4vw, 76px); font-style: italic; letter-spacing: -0.01em; color: var(--accent-green-2); margin: 0 0 22px; text-wrap: balance; }
.community-note h3 + p { font-family: var(--font-display); font-size: clamp(21px, 2vw, 25px); line-height: 1.4; color: var(--forest); }
.community-note p:not(.eyebrow) { max-width: 66ch; color: #3E3C34; }
.community-points { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.community-points li { padding: 8px 16px; font-size: 14px; letter-spacing: .04em; color: var(--earth); border: 1px solid var(--clay); }
.community-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.community-photo { margin: 0; }
.community-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 85%; }
.community-photo figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.community-carousel { margin-top: clamp(32px, 4vw, 48px); }
.community-carousel-title { margin: 0 0 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--earth); }
.community-carousel .pc-slide img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #1b1a16; }
.community-carousel .pc-slide img.pos-bottom { object-position: 50% 100%; }
.community-carousel .pc-slide img.pos-top { object-position: 50% 15%; }
.community-carousel .pc-slide img.pos-feet { object-position: 50% 85%; }
.community-carousel .pc-slide img.pos-face { object-position: 50% 60%; }
.team-carousel { margin-top: 0; }
.team-carousel-note { margin: 16px 0 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
.team-carousel-note + .team-carousel-note { margin-top: 8px; }
.community-carousel .pc-label { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 40px 16px 12px; background: linear-gradient(rgba(22, 38, 10, 0), rgba(22, 38, 10, .85)); color: var(--cream); }
.community-carousel .pc-name { font-size: clamp(22px, 2.1vw, 28px); }
.community-carousel .pc-arrow { border-color: var(--line); color: var(--forest); }
.community-carousel .pc-arrow:hover { background: rgba(39, 64, 1, .06); border-color: var(--accent-green-2); }
.community-carousel .pc-dot { border-color: rgba(39, 64, 1, .5); }
.community-carousel .pc-dot[aria-current="true"] { background: var(--accent-green-2); border-color: var(--accent-green-2); }
@media (max-width: 960px) { .community-grid { grid-template-columns: 1fr; } .community-media { max-width: 480px; } }

/* ---------- Kené pattern (gold line art) ---------- */
.kene-band {
  height: 26px; margin-top: calc(-1 * var(--section-y)); margin-bottom: calc(var(--section-y) - 26px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='26' viewBox='0 0 52 26'%3E%3Cg fill='none' stroke='%2383A603' stroke-width='1.4'%3E%3Cpath d='M0 13h6l7-7 7 7-7 7-7-7M20 13h12M32 13l7-7 7 7-7 7-7-7M46 13h6'/%3E%3Cpath d='M13 10l3 3-3 3-3-3zM39 10l3 3-3 3-3-3z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: center; opacity: .8;
}

/* same band on light sections: darker green so it reads on the cream background */
.reviews .kene-band { opacity: 1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='26' viewBox='0 0 52 26'%3E%3Cg fill='none' stroke='%236E8C03' stroke-width='1.4'%3E%3Cpath d='M0 13h6l7-7 7 7-7 7-7-7M20 13h12M32 13l7-7 7 7-7 7-7-7M46 13h6'/%3E%3Cpath d='M13 10l3 3-3 3-3-3zM39 10l3 3-3 3-3-3z'/%3E%3C/g%3E%3C/svg%3E"); }

/* ---------- Dietas ---------- */
.dietas { background: var(--forest); color: var(--cream); }
/* Heading + Noya Rao story illustration side by side */
.dietas-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: start; margin-bottom: clamp(48px, 6vw, 80px); }
.dietas-head .section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.dietas-head .dietas-intro { margin-bottom: 0; }
.story-figure { margin: 0; }
.story-figure img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.story-figure figcaption { margin-top: 18px; font-size: 15px; line-height: 1.6; color: rgba(242, 242, 242, .8); }
.story-title { display: block; font-family: var(--font-display); font-size: 24px; font-style: italic; color: var(--cream); margin-bottom: 4px; }
.story-toggle { margin-top: 12px; padding: 12px 0 0; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--line-light); color: var(--accent-green); font: 500 15px/1.6 var(--font-body); letter-spacing: .04em; cursor: pointer; }
.story-toggle::after { content: " +"; }
.story-toggle[aria-expanded="true"]::after { content: " –"; }
.story-toggle:focus-visible { outline-color: var(--accent-green); }
/* the opened story sits centred on the page, text left-aligned */
.story-panel { max-width: 680px; margin: 0 auto clamp(48px, 6vw, 80px); padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 48px); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.story-panel p:not(.eyebrow) { margin: 0 0 18px; font-size: 17px; line-height: 1.75; color: rgba(242, 242, 242, .88); }
.story-panel p:last-child { margin-bottom: 0; }
@media (max-width: 960px) { .dietas-head { grid-template-columns: 1fr; } .story-figure { max-width: 480px; } }
.dietas h2 em, .dietas h1.page-title em { color: var(--accent-green); }
.dietas .lead { color: rgba(242, 242, 242, .78); }
.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-head h2, .section-head h1.page-title { margin-bottom: 26px; }
.dietas-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 5vw, 64px); }
.dietas-feature { position: static; }
.dietas-feature img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.dietas-feature figcaption { margin-top: 12px; font-size: 14px; color: rgba(242, 242, 242, .62); }
/* Principal plants photo carousel */
.pc-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.pc-track::-webkit-scrollbar { display: none; }
.pc-track:focus-visible { outline: 2px solid var(--accent-green); outline-offset: 3px; }
.pc-slide { flex: 0 0 100%; margin: 0; position: relative; scroll-snap-align: start; }
/* plant photo gallery: 3 photos in view on desktop, 2 on tablets, 1 on phones */
.dietas-feature .pc-track { gap: 16px; }
.dietas-feature .pc-slide { flex-basis: calc((100% - 32px) / 3); }
@media (max-width: 960px) { .dietas-feature .pc-slide { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 600px) { .dietas-feature .pc-slide { flex-basis: 100%; } }
.pc-slide img { display: block; }
.pc-slide img.pc-pos-left { object-position: 28% 50%; }
.dietas-feature .pc-label { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 56px 18px 16px; background: linear-gradient(rgba(22, 38, 10, 0), rgba(22, 38, 10, .82)); color: var(--cream); }
.pc-name { display: block; font-family: var(--font-display); font-size: clamp(24px, 2.2vw, 30px); font-style: italic; line-height: 1.1; }
.pc-sub { display: block; margin-top: 4px; font-size: 13px; letter-spacing: .04em; color: rgba(242, 242, 242, .78); }
.pc-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.pc-arrow { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-light); background: transparent; color: var(--cream); cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease); }
.pc-arrow svg { width: 18px; height: 18px; }
.pc-arrow:hover { background: rgba(242, 242, 242, .08); border-color: var(--accent-green); }
.pc-arrow:focus-visible, .pc-dot:focus-visible { outline: 2px solid var(--accent-green); outline-offset: 3px; }
.pc-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; min-width: 0; }
@media (max-width: 340px) { .pc-dots { gap: 6px; } .pc-arrow { width: 36px; height: 36px; } }
.pc-dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1px solid rgba(242, 242, 242, .6); background: transparent; cursor: pointer; }
.pc-dot[aria-current="true"] { background: var(--accent-green); border-color: var(--accent-green); }
.plant-list { list-style: none; margin: 0; padding: 0; }
.plant { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 28px 0; border-top: 1px solid var(--line-light); }
.plant:last-child { border-bottom: 1px solid var(--line-light); }
.plant-num { font-family: var(--font-display); font-size: 24px; color: var(--accent); padding-top: 6px; }
.plant h3 { font-size: clamp(28px, 2.6vw, 36px); margin-bottom: 8px; }
.plant h3 i { font-family: var(--font-body); font-size: 14px; font-weight: 300; font-style: italic; color: rgba(242, 242, 242, .6); margin-left: 8px; letter-spacing: .02em; }
.plant p { margin: 0; color: rgba(242, 242, 242, .78); max-width: 52ch; }
/* teaching text: Rao / Ibo / Samá, principal plants, Niwe */
.dietas-teaching { margin-bottom: clamp(64px, 8vw, 110px); }
.dietas-intro { max-width: 62ch; margin-bottom: clamp(40px, 5vw, 64px); }
.dietas-intro-text { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.3; color: var(--cream); margin: 0; }
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.4vw, 56px); }
.concept { border-top: 1px solid var(--line-light); padding-top: 28px; }
.concept-sub { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-green); margin: 0 0 8px; }
.concept h3, .niwe h3 { font-size: clamp(38px, 4vw, 54px); font-style: italic; margin: 0 0 18px; }
.concept p:not(.concept-sub), .niwe p:not(.concept-sub) { color: rgba(242, 242, 242, .78); }
.concept em, .niwe em { color: var(--cream); }
.dietas-subhead { font-size: clamp(32px, 3.4vw, 46px); margin: 0 0 clamp(28px, 3vw, 44px); }
.plant-note { margin: 32px 0 0; padding-left: 20px; border-left: 2px solid var(--accent); color: var(--cream); max-width: 52ch; }
.niwe { margin-top: clamp(64px, 8vw, 110px); padding-top: 32px; border-top: 1px solid var(--line-light); max-width: 760px; }
@media (max-width: 960px) { .concept-grid { grid-template-columns: 1fr; } }
/* 3D plant models, shown beside each plant */
.plant.has-3d { grid-template-columns: 64px 1fr clamp(150px, 15vw, 200px); gap: 12px; align-items: center; }
.plant.has-3d .plant-num { align-self: start; padding-top: 6px; }
.plant-3d { width: 100%; aspect-ratio: 1; position: relative; border: 1px solid var(--line-light); background: radial-gradient(circle at 50% 45%, rgba(242, 242, 242, .12), rgba(242, 242, 242, 0) 72%); }
.plant-3d model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; --poster-color: transparent; background: transparent; }
.plant-3d::after { content: "Loading 3D…"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(242, 242, 242, .5); pointer-events: none; }
.plant-3d.is-ready::after { display: none; }
@media (max-width: 640px) { .plant.has-3d { grid-template-columns: 44px 1fr; } .plant.has-3d .plant-3d { grid-column: 2; max-width: 260px; } }
.dietas-cta { margin-top: 56px; display: flex; justify-content: flex-end; }

/* ---------- Retreats ---------- */
.section-head-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.section-head-split h2, .section-head-split h1.page-title { margin-bottom: 0; }
.section-head-split .lead { margin: 0; }
.retreat-region + .retreat-region { margin-top: clamp(64px, 8vw, 112px); }
.region-head {
  display: flex; align-items: baseline; gap: 16px 40px; flex-wrap: wrap;
  padding-bottom: 20px; margin-bottom: 32px; border-bottom: 1px solid var(--line);
}
.region-title { font-size: clamp(36px, 4vw, 54px); font-style: italic; color: var(--accent-green-2); }
.region-head p { margin: 0; color: var(--muted); max-width: 60ch; }
.retreat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.retreat-card { background: #FFFFFF; border: 1px solid var(--line); display: flex; flex-direction: column; }
.retreat-img { overflow: hidden; }
.retreat-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s var(--ease); }
.retreat-card:hover .retreat-img img { transform: scale(1.04); }
.retreat-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.retreat-meta { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--earth); margin-bottom: 12px; font-weight: 500; }
.retreat-body h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; margin-top: 0; font-size: 34px; margin-bottom: 12px; }
.retreat-body p { color: var(--muted); font-size: 16px; }
.retreat-price { font-family: var(--font-display); font-size: 21px; color: var(--ink) !important; margin-top: auto; padding-top: 8px; }
.retreat-body .text-link { align-self: flex-start; }

/* ---------- Safety & medical screening ---------- */
.safety-note {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 36px 0 0; padding: 18px 22px;
  background: #FFFFFF; border: 1px solid var(--line); border-left: 3px solid var(--accent-green-2); color: #3E3C34;
}
.safety-note svg { width: 26px; height: 26px; color: var(--accent-green-2); flex: none; }
.safety-note span { flex: 1 1 320px; }
.safety { background: var(--forest); color: var(--cream); }
.safety h2 em, .safety h1.page-title em { color: var(--accent-green); }
.retreats .section-head .lead { font-family: var(--font-display); font-style: italic; font-size: clamp(28px, 3vw, 42px); line-height: 1.25; font-weight: 400; color: var(--ink); max-width: 30ch;  justify-self: end; align-self: center;}
.retreats .section-head .lead .lead-accent { color: var(--accent-green-2); }
.safety .lead { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.5; font-weight: 400; color: #F2F2F2; max-width: 56ch; }
.safety-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.safety-steps li { padding: 30px 26px 34px 0; }
.safety-steps li + li { padding-left: 26px; border-left: 1px solid var(--line-light); }
.safety-num { display: block; font-family: var(--font-display); font-size: 26px; color: var(--accent); margin-bottom: 14px; }
.safety-steps h3 { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 10px; }
.safety-steps p { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(242, 242, 242, .8); }
.safety-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line-light); }
.safety-warning { margin: 0; max-width: 62ch; font-size: 15px; color: rgba(242, 242, 242, .85); }
.safety-warning strong { color: #FFFFFF; font-weight: 500; }

/* Amazon retreat film (after the safety section) */
.retreat-film { background: var(--cream); }
/* Reviews: same carousel as the plant gallery (3 cards on desktop, 2 tablet, 1 phone) */
.reviews { background: var(--cream); }
.reviews-carousel .pc-track { gap: 20px; padding: 4px 2px 8px; }
.reviews-carousel .pc-slide { flex-basis: calc((100% - 40px) / 3); }
@media (max-width: 960px) { .reviews-carousel .pc-slide { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 600px) { .reviews-carousel .pc-slide { flex-basis: 100%; } .reviews-carousel .pc-dots { display: none; } }
.review-card { display: flex; flex-direction: column; min-height: 240px; padding: 34px 32px 30px; background: #FFFFFF; border: 1px solid var(--line); }
.review-mark { font-family: var(--font-display); font-size: 64px; line-height: .6; height: 30px; color: var(--accent); }
.review-card blockquote { margin: 12px 0 24px; flex: 1; }
.review-card blockquote p { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 1.9vw, 26px); line-height: 1.35; color: var(--forest); }
.review-card figcaption { padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--earth); }
.reviews-carousel .pc-arrow { border-color: var(--line); color: var(--forest); }
.reviews-carousel .pc-arrow:hover { background: rgba(39, 64, 1, .06); border-color: var(--accent-green-2); }
.reviews-carousel .pc-dot { border-color: rgba(39, 64, 1, .5); }
.reviews-carousel .pc-dot[aria-current="true"] { background: var(--accent-green-2); border-color: var(--accent-green-2); }
.film-frame { margin: 0; position: relative; aspect-ratio: 16 / 9; background: var(--forest); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(39, 64, 1, .45); }
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-sound {
  position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 12px; border: 1px solid rgba(242, 242, 242, .45); border-radius: 999px;
  background: rgba(39, 64, 1, .62); color: #F2F2F2; font: 500 13px/1 var(--font-body); letter-spacing: .06em;
  cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s var(--ease);
}
.film-sound:hover { background: rgba(39, 64, 1, .85); }
.film-sound:focus-visible { outline-color: var(--accent-green); }
.film-sound svg { width: 18px; height: 18px; }
.film-sound .film-sound-waves { display: none; }
.film-sound[aria-pressed="true"] .film-sound-waves { display: inline; }
.film-sound[aria-pressed="true"] .film-sound-off { display: none; }
@media (max-width: 560px) { .film-sound { top: 10px; right: 10px; padding: 7px 12px 7px 9px; font-size: 12px; } }
@media (max-width: 960px) {
  .safety-steps { grid-template-columns: 1fr 1fr; }
  .safety-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .safety-steps li:nth-child(n+3) { border-top: 1px solid var(--line-light); }
}
@media (max-width: 640px) {
  .safety-steps { grid-template-columns: 1fr; }
  .safety-steps li, .safety-steps li + li { padding: 24px 0; border-left: 0; }
  .safety-steps li + li { border-top: 1px solid var(--line-light); }
  .safety-footer .btn { width: 100%; }
}

/* ---------- Shipibo course ---------- */
.shipibo { background: var(--sand); overflow: hidden; }
.shipibo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23A6613A' stroke-width='1' opacity='.45'%3E%3Cpath d='M60 8 112 60 60 112 8 60Z'/%3E%3Cpath d='M60 28 92 60 60 92 28 60Z'/%3E%3Cpath d='M60 48 72 60 60 72 48 60Z'/%3E%3Cpath d='M0 60h8M112 60h8M60 0v8M60 112v8'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
}
.shipibo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 110px); align-items: center; position: relative; }
.shipibo-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.shipibo-media-square img { aspect-ratio: 1 / 1; display: block; }
/* Icaro player: play button over the kené image */
.icaro-frame { position: relative; }
.icaro-play {
  /* centred on the spiral (its centre sits 47.7% from the top) and sized to cover its inner turn of text */
  position: absolute; left: 50%; top: 47.7%; transform: translate(-50%, -50%);
  width: 27.5%; aspect-ratio: 1; height: auto; border-radius: 50%;
  display: grid; place-items: center; padding: 0; cursor: pointer;
  border: 0; background: var(--forest); color: var(--cream);
  transition: background .2s var(--ease);
}
.icaro-play:hover { background: var(--accent); }
.icaro-play:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.icaro-play svg { display: block; width: 34%; height: 34%; }
.icaro-play .icaro-icon-pause { display: none; }
.icaro-play[aria-pressed="true"] .icaro-icon-play { display: none; }
.icaro-play[aria-pressed="true"] .icaro-icon-pause { display: inline; }
.icaro-caption { margin-top: 18px; }
.icaro-label { display: block; font-size: 16px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.icaro-singer { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 24px; color: var(--forest); }
.icaro-singer em { color: var(--accent-green-2); }
.icaro-origin { display: block; margin-top: 2px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--earth); }
.icaro-caption p { margin: 14px 0 0; font-size: 15px; line-height: 1.7; color: #3E3C34; }
.kene-words { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; }
.kene-words text { font-family: var(--font-display); font-style: italic; letter-spacing: .04em; }
.kene-words .kw-c { fill: var(--cream); }
.kene-words .kw-g { fill: var(--cream); opacity: .8; }
.kene-words .kw-o { fill: var(--accent); }
.shipibo-text h2, .shipibo-text h1.page-title { margin-bottom: 30px; }
.shipibo-text > p { max-width: 54ch; color: #3E3C34; }
.words { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 36px 0 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.words div { padding: 22px 18px 22px 0; }
.words div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.words dt { font-family: var(--font-display); font-size: 32px; font-style: italic; color: var(--accent-green-2); line-height: 1.1; }
.words dd { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- Closing ---------- */
.closing { position: relative; color: var(--cream); padding-block: clamp(120px, 16vw, 220px); isolation: isolate; text-align: center; }
.closing-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.closing-shade { position: absolute; inset: 0; z-index: -1; background: rgba(20, 32, 1, .68); }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing h2 { font-size: clamp(48px, 7vw, 104px); margin-bottom: 24px; }
.closing h2 em { color: var(--accent-green); }
.closing p { max-width: 48ch; color: rgba(242, 242, 242, .86); margin-bottom: 36px; }
.closing .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--earth); color: rgba(242, 242, 242, .8); padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(242, 242, 242, .14); }
.footer-brand { display: inline-block; margin-bottom: 14px; }
.footer-brand img { display: block; height: 76px; width: auto; max-width: 100%; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent-green); }
.footer-contact p { margin: 0 0 14px; font-size: 20px; font-weight: 600; letter-spacing: .01em; line-height: 1.4; }
.footer-contact a { color: #F2F2F2; overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--accent-green); }
.footer-legal { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; font-size: 13px; color: rgba(242, 242, 242, .55); }
.footer-legal p { margin: 0; max-width: 70ch; }

/* ---------- Parallax image sections (motion on desktop via js/parallax.js; static on phones) ---------- */
.plx { position: relative; overflow: hidden; isolation: isolate; height: clamp(420px, 82vh, 780px); background: var(--forest); }
.plx-layer { position: absolute; inset: 0; will-change: transform; }
.plx-layer img { display: block; width: 100%; height: 100%; object-fit: cover; }
.plx-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.plx-text { position: absolute; z-index: 2; left: 0; right: 0; text-align: center; padding: 0 var(--gutter); will-change: transform; }
.plx-text h2 { margin: 0; }
.plx-text .eyebrow { justify-content: center; }
.plx-front { z-index: 3; pointer-events: none; }

/* 1. misty canopy: dark text in the mist, the treetops rise in front of it */
.plx-canopy { background: #E4E8E6; }
.plx-canopy .plx-layer img { object-position: 50% 42%; }
.plx-canopy .plx-text { top: 17%; color: var(--forest); }
.plx-canopy .plx-text .eyebrow { color: var(--earth); }

/* 2. jungle from above: light text on a green veil */
.plx-jungle .plx-shade { background: radial-gradient(ellipse 60% 45% at 50% 50%, rgba(39, 64, 1, .7), rgba(39, 64, 1, .38)); }
.plx-jungle .plx-text { top: 50%; translate: 0 -50%; color: var(--cream); }
.plx-jungle h2 em { color: #FFFFFF; }

@media (max-width: 767px) {
  .plx { height: 70vh; min-height: 380px; }
  .plx-canopy .plx-text { top: 12%; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue svg { animation: none; }
  .retreat-img img { transition: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1320px) {
  .site-header { grid-template-columns: 1.1fr 3fr .9fr .9fr; }
  .main-nav ul { gap: clamp(12px, 1.6vw, 24px); }
  .main-nav a { font-size: 17px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .site-header { grid-template-columns: 1fr auto auto; }
  .header-contact { display: none; }
  .header-cta { padding: 0 22px; font-size: 18px; }
  .menu-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 64px; height: 100%; background: none; border: 0; border-left: 1px solid var(--line); cursor: pointer; color: var(--ink);
  }
  .menu-bars, .menu-bars::before, .menu-bars::after {
    display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease), background-color .3s;
  }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -7px; }
  .menu-bars::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--cream); border: 0; padding: 32px var(--gutter);
    align-items: flex-start; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .main-nav ul { flex-direction: column; gap: 4px; width: 100%; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; font-size: 32px; padding: 14px 0; }
  .main-nav a::after { display: none; }
  .nav-contact-mobile { display: block; }
  .sub-toggle { width: 100%; justify-content: space-between; font-size: 32px; padding: 14px 0; }
  .sub-toggle svg { width: 18px; height: 18px; }
  .main-nav .sub-menu {
    position: static; display: none; min-width: 0; padding: 0 0 12px 20px;
    background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .main-nav .sub-menu::before { display: none; }
  .has-sub.is-open .sub-menu { display: block; }
  .main-nav .sub-menu li { border: 0; }
  .main-nav .sub-menu a { font-size: 24px; padding: 8px 0; color: var(--accent-green-2); }
  .main-nav .sub-menu a:hover { background: none; }
  body.nav-open { overflow: hidden; }

  .about-grid, .dietas-grid, .shipibo-grid, .section-head-split { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; margin-left: 12%; }
  .dietas-feature { position: static; }
  .retreat-grid { grid-template-columns: 1fr 1fr; }
  .shipibo-media { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand { font-size: 19px; padding-right: 8px; }
  .brand-logo { height: 46px; }
  .header-cta { min-width: 0; padding: 0 16px; font-size: 17px; }
  .hero { --kene: min(78vw, 40vh); }
  .hero-stage .hero-head { padding: 10px 0; }
  .hero-stage .hero-head::before { inset: -26px -40px; }
  .hero-stage .hero-title { font-size: clamp(26px, 8.4vw, 34px); letter-spacing: .12em; word-spacing: .15em; padding-left: .12em; white-space: nowrap; }
  .hero-stage .hero-meta { font-size: 10.5px; letter-spacing: .22em; gap: 10px; white-space: nowrap; margin-bottom: 10px; }
  .hero-stage .hero-meta::before { width: 22px; }
  .hero-title { letter-spacing: .14em; word-spacing: .2em; padding-left: .14em; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .pillars { grid-template-columns: 1fr; gap: 24px; }
  .pillars li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; }
  .pillars li svg { grid-row: span 2; margin: 0; }
  .about-media { margin-left: 0; padding-bottom: 28%; }
  .about-img-small { left: auto; right: -4px; width: 48%; border-width: 6px; }
  .plant { grid-template-columns: 44px 1fr; }
  .plant h3 i { display: block; margin: 4px 0 0; }
  .dietas-cta { justify-content: stretch; }
  .dietas-cta .btn { width: 100%; }
  .retreat-grid { grid-template-columns: 1fr; }
  .words { grid-template-columns: 1fr; }
  .words div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .shipibo-text .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; }
}

/* Cookie consent banner (Meta Pixel loads only after Accept) */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 16px 28px; padding: 20px 24px; background: var(--forest); color: var(--cream); box-shadow: 0 18px 40px rgba(27, 26, 22, .28); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 15px; line-height: 1.55; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-actions .btn { min-width: 112px; cursor: pointer; font: inherit; font-size: 16px; border-radius: 0; -webkit-appearance: none; appearance: none; }
.cookie-actions .btn-outline { background: transparent; color: var(--cream); }
.cookie-actions .btn-outline:hover { background: var(--cream); color: var(--forest); }
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; padding: 18px 16px; }
  .cookie-actions .btn { flex: 1 1 0; }
}

/* Andes: coming soon banner */
.andes-soon { display: grid; grid-template-columns: 1.15fr 1.35fr 0.85fr; margin-top: clamp(56px, 7vw, 96px); background: var(--forest); color: var(--cream); min-height: 360px; }
.andes-soon-text { padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.andes-soon-meta { margin: 0; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-green); }
.andes-soon-title { font-size: clamp(30px, 3vw, 42px); font-style: italic; line-height: 1.1; }
.andes-soon-text p:not(.andes-soon-meta) { margin: 0 0 8px; color: rgba(242, 242, 242, .85); line-height: 1.6; }
.andes-soon-img { margin: 0; overflow: hidden; }
.andes-soon-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.andes-soon-img-wide img { object-position: 50% 60%; }
@media (max-width: 900px) {
  .andes-soon { grid-template-columns: 1.4fr 1fr; }
  .andes-soon-text { grid-column: 1 / -1; }
  .andes-soon-img { height: clamp(220px, 52vw, 380px); }
}

.cookie-banner p a { color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* Privacy Policy page */
.policy-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); padding: 0 var(--gutter); background: var(--cream); border-bottom: 1px solid var(--line); }
.policy-brand img { display: block; height: 44px; width: auto; }
.policy-back { font-size: 16px; color: var(--ink); text-decoration: none; }
.policy-back:hover { color: var(--accent-green-2); }
.policy { background: var(--cream); padding: clamp(48px, 7vw, 96px) var(--gutter) var(--section-y); }
.policy-inner { max-width: 720px; margin: 0 auto; }
.policy h1 { font-size: clamp(40px, 5vw, 64px); margin: 8px 0 10px; }
.policy-updated { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
.policy h2 { font-size: clamp(26px, 2.6vw, 32px); margin: 44px 0 12px; color: var(--forest); }
.policy h3 { font-family: var(--font-body); font-size: 17px; font-weight: 600; margin: 24px 0 6px; }
.policy p, .policy li { font-size: 17px; line-height: 1.7; }
.policy p { margin: 0 0 14px; }
.policy ul { margin: 0 0 14px; padding-left: 22px; }
.policy li { margin-bottom: 6px; }
.policy a { color: var(--accent-green-2); text-underline-offset: 3px; }
@media (max-width: 640px) {
  .policy-brand img { height: 36px; }
  .policy-back { font-size: 15px; }
}

/* ---------- Topic pages (same sections as the home page, on their own pages) ---------- */
.subpage main { padding-top: var(--header-h); }
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
