/* ─────────────────────────────────────────────────────────────
   FairGame Initiative — style.css
   Fonts:   Playfair Display (headings) + DM Sans (body)
   Palette: Green tightened — #357a38 primary
   Radius:  0px everywhere
            EXCEPTION 1 — inputs: 3px
            EXCEPTION 2 — portal banner buttons: 20px (pill)
   ──────────────────────────────────────────────────────────── */

/* ── TOKENS ──────────────────────────────────────────────────── */
:root {
  --green-900: #1c3a1c;
  --green-800: #254f25;
  --green-700: #2d6030;
  --green-600: #357a38;
  --green-500: #4a9e4e;
  --green-400: #6ab86e;
  --green-100: #e8f5e9;
  --green-50:  #f1faf2;

  --white:    #ffffff;
  --gray-50:  #f8f9f8;
  --gray-100: #f0f2f0;
  --gray-200: #e2e6e2;
  --gray-300: #c8cec8;
  --gray-500: #6b756b;
  --gray-700: #3a3f3a;
  --gray-900: #1a1e1a;

  --ff-serif: 'Playfair Display', Georgia, serif;
  --ff-sans:  'DM Sans', system-ui, sans-serif;

  --nav-h:     68px;
  --banner-h:  44px;
  --border:    1px solid var(--gray-200);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-sans);
  background: var(--white);
  color: var(--gray-900);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  /* push content below fixed nav + banner */
  padding-top: calc(var(--nav-h) + var(--banner-h));
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ── TYPOGRAPHY ──────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--ff-serif); line-height: 1.2; }
h4, h5, h6 { font-family: var(--ff-sans); font-weight: 600; line-height: 1.3; }

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 0.96rem; }
h5 { font-size: 0.84rem; }

p { color: var(--gray-500); line-height: 1.75; }

.overline {
  display: block;
  font-family: var(--ff-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 10px;
}

/* ── LAYOUT ──────────────────────────────────────────────────── */
.container    { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.container-sm { max-width: 740px;  margin: 0 auto; padding: 0 40px; }
.section      { padding: 96px 0; }
.section-sm   { padding: 64px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 20px;
}
.section-head h2 { color: var(--green-900); }

@media (max-width: 768px) {
  .container, .container-sm { padding: 0 20px; }
  .section    { padding: 60px 0; }
  .section-sm { padding: 44px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* ── BUTTONS — sharp (0px) ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--ff-sans);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 0;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary { background: var(--green-600); color: var(--white); }
.btn-primary:hover { background: var(--green-700); }

.btn-outline {
  background: transparent;
  color: var(--green-700);
  border: 1.5px solid var(--green-600);
}
.btn-outline:hover { background: var(--green-50); }

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-500);
  padding: 10px 0;
  font-size: 0.82rem;
  border: none;
  border-radius: 0;
}
.btn-ghost:hover { color: var(--gray-900); }

/* ── PORTAL BANNER BUTTONS — pill (rounded, exception) ───────── */
.btn-portal {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 20px;        /* Intentionally rounded — per spec */
  transition: all 0.18s;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-portal-outline {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.45);
}
.btn-portal-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}
.btn-portal-solid {
  background: var(--white);
  color: var(--green-800);
  border-color: var(--white);
}
.btn-portal-solid:hover {
  background: var(--green-50);
  color: var(--green-700);
}

/* ── INPUTS — 3px radius (only inputs have any radius) ───────── */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  border-radius: 3px;
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  border: 1.5px solid var(--gray-300);
  padding: 11px 14px;
  outline: none;
  width: 100%;
  background: var(--white);
  color: var(--gray-900);
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus { border-color: var(--green-500); }
input::placeholder, textarea::placeholder { color: var(--gray-300); }
textarea { resize: vertical; min-height: 100px; }

