/* self-hosted fonts (restored after polish strip) */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Fraunces-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Fraunces-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Fraunces-600-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Fraunces-600-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Fraunces-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Fraunces-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Fraunces-500-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Fraunces-500-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Fraunces-600-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Fraunces-600-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Fraunces-700-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Fraunces-700-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Karla-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Karla-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Karla-600-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Karla-600-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Karla-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Karla-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Karla-500-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Karla-500-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Karla-600-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Karla-600-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Karla-700-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Karla-700-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Finca Tzajalá — cacaoraiz.live
   Longread editorial · Soconusco, Chiapas
   ============================================================ */

:root {
  interpolate-size: allow-keywords;

  --bg: #F7F5EF;
  --surface: #FFFFFF;
  --surface-2: #F1EEE4;
  --surface-3: #EAE6D8;
  --ink: #22301F;
  --ink-soft: #55604F;
  --ink-faint: #8A9084;
  --accent: #3F6B3A;
  --accent-deep: #2E5029;
  --accent-2: #C96A2E;
  --accent-2-soft: #E8B489;
  --line: #22301F26;
  --line-strong: #22301F4D;

  --header-h: 76px;
  --max: 1180px;
  --text: 660px;
  --pad: clamp(20px, 6vw, 72px);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-2: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Karla', 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 14% 6%, #3F6B3A0A 0 38%, transparent 68%),
    radial-gradient(circle at 92% 78%, #C96A2E0A 0 32%, transparent 62%);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, .display {
  font-family: 'Fraunces', 'Palatino Linotype', Georgia, serif;
  font-weight: 600;
  font-optical-sizing: auto;
  font-variation-settings: 'opsz' 120, 'SOFT' 40;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: -0.006em; }
h4 { font-size: 1.06rem; letter-spacing: 0; }

p { margin: 0 0 1.15em; }
p, li { overflow-wrap: anywhere; word-break: break-word; }

a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 200ms var(--ease-2); }
a:hover { color: var(--accent-2); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 12px; top: -80px;
  background: var(--ink); color: var(--bg);
  padding: 10px 18px; border-radius: 0 0 6px 6px;
  z-index: 2000; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0; color: var(--bg); }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

.prose { max-width: var(--text); }
.prose p + p { margin-top: 0; }

/* Anchor targets clear the fixed header */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.eyebrow {
  font-family: 'Karla', sans-serif;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
  display: block;
}
.eyebrow--warm { color: var(--accent-2); }

.lede {
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
  color: var(--ink-soft);
  line-height: 1.62;
}

.hairline { border: 0; border-top: 1px solid var(--line); margin: 0; }

.rule-chapter {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------------- Header ---------------- */

.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 1080;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(247, 245, 239, 0.92);
  border-bottom: 1px solid transparent;
  transition: background 240ms var(--ease-2), box-shadow 240ms var(--ease-2), height 240ms var(--ease-2), border-color 240ms var(--ease-2);
}
.site-header.scrolled {
  background: rgba(247, 245, 239, .985);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .18);
  border-bottom-color: var(--line);
  height: 64px;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.brand {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--ink);
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: 1.14rem; letter-spacing: -.01em;
  min-width: 0;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 26px; height: 26px; flex: none; color: var(--accent); }
.brand span small {
  display: block; font-family: 'Karla', sans-serif;
  font-size: .58rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-faint); line-height: 1.4;
}

.nav-desktop { display: none; align-items: center; gap: clamp(14px, 1.9vw, 30px); }
.nav-desktop a {
  position: relative;
  font-size: .87rem; font-weight: 600; letter-spacing: .02em;
  color: var(--ink-soft); text-decoration: none; padding: 6px 0;
}
.nav-desktop a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--accent-2);
  transition: right 260ms var(--ease);
}
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a:hover::after, .nav-desktop a.is-active::after { right: 0; }
.nav-desktop a.is-active { color: var(--accent); }
.nav-desktop .nav-cta::after { display: none; }

