/* =========================================================
   Kayinja — Circular Banana Distillery
   Shared stylesheet
   ========================================================= */

:root {
  /* palette */
  --moss-900: #0c130f;
  --moss-800: #0f1612;
  --moss-700: #14201a;
  --bark-900: #150e09;
  --bark-800: #1f160e;
  --bark-700: #2c2014;
  --parchment: #ede3cf;
  --parchment-dim: #cdc1a8;
  --parchment-mute: #8a826f;
  --gold-500: #c9a05c;
  --gold-400: #d8b878;
  --gold-700: #8a6a32;
  --line: rgba(237, 227, 207, 0.14);
  --line-strong: rgba(237, 227, 207, 0.28);

  /* type */
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Roboto Mono", Menlo, monospace;

  /* rhythm */
  --container: 1240px;
  --pad-x: clamp(20px, 5vw, 64px);
  --section-y: clamp(80px, 11vw, 160px);

  /* effects */
  --grain-opacity: 0.06;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--parchment);
  background: var(--moss-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--gold-500); color: var(--moss-900); }

/* ---------- grain & ambient bg ---------- */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: var(--grain-opacity);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.89  0 0 0 0 0.78  0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(201, 160, 92, 0.10), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(40, 70, 50, 0.40), transparent 60%),
    radial-gradient(800px 800px at 50% 110%, rgba(31, 22, 14, 0.85), transparent 70%);
}

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.04;
  margin: 0;
  color: var(--parchment);
  text-wrap: balance;
}
h1 { font-size: clamp(48px, 8vw, 120px); }
h2 { font-size: clamp(36px, 5.5vw, 72px); }
h3 { font-size: clamp(24px, 2.4vw, 34px); }
p  { margin: 0; text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-500);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold-500);
  display: inline-block;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.45;
  color: var(--parchment-dim);
  font-style: italic;
  font-weight: 400;
  max-width: 62ch;
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--parchment-mute);
  text-transform: uppercase;
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
section { position: relative; padding: var(--section-y) 0; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }

.hr-gold {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 30%, var(--gold-700) 50%, var(--line-strong) 70%, transparent);
  border: 0;
}

