/* ==========================================================================
   FESF Foundation — Modernized Editorial Institutional Design System
   Site-Wide Moving Ghanaian Agricultural Canvas + Tactile Liquid Glass
   ========================================================================== */

:root {
  /* Grounded Ghanaian Agricultural Tones */
  --forest: #0F291E;
  --forest-deep: #091B13;
  --forest-mid: #173B2B;
  --forest-soft: #234D3A;
  --parchment: #F6F4EE;
  --parchment-alt: #ECE8DD;
  --paper: #FCFBF8;
  --gold: #C8963E;
  --gold-light: #DFB567;
  --terracotta: #A85434;
  --ink: #1A1E1C;
  --ink-muted: #4A544E;
  --ink-subtle: #646E68;
  --hairline: rgba(15, 41, 30, 0.13);
  --hairline-strong: rgba(15, 41, 30, 0.24);

  /* Typography */
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing & Layout */
  --container-max: 1320px;
  --container-narrow: 940px;
  --gutter: clamp(1rem, 3vw, 2.5rem);
  --nav-height: 76px;

  /* Radii & Elevation */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 12px 32px -12px rgba(9, 27, 19, 0.16);
  --shadow-glass: 0 24px 60px -18px rgba(4, 14, 9, 0.52);

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

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.03125rem;
  line-height: 1.68;
  color: var(--ink);
  background-color: var(--forest-deep);
  overflow-x: hidden;
  min-height: 100vh;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--forest);
  color: var(--paper);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ==========================================================================
   Site-Wide Fixed Moving Ghanaian Agricultural Background Canvas
   ========================================================================== */
.site-agri-canvas {
  position: fixed;
  inset: -6%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.08);
}

.site-agri-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2.4s ease-in-out;
}

.site-agri-slide.is-active {
  opacity: 1;
}

.site-agri-slide picture,
.site-agri-slide img {
  width: 100%;
  height: 100%;
  display: block;
}

.site-agri-slide img {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.04);
}

.site-agri-veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(155deg, rgba(8, 23, 16, 0.72) 0%, rgba(15, 41, 30, 0.60) 48%, rgba(12, 26, 19, 0.76) 100%),
    radial-gradient(circle at 82% 18%, rgba(200, 150, 62, 0.16), transparent 52%);
}

/* Typography Hierarchy */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background-color: currentColor;
  flex-shrink: 0;
}

.eyebrow--gold {
  color: var(--gold-light);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem 2rem;
  padding-bottom: 1.35rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--hairline);
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  color: var(--forest);
  margin-top: 0.45rem;
}

.section-lead {
  max-width: 58ch;
  color: var(--ink-muted);
  margin: 0.5rem 0 0;
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-editorial), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background-color: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
}

.btn--primary:hover {
  background-color: var(--forest-mid);
  box-shadow: 0 8px 22px -8px rgba(15, 41, 30, 0.45);
}

.btn--gold {
  background-color: var(--gold);
  color: var(--forest-deep);
  border-color: var(--gold);
}

.btn--gold:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
}

.btn--outline-dark {
  background-color: rgba(255, 255, 255, 0.48);
  color: var(--forest);
  border-color: var(--hairline-strong);
}

.btn--outline-dark:hover {
  border-color: var(--forest);
  background-color: rgba(255, 255, 255, 0.85);
}

.btn--glass {
  background: rgba(252, 251, 248, 0.14);
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(12px) saturate(135%);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
}

.btn--glass:hover {
  background: rgba(252, 251, 248, 0.24);
  border-color: rgba(255, 255, 255, 0.52);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--forest);
  border-bottom: 1px solid rgba(15, 41, 30, 0.28);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

/* ==========================================================================
   Liquid-Glass Surfaces (Dark Emerald Glass + Warm Alabaster Glass)
   ========================================================================== */
.liquid-glass {
  position: relative;
  background: rgba(11, 32, 23, 0.62);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  border-right: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow-glass);
  overflow: hidden;
}

.liquid-glass--light {
  position: relative;
  background: rgba(252, 251, 248, 0.76);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  border-top: 1px solid rgba(255, 255, 255, 0.88);
  border-left: 1px solid rgba(255, 255, 255, 0.75);
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(15, 41, 30, 0.14);
  box-shadow: 0 18px 46px -16px rgba(5, 16, 11, 0.36);
}

