/* ═══════════════════════════════════════════════════════════
   ADES FARMS — Integrated Luxury Agribusiness Design System
   
   Typography & Design Tokens:
   Fraunces (Serif) · Inter (Sans) · JetBrains Mono (Mono) · Montserrat (Headings)
   Forest Emerald #08160D / #1F4115 · Gold Accent #C4873C / #E25C00 · Organic Ivory #F8F5EE
   ═══════════════════════════════════════════════════════════ */

/* =============================================================
   00. DESIGN TOKENS
   ============================================================= */
:root {
  /* Brand Core Colors (Legacy & New Merged) */
  --forest: #1F4115;          
  --forest-deep: #152B0E;     
  --forest-ink: #0C1A08;      
  --leaf: #69AF35;            
  --gold: #E25C00;            
  --gold-soft: #F9A01B;

  /* Forest & Gold Palette Tokens */
  --forest-950: #08160D;
  --forest-900: #0C2013;
  --forest-800: #143320;
  --forest-500: #2E6B41;

  --gold-600: #A9702E;
  --gold-500: #C4873C;
  --gold-400: #D6A05C;
  --gold-300: #E3BC88;

  /* Canvas & Neutrals */
  --ivory: #F8F5EE;           
  --ivory-100: #F2EEE4;
  --ivory-200: #E7E1D4;
  --white: #FFFFFF;
  --sage: #D3E6CC;            
  --charcoal: #253023;        
  --muted: #596E56;

  --char-900: #131412;
  --char-800: #1C1D1A;
  --char-700: #2A2B27;
  --char-500: #4A4B45;
  --char-400: #6E6F68;

  --bg: var(--ivory);
  --ink: var(--char-900);
  --hair: rgba(19, 20, 18, 0.11);
  --hair-inv: rgba(248, 245, 238, 0.14);

  /* Typography Stack */
  --serif: "Fraunces", "Times New Roman", serif;
  --font-head: "Fraunces", "Times New Roman", serif;
  --font-body: 'Inter', sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", monospace;

  /* Fluid Scale Tokens */
  --fs-mono: clamp(0.625rem, 0.58rem + 0.18vw, 0.72rem);
  --fs-sm: clamp(0.8125rem, 0.78rem + 0.18vw, 0.875rem);
  --fs-body: clamp(0.9375rem, 0.9rem + 0.3vw, 1.0625rem);
  --fs-lead: clamp(1.125rem, 1rem + 0.9vw, 1.6rem);
  --fs-h4: clamp(1.25rem, 1.1rem + 0.8vw, 1.75rem);
  --fs-h3: clamp(1.6rem, 1.3rem + 1.6vw, 2.6rem);
  --fs-h2: clamp(2.1rem, 1.5rem + 3.4vw, 4.6rem);
  --fs-h1: clamp(2.8rem, 1.6rem + 7.2vw, 9rem);

  --gut: clamp(1.25rem, 0.8rem + 2.6vw, 3.5rem);
  --sec-y: clamp(5.5rem, 3rem + 10vw, 14rem);
  --max: 1560px;
  --container: 1240px;

  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 24px;

  --shadow-sm: 0 4px 15px rgba(31, 65, 21, 0.04);
  --shadow-md: 0 10px 30px rgba(31, 65, 21, 0.08);
  --shadow-lg: 0 20px 50px rgba(31, 65, 21, 0.12);
  --shadow-gold: 0 12px 32px rgba(226, 92, 0, 0.24);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-io: cubic-bezier(0.65, 0.02, 0.15, 1);
  --e-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================================
   01. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--bg);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; outline: none; }
address { font-style: normal; }

::selection { background: var(--gold-300); color: var(--forest-900); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: min(var(--container), 92vw); margin-inline: auto; }
.shell { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.shell--wide { max-width: 1860px; }

/* Dynamic Ambient Noise Texture */
.grain-overlay, .grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.033;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 7s steps(6) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-4%, 3%); }
  40%  { transform: translate(3%, -4%); }
  60%  { transform: translate(-3%, -2%); }
  80%  { transform: translate(4%, 2%); }
  100% { transform: translate(0, 0); }
}

/* =============================================================
   02. TYPOGRAPHY & UTILITIES
   ============================================================= */
.display, h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.d1 { font-size: var(--fs-h1); }
.d2 { font-size: var(--fs-h2); }
.d3 { font-size: var(--fs-h3); }

.wonk, em {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 100;
  letter-spacing: -0.03em;
  color: var(--gold-soft);
}

.eyebrow {
  font-family: var(--mono);
  font-size: var(--fs-mono);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--char-400);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: clamp(18px, 3vw, 44px);
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.eyebrow--plain::before { display: none; }
.eyebrow .idx { color: var(--gold-600); }

.gold { color: var(--gold-500); }
.on-dark { color: var(--ivory); }
.on-dark .eyebrow { color: rgba(248, 245, 238, 0.5); }
.on-dark .eyebrow .idx { color: var(--gold-400); }

.section { position: relative; padding-block: var(--sec-y); }
.dark { background: var(--forest-950); color: var(--ivory); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head.split {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 3rem; flex-wrap: wrap;
}
.section-note { max-width: 40ch; color: var(--muted); font-size: 1.02rem; padding-bottom: .4rem; }
.section-head--light h2 { color: var(--white); }
.section-head--light .section-note { color: rgba(255,255,255,.72); }

section { padding: clamp(4.5rem, 9vw, 8.5rem) 0; position: relative; z-index: 1; }

.lead { font-size: 1.125rem; color: var(--muted); max-width: 56ch; }

/* =============================================================
   03. BUTTONS & INTERACTION BEHAVIORS
   ============================================================= */
.btn-magnetic-wrapper {
  display: inline-block;
  position: relative;
  vertical-align: middle;
}

.btn {
  --btn-bg: var(--forest-900);
  --btn-fg: var(--ivory);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.05rem 1.85rem;
  border-radius: 100px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  transition: transform 0.5s var(--e-out), box-shadow 0.5s var(--e-out), color 0.4s var(--e-soft);
  box-shadow: 0 1px 2px rgba(8, 22, 13, 0.16), 0 10px 26px -14px rgba(8, 22, 13, 0.5);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold-500);
  transform: translateY(101%);
  transition: transform 0.62s var(--e-out);
}
.btn:hover { transform: translateY(-3px); color: var(--forest-950); box-shadow: 0 3px 8px rgba(8, 22, 13, 0.14), 0 22px 46px -18px rgba(8, 22, 13, 0.55); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: translateY(-1px) scale(0.99); }
.btn__ico { width: 15px; height: 15px; flex: none; transition: transform 0.5s var(--e-out); }
.btn:hover .btn__ico { transform: translateX(4px); }

