/* ═══════════════════════════════════════════════════════
   GEA — Global Ethanol Association
   Main stylesheet
═══════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --bg0: #f7faf6;
  --bg1: #ffffff;
  --bg2: #f1f5ef;
  --bg3: #e8efe6;
  --accent:      #16a34a;
  --accent-hi:   #15803d;
  --accent-warm: #356C2E;
  --accent-dim:  rgba(22,163,74,.09);
  --accent-dim2: rgba(22,163,74,.04);
  --t1: #0c1a0e;
  --t2: #2e5038;
  --t3: #6a9173;
  --border:       rgba(22,163,74,.14);
  --border-hover: rgba(21,128,61,.35);
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg0);
  color: var(--t1);
  overflow-x: hidden;
}

/* ─── SCROLL SNAP (desktop only) ────────────────────── */
@media (min-width: 1024px) {
  body { overflow: hidden; height: 100vh; }
  .scroll-wrap {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
  }
  .section { height: 100vh; scroll-snap-align: start; }

  /* account for fixed 68px nav on all sections */
  .s1-inner, .s2n-inner, .s3-inner, .s4-left,
  .s5-inner, .s6-inner, .s7-inner {
    padding-top: max(84px, 5vh) !important;
  }
}

.section {
  width: 100vw;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ─── NAV ────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: 68px;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(247,250,246,.96);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(22,163,74,.12);
  box-shadow: 0 1px 16px rgba(14,26,16,.06);
  opacity: 0; transform: translateY(-100%);
  transition: opacity .4s, transform .4s cubic-bezier(.4,0,.2,1);
}
nav.show { opacity: 1; transform: translateY(0); }

.nav-logo img { height: 50px; width: auto; display: block; }

.nav-left {
  display: flex; align-items: center; gap: 1rem;
}

.nav-linkedin {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  border: 1px solid var(--border); background: transparent;
  color: var(--t3);
  transition: background .2s, border-color .2s, color .2s;
}
.nav-linkedin svg { width: 22px; height: 22px; }
.nav-linkedin:hover { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 2.25rem; list-style: none; }
@media (max-width: 1023px) { .nav-links { display: none; } }

.nav-links a {
  color: var(--t3); text-decoration: none;
  font-size: .875rem; font-weight: 500; letter-spacing: .02em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--t1); }

.nav-cta {
  background: var(--accent-warm) !important;
  color: #fff !important;
  padding: .45rem 1.2rem; border-radius: 6px;
  font-weight: 700 !important;
}
.nav-cta:hover { filter: brightness(1.1); }

.nav-space {
  border: 1.5px solid var(--border-hover) !important;
  color: var(--accent) !important;
  padding: .4rem 1.1rem; border-radius: 6px;
  font-weight: 600 !important;
}
.nav-space:hover { background: var(--accent-dim) !important; }

/* ─── SECTION DOTS ───────────────────────────────────── */
.dots {
  position: fixed; right: 1.5rem; top: 50%;
  transform: translateY(-50%); z-index: 998;
  display: flex; flex-direction: column; gap: .5rem;
}
@media (max-width: 1023px) { .dots { display: none; } }

.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(12,26,14,.18); cursor: pointer;
  transition: background .3s, transform .3s;
}
.dot.active { background: var(--accent); transform: scale(1.7); }

/* ─── TYPOGRAPHY ─────────────────────────────────────── */
.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: .875rem;
}

.h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.025em;
  color: var(--t1); margin-bottom: 1.25rem;
}

.body-text {
  font-size: 1.0375rem; line-height: 1.72; color: var(--t2);
}

