/* ═══════════════════════════════════════════════════════════
   TANZANIA PHARMA · INVESTOR BRIEF
   Editorial Sovereign · Emerald, Cream & Gold
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Palette */
  --emerald-900: #0a2a1f;
  --emerald-800: #11392a;
  --emerald-700: #1e5f4a;
  --emerald-500: #2d8163;
  --emerald-300: #6fb39a;

  --cream-50:  #faf6ec;
  --cream-100: #f4ede0;
  --cream-200: #ece2cf;
  --cream-300: #ddd0b6;

  --gold-600: #b8893d;
  --gold-500: #d4a554;
  --gold-300: #e7c581;

  --ink-900: #0d1714;
  --ink-700: #2a3631;
  --ink-500: #5a6661;
  --ink-300: #8c958f;

  --rust: #b85a3a;
  --sky: #4a8fa8;

  /* Typography */
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-sans: 'Geist', system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', 'JetBrains Mono', monospace;

  /* Spacing */
  --space-section: clamp(5rem, 12vh, 10rem);
  --container: 1320px;
  --container-narrow: 1040px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--cream-50);
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'cv11';
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--emerald-700); color: var(--cream-50); }

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all 0.4s var(--ease);
}
.nav.scrolled {
  padding: 0.75rem 0;
  background: rgba(250, 246, 236, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(10, 42, 31, 0.08);
}
.nav.dark-mode {
  color: var(--cream-50);
}
.nav.dark-mode.scrolled {
  background: rgba(10, 42, 31, 0.85);
  border-bottom: 1px solid rgba(212, 165, 84, 0.15);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--emerald-700);
  color: var(--gold-500);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  box-shadow: inset 0 0 0 1px rgba(212, 165, 84, 0.3);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text > span:first-child {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}
.dark-mode .brand-sub { color: var(--cream-300); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.01em;
  position: relative;
  transition: opacity 0.3s;
  opacity: 0.78;
}
.nav-links a:hover { opacity: 1; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--gold-500);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: var(--emerald-700);
  color: var(--cream-50);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.3s var(--ease);
}
.nav-cta:hover {
  background: var(--emerald-900);
  transform: translateY(-1px);
}
.dark-mode .nav-cta {
  background: var(--gold-500);
  color: var(--emerald-900);
}
.dark-mode .nav-cta:hover {
  background: var(--gold-300);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: currentColor;
  display: block;
  transition: 0.3s;
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--emerald-900);
  color: var(--cream-50);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(212, 165, 84, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 80%, rgba(30, 95, 74, 0.5) 0%, transparent 55%),
    linear-gradient(180deg, #0a2a1f 0%, #0d1714 100%);
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 9rem 2rem 6rem;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(212, 165, 84, 0.4);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 2.5rem;
  background: rgba(10, 42, 31, 0.4);
  backdrop-filter: blur(8px);
}
.hero-tag .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 12px var(--gold-500);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 8.5vw, 8rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin-bottom: 2.5rem;
  font-variation-settings: "opsz" 144;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .italic {
  font-style: italic;
  color: var(--gold-300);
  font-weight: 300;
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 540px;
  color: var(--cream-200);
  line-height: 1.55;
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: all 0.4s var(--ease);
  cursor: pointer;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--emerald-900);
}
.btn-primary:hover {
  background: var(--cream-50);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(212, 165, 84, 0.3);
}
.btn-ghost {
  border: 1px solid rgba(244, 237, 224, 0.3);
  color: var(--cream-50);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(244, 237, 224, 0.6);
}
.btn-dark {
  background: var(--emerald-900);
  color: var(--cream-50);
}
.btn-dark:hover {
  background: var(--ink-900);
  transform: translateY(-2px);
}
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* Hero ticker — bottom bar */
.hero-ticker {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  border-top: 1px solid rgba(212, 165, 84, 0.18);
  background: rgba(10, 42, 31, 0.6);
  backdrop-filter: blur(20px);
  z-index: 3;
}
.ticker-track {
  display: flex;
  gap: 4rem;
  padding: 1.1rem 2rem;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-200);
  white-space: nowrap;
  animation: ticker 60s linear infinite;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 0.6rem; }