/* ── NAV ─────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: var(--border);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 40px; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--ff-serif);
  font-size: 1.2rem; font-weight: 700;
  color: var(--green-800);
  display: flex; align-items: center; gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img { height: 30px; width: auto; }

.nav-links { display: flex; align-items: center; list-style: none; }
.nav-links > li > a {
  display: block;
  padding: 0 14px;
  height: var(--nav-h);
  line-height: var(--nav-h);
  font-size: 0.855rem;
  color: var(--gray-700);
  transition: color 0.15s;
}
.nav-links > li > a:hover { color: var(--green-700); }

.nav-links .dropdown { position: relative; }
.nav-links .dropdown-menu {
  display: none;
  position: absolute; top: var(--nav-h); left: 0;
  background: var(--white);
  border: var(--border);
  border-top: 2px solid var(--green-600);
  min-width: 185px;
  box-shadow: var(--shadow-md);
  flex-direction: column;
  border-radius: 0;
  z-index: 10;
}
.nav-links .dropdown:hover .dropdown-menu { display: flex; }
.nav-links .dropdown-menu a {
  padding: 11px 16px;
  font-size: 0.83rem;
  color: var(--gray-700);
  border-bottom: var(--border);
  height: auto; line-height: 1.4;
}
.nav-links .dropdown-menu a:last-child { border-bottom: none; }
.nav-links .dropdown-menu a:hover { background: var(--green-50); color: var(--green-700); }

.nav-cta {
  background: var(--green-600);
  color: var(--white);
  padding: 10px 18px;
  font-size: 0.83rem; font-weight: 500;
  margin-left: 8px;
  border-radius: 0;
  border: none; display: inline-block;
  transition: background 0.15s;
  line-height: 1;
}
.nav-cta:hover { background: var(--green-700); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none; border: none;
  padding: 4px; cursor: pointer;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--gray-700);
  transition: all 0.2s;
}

/* ── PORTAL BANNER ───────────────────────────────────────────── */
.portal-banner {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 199;
  height: var(--banner-h);
  background: var(--green-800);
  display: flex; align-items: center;
}
.portal-banner-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 40px;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.portal-banner p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
}
.portal-banner-btns { display: flex; gap: 10px; flex-shrink: 0; }

@media (max-width: 560px) {
  .portal-banner p { display: none; }
  .portal-banner-inner { justify-content: center; }
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  background: var(--green-900);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 700px 500px at 65% 40%, rgba(74,158,78,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 380px; gap: 72px;
  align-items: center;
  padding: 80px 0 96px;
}
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--green-400); }
.hero .overline { color: var(--green-400); margin-bottom: 20px; }
.hero-sub {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem; font-weight: 300;
  line-height: 1.75;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  margin-top: 60px; padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero-stat {
  padding-right: 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat + .hero-stat { padding-left: 20px; }
.hero-stat:last-child { border-right: none; }
.hero-stat-n {
  font-family: var(--ff-serif);
  font-size: 2.1rem; font-weight: 700;
  color: var(--white); line-height: 1; margin-bottom: 4px;
}
.hero-stat-n .g { color: var(--green-400); }
.hero-stat-l { font-size: 0.73rem; color: rgba(255,255,255,0.42); letter-spacing: 0.04em; }

/* Hero card */
.hero-card {
  background: var(--white);
  border-top: 3px solid var(--green-600);
  padding: 32px;
}
.hero-card-label {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--green-600); margin-bottom: 16px;
}
.hero-quote {
  font-family: var(--ff-serif);
  font-size: 1.05rem; font-style: italic;
  color: var(--gray-900); line-height: 1.65;
  border: none; padding: 0; margin-bottom: 20px;
}
.hero-quote-attr { display: flex; flex-direction: column; gap: 2px; }
.hero-quote-attr strong { font-size: 0.88rem; color: var(--gray-900); font-weight: 600; }
.hero-quote-attr span   { font-size: 0.78rem; color: var(--gray-500); }

/* ── IMPACT BAND ─────────────────────────────────────────────── */
.impact-band {
  background: var(--green-600);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.impact-stat {
  padding: 26px 24px;
  border-right: 1px solid rgba(255,255,255,0.15);
  text-align: center;
}
.impact-stat:last-child { border-right: none; }
.impact-n {
  font-family: var(--ff-serif);
  font-size: 1.9rem; font-weight: 700;
  color: var(--white); line-height: 1; margin-bottom: 4px;
}
.impact-l { font-size: 0.72rem; color: rgba(255,255,255,0.65); letter-spacing: 0.04em; }

/* ── QUIZ ────────────────────────────────────────────────────── */
.quiz-header { text-align: center; margin-bottom: 40px; }
.quiz-header h2 { color: var(--green-900); margin-bottom: 8px; }
.quiz-header p  { font-size: 0.96rem; }

.quiz-box {
  max-width: 620px; margin: 0 auto;
  background: var(--white);
  border: var(--border);
  box-shadow: var(--shadow-sm);
}
.quiz-track { height: 3px; background: var(--gray-100); }
.quiz-track-fill { height: 100%; background: var(--green-600); width: 0%; transition: width 0.35s ease; }

.quiz-body { padding: 36px 40px 40px; }

.quiz-step { display: none; }
.quiz-step.active { display: block; }

.quiz-result { display: none; }
.quiz-result.active { display: block; }

.quiz-step-lbl {
  font-size: 0.67rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gray-300); margin-bottom: 8px;
}
.quiz-q {
  font-family: var(--ff-serif);
  font-size: 1.35rem; font-weight: 600;
  color: var(--green-900); margin-bottom: 22px; line-height: 1.3;
}
.quiz-opts { display: flex; flex-direction: column; gap: 8px; }
.quiz-opt {
  display: flex; align-items: center;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  cursor: pointer; text-align: left;
  font-size: 0.9rem; color: var(--gray-700);
  font-family: var(--ff-sans);
  border-radius: 0;
  transition: border-color 0.14s, background 0.14s;
  line-height: 1.45;
}
.quiz-opt:hover { border-color: var(--green-500); background: var(--green-50); }
.quiz-opt.sel {
  border-color: var(--green-600); background: var(--green-50);
  color: var(--green-900); font-weight: 500;
}
.quiz-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 26px; padding-top: 20px; border-top: var(--border);
}
.quiz-nav button[disabled] { opacity: 0.4; cursor: not-allowed; }

