:root {
  --bg: #07090C;
  --bg-2: #0D1116;
  --panel: #121820;
  --line: rgba(238, 242, 245, .10);
  --ink: #EEF2F5;
  --ink-2: #A7B1BC;
  --ink-3: #6B7682;
  --accent: #38C6F4;      /* ice blue, pulled from the graffiti walls */
  --accent-2: #F2D23C;    /* graffiti yellow, used sparingly */
  --display: 'Anton', Impact, sans-serif;
  --body: 'Space Grotesk', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--accent); color: var(--bg); }

/* ---------- chrome ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 33%{transform:translate(-3%,2%)} 66%{transform:translate(2%,-3%)} 100%{transform:translate(0,0)} }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gutter);
  background: linear-gradient(to bottom, rgba(7,9,12,.85), rgba(7,9,12,0));
  transition: background .3s;
}
.nav.solid { background: rgba(7,9,12,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.mono { font: 26px/1 var(--display); text-decoration: none; letter-spacing: .02em; }
.mono::after { content: '.'; color: var(--accent); }
.nav-links { display: flex; gap: 28px; }
.nav-links a, .nav-cta {
  font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-2); transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { color: var(--bg); background: var(--accent); padding: 10px 16px; border-radius: 999px; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- buttons / atoms ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px;
  font: 600 14px/1 var(--body); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--accent); color: var(--bg); }
.btn-ghost { border: 1px solid rgba(238,242,245,.35); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.kicker {
  display: inline-block; font: 500 12px/1 var(--mono); letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
.eyebrow { font: 500 13px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.muted { color: var(--ink-3); }
.fine { font-size: 14px; color: var(--ink-3); margin: 22px 0 0; }
.link { color: var(--accent); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.mini { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 34px 0 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  padding: 120px var(--gutter) clamp(40px, 7vh, 80px); overflow: hidden; isolation: isolate;
}
.hero-photo { position: absolute; inset: -6% 0 0 auto; width: min(62%, 900px); z-index: -2; will-change: transform; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.9) contrast(1.05); }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--bg) 34%, rgba(7,9,12,.55) 58%, rgba(7,9,12,0) 80%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7,9,12,0) 38%);
}
.hero-copy { max-width: 760px; }
.hero-name {
  font-family: var(--display); text-transform: uppercase; line-height: .86; letter-spacing: -.005em;
  font-size: clamp(76px, 15vw, 210px);
}
.hero-name span { display: block; }
.outline { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.hero-number {
  position: absolute; right: var(--gutter); bottom: clamp(30px, 6vh, 70px);
  font: clamp(90px, 16vw, 240px)/.8 var(--display); color: transparent;
  -webkit-text-stroke: 1.5px var(--accent); opacity: .85;
}
.hero-number:empty { display: none; }
.hero-facts {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0;
  margin: 34px 0 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.hero-facts div { padding: 16px 30px 16px 0; margin-right: 30px; border-right: 1px solid var(--line); }
.hero-facts div:last-child { border-right: 0; margin-right: 0; }
.hero-facts dt { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.hero-facts dd { font: 34px/1 var(--display); letter-spacing: .01em; }
.hero-facts dd em { font-style: normal; color: var(--accent); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 860px) {
  /* stacked: photo on top (framed to keep the CN Tower in shot), copy overlaps its base */
  .hero { display: block; min-height: 0; padding: 0 0 48px; }
  .hero-photo { position: relative; inset: auto; width: 100%; aspect-ratio: 1 / 1; }
  .hero-photo img { object-position: 60% 34%; }
  .hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(7,9,12,.65) 20%, rgba(7,9,12,0) 46%); }
  .hero-shade { display: none; }
  .hero-copy { position: relative; margin-top: -130px; padding: 0 var(--gutter); }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .hero-facts div { padding: 14px 0; margin-right: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-facts div:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
  .hero-facts div:nth-child(even) { padding-left: 16px; }
  .hero-facts div:nth-last-child(-n+2) { border-bottom: 0; }
  .hero-facts dd { font-size: 30px; }
  .hero-number { top: 84px; bottom: auto; font-size: 110px; }
}