.ticker-track span::before {
  content: '◆';
  color: var(--gold-500);
  font-size: 8px;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-meta {
  display: flex;
  gap: 3rem;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-300);
  margin-top: 2rem;
}
.hero-meta div { display: flex; flex-direction: column; gap: 0.4rem; }
.hero-meta strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--cream-50);
  text-transform: none;
  letter-spacing: -0.02em;
}

/* Scroll indicator */
.scroll-cue {
  position: absolute;
  right: 2rem;
  bottom: 5rem;
  z-index: 3;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-300);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.scroll-cue::after {
  content: '';
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold-500), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 768px) {
  .scroll-cue { display: none; }
  .hero-content { padding: 7rem 1.25rem 8rem; }
  .hero-meta { flex-wrap: wrap; gap: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════
   COMMON SECTION SCAFFOLDING
   ═══════════════════════════════════════════════════════════ */
section { position: relative; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold-500);
}
.dark .eyebrow { color: var(--gold-300); }
.dark .eyebrow::before { background: var(--gold-500); }

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144;
}
.section-title em {
  font-style: italic;
  color: var(--emerald-700);
}
.dark .section-title em { color: var(--gold-300); }

.section-lede {
  font-size: 1.05rem;
  color: var(--ink-500);
  max-width: 600px;
  margin-top: 1.5rem;
  line-height: 1.6;
  font-weight: 300;
}
.dark .section-lede { color: var(--cream-200); }

/* Reveal animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   STATS SECTION
   ═══════════════════════════════════════════════════════════ */
.stats {
  background: var(--cream-50);
  border-top: 1px solid var(--cream-200);
  border-bottom: 1px solid var(--cream-200);
  padding: 5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.stats-grid::before, .stats-grid::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--cream-200);
}
.stat {
  padding: 2rem 2rem;
  position: relative;
  border-right: 1px solid var(--cream-200);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  letter-spacing: -0.03em;
  color: var(--emerald-900);
  line-height: 1;
  font-variation-settings: "opsz" 144;
}
.stat-num .unit {
  font-size: 0.55em;
  color: var(--gold-600);
  font-style: italic;
  margin-left: 0.1em;
  font-weight: 400;
}
.stat-label {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
  line-height: 1.5;
}
.stat-source {
  margin-top: 0.6rem;
  font-size: 12px;
  color: var(--ink-700);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--cream-200); }
}
@media (max-width: 540px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--cream-200); }
  .stat:last-child { border-bottom: none; }
}

/* ═══════════════════════════════════════════════════════════
   WHY TANZANIA — Editorial cards
   ═══════════════════════════════════════════════════════════ */
.why {
  background: var(--cream-50);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}
.why-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 5rem;
}
@media (max-width: 900px) {
  .why-header { grid-template-columns: 1fr; gap: 2rem; }
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}
.why-card {
  position: relative;
  background: var(--cream-100);
  border: 1px solid var(--cream-200);
  border-radius: 4px;
  padding: 2.5rem;
  overflow: hidden;
  transition: all 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.why-card:hover {
  background: var(--emerald-900);
  color: var(--cream-50);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(10, 42, 31, 0.15);
}
.why-card:hover .why-num,
.why-card:hover .why-meta { color: var(--gold-300); }
.why-card:hover .why-icon { color: var(--gold-500); }

.why-card.span-7 { grid-column: span 7; }
.why-card.span-5 { grid-column: span 5; }
.why-card.span-4 { grid-column: span 4; }
.why-card.span-8 { grid-column: span 8; }
.why-card.span-6 { grid-column: span 6; }

.why-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-500);
  transition: color 0.5s;
}
.why-icon {
  margin: auto 0 1.5rem;
  color: var(--emerald-700);
  transition: color 0.5s;
}
.why-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}
.why-title em { font-style: italic; color: var(--emerald-700); }
.why-card:hover .why-title em { color: var(--gold-300); }