/* Editorial Content Glass Shell — preserves >12:1 contrast over moving BG */
.glass-surface {
  position: relative;
  background: rgba(246, 244, 238, 0.86);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  border-left: 1px solid rgba(255, 255, 255, 0.65);
  border-right: 1px solid rgba(255, 255, 255, 0.32);
  border-bottom: 1px solid rgba(15, 41, 30, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.8vw, 3.25rem);
  box-shadow: 0 28px 70px -22px rgba(4, 14, 9, 0.52);
}

.glass-surface--paper {
  background: rgba(252, 251, 248, 0.88);
}

/* Cursor-reactive specular sheen */
[data-glass-sheen] {
  position: relative;
  overflow: hidden;
}

[data-glass-sheen]::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    460px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.18),
    rgba(200, 150, 62, 0.08) 42%,
    transparent 72%
  );
  transition: opacity 0.35s ease;
}

[data-glass-sheen]:hover::after {
  opacity: 1;
}

/* ==========================================================================
   Sticky Liquid-Glass Header (Floating Modern Bar)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0.75rem;
  z-index: 1000;
  width: min(var(--container-max), calc(100% - 1.5rem));
  margin: 0.75rem auto 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  border-radius: 16px;
  background: rgba(252, 251, 248, 0.72);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  border-top: 1px solid rgba(255, 255, 255, 0.90);
  border-left: 1px solid rgba(255, 255, 255, 0.78);
  border-right: 1px solid rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(15, 41, 30, 0.14);
  box-shadow: 0 14px 38px -12px rgba(4, 14, 9, 0.35);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(252, 251, 248, 0.84);
  box-shadow: 0 18px 46px -14px rgba(4, 14, 9, 0.46);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: clamp(0.9rem, 2vw, 1.5rem);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 1;
  min-width: 0;
}

.brand-mark img {
  height: 36px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-mark__sub {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--forest);
  border-left: 1px solid var(--hairline-strong);
  padding-left: 0.6rem;
  line-height: 1.24;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .brand-mark {
    gap: 0.75rem;
  }
  .brand-mark img {
    height: 42px;
  }
  .brand-mark__sub {
    font-size: 0.71rem;
    letter-spacing: 0.06em;
    padding-left: 0.75rem;
  }
}

.nav-primary {
  display: none;
  align-items: center;
  gap: 0.1rem;
}

@media (min-width: 1024px) {
  .nav-primary {
    display: flex;
  }
}

.nav-primary a {
  position: relative;
  padding: 0.45rem 0.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
}

@media (min-width: 1200px) {
  .nav-primary a {
    padding: 0.48rem 0.62rem;
    font-size: 0.875rem;
  }
}

.nav-primary a:hover,
.nav-primary a[aria-current="page"] {
  color: var(--forest);
  background-color: rgba(15, 41, 30, 0.08);
}

.nav-primary a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.22rem;
  height: 2px;
  background-color: var(--gold);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header-actions .btn--nav-cta {
  display: none;
  padding: 0.6rem 1.1rem;
  font-size: 0.86rem;
}

@media (min-width: 768px) {
  .header-actions .btn--nav-cta {
    display: inline-flex;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.7);
  color: var(--forest);
  cursor: pointer;
}

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

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: calc(var(--nav-height) + 1.25rem) 0.75rem auto 0.75rem;
  z-index: 990;
  border-radius: 18px;
  background: rgba(11, 32, 23, 0.90);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-glass);
  color: var(--paper);
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s var(--ease-editorial);
}

.mobile-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer a {
  padding: 0.8rem 0;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(246, 244, 238, 0.14);
}

.mobile-drawer a:last-child {
  border-bottom: 0;
}

.mobile-drawer a[aria-current="page"] {
  color: var(--gold-light);
}

/* ==========================================================================
   Hero Architecture (Enlarged Speaker/Event Box over Living Backdrop)
   ========================================================================== */
.hero {
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 5.5vw, 5rem);
  min-height: calc(100svh - var(--nav-height) - 1.5rem);
  display: flex;
  align-items: center;
  color: var(--paper);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.hero__intro,