/* ─── BUTTONS ────────────────────────────────────────── */
.btn-p, .btn-s, .btn-o {
  display: inline-block; text-decoration: none;
  padding: .85rem 1.9rem; border-radius: 8px;
  font-size: .9375rem; font-weight: 700; letter-spacing: .01em;
  transition: all .2s;
}
.btn-p { background: var(--accent-warm); color: #fff; }
.btn-p:hover { filter: brightness(1.12); transform: translateY(-1px); }

.btn-s {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn-s:hover { border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.06); }

.btn-o {
  background: transparent; color: var(--t1);
  border: 1.5px solid rgba(12,26,14,.2);
}
.btn-o:hover { border-color: var(--accent); color: var(--accent); }

/* ─── REVEAL ANIMATIONS ──────────────────────────────── */
.rv {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.rv.on  { opacity: 1; transform: none; }
.rv.d1  { transition-delay: .1s; }
.rv.d2  { transition-delay: .2s; }
.rv.d3  { transition-delay: .3s; }
.rv.d4  { transition-delay: .4s; }

/* ─── DOT GRID (eco-tech texture) ───────────────────── */
.hex-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hex-bg::before {
  content: ''; position: absolute; inset: -50%;
  background-image: radial-gradient(circle, rgba(22,163,74,.1) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

/* ─── CARDS (light bg) ───────────────────────────────── */
.proj-card h4, .policy-card h3,
.contact-box-title, .c-val { color: var(--t1); }
.proj-card  { background: #fff; }
.policy-card { background: #fff; }
.contact-box { background: #fff; }

/* sector cards — forced dark text white */
.sector-card .sc-title { color: #f0fdf4; }
.sector-card .sc-desc  { color: white; }
.sector-card .sc-list li { color: white; }

/* ════════════════════════════════════════════════════════
   S0 — LOADER
════════════════════════════════════════════════════════ */
.s0-loader {
  position: absolute; inset: 0; z-index: 20;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease;
}
.s0-loader.done { opacity: 0; pointer-events: none; }

.s0-loader-content {
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
  width: clamp(260px, 40vw, 420px);
}

.s0-loader-logo {
  height: clamp(120px, 20vw, 200px); width: auto;
  filter: drop-shadow(0 4px 24px rgba(22,163,74,.18));
}

.s0-loader-tag {
  font-size: clamp(.8rem, 1.2vw, .95rem);
  font-weight: 500; letter-spacing: .04em;
  color: var(--t3); text-align: center;
}

.s0-loader-track {
  width: 100%; height: 4px;
  background: rgba(22,163,74,.12);
  border-radius: 4px; overflow: hidden;
}

.s0-loader-fill {
  height: 100%; width: 0%;
  background: var(--accent);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(22,163,74,.8), 0 0 22px rgba(22,163,74,.45);
  transition: width .35s cubic-bezier(.4,0,.2,1);
}

.s0-loader-pct {
  font-size: .8rem; font-weight: 700;
  color: var(--accent); letter-spacing: .06em;
}

/* ════════════════════════════════════════════════════════
   S0 — HERO VIDEO
════════════════════════════════════════════════════════ */
#s0 { justify-content: center; align-items: center; }

.s0-video { position: absolute; inset: 0; z-index: 0; }
.s0-video video { width: 100%; height: 100%; object-fit: cover; }
.s0-video::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(3,8,6,.5)  0%,
    rgba(3,8,6,.2)  40%,
    rgba(3,8,6,.72) 80%,
    rgba(3,8,6,.96) 100%
  );
}

.s0-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 0;
  padding: 2rem; max-width: 840px;
}
.s0-content .s0-btns { margin-top: .75rem; opacity: .85; }

.s0-logo {
  height: clamp(240px, 36vw, 480px); width: auto;
  opacity: .85;
  filter: drop-shadow(0 0 60px rgba(255,255,255,.35)) drop-shadow(0 0 20px rgba(255,255,255,.25));
}

.s0-title {
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 900; line-height: 1.02; letter-spacing: -.035em;
  color: #fff;
}

.s0-flag-img {
  height: 2.5rem; width: auto; display: block;
  opacity: .85; border-radius: 3px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.3));
}

.s0-sub {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255,255,255,.68); max-width: 540px; line-height: 1.65;
}

.s0-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; opacity: .85; }

.s0-scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  cursor: pointer; text-decoration: none;
}
.s0-scroll span {
  font-size: .7rem; color: rgba(255,255,255,.4);
  letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
}
.s0-scroll-ring {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  animation: bob 2.2s ease-in-out infinite;
}
.s0-scroll-ring svg { width: 13px; height: 13px; stroke: rgba(255,255,255,.55); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

.s0-vid-controls {
  position: absolute; bottom: 2rem; right: 2rem; z-index: 2;
  display: flex; gap: .4rem; align-items: center;
}
.s0-vid-btn {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  cursor: pointer; padding: 0;
  transition: background .2s;
}
.s0-vid-btn:hover { background: rgba(255,255,255,.18); }
.s0-vid-btn svg {
  width: 12px; height: 12px;
  stroke: rgba(255,255,255,.55); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.s0-vid-btn svg rect, .s0-vid-btn svg polygon { fill: rgba(255,255,255,.55); stroke: none; }

/* ════════════════════════════════════════════════════════
   S1 — ABOUT
════════════════════════════════════════════════════════ */
#s1 {
  background: #071409;
  justify-content: center;
}

.s1-video {
  position: absolute; inset: 0; z-index: 0;
}
.s1-video video {
  width: 100%; height: 100%; object-fit: cover;
}
.s1-video::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(4,12,6,.88) 0%,
    rgba(6,20,10,.82) 50%,
    rgba(4,12,6,.88) 100%
  );
}