/* ---------- navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 28px 0;
  transition: padding .35s ease, background .35s ease, backdrop-filter .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  padding: 14px 0;
  background: rgba(12, 19, 15, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.02em;
}
.brand-mark {
  width: 32px; height: 32px;
  flex: 0 0 32px;
  display: grid; place-items: center;
  border: 1px solid var(--gold-500);
  border-radius: 50%;
  color: var(--gold-500);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
}
.brand-name { line-height: 1; }
.brand-name small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--parchment-mute);
  margin-top: 3px;
}

.nav-links {
  display: flex; align-items: center; gap: 36px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  position: relative;
  padding: 6px 0;
  transition: color .25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-500);
  transition: width .35s ease;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--parchment); }
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }

.nav-cta {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss-900);
  background: var(--gold-500);
  padding: 12px 20px;
  border-radius: 999px;
  transition: background .25s ease, transform .25s ease;
}
.nav-cta:hover { background: var(--gold-400); transform: translateY(-1px); }

.nav-mobile { display: none; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  width: 16px; height: 1px; background: var(--parchment);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 16px; height: 1px; background: var(--parchment);
  transition: transform .3s ease;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after  { top:  5px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 18px 30px;
  border-radius: 999px;
  transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gold-500); color: var(--moss-900); }
.btn-primary:hover { background: var(--gold-400); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--parchment); }
.btn-ghost:hover { border-color: var(--gold-500); color: var(--gold-500); }
.btn .arrow {
  display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative;
}
.btn .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 160px;
  padding-bottom: 80px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 60% at 70% 40%, rgba(60, 90, 60, 0.35), transparent 60%),
    radial-gradient(ellipse 70% 50% at 20% 80%, rgba(120, 80, 30, 0.30), transparent 60%),
    linear-gradient(180deg, #0a110d 0%, #0c130f 60%, #110b06 100%);
}
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 800 800'><g fill='none' stroke='%23c9a05c' stroke-width='0.5' opacity='0.08'><circle cx='400' cy='400' r='100'/><circle cx='400' cy='400' r='200'/><circle cx='400' cy='400' r='300'/><circle cx='400' cy='400' r='400'/></g></svg>");
  background-position: 75% 50%;
  background-repeat: no-repeat;
  background-size: 1100px 1100px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  width: 100%;
}
.hero-copy .eyebrow { margin-bottom: 28px; }
.hero-title {
  font-size: clamp(56px, 9.2vw, 140px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-500);
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--parchment-dim);
  max-width: 48ch;
  margin-bottom: 44px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-meta {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 560px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-meta-item .num {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  color: var(--gold-500);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-meta-item .lbl {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--parchment-mute);
}

/* hero bottle visual */
.hero-visual {
  position: relative;
  aspect-ratio: 3 / 4;
  display: grid; place-items: center;
}
.bottle {
  position: relative;
  width: 70%;
  height: 90%;
  background: linear-gradient(180deg,
      #2a1d11 0%,
      #3d2917 18%,
      #1d130a 60%,
      #120a05 100%);
  border-radius: 50% 50% 14px 14px / 22% 22% 14px 14px;
  box-shadow:
    inset 30px 0 60px rgba(0,0,0,0.6),
    inset -20px 0 40px rgba(201, 160, 92, 0.18),
    inset 0 -40px 80px rgba(0,0,0,0.7),
    0 40px 80px rgba(0,0,0,0.6);
  filter: drop-shadow(0 30px 30px rgba(0,0,0,0.4));
}
.bottle::before {
  content: "";
  position: absolute;
  top: -18%;
  left: 50%;
  transform: translateX(-50%);
  width: 22%;
  height: 22%;
  background: linear-gradient(180deg, #1a110a, #0c0805);
  border-radius: 8px 8px 4px 4px;
  box-shadow: inset 4px 0 8px rgba(0,0,0,0.6);
}
.bottle::after {
  content: "";
  position: absolute;
  top: -3%;
  left: 50%;
  transform: translateX(-50%);
  width: 24%;
  height: 6%;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-700));
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.bottle-label {
  position: absolute;
  inset: 38% 12% 18% 12%;
  background:
    linear-gradient(180deg, #f0e4cb, #d8c8a5);
  border-radius: 2px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  padding: 18px 8px;
  color: #2a1d11;
  text-align: center;
  box-shadow: inset 0 0 30px rgba(120, 80, 30, 0.2);
}
.bottle-label .crest {
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--gold-700);
}
.bottle-label .name {
  font-family: var(--serif);
  font-size: clamp(16px, 1.6vw, 22px);
  font-style: italic;
  line-height: 1;
}
.bottle-label .rule {
  width: 40%; height: 1px; background: var(--gold-700); opacity: 0.6;
}
.bottle-label .sub {
  font-family: var(--sans);
  font-size: 7px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.bottle-glint {
  position: absolute;
  top: 20%; left: 18%;
  width: 8%; height: 60%;
  background: linear-gradient(90deg, rgba(255,240,200,0.18), transparent);
  border-radius: 50%;
  filter: blur(4px);
}

.hero-marquee {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  background: rgba(0,0,0,0.18);
}
.marquee-track {
  display: flex;
  gap: 56px;
  padding: 18px 0;
  animation: marquee 38s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--parchment-mute);
}
.marquee-track span::after {
  content: "✦";
  margin-left: 56px;
  color: var(--gold-500);
  font-style: normal;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- pillars / what we do ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.pillar {
  background: linear-gradient(180deg, rgba(15,22,18,0.6), rgba(12,19,15,0.6));
  padding: 44px 36px;
  display: flex; flex-direction: column;
  gap: 18px;
  min-height: 360px;
  transition: background .4s ease;
}
.pillar:hover { background: linear-gradient(180deg, rgba(20,32,26,0.9), rgba(15,22,18,0.9)); }
.pillar-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold-500);
  letter-spacing: 0.2em;
}
.pillar-icon {
  width: 56px; height: 56px;
  border: 1px solid var(--gold-700);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-500);
}
.pillar h3 { font-size: clamp(24px, 2.2vw, 30px); }
.pillar p { color: var(--parchment-dim); font-size: 15px; }
.pillar .pillar-more {
  margin-top: auto;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  display: inline-flex; align-items: center; gap: 12px;
}
.pillar .pillar-more::after {
  content: ""; width: 18px; height: 1px; background: currentColor;
  transition: width .3s ease;
}
.pillar:hover .pillar-more::after { width: 28px; }

