/* ============================================================
   ASAP — Arlington Sports Access Partnership
   Global Stylesheet
   ============================================================ */

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

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

:root {
  --navy:      #1B2A6B;
  --gold:      #B8922A;
  --white:     #FFFFFF;
  --lightgray: #F5F5F5;
  --darkgray:  #333333;
  --font:      'Inter', Helvetica Neue, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--darkgray);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.2; }

.gold-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}
.gold-link:hover { opacity: 0.75; }
.gold-link::after { content: ' →'; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.15s;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-gold  { background: var(--gold);  color: var(--white); }
.btn-navy  { background: var(--navy);  color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); }

/* ── Layout ── */
.container       { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-sm    { max-width: 720px;  margin: 0 auto; padding: 0 32px; }
.container-md    { max-width: 800px;  margin: 0 auto; padding: 0 32px; }

section { padding: 80px 0; }

/* ── Color Blocks (image replacements) ── */
.color-block-navy { background: var(--navy); }
.color-block-gold { background: var(--gold); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--lightgray);
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-logo-text {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* Center links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--darkgray);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); font-weight: 700; }

/* Join Us button */
.nav-join {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.nav-join:hover { opacity: 0.85; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  padding: 32px;
  gap: 24px;
  border-top: 2px solid var(--lightgray);
}
.nav-mobile a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
}
.nav-mobile.open { display: flex; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 48px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer-name {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-url {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  transition: border-color 0.2s, background 0.2s;
}
.footer-social a:hover { border-color: var(--gold); background: rgba(184,146,42,0.15); }

.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  max-width: 500px;
  line-height: 1.6;
}

/* ============================================================
   PAGE HEADERS (inner pages)
   ============================================================ */
.page-header {
  background: var(--navy);
  padding: 80px 32px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero {
  background: var(--navy);
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 32px;
}

.hero-inner { max-width: 760px; }

.hero-headline {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: rgba(255,255,255,0.88);
  font-weight: 400;
  margin-bottom: 28px;
  line-height: 1.55;
}

.hero-lift {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: var(--gold);
  font-weight: 400;
  font-style: italic;
  margin-top: -16px;
  margin-bottom: 28px;
}

.hero-latest {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
  padding: 10px 18px;
  border: 1px solid rgba(184,146,42,0.4);
  border-radius: 3px;
  background: rgba(184,146,42,0.08);
}

/* ============================================================
   HOME — THE PROBLEM
   ============================================================ */
.problem-section {
  background: var(--white);
}

.problem-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 28px;
}

.problem-section p {
  color: var(--darkgray);
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.75;
}

.problem-section p:last-of-type { margin-bottom: 32px; }

/* ============================================================
   HOME — THREE PILLARS
   ============================================================ */
.pillars-section {
  background: var(--lightgray);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.pillar-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.pillar-bar {
  height: 6px;
}
.pillar-bar-navy { background: var(--navy); }
.pillar-bar-gold  { background: var(--gold); }

.pillar-body {
  padding: 28px 28px 36px;
}

.pillar-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.pillar-text {
  font-size: 0.95rem;
  color: var(--darkgray);
  line-height: 1.7;
}

.pillars-cta { text-align: center; }

/* ============================================================
   HOME — THE COALITION
   ============================================================ */
.coalition-section {
  background: var(--white);
}

.coalition-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  text-align: center;
}

.coalition-subhead {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  color: var(--darkgray);
  font-size: 1rem;
  line-height: 1.7;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.logo-block {
  background: var(--navy);
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}

.coalition-cta { text-align: center; }

/* ============================================================
   HOME — THE RECORD (TEASER)
   ============================================================ */
.record-teaser {
  background: var(--navy);
}

.record-teaser-inner {
  max-width: 800px;
  margin: 0 auto;
}

.record-teaser h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.record-teaser-sub {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  font-weight: 400;
  margin-bottom: 48px;
}

.record-entry {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 28px 0;
}
.record-entry:last-of-type { border-bottom: 1px solid rgba(255,255,255,0.12); }

.record-date {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.record-title {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.record-desc {
  color: rgba(255,255,255,0.68);
  font-size: 0.9rem;
  line-height: 1.65;
}

.record-teaser-cta { margin-top: 40px; }

/* ============================================================
   HOME — GET INVOLVED
   ============================================================ */
.get-involved {
  background: var(--gold);
  padding: 80px 32px;
}

.get-involved-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.gi-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.gi-text p {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.gi-text p:last-of-type { margin-bottom: 0; }

/* Form */
.gi-form {
  background: var(--white);
  border-radius: 8px;
  padding: 40px 36px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #E0E0E0;
  border-radius: 4px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--darkgray);
  transition: border-color 0.2s;
  background: var(--white);
}

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

.form-group textarea { min-height: 80px; resize: vertical; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--navy);
}

.form-checkbox label {
  font-size: 0.85rem;
  color: var(--darkgray);
  line-height: 1.5;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* ============================================================
   THE CASE — SECTIONS
   ============================================================ */
.case-mission {
  background: var(--white);
}

.case-mission p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--darkgray);
}

.case-pillar {
  padding: 80px 0;
}

.case-pillar-gray { background: var(--lightgray); }
.case-pillar-white { background: var(--white); }

.pillar-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.case-pillar h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
}

.case-pillar p {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--darkgray);
  margin-bottom: 16px;
}