.why-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-700);
  margin-bottom: 1rem;
  transition: color 0.5s;
}
.why-card:hover .why-text { color: var(--cream-200); }
.why-meta {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--cream-200);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  transition: all 0.5s;
}
.why-card:hover .why-meta { border-top-color: rgba(212, 165, 84, 0.25); }

@media (max-width: 900px) {
  .why-card.span-7, .why-card.span-5, .why-card.span-4, .why-card.span-8, .why-card.span-6 {
    grid-column: span 12;
  }
}

/* ═══════════════════════════════════════════════════════════
   MARKET OPPORTUNITY — chart section (dark)
   ═══════════════════════════════════════════════════════════ */
.market {
  background: var(--emerald-900);
  color: var(--cream-50);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
  position: relative;
  overflow: hidden;
}
.market::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 165, 84, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.market-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 5rem;
}
.market-header h2 { color: var(--cream-50); }
.market-header p { color: var(--cream-200); }

@media (max-width: 900px) {
  .market-header { grid-template-columns: 1fr; }
}

.market-chart-wrap {
  background: rgba(244, 237, 224, 0.04);
  border: 1px solid rgba(212, 165, 84, 0.18);
  border-radius: 4px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.market-chart {
  width: 100%;
  height: 460px;
}

.market-chart-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(212, 165, 84, 0.18);
}
.chart-meta-item {
  padding-right: 1.5rem;
  border-right: 1px solid rgba(212, 165, 84, 0.12);
}
.chart-meta-item:last-child { border-right: none; }
.chart-meta-item .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-300);
  margin-bottom: 0.6rem;
}
.chart-meta-item .value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
}
.chart-meta-item .delta {
  font-size: 11.5px;
  color: var(--gold-300);
  margin-top: 0.4rem;
  font-family: var(--font-mono);
}

.legend {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.legend-item { display: flex; align-items: center; gap: 0.5rem; color: var(--cream-200); }
.swatch { width: 12px; height: 12px; border-radius: 2px; }
.swatch.public { background: var(--emerald-500); }
.swatch.private { background: var(--gold-500); }
.swatch.uhi { background: transparent; border: 1px dashed var(--cream-200); border-radius: 50%; }

@media (max-width: 768px) {
  .market-chart-wrap { padding: 1.5rem; }
  .market-chart-meta { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .chart-meta-item { border-right: none; padding-right: 0; }
}

/* ═══════════════════════════════════════════════════════════
   INVESTMENT OPPORTUNITIES
   ═══════════════════════════════════════════════════════════ */
.opportunities {
  background: var(--cream-50);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}
.opp-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (max-width: 900px) { .opp-header { grid-template-columns: 1fr; } }

.opp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .opp-grid { grid-template-columns: 1fr; } }
@media (min-width: 900px) and (max-width: 1100px) { .opp-grid { grid-template-columns: repeat(2, 1fr); } }

.opp-card {
  position: relative;
  background: var(--cream-100);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s var(--ease);
  border: 1px solid var(--cream-200);
}
.opp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(10, 42, 31, 0.12);
}
.opp-visual {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: var(--emerald-900);
}
.opp-visual svg {
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease);
}
.opp-card:hover .opp-visual svg { transform: scale(1.06); }

.opp-tier {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.65rem;
  background: rgba(10, 42, 31, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 165, 84, 0.4);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-300);
  z-index: 2;
}
.opp-body {
  padding: 1.75rem;
}
.opp-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.opp-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-500);
  margin-bottom: 1.5rem;
  min-height: 64px;
}
.opp-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-200);
}
.opp-cap {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--emerald-700);
  font-weight: 500;
}
.opp-arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--emerald-700);
  color: var(--cream-50);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
}
.opp-card:hover .opp-arrow {
  background: var(--gold-500);
  color: var(--emerald-900);
  transform: rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════
   ECOSYSTEM
   ═══════════════════════════════════════════════════════════ */
.ecosystem {
  background: var(--ink-900);
  color: var(--cream-50);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
  position: relative;
  overflow: hidden;
}
.ecosystem::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 165, 84, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 165, 84, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.ecosystem-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}
.ecosystem-header h2 { color: var(--cream-50); }
.ecosystem-header .eyebrow { color: var(--gold-300); justify-content: center; }
.ecosystem-header p { color: var(--cream-200); margin-left: auto; margin-right: auto; }

