/* =============================================================
   FUTURE OF HAMPTON ROADS — Shared Stylesheet

   HOW TO EDIT COLORS: Change the values in :root below.
   Everything on the site flows from these variables.
   HOW TO EDIT FONTS: Change --font-heading or --font-body.
   HOW TO EDIT SPACING: Change --section-padding.
   ============================================================= */

/* ---- GOOGLE FONTS ---- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ---- COLOR & TYPOGRAPHY VARIABLES ---- */
:root {
  /*
    PALETTE INSPIRED BY: clear coastal water, sky blue, charcoal stone, pine sage.
    Teal is the PRIMARY brand color. Charcoal replaces navy.
    To adjust: change the hex values below — everything on the site updates automatically.
  */

  /* Charcoal — dark backgrounds (nav, footer, dark sections) */
  --blue-900: #1e2527;   /* darkest charcoal */
  --blue-700: #2d3436;   /* standard charcoal */
  --blue-500: #4a9eca;   /* sky blue — secondary accent */
  --blue-300: #87c4e0;   /* light sky blue */
  --blue-100: #daeef8;   /* very light sky tint */

  /* Teal / Turquoise — PRIMARY BRAND COLOR (the water) */
  --teal-700: #0d8a82;
  --teal-500: #1ab5a8;
  --teal-300: #4ecdc4;

  /* Yellow — soft, warm (not harsh) */
  --yellow: #ecd94a;
  --yellow-dark: #c9b820;

  /* Sage Green — secondary brand color */
  --sage-700: #4a6741;
  --sage-500: #6b8f5e;
  --sage-300: #a8c5a0;

  /* Rock Gray — charcoal stone tones */
  --gray-900: #1a1a1a;
  --gray-700: #3d3d3d;
  --gray-500: #6b7280;
  --gray-300: #c8cdd4;   /* silver-gray, like the boulders */
  --gray-100: #f0f2f4;   /* light gray */
  --cream: #faf8f5;
  --tan: #e8e2d8;
  --white: #ffffff;

  /* Accents (use sparingly) */
  --magenta: #c0306a;
  --peach: #f5d9c8;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-width: 1160px;
  --container-padding: 0 24px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- BASE ---- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- LAYOUT ---- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

section { padding: var(--section-padding); }

.section-label {
  font-family: var(--font-heading);
  font-size: 0.975rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--gray-700);
  margin-bottom: 16px;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 620px;
  line-height: 1.7;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--yellow);
  color: var(--blue-900);
  border-color: var(--yellow);
}
.btn-primary:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-outline-blue {
  background: transparent;
  color: var(--teal-500);
  border-color: var(--teal-500);
}
.btn-outline-blue:hover { background: var(--teal-500); color: var(--white); }

.btn-blue {
  background: var(--teal-500);
  color: var(--white);
  border-color: var(--teal-500);
}
.btn-blue:hover { background: var(--teal-700); border-color: var(--teal-700); }

/* ---- NAVIGATION ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--teal-500);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.nav-logo img { height: 56px; width: auto; }
.nav-logo span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--gray-900);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gray-900); }
.nav-links a.active { color: var(--teal-500); }

.nav-cta { margin-left: 16px; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(rgba(12,35,64,0.78), rgba(12,35,64,0.72)),
              url('assets/0408CBA6-F2C1-4E4F-A246-B977E9A5DCA7.png') center/cover no-repeat;
  color: var(--white);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Subtle geometric accent */
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(15, 168, 158, 0.08);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(245, 224, 0, 0.05);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-300);
  margin-bottom: 20px;
}

.hero h1 {
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.hero h1 em {
  font-style: normal;
  color: var(--yellow);
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Stat cards floating in hero */
.hero-stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  backdrop-filter: blur(8px);
}

.hero-stat-card .stat-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}

.hero-stat-card .stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--white);
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-300);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--teal-500);
  line-height: 1;
}

.stat-item .label {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: 6px;
}