.nav-cta {
  background: var(--ink); color: var(--surface) !important;
  padding: 11px 20px; border-radius: 999px;
  font-size: .84rem !important;
  transition: background 220ms var(--ease-2), color 220ms var(--ease-2), transform 220ms var(--ease);
}
.nav-desktop .nav-cta:hover, .nav-desktop .nav-cta:focus-visible {
  background: var(--accent); color: var(--surface) !important; transform: translateY(-2px);
}

.nav-toggle {
  position: relative; z-index: 1100;
  width: 46px; height: 46px;
  display: grid; place-items: center; gap: 0;
  background: transparent; border: 1px solid var(--line); border-radius: 50%;
  cursor: pointer;
}
.nav-toggle span {
  display: block; grid-area: 1 / 1;
  width: 19px; height: 1.6px; background: var(--ink); border-radius: 2px;
  transition: transform 300ms var(--ease), opacity 180ms linear;
}
.nav-toggle span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle span:nth-child(3) { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
}

/* ---------------- Drawer ---------------- */

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  z-index: 1050;
  background: var(--bg);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 320ms var(--ease);
  padding: calc(var(--header-h) + 28px) 28px 32px;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer a {
  display: block;
  font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 600;
  color: var(--ink); text-decoration: none;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.drawer a.is-active { color: var(--accent); }
.drawer a:hover { color: var(--accent-2); }
.drawer .drawer-meta {
  margin-top: 28px; font-size: .85rem; color: var(--ink-soft); line-height: 1.8;
}
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 1040;
  background: rgba(0, 0, 0, .55);
  opacity: 0; pointer-events: none;
  transition: opacity 240ms var(--ease-2);
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ---------------- Main / hero ---------------- */

main { padding-top: var(--header-h); }

/* Split-asymmetric invertido: 38% texto pegado a la izquierda, 62% imagen sangrada */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__text {
  padding: clamp(48px, 7vw, 104px) var(--pad) clamp(48px, 6vw, 92px) clamp(20px, 5vw, 64px);
  display: flex; flex-direction: column; justify-content: center;
  min-width: 0;
}
.hero__figure {
  position: relative;
  min-height: 58vh;
  overflow: hidden;
  background: var(--ink);
}
.hero__figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
  transform: scale(1.08);
  animation: heroBreath 16s var(--ease-2) infinite alternate;
}
@keyframes heroBreath { from { transform: scale(1.06); } to { transform: scale(1.14); } }
.hero__figure::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(94deg, rgba(34, 48, 31, .58) 0%, rgba(34, 48, 31, .12) 34%, transparent 62%);
}
.hero__caption {
  position: absolute; left: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 28px);
  z-index: 2;
  color: #F7F5EF;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  max-width: 74%;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}

.hero h1 { margin-bottom: 24px; }
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(26px) rotate(1.6deg);
  animation: wordIn 900ms var(--ease) forwards;
  animation-delay: calc(120ms + var(--i) * 85ms);
}
@keyframes wordIn { to { opacity: 1; transform: none; } }
.hero h1 em {
  font-style: italic; font-weight: 400; color: var(--accent-2);
}

.hero__sub { max-width: 44ch; }

.hero__actions {
  margin-top: 30px;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}

.trust-strip {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; gap: 8px 10px;
  list-style: none; padding: 0;
}
.trust-strip li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .74rem; font-weight: 600; letter-spacing: .04em;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 7px 13px 7px 10px;
}
.trust-strip svg { width: 14px; height: 14px; color: var(--accent); flex: none; }

.hero__stats {
  margin-top: 38px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  max-width: 460px;
}
.hero__stats .num {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  line-height: 1; color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
}
.hero__stats .lbl {
  display: block; margin-top: 7px;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint);
  line-height: 1.5;
}