.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  margin-bottom: 4rem;
}
@media (max-width: 900px) { .eco-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .eco-grid { grid-template-columns: 1fr; } }

.eco-card {
  background: rgba(244, 237, 224, 0.03);
  border: 1px solid rgba(212, 165, 84, 0.15);
  border-radius: 4px;
  padding: 2rem 1.75rem;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.eco-card:hover {
  background: rgba(212, 165, 84, 0.06);
  border-color: var(--gold-500);
  transform: translateY(-4px);
}

.eco-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--emerald-700) 0%, var(--emerald-500) 100%);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--gold-300);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  border: 1px solid rgba(212, 165, 84, 0.25);
}
.eco-card:nth-child(2) .eco-logo { background: linear-gradient(135deg, #2d5a82 0%, #4a8fa8 100%); }
.eco-card:nth-child(3) .eco-logo { background: linear-gradient(135deg, #8a4d22 0%, #b85a3a 100%); }
.eco-card:nth-child(4) .eco-logo { background: linear-gradient(135deg, #1e5f4a 0%, #6fb39a 100%); }

.eco-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.eco-role {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 1rem;
}
.eco-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--cream-200);
  font-weight: 300;
}

/* Green lane callout */
.greenlane {
  background: linear-gradient(135deg, rgba(30, 95, 74, 0.4) 0%, rgba(212, 165, 84, 0.1) 100%);
  border: 1px solid rgba(212, 165, 84, 0.3);
  border-radius: 4px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.greenlane::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.greenlane-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 1rem;
}
.greenlane-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.greenlane-title em { font-style: italic; color: var(--gold-300); }
.greenlane-text {
  color: var(--cream-200);
  line-height: 1.6;
  font-size: 14.5px;
  font-weight: 300;
}

.greenlane-checks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.gl-check {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(10, 42, 31, 0.4);
  border-left: 2px solid var(--gold-500);
  border-radius: 2px;
}
.gl-check svg { flex-shrink: 0; color: var(--gold-500); margin-top: 2px; }
.gl-check span { font-size: 13.5px; color: var(--cream-100); line-height: 1.5; }
.gl-check strong { color: var(--gold-300); font-weight: 500; }

@media (max-width: 900px) {
  .greenlane { grid-template-columns: 1fr; padding: 2rem; }
}

/* ═══════════════════════════════════════════════════════════
   HUBS — Mloganzila & Kibaha
   ═══════════════════════════════════════════════════════════ */
.hubs {
  background: var(--cream-100);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.hubs-header { margin-bottom: 4rem; max-width: 700px; }

.hubs-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
}
@media (max-width: 1024px) { .hubs-grid { grid-template-columns: 1fr; } }

.hubs-map {
  background: var(--emerald-900);
  border-radius: 4px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  color: var(--cream-50);
}
.hubs-map svg { width: 100%; height: auto; }

.map-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-300);
  background: rgba(10, 42, 31, 0.7);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 165, 84, 0.3);
  z-index: 2;
}

.hubs-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}
.hub-item {
  background: var(--cream-50);
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid var(--cream-200);
  transition: all 0.4s var(--ease);
}
.hub-item:hover {
  border-color: var(--emerald-500);
  transform: translateX(6px);
}
.hub-name {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.hub-name .pin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--emerald-900);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 500;
}
.hub-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-500);
  margin-bottom: 1.25rem;
}
.hub-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.feature-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-700);
  background: var(--cream-100);
  border: 1px solid var(--cream-200);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.lab-callout {
  background: var(--emerald-900);
  color: var(--cream-50);
  padding: 2rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.lab-callout::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--gold-500) 0%, transparent 70%);
  opacity: 0.15;
  border-radius: 50%;
  transform: translate(40%, -40%);
}
.lab-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 3.2rem;
  letter-spacing: -0.03em;
  color: var(--gold-300);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variation-settings: "opsz" 144;
}
.lab-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.lab-text {
  font-size: 13.5px;
  color: var(--cream-200);
  line-height: 1.55;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════
   JOURNEY TIMELINE
   ═══════════════════════════════════════════════════════════ */
.journey {
  background: var(--cream-50);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}
.journey-header { margin-bottom: 5rem; max-width: 700px; }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, var(--cream-300) 0%, var(--gold-500) 50%, var(--cream-300) 100%);
}
.step {
  position: relative;
  text-align: center;
  padding: 0 0.5rem;
}
.step-mark {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--cream-50);
  border: 1px solid var(--cream-300);
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--emerald-900);
  position: relative;
  z-index: 2;
  transition: all 0.5s var(--ease);
}
.step:hover .step-mark {
  background: var(--emerald-900);
  border-color: var(--emerald-900);
  color: var(--gold-300);
  transform: scale(1.08);
}
.step-mark::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color 0.5s;
}
.step:hover .step-mark::before {
  border-color: var(--gold-500);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.5rem;
}
.step-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.step-text {
  font-size: 12.5px;
  color: var(--ink-500);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 2rem; }
  .timeline::before { display: none; }
  .step { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 1.25rem; text-align: left; }
  .step-mark { margin: 0; }
}