.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--forest-950); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: currentColor;
  box-shadow: inset 0 0 0 1px var(--hair);
}
.dark .btn--ghost { box-shadow: inset 0 0 0 1px var(--hair-inv); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px transparent; }
.btn--gold { --btn-bg: var(--gold-500); --btn-fg: var(--forest-950); }
.btn--gold::after { background: var(--forest-900); }
.btn--gold:hover { color: var(--ivory); }

/* Preserved Compatibility Buttons */
.btn-primary { background: var(--forest); color: var(--white); box-shadow: 0 10px 28px rgba(31, 65, 21, .30); }
.btn-primary:hover { background: var(--forest-deep); }
.btn-ghost {
  background: rgba(255,255,255,.14); color: var(--white);
  border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-outline { border: 1.5px solid var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: var(--white); }
.btn-lg { padding: 1.15rem 2.4rem; font-size: 1rem; }
.btn-nav { padding: 0.75rem 1.6rem; font-size: .85rem; }

/* Text Links with animated rule */
.tlink, .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  padding-bottom: 4px;
  position: relative;
  color: inherit;
}
.tlink::before, .card-link::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; opacity: 0.28;
}
.tlink::after, .card-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--e-out);
}
.tlink:hover::after, .card-link:hover::after { transform: scaleX(1); }
.tlink svg, .card-link svg { width: 13px; height: 13px; transition: transform 0.5s var(--e-out); }
.tlink:hover svg, .card-link:hover svg { transform: translate(3px, -3px); }

/* ── 3D Depth Cards & Spotlight Shimmer ── */
.reveal-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform, box-shadow;
  transform: perspective(1000px) skewX(var(--skew, 0deg)) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.6s var(--e-out), box-shadow 0.6s var(--ease);
}
.reveal-3d:hover { box-shadow: 0 20px 50px rgba(31, 65, 21, 0.16); }

.spotlight-card { position: relative; overflow: hidden; }
.spotlight-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(226, 92, 0, 0.05) 0%, transparent 100%);
  pointer-events: none; opacity: 0; z-index: 2; transition: opacity 0.5s var(--ease);
}
.spotlight-card:hover::before { opacity: 1; }

.glass-card {
  display: flex; align-items: center; gap: .95rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: var(--r-md); padding: 1rem 1.35rem; color: var(--white);
}

/* =============================================================
   NAVIGATION
   ============================================================= */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 1.1rem 0;
  transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-nav.is-scrolled {
  padding: .6rem 0;
  background: rgba(8, 22, 13, .88);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(248, 245, 238, .1);
}
.nav-inner {
  width: min(var(--container), 92vw); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav-brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-image {
  width: clamp(84px, 8vw, 116px); height: auto;
  object-fit: contain; display: block;
}
.nav-links { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.nav-links a {
  font-family: var(--sans); font-weight: 500; font-size: var(--fs-sm);
  color: rgba(248, 245, 238, .88); position: relative; padding: .55rem .9rem; border-radius: 999px;
  transition: color 0.4s var(--ease), background 0.4s var(--ease);
}
.nav-links a:hover { color: var(--gold-400); background: rgba(248, 245, 238, 0.06); }
.nav-links a.is-active,
.nav-links a[aria-current="page"] {
  color: var(--gold-soft);
  background: rgba(249, 160, 27, 0.14);
  border: 1px solid rgba(249, 160, 27, 0.32);
}
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  z-index: 1001;
  transition: all 0.4s var(--e-out);
}
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-500);
  transform: scale(1.05);
}
.nav-toggle.is-open {
  background: rgba(249, 160, 27, 0.15);
  border-color: var(--gold-500);
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  border-radius: 3px;
  background: var(--ivory);
  transition: all 0.4s var(--e-out);
}
.nav-toggle span:nth-child(1) {
  top: 17px;
}
.nav-toggle span:nth-child(2) {
  top: 25px;
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
  background: var(--gold-400);
}
.nav-toggle.is-open span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
  background: var(--gold-400);
}