.s1-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding: clamp(2.5rem, 6vh, 5.5rem) clamp(1.5rem, 6vw, 6rem);
  max-width: 1360px; margin: 0 auto; width: 100%;
  align-items: center; position: relative; z-index: 1;
}

#s1 .h2 { color: #fff; }
#s1 .body-text { color: #fff; }
#s1 .s1-stat-val { color: var(--accent); }
#s1 .s1-stat-lbl { color: #fff; }
@media (max-width: 1023px) { .s1-inner { grid-template-columns: 1fr; } }

.s1-meta { display: flex; gap: 2.5rem; margin-top: 2rem; }
.s1-stat-val { font-size: 1.8rem; font-weight: 900; letter-spacing: -.04em; color: var(--accent); }
.s1-stat-lbl { font-size: .8rem; color: var(--t3); font-weight: 500; margin-top: .2rem; }

.pillars { display: flex; flex-direction: column; gap: 1.25rem; }

.pillar {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px; padding: 1.5rem;
  display: flex; gap: 1.1rem; align-items: flex-start;
  transition: border-color .3s, background .3s;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pillar:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.16); }

.pi {
  width: 40px; height: 40px; border-radius: 9px;
  background: var(--accent-dim); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.pi svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.pillar h4 { font-size: .9375rem; font-weight: 700; margin-bottom: .3rem; color: #fff; }
.pillar p  { font-size: 1rem; color: #fff; line-height: 1.65; }

/* ════════════════════════════════════════════════════════
   S2 — NEWS
════════════════════════════════════════════════════════ */
#s2 { background: var(--bg2); justify-content: center; }

.s2n-inner {
  padding: clamp(2rem, 4vh, 3.5rem) 0;
  padding-top: max(84px, clamp(2rem, 4vh, 3.5rem));
  width: 100%;
  display: flex; flex-direction: column; height: 100%;
}

.s2n-header {
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.s2n-header { margin-bottom: 1.5rem; }


/* ── Timeline 2-row horizontale ──────────────────────── */
.tl-scroll {
  flex: 1; min-height: 0;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
  cursor: grab;
}
.tl-scroll:active { cursor: grabbing; }
.tl-scroll::-webkit-scrollbar { height: 4px; }
.tl-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.tl-track {
  display: flex; flex-direction: row; align-items: stretch;
  height: 100%; min-width: max-content;
  padding: .5rem 1.5rem; gap: .75rem; position: relative;
}
.tl-hline {
  position: absolute; top: 50%; left: 0; right: 0;
  height: 2px; background: var(--border);
  transform: translateY(-50%); z-index: 0; pointer-events: none;
}
/* Desktop — 1 card per column, single row */
.tl-col {
  display: flex; flex-direction: column; align-items: center;
  width: calc((100vw - 3rem) / 3); min-width: 240px;
  flex-shrink: 0; gap: .4rem; height: 100%;
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
}
.tl-col.tl-visible { opacity: 1; transform: none; }
.tl-col > .tl-cell { flex: 1; min-height: 0; width: 100%; display: flex; align-items: stretch; }
.tl-hline { top: auto; bottom: 14px; transform: none; }
.tl-card-cover { height: 160px; }

/* Mobile — 2 rows via CSS grid, all news visible */
.tl-mid {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem; position: relative; z-index: 2;
}
.tl-dot {
  width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); border: 2.5px solid var(--bg2);
  transition: transform .2s;
}
.tl-col:hover .tl-dot { transform: scale(1.5); }
.tl-year {
  font-size: .65rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: #fff;
  background: var(--accent); padding: .15rem .6rem;
  border-radius: 20px; white-space: nowrap;
}
.tl-cell { display: flex; align-items: stretch; min-height: 0; }
.tl-card {
  display: flex; flex-direction: column;
  background: var(--bg1); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  text-decoration: none; width: 100%; min-height: 0;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.tl-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 6px 24px rgba(14,26,16,.1);
  transform: translateY(-2px);
}
.tl-card-cover { width: 100%; height: 110px; overflow: hidden; flex-shrink: 0; }
.tl-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tl-card:hover .tl-card-cover img { transform: scale(1.05); }
.tl-card-body { padding: .85rem 1rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; min-height: 0; }
.tl-card-body .news-title { font-size: .85rem; font-weight: 700; line-height: 1.3; color: var(--t1); margin-bottom: .15rem; }
.tl-card-body .news-excerpt {
  font-size: .76rem; line-height: 1.5; color: var(--t2);
  flex: none;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-clamp: 2;
}

/* Body text in timeline card — fills remaining space + fade */
.tl-body-text {
  display: block; flex: 1; min-height: 0; overflow: hidden;
  font-size: .85rem; line-height: 1.6; color: var(--t2);
  margin-top: .35rem; padding-top: .35rem; border-top: 1px solid var(--border);
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}
.tl-date { font-size: .67rem; color: var(--t3); font-weight: 500; margin-top: auto; padding-top: .25rem; }

@media (max-width: 1023px) {
  /* Height chain */
  #s2 { height: 100svh; }
  #s2 .s2n-inner { height: 100%; }
  .tl-scroll { height: 100%; min-height: 0; }

  /* 2-row grid layout */
  .tl-track {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    grid-auto-columns: 72vw;
    align-items: stretch;
    height: 100%; padding: .5rem 1rem; gap: .75rem;
  }
  .tl-hline { display: none; }
  .tl-col   { width: auto; height: 100%; min-width: 0; min-height: 0; overflow: hidden; }
  .tl-mid   { display: none; }
  .tl-cell  { flex: 1; min-height: 0; }
  .tl-card  { height: 100%; }
  .tl-card-cover { height: 70px; }
  .tl-card-body .news-excerpt { -webkit-line-clamp: 2; line-clamp: 2; }
}

.news-card {
  background: var(--bg1); border: 1px solid var(--border);
  border-radius: 18px; padding: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: border-color .3s, transform .2s, box-shadow .3s;
  cursor: pointer;
}
.news-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.45);
}
.news-card-link {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit; flex: 1;
}
.news-card-cover-wrap {
  position: relative; width: 100%; height: 190px; overflow: hidden;
}
.news-card-cover {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .88;
  transition: opacity .3s, transform .4s;
}
.news-card:hover .news-card-cover { opacity: 1; transform: scale(1.03); }
.news-card-cover-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(7,16,11,.85) 100%);
}
.news-card-body {
  padding: 1.6rem; display: flex; flex-direction: column; gap: .85rem; flex: 1;
}

