/* ============================================================
   AFSFF One-Page Website — Styles
   Version: 1.0 | 2026-04-11
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@400;500;600;700&display=swap');

/* ── TOKENS ── */
:root {
  --ocean:      #00274D;
  --teal:       #00A896;
  --coral:      #E8735A;
  --sand:       #F2E8D5;
  --seagrass:   #5C8A5E;
  --saltwater:  #E8F4F8;
  --charcoal:   #1A1A2E;
  --grey:       #6B7280;
  --light:      #F3F4F6;
  --white:      #FFFFFF;
  --warning:    #F59E0B;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --r:   8px;
  --r-lg: 16px;

  --sh-sm: 0 1px 3px rgba(0,39,77,0.08);
  --sh:    0 4px 16px rgba(0,39,77,0.10);
  --sh-lg: 0 8px 32px rgba(0,39,77,0.14);

  --ease: 0.25s ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--charcoal); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; margin-bottom: 0.75rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; color: var(--teal); }
.text-center { text-align: center; }

/* ── LAYOUT ── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.section { padding-block: clamp(3rem, 6vw, 5rem); }
.bg-light { background: var(--light); }
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0,168,150,0.1);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1.25rem;
}
.section-intro {
  max-width: 60ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  color: var(--grey);
  font-size: 1.05rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity var(--ease), transform var(--ease), box-shadow var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); box-shadow: var(--sh); }
.btn-primary  { background: var(--teal);     color: #fff; border-color: var(--teal); }
.btn-outline  { background: transparent;     color: #fff; border-color: rgba(255,255,255,0.75); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-farmer   { background: var(--seagrass); color: #fff; border-color: var(--seagrass); }
.btn-partner  { background: var(--coral);    color: #fff; border-color: var(--coral); }
.btn-lg  { padding: 0.85rem 1.8rem; font-size: 1rem; }
.btn-sm  { padding: 0.45rem 1rem; font-size: 0.82rem; }
.btn-full { width: 100%; }


/* ══════════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════════ */
#site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--ease), box-shadow var(--ease);
}
#site-header.scrolled {
  background: var(--ocean);
  box-shadow: 0 2px 16px rgba(0,39,77,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.1rem clamp(1rem, 4vw, 2rem);
}

/* Logo */
.logo { display: flex; align-items: center; gap: 0.65rem; }
.logo-mark {
  width: 36px; height: 36px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
}
.logo-text {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.2;
}
.logo-text span {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  opacity: 0.7;
}

/* Desktop nav */
#site-header nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
#site-header nav a:hover,
#site-header nav a.active { color: #fff; border-color: var(--teal); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.lang-btn {
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.6rem;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 4px;
  transition: border-color var(--ease), color var(--ease);
}
.lang-btn:hover { border-color: rgba(255,255,255,0.7); color: #fff; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--ocean);
  padding: 0 clamp(1rem, 4vw, 2rem) 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.82);
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.95rem;
}
.mobile-nav a:last-child { border-bottom: none; }


/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: 6rem 4rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 40%;
  filter: saturate(0.8);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,39,77,0.72) 0%, rgba(0,39,77,0.55) 60%, rgba(0,39,77,0.8) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 760px;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.25rem;
}
.hero-content h1 { color: #fff; margin-bottom: 1.25rem; }
.hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  max-width: 54ch;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.stat {}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.scroll-cue {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 1.4rem;
  animation: bounce 2s ease-in-out infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}


/* ══════════════════════════════════════════
   IMPACT TICKER
══════════════════════════════════════════ */
.ticker {
  background: var(--ocean);
  padding-block: 1.25rem;
  text-align: center;
}
.ticker-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
}
.tick {}
.tick-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--teal);
}
.tick-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.ticker-note {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.75rem;
}


/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.fact {
  background: var(--saltwater);
  border-radius: var(--r);
  padding: 1.25rem;
  text-align: center;
}
.fact-num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--teal);
  margin-bottom: 0.3rem;
}
.fact-label {
  font-size: 0.78rem;
  color: var(--grey);
  line-height: 1.4;
}

