/* ========================================================================
   FELAHA — Sustainable Development
   Editorial · Infrastructure-tech
   ======================================================================== */

:root {
  /* Primary — Earth & Growth */
  --forest:     #1F4D2C;
  --forest-deep:#143420;
  --moss:       #3E7B47;
  --leaf:       #7FB069;
  --leaf-soft:  #c8dfb6;

  /* Water */
  --deep-blue:  #0A3D62;
  --water:      #1C7293;
  --sky:        #B8DCE6;
  --sky-soft:   #e6f1f5;

  /* Earth */
  --sand:       #E8DCC4;
  --sand-soft:  #f1e8d4;
  --clay:       #C97B4C;
  --sun:        #F2A93B;
  --sun-deep:   #d99428;

  /* Neutrals */
  --ink:        #0F1B14;
  --ink-soft:   #2c3a30;
  --paper:      #FAF8F3;
  --paper-warm: #f3efe4;
  --stone:      #6B7B6E;
  --stone-light:#a8b3a9;
  --line:       #e2ddcf;
  --line-dark:  rgba(255,255,255,.12);

  --maxw: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-head:    "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }

/* ---------- Layout primitives ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }

.section-dark { background: var(--forest-deep); color: var(--paper); }
.section-forest { background: var(--forest); color: var(--paper); }
.section-paper { background: var(--paper); color: var(--ink); }
.section-warm { background: var(--paper-warm); color: var(--ink); }
.section-sand { background: var(--sand-soft); color: var(--ink); }
.section-ink { background: var(--ink); color: var(--paper); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--moss);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.section-dark .eyebrow,
.section-forest .eyebrow,
.section-ink .eyebrow { color: var(--leaf); }

.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0;
}
.display-xl { font-size: clamp(2.5rem, 7vw, 5.75rem); }
.display-lg { font-size: clamp(2.25rem, 5.5vw, 4.5rem); }
.display-md { font-size: clamp(1.875rem, 4vw, 3.25rem); }
.display-sm { font-size: clamp(1.5rem, 3vw, 2.25rem); }

.h-sub {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  text-wrap: pretty;
  max-width: 56ch;
}
.section-dark .h-sub,
.section-forest .h-sub,
.section-ink .h-sub { color: var(--sky); }

.lead {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
  text-wrap: pretty;
}
.section-dark .lead,
.section-forest .lead,
.section-ink .lead { color: rgba(250,248,243,.78); }

.serif {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}
.tabnum { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  border-radius: 2px;
  transition: transform .22s cubic-bezier(0.22,1,0.36,1), background .22s, color .22s, border-color .22s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--sun);
  color: var(--ink);
}
.btn-primary:hover { background: var(--sun-deep); }
.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.section-paper .btn-ghost:hover,
.section-warm .btn-ghost:hover { background: rgba(15,27,20,.05); }
.btn-link {
  padding: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  position: relative;
}
.btn-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -4px;
  height: 1px;
  background: currentColor;
  transition: right .3s cubic-bezier(0.22,1,0.36,1);
}
.btn-link:hover::after { right: 30%; }

.arrow { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(20, 52, 32, 0.78);
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: var(--paper);
}
.site-header.is-light {
  background: rgba(250, 248, 243, 0.85);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 20px;
  padding-bottom: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand img { height: 76px; width: auto; }
.brand-mark {
  height: 80px;
  width: 80px;
  display: grid;
  place-items: center;
}
.brand-mark img { height: 76px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-weight: 700; letter-spacing: 0.06em; font-size: 22px; }
.brand-text span {
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 6px;
}
.nav { display: flex; gap: 28px; font-family: var(--font-head); font-size: 14px; font-weight: 500; }
.nav a { opacity: .82; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.nav a.is-active { opacity: 1; }
.nav a.is-active::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--sun);
  margin-top: 4px;
}
.nav-cta {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  background: var(--sun);
  color: var(--ink);
  border-radius: 2px;
  transition: background .2s;
}
.nav-cta:hover { background: var(--sun-deep); }
.menu-btn { display: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-family: var(--font-head); font-weight: 600; }
  .nav-cta { display: none; }

  /* Open state — full-width dropdown panel */
  .site-header.menu-open .wrap { flex-wrap: wrap; }
  .site-header.menu-open .nav {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    gap: 0;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid currentColor;
    border-color: rgba(255,255,255,.12);
  }
  .site-header.is-light.menu-open .nav { border-color: var(--line); }
  .site-header.menu-open .nav a {
    padding: 14px 4px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .site-header.is-light.menu-open .nav a { border-bottom-color: var(--line); }
  .site-header.menu-open .nav a:last-child { border-bottom: 0; }
  .site-header.menu-open .nav-cta {
    display: inline-flex;
    flex-basis: 100%;
    justify-content: center;
    margin-top: 1rem;
    padding: 12px 16px;
    font-size: 14px;
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: start;
  color: var(--paper);
  overflow: hidden;
  background: var(--forest-deep);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, rgba(20,52,32,.55) 0%, rgba(20,52,32,.65) 40%, rgba(15,27,20,.92) 100%),
    url("img/oasis-aerial.jpg");
  background-size: cover;
  background-position: center 35%;
  animation: kenburns 28s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0% { transform: scale(1.05) translate(0,0); }
  100% { transform: scale(1.15) translate(-2%,1%); }
}
.hero-topo {
  position: absolute; inset: 0;
  opacity: .22;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(7rem, 11vw, 9rem);
}
.hero-eyebrow {
  color: var(--leaf-soft);
  margin-bottom: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(242,169,59,.18);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(2.5rem, 7.5vw, 6.25rem);
  line-height: 1;
  letter-spacing: -0.028em;
  margin: 0 0 1.75rem;
  text-wrap: balance;
  max-width: 18ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--leaf);
}
.hero-sub {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.5;
  max-width: 52ch;
  color: rgba(250,248,243,.85);
  margin: 0 0 2.5rem;
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-meta {
  position: absolute;
  right: var(--gutter);
  bottom: 6.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(250,248,243,.55);
  text-align: right;
  letter-spacing: 0.04em;
  display: none;
}
@media (min-width: 960px) { .hero-meta { display: block; } }

/* Live counter bar at hero bottom */
.live-bar {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: rgba(15,27,20,.78);
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--paper);
  padding: 18px 0;
  backdrop-filter: blur(8px);
}
.live-bar-inner {
  display: grid;
  grid-template-columns: auto repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
  font-family: var(--font-head);
  font-size: 13px;
}
.live-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--leaf);
  font-weight: 600;
}
.live-tag::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--leaf);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .25; } }
.live-item .label {
  color: rgba(250,248,243,.55);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.live-item .value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.6vw, 1.55rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin-top: 2px;
}
.live-item .value small {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 500;
  opacity: .7;
  margin-left: 4px;
}
@media (max-width: 860px) {
  .live-bar-inner { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .live-tag { grid-column: 1 / -1; }
}

/* ---------- Crisis stats (3 large numbers) ---------- */
.crisis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.crisis-cell {
  padding: clamp(2rem, 4vw, 4rem) clamp(1.25rem, 2.5vw, 2.5rem);
  border-right: 1px solid var(--line);
  position: relative;
}
.crisis-cell:last-child { border-right: 0; }
.crisis-cell .num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--forest);
  font-variant-numeric: tabular-nums;
}
.crisis-cell .num .unit {
  font-size: 0.42em;
  vertical-align: super;
  color: var(--clay);
  font-style: italic;
  margin-left: 4px;
}
.crisis-cell .cap {
  margin-top: 1.5rem;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--stone);
}
.crisis-cell .desc {
  margin-top: .75rem;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 30ch;
}
@media (max-width: 860px) {
  .crisis-grid { grid-template-columns: 1fr; }
  .crisis-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .crisis-cell:last-child { border-bottom: 0; }
}