@media (min-width: 1024px) {
  .hero { grid-template-columns: 38% 62%; }
  .hero__figure { min-height: min(88vh, 900px); margin-right: calc(50% - 50vw); }
  .hero__text { padding-right: clamp(28px, 3vw, 48px); }
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Karla', sans-serif; font-weight: 700;
  font-size: .88rem; letter-spacing: .03em;
  padding: 15px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  text-decoration: none;
  transition: background 220ms var(--ease-2), color 220ms var(--ease-2), transform 220ms var(--ease), box-shadow 260ms var(--ease), border-color 220ms var(--ease-2);
}
.btn svg { width: 16px; height: 16px; transition: transform 260ms var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary, .btn--primary { background: var(--ink); color: var(--surface); }
.btn--primary:hover, .btn--primary:focus-visible,
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent); color: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -18px rgba(63, 107, 58, .85);
}
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--surface); color: var(--ink);
  transform: translateY(-2px); border-color: var(--ink);
}
.btn-warm { background: var(--accent-2); color: #FFF; }
.btn-warm:hover, .btn-warm:focus-visible {
  background: var(--accent-deep); color: #FFF; transform: translateY(-2px);
}
.btn--wide { width: 100%; justify-content: center; }
@media (min-width: 640px) { .btn--wide { width: auto; } }

/* ---------------- Nervadura (leaf-vein scroll guide) ---------------- */

.vein {
  position: fixed;
  left: max(10px, calc(50vw - var(--max) / 2 - 46px));
  top: calc(var(--header-h) + 12px);
  height: calc(100vh - var(--header-h) - 40px);
  width: 62px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 500ms var(--ease-2);
  color: var(--accent);
}
.vein.is-on { opacity: .55; }
.vein svg { width: 100%; height: 100%; }
.vein .spine, .vein .rib {
  fill: none; stroke: currentColor; stroke-linecap: round;
}
.vein .spine { stroke-width: 1.4; }
.vein .rib { stroke-width: .9; opacity: .8; }
@media (max-width: 1279px) { .vein { display: none; } }

/* ---------------- Chapters ---------------- */

.chapter { position: relative; padding: clamp(64px, 9vw, 132px) 0; }
.chapter + .chapter { border-top: 1px solid var(--line); }

.chapter__head {
  display: grid; gap: 4px 34px;
  grid-template-columns: 1fr;
  align-items: start;
  margin-bottom: clamp(32px, 4vw, 56px);
}
@media (min-width: 900px) { .chapter__head { grid-template-columns: 132px 1fr; } }

.roman {
  font-family: 'Fraunces', serif;
  font-weight: 400; font-style: italic;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: .9;
  color: var(--accent-2);
  opacity: .85;
  letter-spacing: .02em;
  position: relative;
}
.roman::after {
  content: ''; display: block;
  width: 44px; height: 1px; background: var(--line-strong);
  margin-top: 16px;
}
.chapter__title { margin: 0; }
.chapter__kicker {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 700; margin: 10px 0 0;
}

/* Parallax figure */
.figure {
  position: relative;
  margin: clamp(34px, 5vw, 62px) 0;
  overflow: hidden;
  border-radius: 3px;
  background: var(--surface-3);
}
.figure__frame { overflow: hidden; }
.figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transform: translateY(var(--py, 0px)) scale(1.12);
  will-change: transform;
}
.figure figcaption {
  margin-top: 12px;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600;
}
.figure--bleed { max-width: 100%; margin-inline: auto; }
@media (min-width: 1000px) {
  /* clamp()'s minimum would overflow narrow viewports, so widen only when there is room */
  .figure--bleed { max-width: clamp(900px, 92%, 1280px); }
}
.figure--tall img { aspect-ratio: 4 / 3; }

/* Pull quote / manifesto */
.pullquote {
  margin: clamp(44px, 6vw, 80px) 0;
  padding-left: clamp(18px, 3vw, 34px);
  border-left: 2px solid var(--accent-2);
  max-width: 900px;
}
.pullquote p {
  font-family: 'Fraunces', serif;
  font-style: italic; font-weight: 400;
  font-size: clamp(1.55rem, 3.4vw, 2.7rem);
  line-height: 1.18; letter-spacing: -.015em;
  color: var(--ink); margin: 0;
}
.pullquote cite {
  display: block; margin-top: 16px;
  font-family: 'Karla', sans-serif; font-style: normal;
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 700;
}

