/* ============================================
   THE ELITE MVP — Design System
   Military Veteran Photographers
   ============================================ */

:root {
  --navy-950: #060f1e;
  --navy-900: #0b1d33;
  --navy-800: #0f2a4a;
  --navy-700: #16385f;
  --gold-500: #c9a24b;
  --gold-400: #d9b96a;
  --red-700: #7a1f1f;
  --red-600: #932424;
  --white: #ffffff;
  --off-white: #f6f5f1;
  --gray-100: #eceef1;
  --gray-300: #c7ccd4;
  --gray-500: #7c8593;
  --gray-700: #3b4250;
  --ink: #1a2130;

  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --container: 1180px;
  --radius: 6px;
  --shadow-sm: 0 2px 8px rgba(6, 15, 30, 0.08);
  --shadow-md: 0 8px 28px rgba(6, 15, 30, 0.16);
  --shadow-lg: 0 20px 60px rgba(6, 15, 30, 0.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--navy-900);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold-500);
  font-weight: 600;
  margin-bottom: 12px;
}

.section {
  padding: 96px 0;
}

.section--tight { padding: 64px 0; }

.section--navy {
  background: var(--navy-900);
  color: var(--gray-100);
}
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 {
  color: var(--white);
}

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

.section-head {
  max-width: 680px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 14px; }
.section-head p { color: var(--gray-500); font-size: 1.05rem; }
.section--navy .section-head p { color: var(--gray-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: var(--shadow-md);
}
.btn--gold:hover { background: var(--gold-400); }

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

.btn--navy {
  background: var(--navy-900);
  color: var(--white);
}
.btn--navy:hover { background: var(--navy-800); }

.btn--sm { padding: 10px 22px; font-size: 0.78rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(11, 29, 51, 0.0);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
  padding: 18px 0;
}
.site-header.is-scrolled {
  background: var(--navy-900);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  color: var(--white);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}
.brand img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-500);
}
.brand strong { display: block; font-size: 1.1rem; }
.brand span { display: block; font-size: 0.62rem; letter-spacing: 0.16em; color: var(--gold-400); font-weight: 400; text-transform: uppercase;}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--gray-100);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold-500);
  transition: width 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2px; background: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Fallback image shows instantly and stays underneath the video */
  background: url('https://www.theelitemvp.org/gallery_gen/2cb96f1f238525959e12c9aeaaea3914_2000x1414_fit.jpg') center/cover no-repeat;
}

/* Looping background video — sits behind the overlay + content.
   If video/hero-bg.mp4 can't load or play (old browser, autoplay blocked), the
   poster frame shows, and the .hero background image is the final fallback. */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* Dark gradient overlay, drawn above the video, below the text */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6,15,30,0.55) 0%, rgba(6,15,30,0.78) 60%, rgba(6,15,30,0.94) 100%);
}

.hero .container { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 60px;}
.hero-content { max-width: 720px; }
.hero .eyebrow { color: var(--gold-400); }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  margin-bottom: 20px;
}
.hero p.lead {
  color: var(--gray-300);
  font-size: 1.2rem;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%; transform: translateX(-50%);
  color: var(--gray-300);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 2;
}
.hero-scroll-cue .line { width: 1px; height: 34px; background: var(--gold-500); animation: pulse-line 2s infinite; }
@keyframes pulse-line { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------- Stats bar ---------- */
.stats-bar {
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 46px 0;
}
.stat h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--gold-500);
  margin-bottom: 6px;
}
.stat p {
  color: var(--gray-300);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.card-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.card-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-photo img { transform: scale(1.06); }
.card-photo .tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--gold-500);
  color: var(--navy-950);
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 3px;
  text-transform: uppercase;
}
.card-body { padding: 22px 24px 26px; }
.card-body h4 { font-size: 1.05rem; margin-bottom: 8px; }
.card-body p { color: var(--gray-500); font-size: 0.94rem; }

.sport-chips {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px;
}
.sport-chips span {
  background: var(--navy-800);
  color: var(--gray-100);
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
}