/* Result */
.result-banner {
  background: var(--green-900);
  padding: 26px 32px;
  margin: -36px -40px 26px;
}
.result-role {
  font-size: 0.67rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--green-400); margin-bottom: 6px;
}
.result-title { font-family: var(--ff-serif); font-size: 1.25rem; color: var(--white); }

.result-links { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.result-link {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px;
  border: var(--border);
  background: var(--gray-50);
  color: var(--gray-900); text-decoration: none;
  transition: border-color 0.14s, background 0.14s;
}
.result-link:hover { border-color: var(--green-500); background: var(--green-50); }
.result-link-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--green-900);
  display: flex; align-items: center; justify-content: center;
}
/* Icon uses CSS shape instead of emoji */
.result-link-icon::after {
  content: '';
  display: block; width: 10px; height: 10px;
  border-right: 2px solid var(--green-400);
  border-top: 2px solid var(--green-400);
  transform: rotate(45deg) translateX(-2px);
}
.result-link strong { display: block; font-size: 0.88rem; margin-bottom: 1px; font-weight: 500; }
.result-link span   { font-size: 0.76rem; color: var(--gray-500); }
.result-link-arrow  { margin-left: auto; color: var(--gray-300); font-size: 0.85rem; }

.result-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }

.result-subscribe p { font-size: 0.82rem; margin-bottom: 8px; }
.email-row { display: flex; }
.email-row input {
  flex: 1; border-right: none;
  border-radius: 3px 0 0 3px;
}
.email-row button {
  padding: 11px 18px;
  background: var(--green-600); color: var(--white);
  border: 1.5px solid var(--green-600);
  border-radius: 0 3px 3px 0;
  font-size: 0.82rem; font-weight: 500;
  font-family: var(--ff-sans); flex-shrink: 0;
  cursor: pointer;
}
.email-row button:hover { background: var(--green-700); }
.msg-ok  { font-size: 0.8rem; color: var(--green-600); margin-top: 6px; }
.msg-err { font-size: 0.8rem; color: #c0392b; margin-top: 6px; }

/* ── MISSION ─────────────────────────────────────────────────── */
.mission-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.mission-grid h2 { color: var(--green-900); margin-bottom: 18px; }
.mission-grid > div > p { margin-bottom: 14px; }
.pull-quote {
  border-left: 3px solid var(--green-600);
  padding-left: 18px;
  font-family: var(--ff-serif);
  font-size: 1.1rem; font-style: italic;
  color: var(--green-800); line-height: 1.55;
  margin: 22px 0;
}

.programs { display: flex; flex-direction: column; }
.program {
  display: grid; grid-template-columns: 44px 1fr;
  gap: 14px; align-items: start;
  padding: 20px 0; border-bottom: var(--border);
}
.program:first-child { border-top: var(--border); }
.program-num {
  font-family: var(--ff-serif);
  font-size: 1.55rem; font-weight: 700;
  color: var(--green-400); line-height: 1; padding-top: 2px;
}
.program h4 { color: var(--green-900); margin-bottom: 4px; }
.program p  { font-size: 0.85rem; line-height: 1.65; }

/* ── RESOURCES GRID ──────────────────────────────────────────── */
.resources-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: var(--border);
}
.res-card {
  padding: 28px 26px;
  border-right: var(--border);
  border-bottom: var(--border);
  background: var(--white);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: background 0.15s;
}
.res-card:hover { background: var(--green-50); }
.res-card:nth-child(3n)      { border-right: none; }
.res-card:nth-last-child(-n+3) { border-bottom: none; }

