/* MAIPAC Tanzania — Editorial Conservation Green, Maasai Ochre & Warm Paper Identity */
:root {
  --forest-950: #0C251A;
  --forest-900: #123324;
  --forest-800: #184431;
  --forest-700: #1F573F;
  --forest-50: #EEF5F1;
  --ochre-500: #C86D24;
  --ochre-600: #A85717;
  --ochre-100: #FDF3E7;
  --paper: #FAF8F4;
  --white: #FFFFFF;
  --ink-900: #141B17;
  --ink-700: #3A4740;
  --ink-500: #607067;
  --border: #E2E6E2;
  --serif: 'Lora', Georgia, serif;
  --head: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--body);
  background: var(--white);
  color: var(--ink-900);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
.about-grid > *, .pub-feature > *, .contact-grid > *, .footer-grid > *, .projects-grid > *, .video-grid > *, .team-grid > *, .impact-bar > * { min-width: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
section[id] { scroll-margin-top: 84px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Top Utility Bar */
.top-bar { background: var(--forest-950); color: #D4E4DC; font-size: 13px; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; }
.top-left, .top-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.top-left a { display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; }
.top-left a:hover, .top-media-link:hover { color: #F5B971; }
.reg-pill {
  background: rgba(200, 109, 36, 0.22);
  color: #F7C88D;
  border: 1px solid rgba(247, 200, 141, 0.35);
  font-family: var(--head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 3px;
}
.top-media-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--head);
  font-size: 12px;
  font-weight: 700;
  color: #F7C88D;
}
.lang-switch { display: inline-flex; background: rgba(255,255,255,0.12); border-radius: 4px; padding: 2px; }
.lang-btn { padding: 3px 10px; font-family: var(--head); font-size: 11.5px; font-weight: 700; color: #D4E4DC; border-radius: 3px; transition: all 0.2s; }
.lang-btn.active { background: var(--ochre-500); color: #FFFFFF; }

/* Sticky Editorial Header */
.site-header { position: sticky; top: 0; z-index: 70; background: rgba(255,255,255,0.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); box-shadow: 0 2px 14px rgba(12,37,26,0.05); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { height: 48px; width: auto; flex-shrink: 0; object-fit: contain; }
.brand-text strong { display: block; font-family: var(--head); font-size: 18px; font-weight: 800; color: var(--forest-900); letter-spacing: 0.02em; line-height: 1.05; }
.brand-text span { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-500); margin-top: 2px; line-height: 1.2; }
.nav-menu { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav-menu a { font-family: var(--head); font-size: 14px; font-weight: 600; color: var(--ink-700); padding: 6px 0; transition: color 0.2s; }
.nav-menu a:hover { color: var(--forest-700); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 6px; align-items: center; justify-content: center; color: var(--forest-900); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--head); font-size: 14px; font-weight: 700; padding: 12px 22px; border-radius: 6px; transition: all 0.2s ease; white-space: nowrap; }
.btn-primary { background: var(--forest-800); color: #FFFFFF; }
.btn-primary:hover { background: var(--forest-900); transform: translateY(-1px); }
.btn-ochre { background: var(--ochre-500); color: #FFFFFF; }
.btn-ochre:hover { background: var(--ochre-600); transform: translateY(-1px); }
.btn-white-outline { border: 1.8px solid rgba(255,255,255,0.85); color: #FFFFFF; background: rgba(12,37,26,0.28); }
.btn-white-outline:hover { background: #FFFFFF; color: var(--forest-950); }
.btn-outline { border: 1.5px solid var(--forest-800); color: var(--forest-800); }
.btn-outline:hover { background: var(--forest-800); color: #FFFFFF; }

/* 1. Editorial Hero Showcase */
.hero-slider { position: relative; width: 100%; height: 615px; overflow: hidden; background: var(--forest-950); }
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.8s ease, visibility 0.8s ease; z-index: 1; }
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transform: scale(1.04); transition: transform 6.5s ease-out; }
.slide-bg--top { object-position: center 16%; }
.hero-slide.active .slide-bg { transform: scale(1); }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(96deg, rgba(10,30,21,0.92) 0%, rgba(10,30,21,0.68) 54%, rgba(10,30,21,0.22) 100%); }
.slide-content { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; padding-bottom: 66px; }
.slide-box { max-width: 670px; color: #FFFFFF; }
.slide-tag {
  display: inline-block;
  background: var(--ochre-500);
  color: #FFFFFF;
  font-family: var(--head);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 13px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.slide-box h1, .slide-box h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.1vw, 50px);
  font-weight: 700;
  line-height: 1.14;
  margin-bottom: 15px;
  letter-spacing: -0.015em;
}
.slide-box p { font-size: 17px; color: #E4EEE8; margin-bottom: 26px; max-width: 590px; line-height: 1.6; }
.slide-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.slider-arrow {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10,30,21,0.58);
  border: 1.5px solid rgba(255,255,255,0.42);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  transition: all 0.2s;
}
.slider-arrow:hover { background: var(--ochre-500); border-color: var(--ochre-500); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-controls-bar { position: absolute; left: 0; right: 0; bottom: 54px; z-index: 10; }
.slider-tabs-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.s-tab { text-align: left; color: rgba(255,255,255,0.72); padding: 6px 0; transition: color 0.2s; }
.s-tab.active, .s-tab:hover { color: #FFFFFF; }
.s-tab-bar { display: block; width: 100%; height: 3px; background: rgba(255,255,255,0.28); border-radius: 2px; overflow: hidden; margin-bottom: 7px; }
.s-tab-bar i { display: block; width: 0; height: 100%; background: var(--ochre-500); }
.s-tab.active .s-tab-bar i { width: 100%; animation: slideProg 6s linear forwards; }
@keyframes slideProg { from { width: 0%; } to { width: 100%; } }
.s-tab-meta { display: block; font-family: var(--head); font-size: 12.5px; font-weight: 600; }
.s-tab-meta strong { color: #F7C88D; margin-right: 6px; }

/* Verified Fact Strip */
.impact-wrap { position: relative; z-index: 15; margin-top: -42px; margin-bottom: 18px; }
.impact-bar {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(12,37,26,0.11);
  border-top: 4px solid var(--ochre-500);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.impact-stat { padding: 22px 20px; border-right: 1px solid var(--border); }
.impact-stat:last-child { border-right: none; }
.impact-stat strong { display: block; font-family: var(--head); font-size: 27px; font-weight: 800; color: var(--forest-800); line-height: 1.1; }
.impact-stat span { display: block; font-family: var(--head); font-size: 13.5px; font-weight: 700; color: var(--ink-900); margin-top: 5px; }
.impact-stat small { display: block; font-size: 12.5px; color: var(--ink-500); margin-top: 2px; }

/* Shared Section Typography */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--head);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--forest-700);
  margin-bottom: 8px;
}
.sec-label::before { content: ""; width: 22px; height: 3px; background: var(--ochre-500); border-radius: 2px; }
.sec-title {
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-900);
  letter-spacing: -0.015em;
}
.sec-lead { font-size: 16px; color: var(--ink-700); margin-top: 10px; max-width: 650px; }
.sec-head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head-center { text-align: center; max-width: 680px; margin: 0 auto 38px; }
.sec-head-center .sec-lead { margin-left: auto; margin-right: auto; }

/* 2. About MAIPAC */
.about-sec { padding: 72px 0 84px; }
.about-grid { display: grid; grid-template-columns: 0.96fr 1.06fr; gap: 54px; align-items: center; }
.about-photos { position: relative; padding-bottom: 56px; }
.about-photo-main { width: 88%; border-radius: 10px; overflow: hidden; box-shadow: 0 18px 40px rgba(12,37,26,0.14); background: var(--forest-900); }
.about-photo-main img { width: 100%; aspect-ratio: 4/3.7; object-fit: cover; object-position: center 15%; }
.photo-credit { display: block; padding: 12px 46% 12px 16px; font-size: 12px; font-weight: 600; color: #E4EEE8; background: var(--forest-900); line-height: 1.4; }
.about-photo-inset { position: absolute; right: 0; bottom: 0; width: 46%; border-radius: 9px; overflow: hidden; border: 6px solid #FFFFFF; box-shadow: 0 14px 32px rgba(12,37,26,0.18); }
.about-photo-inset img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.about-copy > p { font-size: 16.5px; color: var(--ink-700); margin: 14px 0 20px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.mv-card { background: var(--forest-50); border-left: 3.5px solid var(--forest-700); padding: 15px 16px; border-radius: 0 8px 8px 0; }
.mv-card strong { display: block; font-family: var(--head); font-size: 14px; font-weight: 800; color: var(--forest-900); margin-bottom: 4px; }
.mv-card p { font-size: 14px; color: var(--ink-700); line-height: 1.5; margin: 0; }
.values-row { display: flex; flex-wrap: wrap; gap: 8px; }
.values-row span {
  font-family: var(--head);
  font-size: 12px;
  font-weight: 700;
  color: var(--forest-900);
  background: var(--ochre-100);
  border: 1px solid #EED5B7;
  padding: 5px 12px;
  border-radius: 999px;
}

/* 3. Flagship Projects */
.projects-sec { padding: 80px 0; background: var(--paper); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.proj-card { background: var(--white); border-radius: 10px; overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; transition: transform 0.22s, box-shadow 0.22s; }
.proj-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(12,37,26,0.10); }
.proj-img { position: relative; aspect-ratio: 16/9.5; overflow: hidden; background: var(--forest-900); }
.proj-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform 0.45s; }
.proj-card:hover .proj-img img { transform: scale(1.04); }
.proj-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(12,37,26,0.92);
  color: #F7C88D;
  font-family: var(--head);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: 4px;
}
.proj-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.proj-meta { font-family: var(--head); font-size: 12px; font-weight: 700; color: var(--ochre-600); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.proj-body h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.28; margin-bottom: 9px; color: var(--ink-900); }
.proj-body p { font-size: 15px; color: var(--ink-700); margin-bottom: 16px; flex: 1; }
.proj-more { font-family: var(--head); font-size: 13.5px; font-weight: 700; color: var(--forest-700); transition: color 0.2s; }
.proj-more:hover { color: var(--ochre-600); }

/* 4. Publications & Documentaries */
.media-sec { padding: 82px 0; }
.pub-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 38px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 44px;
}
.pub-main-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; margin-bottom: 12px; }
.pub-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pub-thumbs figure { background: var(--white); border: 1px solid var(--border); border-radius: 7px; overflow: hidden; }
.pub-thumbs img { width: 100%; height: 118px; object-fit: cover; object-position: center 20%; }
.pub-thumbs figcaption { padding: 7px 10px; font-size: 12px; font-weight: 600; color: var(--ink-700); line-height: 1.3; }
.pub-kicker { display: inline-block; font-family: var(--head); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ochre-600); margin-bottom: 8px; }
.pub-copy h3 { font-family: var(--serif); font-size: 24px; line-height: 1.25; color: var(--ink-900); margin-bottom: 12px; }
.pub-copy h3 em { font-weight: 600; color: var(--forest-700); font-size: 20px; display: block; margin-top: 3px; }
.pub-copy > p { font-size: 15.5px; color: var(--ink-700); margin-bottom: 16px; }
.minister-quote {
  background: var(--white);
  border-left: 4px solid var(--ochre-500);
  padding: 15px 18px;
  border-radius: 0 8px 8px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  color: var(--ink-900);
  margin-bottom: 20px;
}
.minister-quote cite { display: block; font-family: var(--head); font-style: normal; font-size: 12.5px; color: var(--ink-500); margin-top: 8px; }
.media-channels { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.radio-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  font-family: var(--head);
  font-size: 13px;
  color: var(--forest-900);
  transition: border-color 0.2s;
}
.radio-chip:hover { border-color: var(--ochre-500); }
.radio-dot { width: 9px; height: 9px; border-radius: 50%; background: #DC2626; flex-shrink: 0; }

.videos-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.videos-head h3 { font-family: var(--head); font-size: 19px; font-weight: 800; color: var(--ink-900); }
.videos-head span { font-size: 13.5px; color: var(--ink-500); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-card {
  text-align: left;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.video-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(12,37,26,0.11); }
.v-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #0C1A13; }
.v-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.video-card:hover .v-thumb img { transform: scale(1.05); }
.v-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(200, 109, 36, 0.94);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  transition: transform 0.2s, background 0.2s;
}
.video-card:hover .v-play { transform: translate(-50%, -50%) scale(1.08); background: var(--forest-800); }
.v-tag { position: absolute; left: 10px; top: 10px; background: rgba(12,37,26,0.88); color: #FFFFFF; font-family: var(--head); font-size: 10.5px; font-weight: 700; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; }
.v-body { padding: 15px 16px 18px; }
.v-body strong { display: block; font-family: var(--head); font-size: 14.5px; font-weight: 700; color: var(--ink-900); line-height: 1.38; margin-bottom: 6px; }
.v-body span { font-size: 12.5px; font-weight: 600; color: var(--ochre-600); }

/* 5. Field Gallery */
.gallery-sec { padding: 80px 0; background: var(--forest-950); color: #FFFFFF; }
.gallery-sec .sec-label { color: #F7C88D; }
.gallery-sec .sec-title { color: #FFFFFF; }
.gallery-sec .sec-lead { color: #C4D9CE; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gal-tile { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: var(--forest-900); }
.gal-tile img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform 0.45s; }
.gal-tile:hover img { transform: scale(1.06); }
.gal-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(7,22,15,0.9));
  font-family: var(--head);
  font-size: 12.5px;
  font-weight: 600;
  color: #FFFFFF;
}

/* 6. Leadership Team */
.team-sec { padding: 82px 0; background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.team-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 15px 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(12,37,26,0.08); }
.team-photo { width: 112px; height: 112px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; border: 3px solid var(--forest-700); background: var(--white); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.team-card h3 { font-family: var(--head); font-size: 15.5px; font-weight: 800; color: var(--ink-900); }
.team-role { display: block; font-family: var(--head); font-size: 12px; font-weight: 700; color: var(--ochre-600); margin: 3px 0 9px; }
.team-card p { font-size: 13px; color: var(--ink-700); line-height: 1.48; }

/* 7. Partners */
.partners-sec { padding: 72px 0; background: var(--paper); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.logo-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 94px;
  padding: 14px 18px;
  display: grid;
  place-items: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.logo-tile:hover { border-color: var(--forest-700); box-shadow: 0 8px 20px rgba(12,37,26,0.07); }
.logo-tile img { max-height: 62px; max-width: 100%; width: auto; object-fit: contain; }
.partner-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.partner-pills span {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--forest-900);
  font-family: var(--head);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
}

/* 8. Contact & Join Movement */
.contact-sec { padding: 82px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.04fr; gap: 46px; align-items: start; }
.contact-cards { display: grid; gap: 12px; margin: 22px 0 20px; }
.c-item { padding: 14px 18px; background: var(--paper); border: 1px solid var(--border); border-left: 4px solid var(--ochre-500); border-radius: 6px; }
.c-item > strong { display: block; font-family: var(--head); font-size: 14px; color: var(--forest-900); margin-bottom: 3px; }
.c-item span strong { font-weight: 700; color: var(--ink-900); }
.c-item span { font-size: 14.5px; color: var(--ink-700); line-height: 1.5; }
.c-item a:hover { color: var(--ochre-600); text-decoration: underline; }
.social-row { display: flex; flex-wrap: wrap; gap: 8px; }
.social-row a {
  font-family: var(--head);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 5px;
  background: var(--forest-50);
  color: var(--forest-900);
  border: 1px solid #D3E3DA;
  transition: all 0.2s;
}
.social-row a:hover { background: var(--forest-800); color: #FFFFFF; border-color: var(--forest-800); }

.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 26px; box-shadow: 0 18px 42px rgba(12,37,26,0.08); }
.form-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; background: var(--forest-50); padding: 4px; border-radius: 7px; }
.ftab { padding: 10px 12px; font-family: var(--head); font-size: 13px; font-weight: 700; color: var(--forest-900); border-radius: 5px; transition: all 0.2s; }
.ftab.active { background: var(--forest-800); color: #FFFFFF; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 12px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--head); font-size: 12px; font-weight: 700; color: var(--ink-900); margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #C8D3CC;
  border-radius: 6px;
  font-family: var(--body);
  font-size: 14.5px;
  background: #FCFDFC;
  color: var(--ink-900);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest-700); background: #FFFFFF; }
.form-ok { display: none; margin-top: 12px; padding: 12px 14px; background: var(--forest-50); border-left: 3.5px solid var(--forest-700); font-size: 13.5px; color: var(--forest-900); border-radius: 0 6px 6px 0; }
.form-ok.show { display: block; }

/* Footer */
.site-footer { background: var(--forest-950); color: #B8CEC2; padding: 56px 0 26px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr; gap: 38px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.foot-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.foot-logo { height: 42px; width: auto; background: #FFFFFF; padding: 4px 6px; border-radius: 5px; }
.foot-brand { display: block; font-family: var(--head); font-size: 18px; color: #FFFFFF; line-height: 1.1; }
.foot-reg { display: block; font-size: 12px; color: #F7C88D; font-weight: 600; margin-top: 2px; }
.footer-grid h4 { font-family: var(--head); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: #F7C88D; margin-bottom: 12px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a:hover { color: #FFFFFF; }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #8BA899; }
.footer-bottom a { color: #F7C88D; text-decoration: underline; }

/* Modals, Video Player & Lightbox */
.modal-backdrop { position: fixed; inset: 0; z-index: 120; background: rgba(7,22,15,0.88); display: none; align-items: center; justify-content: center; padding: 24px; }
.modal-backdrop.open { display: flex; }
.story-modal { background: #FFFFFF; max-width: 700px; width: 100%; max-height: 88vh; overflow-y: auto; border-radius: 10px; position: relative; }
.story-modal img { width: 100%; max-height: 310px; object-fit: cover; object-position: center 20%; }
.story-modal-body { padding: 24px 28px 28px; }
.story-tag { display: inline-block; font-family: var(--head); font-size: 11.5px; font-weight: 700; text-transform: uppercase; color: var(--ochre-600); margin-bottom: 6px; }
.story-modal-body h3 { font-family: var(--serif); font-size: 22px; color: var(--ink-900); margin-bottom: 12px; line-height: 1.25; }
.story-modal-body p { font-size: 15.5px; color: var(--ink-700); margin-bottom: 11px; }
.modal-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(12,37,26,0.78); color: #FFFFFF; font-size: 22px; display: grid; place-items: center; }

.video-modal { background: #0C1A13; max-width: 860px; width: 100%; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,0.16); }
.video-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; color: #FFFFFF; font-family: var(--head); font-size: 14.5px; background: var(--forest-950); }
.modal-x-inline { color: #FFFFFF; font-size: 26px; line-height: 1; padding: 0 4px; }
.video-frame-wrap { position: relative; aspect-ratio: 16/9; width: 100%; background: #000000; }
.video-frame-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.lb-inner { max-width: 940px; width: 100%; text-align: center; }
.lb-inner img { max-height: 76vh; margin: 0 auto; border-radius: 6px; border: 3px solid #FFFFFF; }
.lb-cap { color: #E4EEE8; margin-top: 12px; font-family: var(--head); font-size: 14.5px; }
.lb-close { position: fixed; top: 18px; right: 24px; color: #FFFFFF; font-size: 38px; z-index: 130; }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 1.5px solid rgba(255,255,255,0.35); color: #FFFFFF; display: grid; place-items: center; z-index: 130; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* Floating Controls */
.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1B8749;
  color: #FFFFFF;
  padding: 11px 18px;
  border-radius: 999px;
  font-family: var(--head);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
  transition: transform 0.2s;
}
.wa-fab:hover { transform: translateY(-2px); background: #16723D; }

.demo-ribbon {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 75;
  background: rgba(12, 23, 32, 0.94);
  color: #E2E8F0;
  padding: 9px 14px;
  border-radius: 6px;
  font-family: var(--head);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
}
.demo-ribbon a { color: #5EC2F2; font-weight: 700; text-decoration: underline; }
.demo-close { color: #94A3B8; font-size: 17px; line-height: 1; }

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .hide-md { display: none !important; }
}
@media (max-width: 960px) {
  .about-grid, .pub-feature, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .impact-bar { grid-template-columns: 1fr 1fr; }
  .impact-stat { border-bottom: 1px solid var(--border); }
  .impact-stat:nth-child(2n) { border-right: none; }
  .video-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .nav-menu, .nav-cta-desk { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header.open .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    background: #FFFFFF;
    padding: 18px 24px 24px;
    align-items: flex-start;
    gap: 14px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 14px 30px rgba(12,37,26,0.12);
  }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hide-sm { display: none !important; }
  .brand-text span { display: none; }
  .brand-logo { height: 40px; }
  .top-left, .top-right { gap: 10px; }
  .hero-slider { height: 590px; }
  .slide-content { padding-top: 20px; padding-bottom: 72px; }
  .slide-box h1, .slide-box h2 { font-size: 27px; }
  .slide-box p { font-size: 15px; margin-bottom: 18px; }
  .slide-btns .btn { padding: 10px 15px; font-size: 13px; white-space: normal; text-align: center; }
  .slider-arrow, .s-tab-meta { display: none; }
  .projects-grid, .video-grid, .gallery-grid, .team-grid, .mv-grid, .f-grid, .pub-thumbs { grid-template-columns: 1fr; }
  .pub-feature { padding: 18px; }
  .photo-credit { padding: 10px 14px; }
  .impact-stat { padding: 14px 12px; }
  .impact-stat strong { font-size: 18px; word-break: break-word; }
  .demo-ribbon { display: none; }
  .wa-fab { right: 12px; bottom: 12px; padding: 9px 14px; font-size: 12.5px; }
}
