/* ============================================================
   HYPER.HOCKEY — Design System
   Fonts : Barlow Condensed (headings) · Inter (body)
   Theme : White · Black · Yellow #FFBA00 · Red #CC1F1F
   ============================================================ */

/* ─── 1. Tokens ─────────────────────────────────────────── */
:root {
  /* Palette */
  --bg:          #ffffff;
  --bg-alt:      #f6f6f6;
  --surface:     #f9f9f9;
  --surface-2:   #eeeeee;
  --accent:      #FFBA00;   /* yellow — primary CTA */
  --accent-dk:   #D99E00;   /* yellow dark / hover */
  --red:         #CC1F1F;   /* red — links, active, highlights */
  --red-dk:      #A81515;
  --text:        #111111;
  --text-2:      #555555;
  --text-3:      #999999;
  --border:      rgba(0, 0, 0, 0.09);
  --border-2:    rgba(0, 0, 0, 0.18);
  --white:       #ffffff;

  /* Typography */
  --f-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Type scale */
  --t-xs:   0.75rem;
  --t-sm:   0.875rem;
  --t-base: 1rem;
  --t-lg:   1.125rem;
  --t-xl:   1.25rem;
  --t-2xl:  1.5rem;
  --t-3xl:  2rem;
  --t-4xl:  2.75rem;
  --t-5xl:  3.5rem;

  /* Spacing (multiples of 4px) */
  --s1:  0.25rem;
  --s2:  0.5rem;
  --s3:  0.75rem;
  --s4:  1rem;
  --s5:  1.25rem;
  --s6:  1.5rem;
  --s8:  2rem;
  --s10: 2.5rem;
  --s12: 3rem;
  --s14: 3.5rem;
  --s16: 4rem;
  --s20: 5rem;
  --s24: 6rem;

  /* Layout */
  --max-w:  1080px;
  --nav-h:  68px;

  /* Radii — sharper for editorial feel */
  --r-sm:  2px;
  --r:     4px;
  --r-lg:  8px;
  --r-xl:  12px;
  --r-full: 9999px;

  /* Transitions */
  --ease: 0.2s ease;
}

/* ─── 2. Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
svg { display: block; }

/* ─── 3. Layout ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--s6);
}

/* ─── 4. Typography ──────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.08;
  color: var(--text);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1 { font-size: var(--t-5xl); }
h2 { font-size: var(--t-4xl); }
h3 { font-size: var(--t-3xl); }
h4 { font-size: var(--t-2xl); }
h5 { font-size: var(--t-xl); }

p { color: var(--text-2); line-height: 1.72; }

/* Eyebrow / label */
.label {
  display: inline-block;
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--s3);
}

/* ─── 5. Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--r);
  font-family: var(--f-body);
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all var(--ease);
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: var(--text);
  border: 2px solid var(--accent);
}
.btn--primary:hover {
  background: var(--accent-dk);
  border-color: var(--accent-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 186, 0, 0.30);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.55);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

/* Outline variant on light backgrounds */
.btn--outline-dark {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border-2);
}
.btn--outline-dark:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--t-base);
}

/* ─── 6. Navigation ──────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--s8);
}

/* Push the hamburger toggle to the far right on mobile */
.nav__toggle { margin-left: auto; }

.nav__logo img {
  height: 38px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s8);
}

.nav__links a {
  font-family: var(--f-body);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--ease);
  padding-block: var(--s2);
  border-bottom: 2px solid transparent;
}
.nav__links a:hover { color: var(--text); }
.nav__links a.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: var(--s3);
  border-radius: var(--r-sm);
}
.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
@media (max-width: 640px) {
  .nav__toggle { display: flex; }

  .nav__links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--s10);
    z-index: 199;
    border-top: 1px solid var(--border);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a {
    font-family: var(--f-display);
    font-size: var(--t-3xl);
    color: var(--text);
    border-bottom: none;
  }
  .nav__links a.active { color: var(--red); }
}

/* ─── 7. Footer ──────────────────────────────────────────── */
.site-footer {
  padding-block: var(--s10);
  border-top: 3px solid var(--accent);
  background: var(--text);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s6);
  flex-wrap: wrap;
}