@media (max-width: 600px) {
  .hero-photo { aspect-ratio: 4 / 5; }
  .hero-copy { margin-top: -110px; }
}

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span {
  font: 22px/1 var(--display); text-transform: uppercase; letter-spacing: .04em;
  padding: 18px 0; white-space: nowrap; color: var(--ink-2);
}
.marquee-track span::after { content: '●'; color: var(--accent); font-size: 10px; vertical-align: middle; margin: 0 26px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 12vw, 150px) var(--gutter); max-width: var(--max); margin: 0 auto; }
.section-dark { max-width: none; background: var(--bg-2); border-block: 1px solid var(--line); }
.section-dark > * { max-width: calc(var(--max) - 2 * var(--gutter)); margin-inline: auto; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 {
  font: clamp(40px, 6vw, 76px)/.95 var(--display); text-transform: uppercase; letter-spacing: .005em; max-width: 16ch;
}

/* profile */
.profile-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.lede { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.55; color: var(--ink); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; color: var(--ink-2); background: rgba(255,255,255,.02); }
.vitals { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.vitals div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.vitals div:nth-child(odd) { padding-right: 16px; }
.vitals dt { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.vitals dd { font: 26px/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.vitals dd small { display: block; font: 500 12px/1.4 var(--mono); color: var(--ink-3); letter-spacing: .08em; margin-top: 4px; }
.vitals .wide { grid-column: 1 / -1; }
@media (max-width: 860px) { .profile-grid { grid-template-columns: 1fr; } }

/* film */
.film-stage { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.film-stage video, .film-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; object-fit: contain; }
.film-meta { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 20px 0 28px; flex-wrap: wrap; }
.film-title { font: 30px/1 var(--display); text-transform: uppercase; margin: 0 0 6px; }
.film-sub { margin: 0; color: var(--ink-2); font-size: 15px; }
.film-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.film-list button {
  all: unset; cursor: pointer; display: block; width: 100%; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: var(--panel); transition: border-color .2s, transform .2s;
}
.film-list button:hover { transform: translateY(-3px); }
.film-list button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.film-list li.on button { border-color: var(--accent); }
.film-thumb { position: relative; aspect-ratio: 16 / 9; }
.film-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .2s; }
.film-list button:hover img, .film-list li.on img { opacity: 1; }
.film-thumb::after {
  content: ''; position: absolute; left: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l8 5-8 5z' fill='%2307090C'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.film-cap { padding: 12px 14px 14px; }
.film-cap b { display: block; font: 18px/1.1 var(--display); text-transform: uppercase; font-weight: 400; letter-spacing: .02em; }
.film-cap span { font-size: 13px; color: var(--ink-3); }

/* stats */
.section-head:has(.season-tabs) { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.section-head:has(.season-tabs) .kicker { width: 100%; margin-bottom: 0; }
.season-tabs { display: flex; gap: 6px; }
.season-tabs:empty { display: none; }
.season-tabs button {
  all: unset; cursor: pointer; font: 500 12px/1 var(--mono); letter-spacing: .1em; padding: 10px 14px;
  border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2);
}
.season-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.stat-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.stat { background: var(--bg); padding: clamp(18px, 2.4vw, 30px); }
.stat-num { font: clamp(48px, 6vw, 84px)/.9 var(--display); letter-spacing: -.01em; }
.stat-num.empty { color: var(--ink-3); }
.stat-label { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-top: 12px; }
.stat:first-child .stat-num { color: var(--accent); }
.shooting { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.shot { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.shot-top { display: flex; justify-content: space-between; align-items: baseline; }
.shot-top b { font: 30px/1 var(--display); font-weight: 400; }
.shot-top span { font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--ink-3); }
.shot-bar { height: 4px; background: rgba(255,255,255,.07); border-radius: 4px; margin-top: 14px; overflow: hidden; }
.shot-bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; width: 0; transition: width 1.2s cubic-bezier(.16,.84,.24,1); }
.shot-sub { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.table-wrap { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.gamelog { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; min-width: 760px; }
.gamelog th { font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--ink-3); text-align: right; padding: 14px 12px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.gamelog td { text-align: right; padding: 13px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.gamelog tr:last-child td { border-bottom: 0; }
.gamelog .l, .gamelog td:nth-child(2) { text-align: left; color: var(--ink); }
.gamelog th:first-child, .gamelog td:first-child { text-align: left; }
.gamelog td.pts { color: var(--ink); font-weight: 700; }
.gamelog td.empty-row { text-align: center; padding: 34px 12px; color: var(--ink-3); }
@media (max-width: 860px) {
  .stat-cards { grid-template-columns: repeat(3, 1fr); }
  .stat-cards .stat:nth-child(n+4) { grid-column: span 1; }
  .shooting { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .stat-cards { grid-template-columns: repeat(2, 1fr); } .stat:first-child { grid-column: 1 / -1; } }

/* academics */
.academics { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.acad-photo { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; }
.acad-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.gpa { display: flex; align-items: center; gap: 22px; margin: 6px 0 30px; }
.gpa-num { font: clamp(130px, 18vw, 230px)/.8 var(--display); color: var(--accent); letter-spacing: -.02em; }
.gpa-label { font: 34px/1 var(--display); text-transform: uppercase; }
.gpa-label span { color: var(--ink-3); font-size: 22px; }
.acad-list { border-top: 1px solid var(--line); }
.acad-list div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.acad-list dt { font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.acad-list dd { text-align: right; font-weight: 600; }
@media (max-width: 860px) { .academics { grid-template-columns: 1fr; } .acad-photo { aspect-ratio: 4 / 3; } }

/* schedule / updates */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); }
.split .section-head { margin-bottom: 28px; }
.schedule li, .updates li { display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.when { font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.when b { display: block; font: 34px/1 var(--display); color: var(--ink); letter-spacing: 0; font-weight: 400; }
.what b { display: block; font-weight: 600; }
.what span { font-size: 14px; color: var(--ink-3); }
.what p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.schedule li.empty-note { display: block; padding: 22px 0; color: var(--ink-3); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 4px; }
.gallery figure { margin: 0; overflow: hidden; aspect-ratio: 3 / 4; background: var(--panel); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.16,.84,.24,1), filter .4s; filter: grayscale(.35); }
.gallery figure:hover img { transform: scale(1.05); filter: none; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* contact */
.contact { text-align: center; }
.contact-email {
  display: block; font: clamp(30px, 6.4vw, 92px)/1 var(--display); text-transform: uppercase; text-decoration: none;
  letter-spacing: .005em; overflow-wrap: anywhere; transition: color .2s;
}
.contact-email:hover { color: var(--accent); }
.contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }
.contacts:empty { display: none; }
.person { border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; text-align: left; min-width: 230px; }
.person dt { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.person dd { font-size: 15px; color: var(--ink-2); }
.person dd b { color: var(--ink); font-size: 17px; }
.person a { text-decoration: none; }
.person a:hover { color: var(--accent); }
.socials { display: flex; justify-content: center; gap: 22px; margin-top: 30px; }
.socials a { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; }
.socials a:hover { color: var(--accent); }

.foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 26px var(--gutter); border-top: 1px solid var(--line);
  font: 500 11px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .marquee-track { animation: none; }
}

/* outside film links (Hudl and the rest) */
.film-list .film-card {
  display: block; text-decoration: none; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: var(--panel); transition: border-color .2s, transform .2s;
}
.film-list .film-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.film-list .film-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.film-thumb.ext { display: grid; place-items: center; background: linear-gradient(135deg, var(--bg-2), var(--panel)); }
.film-thumb.ext::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 16L16 8M10 8h6v6' stroke='%2307090C' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}
.film-host { font: 30px/1 var(--display); text-transform: uppercase; color: var(--ink-3); letter-spacing: .04em; }

/* socials */
.social-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.social-pills:empty { display: none; }
.pill {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.02); text-decoration: none; text-align: left;
  transition: border-color .2s, transform .2s;
}
.pill:hover { border-color: var(--accent); transform: translateY(-2px); }
.pill svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
.pill span { font-weight: 600; font-size: 15px; line-height: 1.15; }
.pill small { display: block; font: 500 10px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.foot-social { display: inline-flex; gap: 16px; }
.foot-social:empty { display: none; }
.foot-social a { color: var(--ink-3); transition: color .2s; }
.foot-social a:hover { color: var(--accent); }
.foot-social svg { width: 18px; height: 18px; display: block; }

.sched-link { display: table; margin-top: 6px; font-size: 14px; }