/* Overlapping z-layers block */
.overlap {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
  align-items: center;
  margin-top: clamp(30px, 4vw, 60px);
}
.overlap__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(22px, 3vw, 38px);
  border-radius: 3px;
}
.overlap__panel h3 { margin-top: 0; }
@media (min-width: 900px) {
  .overlap { grid-template-columns: 1.15fr .95fr; gap: 0; }
  .overlap__figure { grid-column: 1; grid-row: 1; }
  .overlap__panel {
    grid-column: 2; grid-row: 1;
    margin-left: -70px; margin-top: 64px;
    z-index: 2;
    box-shadow: -24px 24px 60px -40px rgba(34, 48, 31, .55);
  }
}

/* Timeline (72 horas) */
.timeline { list-style: none; margin: clamp(30px, 4vw, 54px) 0 0; padding: 0; position: relative; max-width: 860px; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 1px; background: var(--line-strong);
}
.timeline li {
  position: relative;
  padding: 0 0 34px 44px;
  display: grid; grid-template-columns: 1fr; gap: 2px;
  min-width: 0;
}
.timeline li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--bg); border: 1.6px solid var(--accent);
}
.timeline li[data-peak]::before { background: var(--accent-2); border-color: var(--accent-2); }
.timeline .t-hour {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: .92rem; color: var(--accent-2);
  font-variant-numeric: tabular-nums; letter-spacing: .04em;
}
.timeline h4 { margin: 2px 0 4px; }
.timeline p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* Mazorca signature SVG */
.pod-stage {
  position: relative;
  display: grid; place-items: center;
  padding: clamp(20px, 4vw, 44px) 0;
  min-height: 340px;
}
.pod {
  width: min(430px, 80vw);
  height: auto;
  overflow: visible;
}
.pod .husk { fill: #C96A2E; stroke: #22301F; stroke-width: 2.2; }
.pod .husk--dark { fill: #A8501E; }
.pod .pulp { fill: #F3EEDC; stroke: #22301F; stroke-width: 1.4; }
.pod .rib { fill: none; stroke: #22301F33; stroke-width: 1.6; }
.pod__half {
  transform-box: fill-box; transform-origin: center right;
  transition: transform 900ms var(--ease);
}
.pod__half--r { transform-origin: center left; }
.pod.is-open .pod__half--l { transform: rotate(-14deg) translateX(-20px); }
.pod.is-open .pod__half--r { transform: rotate(14deg) translateX(20px); }
.pod .bean {
  fill: #6B4326; stroke: #22301F; stroke-width: 1.1;
  opacity: 0; transform-box: fill-box; transform-origin: center;
  transform: scale(.4);
  transition: opacity 420ms var(--ease-2), transform 520ms var(--ease);
}
.pod .bean.is-out { opacity: 1; transform: scale(1); }
.pod__label {
  font-family: 'Karla', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; fill: #8A9084;
}
.pod-progress {
  margin-top: 6px; text-align: center;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---------------- Recorridos ---------------- */

.band {
  background: var(--ink);
  color: #E7E5DC;
  padding: clamp(64px, 9vw, 128px) 0;
  position: relative;
  overflow: hidden;
}
.band::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(#F7F5EF14 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .55;
  pointer-events: none;
}
.band .container { position: relative; z-index: 1; }
.band h2, .band h3, .band h4 { color: #F7F5EF; }
.band p { color: #C3C7BC; }
.band .eyebrow { color: var(--accent-2-soft); }
.band .hairline { border-top-color: #F7F5EF2E; }
.band a { color: var(--accent-2-soft); }
.band a:hover { color: #FFF; }

.tours {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
  margin-top: clamp(30px, 4vw, 52px);
}
@media (min-width: 860px) { .tours { grid-template-columns: 1fr 1fr; gap: 30px; } }

.tour {
  background: #2A3826;
  border: 1px solid #F7F5EF24;
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 280ms var(--ease), box-shadow 320ms var(--ease), border-color 280ms var(--ease-2);
  min-width: 0;
}
.tour:hover {
  transform: translateY(-6px);
  border-color: var(--accent-2);
  box-shadow: 0 26px 50px -30px rgba(201, 106, 46, .6);
}
.tour__img { overflow: hidden; aspect-ratio: 3 / 2; }
.tour__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.tour:hover .tour__img img { transform: scale(1.05); }
.tour__body { padding: clamp(20px, 2.6vw, 30px); display: flex; flex-direction: column; flex: 1; min-width: 0; }
.tour__meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-2-soft); font-weight: 700; margin-bottom: 14px;
}
.tour__meta span { display: inline-flex; align-items: center; gap: 6px; }
.tour__meta svg { width: 14px; height: 14px; }
.tour__price {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
  color: #F7F5EF; font-variant-numeric: tabular-nums;
  margin: 4px 0 2px;
}
.tour__price small { font-family: 'Karla', sans-serif; font-size: .74rem; font-weight: 600; letter-spacing: .08em; color: #A8AE9F; text-transform: uppercase; }
.tour__list { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 8px; }
.tour__list li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: .92rem; color: #C3C7BC; min-width: 0; }
.tour__list svg { width: 15px; height: 15px; margin-top: 5px; color: var(--accent-2-soft); flex: none; }
.tour__list li.no svg { color: #7C8476; }
.tour__body .btn { margin-top: auto; align-self: flex-start; }
.band .btn-ghost { color: #F7F5EF; border-color: #F7F5EF4D; }
.band .btn-ghost:hover, .band .btn-ghost:focus-visible { background: #F7F5EF; color: var(--ink); border-color: #F7F5EF; }

/* ---------------- Tienda ---------------- */

.shop-grid {
  display: grid; gap: 26px;
  grid-template-columns: 1fr;
  margin-top: clamp(30px, 4vw, 52px);
  align-items: start;
}
@media (min-width: 900px) { .shop-grid { grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 4vw, 64px); } }

.shop-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: clamp(22px, 3vw, 34px);
  transition: transform 260ms var(--ease), box-shadow 300ms var(--ease);
  min-width: 0;
}
.shop-card + .shop-card { margin-top: 20px; }
.shop-card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -34px rgba(34, 48, 31, .55); }
.shop-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.shop-card h3 { margin: 0; }
.shop-card .price {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: 1.7rem; color: var(--accent-deep);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.shop-card ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 7px; }
.shop-card ul li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: .93rem; color: var(--ink-soft); min-width: 0; }
.shop-card ul svg { width: 15px; height: 15px; margin-top: 5px; color: var(--accent); flex: none; }
.shop-card ul li.no svg { color: var(--ink-faint); }

.note {
  font-size: .78rem; color: var(--ink-faint);
  letter-spacing: .04em; margin-top: 18px;
}

/* ---------------- Testimonios ---------------- */

.testimonials {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
  margin-top: clamp(28px, 4vw, 48px);
}
@media (min-width: 820px) {
  .testimonials { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .testimonials .t-card:nth-child(2) { margin-top: 38px; }
  .testimonials .t-card:nth-child(3) { margin-top: 14px; }
}
.t-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: clamp(20px, 2.4vw, 28px);
  min-width: 0;
  transition: transform 260ms var(--ease), box-shadow 300ms var(--ease);
}
.t-card:hover { transform: translateY(-5px); box-shadow: 0 24px 44px -34px rgba(63, 107, 58, .6); }
.t-card blockquote { margin: 0 0 16px; font-size: .96rem; color: var(--ink); line-height: 1.66; }
.t-card blockquote::before { content: '“'; font-family: 'Fraunces', serif; font-size: 2.4rem; color: var(--accent-2); line-height: 0; vertical-align: -.28em; margin-right: 4px; }
.t-card .who { font-weight: 700; font-size: .9rem; }
.t-card .when { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; margin-top: 3px; }

/* ---------------- Notas / novedades ---------------- */

.notes { list-style: none; padding: 0; margin: 22px 0 0; max-width: 760px; }
.notes li {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 20px;
  padding: 16px 0; border-top: 1px solid var(--line);
  min-width: 0;
}
.notes li:last-child { border-bottom: 1px solid var(--line); }
.notes time { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); font-weight: 700; white-space: nowrap; padding-top: 3px; }
.notes p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.notes strong { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .notes li { grid-template-columns: 1fr; } }

/* ---------------- Forms ---------------- */

.form { display: grid; gap: 18px; max-width: 640px; }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 6px; min-width: 0; }
.field > span {
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
}
.field input:not([type="checkbox"]),
.field select,
.field textarea {
  font-family: 'Karla', sans-serif; font-size: 1rem; color: var(--ink);
  background: var(--surface);
  border: 0; border-bottom: 2px solid var(--line-strong);
  border-radius: 2px 2px 0 0;
  padding: 13px 14px;
  width: 100%; min-width: 0;
  transition: border-color 220ms var(--ease-2), background 220ms var(--ease-2);
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--accent); background: #FFF;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.field > span em {
  font-style: normal; font-weight: 600; letter-spacing: .08em;
  color: var(--ink-faint); text-transform: none;
}

.field--check {
  grid-template-columns: auto 1fr; align-items: start; gap: 12px;
  font-size: .9rem; color: var(--ink-soft); line-height: 1.5;
}
.field--check .check-text {
  text-transform: none; letter-spacing: 0;
  font-weight: 400; font-size: .9rem; color: var(--ink-soft);
}
.field input[type="checkbox"] {
  appearance: auto; -webkit-appearance: auto;
  width: 18px; height: 18px;
  min-width: 18px; min-height: 18px;
  padding: 0; border: 0; margin: 2px 0 0;
  accent-color: var(--accent);
}
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------------- CTA panel (en lugar de formulario) ---------------- */

.cta-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-2);
  border-radius: 3px;
  padding: clamp(24px, 3.4vw, 40px);
  margin-top: 26px;
  min-width: 0;
  transition: box-shadow 300ms var(--ease), border-color 240ms var(--ease-2);
}
.cta-panel:hover { box-shadow: 0 24px 48px -36px rgba(34, 48, 31, .55); }
.cta-panel h3 { margin: 0 0 12px; }
.cta-panel p { color: var(--ink-soft); margin: 0 0 18px; max-width: 52ch; }
.cta-panel__list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 8px; }
.cta-panel__list li {
  position: relative; padding-left: 22px;
  font-size: .93rem; color: var(--ink-soft);
}
.cta-panel__list li::before {
  content: ''; position: absolute; left: 0; top: .58em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}

/* ---------------- Contact cards ---------------- */

.page-hero {
  min-height: 240px;
  padding: clamp(52px, 7vw, 96px) 0 clamp(36px, 4vw, 60px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #EFEDE3 0%, var(--bg) 100%);
}
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { max-width: 58ch; }

.channels {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: clamp(26px, 3vw, 40px);
}
.channel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  display: grid; gap: 4px;
  min-width: 0;
  transition: transform 240ms var(--ease), box-shadow 300ms var(--ease), border-color 240ms var(--ease-2);
}
.channel:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -30px rgba(34, 48, 31, .5); border-color: var(--line-strong); }
.channel__icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: #3F6B3A17; color: var(--accent);
  margin-bottom: 12px;
  transition: transform 260ms var(--ease), background 260ms var(--ease-2), color 260ms var(--ease-2);
}
.channel__icon svg { width: 21px; height: 21px; }
.channel:hover .channel__icon { transform: scale(1.08); background: var(--accent); color: #FFF; }
.channel h3 { font-size: 1.02rem; margin: 0; font-family: 'Karla', sans-serif; font-weight: 700; letter-spacing: .02em; }
.channel .val { font-size: 1.02rem; font-weight: 600; color: var(--accent-deep); text-decoration: none; word-break: break-word; }
.channel .val:hover { color: var(--accent-2); }
.channel .sub { font-size: .82rem; color: var(--ink-faint); margin: 4px 0 0; }

.hours {
  display: grid; gap: 8px;
  grid-template-columns: 1fr;
  margin-top: 22px;
  max-width: 520px;
}
.hours .day {
  display: flex; justify-content: space-between; gap: 16px;
  border: 1px solid var(--line); border-radius: 8px;
  padding: 11px 16px; background: var(--surface);
  font-variant-numeric: tabular-nums; font-size: .93rem;
}
.hours .day b { font-weight: 700; }
.hours .day.is-today { border-color: var(--accent); background: #3F6B3A0F; }
.hours .day.is-today b { color: var(--accent-deep); }

/* ---------------- FAQ ---------------- */

.faq { margin-top: clamp(26px, 3vw, 44px); max-width: 860px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px clamp(18px, 3vw, 28px);
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.06rem;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none;
  width: 11px; height: 11px;
  border-right: 1.6px solid var(--accent-2); border-bottom: 1.6px solid var(--accent-2);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 320ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details > .body {
  height: 0;
  padding: 0 clamp(18px, 3vw, 28px);
  overflow: hidden;
  transition: height 360ms var(--ease-2), padding-block-end 360ms var(--ease-2);
}
.faq details[open] > .body { height: auto; padding-block-end: 26px; }
.faq .body p { margin: 0 0 .8em; color: var(--ink-soft); font-size: .96rem; }
.faq .body p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .faq details > .body { transition: none; } }

/* ---------------- Steps / process ---------------- */

.steps { list-style: none; padding: 0; margin: clamp(26px, 3vw, 44px) 0 0; display: grid; gap: 0; max-width: 900px; }
.steps li {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 24px;
  padding: 26px 0; border-top: 1px solid var(--line);
  min-width: 0;
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .step-n {
  grid-row: 1 / span 3;
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 400;
  font-size: 1.9rem; color: var(--accent-2); line-height: 1;
  width: 54px;
}
.steps h4 { margin: 0; }
.steps .when { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; margin: 2px 0 6px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 560px) { .steps .step-n { grid-row: 1; } .steps li { grid-template-columns: 1fr; } }

/* ---------------- Team ---------------- */

.team { display: grid; gap: 26px; grid-template-columns: 1fr; margin-top: clamp(28px, 3vw, 46px); }
@media (min-width: 800px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.person { min-width: 0; }
.person__img { overflow: hidden; border-radius: 3px; background: var(--surface-3); }
.person__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 700ms var(--ease); }
.person:hover .person__img img { transform: scale(1.04); }
.person h3 { margin: 16px 0 2px; font-size: 1.2rem; }
.person .role { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); font-weight: 700; margin: 0 0 10px; }
.person p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

/* ---------------- Tables ---------------- */

.table-scroll {
  display: block; width: 100%; max-width: 100%; min-width: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.table-scroll > table { margin: 0 !important; min-width: 480px; width: 100%; }
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }

table { border-collapse: collapse; background: var(--surface); font-size: .93rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); background: var(--surface-2); }
tbody tr:last-child td { border-bottom: 0; }
td { font-variant-numeric: tabular-nums; }

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--ink);
  color: #A9AF9F;
  padding: clamp(52px, 6vw, 84px) 0 28px;
  margin-top: 0;
  border-top: 1px solid var(--line);
}
.site-footer a { color: #D6D3C5; text-decoration: none; }
.site-footer a:hover { color: var(--accent-2-soft); }
.footer-grid {
  display: grid; gap: 34px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; } }