/* ═══════════════════════════════════════════════════════════
   NEWS / PRESS
   ═══════════════════════════════════════════════════════════ */
.news {
  background: var(--cream-100);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}
.news-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  margin-bottom: 4rem;
}
.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-700);
  border-bottom: 1px solid var(--gold-500);
  padding-bottom: 0.4rem;
  transition: gap 0.3s var(--ease);
}
.news-link:hover { gap: 1rem; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1000px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: var(--cream-50);
  border: 1px solid var(--cream-200);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(10, 42, 31, 0.1);
  border-color: var(--cream-300);
}
.news-img {
  height: 220px;
  position: relative;
  overflow: hidden;
}
.news-img svg, .news-img > div {
  width: 100%; height: 100%;
  transition: transform 0.6s var(--ease);
}
.news-card:hover .news-img svg, .news-card:hover .news-img > div {
  transform: scale(1.05);
}
.news-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-50);
  background: rgba(10, 42, 31, 0.7);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.news-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 1rem;
}
.news-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  flex: 1;
}
.news-excerpt {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-500);
  margin-bottom: 1.25rem;
}
.news-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-200);
}
.news-read {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--emerald-700);
}

/* ═══════════════════════════════════════════════════════════
   GALLERY (preview on home)
   ═══════════════════════════════════════════════════════════ */
.gallery-preview {
  background: var(--cream-50);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}
.gallery-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  margin-bottom: 4rem;
}
.masonry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 140px;
  gap: 1rem;
}
.masonry-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background: var(--emerald-900);
  transition: transform 0.5s var(--ease);
}
.masonry-item:hover { transform: scale(1.02); }
.masonry-item svg { width: 100%; height: 100%; }
.masonry-item .caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(10, 42, 31, 0.85) 0%, transparent 100%);
  color: var(--cream-50);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.masonry-item:hover .caption { opacity: 1; }
.caption-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 0.3rem;
}
.caption-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.m-1 { grid-column: span 5; grid-row: span 3; }
.m-2 { grid-column: span 4; grid-row: span 2; }
.m-3 { grid-column: span 3; grid-row: span 2; }
.m-4 { grid-column: span 4; grid-row: span 2; }
.m-5 { grid-column: span 3; grid-row: span 3; }
.m-6 { grid-column: span 5; grid-row: span 2; }
.m-7 { grid-column: span 4; grid-row: span 2; }

@media (max-width: 900px) {
  .masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .m-1, .m-2, .m-3, .m-4, .m-5, .m-6, .m-7 { grid-column: span 1; grid-row: span 1; }
  .m-1 { grid-column: span 2; grid-row: span 2; }
}