/* ---------- Two-column header rows ---------- */
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.row2.center { align-items: center; }
@media (max-width: 860px) { .row2 { grid-template-columns: 1fr; } }

/* ---------- ZLD water cycle diagram ---------- */
.zld {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  background: linear-gradient(180deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 100%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 28px;
  overflow: hidden;
}

/* ---------- At-a-glance grid ---------- */
.glance {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.glance-tile {
  background: var(--paper);
  padding: clamp(1.5rem, 2.5vw, 2.25rem) clamp(1rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background .2s;
}
.glance-tile:hover { background: var(--paper-warm); }
.glance-tile .v {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--forest);
  font-variant-numeric: tabular-nums;
}
.glance-tile .v small {
  font-family: var(--font-head);
  font-size: 0.42em;
  vertical-align: super;
  color: var(--moss);
  font-weight: 500;
  margin-left: 2px;
  font-style: italic;
}
.glance-tile .l {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--stone);
  margin-top: auto;
}
@media (max-width: 1100px) { .glance { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 580px)  { .glance { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Al Batinah map block ---------- */
.map-wrap {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #0c1d2c;
}
.map-img {
  width: 100%;
  display: block;
  filter: saturate(.92) contrast(1.05);
}
.map-legend {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(15,27,20,.82);
  backdrop-filter: blur(12px);
  color: var(--paper);
  padding: 14px 18px;
  border-radius: 4px;
  font-family: var(--font-head);
  font-size: 12px;
  line-height: 1.5;
  border-left: 3px solid var(--sun);
  max-width: 260px;
}
.map-legend strong { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sun); margin-bottom: 6px; }

.map-stats {
  position: absolute;
  top: 20px; right: 20px;
  display: flex; gap: 0;
  background: rgba(15,27,20,.78);
  backdrop-filter: blur(12px);
  border-radius: 4px;
  overflow: hidden;
}
.map-stat {
  padding: 10px 16px;
  color: var(--paper);
  border-right: 1px solid rgba(255,255,255,.1);
}
.map-stat:last-child { border-right: 0; }
.map-stat .n {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.map-stat .ll {
  font-family: var(--font-head);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250,248,243,.6);
  margin-top: 4px;
}
@media (max-width: 700px) {
  .map-stats { position: static; border-radius: 0; }
  .map-legend { position: static; max-width: 100%; margin-top: -1px; }
}

/* ---------- Pillar list ---------- */
.pillar-list { list-style: none; padding: 0; margin: 0; }
.pillar-list li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.pillar-list li:last-child { border-bottom: 0; }
.pillar-list .pn {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: var(--moss);
  line-height: 1;
}
.pillar-list h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 0 0 .25rem;
}
.pillar-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  max-width: 52ch;
}

/* ---------- Journey timeline (horizontal) ---------- */
.journey { position: relative; padding-top: 1rem; }

/* Year-axis decorative rail */
.journey-axis {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
}
.journey-axis-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(127,176,105,.4) 8%, rgba(127,176,105,.4) 92%, transparent 100%);
  position: relative;
}
.journey-axis-line::before, .journey-axis-line::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--leaf);
}
.journey-axis-line::before { left: 0; }
.journey-axis-line::after { right: 0; background: var(--sun); }
.journey-axis-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(250,248,243,.5);
  letter-spacing: 0.1em;
}
.journey-nav { display: flex; gap: 8px; }
.journey-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  display: grid;
  place-items: center;
  color: var(--paper);
  transition: background .2s, border-color .2s, transform .2s;
}
.journey-btn:hover:not(:disabled) {
  background: var(--sun);
  border-color: var(--sun);
  color: var(--ink);
}
.journey-btn:disabled { opacity: .3; cursor: not-allowed; }
.journey-btn svg { width: 16px; height: 16px; }