.news-meta {
  display: flex; align-items: center; gap: .75rem;
}

.news-tag {
  background: var(--accent-dim); color: var(--accent);
  font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: .25rem .7rem; border-radius: 20px;
}

.news-date {
  font-size: .78rem; color: var(--t3); font-weight: 500;
}

.news-title {
  font-size: 1.05rem; font-weight: 800; color: var(--t1);
  line-height: 1.3; letter-spacing: -.02em;
}

.news-excerpt {
  font-size: .875rem; color: var(--t2); line-height: 1.7; flex: 1;
}

.news-more {
  font-size: .825rem; font-weight: 700; color: var(--accent);
  letter-spacing: .01em;
  transition: letter-spacing .2s;
}
.news-card:hover .news-more { letter-spacing: .04em; }

/* ════════════════════════════════════════════════════════
   S3 — SECTORS
════════════════════════════════════════════════════════ */
#s3 { background: var(--bg1); }

.s3-inner {
  padding: clamp(2.5rem, 5vh, 4.5rem) clamp(1.5rem, 6vw, 6rem);
  max-width: 1360px; margin: 0 auto; width: 100%;
  display: flex; flex-direction: column; height: 100%;
}

.s3-header { margin-bottom: 2.25rem; }

.sector-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.25rem; flex: 1;
}
@media (max-width: 1023px) { .sector-grid { grid-template-columns: 1fr; } }