/* =============================================================
   04. HERO SECTION (FLAGSHIP SLIDER)
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--forest-950);
  isolation: isolate;
}
.hero__stage { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 2.4s var(--e-soft);
}
.hero__slide.is-live { opacity: 1; }
.hero__slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  animation: kenburns 18s ease-out both infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.12) translate3d(1.2%, 1%, 0); }
  to   { transform: scale(1.01) translate3d(-1%, -0.6%, 0); }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 22, 13, 0.72) 0%, rgba(8, 22, 13, 0.24) 26%, rgba(8, 22, 13, 0.42) 58%, rgba(8, 22, 13, 0.92) 100%),
    radial-gradient(90% 70% at 12% 88%, rgba(8, 22, 13, 0.6), transparent 70%);
}

.hero__inner {
  position: relative; width: 100%; max-width: 1860px;
  margin-inline: auto; padding: clamp(7rem, 16vh, 11rem) var(--gut) clamp(1.5rem, 3vh, 2.5rem);
  display: grid; gap: clamp(2rem, 5vh, 3.5rem);
}
.hero__top {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: end; gap: clamp(1.5rem, 4vw, 4rem);
}
.hero__label { color: rgba(248, 245, 238, 0.62); margin-bottom: clamp(1.1rem, 2vh, 2rem); }
.hero__title { color: var(--ivory); font-size: var(--fs-h1); max-width: 17ch; }
.hero__title .ln { display: block; overflow: hidden; }
.split-text .word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.split-text .word-inner {
  display: inline-block;
  transform: translateY(112%);
  opacity: 0;
  transition:
    transform 1.15s var(--e-out),
    opacity 0.95s var(--e-soft);
  transition-delay: var(--word-delay, 0ms);
  will-change: transform, opacity;
}
.split-text.is-visible .word-inner {
  transform: translateY(0);
  opacity: 1;
}
body.preloader-cleared .hero__title.split-text .word-inner,
.hero__title.split-text.is-visible .word-inner {
  transform: translateY(0);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .split-text .word-inner {
    transform: none;
    opacity: 1;
    transition: none;
  }
}

.hero__aside {
  max-width: 34ch; padding-bottom: 0.6rem; display: grid; gap: 1.4rem;
  animation: fadeUp 1.45s var(--e-out) 0.5s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
.hero__aside p { color: rgba(248, 245, 238, 0.78); font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.08rem); }

.hero__foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; padding-top: clamp(1.5rem, 3vh, 2.5rem);
  border-top: 1px solid rgba(248, 245, 238, 0.16); animation: fadeUp 1.45s var(--e-out) 0.7s both;
}
.hero__stats { display: flex; gap: clamp(1.5rem, 4vw, 4.5rem); flex-wrap: wrap; }
.hero__stat { display: grid; gap: 0.3rem; }
.hero__stat b {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.6rem);
  line-height: 1; color: var(--ivory);
}
.hero__stat span {
  font-family: var(--mono); font-size: var(--fs-mono);
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(248, 245, 238, 0.5);
}

.hero__cues { display: flex; align-items: center; gap: 1.5rem; }
.hero__dots { display: flex; gap: 8px; }
.hero__dot {
  width: 28px; height: 3px; background: rgba(248, 245, 238, 0.28);
  border-radius: 2px; transition: background 0.5s var(--e-soft), width 0.4s var(--e-out);
}
.hero__dot.is-live { background: var(--gold-400); width: 42px; }

.scrollcue {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(248, 245, 238, 0.55);
}
.scrollcue i {
  width: 1px; height: 34px; background: linear-gradient(180deg, rgba(248, 245, 238, 0.7), transparent);
  position: relative; overflow: hidden;
}
.scrollcue i::after {
  content: ""; position: absolute; inset: 0; background: var(--gold-400);
  animation: cueRun 2.2s var(--e-io) infinite;
}
@keyframes cueRun { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* =============================================================
   05. IMPACT SECTION (PRESERVED)
   ============================================================= */
.impact { background: var(--ivory); padding-bottom: clamp(3.5rem, 6vw, 6rem); }
.impact .section-head { margin-inline: auto; text-align: center; }
.impact-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.impact-item {
  background: var(--white); border-radius: var(--r-lg); padding: 2.2rem 1.4rem;
  text-align: center; box-shadow: var(--shadow-sm); border: 1px solid rgba(31, 65, 21,.05);
}
.impact-num, .impact-plus {
  font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 3.4vw, 3rem);
  color: var(--forest); line-height: 1; display: inline-block;
}
.impact-plus { color: var(--gold-500); }
.impact-item p { margin-top: .7rem; font-size: .9rem; color: var(--muted); font-weight: 500; }

/* =============================================================
   06. ABOUT SECTION (EDITORIAL STICKY MEDIA CARD)
   ============================================================= */
.about { background: linear-gradient(180deg, var(--ivory) 0%, var(--sage) 100%); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }

/* Sticky Media Card Container */
.about-media-sticky-wrapper {
  position: sticky;
  top: 110px;
  align-self: start;
  z-index: 10;
}
.about-media {
  position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg);
}
.about-media img { width: 100%; height: 620px; object-fit: cover; }
.about-badge {
  position: absolute; left: 1.4rem; bottom: 1.4rem;
  background: rgba(21, 43, 14, .75); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 1rem 1.35rem; border-radius: var(--r-md); color: var(--white);
}

.about-mvv { display: grid; gap: 1rem; margin: 2.2rem 0; }
.about-mvv article {
  background: var(--white); border-radius: var(--r-md); padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm); border-left: 3px solid var(--gold-500);
}
.about-mvv h3 { font-size: 1rem; margin-bottom: .4rem; display: flex; align-items: center; gap: .6rem; color: var(--forest); }
.about-mvv h3 svg.mvv-icon { width: 16px; height: 16px; color: var(--gold-500); }

.timeline { position: relative; padding-left: 1.6rem; display: grid; gap: 1.4rem; }
.timeline::before {
  content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--gold-500), var(--forest));
}
.timeline li { position: relative; display: flex; gap: 1.1rem; align-items: baseline; }
.timeline li::before {
  content: ''; position: absolute; left: -1.6rem; top: .45em; width: 12px; height: 12px;
  border-radius: 50%; background: var(--gold-500); border: 3px solid var(--ivory);
  box-shadow: 0 0 0 2px var(--gold-500); transform: translateX(-4px);
}
.tl-year { font-family: var(--mono); font-weight: 500; color: var(--forest); min-width: 3.4rem; }

/* =============================================================
   07. WHAT WE DO (6 DISCIPLINES STICKY VALUE CHAIN)
   ============================================================= */
