/* ============================================
   Aviation Athletics — aviationathletics.com
   Brand: Navy #14264C · Gold #FBBB0C · White
   ============================================ */

:root {
  --navy: #14264c;
  --navy-deep: #0c1830;
  --navy-mid: #1d3462;
  --gold: #fbbb0c;
  --gold-dark: #e0a500;
  --white: #ffffff;
  --off-white: #f5f6f8;
  --gray: #8a93a5;
  --ink: #1a2233;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: inherit; }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-deep);
  border-bottom: 3px solid var(--gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand img { height: 52px; width: auto; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--white);
  text-transform: uppercase;
}

.brand-name span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  color: var(--gold);
  margin-top: 3px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.site-nav { display: flex; align-items: center; gap: 1.6rem; }

.site-nav a {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--gold); border-color: var(--gold); }

.site-nav .nav-cta {
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.5rem 1.2rem;
  border-bottom: 0;
  transition: background 0.2s;
}

.site-nav .nav-cta:hover { background: var(--gold-dark); color: var(--navy-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.45;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(12, 24, 48, 0.95) 25%, rgba(12, 24, 48, 0.45) 70%, rgba(12, 24, 48, 0.7));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
}

.hero-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 14ch;
}

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

.hero p {
  margin: 1.4rem 0 2.2rem;
  font-size: 1.15rem;
  max-width: 34rem;
  color: #d6dbe6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2.1rem;
  transition: transform 0.15s, background 0.2s, color 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-dark); }

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  margin-left: 0.8rem;
}

.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

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

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }

.section-dark { background: var(--navy-deep); color: var(--white); }
.section-light { background: var(--off-white); }
.section-gold { background: var(--gold); color: var(--navy-deep); }

.section-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-size: 0.95rem;
}

.section-dark .section-kicker { color: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0.3rem 0 1.2rem;
}

.section-intro { max-width: 46rem; font-size: 1.08rem; }

.section-dark .section-intro { color: #cfd6e4; }

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.8rem;
}

.pillar {
  background: var(--white);
  border-top: 4px solid var(--gold);
  padding: 1.9rem 1.6rem;
  box-shadow: 0 8px 28px rgba(12, 24, 48, 0.08);
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.pillar p { color: #4a5468; font-size: 0.98rem; }

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2rem;
  align-items: center;
}

.split-img {
  position: relative;
}

.split-img img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border: 4px solid var(--gold);
}

.split-img::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  right: -18px;
  bottom: -18px;
  border: 2px solid rgba(251, 187, 12, 0.35);
  z-index: -1;
}

/* ---------- Events / leagues ---------- */
.event-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.6rem;
}

.event-card {
  background: var(--navy-mid);
  padding: 2rem 1.8rem;
  border-left: 4px solid var(--gold);
}

.event-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.event-card ul { list-style: none; }

.event-card li {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.event-card li:last-child { border-bottom: 0; }

.event-card li small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #aeb8cc;
}

/* ---------- Coaches ---------- */
.coach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
  margin-top: 2.8rem;
}

.coach-card {
  background: var(--white);
  box-shadow: 0 10px 34px rgba(12, 24, 48, 0.1);
  overflow: hidden;
}

.coach-card img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  object-position: center 20%;
}

.coach-card-body { padding: 1.7rem 1.7rem 2rem; }

.coach-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.coach-role {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--gold-dark);
  margin-bottom: 0.7rem;
}

.coach-card p { color: #4a5468; font-size: 0.98rem; }

/* ---------- Stats band ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat h3 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
}

.stat p {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.95rem;
  margin-top: 0.3rem;
}

/* ---------- Training page ---------- */
.page-hero {
  background: var(--navy-deep);
  color: var(--white);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero .hero-bg { opacity: 0.25; }

.page-hero .container { position: relative; z-index: 2; }

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  text-transform: uppercase;
  line-height: 1;
}

.page-hero p { margin-top: 1rem; max-width: 40rem; color: #d6dbe6; font-size: 1.12rem; }

.checklist { list-style: none; margin-top: 1.6rem; }

.checklist li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.85rem;
  font-size: 1.03rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0.85em;
  height: 0.85em;
  background: var(--gold);
  clip-path: polygon(14% 44%, 0 62%, 40% 100%, 100% 16%, 82% 0, 40% 66%);
}

/* ---------- Process steps ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.8rem;
  counter-reset: step;
}

.process-step {
  background: var(--white);
  border-top: 4px solid var(--gold);
  padding: 1.9rem 1.5rem;
  box-shadow: 0 8px 28px rgba(12, 24, 48, 0.08);
  counter-increment: step;
}

.process-step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.process-step p { color: #4a5468; font-size: 0.95rem; }

@media (max-width: 1000px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA banner ---------- */
.cta-banner { text-align: center; padding: 4.5rem 0; }

.cta-banner .section-title { margin-bottom: 0.6rem; }

.cta-banner p { max-width: 38rem; margin: 0 auto 1.8rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #aeb8cc;
  padding: 3.5rem 0 2rem;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-brand img { height: 84px; margin-bottom: 0.9rem; }

.footer-brand p { font-size: 0.95rem; max-width: 26rem; }

.site-footer h4 {
  font-family: var(--font-display);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.site-footer ul { list-style: none; }

.site-footer li { margin-bottom: 0.5rem; }

.site-footer a { color: #aeb8cc; text-decoration: none; transition: color 0.2s; }

.site-footer a:hover { color: var(--gold); }

.footer-bottom {
  margin-top: 2.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy-deep);
    border-bottom: 3px solid var(--gold);
    padding: 0.5rem 4% 1.2rem;
  }

  .site-nav.open { display: flex; }

  .site-nav a { width: 100%; padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }

  .site-nav .nav-cta { text-align: center; margin-top: 0.8rem; }

  .pillars, .event-columns, .coach-grid, .split { grid-template-columns: 1fr; }

  .split { gap: 2rem; }

  .btn-outline { margin-left: 0; margin-top: 0.8rem; }

  .footer-grid { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; gap: 0.4rem; }

  .stats-band { grid-template-columns: 1fr; gap: 2rem; }
}
