/* =============================================
   CB CAPTAINS FC — GLOBAL STYLESHEET
   AnchorGraFX Design Co. | Omaha, NE
   ============================================= */

/* ── FONT DECLARATIONS ─────────────────────── */
/* Giphurs: place Giphurs.woff2 / Giphurs.woff in /fonts/ */
@font-face {
  font-family: 'Giphurs';
  src: url('../fonts/Giphurs.woff2') format('woff2'),
       url('../fonts/Giphurs.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Archivo+Black&display=swap');

/* ── VARIABLES ─────────────────────────────── */
:root {
  --navy:        #00315d;
  --blush:       #eac6c8;
  --magenta:     #d5085c;
  --blue:        #0072af;
  --steel:       #a7bbd6;
  --white:       #ffffff;
  --off-white:   #a7bbd6;
  --dark:        #0a1a2e;

  --font-display:  'Giphurs', 'Archivo Black', sans-serif;
  --font-garamond: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-ui:       'Archivo Black', sans-serif;

  --nav-height: 66px;
  --card-radius: 3px;
  --section-gap: 5rem 2rem;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.25s;
}

/* ── RESET ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-garamond);
  background: var(--off-white);
  color: var(--navy);
  padding-top: var(--nav-height);
  overflow-x: hidden;
  line-height: 1;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── TYPOGRAPHY ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  line-height: 1.05;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
p { font-family: var(--font-garamond); font-size: 1.05rem; line-height: 1.75; }
blockquote, .italic { font-family: var(--font-garamond); font-style: italic; }

/* ── NAVIGATION ─────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(0, 49, 93, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  border-bottom: 2px solid rgba(213, 8, 92, 0.45);
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  gap: 1rem;
}

.nav-logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.nav-logo-img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
  transition: transform var(--t);
}
.nav-logo-link:hover .nav-logo-img { transform: scale(1.06); }
.nav-club-name {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 0;
}
.nav-links a {
  color: var(--steel);
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.55rem;
  position: relative;
  white-space: nowrap;
  transition: color var(--t);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%; right: 50%;
  height: 2px;
  background: var(--magenta);
  transition: left 0.22s var(--ease), right 0.22s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { left: 0.55rem; right: 0.55rem; }
.nav-links a.active { color: var(--blush); }
.nav-links a.active::after { left: 0.55rem; right: 0.55rem; }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.28s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0; bottom: 0;
  background: rgba(0, 49, 93, 0.98);
  z-index: 999;
  flex-direction: column;
  padding: 1.5rem 2rem;
  gap: 0.25rem;
  overflow-y: auto;
}
.nav-mobile-overlay.open { display: flex; }
.nav-mobile-overlay a {
  color: rgba(167, 187, 214, 0.8);
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(167, 187, 214, 0.15);
  transition: color var(--t), padding-left var(--t);
}
.nav-mobile-overlay a:hover,
.nav-mobile-overlay a.active {
  color: var(--blush);
  padding-left: 0.75rem;
}

/* ── LANGUAGE TOGGLE ────────────────────────── */
#lang-toggle {
  position: fixed;
  top: 13px;
  right: 18px;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 49, 93, 0.92);
  border: 2px solid rgba(167, 187, 214, 0.35);
  border-radius: 999px;
  padding: 5px 13px 5px 9px;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  user-select: none;
}
#lang-toggle:hover {
  background: rgba(213, 8, 92, 0.92);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
#lang-toggle .flag {
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.3s ease;
}
#lang-toggle:hover .flag { transform: scale(1.15) rotate(-5deg); }
#lang-toggle .lang-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  font-family: var(--font-ui);
}
#lang-toggle .lang-sub {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.4px;
  display: block;
  line-height: 1;
}
.lang-text { display: flex; flex-direction: column; }

/* ── PAGE HERO ──────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 44vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transition: transform 8s ease;
  transform: scale(1.06);
}
.page-hero:hover .page-hero-bg { transform: scale(1.0); }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 49, 93, 0.92) 0%,
    rgba(0, 49, 93, 0.65) 55%,
    rgba(213, 8, 92, 0.25) 100%
  );
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 3rem 3rem 4.5rem;
  max-width: 1400px;
  width: 100%;
}
.page-hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.page-hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--magenta);
  flex-shrink: 0;
}
.page-hero h1 {
  color: var(--white);
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
  margin-bottom: 0.8rem;
}
.page-hero-sub {
  color: var(--blush);
  font-family: var(--font-garamond);
  font-style: italic;
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 560px;
  line-height: 1.6;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 72px;
  background: var(--off-white);
  clip-path: polygon(0 100%, 100% 20%, 100% 100%);
  z-index: 3;
}
.page-hero.dark-bg::after { background: var(--navy); }
.page-hero.blush-bg::after { background: var(--blush); }

/* ── LAYOUT WRAPPERS ────────────────────────── */
.page-section {
  padding: var(--section-gap);
}
.page-section.navy { background: var(--navy); }
.page-section.navy h2 { color: var(--white); }
.page-section.navy p { color: var(--steel); }
.page-section.blush { background: var(--blush); }
.page-section.white { background: var(--white); }
.inner {
  max-width: 1360px;
  margin: 0 auto;
}