/* Resource cards */
.resource-card {
  display: flex;
  gap: 18px;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 18px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.resource-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.resource-card img { width: 84px; height: 84px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.resource-card h4 { font-size: 0.98rem; margin-bottom: 4px; }
.resource-card p { color: var(--gray-500); font-size: 0.85rem; }

/* ---------- Creed ---------- */
.creed {
  background: var(--navy-950) url('https://www.theelitemvp.org/gallery_gen/98f16909a7caba363809fedc5ef413da_fit.jpg') center/cover fixed;
  position: relative;
}
.creed::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,15,30,0.92), rgba(6,15,30,0.96));
}
.creed .container { position: relative; z-index: 1; text-align: center; }
.creed-lines p {
  font-family: var(--font-head);
  color: var(--white);
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  letter-spacing: 0.02em;
  margin: 14px 0;
}
.creed-lines p strong { color: var(--gold-500); }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .card-photo { aspect-ratio: 1/1; border-radius: 50%; margin: 0 auto 18px; max-width: 190px; box-shadow: var(--shadow-md); }
.team-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.team-card .rank { color: var(--gold-500); font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Blog ---------- */
.blog-card { padding: 26px; background: var(--off-white); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.blog-card .date { color: var(--gold-500); font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.blog-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
.blog-card p { color: var(--gray-500); font-size: 0.92rem; }
.coming-soon-badge {
  display: inline-block;
  background: var(--red-700);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  border-radius: var(--radius);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-banner h3 { color: var(--white); font-size: 1.7rem; margin-bottom: 10px; }
.cta-banner p { color: var(--gray-300); max-width: 460px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--gray-300);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid h5 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.1em; margin-bottom: 18px; }
.footer-grid p, .footer-grid a { font-size: 0.92rem; color: var(--gray-300); }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid ul a:hover { color: var(--gold-400); }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { max-width: 320px; color: var(--gray-500); }
.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}
.social-row a:hover { background: var(--gold-500); color: var(--navy-950); border-color: var(--gold-500); }
.partner-logos { display: flex; gap: 18px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.partner-logos img { height: 40px; width: auto; filter: grayscale(0.2); background: var(--white); padding: 6px; border-radius: 4px; }
.partner-logos a { display: inline-flex; }
.partner-badge {
  height: 40px; padding: 0 12px; border-radius: 4px; background: var(--white);
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.02em;
  color: #1a1a1a; text-transform: none; white-space: nowrap;
}
.partner-badge svg { width: 18px; height: 18px; flex-shrink: 0; }
.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--gray-500);
  flex-wrap: wrap; gap: 12px;
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  background: linear-gradient(180deg, rgba(6,15,30,0.82), rgba(6,15,30,0.92)), url('https://www.theelitemvp.org/gallery_gen/996eecb7a4327bfd23bac700e66d5bf9_fit.jpg') center/cover;
  padding: 170px 0 70px;
  color: var(--white);
  text-align: center;
}
.page-header h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.breadcrumb { color: var(--gray-300); font-size: 0.85rem; margin-top: 12px; }
.breadcrumb a:hover { color: var(--gold-400); }

/* ---------- Schedule ---------- */
.league-block { margin-bottom: 56px; }
.league-title {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
  font-size: 1.4rem;
}
.league-title::after { content: ''; flex: 1; height: 1px; background: var(--gray-300); }

.event-card {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--off-white);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 14px;
}
.event-date { font-family: var(--font-head); color: var(--navy-900); }
.event-date .day { font-size: 1.6rem; display: block; line-height: 1; }
.event-date .month { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500); }
.event-info h4 { font-size: 1.02rem; margin-bottom: 4px; }
.event-info .loc { color: var(--gray-500); font-size: 0.88rem; margin-bottom: 6px; }
.event-info .notes { color: var(--gray-500); font-size: 0.82rem; }
.event-call { text-align: right; font-size: 0.82rem; color: var(--gray-500); white-space: nowrap; }
.event-call strong { display: block; color: var(--navy-900); font-family: var(--font-head); font-size: 1rem; }

.schedule-note {
  background: var(--navy-900);
  color: var(--gray-100);
  padding: 22px 26px;
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.95rem;
  margin-top: 20px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-row { display: flex; gap: 18px; margin-bottom: 26px; }
.contact-row .icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-row h5 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-500); margin-bottom: 4px; }
.contact-row p, .contact-row a { font-size: 1rem; color: var(--ink); font-weight: 500; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-500); margin-bottom: 6px; display: block; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--gold-500); border-color: var(--gold-500); }

/* ---------- About page extras ---------- */
.mission-lead {
  font-size: 1.15rem;
  color: var(--gray-700);
  max-width: 780px;
  margin-bottom: 20px;
}
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 20px; }
.pillar { padding: 28px; background: var(--off-white); border-radius: var(--radius); border-top: 3px solid var(--gold-500); }
.pillar h4 { font-size: 1rem; margin-bottom: 10px; }
.pillar p { font-size: 0.9rem; color: var(--gray-500); }

.timeline { position: relative; padding-left: 32px; margin-top: 20px; }
.timeline::before { content:''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--gray-300); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item::before {
  content: ''; position: absolute; left: -32px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold-500); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--gold-500);
}
.timeline-item h4 { font-size: 1rem; margin-bottom: 4px; }
.timeline-item .yr { color: var(--gold-500); font-family: var(--font-head); font-size: 0.85rem; }
.timeline-item p { color: var(--gray-500); font-size: 0.92rem; }

/* ---------- Reveal animation ---------- */
/* Safe-by-default: content is visible unless main.js successfully runs and "arms" it.
   If the JS file ever fails to load (bad path, permissions, blocked, etc.), text and
   cards simply skip the fade-in animation instead of staying invisible forever. */
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.reveal-armed { opacity: 0; transform: translateY(24px); }
.reveal.is-visible { opacity: 1 !important; transform: translateY(0) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 78%;
    background: var(--navy-950); flex-direction: column; justify-content: center;
    align-items: flex-start; padding: 40px; gap: 26px; transition: right 0.3s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.is-open { right: 0; }
  .nav-toggle { display: flex; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .event-card { grid-template-columns: 1fr; text-align: left; }
  .event-call { text-align: left; }
}