/* Theory of change box */
.toc-box {
  background: var(--ocean);
  color: rgba(255,255,255,0.85);
  border-radius: var(--r-lg);
  padding: 2rem;
}
.toc-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
}
.toc-steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.toc-steps li {
  counter-increment: step;
  display: flex;
  gap: 0.85rem;
  font-size: 0.88rem;
  line-height: 1.5;
}
.toc-steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.sdg-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.sdg {
  width: 40px; height: 40px;
  border-radius: 6px;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  line-height: 1.2;
  color: #fff;
}
.sdg-1  { background: #E5243B; }
.sdg-5  { background: #FF3A21; }
.sdg-13 { background: #3F7E44; }
.sdg-14 { background: #0A97D9; }


/* ══════════════════════════════════════════
   THREE DOORS
══════════════════════════════════════════ */
.doors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.doors--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .doors--two { grid-template-columns: 1fr; } }
.door {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem;
  border-top: 4px solid transparent;
  box-shadow: var(--sh);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.door--investor { border-color: var(--teal); }
.door--farmer   { border-color: var(--seagrass); }
.door--partner  { border-color: var(--coral); }
.door h3 small { font-family: var(--font-body); font-size: 0.78rem; color: var(--seagrass); display: block; margin-top: 0.15rem; }
.door-icon { font-size: 2rem; margin-bottom: 0.25rem; }
.door ul { padding-left: 1.1rem; list-style: disc; font-size: 0.85rem; color: var(--grey); display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.door ul li { margin: 0; }
.door .btn { margin-top: 1.25rem; }


/* ══════════════════════════════════════════
   IMPACT
══════════════════════════════════════════ */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-block: 2.5rem;
}
.metric {
  background: var(--saltwater);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.metric.revealed { opacity: 1; transform: none; }
.metric-num {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--ocean);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.metric-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}
.metric-sub {
  font-size: 0.75rem;
  color: var(--grey);
  margin-bottom: 0.75rem;
}

/* Progress bar */
.progress-track {
  height: 5px;
  background: rgba(0,39,77,0.12);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 0.75rem;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: var(--teal);
  border-radius: 99px;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

/* Seascape map */
.map-wrap {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1rem;
}
#seascape-map {
  height: 400px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh);
}
.map-legend {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--sh-sm);
}
.map-legend h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  color: var(--grey);
}
.legend-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  margin-bottom: 0.6rem;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.map-crs {
  font-size: 0.68rem;
  color: var(--grey);
  margin-top: 1rem;
  line-height: 1.6;
}


/* ══════════════════════════════════════════
   FINANCE INSTRUMENTS
══════════════════════════════════════════ */
.instruments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.instrument {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--sh-sm);
  border: 1px solid rgba(0,39,77,0.08);
  position: relative;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.instrument.revealed { opacity: 1; transform: none; }
.badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 0.25rem 0.65rem;
  margin-bottom: 1rem;
}
.badge-active      { background: rgba(0,168,150,0.12); color: var(--teal); }
.badge-scaling     { background: rgba(92,138,94,0.12); color: var(--seagrass); }
.badge-feasibility { background: rgba(245,158,11,0.12); color: #B45309; }
.instr-icon { font-size: 1.6rem; margin-bottom: 0.5rem; }
.instrument h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.instrument p  { font-size: 0.84rem; color: var(--grey); }
.instr-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 0.75rem;
  font-size: 0.78rem;
  margin-top: 1rem;
}
.instr-meta dt { color: var(--grey); font-weight: 500; }
.instr-meta dd { font-weight: 600; }
.sdg-chips { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.85rem; }
.sdg-chips span {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  background: rgba(0,39,77,0.08);
  color: var(--ocean);
}


/* ══════════════════════════════════════════
   COMMUNITY STORY
══════════════════════════════════════════ */
.story-section { padding: 0; overflow: hidden; }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.story-img { overflow: hidden; }
.story-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.story-body {
  background: var(--ocean);
  color: rgba(255,255,255,0.85);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}