/* ── SECTION HEADERS ────────────────────────── */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.section-head h2 { flex-shrink: 0; }
.section-head::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--magenta) 0%, transparent 100%);
  align-self: center;
  margin-top: 0.3rem;
}
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center::after { display: none; }
.section-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.6rem;
}

/* ── FADE ANIMATIONS ────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.fade-up.visible { opacity: 1; transform: none; }
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.08s; }
.stagger > *:nth-child(3) { transition-delay: 0.16s; }
.stagger > *:nth-child(4) { transition-delay: 0.24s; }
.stagger > *:nth-child(5) { transition-delay: 0.32s; }
.stagger > *:nth-child(6) { transition-delay: 0.40s; }
.stagger > *:nth-child(7) { transition-delay: 0.48s; }
.stagger > *:nth-child(8) { transition-delay: 0.56s; }
.stagger > *:nth-child(9) { transition-delay: 0.64s; }

/* ── GRIDS ──────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.75rem; }

/* ── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: var(--card-radius);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: all var(--t);
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--magenta);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(213, 8, 92, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--magenta);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ── HOME HERO ──────────────────────────────── */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}
.home-hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/rays3.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.3;
}
.home-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 49, 93, 0.9) 0%,
    rgba(0, 49, 93, 0.45) 60%,
    rgba(213, 8, 92, 0.12) 100%
  );
}
.home-hero-content {
  position: relative; z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding: 2rem;
  max-width: 900px;
}
.home-hero-logo {
  height: min(300px, 42vw);
  width: auto;
  filter: drop-shadow(0 8px 36px rgba(0,0,0,0.55));
  animation: heroFade 1.1s var(--ease) both;
}
.home-hero h1 {
  color: var(--white);
  text-shadow: 0 4px 28px rgba(0,0,0,0.45);
  animation: heroFade 1.1s var(--ease) 0.2s both;
}
.home-hero-tagline {
  font-family: var(--font-garamond);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--blush);
  animation: heroFade 1.1s var(--ease) 0.35s both;
  max-width: 580px;
  line-height: 1.6;
}
.home-hero-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  animation: heroFade 1.1s var(--ease) 0.5s both;
  font-family: var(--font-garamond);
}
.home-hero-badge img { height: 34px; width: auto; }
.home-hero-badge a { color: var(--blush); border-bottom: 1px solid rgba(234,198,200,0.35); }
.home-hero-badge a:hover { border-bottom-color: var(--blush); }
.home-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: heroFade 1.1s var(--ease) 0.65s both;
}
.home-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-ui);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
.home-scroll-indicator::after {
  content: '';
  display: block;
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* ── STATS BAR ──────────────────────────────── */
.stats-bar {
  background: var(--blush);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 2.25rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(0, 49, 93, 0.12);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--magenta);
}

/* ── COACH CARDS ────────────────────────────── */
.coach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.coach-card {
  background: var(--white);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 49, 93, 0.09);
  display: grid;
  grid-template-columns: 150px 1fr;
  border-left: 4px solid var(--magenta);
  transition: transform var(--t), box-shadow var(--t);
}
.coach-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 49, 93, 0.16);
}
.coach-avatar {
  position: relative;
  overflow: hidden;
  background: var(--steel);
  min-height: 175px;
}
.coach-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.coach-card:hover .coach-avatar img { transform: scale(1.06); }
.coach-body {
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.coach-body h3 { color: var(--navy); font-size: 1.2rem; line-height: 1.15; }
.coach-role {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--magenta);
}
.coach-bio {
  font-size: 0.875rem;
  color: #45566a;
  line-height: 1.65;
  margin-top: 0.25rem;
  flex: 1;
}
.coach-origin {
  font-family: var(--font-garamond);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--blue);
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ── PLAYER CARDS ───────────────────────────── */
.roster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.player-card {
  background: var(--white);
  padding: 1.5rem 1.25rem 1.25rem;
  border-radius: var(--card-radius);
  text-align: center;
  box-shadow: 0 1px 8px rgba(0, 49, 93, 0.07);
  transition: transform var(--t), box-shadow var(--t), border-bottom-color var(--t);
  border-bottom: 3px solid transparent;
  position: relative;
  overflow: hidden;
}
.player-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--steel);
  transition: background var(--t);
}
.player-card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(0, 49, 93, 0.14); }
.player-card:hover::before { background: var(--magenta); }
.player-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--steel);
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: color var(--t);
}
.player-card:hover .player-number { color: var(--navy); }
.player-name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.player-pos {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.4rem;
}
.player-hometown {
  font-family: var(--font-garamond);
  font-style: italic;
  color: var(--magenta);
  font-size: 0.85rem;
}

