/**
 * fcp-shared.css — Full Court Press Design System
 * Version: 1.0.0
 * Scope: All editions, all pages
 *
 * Sections:
 *   01  Tokens & custom properties
 *   02  Reset & base
 *   03  Layout system
 *   04  Typography scale
 *   05  Button system
 *   06  Card system
 *   07  Tag / badge system
 *   08  Tool slot system
 *   09  Navigation
 *   10  Breadcrumb
 *   11  Section header
 *   12  Filter bar
 *   13  Article cards
 *   14  Roster / game rows
 *   15  Newsletter embed
 *   16  Footer
 *   17  Scroll animations
 *   18  Stat bars
 *   19  Timeline
 *   20  Responsive overrides
 */

/* ════════════════════════════════════════════
   01  TOKENS
   Edition vars (--ed-*) are overridden per page.
   Global vars are NEVER overridden.
════════════════════════════════════════════ */
:root {
  /* Edition identity — override per team */
  --ed-primary:      #E03A3E;
  --ed-primary-hot:  #FF2D30;
  --ed-primary-dim:  rgba(224,58,62,0.10);
  --ed-primary-bdr:  rgba(224,58,62,0.25);
  --ed-accent:       #1A1A1A;

  /* Global palette — never override */
  --black:   #080808;
  --dark:    #0F0F0F;
  --dark2:   #161616;
  --dark3:   #1E1E1E;
  --dark4:   #252525;
  --dark5:   #2E2E2E;
  --cream:   #F2EFE9;
  --off:     #C4C0B8;
  --muted:   #77756E;
  --subtle:  #3A3A3A;
  --border:  rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.13);
  --border3: rgba(255,255,255,0.20);
  --green:   #2ECC71;
  --green-dim: rgba(46,204,113,0.10);
  --green-bdr: rgba(46,204,113,0.25);
  --amber:   #F4C430;
  --amber-dim: rgba(244,196,48,0.10);
  --amber-bdr: rgba(244,196,48,0.25);

  /* Typography */
  --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-ui:      'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Barlow', 'Arial', sans-serif;

  /* Spacing & sizing */
  --fcp-nav-h:   60px;
  --fcp-section: 72px;
  --fcp-gap:     16px;
  --fcp-radius:  2px;
  --max-w:       1320px;
  --max-w-mid:   1060px;
  --max-w-read:  720px;
}