.footer__logo img { height: 40px; width: auto; opacity: 0.85; transition: opacity var(--ease); }
.footer__logo:hover img { opacity: 1; }

.footer__copy {
  font-size: var(--t-sm);
  color: rgba(255, 255, 255, 0.45);
}

/* ─── 8. Social Links ────────────────────────────────────── */
.social-links {
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--ease);
}
.social-link:hover {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Social links on light backgrounds (contact page) */
.contact-social .social-link {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-2);
}
.contact-social .social-link:hover {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

/* ─── 9. Sections ────────────────────────────────────────── */
.section {
  padding-block: var(--s20);
}
.section--alt {
  background: var(--bg-alt);
}

.section__header {
  margin-bottom: var(--s12);
}

/* ─── 10. Cards ──────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s8);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.card:hover {
  border-color: var(--border-2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* ─── 11. Tags / Skill Chips ─────────────────────────────── */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.tag {
  padding: var(--s2) var(--s4);
  border-radius: var(--r-full);
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--surface);
  color: var(--text-2);
  border: 1px solid var(--border-2);
  transition: all var(--ease);
}
.tag:hover {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(255, 186, 0, 0.1);
}

/* ─── 12. Stat Cards ─────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}

.stat-card {
  background: var(--text);
  border: 1px solid var(--text);
  border-radius: var(--r-lg);
  padding: var(--s6) var(--s5);
  text-align: center;
}

.stat-card__num {
  font-family: var(--f-display);
  font-size: var(--t-4xl);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--s2);
}

.stat-card__lbl {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

/* ─── 13. Experience Cards ───────────────────────────────── */
.exp-list {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

.exp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  border-left: 4px solid var(--accent);
  padding: var(--s8);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.exp-card:hover {
  border-right-color: var(--border-2);
  border-top-color: var(--border-2);
  border-bottom-color: var(--border-2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.exp-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s4);
  margin-bottom: var(--s4);
  flex-wrap: wrap;
}

.exp-card__role {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
}

.exp-card__org {
  font-family: var(--f-body);
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
  margin-top: var(--s1);
}

.exp-card__date {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
  padding-top: var(--s1);
}

/* Logo slot — right-side meta column */
.exp-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--s3);
  flex-shrink: 0;
}

.exp-card__logo-wrap {
  height: 44px;
  max-width: 140px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.exp-card__logo {
  max-height: 44px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.exp-card__loc {
  font-family: var(--f-body);
  font-size: var(--t-sm);
  color: var(--text-3);
  margin-bottom: var(--s4);
}

.exp-card__bullets {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.exp-card__bullets li {
  display: flex;
  gap: var(--s3);
  font-family: var(--f-body);
  font-size: var(--t-sm);
  color: var(--text-2);
  line-height: 1.6;
}

.exp-card__bullets li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.45em;
}

/* ─── 14. Contact layout ─────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--s12);
  align-items: start;
}

.contact-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
}

.contact-info {
  padding-top: var(--s4);
}

.contact-info__name {
  font-family: var(--f-display);
  font-size: var(--t-4xl);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.0;
  margin-bottom: var(--s2);
}

.contact-info__title {
  font-family: var(--f-body);
  font-size: var(--t-base);
  color: var(--text-2);
  margin-bottom: var(--s8);
}

.contact-items {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: var(--s8);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s5) var(--s6);
  border-bottom: 1px solid var(--border);
  transition: background var(--ease);
  background: var(--white);
}
.contact-item:last-child { border-bottom: none; }
.contact-item:hover { background: var(--bg-alt); }

.contact-item--link { cursor: pointer; }

.contact-item__icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r);
  background: rgba(255, 186, 0, 0.1);
  border: 1px solid rgba(255, 186, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-dk);
}

.contact-item__lbl {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 2px;
}

.contact-item__val {
  font-family: var(--f-body);
  font-size: var(--t-lg);
  font-weight: 500;
  color: var(--text);
  transition: color var(--ease);
}
.contact-item:hover .contact-item__val { color: var(--red); }

/* ─── 15. Page: Home (Welcome) ───────────────────────────── */
.home-hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: var(--s8);
  padding-top: calc(var(--nav-h) + var(--s8));
  padding-bottom: var(--s16);
}

.home-hero__logo-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
}