/* ═══════════════════════════════════════════════════════════
   QUOTE / PULL-QUOTE
   ═══════════════════════════════════════════════════════════ */
.quote {
  background: var(--emerald-900);
  color: var(--cream-50);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
.quote::before {
  content: '"';
  position: absolute;
  top: -50px; left: 4%;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28rem;
  font-weight: 300;
  color: rgba(212, 165, 84, 0.07);
  line-height: 1;
  pointer-events: none;
}
.quote-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}
.quote-text {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  font-variation-settings: "opsz" 144;
}
.quote-text em { color: var(--gold-300); font-style: normal; }
.quote-attr {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-200);
}
.quote-attr::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--gold-500);
}

/* ═══════════════════════════════════════════════════════════
   CTA CLOSING
   ═══════════════════════════════════════════════════════════ */
.cta-final {
  background: linear-gradient(135deg, #0a2a1f 0%, #11392a 50%, #0d1714 100%);
  color: var(--cream-50);
  padding: var(--space-section) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(212, 165, 84, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(30, 95, 74, 0.4) 0%, transparent 50%);
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}
.cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(212, 165, 84, 0.4);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 2rem;
  background: rgba(10, 42, 31, 0.4);
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 2rem;
  font-variation-settings: "opsz" 144;
}
.cta-title em { font-style: italic; color: var(--gold-300); }
.cta-sub {
  font-size: 1.1rem;
  color: var(--cream-200);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.5;
  font-weight: 300;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.cta-karibu {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold-300);
  font-weight: 300;
  letter-spacing: -0.01em;
}
.cta-karibu small {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-300);
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
footer {
  background: var(--ink-900);
  color: var(--cream-200);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand-mark { width: 44px; height: 44px; font-size: 16px; }
.footer-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.3rem;
  color: var(--cream-100);
  margin-top: 1.5rem;
  line-height: 1.3;
  max-width: 320px;
  letter-spacing: -0.01em;
}
.footer-conf {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a {
  font-size: 14px;
  color: var(--cream-200);
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-col a:hover { color: var(--gold-300); }
.footer-col p { font-size: 13px; color: var(--cream-200); line-height: 1.6; margin-bottom: 0.75rem; }
.footer-col strong { color: var(--cream-100); font-weight: 500; display: block; margin-bottom: 0.25rem; font-family: var(--font-display); font-size: 15px; }

.footer-bottom {
  border-top: 1px solid rgba(212, 165, 84, 0.15);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-500);
}

/* ═══════════════════════════════════════════════════════════
   PAGE-SPECIFIC: NEWS PAGE
   ═══════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--emerald-900);
  color: var(--cream-50);
  padding: 11rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(212, 165, 84, 0.1) 0%, transparent 50%);
}
.page-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}
.page-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.page-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--gold-500);
}
.page-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144;
  margin-bottom: 1.5rem;
}
.page-title em { font-style: italic; color: var(--gold-300); }
.page-sub {
  font-size: 1.1rem;
  color: var(--cream-200);
  max-width: 600px;
  font-weight: 300;
  line-height: 1.5;
}

.news-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 2rem 0 0;
}
.filter {
  padding: 0.55rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--cream-50);
  border: 1px solid var(--cream-200);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  color: var(--ink-700);
}
.filter:hover { border-color: var(--emerald-700); }
.filter.active {
  background: var(--emerald-900);
  color: var(--gold-300);
  border-color: var(--emerald-900);
}

.featured-news {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}
@media (max-width: 900px) { .featured-news { grid-template-columns: 1fr; } }
.featured-img {
  height: 480px;
  background: var(--emerald-900);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.featured-img svg { width: 100%; height: 100%; }
.featured-content { display: flex; flex-direction: column; justify-content: center; padding: 1rem 0; }
.featured-content .news-cat {
  position: static;
  align-self: flex-start;
  background: var(--gold-500);
  color: var(--emerald-900);
  margin-bottom: 1.5rem;
}
.featured-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  font-variation-settings: "opsz" 144;
}
.featured-excerpt {
  color: var(--ink-500);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════
   GALLERY PAGE — full
   ═══════════════════════════════════════════════════════════ */
.gallery-full {
  padding: 4rem 0 var(--space-section);
}
.gallery-full-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 160px;
  gap: 1rem;
}
.gf-1 { grid-column: span 6; grid-row: span 3; }
.gf-2 { grid-column: span 3; grid-row: span 2; }
.gf-3 { grid-column: span 3; grid-row: span 2; }
.gf-4 { grid-column: span 3; grid-row: span 2; }
.gf-5 { grid-column: span 3; grid-row: span 3; }
.gf-6 { grid-column: span 6; grid-row: span 2; }
.gf-7 { grid-column: span 4; grid-row: span 2; }
.gf-8 { grid-column: span 4; grid-row: span 2; }
.gf-9 { grid-column: span 4; grid-row: span 2; }
.gf-10 { grid-column: span 6; grid-row: span 3; }
.gf-11 { grid-column: span 3; grid-row: span 3; }
.gf-12 { grid-column: span 3; grid-row: span 3; }