.chain { background: var(--forest-950); color: var(--ivory); }
.chain__wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 0.5rem + 1.6vw, 2.5rem); }
.chain__rail { grid-column: 1 / 5; position: sticky; top: 22vh; align-self: start; }
.chain__list { display: grid; gap: 0.1rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.chain__tab {
  width: 100%; text-align: left; display: grid; grid-template-columns: auto 1fr;
  gap: 1.1rem; align-items: baseline; padding: 0.95rem 0;
  border-bottom: 1px solid var(--hair-inv); color: rgba(248, 245, 238, 0.42);
  transition: color 0.5s var(--e-soft), padding-left 0.6s var(--e-out);
}
.chain__tab .n { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: 0.16em; }
.chain__tab .t { font-family: var(--serif); font-weight: 300; font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.5rem); letter-spacing: -0.022em; line-height: 1.1; }
.chain__tab:hover { color: rgba(248, 245, 238, 0.8); padding-left: 0.5rem; }
.chain__tab.is-live { color: var(--ivory); }
.chain__tab.is-live .n { color: var(--gold-400); }

.chain__panes { grid-column: 6 / 13; display: grid; gap: clamp(3.5rem, 3rem + 6vw, 9rem); }
.chain__pane { display: grid; gap: clamp(1.25rem, 1rem + 1.4vw, 2.25rem); }
.chain__pane .media { position: relative; overflow: hidden; border-radius: 3px; aspect-ratio: 3/2; background: var(--forest-900); }
.chain__pane .media img { width: 100%; height: 100%; object-fit: cover; }
.chain__pane h3 { font-size: var(--fs-h3); }
.chain__pane p { color: rgba(248, 245, 238, 0.66); max-width: 46ch; }
.chain__meta { display: flex; gap: clamp(1.25rem, 3vw, 3rem); flex-wrap: wrap; padding-top: 1.25rem; border-top: 1px solid var(--hair-inv); }
.chain__meta div { display: grid; gap: 0.25rem; }
.chain__meta b { font-family: var(--serif); font-weight: 300; font-size: 1.5rem; }
.chain__meta span { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(248, 245, 238, 0.45); }

/* =============================================================
   08. PRODUCTS SECTION (PRESERVED)
   ============================================================= */
.products { background: var(--ivory); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.product-card {
  background: var(--white); border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(31, 65, 21,.05);
  display: flex; flex-direction: column;
}
.product-card figure { height: 250px; overflow: hidden; }
.product-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.product-card:hover figure img { transform: scale(1.08); }
.product-body { padding: 1.7rem 1.8rem 2rem; display: flex; flex-direction: column; flex: 1; }
.product-tag {
  align-self: flex-start; font-family: var(--mono); font-size: .68rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-500);
  background: rgba(196, 135, 60, 0.12); padding: .32rem .8rem; border-radius: 999px; margin-bottom: .9rem;
}
.product-body h3 { font-size: 1.28rem; margin-bottom: .55rem; font-family: var(--serif); }
.product-body p { color: var(--muted); font-size: .94rem; margin-bottom: 1.4rem; flex: 1; }

.btn-quote {
  align-self: flex-start; background: var(--sage); color: var(--forest);
  padding: .8rem 1.6rem; font-size: .85rem; border-radius: 999px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.btn-quote:hover { background: var(--forest); color: var(--white); }

/* =============================================================
   09. PARTNERSHIPS SECTION (PRESERVED)
   ============================================================= */
.partnership {
  background:
    radial-gradient(900px 480px at 10% 100%, rgba(105, 175, 53, .12), transparent 60%),
    linear-gradient(200deg, var(--forest-950) 0%, var(--forest-900) 50%, var(--forest-ink) 100%);
  border-radius: var(--r-xl); margin: 0 clamp(.6rem, 1.6vw, 1.6rem);
}
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.partner-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-lg); padding: 2.3rem 2rem;
}
.partner-icon-wrap {
  width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center;
  background: rgba(249, 160, 27, .15); margin-bottom: 1.4rem; color: var(--gold-400);
}
.partner-icon-wrap svg { width: 24px; height: 24px; }
.partner-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: .6rem; font-family: var(--serif); }
.partner-card p { color: rgba(255,255,255,.7); font-size: .94rem; }
.partner-cta { text-align: center; margin-top: 3.5rem; }

/* =============================================================
   10. TRAINING ACADEMY SECTION (PRESERVED)
   ============================================================= */
.academy { background: linear-gradient(180deg, var(--ivory), var(--sage) 120%); }
.academy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.academy-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin: 2.1rem 0 2.4rem; }
.academy-features li {
  display: flex; gap: .95rem; align-items: flex-start;
  background: var(--white); border-radius: var(--r-md); padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.academy-features svg.feature-icon { color: var(--gold-500); width: 20px; height: 20px; margin-top: .2rem; }
.academy-features strong { display: block; font-family: var(--sans); font-size: .95rem; font-weight: 600; }
.academy-features span { font-size: .82rem; color: var(--muted); }

.academy-panel { display: grid; gap: 1.4rem; }
.academy-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.course-list {
  background: var(--white); border-radius: var(--r-lg); padding: 1.8rem;
  box-shadow: var(--shadow-md); border: 1px solid rgba(31, 65, 21,.05);
}
.course-item {
  display: flex; align-items: center; gap: 1.1rem; padding: 1rem 0;
  border-top: 1px solid rgba(31, 65, 21,.07);
}
.course-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px; background: var(--sage);
  font-family: var(--mono); font-weight: 500; color: var(--forest); line-height: 1.1; flex-shrink: 0;
}
.course-date strong { font-size: .62rem; color: var(--gold-500); }
.course-badge {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .1em;
  text-transform: uppercase; padding: .35rem .75rem; border-radius: 999px;
  background: rgba(105, 175, 53, 0.1); color: var(--forest);
}

/* =============================================================
   11. REPORTS SECTION (PRESERVED)
   ============================================================= */