.hero-showcase,
.hero-mission-card {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 992px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-rows: auto auto;
    column-gap: clamp(2rem, 4vw, 3.25rem);
    row-gap: 1.65rem;
  }
  .hero__intro {
    grid-column: 1;
    grid-row: 1;
  }
  .hero-mission-card {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }
  .hero-showcase {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.hero__kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 150, 62, 0.24);
}

.hero__title {
  font-size: clamp(2.35rem, 4.3vw, 3.75rem);
  font-weight: 500;
  line-height: 1.07;
  color: var(--paper);
  margin-bottom: 1.15rem;
}

.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__lead {
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.65;
  color: rgba(246, 244, 238, 0.90);
  max-width: 52ch;
  margin: 0 0 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 0;
}

/* Liquid-Glass Mission Highlight Bar inside Hero */
.hero-mission-card {
  border-radius: var(--radius-md);
  padding: 0.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

@media (max-width: 639px) {
  .hero-mission-card {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.65rem;
  }
  .hero-stat-link {
    padding: 0.55rem 0.75rem;
  }
}

.hero-stat-link {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-editorial);
}

.hero-stat-link:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(223, 181, 103, 0.42);
  transform: translateY(-2px);
}

.hero-stat__num {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1.1;
}

.hero-stat__arrow {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  opacity: 0.6;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-stat-link:hover .hero-stat__arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.hero-stat__label {
  font-size: 0.79rem;
  color: rgba(246, 244, 238, 0.85);
  margin-top: 0.22rem;
  line-height: 1.35;
}

/* Balanced Hero Speaker & Event Feature Slider */
.hero-showcase {
  position: relative;
}

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  background: var(--forest);
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  border-left: 1px solid rgba(255, 255, 255, 0.26);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 34px 80px -20px rgba(0, 0, 0, 0.68);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.65s var(--ease-editorial), transform 0.85s var(--ease-editorial);
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 27, 19, 0.06) 0%, rgba(9, 27, 19, 0.20) 48%, rgba(9, 27, 19, 0.82) 100%);
  pointer-events: none;
}

.hero-slide__tag {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  z-index: 3;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: rgba(11, 32, 23, 0.76);
  color: var(--gold-light);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}

.hero-slide__glass {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 3;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.hero-slide__link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.hero-slide__link:hover .hero-slide__glass,
.hero-slide__link:focus-visible .hero-slide__glass {
  transform: translateY(-2px);
  border-color: rgba(200, 150, 62, 0.55);
}

.hero-slide__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.28rem;
}

.hero-slide__cta {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--paper);
  opacity: 0.88;
  white-space: nowrap;
}

.event-card[id] {
  scroll-margin-top: 112px;
}

.event-card:target {
  box-shadow: 0 0 0 2px var(--gold), 0 22px 46px -16px rgba(15, 41, 30, 0.35);
}

.glass-modal__media video {
  width: 100%;
  height: 100%;
  display: block;
  background: #08150f;
}

.hero-slide__title {
  font-family: var(--font-serif);
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  color: var(--paper);
  margin: 0 0 0.35rem;
}

.hero-slide__speaker {
  font-size: 0.92rem;
  color: rgba(246, 244, 238, 0.90);
  margin: 0;
}

@media (max-width: 639px) {
  .hero-slider {
    aspect-ratio: 4 / 4.3;
    min-height: 340px;
  }
  .hero-slide__tag {
    top: 0.8rem;
    left: 0.8rem;
    font-size: 0.66rem;
    padding: 0.34rem 0.7rem;
  }
  .hero-slide__glass {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.95rem 1.05rem;
  }
  .hero-slide__title {
    font-size: 1.18rem;
  }
  .hero-slide__speaker {
    font-size: 0.82rem;
    line-height: 1.4;
  }
}

.hero-slider__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.95rem;
  padding-inline: 0.25rem;
}