/* ---------- section header ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  margin-bottom: clamp(48px, 6vw, 80px);
  align-items: end;
}
.section-head h2 { margin-bottom: 0; }
.section-head .lede { margin-top: 24px; }

/* ---------- circular process ---------- */
.process {
  position: relative;
  background:
    linear-gradient(180deg, rgba(31, 22, 14, 0.4), rgba(12, 19, 15, 0) 40%, rgba(31, 22, 14, 0.4)),
    var(--moss-800);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 60px;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 40px; left: 8%; right: 8%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold-700) 0 6px, transparent 6px 14px);
  z-index: 0;
}
.step {
  position: relative;
  padding: 0 16px;
  text-align: left;
}
.step-dot {
  position: relative;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--moss-800);
  border: 1px solid var(--gold-700);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 26px;
  color: var(--gold-500);
  font-style: italic;
  margin-bottom: 28px;
  z-index: 1;
}
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--parchment-dim); font-size: 14px; line-height: 1.6; }

/* ---------- product feature ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.feature-visual {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201, 160, 92, 0.25), transparent 55%),
    radial-gradient(ellipse at 70% 90%, rgba(40, 70, 50, 0.5), transparent 60%),
    linear-gradient(160deg, #1b130a, #0e1410 70%);
  border: 1px solid var(--line);
}
.feature-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='500' viewBox='0 0 400 500'><g fill='none' stroke='%23c9a05c' stroke-width='1' opacity='0.20'><path d='M120 100 Q200 60 280 100 T280 400 Q200 440 120 400 T120 100Z'/><path d='M140 130 Q200 100 260 130 T260 370 Q200 400 140 370 T140 130Z'/><ellipse cx='200' cy='250' rx='80' ry='180'/></g></svg>");
  background-size: cover;
  background-position: center;
}
/* Real photos */
.bottle-photo {
  position: relative;
  width: 78%;
  max-width: 460px;
  margin: 0 auto;
  filter: drop-shadow(0 40px 50px rgba(0,0,0,0.55)) drop-shadow(0 0 80px rgba(201,160,92,0.15));
}
.bottle-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.bottle-photo::before {
  content: "";
  position: absolute;
  inset: 5% -10% -5% -10%;
  background: radial-gradient(ellipse at center, rgba(201,160,92,0.18), transparent 60%);
  z-index: -1;
  filter: blur(20px);
}
/* Framed photo treatment (woven-net bottle on cloth) */
.bottle-photo.is-framed {
  width: 100%;
  max-width: 432px;
  margin: 0 auto;
  filter: none;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow:
    0 50px 90px -24px rgba(0,0,0,0.72),
    0 0 90px rgba(201,160,92,0.12);
}
.bottle-photo.is-framed::before { display: none; }
.bottle-photo.is-framed img { border-radius: 0; }
.bottle-photo.is-framed figcaption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  text-align: center;
  padding: 14px 16px 15px;
  background: linear-gradient(180deg, rgba(12,19,15,0.55), rgba(12,19,15,0.92));
  border-top: 1px solid var(--line);
}
.feature-visual.has-photo,
.feature-visual.has-photo-pineapple {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.feature-visual.has-photo {
  background-image:
    linear-gradient(180deg, rgba(15,22,18,0.0) 30%, rgba(12,19,15,0.6) 100%),
    url("images/bananas.jpg");
}
.feature-visual.has-photo::before { display: none; }
.feature-visual.has-photo::after { content: "KAYINJA BANANAS · GROWN ON SITE, MUKONO" !important; color: var(--parchment-dim); }

.feature-visual.has-photo-pineapple {
  background-image:
    linear-gradient(180deg, rgba(15,22,18,0.0) 30%, rgba(12,19,15,0.6) 100%),
    url("images/pineapple.jpg");
}
.feature-visual.has-photo-pineapple::before { display: none; }
.feature-visual.has-photo-pineapple::after { content: "PINEAPPLES · GROWN ON THE HILL, MUKONO" !important; color: var(--parchment-dim); }

/* Farm gallery */
.farm-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 16px;
  margin-top: clamp(48px, 6vw, 80px);
}
.farm-gallery figure {
  margin: 0;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
}
.farm-gallery figure::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 12px; left: 14px; right: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--parchment);
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.farm-gallery figure::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.65) 100%);
}
.fg-bananas { grid-column: 1 / 2; grid-row: 1 / 3; background-image: url("images/bananas.jpg"); }
.fg-ducks   { grid-column: 2 / 3; grid-row: 1 / 3; background-image: url("images/ducks.jpg"); }
.fg-pineapple { grid-column: 3 / 4; grid-row: 1 / 3; background-image: url("images/pineapple.jpg"); }