.reports { background: var(--ivory); }
.report-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1rem, 1.5vw, 1.35rem); }
.report-card {
  background: rgba(255, 255, 255, 0.86); border-radius: 8px; overflow: hidden;
  box-shadow: 0 18px 44px -34px rgba(8, 22, 13, 0.45); border: 1px solid rgba(31, 65, 21,.08);
  display: flex; flex-direction: column;
  min-height: 100%;
  transition: transform 0.65s var(--e-out), box-shadow 0.65s var(--e-out), border-color 0.45s var(--e-soft);
}
.report-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px -38px rgba(8, 22, 13, 0.6);
  border-color: rgba(164, 112, 46, 0.22);
}
.report-cover {
  aspect-ratio: 4 / 3.15; display: flex; flex-direction: column; justify-content: space-between;
  padding: 1rem; color: rgba(255,255,255,.94); position: relative; overflow: hidden;
  background: var(--forest-900);
  isolation: isolate;
}
.report-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 22, 13, 0.24) 0%, rgba(8, 22, 13, 0.52) 100%),
    radial-gradient(90% 80% at 20% 0%, rgba(214, 160, 92, 0.32), transparent 62%);
}
.report-cover::after {
  content: "";
  position: absolute;
  inset: auto 1rem 1rem auto;
  width: 34%;
  aspect-ratio: 1;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  opacity: 0.55;
}
.report-cover img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transform: scale(1.04);
  transition: transform 0.9s var(--e-out), filter 0.9s var(--e-out);
}
.report-card:hover .report-cover img {
  filter: saturate(1.02) contrast(1.03);
  transform: scale(1.1);
}
.report-cover svg.report-cover-icon { width: 26px; height: 26px; opacity: 0.92; }
.report-cover span {
  align-self: flex-start; font-family: var(--mono); font-size: .64rem;
  letter-spacing: .14em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.32);
  padding: .32rem .68rem; border-radius: 999px;
  background: rgba(8, 22, 13, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cover-green,
.cover-gold,
.cover-charcoal,
.cover-sage,
.cover-green-deep { background: var(--forest-900); }
.report-body { padding: 1.35rem 1.4rem 1.55rem; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.report-cat { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-500); }
.report-body h3 {
  color: var(--char-900);
  line-height: 1.02;
}
.report-body .card-link {
  margin-top: auto;
  padding-top: 0.45rem;
  border-bottom-color: rgba(19, 20, 18, 0.16);
}

/* =============================================================
   12. WHY CHOOSE US SECTION (PRESERVED)
   ============================================================= */
.why { background: linear-gradient(180deg, var(--sage) -40%, var(--ivory) 45%); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.why-item {
  background: var(--white); border-radius: var(--r-lg); padding: 2.2rem 2rem;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(31, 65, 21,.05);
}
.why-icon-wrap {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; background: var(--sage); margin-bottom: 1.3rem;
  color: var(--forest);
}
.why-icon-wrap svg { width: 20px; height: 20px; }
.why-item h3 { font-size: 1.12rem; margin-bottom: .55rem; font-family: var(--serif); }
.why-item p { font-size: .93rem; color: var(--muted); }

/* =============================================================
   13. TESTIMONIALS SECTION (PRESERVED)
   ============================================================= */
.testimonials { background: var(--ivory); }
.testimonials .section-head { text-align: center; margin-inline: auto; }
.quote-slider {
  position: relative; max-width: 860px; margin-inline: auto;
  background: var(--white); border-radius: var(--r-xl); padding: clamp(2.4rem, 5vw, 4rem) clamp(1.6rem, 5vw, 4.5rem) 2.4rem;
  box-shadow: var(--shadow-md); text-align: center;
}
.quote-mark {
  position: absolute; top: -1.6rem; left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-size: 6rem; color: var(--gold-500); height: 3.2rem;
}
.quote-viewport { position: relative; min-height: 220px; overflow: hidden; }
.quote-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease);
  display: flex; flex-direction: column; justify-content: center; gap: 1.6rem;
}
.quote-slide.is-active { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.quote-slide p { font-family: var(--serif); font-size: clamp(1.12rem, 2vw, 1.45rem); color: var(--charcoal); }
.quote-controls { display: flex; align-items: center; justify-content: center; gap: 1.6rem; margin-top: 2rem; }
.quote-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage); color: var(--forest);
}
.quote-btn svg { width: 18px; height: 18px; }
.quote-dots { display: flex; gap: .55rem; align-items: center; }
.quote-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(31, 65, 21,.18); }
.quote-dot.is-active { background: var(--gold-500); transform: scale(1.35); }

/* =============================================================
   14. LATEST NEWS SECTION (PRESERVED)
   ============================================================= */
.news { background: var(--ivory); }
.news-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.6rem; }
.news-feature {
  background: var(--white); border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.news-feature figure { height: 330px; overflow: hidden; }
.news-feature img, .news-card img { width: 100%; height: 100%; object-fit: cover; }
.news-feature .news-body { padding: 2rem 2.2rem 2.2rem; display: flex; flex-direction: column; gap: .85rem; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 1rem; font-size: .8rem; color: var(--muted); }
.news-cat {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--forest); background: var(--sage);
  padding: .32rem .8rem; border-radius: 999px;
}
.news-side { display: grid; gap: 1.6rem; }
.news-card {
  background: var(--white); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 42% 1fr;
}
.news-card figure { min-height: 170px; }
.news-card .news-body { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; }

/* =============================================================
   15. CLOSING CTA (NEW INVITATION SECTION)
   ============================================================= */