.journey-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 0;
  overflow-x: auto;
  padding-bottom: 2rem;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
.journey-track::-webkit-scrollbar { display: none; }
.journey-step {
  position: relative;
  scroll-snap-align: start;
  padding: 2rem 1.75rem 0 1.75rem;
  border-left: 1px solid rgba(255,255,255,.08);
  transition: background .3s;
}
.journey-step:first-child { border-left: 0; padding-left: 0; }
.journey-step:hover { background: rgba(255,255,255,.02); }
.journey-step::before {
  content: "";
  position: absolute;
  left: -5px; top: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(242,169,59,.15);
}
.journey-step:first-child::before { left: -5px; }
.journey-step .tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sun);
  font-weight: 600;
  margin-bottom: .5rem;
}
.journey-step .yr {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--leaf);
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
}
.journey-step h5 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 .5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--paper);
}
.journey-step p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(250,248,243,.65);
  margin: 0;
  max-width: 34ch;
}
.journey-step.is-future .yr { color: rgba(127,176,105,.55); }
.journey-step.is-future::before { background: transparent; border: 1.5px dashed var(--sun); }

/* ---------- CTA block ---------- */
.cta-block {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  background: var(--ink);
  color: var(--paper);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--sun);
}
.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(242,169,59,.18) 0%, transparent 50%);
  pointer-events: none;
}
.cta-block h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  text-wrap: balance;
  position: relative;
}
.cta-block .sub {
  color: rgba(250,248,243,.7);
  font-size: 16px;
  max-width: 44ch;
  position: relative;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  position: relative;
  justify-content: center;
}
.cta-actions .btn { width: 100%; justify-content: space-between; }
@media (max-width: 760px) {
  .cta-block { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h6 {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--leaf);
  margin: 0 0 1.25rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: .35rem 0; font-size: 14px; opacity: .8; }
.footer ul li a:hover { opacity: 1; color: var(--leaf-soft); }
.footer .brand-line {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.footer .mission {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(250,248,243,.7);
  max-width: 36ch;
}
.footer-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; font-family: var(--font-head);
  font-size: 12px; color: rgba(250,248,243,.5);
  gap: 1rem; flex-wrap: wrap;
}

.newsletter {
  display: flex;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 2px;
  overflow: hidden;
  margin-top: .5rem;
}
.newsletter input {
  background: transparent;
  border: 0;
  padding: 12px 14px;
  color: var(--paper);
  font: inherit;
  flex: 1;
  outline: none;
}
.newsletter input::placeholder { color: rgba(250,248,243,.4); }
.newsletter button {
  background: var(--sun);
  color: var(--ink);
  padding: 0 18px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
}
.newsletter button:hover { background: var(--sun-deep); }

/* ---------- Half-bleed image rows ---------- */
.bleed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
  align-items: stretch;
}
.bleed.flip > :first-child { order: 2; }
.bleed-img {
  background-size: cover;
  background-position: center;
  min-height: 380px;
}
.bleed-content {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 860px) {
  .bleed { grid-template-columns: 1fr; }
  .bleed.flip > :first-child { order: 0; }
}