@media (max-width: 760px) {
  .farm-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px;
  }
  .fg-bananas   { grid-column: 1 / 3; grid-row: 1 / 2; }
  .fg-ducks     { grid-column: 1 / 2; grid-row: 2 / 3; }
  .fg-pineapple { grid-column: 2 / 3; grid-row: 2 / 3; }
}

.feature-visual-pineapple {
  background:
    radial-gradient(ellipse at 30% 25%, rgba(232, 197, 109, 0.35), transparent 55%),
    radial-gradient(ellipse at 75% 85%, rgba(120, 78, 30, 0.4), transparent 60%),
    linear-gradient(160deg, #3a2814 0%, #1a120a 100%);
}
.feature-visual-pineapple::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='500' viewBox='0 0 400 500'><g fill='none' stroke='%23d8b878' stroke-width='1' opacity='0.22'><ellipse cx='200' cy='280' rx='75' ry='130'/><path d='M170 150 L185 100 M200 150 L200 90 M230 150 L215 100 M180 145 L165 110 M220 145 L235 110'/><path d='M140 220 L260 220 M130 260 L270 260 M130 300 L270 300 M140 340 L260 340'/></g></svg>") !important;
}
.feature-visual-pineapple::after { content: "MISTELLE · BATCH 01 · CLAY-RESTED" !important; }
.feature-visual::after {
  content: "KAYINJA EAU DE VIE · COPPER POT · HEART CUT";
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--parchment-mute);
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.feature-list {
  list-style: none; padding: 0; margin: 32px 0 40px;
  display: grid;
  gap: 18px;
}
.feature-list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list dt {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold-500);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.feature-list dd { margin: 0; color: var(--parchment-dim); font-size: 15px; }

/* ---------- quote ---------- */
.quote {
  text-align: center;
  position: relative;
}
.quote .mark {
  font-family: var(--serif);
  font-size: 140px;
  line-height: 1;
  color: var(--gold-700);
  opacity: 0.4;
  margin-bottom: -40px;
}
.quote q {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.25;
  color: var(--parchment);
  display: block;
  max-width: 22ch;
  margin: 0 auto 32px;
  text-wrap: balance;
  quotes: none;
}
.quote q::before, .quote q::after { content: ""; }
.quote cite {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--parchment-mute);
}
.quote cite strong { color: var(--gold-500); font-weight: 600; display: block; margin-bottom: 4px; }