.closing {
  position: relative;
  min-height: 85svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--forest-950);
}
.closing__bg { position: absolute; inset: 0; z-index: -2; }
.closing__bg img { width: 100%; height: 100%; object-fit: cover; }
.closing__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 22, 13, 0.86), rgba(8, 22, 13, 0.62) 40%, rgba(8, 22, 13, 0.9)),
    radial-gradient(70% 60% at 50% 50%, rgba(196, 135, 60, 0.14), transparent 70%);
}
.closing__inner { display: grid; justify-items: center; text-align: center; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); padding-block: clamp(5rem, 12vh, 9rem); }
.closing__title { color: var(--ivory); max-width: 22ch; }
.closing__sub { color: rgba(248, 245, 238, 0.72); max-width: 52ch; margin-inline: auto; }
.closing__acts { display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; }
.closing .btn--ghost {
  --btn-fg: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.closing__strip { display: flex; gap: clamp(1.5rem, 4vw, 4rem); flex-wrap: wrap; justify-content: center; padding-top: clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(1rem, 2vw, 2rem); border-top: 1px solid rgba(248, 245, 238, 0.16); width: min(100%, 900px); }
.closing__strip div { display: grid; gap: 0.25rem; text-align: center; }
.closing__strip b { font-family: var(--mono); font-size: var(--fs-sm); color: var(--ivory); letter-spacing: 0.02em; }
.closing__strip span { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(248, 245, 238, 0.5); }

/* =============================================================
   16. FOOTER (NEW EDITORIAL FOOTER)
   ============================================================= */
.footer { background: var(--char-900); color: var(--ivory); padding-top: clamp(3.5rem, 3rem + 4vw, 6.5rem); }
.footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 0.5rem + 1.6vw, 2.5rem); row-gap: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.footer__brand { grid-column: 1 / 5; display: grid; gap: 1.4rem; align-content: start; }
.footer__brand p { font-size: var(--fs-sm); color: rgba(248, 245, 238, 0.58); max-width: 32ch; line-height: 1.7; }
.footer__col { grid-column: span 2; display: grid; gap: 0.95rem; align-content: start; }
.footer__col h5 { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(248, 245, 238, 0.42); font-weight: 500; }
.footer__col a { font-size: var(--fs-sm); color: rgba(248, 245, 238, 0.74); transition: color 0.4s var(--e-soft), transform 0.4s var(--e-out); display: inline-block; }
.footer__col a:hover { color: var(--gold-400); transform: translateX(3px); }
.footer__news { grid-column: 10 / 13; display: grid; gap: 1rem; align-content: start; }
.footer__news h5 { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(248, 245, 238, 0.42); font-weight: 500; }
.footer__field { position: relative; display: flex; align-items: center; border-bottom: 1px solid var(--hair-inv); }
.footer__field input { flex: 1; background: none; border: 0; padding: 0.75rem 0; font-size: var(--fs-sm); color: var(--ivory); outline: none; }
.footer__field input::placeholder { color: rgba(248, 245, 238, 0.34); }
.footer__field button { width: 34px; height: 34px; display: grid; place-items: center; color: var(--gold-400); }

.footer__legal { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-block: clamp(1.25rem, 2vw, 1.75rem); border-top: 1px solid var(--hair-inv); }
.footer__legal p, .footer__legal a { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(248, 245, 238, 0.44); }
.footer__legal a:hover { color: var(--gold-400); }
.footer__legal nav { display: flex; gap: clamp(1rem, 2vw, 2rem); flex-wrap: wrap; }

.footer__wordmark {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.5rem, 1rem + 16vw, 19rem); line-height: 0.78; letter-spacing: -0.05em;
  color: rgba(248, 245, 238, 0.055); text-align: center; padding-bottom: clamp(0.5rem, 1.5vw, 1.5rem);
  user-select: none; white-space: nowrap; overflow: hidden;
}

/* =============================================================
   17. MODAL DIALOGS (QUOTE & YOUTUBE STORY MODAL)
   ============================================================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1.2rem;
  background: rgba(8, 22, 13, .75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }

.modal-card {
  position: relative; width: min(480px, 100%); background: var(--white);
  border-radius: var(--r-xl); padding: 2.6rem 2.4rem; box-shadow: var(--shadow-lg);
  transform: translateY(24px); transition: transform .4s var(--ease);
}
.modal-overlay.is-open .modal-card { transform: translateY(0); }
.modal-close {
  position: absolute; top: 1.1rem; right: 1.1rem; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sage); color: var(--forest);
  transition: background 0.3s, color 0.3s; z-index: 10;
}
.modal-close:hover { background: var(--gold-500); color: var(--forest-950); }

.modal-sub { color: var(--muted); font-size: .93rem; margin-bottom: 1.6rem; }
.modal-card form { display: grid; gap: .9rem; }
.modal-card input, .modal-card textarea {
  border: 1.5px solid rgba(31, 65, 21,.14); border-radius: 14px; padding: .85rem 1.1rem;
  font-size: .95rem; outline: none; background: var(--ivory);
}
.modal-note { font-size: .85rem; color: var(--forest); min-height: 1.2em; }

/* YouTube Story Video Modal Card */
.video-modal-card {
  width: min(900px, 92vw);
  padding: 0;
  background: var(--forest-950);
  overflow: hidden;
  border: 1px solid rgba(248, 245, 238, 0.16);
  box-shadow: 0 30px 60px rgba(8, 22, 13, 0.6);
}
.video-modal-card .modal-close {
  top: 1rem; right: 1rem;
  background: rgba(248, 245, 238, 0.15); color: var(--ivory);
  backdrop-filter: blur(10px);
}
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}
.video-container iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
}

/* =============================================================
   18. PRELOADER & SCROLL REVEALS
   ============================================================= */