/* Geometric icon — no emoji */
.res-icon-wrap {
  width: 36px; height: 36px;
  background: var(--green-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.res-icon {
  width: 14px; height: 14px;
  border: 2px solid var(--green-600);
}

.res-card h4 { color: var(--green-900); margin-bottom: 8px; }
.res-card p  { font-size: 0.84rem; flex: 1; margin-bottom: 16px; line-height: 1.6; }
.res-arrow {
  font-size: 0.78rem; font-weight: 500;
  color: var(--green-600); letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 6px;
  transition: gap 0.15s;
}
.res-arrow::after { content: '→'; }
.res-card:hover .res-arrow { gap: 10px; }

/* ── PORTAL SECTION ──────────────────────────────────────────── */
.portal-head { text-align: center; margin-bottom: 44px; }
.portal-head h2 { color: var(--green-900); margin-bottom: 8px; }
.portal-head p  { max-width: 480px; margin: 0 auto; }

.portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.portal-card {
  border: var(--border);
  border-top: 3px solid var(--green-600);
  padding: 32px;
  background: var(--white);
}
.portal-tag {
  display: inline-block;
  font-size: 0.67rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green-600);
  background: var(--green-50);
  padding: 3px 8px;
  margin-bottom: 14px;
  border-radius: 0;
}
.portal-card h3 { color: var(--green-900); margin-bottom: 8px; }
.portal-card > p { font-size: 0.88rem; margin-bottom: 20px; line-height: 1.65; }
.perk-list { list-style: none; margin-bottom: 24px; }
.perk-list li {
  font-size: 0.85rem; color: var(--gray-500);
  padding: 7px 0; border-bottom: var(--border);
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.4;
}
.perk-list li:last-child { border-bottom: none; }
.perk-list li::before {
  content: '';
  display: inline-block; width: 5px; height: 5px;
  background: var(--green-400);
  margin-top: 5px; flex-shrink: 0;
}
.portal-form { display: flex; flex-direction: column; gap: 10px; }
.portal-msg  { font-size: 0.82rem; margin-top: 2px; }
.portal-login { text-align: center; margin-top: 18px; font-size: 0.82rem; color: var(--gray-500); }
.portal-login a { color: var(--green-600); text-decoration: underline; }

/* ── GET INVOLVED ────────────────────────────────────────────── */
.involved-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inv-card {
  border: var(--border);
  background: var(--white);
  padding: 32px;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.inv-card:hover { border-color: var(--green-500); box-shadow: var(--shadow-sm); }
.inv-tag {
  font-size: 0.67rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green-600); margin-bottom: 10px;
}
.inv-card h3 { color: var(--green-900); margin-bottom: 10px; }
.inv-card p  { font-size: 0.86rem; flex: 1; margin-bottom: 20px; line-height: 1.65; }
.inv-arrow   { font-size: 1.1rem; color: var(--green-500); transition: transform 0.18s; }
.inv-card:hover .inv-arrow { transform: translateX(5px); }

/* ── PAGE HEADER (inner pages) ───────────────────────────────── */
.page-header {
  background: var(--green-900);
  padding: 64px 0 56px;
  border-bottom: 3px solid var(--green-600);
}
.page-header .overline { color: var(--green-400); }
.page-header h1 { color: var(--white); }
.page-header p  { color: rgba(255,255,255,0.58); margin-top: 14px; font-size: 1.02rem; max-width: 540px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: rgba(255,255,255,0.38); margin-bottom: 16px;
}
.breadcrumb a { color: var(--green-400); }
.breadcrumb span { opacity: 0.4; }

/* ── CARDS ───────────────────────────────────────────────────── */
.card { background: var(--white); border: var(--border); padding: 28px; }
.card-green { background: var(--green-50); border: var(--border); border-top: 3px solid var(--green-600); padding: 28px; }
.card-dark  { background: var(--green-900); color: var(--white); padding: 28px; }

/* ── BADGES ──────────────────────────────────────────────────── */
.badge { display: inline-block; padding: 3px 8px; font-size: 0.67rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 0; }
.badge-green { background: var(--green-50);  color: var(--green-700); }
.badge-dark  { background: var(--green-900); color: var(--green-400); }
.badge-gray  { background: var(--gray-100);  color: var(--gray-500);  }

/* ── NOTICES ─────────────────────────────────────────────────── */
.notice { padding: 12px 16px; font-size: 0.84rem; border-left: 3px solid var(--green-500); background: var(--green-50); color: var(--green-800); }
.notice.error { border-color: #c0392b; background: #fdf3f3; color: #c0392b; }

/* ── TABLES ──────────────────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th { text-align: left; padding: 10px 14px; background: var(--gray-50); border-bottom: 2px solid var(--gray-200); font-size: 0.73rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500); }
td { padding: 12px 14px; border-bottom: var(--border); color: var(--gray-700); }
tr:hover td { background: var(--green-50); }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer { background: var(--green-900); border-top: 3px solid var(--green-600); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.f-brand-name { font-family: var(--ff-serif); font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.f-brand-desc { font-size: 0.85rem; color: rgba(255,255,255,0.42); line-height: 1.7; max-width: 260px; margin-bottom: 18px; }
.f-social { display: flex; gap: 8px; }
.f-social a { width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; font-size: 0.72rem; color: rgba(255,255,255,0.4); transition: all 0.15s; }
.f-social a:hover { border-color: var(--green-400); color: var(--green-400); }
.f-col h5 { font-size: 0.67rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.28); margin-bottom: 14px; }
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.f-col li a { font-size: 0.85rem; color: rgba(255,255,255,0.52); transition: color 0.15s; }
.f-col li a:hover { color: var(--white); }
.footer-bottom { padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.07); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.25); }
.footer-bottom a { font-size: 0.75rem; color: rgba(255,255,255,0.32); }
.footer-bottom a:hover { color: var(--white); }

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
.anim { animation: fadeUp 0.55s ease both; }
.d1 { animation-delay: 0.08s; } .d2 { animation-delay: 0.18s; }
.d3 { animation-delay: 0.28s; } .d4 { animation-delay: 0.38s; }
.reveal { opacity:0; transform:translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.vis { opacity:1; transform:translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card  { max-width: 480px; }
  .mission-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 860px) {
  .resources-grid { grid-template-columns: 1fr 1fr; }
  .res-card:nth-child(3n)        { border-right: var(--border); }
  .res-card:nth-child(2n)        { border-right: none; }
  .res-card:nth-last-child(-n+3) { border-bottom: var(--border); }
  .res-card:nth-last-child(-n+2) { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .portal-grid { grid-template-columns: 1fr; }
  .hero-stats  { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: none; }
}
@media (max-width: 640px) {
  .hero-stats  { grid-template-columns: repeat(2, 1fr); }
  .impact-band { grid-template-columns: repeat(2, 1fr); }
  .involved-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .res-card { border-right: none; }
  .res-card:nth-last-child(-n+2) { border-bottom: var(--border); }
  .res-card:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .quiz-body { padding: 24px 20px 28px; }
  .result-banner { margin: -24px -20px 22px; padding: 20px; }
  .portal-banner-inner { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
}
@media (max-width: 768px) {
  .nav-links    { display: none; }
  .nav-hamburger { display: flex; }
  body { padding-top: calc(var(--nav-h) + var(--banner-h)); }
}

/* ── ACCESSIBILITY ───────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--green-500); outline-offset: 2px; }
.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; }