.sector-card {
  border-radius: 16px; padding: clamp(1.75rem, 2.5vw, 2.5rem);
  display: flex; flex-direction: column;
  border: 1px solid var(--border); position: relative; overflow: hidden;
  transition: border-color .3s;
}
.sector-card:hover { border-color: var(--border-hover); }

.sector-card.marine {
  background: linear-gradient(140deg, #040e07 0%, #062010 60%, #072a16 100%);
}
.sector-card.marine::before {
  content: ''; position: absolute; inset: 0;
  background: url('../assets/img/boat_engine.jpg') center/cover;
  opacity: .15;
}
.sector-card.avia {
  background: linear-gradient(140deg, #070c04 0%, #111b05 60%, #172408 100%);
}
.sector-card.avia::before {
  content: ''; position: absolute; inset: 0;
  background: url('../assets/img/plane_enginewebp.webp') center/cover;
  opacity: .15;
}

.sc-num    { font-size: 2.2rem; margin-bottom: 1.25rem; position: relative; z-index: 1; }
.sc-eyebrow {
  font-size: .68rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .6rem;
  position: relative; z-index: 1;
}
.sc-title {
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.15;
  margin-bottom: .875rem; position: relative; z-index: 1;
}
.sc-desc {
  font-size: 1.1rem; color: white; line-height: 1.65;
  margin-bottom: 1.5rem; position: relative; z-index: 1;
}
.sc-list {
  list-style: none; display: flex; flex-direction: column;
  gap: .6rem; margin-top: auto; position: relative; z-index: 1;
}
.sc-list li {
  font-size: .875rem; color: white;
  display: flex; align-items: center; gap: .625rem;
}
.sc-list li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════
   S3 — WORKING GROUPS
════════════════════════════════════════════════════════ */
#s4 { background: var(--bg0); }

.s4-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
@media (max-width: 1023px) { .s4-inner { grid-template-columns: 1fr; } }

.s4-left {
  padding: clamp(2.5rem, 6vh, 5.5rem) clamp(1.5rem, 5vw, 5.5rem);
  display: flex; flex-direction: column; justify-content: center;
}

.s4-right { position: relative; }
.s4-right img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.55) saturate(.75);
}
.s4-right::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, var(--bg0) 0%, rgba(247,250,246,0) 45%);
}
@media (max-width: 1023px) { .s4-right { display: none; } }

.proj-cards { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 2.25rem; }

.proj-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.4rem 1.5rem;
  display: flex; gap: 1.25rem; align-items: flex-start;
  transition: border-color .3s, transform .2s;
}
.proj-card:hover { border-color: var(--border-hover); transform: translateX(4px); }

.proj-ico {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-dim); color: var(--accent);
  font-size: 1.2rem; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.proj-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: .3rem; }
.proj-card p  { font-size: 1rem; color: var(--t2); line-height: 1.6; }


/* ════════════════════════════════════════════════════════
   S4 — POLICY
════════════════════════════════════════════════════════ */
#s5 { background: var(--bg0); }

.s5-inner {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh;
}