@media (max-width: 900px) {
  .gallery-full-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  [class*="gf-"] { grid-column: span 1; grid-row: span 1; }
  .gf-1, .gf-10 { grid-column: span 2; grid-row: span 2; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 23, 20, 0.96);
  backdrop-filter: blur(20px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.active { display: flex; }
.lightbox-content {
  max-width: 1200px;
  width: 100%;
  position: relative;
}
.lightbox-img {
  width: 100%;
  height: 70vh;
  background: var(--emerald-900);
  border-radius: 4px;
  overflow: hidden;
}
.lightbox-img svg { width: 100%; height: 100%; }
.lightbox-caption {
  text-align: center;
  margin-top: 2rem;
  color: var(--cream-50);
}
.lightbox-caption .cat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 0.5rem;
}
.lightbox-caption h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}
.lightbox-close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream-50);
  color: var(--emerald-900);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease);
}
.lightbox-close:hover { transform: rotate(90deg); }

/* ═══════════════════════════════════════════════════════════
   NEWS DETAIL PAGE
   ═══════════════════════════════════════════════════════════ */
.article-hero {
  padding: 10rem 0 3rem;
  background: var(--cream-50);
}
.article-hero .container-narrow { padding: 0 2rem; }
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 2rem;
  transition: color 0.3s;
}
.article-back:hover { color: var(--emerald-700); }
.article-cat {
  display: inline-block;
  background: var(--emerald-900);
  color: var(--gold-300);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.article-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 144;
}
.article-title em { font-style: italic; color: var(--emerald-700); }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--cream-200);
  margin-bottom: 2.5rem;
}
.article-meta strong { color: var(--ink-900); }

.article-feature {
  height: 480px;
  background: var(--emerald-900);
  border-radius: 4px;
  margin-bottom: 3rem;
  overflow: hidden;
}
.article-feature svg { width: 100%; height: 100%; }

.article-body {
  padding-bottom: var(--space-section);
}
.article-body p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink-700);
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.article-body p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 4rem;
  float: left;
  line-height: 0.85;
  margin: 0.4rem 0.6rem 0 0;
  color: var(--emerald-700);
  font-style: italic;
}
.article-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin: 3rem 0 1rem;
  line-height: 1.15;
}
.article-pull {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 1.8rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  border-left: 2px solid var(--gold-500);
  padding: 1rem 0 1rem 2rem;
  margin: 3rem 0;
  color: var(--emerald-900);
  font-variation-settings: "opsz" 144;
}
.article-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--cream-200);
  border-bottom: 1px solid var(--cream-200);
}
@media (max-width: 700px) { .article-stats { grid-template-columns: 1fr; } }
.art-stat-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.4rem;
  color: var(--emerald-900);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.art-stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* ═══════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════ */
.dark { color: var(--cream-50); }
.text-gold { color: var(--gold-500); }
.text-emerald { color: var(--emerald-700); }

/* Counter */
.counter[data-target] { display: inline-block; }