.case-pillar h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 16px;
}

.case-pillar ul {
  list-style: none;
  padding: 0;
}

.case-pillar ul li {
  padding: 10px 0 10px 20px;
  position: relative;
  font-size: 0.95rem;
  color: var(--darkgray);
  line-height: 1.65;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.case-pillar ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 2px;
  background: var(--gold);
}

/* Stats table */
.pillar-lift {
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin-bottom: 28px;
}

.case-pillar-gray .pillar-lift {
  color: var(--darkgray);
}

.stats-section {
  background: var(--navy);
}

.stats-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.stats-footnote {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
  font-style: italic;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.stats-table thead tr {
  background: var(--gold);
}

.stats-table thead th {
  padding: 14px 18px;
  text-align: left;
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.stats-table tbody tr:hover { background: rgba(255,255,255,0.04); }

.stats-table tbody td {
  padding: 14px 18px;
  color: rgba(255,255,255,0.85);
  vertical-align: top;
  line-height: 1.55;
}

.stats-table tbody td:first-child { color: var(--white); font-weight: 500; }
.stats-table tbody td:last-child  { color: rgba(255,255,255,0.5); font-size: 0.82rem; }

/* ============================================================
   THE COALITION PAGE
   ============================================================ */
.coalition-grid-section { background: var(--white); }

.category-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}

.join-coalition {
  background: var(--lightgray);
}

.join-coalition-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.join-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
}

.join-text p {
  color: var(--darkgray);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.join-text h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.join-text ul {
  list-style: none;
  padding: 0;
}

.join-text ul li {
  padding: 7px 0 7px 18px;
  position: relative;
  font-size: 0.92rem;
  color: var(--darkgray);
  line-height: 1.6;
}

.join-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 6px;
  height: 2px;
  background: var(--gold);
}

.join-form-wrap {
  background: var(--white);
  border-radius: 8px;
  padding: 40px 36px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

/* ============================================================
   THE RECORD PAGE
   ============================================================ */
.record-log { background: var(--white); }

.record-log-inner {
  max-width: 800px;
  margin: 0 auto;
}

.record-item {
  padding: 36px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.record-item:first-child { border-top: 1px solid rgba(0,0,0,0.08); }

.record-item-date {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.record-item-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.record-item-desc {
  font-size: 0.95rem;
  color: var(--darkgray);
  line-height: 1.7;
  margin-bottom: 14px;
}

/* ============================================================
   NEWS PAGE
   ============================================================ */
.news-grid-section { background: var(--white); }

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

.news-card {
  border: 1.5px solid #E8E8E8;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.news-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.09); }

.news-card-bar {
  height: 5px;
  background: var(--navy);
}

.news-card-body { padding: 24px 24px 28px; }

.news-card-date {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.news-card-headline {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 12px;
}

.news-card-desc {
  font-size: 0.88rem;
  color: var(--darkgray);
  line-height: 1.65;
  margin-bottom: 20px;
}

.news-card-link {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
}

.news-card-placeholder .news-card-headline {
  color: #AAAAAA;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .logo-grid    { grid-template-columns: repeat(2, 1fr); }
  .logo-row     { grid-template-columns: repeat(2, 1fr); }
  .news-grid    { grid-template-columns: repeat(2, 1fr); }

  .get-involved-inner  { grid-template-columns: 1fr; gap: 48px; }
  .join-coalition-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 680px) {
  section { padding: 56px 0; }

  .nav-links { display: none; }
  .nav-join  { display: none; }
  .nav-hamburger { display: flex; }

  .news-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-row  { grid-template-columns: repeat(2, 1fr); }

  .stats-table { font-size: 0.8rem; }
  .stats-table thead th,
  .stats-table tbody td { padding: 10px 12px; }

  .gi-form,
  .join-form-wrap { padding: 28px 20px; }

  .container, .container-sm, .container-md { padding: 0 20px; }

  .page-header { padding: 56px 20px; }

  .hero { min-height: 85vh; }
}