.footer-grid h4 {
  color: #F7F5EF; font-family: 'Karla', sans-serif;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  margin: 0 0 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .92rem; }
.footer-brand p { font-size: .93rem; max-width: 40ch; color: #A9AF9F; }
.footer-brand .brand { color: #F7F5EF; margin-bottom: 14px; }
.footer-brand .brand:hover { color: #F7F5EF; }
.footer-brand .brand svg { color: var(--accent-2-soft); }
.footer-brand .brand span small { color: #7E8577; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid #F7F5EF24;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: .78rem; color: #7E8577;
}
.footer-bottom .rfc { letter-spacing: .06em; font-variant-numeric: tabular-nums; }

/* ---------------- Cookie banner ---------------- */

.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 30px 60px -30px rgba(34, 48, 31, .55);
  transform: translateY(140%); opacity: 0;
  transition: transform 280ms var(--ease), opacity 240ms;
  z-index: 9999;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner h2 { font-size: 1.1rem; margin: 0 0 8px; }
.cookie-banner p { font-size: .87rem; color: var(--ink-soft); margin: 0 0 16px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions button {
  flex: 1 1 auto; min-height: 44px;
  font-family: 'Karla', sans-serif; font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  border-radius: 999px; cursor: pointer; padding: 12px 16px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink);
  transition: background 200ms var(--ease-2), color 200ms var(--ease-2), border-color 200ms var(--ease-2);
}
.cookie-actions button[data-consent="accept"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.cookie-actions button[data-consent="accept"]:hover { background: var(--accent); color: var(--surface); border-color: var(--accent); }
.cookie-actions button:hover { background: var(--surface-2); color: var(--ink); }
.cookie-prefs { margin-top: 16px; display: none; border-top: 1px solid var(--line); padding-top: 14px; }
.cookie-prefs.is-open { display: block; }
.cookie-prefs label { display: flex; align-items: center; gap: 10px; font-size: .86rem; padding: 6px 0; color: var(--ink-soft); }
.cookie-prefs input[type="checkbox"] { appearance: auto; -webkit-appearance: auto; width: 18px; height: 18px; accent-color: var(--accent); }
.cookie-prefs .btn { margin-top: 12px; }
@media (min-width: 900px) { .cookie-banner { left: 24px; right: auto; max-width: 420px; } }

/* ---------------- Reveal ---------------- */

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero h1 .word { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero__figure img { animation: none !important; transform: scale(1.02) !important; }
  .figure img { transform: none !important; }
  .pod__half, .pod .bean { transition: none !important; }
  .vein { opacity: .4 !important; }
  * { scroll-behavior: auto !important; }
}

/* ---------------- Doc pages ---------------- */

.doc { padding: clamp(46px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.doc .prose { max-width: 740px; line-height: 1.7; }
.doc .prose h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-top: 2.1em; padding-top: .9em;
  border-top: 1px solid var(--line);
}
.doc .prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.doc .prose h3 { margin-top: 1.7em; color: var(--accent-deep); }
.doc .prose p { color: var(--ink-soft); margin-bottom: 1.3em; }
.doc .prose ul, .doc .prose ol { padding-left: 20px; color: var(--ink-soft); margin-bottom: 1.3em; }
.doc .prose li { margin-bottom: 7px; }
.doc .prose a { overflow-wrap: anywhere; }
.doc .meta { font-size: .8rem; color: var(--ink-faint); letter-spacing: .06em; }

.sitemap-cols { display: grid; gap: 30px; grid-template-columns: 1fr; margin-top: 30px; }
@media (min-width: 760px) { .sitemap-cols { grid-template-columns: repeat(3, 1fr); } }
.sitemap-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sitemap-cols h2 { font-size: 1.05rem; font-family: 'Karla', sans-serif; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }

.center-page {
  min-height: calc(100vh - var(--header-h) - 320px);
  display: grid; place-items: center; text-align: center;
  padding: clamp(60px, 9vw, 130px) 0;
}
.center-page .big {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: clamp(4rem, 12vw, 9rem); line-height: .9; color: var(--accent);
  margin: 0 0 18px; letter-spacing: -.03em;
}
.center-page p { max-width: 52ch; margin-inline: auto; color: var(--ink-soft); }
.center-page .btn { margin-top: 14px; }
.leaf-mark { width: 64px; height: 64px; color: var(--accent-2); margin: 0 auto 26px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .shop-card, .channel, .t-card, .overlap__panel { padding: 18px; }
  .channel__icon { width: 40px; height: 40px; }
  .channel__icon svg { width: 18px; height: 18px; }
  .hero__stats { grid-template-columns: 1fr; gap: 14px; }
  .hero__stats .num { font-size: 1.7rem; }
}

.scroll-progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--accent);z-index:9998;transition:width 80ms linear;pointer-events:none}

/* header-cta-padding-guard v1 */
.nav-desktop a.nav-cta, header a.nav-cta, .site-header a.nav-cta {
  padding: 10px 18px;
}
