/* =============================================================================
   FLEETWORK — SITE STYLES (shared by index.html and roster.html)
   One idea runs through everything: the slash. The jersey, the logo and the
   banner all cut on the same diagonal, so buttons, tags, the scoreboard and the
   section edges do too.
============================================================================= */
:root{
  --bg: #09090A;
  --panel: #121215;
  --panel-2: #1A1A1F;
  --orange: #F5601A;
  --orange-hot: #FF7A2F;
  --red: #DF0A11;
  --text: #F3EFE8;
  --muted: #9B9AA3;
  --line: rgba(243,239,232,0.10);
  --line-2: rgba(243,239,232,0.20);
  --maxw: 1200px;
  --slash: -2deg;
  --display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 72px; }
body{
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; }
h1, h2, h3, p, ul, dl, dd{ margin: 0; }
ul{ padding: 0; list-style: none; }
:focus-visible{ outline: 3px solid var(--orange-hot); outline-offset: 3px; }
.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 60;
  background: rgba(9,9,10,0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.site-header::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--red));
}
.header-inner{
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand{ display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark{
  width: 42px; height: 42px; border-radius: 50%; background: var(--text);
  display: flex; align-items: center; justify-content: center; padding: 5px; flex: none;
}
.brand-mark img{ width: 100%; height: 100%; object-fit: contain; }
.brand-name{ font-family: var(--display); font-size: 22px; letter-spacing: 0.03em; text-transform: uppercase; }
.nav{ display: flex; gap: 28px; }
.nav a{
  font-family: var(--display); font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; color: var(--muted); padding: 8px 0; border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"]{ color: var(--text); border-bottom-color: var(--orange); }
.nav-toggle{
  display: none; width: 46px; height: 42px; background: none; border: 1px solid var(--line-2);
  color: var(--text); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span{ display: block; width: 20px; height: 2px; background: currentColor; }

/* ---------- buttons and tags ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  padding: 17px 34px; border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--body); font-weight: 800; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  transition: filter .15s, transform .15s;
}
.btn:hover{ filter: brightness(1.12); transform: translateY(-2px); }
.btn-solid{ background: linear-gradient(135deg, var(--orange-hot), var(--orange) 55%, #E8420F); color: #170A04; }
.btn-ghost{ background: rgba(243,239,232,0.09); color: var(--text); box-shadow: inset 0 2px 0 var(--line-2), inset 0 -2px 0 var(--line-2); }
.btn-dark{ background: #0A0A0B; color: var(--text); }
.tag{
  display: inline-block; padding: 9px 22px; font-weight: 600; font-size: 14px;
  background: rgba(243,239,232,0.10); color: var(--text);
  clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
}
.tag-row{ display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- hero ---------- */
.hero{
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(90vh, 880px); display: flex; align-items: center; padding: 96px 0 150px;
}
.hero-bg{ position: absolute; inset: 0; z-index: -3; }
.hero-bg img{ width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: grayscale(0.5) contrast(1.1) brightness(0.62); }
.hero-bg::after{
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(9,9,10,0.96) 0%, rgba(9,9,10,0.80) 38%, rgba(9,9,10,0.30) 72%, rgba(9,9,10,0.5) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero::before{
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 70% at 92% 105%, rgba(245,96,26,0.38), transparent 70%),
    radial-gradient(40% 50% at 0% 0%, rgba(223,10,17,0.22), transparent 70%);
}
.court{
  position: absolute; z-index: -1; right: -4%; top: 4%; width: min(860px, 72vw);
  color: #fff; opacity: 0.075; pointer-events: none;
}
.hero-inner{ position: relative; width: 100%; }
.hero-logo{ width: min(600px, 92%); margin: calc(min(600px, 92%) * -0.03) 0 calc(min(600px, 92%) * -0.06) calc(min(600px, 92%) * -0.047); filter: drop-shadow(0 0 26px rgba(245,96,26,0.30)); }
.tagline{ font-size: clamp(19px, 2.2vw, 25px); font-weight: 500; line-height: 1.45; max-width: 40ch; margin: 26px 0 28px; }
.hero .tag-row{ margin-bottom: 38px; }
.hero-ctas{ display: flex; flex-wrap: wrap; gap: 14px; }
@keyframes rise{ from{ opacity: 0; transform: translateY(26px); } to{ opacity: 1; transform: none; } }
.hero-inner > *{ animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.hero-inner > :nth-child(2){ animation-delay: .12s; }
.hero-inner > :nth-child(3){ animation-delay: .24s; }
.hero-inner > :nth-child(4){ animation-delay: .36s; }

/* ---------- the slashed banner ---------- */
.ticker-wrap{ position: relative; z-index: 6; margin-top: -64px; padding: 46px 0; overflow: hidden; pointer-events: none; }
.ticker{
  transform: rotate(var(--slash)); width: 108%; margin-left: -4%;
  background: linear-gradient(90deg, var(--orange), var(--orange-hot) 50%, var(--orange));
  border-top: 3px solid #000; border-bottom: 3px solid #000;
  box-shadow: 0 8px 28px rgba(245,96,26,0.22);
}
.ticker-track{ display: flex; width: max-content; animation: scroll 34s linear infinite; }
.ticker-item{
  display: flex; align-items: center; padding: 15px 0; white-space: nowrap;
  font-family: var(--display); font-size: clamp(22px, 3vw, 34px); letter-spacing: 0.02em; text-transform: uppercase; color: #140804;
}
.ticker-item::after{ content: ""; width: 12px; height: 12px; background: #140804; transform: rotate(45deg); margin: 0 32px; }
@keyframes scroll{ to{ transform: translateX(-50%); } }

/* ---------- scoreboard ---------- */
.scoreboard{
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px;
  background: var(--panel); clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
}
.sb-cell{ position: relative; padding: 32px 34px; }
.sb-cell + .sb-cell::before{
  content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 2px;
  background: var(--line-2); transform: skewX(-12deg);
}
.sb-label{ display: block; color: var(--muted); font-size: 14px; font-weight: 500; }
.sb-value{
  display: block; font-family: var(--display); color: var(--orange); line-height: 1.05; margin-top: 6px;
  font-size: clamp(30px, 4.6vw, 60px); text-shadow: 0 0 24px rgba(245,96,26,0.5);
}
.sb-sub{ display: block; font-size: 15px; font-weight: 600; margin-top: 2px; }
.sb-sub.dim{ color: var(--muted); font-weight: 500; font-size: 14px; margin-top: 0; }
.sb-value.text{ font-size: clamp(22px, 2.6vw, 34px); padding: 10px 0 8px; }

/* ---------- sections ---------- */
section{ position: relative; isolation: isolate; overflow: hidden; padding: 120px 0; }
section.band::before{
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--panel);
  transform: skewY(var(--slash));
}
.title{
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(46px, 7.2vw, 92px); line-height: 0.94; letter-spacing: 0.005em;
}
.title::before{
  content: ""; display: block; width: 88px; height: 9px; margin-bottom: 24px;
  background: var(--orange); transform: skewX(-24deg);
}
.lede{ color: var(--muted); font-size: 18px; max-width: 54ch; margin-top: 20px; }

/* how we play */
.play-grid{ display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; margin-top: 8px; }
.mission p{ font-size: 19px; line-height: 1.65; max-width: 52ch; color: #DAD6CE; margin-top: 22px; }
.mission p:first-of-type{ color: var(--text); font-size: 22px; font-weight: 500; line-height: 1.5; }
.pillars li{ display: grid; grid-template-columns: minmax(180px, 0.9fr) 1.1fr; gap: 24px; align-items: baseline; padding: 24px 0; border-top: 2px solid var(--line-2); }
.pillars li:last-child{ border-bottom: 2px solid var(--line-2); }
.pillars h3{ font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; text-transform: uppercase; }
.pillars p{ color: var(--muted); font-size: 16px; }

/* open runs */
.run-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.run{ background: var(--panel-2); border-top: 5px solid var(--orange); padding: 30px 30px 34px; }
.run h3{ font-family: var(--display); font-weight: 400; font-size: 30px; text-transform: uppercase; margin-bottom: 12px; }
.run p, .run li{ color: #D5D1C9; }
.run li{ padding: 5px 0 5px 20px; position: relative; }
.run li::before{ content: ""; position: absolute; left: 0; top: 15px; width: 8px; height: 8px; background: var(--orange); transform: rotate(45deg); }

/* schedule */
.sched-grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.sched-block{ min-width: 0; background: var(--panel-2); border-top: 5px solid var(--orange); padding: 28px 30px 32px; }
.sched-grid.has-games{ grid-template-columns: minmax(0, 1fr); }
.sched-block h3{ font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; text-transform: uppercase; }
.sched-block .sched-meta{ margin-top: 18px; }
.sched-meta{ display: flex; flex-wrap: wrap; gap: 14px 48px; margin: 14px 0 22px; }
.meta-l{ display: block; color: var(--muted); font-size: 14px; }
.meta-v{ display: block; font-family: var(--display); font-size: 24px; color: var(--orange); letter-spacing: 0.02em; }
.sched-soon{ color: var(--muted); }
.sched-table{ width: 100%; border-collapse: collapse; }
.sched-table th{ text-align: left; color: var(--muted); font-weight: 500; font-size: 14px; padding: 12px 14px; border-bottom: 2px solid var(--line-2); }
.sched-table td{ padding: 16px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sched-table tr.past td{ color: var(--muted); }
.sched-table td.result{ font-weight: 700; }
.sched-table td.result.w{ color: var(--orange); }
.table-scroll{ overflow-x: auto; }

/* roster rail (home) */
.rail-head{ display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.rail{ display: flex; gap: 18px; overflow-x: auto; margin: 48px -24px 0; padding: 0 24px 26px; scroll-snap-type: x proximity; scroll-padding: 0 24px; scrollbar-width: thin; scrollbar-color: var(--orange) transparent; }
.rail-card{
  flex: 0 0 220px; position: relative; text-decoration: none; background: var(--panel-2); scroll-snap-align: start;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}
.rail-photo{ position: relative; aspect-ratio: 4 / 5; background: #0C0C0E; }
.rail-photo img{ width: 100%; height: 100%; object-fit: cover; }
.rail-photo::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,9,10,0.92) 0%, rgba(9,9,10,0) 52%); }
.rail-num{
  position: absolute; z-index: 2; top: 8px; right: 34px; font-family: var(--display); font-size: 44px; line-height: 1;
  color: var(--orange); text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.rail-name{ position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px; font-family: var(--display); font-size: 24px; line-height: 1.05; text-transform: uppercase; }
.rail-more{
  background: linear-gradient(160deg, var(--orange-hot), var(--orange) 55%, #D93D0C); color: #170A04;
  display: flex; align-items: flex-end; padding: 22px 20px; min-height: 100%;
}
.rail-more span{ font-family: var(--display); font-size: 34px; line-height: 1; text-transform: uppercase; }

/* record */
.rec-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.rec{ background: var(--panel-2); border-top: 6px solid var(--orange); padding: 26px 30px 30px; }
.rec-name{ display: block; color: var(--muted); font-size: 16px; font-weight: 500; }
.rec-v{ display: block; font-family: var(--display); font-size: clamp(60px, 7vw, 96px); line-height: 1; margin-top: 10px; }
.rec-note{ display: block; color: var(--text); font-weight: 600; margin-top: 10px; }

/* highlights */
.film-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 48px; }
.film{ background: var(--panel-2); text-decoration: none; display: block; }
.film video, .film .film-link{ width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; object-fit: cover; }
.film-link{ position: relative; display: flex; align-items: center; justify-content: center; }
.film-play{ width: 68px; height: 68px; background: var(--orange); clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); display: flex; align-items: center; justify-content: center; color: #170A04; font-size: 22px; padding-left: 4px; }
.film-cap{ padding: 16px 20px 20px; font-weight: 600; }
.soon{ margin-top: 48px; padding: 40px 44px; background: var(--panel-2); border-left: 8px solid var(--orange); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.soon p{ font-size: 20px; font-weight: 500; max-width: 40ch; }

/* follow */
.follow{
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 52px 56px; background: linear-gradient(110deg, #0A0A0B, #17171B);
  clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 0 100%);
}
.follow::before{ content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: linear-gradient(180deg, var(--orange), var(--red)); }
.follow h2{ font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(38px, 5vw, 64px); line-height: 1; }
.follow p{ color: var(--muted); margin-top: 8px; font-size: 18px; }
.follow-links{ display: flex; gap: 14px; flex-wrap: wrap; }

/* footer */
.site-footer{ border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer-top{ display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-links{ display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.footer-links a{ color: var(--muted); text-decoration: none; font-weight: 600; transition: color .15s; }
.footer-links a:hover{ color: var(--orange); }
.footer-bottom{ margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ---------- roster page ---------- */
.page-hero{ position: relative; isolation: isolate; overflow: hidden; padding: 96px 0 40px; }
.page-hero::before{
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 90% at 100% 0%, rgba(245,96,26,0.22), transparent 70%), radial-gradient(40% 70% at 0% 100%, rgba(223,10,17,0.14), transparent 70%);
}
.page-hero .title{ font-size: clamp(64px, 11vw, 150px); }
.chips{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip{
  font-family: var(--body); font-weight: 700; font-size: 14px; color: var(--text); cursor: pointer; border: 0;
  background: var(--panel-2); padding: 12px 24px; clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  transition: background .15s, color .15s;
}
.chip:hover{ background: #26262D; }
.chip[aria-pressed="true"]{ background: var(--orange); color: #170A04; }
.players{ padding-top: 40px; }
.player-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pcard{
  background: var(--panel-2); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  transition: transform .22s, filter .22s;
}
.pcard:hover{ transform: translateY(-6px); filter: brightness(1.08); }
.pcard-photo{ position: relative; aspect-ratio: 4 / 5; background: #0C0C0E; overflow: hidden; }
.pcard-photo img{ width: 100%; height: 100%; object-fit: cover; }
.pcard-photo svg{ width: 100%; height: 100%; display: block; }
.pcard-photo::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,9,10,0.96) 0%, rgba(9,9,10,0.35) 34%, rgba(9,9,10,0) 58%); pointer-events: none; }
.pcard-num{
  position: absolute; z-index: 2; top: 10px; right: 42px; font-family: var(--display); font-size: clamp(46px, 4.8vw, 64px); line-height: 1;
  color: var(--orange); text-shadow: 0 3px 16px rgba(0,0,0,0.65);
}
.pcard-name{ position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 14px; font-family: var(--display); font-size: clamp(24px, 2.4vw, 31px); line-height: 1.04; text-transform: uppercase; }
.pcard-bio{ padding: 6px 18px 16px; }
.pcard-bio div{ display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pcard-bio div:last-child{ border-bottom: 0; }
.pcard-bio dt{ color: var(--muted); font-weight: 500; }
.pcard-bio dd{ font-weight: 600; line-height: 1.4; }
.staff-row{ display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.staff-card{ background: var(--panel-2); border-left: 8px solid var(--orange); padding: 26px 40px 26px 28px; min-width: 260px; }
.staff-role{ display: block; color: var(--muted); font-size: 14px; }
.staff-name{ display: block; font-family: var(--display); font-size: 36px; text-transform: uppercase; line-height: 1.1; margin-top: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px){
  .player-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px){
  .nav{
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; display: none;
    background: var(--panel); border-bottom: 3px solid var(--orange);
  }
  .nav.open{ display: flex; }
  .nav a{ padding: 18px 24px; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav-toggle{ display: flex; }
  .play-grid{ grid-template-columns: 1fr; gap: 44px; }
  .run-grid, .sched-grid{ grid-template-columns: minmax(0, 1fr); }
  .rec-grid{ grid-template-columns: 1fr; }
  section{ padding: 88px 0; }
  .scoreboard{ grid-template-columns: repeat(2, 1fr); clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%); }
  .sb-cell:nth-child(3)::before{ display: none; }
  .sb-cell{ padding: 24px 26px; }
}
@media (max-width: 700px){
  .player-grid{ grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pillars li{ grid-template-columns: 1fr; gap: 6px; }
  .pcard-num{ font-size: 38px; top: 6px; right: 30px; }
  .rail-num{ font-size: 36px; right: 28px; }
  .pcard-bio{ padding: 4px 14px 12px; }
  .pcard-bio div{ grid-template-columns: 1fr; gap: 2px; padding: 9px 0; }
  .follow{ padding: 40px 30px 44px 36px; }
  .hero{ padding: 64px 0 130px; }
  .rail-card{ flex-basis: 180px; }
  .soon{ padding: 30px 28px; }
}
@media (max-width: 700px){
  .table-scroll{ overflow: visible; }
  .sched-table, .sched-table tbody{ display: block; }
  .sched-table thead{ display: none; }
  .sched-table tr{
    display: grid; grid-template-columns: 1fr auto; grid-template-areas: "o t" "d r" "v v";
    gap: 3px 14px; padding: 16px 0; border-bottom: 1px solid var(--line);
  }
  .sched-table td{ padding: 0; border: 0; white-space: normal; }
  .sched-table td.c-o{ grid-area: o; font-weight: 700; font-size: 18px; }
  .sched-table td.c-t{ grid-area: t; font-weight: 700; text-align: right; }
  .sched-table td.c-d{ grid-area: d; color: var(--muted); }
  .sched-table td.c-r{ grid-area: r; text-align: right; }
  .sched-table td.c-v{ grid-area: v; color: var(--muted); font-size: 15px; }
  .sched-table tr.past td.c-o{ color: var(--text); }
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation: none !important; transition: none !important; }
  .ticker-track{ transform: none; }
}