/* Position section header */
.position-section { margin-bottom: 3.5rem; }
.position-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--blush);
}
.position-head h3 { font-family: var(--font-display); color: var(--navy); font-size: 1.4rem; }
.position-badge {
  background: var(--navy);
  color: var(--blush);
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}

/* ── NEWS CARDS ─────────────────────────────── */
.news-card {
  background: var(--white);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 49, 93, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0, 49, 93, 0.15); }
.news-card-img {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  overflow: hidden;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 3px solid var(--magenta);
}
.news-date {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.news-card h3 { color: var(--navy); font-size: 1.15rem; line-height: 1.25; }
.news-card p { font-size: 0.9rem; color: #4a5a6a; line-height: 1.7; flex: 1; }
.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--magenta);
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  transition: gap var(--t), color var(--t);
}
.news-read-more:hover { gap: 0.7rem; }

/* ── SCHEDULE ───────────────────────────────── */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.match {
  padding: 1.25rem 1.375rem;
  border-radius: var(--card-radius);
  color: var(--white);
  transition: transform var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
}
.match::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
}
.match:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.match.home { background: var(--blue); }
.match.home::before { background: var(--blush); }
.match.away { background: var(--dark); border: 1px solid rgba(213, 8, 92, 0.3); }
.match.away::before { background: var(--magenta); }
.match h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}
.match p { font-size: 0.82rem; opacity: 0.82; }
.match-location {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  opacity: 0.65;
  font-family: var(--font-garamond);
  font-style: italic;
}
.match-result {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.2rem 0.65rem;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}
.match-result.win  { background: rgba(255,255,255,0.2); color: #7fffb2; }
.match-result.loss { background: rgba(0,0,0,0.2);       color: #ffaaaa; }
.match-result.draw { background: rgba(255,255,255,0.12); color: #ffd97a; }
.match-result.tbd  { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.4); font-style:italic; 
}
.schedule-legend {
  display: flex;
  gap: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: 0 2px 8px rgba(0, 49, 93, 0.06);
  margin-bottom: 2.5rem;
}
.legend-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--navy); }
.legend-dot { width: 12px; height: 12px; border-radius: 2px; }
.legend-dot.home { background: var(--blue); }
.legend-dot.away { background: var(--dark); outline: 1px solid var(--magenta); }

.playoff-block {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 2rem 2.25rem;
  box-shadow: 0 2px 12px rgba(0, 49, 93, 0.08);
  border-top: 3px solid var(--navy);
  margin-bottom: 1.5rem;
}
.playoff-block h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.playoff-round {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0,49,93,0.08);
}
.playoff-round:last-child { border: none; margin-bottom: 0; padding-bottom: 0; }
.playoff-round-label {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.6rem;
}
.playoff-round-dates {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.playoff-round-matchups {
  color: #4a5a6a;
  font-size: 0.9rem;
  line-height: 1.9;
  font-family: var(--font-garamond);
}

/* ── DOWNLOADS ──────────────────────────────── */
.download-card {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 49, 93, 0.08);
  transition: transform var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 3px solid transparent;
}
.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 49, 93, 0.14);
  border-bottom-color: var(--blue);
}
.download-icon {
  width: 52px; height: 52px;
  background: var(--navy);
  border-radius: var(--card-radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--blush);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.download-card h3 { color: var(--navy); font-size: 1.1rem; }
.download-card p { font-size: 0.88rem; color: #4a5a6a; line-height: 1.65; flex: 1; }
.download-meta {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1.25rem;
  border-radius: var(--card-radius);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background var(--t), transform var(--t);
  width: fit-content;
  border: none;
  cursor: pointer;
}
.btn-download:hover { background: var(--magenta); transform: translateX(3px); }
.btn-download.disabled { background: var(--steel); cursor: not-allowed; }
.btn-download.disabled:hover { background: var(--steel); transform: none; }

/* ── SHOP ───────────────────────────────────── */
.shop-banner {
  background: var(--navy);
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.shop-banner h2 { color: var(--white); }
.shop-banner p { color: var(--steel); font-size: 1.05rem; max-width: 560px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem; }
.shop-card {
  background: var(--white);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 49, 93, 0.08);
  transition: transform var(--t), box-shadow var(--t);
}
.shop-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 49, 93, 0.16); }
.shop-card-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.shop-card:hover .shop-card-img img { transform: scale(1.06); }
.shop-card-body { padding: 1.5rem; }
.shop-card-body h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 0.4rem; }
.shop-card-price { color: var(--magenta); font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 1rem; line-height: 1; }
.btn-shop {
  display: block;
  background: var(--magenta);
  color: var(--white);
  text-align: center;
  padding: 0.65rem 1rem;
  border-radius: var(--card-radius);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background var(--t);
}
.btn-shop:hover { background: var(--navy); }