body.is-loading { overflow: hidden; }
.preloader {
  position: fixed; inset: 0; z-index: 99999; background: var(--forest-950);
  display: grid; place-items: center; transition: transform 1.2s var(--ease);
}
.preloader.is-loaded { transform: translateY(-100%); }
.preloader-content { display: flex; flex-direction: column; align-items: center; gap: 1.8rem; text-align: center; }
.preloader-eyebrow { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.3em; color: var(--gold-400); }
.preloader-title { font-family: var(--serif); font-size: 2rem; color: var(--white); }
.preloader-progress-wrap { width: 220px; height: 2px; background: rgba(255, 255, 255, 0.08); overflow: hidden; position: relative; }
.preloader-progress-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: var(--gold-400); }
.preloader-counter { font-family: var(--mono); font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.img-reveal { position: relative; overflow: hidden; }
.img-reveal::after {
  content: ''; position: absolute; inset: 0; background: var(--sage);
  transform: translateX(0); transition: transform 1.1s var(--ease) .15s; z-index: 2;
}
.img-reveal.is-visible::after { transform: translateX(101%); }

/* =============================================================
   19. RESPONSIVE MEDIA QUERIES
   ============================================================= */
@media (max-width: 1024px) {
  .hero__top { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media-sticky-wrapper { position: static; }
  .about-media img { height: 420px; }
  .chain { overflow: clip; }
  .chain__wrap { grid-template-columns: 1fr; }
  .chain__rail { position: static; }
  .chain__rail .display {
    max-width: 11ch;
    font-size: clamp(2.15rem, 6.2vw, 3.25rem);
  }
  .chain__list {
    position: sticky;
    top: 65px;
    z-index: 10;
    background: var(--forest-950);
    display: flex;
    overflow-x: auto;
    border-bottom: 1px solid var(--hair-inv);
    padding-bottom: 1rem;
    padding-top: 0.5rem;
    scrollbar-width: none; /* Hide scrollbars in Firefox */
  }
  .chain__list::before,
  .chain__list::after {
    content: "";
    position: sticky;
    top: 0;
    z-index: 2;
    width: 2rem;
    flex: 0 0 2rem;
    pointer-events: none;
  }
  .chain__list::before {
    left: 0;
    margin-left: -1px;
    background: linear-gradient(90deg, var(--forest-950), rgba(8, 22, 13, 0));
  }
  .chain__list::after {
    right: 0;
    margin-right: -1px;
    background: linear-gradient(270deg, var(--forest-950), rgba(8, 22, 13, 0));
  }
  .chain__list::-webkit-scrollbar {
    display: none; /* Hide scrollbars in Chrome/Safari */
  }
  .chain__tab {
    flex: 0 0 auto;
    padding: 0.75rem 1.25rem;
    border-bottom: 2px solid transparent;
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s var(--e-out);
  }
  .chain__tab:hover { padding-left: 1.25rem; }
  .chain__tab.is-live {
    border-bottom-color: var(--gold-400);
    color: var(--ivory);
  }
  .chain__tab .t {
    font-size: 0.95rem;
  }
  .chain__panes { margin-top: 2.5rem; }
  .chain__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--hair-inv);
  }
  .chain__meta b { font-size: 1.35rem; }
  .chain__meta span { font-size: 0.68rem; line-height: 1.3; }

  .footer__brand { grid-column: 1 / 13; }
  .footer__col { grid-column: span 4; }
  .footer__news { grid-column: 1 / 13; }
  .impact-grid, .partner-grid, .why-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .report-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 880px) {
  .site-nav {
    padding: 0.85rem 0;
  }
  .site-nav.is-scrolled {
    padding: 0.55rem 0;
  }
  .nav-inner {
    width: min(100% - 2rem, var(--container));
    gap: 1rem;
  }
  .brand-image {
    width: clamp(76px, 22vw, 96px);
  }
  .nav-actions {
    gap: 0.65rem;
  }
  .btn-nav {
    display: none;
  }
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 100svh;
    padding: clamp(6.5rem, 16vh, 8.5rem) clamp(1.15rem, 6vw, 2rem) clamp(2rem, 8vh, 3.5rem);
    background:
      linear-gradient(150deg, rgba(5, 18, 10, 0.98) 0%, rgba(8, 34, 18, 0.985) 46%, rgba(4, 13, 7, 0.995) 100%),
      radial-gradient(circle at 18% 14%, rgba(214, 160, 92, 0.23), rgba(214, 160, 92, 0) 30%),
      radial-gradient(circle at 82% 76%, rgba(105, 175, 53, 0.14), rgba(105, 175, 53, 0) 34%);
    backdrop-filter: blur(24px) saturate(1.25);
    -webkit-backdrop-filter: blur(24px) saturate(1.25);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-18px) scale(1.015);
    transition: opacity 0.5s var(--e-out), transform 0.5s var(--e-out);
    overflow-y: auto;
    counter-reset: mobile-nav;
    isolation: isolate;
  }
  .nav-links::before {
    content: "ADES FARMS";
    position: absolute;
    left: clamp(1.15rem, 6vw, 2rem);
    top: clamp(5.2rem, 13vh, 6.8rem);
    z-index: 0;
    max-width: 7ch;
    font-family: var(--serif);
    font-size: clamp(4.2rem, 20vw, 7.5rem);
    font-weight: 200;
    line-height: 0.82;
    letter-spacing: 0;
    color: rgba(248, 245, 238, 0.035);
    pointer-events: none;
  }
  .nav-links::after {
    content: "";
    position: absolute;
    inset: clamp(5.8rem, 14vh, 7.4rem) clamp(1rem, 5vw, 1.6rem) clamp(1.25rem, 6vh, 2rem);
    z-index: 0;
    border: 1px solid rgba(248, 245, 238, 0.1);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(248, 245, 238, 0.045), rgba(248, 245, 238, 0.015));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 80px rgba(0, 0, 0, 0.28);
    pointer-events: none;
  }
  .nav-links.is-open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
  .nav-links a {
    counter-increment: mobile-nav;
    width: min(100%, 440px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 2.2rem minmax(0, 1fr) 1.8rem;
    align-items: center;
    gap: 0.8rem;
    min-height: clamp(3.85rem, 11vh, 4.75rem);
    font-family: var(--serif);
    font-size: clamp(1.55rem, 7.8vw, 2.45rem);
    font-weight: 300;
    line-height: 1;
    color: var(--ivory);
    opacity: 0;
    transform: translateY(22px);
    border: 0 !important;
    border-radius: 0;
    background: linear-gradient(90deg, rgba(248, 245, 238, 0.08), rgba(248, 245, 238, 0)) !important;
    padding: 0.85rem clamp(0.85rem, 4vw, 1.15rem);
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: opacity 0.58s var(--e-out), transform 0.58s var(--e-out), color 0.35s var(--e-soft), background 0.35s var(--e-soft);
  }
  .nav-links a::before {
    content: counter(mobile-nav, decimal-leading-zero);
    font-family: var(--mono);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--gold-400);
    opacity: 0.78;
  }
  .nav-links a::after {
    content: "\2192";
    justify-self: end;
    color: var(--gold-400);
    font-family: var(--serif);
    font-size: clamp(1.35rem, 6vw, 2rem);
    line-height: 1;
    opacity: 0.68;
    transition: transform 0.35s var(--e-out), opacity 0.35s var(--e-out);
  }
  .nav-links a:hover,
  .nav-links a.is-active,
  .nav-links a[aria-current="page"] {
    color: var(--white);
    background: linear-gradient(90deg, rgba(214, 160, 92, 0.18), rgba(214, 160, 92, 0.025)) !important;
  }
  .nav-links a:hover::after { transform: translateX(4px); opacity: 1; }
  .nav-links.is-open a { opacity: 1; transform: translateY(0); }
  
  .nav-links.is-open a:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.is-open a:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.is-open a:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.is-open a:nth-child(4) { transition-delay: 0.25s; }
  .nav-links.is-open a:nth-child(5) { transition-delay: 0.3s; }
  .nav-links.is-open a:nth-child(6) { transition-delay: 0.35s; }

  .nav-toggle { display: flex; }
  .academy-grid, .news-grid { grid-template-columns: 1fr; }
  
  /* Homepage Hero Responsiveness */
  .hero__top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: start;
  }
  .hero__aside {
    max-width: 100%;
    padding-bottom: 0;
  }
  .hero__inner {
    padding-block: clamp(6.5rem, 15vh, 8.5rem) clamp(1.5rem, 3vh, 2.5rem);
  }
}

