/* =========================================
   GRIDIRON NATION FLAG FOOTBALL LEAGUE
   Midnight Black | Electric Blue | Silver
   Matched to the supplied index.html
========================================= */

:root {
  --black: #080D18;
  --black-soft: #0D1422;
  --panel: #121D2E;
  --panel-light: #1A2940;
  --blue: #1261D6;
  --blue-bright: #287BFA;
  --blue-deep: #0B347D;
  --silver: #AEB8C8;
  --silver-light: #E1E7F0;
  --white: #F5F7FA;
  --muted: #8996AA;
  --border: rgba(174, 184, 200, 0.18);
  --blue-glow: rgba(40, 123, 250, 0.22);
  --gradient-blue: linear-gradient(125deg, #0B347D 0%, #1261D6 55%, #287BFA 100%);
  --content-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

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

button {
  font: inherit;
}

p {
  color: var(--silver);
}

h1, h2, h3, h4 {
  color: var(--white);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}

::selection {
  background: var(--blue);
  color: #fff;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 15px;
  z-index: 2000;
  padding: 10px 14px;
  background: var(--blue-bright);
  color: #fff;
}
.skip-link:focus { top: 15px; }

.section-wrap {
  width: min(var(--content-width), calc(100% - 48px));
  margin-inline: auto;
}

/* HEADER + NAVIGATION */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 82px;
  padding: 0 max(24px, calc((100vw - var(--content-width)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: rgba(8, 13, 24, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: 1.2px;
  line-height: 1.1;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--blue-bright);
  background: linear-gradient(145deg, #183D70, #0A1425);
  color: var(--white);
  font-size: 0.9rem;
  font-style: italic;
  box-shadow: 0 0 18px var(--blue-glow);
}

.brand-dot,
.accent {
  color: var(--blue-bright);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
}

.site-nav a {
  color: var(--silver);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue-bright);
}

.site-nav .nav-cta {
  padding: 12px 16px;
  border: 1px solid var(--blue-bright);
  background: var(--gradient-blue);
  color: #fff;
  box-shadow: 0 5px 18px var(--blue-glow);
}

.site-nav .nav-cta:hover {
  color: #fff;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--panel);
  color: var(--white);
  cursor: pointer;
}

/* HERO */

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(760px, calc(100vh - 82px));
  padding-top: 110px;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse at 82% 48%, rgba(40, 123, 250, 0.20), transparent 34%),
    linear-gradient(110deg, #080D18 0%, #0D1728 58%, #101E35 100%);
  border-bottom: 1px solid var(--border);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 12%;
  right: -150px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(40, 123, 250, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(40, 123, 250, 0.025),
              0 0 0 90px rgba(40, 123, 250, 0.02);
}

.hero-kicker,
.eyebrow {
  color: var(--blue-bright);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 25px;
}

.status-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 14px var(--blue-bright);
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(4rem, 9vw, 8.3rem);
  letter-spacing: -0.065em;
  line-height: 0.91;
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--silver-light);
  text-stroke: 1.5px var(--silver-light);
}

.hero-bottom {
  max-width: 740px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 34px;
}

.hero-copy {
  max-width: 590px;
  font-size: 1.05rem;
}

.round-link {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--blue-bright);
  border-radius: 50%;
  color: var(--blue-bright);
  font-size: 1.5rem;
  transition: 0.2s ease;
}
.round-link:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(3px);
}

.hero-stamp {
  position: absolute;
  right: 4%;
  bottom: 12%;
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(174, 184, 200, 0.35);
  border-radius: 50%;
  background: rgba(8, 13, 24, 0.45);
  color: var(--silver);
  text-align: center;
  transform: rotate(9deg);
}
.hero-stamp span {
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 2px;
}
.hero-stamp strong {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.05;
}

/* INTRO SECTIONS */

.intro {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 50px;
  align-items: start;
  padding-top: 110px;
  padding-bottom: 110px;
  background: var(--black-soft);
}

.eyebrow {
  padding-top: 8px;
}

.intro h2,
.section-heading h2,
.contact h2 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  letter-spacing: -0.045em;
  margin-bottom: 24px;
}

.muted {
  color: var(--muted);
}

.body-copy {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: 1rem;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue-bright);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.text-link:hover { color: var(--silver-light); }

/* BLUE FEATURE BANDS */

.feature-band {
  position: relative;
  overflow: hidden;
  padding: 75px 0;
  background:
    radial-gradient(circle at 88% 50%, rgba(255,255,255,0.12), transparent 24%),
    linear-gradient(115deg, #0A2C61 0%, #104DA8 48%, #1261D6 100%);
}

.feature-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.7fr 1.5fr 1fr;
  align-items: center;
  gap: 35px;
}

.feature-band .eyebrow {
  color: #D7E6FF;
}

