/* Edmonton Rush Heritage Archive — bespoke theme
   Palette: Rush green + charcoal/black + silver. Athletic/museum tone.
   No scroll-reveal library is used. All content is visible with CSS alone. */

:root {
  --green: #0f7a3d;
  --green-dark: #0a5227;
  --green-light: #16a34a;
  --ink: #0c0f0d;
  --charcoal: #141815;
  --steel: #1e2420;
  --silver: #c7cec9;
  --paper: #f4f6f5;
  --muted: #7b857f;
  --line: #2a322d;
  --text: #1a1f1c;
  --text-inv: #eef2f0;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: "Oswald", "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-transform: none;
}
h2 { font-size: 1.9rem; margin: 2.4rem 0 0.8rem; padding-left: 0.7rem; border-left: 5px solid var(--green); }
h3 { font-size: 1.35rem; margin: 1.6rem 0 0.5rem; }

/* Safeguard: content is never hidden waiting on JS. Any reveal animation
   is progressive enhancement only and must end in the visible state. */
[data-aos] { opacity: 1 !important; transform: none !important; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 3px solid var(--green);
}
.nav-wrap {
  max-width: var(--maxw); margin: 0 auto; padding: 0 1rem;
  display: flex; align-items: center; gap: 1rem; min-height: 62px;
}
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase;
  color: #fff; letter-spacing: 0.06em; font-size: 1.15rem; white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand .mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; background: var(--green); color: #fff;
  font-weight: 700; border-radius: 3px; font-size: 1.15rem;
}
.brand small { display: block; font-size: 0.6rem; letter-spacing: 0.18em; color: var(--silver); font-family: "Inter",sans-serif; font-weight: 500; text-transform: uppercase; }
.nav-toggle {
  margin-left: auto; display: none; background: none; border: 1px solid var(--line);
  color: #fff; font-size: 1.4rem; line-height: 1; padding: 0.3rem 0.6rem; border-radius: 3px; cursor: pointer;
}
.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex; flex-wrap: wrap; gap: 0.15rem; list-style: none; margin: 0; padding: 0;
}
.main-nav a {
  display: block; color: var(--silver); font-family: "Oswald", sans-serif; text-transform: uppercase;
  font-size: 0.82rem; letter-spacing: 0.04em; padding: 0.5rem 0.6rem; border-radius: 3px; white-space: nowrap;
}
.main-nav a:hover { color: #fff; background: var(--steel); text-decoration: none; }
.main-nav a.active { color: #fff; box-shadow: inset 0 -3px 0 var(--green); }

/* ---------- Hero / page banner ---------- */
.page-hero {
  position: relative; overflow: hidden; background: var(--charcoal);
  border-bottom: 4px solid var(--green);
}
.page-hero .hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) brightness(0.62); z-index: 0;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(12,15,13,0.35) 0%, rgba(12,15,13,0.72) 100%);
}
.page-hero.no-img { background: linear-gradient(135deg, var(--green-dark), var(--ink)); }
.hero-inner {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto;
  padding: 3.2rem 1rem; color: #fff;
  animation: fadeUp 0.6s ease both;
}
.home .hero-inner { padding: 5.5rem 1rem 5rem; }
.kicker {
  display: inline-block; font-family: "Oswald", sans-serif; text-transform: uppercase;
  letter-spacing: 0.22em; font-size: 0.72rem; color: #bff0cf; margin-bottom: 0.8rem;
  border-left: 4px solid var(--green-light); padding-left: 0.6rem;
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.6vw, 3.2rem); margin: 0; max-width: 20ch; }
.home .page-hero h1 { max-width: 16ch; }
.hero-tag { color: var(--silver); font-size: 1.05rem; margin-top: 0.9rem; max-width: 60ch; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* Reduced-motion / no-animation safety: hero content always visible, never stuck faded. */
@media (prefers-reduced-motion: reduce) {
  .hero-inner { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- Main content ---------- */
main { display: block; }
.container { max-width: 820px; margin: 0 auto; padding: 2.6rem 1rem 3rem; }
.container.wide { max-width: var(--maxw); }
.container p { margin: 0 0 1.1rem; }
.container ul, .container ol { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.container li { margin: 0.3rem 0; }
.container strong { color: var(--ink); }

figure.inline-fig { margin: 1.8rem 0; }
figure.inline-fig img { border-radius: 4px; border: 1px solid var(--line); }
figure.inline-fig figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; font-style: italic; }

table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); }
thead th { background: var(--ink); color: #fff; font-family: "Oswald",sans-serif; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.05em; }
tbody tr:nth-child(even) { background: #eaeeeb; }

/* ---------- Homepage section cards ---------- */
.section-cards {
  max-width: var(--maxw); margin: 0 auto; padding: 1rem 1rem 3.5rem;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem;
}
.card {
  background: #fff; border: 1px solid #dfe4e1; border-top: 4px solid var(--green);
  padding: 1.3rem 1.3rem 1.5rem; border-radius: 4px; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(12,15,13,0.12); }
.card h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.card p { margin: 0 0 0.8rem; font-size: 0.95rem; color: #46504a; }
.card a.more { font-family: "Oswald",sans-serif; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--green-dark); }
.band { background: var(--charcoal); color: var(--text-inv); }
.band .container { color: var(--text-inv); }
.band h2 { color: #fff; }

/* ---------- Contact form ---------- */
.contact-form { display: grid; gap: 0.6rem; max-width: 520px; margin: 1.4rem 0; }
.contact-form label { font-family: "Oswald",sans-serif; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.06em; color: var(--muted); }
.contact-form input, .contact-form textarea {
  font: inherit; padding: 0.7rem 0.8rem; border: 1px solid #cfd6d1; border-radius: 4px; background: #fff;
}
.contact-form button {
  justify-self: start; background: var(--green); color: #fff; border: none; cursor: pointer;
  font-family: "Oswald",sans-serif; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.7rem 1.6rem; border-radius: 4px; font-size: 0.9rem;
}
.contact-form button:hover { background: var(--green-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--silver); border-top: 4px solid var(--green); }
.footer-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 2.6rem 1rem 1.4rem;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.6rem;
}
.footer-grid h4 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 0.7rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0.3rem 0; }
.footer-grid a { color: var(--silver); font-size: 0.92rem; }
.footer-grid a:hover { color: #fff; }
.footer-note { font-size: 0.86rem; line-height: 1.6; }
.footer-bottom { border-top: 1px solid var(--line); text-align: center; padding: 1rem; font-size: 0.8rem; color: var(--muted); }
.footer-bottom .disclaimer { max-width: 760px; margin: 0 auto 0.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 62px;
    background: var(--ink); border-bottom: 3px solid var(--green); margin: 0;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 0.5rem; gap: 0.1rem; }
  .main-nav a { padding: 0.7rem 0.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .home .hero-inner { padding: 3.4rem 1rem; }
}