/* ---------- press strip ---------- */
.press {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}
.press .label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--parchment-mute);
}
.press-logos {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.press-logos span {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-style: italic;
  color: var(--parchment-dim);
  opacity: 0.75;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ---------- closing CTA ---------- */
.closing {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 160, 92, 0.18), transparent 60%),
    linear-gradient(180deg, var(--bark-900) 0%, var(--moss-900) 100%);
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.closing h2 { margin-bottom: 28px; }
.closing .lede { margin: 0 auto 44px; text-align: center; }

/* ---------- footer ---------- */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--moss-900);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-grid h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 22px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--parchment-dim); font-size: 14px; transition: color .25s ease; }
.footer-grid a:hover { color: var(--gold-500); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--parchment-dim); font-size: 14px; max-width: 38ch; }

.footer-bottom {
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--parchment-mute);
}
.footer-bottom .links { display: flex; gap: 24px; }
.footer-bottom .links a:hover { color: var(--gold-500); }

/* ---------- about page bits ---------- */
.page-hero {
  padding: 220px 0 100px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201, 160, 92, 0.14), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(40, 70, 50, 0.4), transparent 60%);
  z-index: -1;
}
.page-hero h1 {
  font-size: clamp(56px, 8vw, 110px);
  margin: 22px 0 32px;
}
.page-hero .lede { max-width: 56ch; }

.about-twocol {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.about-twocol .sticky-eyebrow {
  position: sticky; top: 120px;
}
.about-twocol .prose p { color: var(--parchment-dim); font-size: 17px; margin-bottom: 22px; }
.about-twocol .prose p:first-of-type::first-line { color: var(--parchment); letter-spacing: 0.04em; }
.about-twocol .prose p .first-letter,
.about-twocol .prose p::first-letter {
  font-family: var(--serif);
}

.tenets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tenet {
  background: var(--moss-800);
  padding: 44px 36px;
  min-height: 280px;
  display: flex; flex-direction: column; gap: 14px;
}
.tenet .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold-500);
  letter-spacing: 0.2em;
}
.tenet h3 { font-size: 28px; }
.tenet p { color: var(--parchment-dim); font-size: 15px; }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 60px;
  padding-left: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 178px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line);
}
.tline-item {
  display: contents;
}
.tline-year {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  color: var(--gold-500);
  padding-bottom: 60px;
  position: relative;
}
.tline-year::after {
  content: "";
  position: absolute;
  right: -8px; top: 18px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--moss-900);
  border: 1px solid var(--gold-500);
  box-shadow: 0 0 0 4px var(--moss-900);
}
.tline-body { padding-bottom: 60px; }
.tline-body h3 { font-size: 24px; margin-bottom: 10px; }
.tline-body p { color: var(--parchment-dim); font-size: 15px; max-width: 56ch; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.member {
  display: flex; flex-direction: column; gap: 16px;
}
.member-portrait {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(201, 160, 92, 0.25), transparent 50%),
    linear-gradient(160deg, #1f160e, #0c130f);
}
.member-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='250' viewBox='0 0 200 250'><g fill='none' stroke='%23c9a05c' stroke-width='1' opacity='0.20'><circle cx='100' cy='95' r='38'/><path d='M40 240 Q40 150 100 150 Q160 150 160 240'/></g></svg>");
  background-size: 80%;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.member-portrait::after {
  content: attr(data-tag);
  position: absolute;
  bottom: 14px; left: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--parchment-mute);
}
.member h3 { font-size: 22px; }
.member .role { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-500); }
.member p { font-size: 14px; color: var(--parchment-dim); margin-top: 6px; }

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 40px; }
.contact-info h2 { font-size: clamp(40px, 5vw, 64px); }
.contact-info .lede { max-width: 42ch; }
.info-block {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: baseline;
}
.info-block dt {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
}
.info-block dd { margin: 0; font-size: 16px; color: var(--parchment); }
.info-block dd small { display: block; color: var(--parchment-mute); font-size: 13px; margin-top: 4px; letter-spacing: 0; }
.info-block a { color: var(--parchment); border-bottom: 1px solid var(--line-strong); transition: border-color .25s ease, color .25s ease; }
.info-block a:hover { color: var(--gold-500); border-bottom-color: var(--gold-500); }