/* ---------- Quote ---------- */
.pullquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--paper);
  max-width: 22ch;
}
.pullquote-source {
  margin-top: 2rem;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--leaf);
  font-weight: 600;
}

/* ---------- Topo SVG ---------- */
.topo-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .04;
  pointer-events: none;
  z-index: 0;
}
.section-dark .topo-pattern,
.section-forest .topo-pattern,
.section-ink .topo-pattern { opacity: .08; }

/* ---------- Crops cards ---------- */
.crops-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.crop-card {
  background: var(--paper);
  padding: 2rem 1.75rem;
}
.crop-card .nm {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  margin: 0 0 .25rem;
  letter-spacing: -0.02em;
  color: var(--forest);
}
.crop-card .lat {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--stone);
  margin-bottom: 1.25rem;
  display: block;
}
.crop-card dl { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; margin: 0; font-size: 13px; }
.crop-card dt { color: var(--stone); font-family: var(--font-head); }
.crop-card dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.crop-card .margin {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.crop-card .margin .mn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: var(--moss);
  line-height: 1;
}
.crop-card .margin .ml {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: .25rem;
}
@media (max-width: 900px) { .crops-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .crops-row { grid-template-columns: 1fr; } }

/* ---------- Page header (sub-pages) ---------- */
.page-header {
  padding-top: 8rem;
  padding-bottom: 4rem;
  background: var(--forest-deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.page-header .crumbs {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 2rem;
  font-weight: 600;
}
.page-header .crumbs a { opacity: .7; }
.page-header .crumbs a:hover { opacity: 1; }
.page-header .crumbs span { margin: 0 .75rem; opacity: .4; }

/* ---------- Helper utils ---------- */
.muted { color: var(--stone); }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-4 { margin-top: 4rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.grid-2 { display:grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display:grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display:grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
@media (max-width: 800px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Card list (used on sub-pages) */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
}
.spec-table thead th {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--stone); font-weight: 600;
  background: var(--paper-warm);
}
.spec-table tbody th { font-weight: 600; }
.spec-table tbody td { font-variant-numeric: tabular-nums; }
.spec-table tbody tr:hover { background: var(--paper-warm); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