.hero-slider__dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-dot {
  width: 24px;
  height: 4px;
  border-radius: 4px;
  border: 0;
  padding: 0;
  background: rgba(246, 244, 238, 0.32);
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.hero-dot.is-active {
  width: 42px;
  background: var(--gold);
}

.hero-slider__arrows {
  display: flex;
  gap: 0.5rem;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(11, 32, 23, 0.56);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.icon-btn:hover {
  background: rgba(200, 150, 62, 0.92);
  color: var(--forest-deep);
  border-color: var(--gold);
}

/* ==========================================================================
   Content Sections (Transparent Wrappers + Liquid-Glass Readability Shells)
   ========================================================================== */
.section {
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
  background: transparent;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card,
.event-card,
.team-card,
.activity-card,
.editorial-block,
.contact-card,
.pub-feature,
.filter-bar,
.woocommerce-product-card,
.bbpress-topic-row {
  background: rgba(252, 251, 248, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 26px -14px rgba(9, 27, 19, 0.14);
}

.pillar-card {
  border-radius: var(--radius-md);
  padding: 1.85rem 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--ease-editorial), box-shadow 0.3s ease, border-color 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 150, 62, 0.65);
  box-shadow: var(--shadow-soft);
}

.pillar-card__num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--terracotta);
  margin-bottom: 0.85rem;
}

.pillar-card h3 {
  font-size: 1.55rem;
  color: var(--forest);
  margin-bottom: 0.8rem;
}

.pillar-card p {
  margin: 0 0 1.35rem;
  color: var(--ink-muted);
  font-size: 0.96rem;
}

.values-strip {
  margin-top: 1.75rem;
  padding: 1.15rem 1.5rem;
  background: rgba(252, 251, 248, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.values-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.value-pill {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--parchment);
  color: var(--forest);
  border: 1px solid var(--hairline);
}

/* ==========================================================================
   President Feature Split
   ========================================================================== */
.president-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .president-split {
    grid-template-columns: 340px 1fr;
  }
}

.president-portrait {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: var(--parchment-alt);
  box-shadow: var(--shadow-soft);
}

.president-portrait img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  object-position: center top;
}

.president-portrait__badge {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-sm);
}

.president-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.1vw, 1.8rem);
  line-height: 1.38;
  color: var(--forest);
  border-left: 3px solid var(--gold);
  padding-left: 1.35rem;
  margin: 1.15rem 0 1.35rem;
}

/* ==========================================================================
   Events & Food Security Lectures Cards
   ========================================================================== */
.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

@media (min-width: 768px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1120px) {
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.event-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-editorial), box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.event-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--forest);
}

.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s var(--ease-editorial);
}

.event-card:hover .event-card__media img {
  transform: scale(1.04);
}

.event-date-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(252, 251, 248, 0.94);
  color: var(--forest);
  border-radius: var(--radius-sm);
  padding: 0.42rem 0.68rem;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.event-date-badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.event-date-badge span {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
}

.event-card__body {
  padding: 1.35rem 1.45rem 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-card__venue {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.4rem;
}

.event-card h3 {
  font-size: 1.3rem;
  color: var(--forest);
  margin-bottom: 0.6rem;
}

.event-card p {
  margin: 0 0 1.2rem;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  flex: 1;
}

.event-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.95rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.85rem;
}

/* ==========================================================================
   Atmospheric Transition Callout (Floating Dark Liquid Glass over Moving BG)
   ========================================================================== */
.transition-band {
  padding-block: clamp(2rem, 4vw, 3.25rem);
}

.glass-callout {
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.25rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .glass-callout {
    grid-template-columns: 1.35fr 0.65fr;
  }
}

.glass-callout h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  color: var(--paper);
  margin: 0.6rem 0 1rem;
}

.glass-callout p {
  color: rgba(246, 244, 238, 0.90);
  margin: 0;
  max-width: 60ch;
}

.glass-callout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-start;
}

@media (min-width: 900px) {
  .glass-callout__actions {
    justify-content: flex-end;
  }
}

/* ==========================================================================
   Publications, Presentations & Activities
   ========================================================================== */
.pub-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  border-radius: var(--radius-md);
  padding: clamp(1.35rem, 2.8vw, 2.25rem);
  align-items: center;
}

@media (min-width: 900px) {
  .pub-feature {
    grid-template-columns: 300px 1fr;
  }
}

.pub-cover {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
}

.pub-cover img {
  width: 100%;
  aspect-ratio: 3 / 3.8;
  object-fit: cover;
}

.paper-list {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  border-top: 1px solid var(--hairline);
}

.paper-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--hairline);
}