/* Static image fallback — shown when video hasn't loaded or is absent */
.home-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../media/images/training-action-shot.png');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

/* Video background */
.home-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.62) 50%,
    rgba(0, 0, 0, 0.88) 100%
  );
  z-index: 1;
}

.home-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s5);
  max-width: 620px;
}

.home-hero__logo {
  height: 96px;
  width: auto;
}

.home-hero__title {
  font-family: var(--f-display);
  font-size: var(--t-5xl);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  line-height: 1.0;
}

.home-hero__sub {
  font-family: var(--f-body);
  font-size: var(--t-lg);
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.01em;
  margin-top: calc(-1 * var(--s2));
  font-weight: 400;
}

.home-hero__divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.home-hero__actions {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--s3);
}

/* Label on hero — override red to white */
.home-hero .label {
  color: var(--accent);
}

/* Home content card grid */
.home-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s6);
}

.home-cards h3 {
  font-size: var(--t-xl);
}

/* ─── 16. Page: About ────────────────────────────────────── */
.about-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--s16);
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Blurred, zoomed-in fill — covers the whole hero so no bare background shows */
.about-hero__bg-blur {
  position: absolute;
  inset: -30px;
  background-image: url('../media/images/about-vas-2.jpg');
  background-size: cover;
  background-position: center 20%;
  filter: blur(18px) brightness(0.9) saturate(0.8);
  z-index: 0;
}

/* Sharp contained image — full body visible */
.about-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../media/images/about-vas-2.jpg');
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  z-index: 1;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.90) 100%
  );
  z-index: 2;
}

.about-hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
}

/* About hero — label and h1 are on dark overlay, keep white */
.about-hero .label {
  color: var(--accent);
}
.about-hero h1 {
  color: var(--white);
}
.about-hero__sub {
  font-size: var(--t-lg);
  color: rgba(255, 255, 255, 0.70);
  margin-top: var(--s2);
}
.about-hero__photo-mobile {
  display: none;
}

.about-bio-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--s16);
  align-items: start;
}

.bio-text p + p { margin-top: var(--s5); }

/* Bio section — headings on white bg, use dark */
.bio-text h2 {
  color: var(--text);
}

.about-cta {
  text-align: center;
  padding-block: var(--s20);
  background: var(--text);
}

.about-cta .label {
  color: var(--accent);
}

.about-cta h2 {
  color: var(--white);
}

.about-cta p {
  color: rgba(255, 255, 255, 0.55);
}

/* ─── 17. Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .about-bio-grid {
    grid-template-columns: 1fr;
    gap: var(--s10);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  h1 { font-size: var(--t-4xl); }
  h2 { font-size: var(--t-3xl); }
  h3 { font-size: var(--t-2xl); }

  .about-hero {
    min-height: unset;
    background: var(--bg);
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 0;
  }
  .about-hero__bg-blur,
  .about-hero__bg,
  .about-hero__overlay {
    display: none;
  }
  .about-hero__content {
    padding-top: var(--s6);
    padding-bottom: var(--s6);
  }
  .about-hero h1 {
    color: var(--text);
  }
  .about-hero .label {
    color: var(--accent);
  }
  .about-hero__sub {
    color: var(--text-muted);
  }
  .about-hero__photo-mobile {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    background-image: url('../media/images/about-vas-2.jpg');
    background-size: cover;
    background-position: center center;
  }

  .section { padding-block: var(--s12); }
  .section__header { margin-bottom: var(--s8); }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--s8);
  }

  .contact-photo {
    aspect-ratio: auto;
    height: auto;
    max-height: none;
    object-fit: contain;
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .stat-card__num { font-size: var(--t-3xl); }
}

@media (max-width: 480px) {
  :root { --nav-h: 60px; }

  .container { padding-inline: var(--s4); }

  .contact-photo {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
  }

  h1 { font-size: var(--t-3xl); }
  h2 { font-size: var(--t-2xl); }

  .section { padding-block: var(--s10); }

  .home-hero__title { font-size: var(--t-4xl); }
  .home-hero__logo { height: 72px; }

  .home-hero__actions {
    flex-direction: column;
    width: 100%;
  }
  .home-hero__actions .btn { width: 100%; justify-content: center; }

  .stats-grid { grid-template-columns: 1fr 1fr 1fr; gap: var(--s3); }
  .stat-card { padding: var(--s4) var(--s3); }
  .stat-card__num { font-size: var(--t-2xl); }

  .exp-card { padding: var(--s6); }
  .exp-card__header { flex-direction: column; align-items: flex-start; gap: var(--s3); }
  .exp-card__date { padding-top: 0; }

  /* Meta row: logo left, date beside it */
  .exp-card__meta {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: var(--s4);
    width: 100%;
  }
  .exp-card__logo-wrap {
    order: -1;           /* logo before date in visual order */
    height: 34px;
    max-width: 110px;
    justify-content: flex-start;
  }
  .exp-card__logo {
    max-height: 34px;
    max-width: 110px;
  }

  .footer__inner { flex-direction: column; align-items: center; text-align: center; gap: var(--s4); }

  .contact-info__name { font-size: var(--t-3xl); }
}