/* ---- PILLARS / WHAT WE DO ---- */
.pillars {
  background: var(--cream);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border-top: 4px solid var(--sage-500);   /* sage first — more prominent now */
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.pillar-card.warm   { border-top-color: var(--yellow-dark); }
.pillar-card.yellow { border-top-color: var(--teal-500); }
.pillar-card.sage   { border-top-color: var(--blue-500); }
.pillar-card.teal   { border-top-color: var(--teal-700); }

.pillar-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.pillar-card h3 { color: var(--blue-900); margin-bottom: 12px; }
.pillar-card p  { color: var(--gray-500); font-size: 0.95rem; }

/* ---- INITIATIVES ---- */
.initiatives { background: var(--white); }

.initiatives-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 24px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.focus-card {
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.focus-card.blue    { background: var(--teal-700);  color: var(--white); }
.focus-card.teal    { background: var(--blue-900); color: var(--white); }  /* charcoal */
.focus-card.sage    { background: var(--sage-700); color: var(--white); }
.focus-card.yellow  { background: var(--blue-500); color: var(--white); }  /* sky blue */

.focus-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.15);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.focus-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.focus-card p  { font-size: 0.95rem; opacity: 0.85; }

.also-working {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 28px 32px;
}

.also-working h4 {
  color: var(--gray-700);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.also-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.also-tags span {
  font-size: 0.875rem;
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid var(--gray-300);
  padding: 6px 14px;
  border-radius: 999px;
}

/* ---- INITIATIVE COMPACT GRID (12-card layout) ---- */
.initiative-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.initiative-card {
  border-radius: var(--radius-md);
  padding: 20px 22px;
  color: var(--white);
}

.initiative-card.c1 { background: var(--teal-700); }
.initiative-card.c2 { background: var(--blue-900); }
.initiative-card.c3 { background: var(--sage-700); }
.initiative-card.c4 { background: var(--blue-500); }

.initiative-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.initiative-card p  { font-size: 0.83rem; opacity: 0.85; line-height: 1.5; margin: 0; }

/* ── Flip cards ──────────────────────────────────────────────────── */
.flip-card {
  perspective: 1000px;
  height: 320px;
  cursor: pointer;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}
.flip-card-front h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
  font-family: var(--font-heading);
}
.flip-card-hint {
  font-size: 0.7rem;
  opacity: 0.55;
  margin-top: 10px;
  letter-spacing: 0.04em;
  display: none;
}
.flip-card-back {
  transform: rotateY(180deg);
}
.flip-card-back p {
  font-size: 0.78rem;
  line-height: 1.55;
  margin: 0;
  opacity: 0.92;
}
/* Color variants — front and back use same family, back slightly darker */
.flip-card.c1 .flip-card-front { background: var(--teal-700); }
.flip-card.c1 .flip-card-back  { background: #0a6b65; }
.flip-card.c2 .flip-card-front { background: var(--blue-900); }
.flip-card.c2 .flip-card-back  { background: #111a1c; }
.flip-card.c3 .flip-card-front { background: var(--sage-700); }
.flip-card.c3 .flip-card-back  { background: #384f31; }
.flip-card.c4 .flip-card-front { background: var(--blue-500); }
.flip-card.c4 .flip-card-back  { background: #3a8ab5; }

/* Show tap hint on touch-primary devices */
@media (hover: none) {
  .flip-card-hint { display: block; }
}

/* Mobile: stack front + back, no flip */
@media (max-width: 480px) {
  .flip-card { height: auto; perspective: none; }
  .flip-card-inner { transform: none !important; transform-style: flat; display: flex; flex-direction: column; }
  .flip-card-front,
  .flip-card-back {
    position: static;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    transform: none;
    flex: none;
  }
  .flip-card-front { border-radius: var(--radius-md) var(--radius-md) 0 0; padding-bottom: 12px; }
  .flip-card-back  { border-radius: 0 0 var(--radius-md) var(--radius-md); padding-top: 12px; }
  .flip-card-hint  { display: none; }
}

/* ---- HISTORY HIGHLIGHT ---- */
.history-band {
  background: var(--blue-700);   /* charcoal, see :root */
  color: var(--white);
  padding: 80px 0;
}

.history-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.history-band .section-label { color: var(--teal-300); }
.history-band h2 { color: var(--white); margin-bottom: 20px; }
.history-band p  { color: rgba(255,255,255,0.8); font-size: 1rem; }

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 38px;
  width: 2px;
  bottom: 0;
  background: rgba(255,255,255,0.2);
}

.timeline-dot {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--yellow);
}

.timeline-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  padding-top: 8px;
}

.timeline-text span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

/* ---- DISCOVERY BAND ---- */
.discovery-band {
  background: var(--cream);
  border-top: 1px solid var(--tan);
  border-bottom: 1px solid var(--tan);
}

.discovery-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.discovery-quote {
  border-left: 4px solid var(--teal-500);
  padding: 24px 28px;
  background: var(--white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 32px;
}

.discovery-quote blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.7;
}

.discovery-quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-700);
}

.insight-cards { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }

.insight-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border-left: 4px solid var(--blue-500);
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}

.insight-card h4 {
  font-size: 1rem;
  color: var(--blue-900);
  margin-bottom: 6px;
}

.insight-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0;
}

/* ---- BOARD PREVIEW ---- */
.board-preview { background: var(--white); }

.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.board-card {
  text-align: center;
}

.board-photo {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--teal-100, #d4f5f3);
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal-700);
  overflow: hidden;
}

.board-photo img { width: 100%; height: 100%; object-fit: cover; }

.board-card h4 { font-size: 0.95rem; color: var(--gray-900); margin-bottom: 4px; }
.board-card span { font-size: 0.8rem; color: var(--teal-500); font-weight: 600; }
a.board-card { transition: transform 0.2s; display: block; }
a.board-card:hover { transform: translateY(-4px); }

a.board-full-card { transition: box-shadow 0.2s, transform 0.2s; }
a.board-full-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,0.1); }

/* ---- JOIN CTA ---- */
.join-cta {
  background: var(--yellow);
  padding: 80px 0;
}

.join-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.join-text h2 { color: var(--gray-900); margin-bottom: 12px; }
.join-text p  { color: var(--gray-700); font-size: 1.05rem; margin: 0; }
.join-actions { display: flex; gap: 14px; flex-shrink: 0; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--blue-900);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img { height: 100px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-contact p {
  font-size: 0.875rem;
  line-height: 1.8;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-social { display: flex; gap: 16px; }
.footer-social a {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--white); }

/* ---- ABOUT PAGE ---- */
.page-hero {
  background: #4a7a6e;
  color: var(--white);
  padding: 32px 0 28px;
  position: relative;
  overflow: hidden;
}

.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; }

.mission-vision {
  background: var(--cream);
  padding: var(--section-padding);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.mv-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}

.mv-card .mv-label {
  font-family: var(--font-heading);
  font-size: 0.975rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 12px;
}

.mv-card blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.7;
  border-left: 3px solid var(--blue-300);
  padding-left: 20px;
}

/* Full board grid */
.board-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.board-full-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-top: 3px solid var(--teal-500);
}

.board-full-card .photo {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--blue-100);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blue-700);
  overflow: hidden;
}

.board-full-card .photo img { width: 100%; height: 100%; object-fit: cover; }

.board-full-card h4 { color: var(--blue-900); margin-bottom: 4px; font-size: 1rem; }
.board-full-card .role { color: var(--teal-500); font-size: 0.8rem; font-weight: 600; margin-bottom: 8px; }
.board-full-card .bio { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; }

/* ---- MEMBERSHIP PAGE ---- */
.why-join { background: var(--cream); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 1px 10px rgba(0,0,0,0.05);
}

.why-icon { font-size: 2rem; margin-bottom: 14px; }
.why-card h3 { color: var(--blue-900); margin-bottom: 10px; font-size: 1.1rem; }
.why-card p  { color: var(--gray-500); font-size: 0.9rem; }

.membership-form-section { background: var(--white); }

.form-wrap {
  max-width: 640px;
  margin: 48px auto 0;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.form-wrap h3 { color: var(--blue-900); margin-bottom: 8px; }
.form-wrap .form-sub { color: var(--gray-500); margin-bottom: 32px; font-size: 0.95rem; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-500);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-note {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 16px;
  margin-bottom: 0;
}

/* ---- CONTACT PAGE ---- */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  margin-top: 48px;
}

.contact-info h3 { color: var(--blue-900); margin-bottom: 24px; }

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail h4 { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 2px; }
.contact-detail p  { font-size: 1rem; color: var(--gray-900); margin: 0; font-weight: 500; }

/* ---- BIO PAGES ---- */
.bio-hero {
  background: var(--cream);
  padding: 64px 0;
  border-bottom: 1px solid var(--gray-300);
}

.bio-hero-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.bio-photo {
  width: 280px;
  height: 320px;
  border-radius: var(--radius-md);
  object-fit: cover;
  object-position: top;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.bio-photo-placeholder {
  width: 280px;
  height: 320px;
  border-radius: var(--radius-md);
  background: var(--teal-100, #d4f5f3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: var(--teal-700);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.bio-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 20px;
  transition: color 0.2s;
}
.bio-back:hover { color: var(--teal-700); }

.bio-role {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 10px;
}

.bio-name {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--gray-900);
  margin-bottom: 24px;
}

.bio-body {
  background: var(--white);
  padding: var(--section-padding);
}

.bio-body-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--container-padding);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.bio-body-inner p { margin-bottom: 1.4rem; }