@media (max-width: 640px) {
  .chain {
    max-width: 100%;
    overflow-x: hidden;
    padding-block: clamp(4.5rem, 18vw, 7rem);
  }
  .chain .shell {
    width: 100%;
    max-width: 100%;
    padding-inline: clamp(1rem, 5vw, 1.35rem);
  }
  .chain__wrap {
    display: block;
    width: 100%;
  }
  .chain__rail {
    width: 100%;
  }
  .chain__rail .eyebrow {
    gap: 0.6rem;
    letter-spacing: 0.16em;
  }
  .chain__rail .display {
    max-width: 12ch;
    font-size: clamp(2.15rem, 12vw, 3.1rem);
    margin-top: 0.9rem !important;
    line-height: 0.98;
  }
  .chain__list {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    width: 100%;
    margin: 1.6rem 0 0;
    padding: 0;
    border-top: 1px solid rgba(248, 245, 238, 0.08);
    border-bottom: 0;
    background: transparent;
    overflow: visible;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding-top: 1rem;
  }
  .chain__list::before,
  .chain__list::after {
    display: none;
  }
  .chain__tab {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    justify-content: flex-start;
    padding: 0.75rem 0.8rem;
    border: 1px solid rgba(248, 245, 238, 0.12);
    border-radius: 8px;
    background: rgba(248, 245, 238, 0.035);
    color: rgba(248, 245, 238, 0.66);
  }
  .chain__tab:hover { padding-left: 0.8rem; }
  .chain__tab.is-live {
    border-color: rgba(214, 160, 92, 0.9);
    background: rgba(214, 160, 92, 0.14);
  }
  .chain__tab .n {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }
  .chain__tab .t {
    max-width: none;
    font-family: var(--sans);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
  .chain__panes {
    width: 100%;
    gap: 2rem;
    margin-top: 2.15rem;
  }
  .chain__pane {
    width: 100%;
    gap: 1rem;
    padding: 0 0 2rem;
    border-bottom: 1px solid rgba(248, 245, 238, 0.12);
  }
  .chain__pane:last-child { border-bottom: 0; padding-bottom: 0; }
  .chain__pane .media {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
  }
  .chain__pane h3 {
    font-size: clamp(1.85rem, 10vw, 2.45rem);
    line-height: 1;
  }
  .chain__pane p {
    max-width: none;
    font-size: 0.95rem;
    line-height: 1.65;
  }
  .chain__meta {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding-top: 0.9rem;
  }
  .chain__meta div {
    grid-template-columns: minmax(4.75rem, auto) 1fr;
    align-items: baseline;
    gap: 0.9rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(248, 245, 238, 0.08);
  }
  .chain__meta div:last-child { border-bottom: 0; }
  .chain__meta b {
    font-size: 1.3rem;
    line-height: 1;
  }
  .chain__meta span {
    font-size: 0.62rem;
    letter-spacing: 0.13em;
  }
  .footer__col { grid-column: span 6; }
  .closing__strip { flex-direction: column; gap: 1rem; }
  .hero__cues { width: 100%; justify-content: space-between; }
  .impact-grid, .partner-grid, .why-grid, .product-grid, .report-grid { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 1fr; }

  .modal-overlay { padding: 0.5rem; }
  .video-modal-card {
    width: 100%;
    border-radius: 12px;
    border: none;
    overflow: visible;
  }
  .video-modal-card .modal-close {
    position: absolute;
    top: -50px;
    right: 5px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
  }
}

@media (max-width: 480px) {
  .chain__rail .display { font-size: clamp(2rem, 11vw, 2.65rem); }
  .chain__tab { padding-inline: 0.75rem; }
  .chain__tab .t { font-size: 0.72rem; }
  .chain__pane .media { aspect-ratio: 1 / 0.78; }
  .chain__meta b { font-size: 1.15rem; }
  .chain__meta span { font-size: 0.6rem; }
}