/* ─── 18. Buttons: disabled state ───────────────────────── */
.btn--disabled {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--r);
  font-family: var(--f-body);
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--surface-2);
  color: var(--text-3);
  border: 2px solid var(--border);
  cursor: default;
}

/* ─── 19. Schedule page ──────────────────────────────────── */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--s6);
}

.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--ease), border-color var(--ease);
}
.event-card:hover {
  border-color: var(--border-2);
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.event-card__cover {
  display: block;
  width: 100%;
  height: auto;
  background: var(--bg-alt);
}
.event-card__cover--placeholder {
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
}

.event-card__body {
  padding: var(--s5) var(--s6) var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  flex: 1;
}

.event-card__meta-top {
  min-height: 1.4rem; /* reserve space even when empty */
}

.event-card__name {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--text);
  margin: 0;
}
.event-card__name a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ease);
}
.event-card__name a:hover { color: var(--red); }

.event-card__date,
.event-card__venue {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--f-body);
  font-size: var(--t-sm);
  color: var(--text-2);
}
.event-card__date svg,
.event-card__venue svg {
  flex-shrink: 0;
  color: var(--text-3);
}

.event-card__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s3);
  margin-top: auto;
  padding-top: var(--s3);
  border-top: 1px solid var(--border);
}

.event-card__footer .btn {
  width: 100%;
  justify-content: center;
}

.event-card__price-row {
  display: flex;
  align-items: center;
  gap: var(--s2);
  min-width: 0;
}

.event-card__price {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 700;
  color: var(--text);
}

.sched-badge--season-pass {
  background: rgba(255, 186, 0, 0.15);
  color: #7a5500;
  border: 1px solid rgba(255, 186, 0, 0.4);
  font-size: 0.55rem;
  padding: 1px 5px;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

/* Availability badges */
.sched-badge {
  display: inline-block;
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 2px var(--s3);
  border-radius: var(--r-full);
}
.sched-badge--open {
  background: rgba(0,160,60,0.1);
  color: #007a2e;
}
.sched-badge--near {
  background: rgba(255,186,0,0.15);
  color: #9a6e00;
}
.sched-badge--sold-out {
  background: rgba(204,31,31,0.1);
  color: var(--red);
}
.sched-badge--waitlist {
  background: rgba(34,113,245,0.1);
  color: #1550cc;
}
.sched-badge--closed {
  background: var(--surface-2);
  color: var(--text-3);
}

/* Empty state */
.schedule-empty {
  padding: var(--s16) 0;
  text-align: center;
}
.schedule-empty p {
  font-size: var(--t-lg);
  color: var(--text-2);
}

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

/* ─── 20. Utilities ──────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.pt-nav { padding-top: var(--nav-h); }
.text-center { text-align: center; }
.text-muted { color: var(--text-2); }

.mt-2  { margin-top: var(--s2); }
.mt-4  { margin-top: var(--s4); }
.mt-6  { margin-top: var(--s6); }
.mt-8  { margin-top: var(--s8); }
.mt-10 { margin-top: var(--s10); }
.mt-12 { margin-top: var(--s12); }