.bio-placeholder-note {
  background: var(--blue-100);
  border-left: 4px solid var(--teal-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  color: var(--gray-700);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 32px;
}

/* ---- RESPONSIVE ---- */
/* ============================================================
   HAMBURGER MENU
   ============================================================ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.nav-toggle:hover { background: var(--gray-100); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 16px 24px 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-700);
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  text-decoration: none;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a.active { color: var(--teal-500); }
.mobile-nav a:hover { color: var(--teal-700); }
.mobile-nav .btn {
  margin-top: 16px;
  width: 100%;
  text-align: center;
  padding: 14px;
}

/* ============================================================
   TABLET — 900px
   ============================================================ */
@media (max-width: 900px) {
  .hero-visual        { display: none; }
  .stats-grid         { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid       { grid-template-columns: repeat(3, 1fr); }
  .focus-grid         { grid-template-columns: 1fr; }
  .initiative-grid    { grid-template-columns: repeat(2, 1fr); }
  .history-inner      { grid-template-columns: 1fr; }
  .discovery-inner    { grid-template-columns: 1fr; }
  .board-grid         { grid-template-columns: repeat(2, 1fr); }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .join-inner         { flex-direction: column; }
  .mv-grid            { grid-template-columns: 1fr; }
  .board-full-grid    { grid-template-columns: 1fr 1fr; }
  .why-grid           { grid-template-columns: 1fr; }
  .contact-grid       { grid-template-columns: 1fr; }
  .form-row           { grid-template-columns: 1fr; }
  .tier-grid          { grid-template-columns: 1fr 1fr; }
  .bio-inner          { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE — 600px
   ============================================================ */
@media (max-width: 600px) {
  :root {
    --section-padding: 48px 0;
    --container-padding: 0 16px;
    --h1: 2rem;
    --h2: 1.6rem;
    --h3: 1.25rem;
  }

  .about-intro-grid {
    grid-template-columns: 1fr !important;
  }
  .about-intro-grid img {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Nav — show hamburger, hide desktop links */
  .nav-inner        { padding: 12px 16px; }
  .nav-links        { display: none; }
  .nav-cta          { display: none; }
  .nav-toggle       { display: flex; }
  .nav-logo img     { height: 44px; }

  /* Hero */
  .hero             { padding: 64px 0 56px; }
  .hero h1          { font-size: 1.9rem; line-height: 1.15; }
  .hero-sub         { font-size: 1rem; margin-bottom: 28px; }
  .hero-actions     { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; text-align: center; padding: 14px; }

  /* Stats bar */
  .stats-grid       { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-item .num   { font-size: 2rem; }

  /* Grids */
  .board-grid       { grid-template-columns: 1fr 1fr; gap: 16px; }
  .board-full-grid  { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; gap: 32px; }
  .focus-grid       { grid-template-columns: 1fr; }
  .initiative-grid  { grid-template-columns: repeat(2, 1fr); }
  .tier-grid        { grid-template-columns: 1fr; }

  /* Forms */
  .form-wrap        { padding: 24px 16px; }
  input, textarea, select {
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  /* Buttons — touch-friendly minimum 44px */
  .btn              { min-height: 44px; padding: 12px 20px; font-size: 0.9rem; }

  /* Typography */
  h1                { font-size: 1.9rem; }
  h2                { font-size: 1.5rem; }
  h3                { font-size: 1.2rem; }
  .section-label    { font-size: 0.975rem; }

  /* Sections */
  .pillar-card,
  .focus-card,
  .board-member     { padding: 20px 16px; }

  /* Bio pages */
  .bio-photo        { width: 120px; height: 120px; }
  .bio-header       { padding: 32px 16px 24px; text-align: center; }

  /* Join / CTA strips */
  .join-inner       { flex-direction: column; align-items: flex-start; gap: 20px; }
  .join-inner .btn  { width: 100%; text-align: center; }

  /* History timeline */
  .timeline-item    { padding-left: 20px; }

  /* Footer */
  .footer-inner     { padding: 40px 16px 24px; }
  .footer-bottom    { flex-direction: column; gap: 12px; text-align: center; }
}

/* ============================================================
   SMALL PHONES — 380px
   ============================================================ */
@media (max-width: 380px) {
  .hero h1          { font-size: 1.65rem; }
  .stats-grid       { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-item .num   { font-size: 1.7rem; }
  .board-grid       { grid-template-columns: 1fr 1fr; gap: 10px; }
}