.paper-list strong {
  display: block;
  color: var(--forest);
  font-size: 0.96875rem;
}

.paper-list span {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-pill {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.filter-pill.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--paper);
}

.search-input-wrap {
  position: relative;
  min-width: 240px;
  flex: 1 1 240px;
  max-width: 340px;
}

.search-input-wrap input {
  width: 100%;
  padding: 0.58rem 0.95rem 0.58rem 2.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.search-input-wrap svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-subtle);
  pointer-events: none;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

@media (min-width: 720px) {
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

@media (min-width: 640px) {
  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .cards-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   Team & Speaker Directory Cards
   ========================================================================== */
.team-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease-editorial), box-shadow 0.28s ease;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.team-card__img {
  aspect-ratio: 5 / 5.3;
  overflow: hidden;
  background: var(--forest);
}

.team-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card__body {
  padding: 1.2rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-card__role {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.3rem;
}

.team-card h3 {
  font-size: 1.24rem;
  color: var(--forest);
  margin-bottom: 0.4rem;
}

.team-card p {
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin: 0 0 1rem;
  flex: 1;
}

/* ==========================================================================
   Expandable Six Core Foundation Activities Cards
   ========================================================================== */
.activity-card {
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.activity-card.is-expanded {
  border-color: rgba(200, 150, 62, 0.65);
  box-shadow: var(--shadow-soft);
}

.activity-toggle {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.activity-toggle__top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.activity-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  color: var(--forest);
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.28s var(--ease-editorial), background-color 0.2s ease, color 0.2s ease;
}

.activity-card.is-expanded .activity-toggle__icon {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--paper);
  transform: rotate(45deg);
}

.activity-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--hairline-strong);
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--forest);
}

.activity-card h3 {
  font-size: 1.24rem;
  color: var(--forest);
  line-height: 1.25;
}

.activity-toggle__hint {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.activity-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.34s var(--ease-editorial);
}

.activity-card.is-expanded .activity-panel {
  grid-template-rows: 1fr;
}

.activity-panel__inner {
  overflow: hidden;
}

.activity-panel__body {
  padding-top: 0.95rem;
  margin-top: 0.95rem;
  border-top: 1px solid var(--hairline);
}

.activity-panel__body p {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.activity-panel__body ul {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  color: var(--ink);
  display: grid;
  gap: 0.35rem;
}

/* ==========================================================================
   Gallery Strip & Masonry Grid
   ========================================================================== */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

@media (min-width: 768px) {
  .gallery-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-strip .gallery-tile {
  aspect-ratio: 4 / 3;
}

.gallery-strip .gallery-tile img {
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.gallery-masonry {
  columns: 1;
  column-gap: 1.1rem;
}

@media (min-width: 600px) {
  .gallery-masonry {
    columns: 2;
  }
}

@media (min-width: 960px) {
  .gallery-masonry {
    columns: 3;
  }
}

@media (min-width: 1240px) {
  .gallery-masonry {
    columns: 4;
  }
}

.gallery-tile {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--forest);
  break-inside: avoid;
  margin-bottom: 1.1rem;
  cursor: pointer;
  text-align: left;
}

.gallery-tile img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.55s var(--ease-editorial);
}

.gallery-tile:hover img {
  transform: scale(1.04);
}

.gallery-tile__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.8rem 0.9rem 0.75rem;
  background: linear-gradient(180deg, transparent, rgba(9, 27, 19, 0.88));
  color: var(--paper);
  font-size: 0.8125rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-tile:hover .gallery-tile__caption,
.gallery-tile:focus-visible .gallery-tile__caption {
  opacity: 1;
}

.gallery-tile__video-badge {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(200, 150, 62, 0.92);
  color: var(--forest-deep);
}

/* ==========================================================================
   Page Hero Banner (Inner Pages over Global Moving Agricultural Backdrop)
   ========================================================================== */
.page-banner {
  padding-block: clamp(2.75rem, 5vw, 4.25rem) clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--paper);
}

.page-banner__card {
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.page-banner__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(246, 244, 238, 0.78);
  margin-bottom: 0.85rem;
}

.page-banner__breadcrumb a:hover {
  color: var(--gold-light);
}