/* ── SPONSORS ───────────────────────────────── */
.tier-section { margin-bottom: 4rem; }
.tier-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.tier-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1.25rem; border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap;
}
.tier-badge.platinum { background: linear-gradient(135deg, #e8eaf0, #b0b8c8); color: #1a1a2e; }
.tier-badge.gold     { background: linear-gradient(135deg, #ffe066, #c8960c); color: #3b2800; }
.tier-badge.silver   { background: linear-gradient(135deg, #d0d0d0, #909090); color: #1a1a1a; }
.tier-badge.bronze   { background: linear-gradient(135deg, #e8b48a, #a0622a); color: #2a1000; }
.tier-header::after { content: ''; flex: 1; height: 1px; background: rgba(0,49,93,0.1); }

.sponsors-grid.platinum { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.sponsors-grid.gold     { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.sponsors-grid.silver   { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.sponsors-grid.bronze   { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }

.sponsor-card {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 49, 93, 0.08);
  transition: transform var(--t), box-shadow var(--t);
  border-top: 3px solid;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  text-align: center;
}
.sponsor-card.platinum { border-top-color: #b0b8c8; flex-direction: row; text-align: left; gap: 2rem; border-top-width: 5px; }
.sponsor-card.gold     { border-top-color: #c8960c; }
.sponsor-card.silver   { border-top-color: #909090; padding: 1.5rem; }
.sponsor-card.bronze   { border-top-color: #a0622a; padding: 1.25rem; }
.sponsor-card:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(0, 49, 93, 0.15); }

.sponsor-logo-wrap { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sponsor-card.platinum .sponsor-logo-wrap { width: 160px; height: 100px; }
.sponsor-card.gold     .sponsor-logo-wrap { width: 120px; height: 80px; }
.sponsor-card.silver   .sponsor-logo-wrap { width: 100px; height: 65px; }
.sponsor-card.bronze   .sponsor-logo-wrap { width: 80px;  height: 50px; }
.sponsor-logo-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-placeholder {
  width: 100%; height: 100%;
  background: #e8eef5;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: #aab8cc; font-size: 0.65rem; font-family: var(--font-ui);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.sponsor-info { flex: 1; }
.sponsor-card h3 { color: var(--navy); margin-bottom: 0.25rem; }
.sponsor-card.platinum h3 { font-size: 1.4rem; }
.sponsor-card.gold     h3 { font-size: 1.15rem; }
.sponsor-card.silver   h3 { font-size: 1rem; }
.sponsor-card.bronze   h3 { font-size: 0.88rem; }
.sponsor-card p { color: var(--blue); font-size: 0.85rem; line-height: 1.5; margin-bottom: 0.5rem; }
.sponsor-card a {
  color: var(--magenta);
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--magenta);
  padding-bottom: 1px;
  transition: color var(--t), border-color var(--t);
}
.sponsor-card a:hover { color: var(--navy); border-color: var(--navy); }

/* ── ABOUT PAGE ─────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text p { margin-bottom: 1.5rem; color: #333; line-height: 1.8; }
.about-text p:first-of-type {
  font-size: 1.2rem;
  color: var(--navy);
  font-style: italic;
}
.about-hashtag {
  color: var(--magenta);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-top: 2rem;
}
.about-visual {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--navy);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.about-visual-tag {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: var(--magenta);
  color: var(--white);
  padding: 0.4rem 1rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
}

/* ── MOTIVATION PAGE ────────────────────────── */
.vision-block {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--card-radius);
  box-shadow: 0 4px 20px rgba(0, 49, 93, 0.08);
  border-left: 5px solid var(--magenta);
  margin-bottom: 2.5rem;
}
.vision-block h3 {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 1.25rem;
}
.vision-block p {
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.8;
}

/* ── CONTACT PAGE ───────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}
.contact-info-section h3 { color: var(--navy); margin-bottom: 1rem; font-size: 1.2rem; }
.contact-info-section p { color: #4a5a6a; margin-bottom: 2rem; font-size: 0.95rem; line-height: 1.7; }
.social-list { display: flex; flex-direction: column; gap: 0.75rem; }
.social-list-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: var(--navy);
  transition: color var(--t), transform var(--t);
  font-size: 0.9rem;
  font-family: var(--font-garamond);
}
.social-list-item:hover { color: var(--magenta); transform: translateX(4px); }
.social-list-item svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.contact-form-el { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--steel);
  border-radius: var(--card-radius);
  font-family: var(--font-garamond);
  font-size: 1rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 114, 175, 0.14);
}
.form-group textarea { min-height: 160px; resize: vertical; }
.btn-submit {
  background: var(--magenta);
  color: var(--white);
  border: none;
  padding: 1rem 2.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  cursor: pointer;
  border-radius: var(--card-radius);
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  width: fit-content;
  letter-spacing: 0.04em;
}
.btn-submit:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(213, 8, 92, 0.3);
}

/* ── FOOTER ─────────────────────────────────── */
#site-footer {
  background: var(--navy);
  color: var(--steel);
  padding: 4.5rem 2rem 2.5rem;
}
.footer-inner { max-width: 1360px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand img { height: 56px; width: auto; opacity: 0.9; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.75; color: rgba(167, 187, 214, 0.65); }
.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
  font-size: 0.85rem;
  color: rgba(167, 187, 214, 0.65);
  transition: color var(--t);
}
.footer-col a:hover { color: var(--white); }
.footer-social-row {
  display: flex;
  gap: 0.625rem;
  margin-top: 1.5rem;
}
.footer-social-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(167, 187, 214, 0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--steel);
  transition: background var(--t), color var(--t), transform var(--t);
}
.footer-social-icon:hover {
  background: var(--magenta);
  color: var(--white);
  transform: translateY(-3px);
}
.footer-social-icon svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(167, 187, 214, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(167, 187, 214, 0.45);
}
.footer-bottom a { color: var(--blush); transition: color var(--t); }
.footer-bottom a:hover { color: var(--white); }

/* ── UTILITY ────────────────────────────────── */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-magenta { color: var(--magenta); }
.text-navy    { color: var(--navy); }
.text-blush   { color: var(--blush); }
.text-blue    { color: var(--blue); }
.text-steel   { color: var(--steel); }
.text-white   { color: var(--white); }
.italic       { font-style: italic; }
.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 0.6rem;
  display: block;
}
.upsl-logo { height: 44px; width: auto; vertical-align: middle; }

/* Divider rule */
hr.divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, var(--magenta), transparent);
  margin: 3rem 0;
}

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1300px) {
  .nav-links a { font-size: 0.55rem; padding: 0.4rem 0.4rem; }
  .nav-club-name { display: none; }
}

@media (max-width: 1100px) {
  .coach-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { aspect-ratio: 16/9; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .sponsors-grid.silver { grid-template-columns: repeat(2,1fr); }
  .sponsors-grid.bronze { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .roster-grid { grid-template-columns: repeat(2,1fr); }
  .schedule-grid { grid-template-columns: repeat(2,1fr); }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .page-hero-content { padding: 2.5rem 1.5rem 3.5rem; }
}

@media (max-width: 768px) {
  :root { --section-gap: 3rem 1.25rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .home-hero-bg { background-attachment: scroll; }
  .page-hero-bg { background-attachment: scroll; }
  .page-hero { min-height: 36vh; }
  .page-hero::after { height: 50px; }
  .home-hero-logo { height: min(220px, 55vw); }
  .coach-card { grid-template-columns: 100px 1fr; }
  .sponsor-card.platinum { flex-direction: column; text-align: center; }
  .sponsors-grid.gold { grid-template-columns: 1fr; }
  .sponsors-grid.silver { grid-template-columns: 1fr; }
  .sponsors-grid.bronze { grid-template-columns: repeat(2,1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .home-hero-actions { flex-direction: column; align-items: center; }
    #lang-toggle {top: 14px; right: 58px; padding: 6px 9px; gap: 0;}
  #lang-toggle .lang-text {display: none;}
}

@media (max-width: 580px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .roster-grid { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(0,49,93,0.1); }
  .stat-item:last-child { border-bottom: none; }
  .sponsors-grid.bronze { grid-template-columns: 1fr; }
  .coach-card { grid-template-columns: 1fr; }
  .coach-avatar { min-height: 200px; }
  .schedule-legend { flex-direction: column; gap: 0.75rem; }
}