.contact-socials {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
.contact-socials a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--parchment-dim);
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}
.contact-socials a:hover { color: var(--gold-500); border-color: var(--gold-500); transform: translateY(-2px); }

.form-card {
  background:
    linear-gradient(180deg, rgba(20, 32, 26, 0.6), rgba(15, 22, 18, 0.6));
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(28px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.form-head { margin-bottom: 32px; }
.form-head h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 8px; }
.form-head p { color: var(--parchment-dim); font-size: 14px; }

.field {
  display: block;
  margin-bottom: 24px;
  position: relative;
}
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 10px;
  font-weight: 600;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 12px 0;
  color: var(--parchment);
  font-family: var(--sans);
  font-size: 16px;
  outline: none;
  transition: border-color .25s ease;
  border-radius: 0;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-bottom-color: var(--gold-500); }
.field input::placeholder,
.field textarea::placeholder { color: var(--parchment-mute); }
.field.has-error input,
.field.has-error textarea { border-bottom-color: #c97a4d; }
.field .error-msg {
  display: none;
  font-size: 12px;
  color: #d99068;
  margin-top: 8px;
  letter-spacing: 0.04em;
}
.field.has-error .error-msg { display: block; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.form-actions .fine {
  font-size: 12px;
  color: var(--parchment-mute);
  max-width: 36ch;
}
.form-success {
  display: none;
  text-align: center;
  padding: 28px 0;
}
.form-success.is-visible { display: block; }
.form-success .mark {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 1px solid var(--gold-500);
  display: grid; place-items: center;
  color: var(--gold-500);
}
.form-success h3 { font-size: 26px; margin-bottom: 10px; }
.form-success p { color: var(--parchment-dim); }
.form-fields.is-hidden { display: none; }

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0ms);
  will-change: transform, opacity;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- mobile ---------- */
@media (max-width: 960px) {
  .hero { padding-top: 140px; min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 4 / 5; max-width: 360px; margin: 0 auto; }
  .hero-meta { grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: none; }
  .pillars { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-grid::before { display: none; }
  .feature { grid-template-columns: 1fr; }
  .feature-visual { max-width: 480px; }
  .section-head { grid-template-columns: 1fr; }
  .tenets { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 100px 1fr; gap: 28px; }
  .timeline::before { left: 98px; }
  .about-twocol { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .press { grid-template-columns: 1fr; gap: 20px; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-menu-open .nav-toggle span { background: transparent; }
  .nav.is-menu-open .nav-toggle span::before { transform: translateY(5px) rotate(45deg); }
  .nav.is-menu-open .nav-toggle span::after { transform: translateY(-5px) rotate(-45deg); }
  .nav-mobile {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background: var(--moss-900);
    padding: 100px var(--pad-x) 40px;
    z-index: -1;
    flex-direction: column;
    gap: 24px;
  }
  .nav.is-menu-open .nav-mobile { display: flex; }
  .nav-mobile a {
    font-family: var(--serif);
    font-size: 36px;
    color: var(--parchment);
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
  }
  .nav-mobile .nav-cta {
    display: inline-flex;
    margin-top: 20px;
    align-self: flex-start;
    font-family: var(--sans);
    font-size: 12px;
    background: var(--gold-500);
    color: var(--moss-900);
    padding: 14px 24px;
    border-radius: 999px;
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(42px, 11vw, 68px); }
  .hero-title { font-size: clamp(48px, 12vw, 72px); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .team-grid { grid-template-columns: 1fr; }
  .info-block { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