.story-body .section-tag { color: var(--teal); background: rgba(0,168,150,0.15); }
blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  quotes: "\201C" "\201D";
}
blockquote::before { content: open-quote; color: var(--teal); font-size: 2em; line-height: 0; vertical-align: -0.5em; margin-right: 0.1em; }
.attribution {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.attribution img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--teal);
  flex-shrink: 0;
}
.attribution strong { display: block; color: #fff; font-size: 0.95rem; }
.attrib-loc { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 0.15rem; }
.income-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,168,150,0.15);
  border: 1px solid rgba(0,168,150,0.3);
  border-radius: var(--r);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  width: fit-content;
}
.income-badge strong { color: var(--teal); }


/* ══════════════════════════════════════════
   PARTNERS
══════════════════════════════════════════ */
.partners-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.5rem;
}
.partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.partner-chip {
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  border: 1.5px solid rgba(0,39,77,0.15);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ocean);
  background: var(--white);
  transition: border-color var(--ease), background var(--ease);
}
.partner-chip:hover { border-color: var(--teal); background: rgba(0,168,150,0.05); }
.partner-chip a { color: inherit; text-decoration: none; }

/* Partner logos (when logo_url set) */
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}
.partner-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo-img {
  height: 48px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.85;
  transition: filter var(--ease), opacity var(--ease);
}
.partner-logo-img:hover { filter: grayscale(0); opacity: 1; }
.partner-logo-wrap a { display: flex; }

/* Site logo image variant */
.logo-img { height: 36px; width: auto; object-fit: contain; }
.logo-img--light { filter: brightness(0) invert(1); }


/* ══════════════════════════════════════════
   APPLY
══════════════════════════════════════════ */
.apply-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.apply-grid--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .apply-grid--two { grid-template-columns: 1fr; } }
.apply-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--sh);
  border-top: 4px solid var(--teal);
}
.apply-card--farmer { border-top-color: var(--seagrass); }
.apply-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.apply-card h3 small {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--seagrass);
  display: block;
}
.apply-card p { font-size: 0.88rem; color: var(--grey); margin-bottom: 1.25rem; }
.apply-form { display: flex; flex-direction: column; gap: 0.6rem; }
.apply-form input,
.apply-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid rgba(0,39,77,0.18);
  border-radius: var(--r);
  font-size: 0.88rem;
  background: var(--light);
  transition: border-color var(--ease);
}
.apply-form input:focus,
.apply-form textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.apply-form textarea { resize: vertical; min-height: 80px; }
.form-error { font-size: 0.78rem; color: #EF4444; }
.form-success {
  background: rgba(34,197,94,0.1);
  border: 1.5px solid rgba(34,197,94,0.3);
  border-radius: var(--r);
  padding: 1rem;
  font-size: 0.88rem;
  color: #166534;
  text-align: center;
}


/* ══════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════ */
.cta-band {
  background: var(--teal);
  color: #fff;
  text-align: center;
  padding-block: clamp(3rem, 5vw, 4rem);
}
.cta-band h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-band p  { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--teal);
  border-color: #fff;
}
.cta-band .btn-primary:hover { background: rgba(255,255,255,0.9); }


/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
#site-footer {
  background: var(--ocean);
  color: rgba(255,255,255,0.75);
  padding-block: 3.5rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-top: 1rem; }
.footer-sdgs {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a, .footer-links li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--ease);
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  padding-block: 1.25rem;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom-inner a {
  color: rgba(255,255,255,0.45);
  margin-left: 1rem;
}
.footer-bottom-inner a:hover { color: rgba(255,255,255,0.75); }


/* ══════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .instruments { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .doors   { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .story-img { max-height: 320px; }
  .map-wrap { grid-template-columns: 1fr; }
  #seascape-map { height: 280px; }
  .apply-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-facts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  #site-header nav { display: none; }
  .nav-actions .btn { display: none; }
  .burger { display: flex; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .instruments { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .metrics { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.25rem; }
  .ticker-inner { gap: 1rem 1.75rem; }
}

/* ── Leaflet popup customisation ── */
.leaflet-popup-content-wrapper {
  border-radius: var(--r) !important;
  font-family: var(--font-body) !important;
  font-size: 0.82rem !important;
  box-shadow: var(--sh) !important;
}
.leaflet-popup-content { margin: 0.75rem 1rem !important; }
.popup-title { font-weight: 700; color: var(--ocean); margin-bottom: 0.25rem; }
.popup-detail { color: var(--grey); }