/* Image panel — left */
.s5-left { position: relative; overflow: hidden; }
.s5-left img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.55) saturate(.75);
}
.s5-left::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to left, var(--bg0) 0%, rgba(247,250,246,0) 45%);
}

/* Content panel — right, scrollable internally if content overflows */
.s5-right {
  padding: clamp(1.5rem, 4vh, 3.5rem) clamp(1.5rem, 5vw, 5.5rem);
  display: flex; flex-direction: column; justify-content: flex-start;
  overflow-y: auto; height: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(22,163,74,.25) transparent;
}
.s5-right::-webkit-scrollbar { width: 4px; }
.s5-right::-webkit-scrollbar-track { background: transparent; }
.s5-right::-webkit-scrollbar-thumb { background: rgba(22,163,74,.25); border-radius: 4px; }

.policy-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }

.policy-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.5rem 1.6rem;
  display: flex; flex-direction: column;
  transition: border-color .3s;
}
.policy-card:hover { border-color: var(--border-hover); }

.policy-ico { font-size: 1.8rem; margin-bottom: .75rem; flex-shrink: 0; }
.policy-card-body { display: flex; flex-direction: column; flex: 1; }
.policy-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--t1); }
.policy-card p  { font-size: .9rem; color: var(--t2); line-height: 1.65; }
.policy-tag {
  display: inline-block; margin-top: .85rem; align-self: flex-start;
  background: var(--accent-dim); color: var(--accent);
  padding: .22rem .65rem; border-radius: 20px;
  font-size: .7rem; font-weight: 700; letter-spacing: .04em;
}

/* Desktop — compact horizontal layout */
@media (min-width: 1024px) {
  .s5-right {
    padding: clamp(1rem, 3vh, 2rem) clamp(1.25rem, 3vw, 3rem);
    justify-content: center;
  }
  .s5-right .eyebrow { margin-bottom: .5rem; }
  .s5-right .h2 { margin-bottom: .65rem; font-size: clamp(1.6rem, 2.4vw, 2.4rem); }
  .s5-right .body-text { font-size: .95rem; line-height: 1.6; }
  .policy-grid { gap: .65rem; margin-top: 1rem; }
  .policy-card {
    flex-direction: row; align-items: flex-start;
    gap: .85rem; padding: .9rem 1.1rem;
  }
  .policy-ico { font-size: 1.5rem; margin-bottom: 0; margin-top: .1rem; }
  .policy-card h3 { font-size: .9rem; margin-bottom: .3rem; }
  .policy-card p  { font-size: .82rem; line-height: 1.55; }
  .policy-tag { margin-top: .5rem; font-size: .65rem; padding: .15rem .5rem; }
}

/* Mobile — both image panels visible as banner */
@media (max-width: 1023px) {
  .s4-inner, .s5-inner { grid-template-columns: 1fr; }

  .s4-right {
    display: block;
    height: 220px; order: -1;
  }
  .s4-right img { filter: brightness(.6) saturate(.75); }
  .s4-right::after {
    background: linear-gradient(to top, var(--bg0) 0%, rgba(247,250,246,0) 50%);
  }

  .s5-left {
    height: 220px;
  }
  .s5-left::after {
    background: linear-gradient(to top, var(--bg0) 0%, rgba(247,250,246,0) 50%);
  }
}

/* ════════════════════════════════════════════════════════
   S5 — MEMBERS
════════════════════════════════════════════════════════ */
#s6 {
  background: var(--bg1);
  justify-content: center;
  border-top: 1px solid var(--border);
}

.s6-inner {
  padding: clamp(2.5rem, 5vh, 4.5rem) clamp(1.5rem, 6vw, 6rem);
  max-width: 1360px; margin: 0 auto; width: 100%;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; height: 100%; text-align: center;
}

.s6-header { margin-bottom: 2rem; }

.mb-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem; width: 100%; margin-bottom: 2rem;
}
@media (max-width: 1023px) { .mb-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .mb-grid { grid-template-columns: 1fr; } }

.mb-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.5rem;
  display: flex; flex-direction: column; gap: .75rem;
  text-align: left;
  transition: border-color .3s, transform .2s;
}
.mb-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }

.mb-ico {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--accent-dim); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.mb-ico svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.mb-card h4 { font-size: .9375rem; font-weight: 700; color: var(--t1); }
.mb-card p  { font-size: .85rem; color: var(--t2); line-height: 1.65; }

.s6-footer {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  width: 100%;
}

.s6-more {
  font-size: 1.05rem; padding: 1rem 2.5rem;
}

.vc { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; margin-bottom: 4rem; }
.vc-step { display: flex; flex-direction: column; align-items: center; gap: .7rem; }

.vc-node {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--accent-dim); border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.vc-node svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vc-lbl { font-size: .7rem; font-weight: 600; color: var(--t3); max-width: 72px; }

.vc-arrow {
  width: clamp(24px, 4vw, 48px); height: 2px;
  background: linear-gradient(to right, var(--accent), rgba(22,163,74,.15));
  margin: 0 .25rem 1.5rem;
}

.logos-grid {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: clamp(.75rem, 2.5vw, 2.5rem);
}
.logo-item { width: clamp(80px, 10vw, 120px); }
@media (max-width: 1023px) {
  .logos-grid {
    display: flex; flex-wrap: wrap;
    justify-content: center; align-items: center;
    gap: 1.25rem;
  }
  /* 3-2-2 : first 3 → 3 per row, next 4 → 2 per row */
  .logos-grid .logo-item:nth-child(-n+3) { width: calc(33.33% - 1.25rem); }
  .logos-grid .logo-item:nth-child(n+4)  { width: calc(50% - 1.25rem); }
}
.logo-item { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.logo-item img {
  height: 60px; width: auto; max-width: 140px; object-fit: contain;
  filter: saturate(.5) brightness(.35); opacity: .65;
  transition: filter .3s, opacity .3s, transform .3s;
}
.logo-item:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.logo-role { font-size: .68rem; color: var(--t3); font-weight: 600; }

/* ════════════════════════════════════════════════════════
   S6 — JOIN & CONTACT
════════════════════════════════════════════════════════ */
#s7 {
  position: relative;
  justify-content: center;
  background:
    url('../assets/img/contact_section_bg.jpg') center/cover no-repeat;
}
#s7::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(
    135deg,
    rgba(4,16,8,.82) 0%,
    rgba(8,30,16,.72) 50%,
    rgba(4,20,10,.88) 100%
  );
}

.s7-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  padding: clamp(2.5rem, 6vh, 5.5rem) clamp(1.5rem, 6vw, 6rem);
  max-width: 1360px; margin: 0 auto; width: 100%;
  align-items: center;
}
@media (max-width: 1023px) { .s7-inner { grid-template-columns: 1fr; } }

/* Left column — text on dark bg */
#s7 .eyebrow       { color: rgba(74,210,120,.75); }
#s7 .h2            { color: #fff; }
#s7 .body-text     { color: rgba(255,255,255,.65); }

.s7-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.25rem; }
#s7 .btn-s {
  background: #fff; color: var(--t1);
  border: 1.5px solid rgba(22,163,74,.45);
}
#s7 .btn-s:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Contact box — frosted glass */
.contact-box {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: 20px; padding: 2.25rem;
}
.contact-box-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.5rem; color: #fff; }

.c-items { display: flex; flex-direction: column; gap: 1.25rem; }
.c-item  { display: flex; gap: 1rem; align-items: flex-start; }