.page-banner h1 {
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  color: var(--paper);
  margin-bottom: 0.75rem;
}

.page-banner p {
  max-width: 62ch;
  color: rgba(246, 244, 238, 0.88);
  margin: 0;
  font-size: 1.05rem;
}

/* Sticky Glass Section Navigator (About Page) */
.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .about-layout {
    grid-template-columns: 295px 1fr;
  }
}

.sticky-section-nav {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.sticky-section-nav__title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.85rem;
}

.sticky-section-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.58rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sticky-section-nav a:hover,
.sticky-section-nav a.is-active {
  background: rgba(15, 41, 30, 0.08);
  color: var(--forest);
}

.editorial-block {
  border-radius: var(--radius-md);
  padding: clamp(1.65rem, 3.2vw, 2.5rem);
  margin-bottom: 1.65rem;
  scroll-margin-top: calc(var(--nav-height) + 1.5rem);
}

.editorial-block:last-child {
  margin-bottom: 0;
}

.editorial-block h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.25rem);
  color: var(--forest);
  margin: 0.5rem 0 1.15rem;
}

.editorial-block p {
  margin: 0 0 1.05rem;
  color: var(--ink);
}

.editorial-block p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Store & Forum Hooks
   ========================================================================== */
.woocommerce-product-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.woocommerce-product-card__img {
  aspect-ratio: 4 / 3.2;
  background: var(--parchment-alt);
  overflow: hidden;
}

.woocommerce-product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.woocommerce-product-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.price-tag {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--forest);
}

.bbpress-topic-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-md);
  align-items: center;
}

/* ==========================================================================
   Contact Split & Form
   ========================================================================== */
.contact-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 960px) {
  .contact-split {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

.contact-card {
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 600px) {
  .form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.78);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest);
  background: var(--paper);
}

/* ==========================================================================
   Liquid-Glass Modal / Lightbox Viewer
   ========================================================================== */
.glass-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 16, 11, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.glass-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.glass-modal {
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(12px) scale(0.985);
  transition: transform 0.3s var(--ease-editorial);
}

.glass-modal-backdrop.is-open .glass-modal {
  transform: translateY(0) scale(1);
}

.glass-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.glass-modal__body {
  padding: 1.4rem;
  overflow-y: auto;
}

.glass-modal__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-height: 64vh;
}

.glass-modal__media img,
.glass-modal__media video {
  max-height: 62vh;
  width: auto;
  margin-inline: auto;
}

.glass-modal__media iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* ==========================================================================
   Modernized Floating Liquid-Glass Pop-Up Footer
   ========================================================================== */
.site-footer-wrap {
  padding: 1.5rem 0 2.5rem;
}

.site-footer {
  border-radius: var(--radius-lg);
  background: rgba(252, 251, 248, 0.76);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  border-top: 1px solid rgba(255, 255, 255, 0.90);
  border-left: 1px solid rgba(255, 255, 255, 0.78);
  border-right: 1px solid rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(15, 41, 30, 0.14);
  box-shadow: 0 24px 64px -16px rgba(4, 14, 9, 0.44);
  color: var(--ink);
  padding: clamp(2.25rem, 4vw, 3.5rem) clamp(1.5rem, 3.5vw, 3rem) 1.75rem;
  /* Scroll pop-up initial state */
  opacity: 0;
  transform: translate3d(0, 44px, 0) scale(0.975);
  transition: opacity 0.65s var(--ease-popup), transform 0.7s var(--ease-popup);
}

.site-footer.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--hairline);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  }
}

.footer-brand-pill {
  display: inline-flex;
  align-items: center;
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
  margin-bottom: 1rem;
}

.footer-brand-pill img {
  height: 44px;
  width: auto;
}

.footer-address {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin: 0;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.91rem;
  color: var(--ink);
}

.footer-links a:hover {
  color: var(--terracotta);
}

.footer-newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.footer-newsletter input {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.35rem;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Toast Feedback
   ========================================================================== */
.toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 3000;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-editorial);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Reduced Motion Compliance
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-agri-canvas {
    transform: none !important;
  }

  .site-footer {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .site-agri-slide,
  .hero-slide,
  .pillar-card,
  .event-card,
  .gallery-tile img,
  .btn {
    transition: none !important;
  }
}