/* ════════════════════════════════════════════
   02  RESET & BASE
════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
a  { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font-body); cursor: pointer; }

/* Grain texture */
body::after {
  content: ''; position: fixed; inset: 0;
  pointer-events: none; z-index: 9999; opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ════════════════════════════════════════════
   03  LAYOUT SYSTEM
════════════════════════════════════════════ */
.fcp-container      { max-width: var(--max-w);      margin: 0 auto; padding: 0 28px; }
.fcp-container--mid { max-width: var(--max-w-mid);  margin: 0 auto; padding: 0 28px; }
.fcp-container--read{ max-width: var(--max-w-read); margin: 0 auto; padding: 0 28px; }
.fcp-section        { padding: var(--fcp-section) 0; }
.fcp-section--dark  { background: var(--dark2); }
.fcp-section--darker{ background: var(--dark3); }
.fcp-divider        { height: 1px; background: var(--border); }

.fcp-grid           { display: grid; gap: var(--fcp-gap); }
.fcp-grid--2        { grid-template-columns: repeat(2,1fr); }
.fcp-grid--3        { grid-template-columns: repeat(3,1fr); }
.fcp-grid--4        { grid-template-columns: repeat(4,1fr); }
.fcp-grid--70-30    { grid-template-columns: 1fr 0.43fr; }
.fcp-grid--60-40    { grid-template-columns: 1fr 0.66fr; }

/* ════════════════════════════════════════════
   04  TYPOGRAPHY SCALE
════════════════════════════════════════════ */
.fcp-eyebrow {
  font-family: var(--font-ui);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ed-primary);
}
.fcp-heading-xl {
  font-family: var(--font-display);
  font-size: clamp(40px,6vw,80px);
  line-height: 0.93; letter-spacing: 0.01em; color: #fff;
}
.fcp-heading-lg {
  font-family: var(--font-display);
  font-size: clamp(28px,4vw,52px);
  line-height: 0.95; letter-spacing: 0.01em; color: #fff;
}
.fcp-heading-md {
  font-family: var(--font-display);
  font-size: clamp(22px,2.8vw,36px);
  line-height: 1; letter-spacing: 0.01em; color: #fff;
}
.fcp-heading-sm {
  font-family: var(--font-display);
  font-size: clamp(18px,2vw,26px);
  line-height: 1.05; color: #fff;
}
.fcp-label {
  font-family: var(--font-ui);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.fcp-stat__val      { font-family: var(--font-display); font-size: 36px; color: #fff; line-height: 1; }
.fcp-stat__val--xl  { font-size: 64px; }
.fcp-stat__val--lg  { font-size: 48px; }
.fcp-stat__val--sm  { font-size: 24px; }
.fcp-stat__lbl      { font-family: var(--font-ui); font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

/* ════════════════════════════════════════════
   05  BUTTON SYSTEM
════════════════════════════════════════════ */
.fcp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 11px 22px; border: none; cursor: pointer;
  transition: all 0.18s; white-space: nowrap;
}
.fcp-btn--primary   { background: var(--ed-primary); color: #fff; border: 2px solid var(--ed-primary); }
.fcp-btn--primary:hover { background: transparent; color: var(--ed-primary); }
.fcp-btn--ghost     { background: transparent; color: var(--cream); border: 1px solid var(--border2); }
.fcp-btn--ghost:hover { border-color: var(--cream); }
.fcp-btn--subtle    { background: var(--dark4); color: var(--off); border: 1px solid var(--border); padding: 8px 16px; font-size: 11px; }
.fcp-btn--subtle:hover { border-color: var(--border2); color: var(--cream); }
.fcp-btn--active, .fcp-btn--active:hover { background: var(--ed-primary); color: #fff; border-color: var(--ed-primary); }
.fcp-btn--full      { width: 100%; justify-content: center; }

/* ════════════════════════════════════════════
   06  CARD SYSTEM
════════════════════════════════════════════ */
.fcp-card               { background: var(--dark2); border: 1px solid var(--border); transition: border-color 0.18s; }
.fcp-card:hover         { border-color: var(--border2); }
.fcp-card--interactive  { cursor: pointer; }
.fcp-card--interactive:hover { background: var(--dark3); }
.fcp-card--accent-top   { border-top: 2px solid var(--ed-primary); }
.fcp-card--accent-left  { border-left: 3px solid var(--ed-primary); }

/* ════════════════════════════════════════════
   07  TAG / BADGE SYSTEM
════════════════════════════════════════════ */
.fcp-tag {
  display: inline-block; font-family: var(--font-ui);
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 3px 8px; border: 1px solid;
}
.fcp-tag--ed     { color: var(--ed-primary);  background: var(--ed-primary-dim);  border-color: var(--ed-primary-bdr); }
.fcp-tag--muted  { color: var(--muted);       background: var(--dark4);           border-color: var(--border); }
.fcp-tag--live   { color: var(--green);       background: var(--green-dim);       border-color: var(--green-bdr); }
.fcp-tag--soon   { color: var(--amber);       background: var(--amber-dim);       border-color: var(--amber-bdr); }
.fcp-tag--white  { color: #fff;               background: rgba(255,255,255,0.08); border-color: var(--border2); }

/* ════════════════════════════════════════════
   08  TOOL SLOT SYSTEM
════════════════════════════════════════════ */
.fcp-tool           { background: var(--dark3); border: 1px solid var(--border); position: relative; overflow: hidden; }
.fcp-tool__header   { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.fcp-tool__title    { font-family: var(--font-ui); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.fcp-tool__body     { padding: 18px; }
.tool-locked        { opacity: 0.7; }
.tool-locked__overlay {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: rgba(8,8,8,0.65); backdrop-filter: blur(3px); cursor: default;
}
.tool-locked__icon  { font-family: var(--font-display); font-size: 30px; color: var(--ed-primary); opacity: 0.7; }
.tool-locked__label { font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream); }
.tool-locked__sub   { font-family: var(--font-ui); font-size: 9px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ════════════════════════════════════════════
   09  NAVIGATION
════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--fcp-nav-h);
  background: rgba(8,8,8,0.94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav__inner { height: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__back  { font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 6px; transition: color 0.15s; }
.nav__back:hover { color: var(--cream); }
.nav__edition { display: flex; align-items: center; gap: 10px; }
.nav__edition-badge { width: 6px; height: 6px; border-radius: 50%; background: var(--ed-primary); animation: livepulse 2.5s ease-in-out infinite; }
.nav__edition-name  { font-family: var(--font-display); font-size: 18px; letter-spacing: 0.04em; color: #fff; }
.nav__edition-sub   { font-family: var(--font-ui); font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ed-primary); }
.nav__links         { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav__links a       { font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 6px 12px; transition: color 0.15s; }
.nav__links a:hover,
.nav__links a.active { color: #fff; }
.nav__links a.active { color: var(--ed-primary); }
.nav__links--open   { display: flex !important; flex-direction: column; position: absolute; top: var(--fcp-nav-h); left: 0; right: 0; background: rgba(8,8,8,0.99); padding: 16px 28px; border-bottom: 1px solid var(--border); }
.nav__hamburger     { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--cream); }
@keyframes livepulse {
  0%,100% { opacity:1; box-shadow: 0 0 0 0 rgba(224,58,62,0.4); }
  50%      { opacity:0.7; box-shadow: 0 0 0 5px rgba(224,58,62,0); }
}

/* ════════════════════════════════════════════
   10  BREADCRUMB
════════════════════════════════════════════ */
.fcp-breadcrumb      { display: flex; align-items: center; gap: 8px; }
.fcp-breadcrumb a    { font-family: var(--font-ui); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); transition: color 0.15s; }
.fcp-breadcrumb a:hover { color: var(--cream); }
.fcp-breadcrumb__sep     { font-size: 10px; color: var(--subtle); }
.fcp-breadcrumb__current { font-family: var(--font-ui); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ed-primary); }

/* ════════════════════════════════════════════
   11  SECTION HEADER
════════════════════════════════════════════ */
.section-header       { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-header__left { display: flex; flex-direction: column; gap: 6px; }

/* ════════════════════════════════════════════
   12  FILTER BAR
════════════════════════════════════════════ */
.fcp-filter-bar { display: flex; gap: 6px; flex-wrap: wrap; padding: 12px 0; margin-bottom: 20px; border-bottom: 1px solid var(--border); }

/* ════════════════════════════════════════════
   13  ARTICLE CARDS
════════════════════════════════════════════ */
.article-card { background: var(--dark2); border: 1px solid var(--border); padding: 20px; display: flex; flex-direction: column; gap: 10px; transition: border-color 0.18s, background 0.18s; }
.article-card:hover { border-color: var(--border2); background: var(--dark3); }
.article-card__tag     { margin-bottom: 2px; }
.article-card__title   { font-family: var(--font-ui); font-size: 15px; font-weight: 700; color: #fff; line-height: 1.3; flex: 1; }
.article-card__excerpt { font-size: 13px; color: var(--muted); line-height: 1.55; }
.article-card__meta    { font-family: var(--font-ui); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle); margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); }

/* ════════════════════════════════════════════
   14  ROSTER & GAME ROWS
════════════════════════════════════════════ */
.roster-row { display: grid; grid-template-columns: 2rem 1fr auto auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.roster-row:last-child { border-bottom: none; }
.roster-row__num  { font-family: var(--font-display); font-size: 16px; color: var(--muted); text-align: center; }
.roster-row__name { font-family: var(--font-ui); font-size: 13px; font-weight: 700; color: #fff; }
.roster-row__pos  { font-family: var(--font-ui); font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.roster-row__contract { font-family: var(--font-ui); font-size: 10px; font-weight: 600; color: var(--subtle); text-align: right; }

.game-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background 0.15s; }
.game-row:hover          { background: var(--dark4); }
.game-row.is-active      { background: rgba(224,58,62,0.06); border-left: 2px solid var(--ed-primary); }
.game-row:last-child     { border-bottom: none; }
.game-row__date          { font-family: var(--font-ui); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); min-width: 52px; }
.game-row__opponent      { font-family: var(--font-ui); font-size: 13px; font-weight: 700; color: #fff; }
.game-row__location      { font-size: 11px; color: var(--muted); }
.game-row__score         { font-family: var(--font-display); font-size: 20px; text-align: right; white-space: nowrap; }
.game-row__score--win    { color: var(--ed-primary); }
.game-row__score--loss   { color: var(--muted); }
.game-row__result        { min-width: 24px; text-align: center; }

/* ════════════════════════════════════════════
   15  NEWSLETTER EMBED
════════════════════════════════════════════ */
.newsletter-embed        { background: var(--dark); border: 1px solid var(--border2); display: grid; grid-template-columns: 1fr 1.4fr; overflow: hidden; align-items: stretch; }
.newsletter-embed__left  { background: var(--ed-primary); padding: 40px 36px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.newsletter-embed__left-bg { position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(-45deg,transparent,transparent 8px,rgba(0,0,0,0.04) 8px,rgba(0,0,0,0.04) 9px); }
.newsletter-embed__right { padding: 40px 36px; }
.newsletter-embed__form  { display: flex; }
.newsletter-embed__input { flex: 1; background: var(--dark4); border: 1px solid var(--border2); border-right: none; color: var(--cream); font-family: var(--font-body); font-size: 14px; padding: 12px 16px; outline: none; transition: border-color 0.18s; }
.newsletter-embed__input::placeholder { color: var(--muted); }
.newsletter-embed__input:focus { border-color: var(--ed-primary); }
.newsletter-embed__submit { background: var(--ed-primary); color: #fff; font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 12px 20px; border: none; cursor: pointer; transition: background 0.18s; white-space: nowrap; }
.newsletter-embed__submit:hover { background: var(--ed-primary-hot); }
.newsletter-embed__fine  { font-family: var(--font-ui); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

/* ════════════════════════════════════════════
   16  FOOTER
════════════════════════════════════════════ */
.footer            { background: var(--dark2); border-top: 1px solid var(--border); padding: 48px 0 28px; }
.footer__inner     { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__logo      { font-family: var(--font-display); font-size: 24px; color: #fff; margin-bottom: 4px; }
.footer__logo span { color: var(--ed-primary); }
.footer__ed-name   { font-family: var(--font-ui); font-size: 9px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ed-primary); margin-bottom: 14px; }
.footer__tagline   { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.footer__social    { display: flex; gap: 8px; }
.footer__social a  { width: 30px; height: 30px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-ui); font-size: 9px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; transition: border-color 0.15s, color 0.15s; }
.footer__social a:hover { border-color: var(--ed-primary); color: var(--ed-primary); }
.footer__col-head  { font-family: var(--font-ui); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream); margin-bottom: 14px; }
.footer__links     { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer__links a   { font-size: 13px; color: var(--muted); transition: color 0.15s; }
.footer__links a:hover { color: var(--cream); }
.footer__bottom    { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--border); font-family: var(--font-ui); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ════════════════════════════════════════════
   17  SCROLL ANIMATIONS
════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ════════════════════════════════════════════
   18  STAT BARS
════════════════════════════════════════════ */
.stat-bar-track { height: 4px; background: var(--dark5); overflow: hidden; }
.stat-bar-fill  { height: 100%; background: var(--ed-primary); width: 0%; }

/* ════════════════════════════════════════════
   19  TIMELINE
════════════════════════════════════════════ */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 1px; background: var(--border2); }
.timeline__item { position: relative; padding-bottom: 32px; opacity: 0; transform: translateX(-8px); transition: opacity 0.4s ease, transform 0.4s ease; }
.timeline__item.in { opacity: 1; transform: none; }
.timeline__item::before { content: ''; position: absolute; left: -24px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--dark5); border: 2px solid var(--border2); transition: background 0.2s, border-color 0.2s; }
.timeline__item.is-key::before { background: var(--ed-primary); border-color: var(--ed-primary); }
.timeline__date  { font-family: var(--font-ui); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ed-primary); margin-bottom: 4px; }
.timeline__title { font-family: var(--font-ui); font-size: 15px; font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 6px; }
.timeline__body  { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ════════════════════════════════════════════
   20  RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .fcp-grid--70-30  { grid-template-columns: 1fr; }
  .fcp-grid--60-40  { grid-template-columns: 1fr; }
  .footer__inner    { grid-template-columns: 1fr 1fr; }
  .newsletter-embed { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --fcp-section: 48px; }
  .fcp-grid--2  { grid-template-columns: 1fr; }
  .fcp-grid--3  { grid-template-columns: 1fr; }
  .fcp-grid--4  { grid-template-columns: 1fr 1fr; }
  .nav__links   { display: none; }
  .nav__hamburger { display: flex; }
  .footer__inner  { grid-template-columns: 1fr; }
  .newsletter-embed__left, .newsletter-embed__right { padding: 28px 24px; }
}