.c-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(74,210,120,.15); border: 1px solid rgba(74,210,120,.2);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.c-icon svg { width: 15px; height: 15px; stroke: #4ad278; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.c-lbl { font-size: .7rem; color: rgba(255,255,255,.45); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.c-val { font-size: .9375rem; margin-top: .15rem; line-height: 1.5; color: rgba(255,255,255,.85); }
.c-val a { color: #4ad278; text-decoration: none; }
.c-val a:hover { color: #fff; }

.s7-footer {
  grid-column: 1 / -1; text-align: center;
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem;
  font-size: .8rem; color: rgba(255,255,255,.35);
}
.s7-footer a { color: rgba(74,210,120,.7); text-decoration: none; }
.s7-footer a:hover { color: #fff; }

/* ════════════════════════════════════════════════════════
   MOBILE NAV
════════════════════════════════════════════════════════ */

/* Mobile top bar (burger + action buttons) */
.mob-bar {
  display: none;
  position: fixed; top: 1rem; right: 1.25rem; z-index: 1050;
  align-items: center; gap: .5rem;
}
@media (max-width: 1023px) {
  .mob-bar { display: flex; }
}

.mob-bar-join {
  height: 38px; padding: 0 1rem;
  background: var(--accent-warm); color: #fff;
  border-radius: 8px; font-size: .8rem; font-weight: 700;
  text-decoration: none; display: flex; align-items: center;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: filter .2s;
}
.mob-bar-join:hover { filter: brightness(1.1); }

.mob-bar-connect {
  height: 38px; padding: 0 1rem;
  background: rgba(255,255,255,.15); color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px; font-size: .8rem; font-weight: 600;
  text-decoration: none; display: flex; align-items: center;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background .3s, border-color .3s, color .3s;
}
.mob-bar-connect:hover { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.5); }

.mob-bar-join.on-light { background: var(--accent-warm); }
.mob-bar-connect.on-light {
  background: #fff; color: var(--t1);
  border-color: rgba(22,163,74,.35);
}
.mob-bar-connect.on-light:hover { background: var(--accent-dim); border-color: var(--accent); }

/* Floating burger */
.burger-float {
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 8px;
  border-radius: 10px; border: 1px solid rgba(255,255,255,.2);
  cursor: pointer;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background .3s, border-color .3s;
  display: flex;
}
.burger-float span { transition: background .3s; }
.burger-float span {
  display: block; height: 2px; border-radius: 2px; background: #fff;
}
.burger-float span:nth-child(1) { width: 22px; }
.burger-float span:nth-child(2) { width: 15px; }
.burger-float span:nth-child(3) { width: 19px; }

.burger-float.on-light {
  background: #fff;
  border-color: rgba(22,163,74,.35);
}
.burger-float.on-light span { background: var(--t1); }

/* Mobile overlay */
.mob-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 1100;
  background: #071409;
  flex-direction: column;
  padding: 4rem 2rem 2rem;
  overflow-y: auto;
}

.mob-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.mob-close:hover { background: rgba(255,255,255,.18); }
.mob-close svg { width: 20px; height: 20px; }

.mob-top {
  display: flex; align-items: center; gap: 1.25rem;
  margin-bottom: 2rem;
}

.mob-logo-wrap {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mob-logo {
  height: 52px; width: auto;
}

.mob-linkedin {
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.mob-linkedin svg { width: 48px; height: 48px; }
.mob-linkedin:hover { color: #fff; }

.mob-links { display: flex; flex-direction: column; flex: 1; }

.mob-link {
  font-size: clamp(1.75rem, 8vw, 2.5rem);
  font-weight: 800; letter-spacing: -.03em;
  color: rgba(255,255,255,.6); text-decoration: none;
  padding: .6rem 0; display: block;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .2s, transform .2s;
}
.mob-link:last-child { border-bottom: none; }
.mob-link:hover { color: #fff; transform: translateX(6px); }

.mob-actions {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; gap: .75rem;
}

.mob-action-join {
  font-size: 1.1rem; font-weight: 700;
  color: var(--accent-warm); text-decoration: none;
  transition: color .2s, transform .2s;
  display: block;
}
.mob-action-join:hover { color: #5a9e4a; transform: translateX(4px); }

.mob-action-space {
  font-size: .95rem; font-weight: 600;
  color: rgba(255,255,255,.4); text-decoration: none;
  transition: color .2s, transform .2s;
  display: block;
}
.mob-action-space:hover { color: rgba(255,255,255,.75); transform: translateX(4px); }

.mob-footer {
  margin-top: 1.5rem; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .8rem; color: rgba(255,255,255,.28);
  display: flex; flex-direction: column; gap: .25rem;
}
