/* ===== Colors and basics (change the colors here) ===== */
:root {
  --grant-blue: #115FA9; /* official Grant blue, from the logo (kept in the logo/hero) */
  --blue: #1F5288;       /* calmer, deeper Grant blue for buttons and accents */
  --blue-dark: #163C64;
  --navy: #0B1F33;
  --ink: #1B1F24;
  --muted: #4A525C;
  --line: #DDE3EA;
  --tint: #F1F5FA;
  --white: #FFFFFF;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 56px; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.1; margin: 0; }
h1, h2 { font-family: "Barlow Condensed", Inter, sans-serif; text-transform: uppercase; letter-spacing: 0.01em; }
h2 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 24px; }
h3 { font-size: 19px; }
p { margin: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-tint { background: var(--tint); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 8px;
  border: 2px solid var(--blue);
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn-small { padding: 5px 12px; font-size: 14px; }
.btn-ghost { background: transparent; border-color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-light:hover { background: var(--tint); color: var(--navy); border-color: var(--tint); }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.is-disabled { opacity: 0.55; cursor: default; }

/* ===== Top bar ===== */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 4px; padding-bottom: 4px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; }
.brand img { border-radius: 5px; width: 30px; height: 30px; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14px; }
nav a:not(.btn):hover { color: var(--blue); }

/* ===== Hero ===== */
.hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(11,31,51,0.92) 0%, rgba(11,31,51,0.75) 45%, rgba(11,31,51,0.35) 100%),
    url("images/field-blue.jpg") center / cover no-repeat;
}
/* On wider screens, the field sits on the right with the text over the darker left side */
@media (min-width: 900px) {
  .hero {
    background:
      linear-gradient(90deg, rgba(11,31,51,0.9) 0%, rgba(11,31,51,0.75) 35%, rgba(11,31,51,0.3) 50%, rgba(11,31,51,0) 65%),
      url("images/field-blue.jpg") right center / 70% auto no-repeat,
      #0B1F33;
  }
  .hero-inner { min-height: 34vh; display: flex; flex-direction: column; justify-content: center; }
}
.hero-inner { padding-top: 32px; padding-bottom: 32px; max-width: 1160px; }
.hero-inner > * { max-width: 600px; }
.hero .lead { max-width: 520px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; font-weight: 600; color: #C9D8EA; margin-bottom: 10px; }
.hero h1 { font-size: clamp(34px, 4vw, 50px); margin-bottom: 10px; }
.lead { font-size: 16px; color: #E4ECF5; margin-bottom: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== Donate cards ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  border: 1px solid var(--line); border-top: 5px solid var(--blue);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.card p { color: var(--muted); flex-grow: 1; }
.fineprint { margin-top: 22px; color: var(--muted); font-size: 15px; }

/* ===== Where money goes ===== */
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.tile { background: var(--white); border-radius: var(--radius); padding: 22px; }
.tile p { color: var(--muted); margin-top: 6px; }

/* ===== Events + gear ===== */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; }
.events { list-style: none; margin: 0; padding: 0; }
.events li { display: flex; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.date { min-width: 76px; text-align: center; font-weight: 700; color: var(--blue); font-family: "Barlow Condensed", sans-serif; font-size: 22px; }
.events p { color: var(--muted); }
#gear p { margin: 16px 0; color: var(--muted); }
.rounded { border-radius: var(--radius); border: 1px solid var(--line); }

/* ===== Grant Bowl band ===== */
.bowl {
  color: var(--white);
  background: var(--navy);
}
.bowl-inner { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: center; }
.bowl .rounded { border: 0; }
.bowl-inner > div { max-width: 560px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.bowl h2 { margin-bottom: 0; }
.bowl p { color: #E4ECF5; font-size: 18px; }

/* ===== Links ===== */
.links { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.links a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); font-weight: 600;
}
.links a span { font-weight: 400; font-size: 14px; color: var(--muted); }
.links a:hover { border-color: var(--blue); }

/* ===== Footer ===== */
.footer { background: var(--navy); color: #C9D8EA; font-size: 15px; }
.footer a { color: var(--white); }
.footer strong { color: var(--white); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-top: 36px; padding-bottom: 36px; }
.footer p { margin-top: 4px; }

/* ===== This season (playoffs) ===== */
.season { background: var(--tint); }
.season-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.season-card {
  background: var(--white); border-radius: var(--radius); border-top: 6px solid var(--blue);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.tag { text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; font-weight: 600; color: var(--blue); }
.score {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  background: var(--navy); color: var(--white); border-radius: 10px; padding: 18px 24px; min-height: 128px;
}
.score > div { display: flex; flex-direction: column; align-items: center; }
.score .team { text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; color: #C9D8EA; }
.score .num { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 64px; line-height: 1; }
.score .num.word { font-size: clamp(34px, 8vw, 52px); text-transform: uppercase; }
.score .dash { font-size: 22px; text-transform: uppercase; letter-spacing: 0.08em; color: #7F93A8; }
.score .num small { font-size: 0.5em; color: #C9D8EA; vertical-align: 0.6em; margin-right: 2px; }
.score .team { margin-bottom: 4px; }
.season-card h3 { font-size: 22px; }
.when { font-size: 16px; }
.season-card p:last-child { color: var(--muted); }

/* Phones: keep the top bar compact */
@media (max-width: 600px) {
  .topbar .btn-small { display: none; }
  nav { gap: 4px 14px; }
}

/* ===== Homepage support strip ===== */
.support { background: var(--navy); color: var(--white); border-top: 4px solid var(--blue); }
.support-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 40px; padding-bottom: 40px; }
.support h2 { margin-bottom: 6px; }
.support p { color: #E4ECF5; max-width: 620px; }

/* ===== Inner page title (e.g. Donate) ===== */
.page-head { background: var(--navy); color: var(--white); }
.page-head .wrap { padding-top: 44px; padding-bottom: 44px; }
.page-head h1 { font-size: clamp(40px, 6vw, 60px); margin-bottom: 10px; }
.page-head .lead { max-width: 640px; margin-bottom: 0; }
nav a[aria-current="page"] { color: var(--blue); }

/* ===== Become a General ===== */
.intro { color: var(--muted); margin-bottom: 18px; }
.notice { background: var(--tint); border-left: 0; border-radius: var(--radius); padding: 18px 20px; margin-bottom: 22px; }
.notice h3 { margin-bottom: 4px; }
.notice p { color: var(--muted); }
.subhead { margin-bottom: 8px; }
.checklist { margin: 0 0 22px; padding-left: 20px; color: var(--muted); }
.checklist li { margin-bottom: 4px; }

/* ===== History ===== */
.history-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.history-card { background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.stats { display: flex; gap: 28px; }
.stats > div { display: flex; flex-direction: column; }
.stats .big { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 52px; line-height: 1; color: var(--navy); }
.stats span:not(.big) { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.results { list-style: none; margin: 0; padding: 0; }
.results li { display: flex; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); }
.results .yr { min-width: 44px; font-weight: 700; color: var(--ink); }
.results li.win span:last-child { color: var(--ink); }
.results li.win .yr { color: var(--blue); }
.results li.next span:last-child { color: var(--blue); font-weight: 600; }

/* ===== Tryouts timeline ===== */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .when-tag { min-width: 84px; font-weight: 700; color: var(--blue); }
.timeline strong { color: var(--ink); }
#tryouts .fineprint { margin: 10px 0 22px; font-size: 14px; }

/* ===== Single-column sections ===== */
.narrow { max-width: 780px; }

/* ===== Employer giving (Benevity) ===== */
.employer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.employer-inner > div { flex: 1 1 520px; display: flex; flex-direction: column; gap: 12px; }
.employer h2 { margin-bottom: 4px; }
.employer p { color: var(--muted); max-width: 680px; }
.employer p strong { color: var(--ink); }
#give { padding-bottom: 32px; }
nav a.btn[aria-current="page"] { color: var(--white); }
.employer .wrap { border-top: 1px solid var(--line); padding-top: 48px; }
.employer { padding-top: 16px; }

/* Where your money goes: simple labeled tiles */
.money .tile { border-top: 4px solid var(--blue); padding: 26px 22px; }
.money .tile h3 { font-size: 21px; }