.feature-quote {
  color: #fff;
  font-size: clamp(2.6rem, 5.5vw, 5.7rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.feature-quote span {
  color: #B9D5FF;
}

.feature-note {
  max-width: 340px;
  color: rgba(255,255,255,0.88);
  font-size: 0.98rem;
}

.feature-orb {
  position: absolute;
  right: 8%;
  top: 50%;
  color: rgba(255,255,255,0.07);
  font-size: 15rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

/* SERVICE / CARD SECTIONS */

.services {
  padding-top: 105px;
  padding-bottom: 105px;
}

.section-heading {
  margin-bottom: 38px;
}

.section-heading h2 {
  margin-top: 12px;
  margin-bottom: 0;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 150px;
  display: grid;
  grid-template-columns: 55px 1fr;
  align-items: start;
  gap: 20px;
  padding: 27px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  background: linear-gradient(145deg, var(--panel), #0E1726);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  border-color: var(--blue-bright);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.22);
}

.service-number {
  color: var(--blue-bright);
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: 1px;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  letter-spacing: 0.2px;
}

.service-card p {
  font-size: 0.93rem;
}

/* SECTION BACKGROUND VARIATION */

.services:nth-of-type(even) {
  background: var(--black-soft);
}

/* CONTACT / REGISTRATION */

.contact {
  position: relative;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 50px;
  align-items: start;
  padding-top: 105px;
  padding-bottom: 110px;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(40,123,250,0.18), transparent 38%),
    #0D1728;
  border-top: 1px solid var(--border);
}

.contact-content {
  max-width: 760px;
}

.contact-content > p {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: 1.03rem;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 22px;
  border: 1px solid var(--blue-bright);
  background: var(--gradient-blue);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-align: center;
  box-shadow: 0 7px 24px var(--blue-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(40,123,250,0.35);
}

/* FOOTER */

.site-footer {
  min-height: 130px;
  padding: 30px max(24px, calc((100vw - var(--content-width)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: #050912;
  border-top: 1px solid var(--border);
}

.site-footer p {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-align: center;
}

.back-top {
  color: var(--blue-bright);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 1px;
  white-space: nowrap;
}
.back-top:hover { color: var(--silver-light); }

/* RESPONSIVE TABLET */

@media (max-width: 1000px) {
  .site-header {
    padding-inline: 24px;
  }

  .site-nav { gap: 14px; }
  .site-nav a { font-size: 0.67rem; }

  .hero-stamp {
    right: 5%;
    bottom: 7%;
    width: 125px;
    height: 125px;
  }

  .feature-inner {
    grid-template-columns: 1fr 1.5fr;
  }

  .feature-note {
    grid-column: 2;
  }
}

/* RESPONSIVE MOBILE */

@media (max-width: 760px) {
  html { scroll-padding-top: 75px; }

  .section-wrap {
    width: min(100% - 36px, var(--content-width));
  }

  .site-header {
    min-height: 72px;
    padding-inline: 18px;
  }

  .brand { font-size: 0.9rem; }
  .brand-mark { width: 37px; height: 37px; }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: #0B1423;
    border-bottom: 1px solid var(--border);
  }

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

  .site-nav a {
    padding: 13px 5px;
    border-bottom: 1px solid var(--border);
    font-size: 0.78rem;
  }

  .site-nav .nav-cta {
    margin-top: 12px;
    text-align: center;
  }

  .hero {
    min-height: 690px;
    padding-top: 85px;
    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 15vw, 6rem);
  }

  .hero-kicker {
    font-size: 0.62rem;
    letter-spacing: 2px;
  }

  .hero-bottom {
    align-items: flex-start;
    margin-top: 28px;
  }

  .hero-copy { font-size: 0.95rem; }

  .hero-stamp {
    position: relative;
    right: auto;
    bottom: auto;
    width: 105px;
    height: 105px;
    margin: 40px 0 0 auto;
  }

  .hero-stamp strong { font-size: 0.8rem; }

  .intro,
  .contact {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .intro h2,
  .section-heading h2,
  .contact h2 {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .feature-band { padding: 65px 0; }

  .feature-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .feature-quote {
    font-size: clamp(2.8rem, 12vw, 4.5rem);
  }

  .feature-note {
    grid-column: auto;
    max-width: 520px;
  }

  .feature-orb {
    right: -20px;
    font-size: 10rem;
  }

  .services {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
    padding: 30px 18px;
  }
}

@media (max-width: 420px) {
  .brand { font-size: 0.78rem; gap: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .hero h1 { font-size: 3.25rem; }
  .hero-bottom { gap: 14px; }
  .round-link { width: 40px; height: 40px; flex-basis: 40px; }
  .service-card { grid-template-columns: 38px 1fr; gap: 12px; }
}

/* ACCESSIBILITY */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
