@charset "UTF-8";

:root {
  --ink: #071321;
  --navy: #06182d;
  --navy-raised: #102b4a;
  --burgundy: #7a1028;
  --record-red: #c31535;
  --ice: #f4f8fb;
  --surface: #ffffff;
  --blue-line: #2a6f9e;
  --steel: #52657a;
  --line: #c6d4e0;
  --gold: #d8b458;
  --success: #2d7a58;
  --font-display: "Unbounded", Arial, sans-serif;
  --font-body: "Manrope", Arial, sans-serif;
  --container: 1240px;
  --shadow-small: 0 4px 8px rgb(7 19 33 / 10%);
  --transition: 160ms ease-out;
  --radius-sm: 4px;
  --radius-md: 6px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 96px;
  --space-32: 128px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ice);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body,
button,
a {
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button,
a,
summary,
.bar-wrap {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--blue-line);
  outline-offset: 3px;
}

.hero :focus-visible,
.section-navy :focus-visible,
.records-section :focus-visible,
.sources-section :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: inherit;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-family: var(--font-display);
}

h2,
h3 {
  font-family: var(--font-body);
}

p {
  text-wrap: pretty;
}

table,
.score-number,
.record-value,
.record-row > strong,
.route-map time,
.timeline time,
.answer-stats dd,
.bar-value {
  font-variant-numeric: tabular-nums;
}

.container,
.hero-content {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--surface);
  background: var(--burgundy);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: 68px;
  background: rgb(255 255 255 / 96%);
  border-bottom: 2px solid var(--burgundy);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  color: var(--surface);
  background: var(--burgundy);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  background: var(--burgundy);
}

.brand-mark::before {
  width: 50px;
  height: 2px;
}

.brand-mark::after {
  width: 2px;
  height: 50px;
}

.site-header nav {
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-bottom: 3px solid transparent;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition);
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--burgundy);
  border-bottom-color: var(--burgundy);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
  border-radius: var(--radius-sm);
}

.nav-toggle > span[aria-hidden="true"],
.nav-toggle > span[aria-hidden="true"]::before,
.nav-toggle > span[aria-hidden="true"]::after {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  content: "";
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle > span[aria-hidden="true"]::before {
  transform: translateY(-6px);
}

.nav-toggle > span[aria-hidden="true"]::after {
  transform: translateY(4px);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(720px, calc(100svh - 68px));
  isolation: isolate;
  overflow: hidden;
  color: var(--surface);
  background-color: var(--navy);
  background-image: linear-gradient(90deg, rgb(6 24 45 / 96%) 0%, rgb(6 24 45 / 76%) 46%, rgb(6 24 45 / 18%) 100%), url("https://assets.nhle.com/mugs/actionshots/1296x729/8471214.jpg");
  background-position: center, 68% center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 6px;
  content: "";
  background: var(--record-red);
  box-shadow: 34vw 0 0 var(--blue-line), 68vw 0 0 var(--gold);
}

.hero-content {
  display: grid;
  min-height: inherit;
  align-items: center;
  padding-block: 64px 72px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 4fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--record-red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before,
.section-mark::before {
  width: 28px;
  height: 3px;
  content: "";
  background: currentColor;
}

.hero .eyebrow {
  color: var(--ice);
}

.hero h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(46px, 5.6vw, 82px);
  font-weight: 800;
  line-height: .98;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 28px;
  color: rgb(255 255 255 / 84%);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.55;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition);
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--surface);
  background: var(--burgundy);
}

.button-primary:hover {
  background: #610c20;
}

.button-secondary {
  color: var(--surface);
  border-color: rgb(255 255 255 / 56%);
  background: transparent;
}

.button-secondary:hover {
  border-color: var(--surface);
  background: rgb(255 255 255 / 8%);
}

.button-light {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}

.button-light:hover {
  color: var(--surface);
  background: var(--ink);
}

.record-tower {
  position: relative;
  align-self: center;
  padding: 28px;
  border: 1px solid rgb(255 255 255 / 32%);
  border-top: 4px solid var(--gold);
  background: linear-gradient(180deg, rgb(16 43 74 / 96%), rgb(6 24 45 / 98%));
  box-shadow: var(--shadow-small);
}

.score-label,
.score-caption {
  display: block;
}

.score-label {
  color: rgb(255 255 255 / 70%);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.score-number {
  display: block;
  margin: 4px 0 2px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(72px, 8vw, 112px);
  font-weight: 900;
  line-height: 1;
}

.score-caption {
  color: rgb(255 255 255 / 72%);
  font-size: 14px;
}

.score-deltas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-block: 24px;
  border-block: 1px solid rgb(255 255 255 / 18%);
}

.score-deltas p {
  padding: 16px 0;
  margin: 0;
}

.score-deltas p + p {
  padding-left: 18px;
  border-left: 1px solid rgb(255 255 255 / 18%);
}

.score-deltas strong,
.score-deltas span {
  display: block;
}

.score-deltas strong {
  color: var(--surface);
  font-size: 26px;
  line-height: 1;
}

.score-deltas span {
  margin-top: 6px;
  color: rgb(255 255 255 / 65%);
  font-size: 11px;
  line-height: 1.35;
}

.score-track {
  /* (929 - 894) / (1000 - 894); update together with the numbers in HTML */
  --track-pct: 33.02%;

  position: relative;
  margin-top: 4px;
}

.score-track-rail {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgb(255 255 255 / 24%);
}

.score-track-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--track-pct);
  border-radius: 999px;
  background: var(--record-red);
}

.score-track-dot {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.score-track-dot-start {
  left: 0;
  background: var(--gold);
}

.score-track-dot-current {
  left: var(--track-pct);
  border: 3px solid var(--record-red);
  background: var(--surface);
}

.score-track-dot-goal {
  left: 100%;
  border: 2px solid rgb(255 255 255 / 55%);
  background: var(--navy);
}

.score-track-labels {
  position: relative;
  height: 38px;
  margin-top: 12px;
  color: rgb(255 255 255 / 68%);
  font-size: 13px;
  font-weight: 800;
}

.score-track-labels > span {
  position: absolute;
  top: 0;
  display: grid;
  gap: 2px;
  line-height: 1.2;
}

.score-track-labels small {
  font-size: 11px;
  font-weight: 600;
  color: rgb(255 255 255 / 55%);
}

.score-track-labels .score-track-start {
  left: 0;
}

.score-track-labels .score-track-current {
  left: var(--track-pct);
  transform: translateX(-50%);
  text-align: center;
  color: var(--surface);
}

.score-track-labels .score-track-goal {
  right: 0;
  text-align: right;
}

/* Sections */
.section {
  position: relative;
  padding-block: 88px;
  background: var(--surface);
}

.section-ice {
  background: var(--ice);
}

.section-navy {
  color: var(--surface);
  background: var(--navy);
}

.section-header {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-header h2,
.answer-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.04;
}

.section-header p,
.answer-copy p,
.section-copy {
  max-width: 72ch;
  color: var(--steel);
  font-size: 17px;
}

.section-navy .section-header p,
.section-navy .section-copy {
  color: rgb(255 255 255 / 72%);
}

.section-actions {
  margin-top: 32px;
}

/* Quick answer */
.answer-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.answer-copy {
  max-width: 520px;
}

.answer-copy p:last-child {
  margin-bottom: 0;
}

.answer-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  margin: 0;
  border-block: 2px solid var(--navy);
  background: var(--surface);
}

.answer-stats > div {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 160px;
  padding: 24px;
}

.answer-stats > div + div {
  border-left: 1px solid var(--line);
}

.answer-stats dt {
  color: var(--steel);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.answer-stats dd {
  margin: auto 0 0;
  padding-top: 16px;
}

.answer-stats dd strong {
  display: block;
  color: var(--burgundy);
  font-family: var(--font-display);
  font-size: clamp(38px, 3.6vw, 54px);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.answer-stats dd span {
  display: block;
  margin-top: 4px;
  color: var(--steel);
  font-size: 13px;
  line-height: 1.4;
}

/* Record route */
.record-route-section {
  overflow: hidden;
}

.route-layout {
  display: grid;
  grid-template-columns: minmax(280px, 4fr) minmax(0, 8fr);
  align-items: center;
  gap: 48px;
}

.section-header-tight {
  margin-bottom: 0;
}

.route-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(100px, 1fr));
  padding: 32px 0 0;
  margin: 0;
  list-style: none;
}

.route-map::before {
  position: absolute;
  top: 9px;
  right: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--line);
}

.route-map::after {
  position: absolute;
  top: 9px;
  left: 0;

  /* Fill ends at the center of the current (929) dot: 4th of 5 equal
     columns starts at 60%, dot offset 16px + radius 9px. */
  width: calc(60% + 25px);
  height: 4px;
  content: "";
  background: var(--record-red);
}

.route-map li {
  position: relative;
  min-width: 0;
  padding: 0 16px 4px;
}

.route-map li::before {
  position: absolute;
  top: -27px;
  left: 16px;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--record-red);
  border-radius: 50%;
}

.route-map li:first-child {
  padding-left: 0;
}

.route-map li:first-child::before {
  left: 0;
}

.route-map li:last-child {
  padding-right: 0;
}

.route-map li.route-historic::before {
  background: var(--gold);
}

.route-map li[aria-current="step"]::before {
  top: -30px;
  width: 18px;
  height: 18px;
  border: 4px solid var(--record-red);
  background: var(--surface);
}

.route-map li:last-child::before {
  background: var(--ice);
  border: 2px solid var(--steel);
}

.route-map li:last-child time {
  color: var(--steel);
}

.route-map time,
.route-map strong,
.route-map span {
  display: block;
}

.route-map time {
  margin-bottom: 8px;
  color: var(--record-red);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.route-map strong {
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.route-map span {
  margin-top: 10px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

/* Records */
.records-section {
  color: var(--surface);
  background: var(--navy);
}

.records-section .section-header p {
  color: rgb(255 255 255 / 68%);
}

.records-section .section-mark {
  color: var(--gold);
}

.records-layout {
  display: grid;
  grid-template-columns: minmax(300px, 5fr) minmax(0, 7fr);
  border-block: 1px solid rgb(255 255 255 / 24%);
}

.record-feature {
  display: flex;
  min-height: 530px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  background: var(--burgundy);
}

.record-feature small,
.record-row small {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.record-value {
  display: block;
  margin: 12px 0 18px;
  color: var(--surface);
  font-family: var(--font-display);
  font-size: clamp(76px, 8vw, 116px);
  font-weight: 900;
  line-height: .9;
}

.record-feature h3 {
  max-width: 460px;
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 42px);
}

.record-feature p {
  max-width: 56ch;
  color: rgb(255 255 255 / 75%);
}

.record-status {
  align-self: flex-start;
  margin-top: 20px;
  padding: 6px 10px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
}

.record-ledger {
  display: grid;
}

.record-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
  transition: background-color var(--transition), transform var(--transition);
}

.record-row:last-child {
  border-bottom: 0;
}

.record-row:hover {
  background: var(--navy-raised);
  transform: translateX(2px);
}

.record-row h3 {
  margin: 4px 0;
  font-size: 19px;
}

.record-row p {
  margin: 0;
  color: rgb(255 255 255 / 60%);
  font-size: 13px;
  line-height: 1.45;
}

.record-row > strong {
  min-width: 112px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.records-section .button-light {
  color: var(--surface);
  border-color: rgb(255 255 255 / 60%);
}

.records-section .button-light:hover {
  color: var(--navy);
  background: var(--surface);
}

/* Timeline */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 2px solid var(--navy);
}

.timeline li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  align-self: start;
  color: var(--burgundy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.timeline strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  line-height: 1.3;
}

.timeline p {
  margin: 0;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.55;
}

/* Charts and tables */
.chart-panel {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 24px;
}

.chart-card,
.table-wrap {
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  scrollbar-color: var(--blue-line) var(--ice);
}

.chart-card {
  padding: 24px 20px 16px;
}

.chart-legend {
  display: flex;
  min-width: 760px;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 800;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chart-legend span::before {
  width: 10px;
  height: 10px;
  content: "";
  background: var(--record-red);
}

.chart-legend .legend-peak::before {
  background: var(--gold);
}

.chart-legend .legend-average::before {
  height: 2px;
  background: var(--blue-line);
}

.season-chart {
  position: relative;
  display: grid;
  min-width: 760px;
  height: 360px;
  grid-template-columns: repeat(21, minmax(24px, 1fr));
  align-items: end;
  gap: 6px;
  padding: 24px 0 0;
  border-bottom: 2px solid var(--navy);
}

.chart-average-line {
  position: absolute;
  right: 0;
  left: 0;
  height: 0;
  border-top: 2px dashed var(--blue-line);
  pointer-events: none;
}

.bar-wrap {
  display: grid;
  height: 100%;
  grid-template-rows: 1fr 52px;
  align-items: end;
  cursor: default;
}

.bar {
  position: relative;
  width: 100%;
  max-height: 300px;
  background: var(--record-red);
  transform-origin: bottom;
  transition: background-color var(--transition), transform var(--transition);
}

.bar-wrap:hover .bar,
.bar-wrap:focus-visible .bar {
  background: var(--burgundy);
  transform: translateY(-3px);
}

.bar-wrap:nth-child(3) .bar {
  background: var(--gold);
}

.bar.assists {
  background: var(--blue-line);
}

.bar-value {
  position: absolute;
  right: 50%;
  bottom: 100%;
  padding-bottom: 4px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  transform: translateX(50%);
}

.bar-label {
  display: block;
  align-self: start;
  padding-top: 8px;
  color: var(--steel);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.note {
  padding: 14px 4px 0;
  margin: 0;
  color: var(--steel);
  font-size: 13px;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 14px;
}

caption {
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 800;
  text-align: left;
}

thead {
  color: var(--surface);
  background: var(--navy);
}

th,
td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  vertical-align: top;
}

th:first-child,
td:first-child,
tbody th {
  text-align: left;
}

tbody tr:hover {
  background: var(--ice);
}

.rank {
  color: var(--record-red);
  font-weight: 800;
}

/* Coach board */
.moment-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(440px, 7fr);
  align-items: center;
  gap: clamp(48px, 7vw, 88px);
}

.hockey-board {
  position: relative;
  padding: 28px 24px 18px;
  color: var(--ink);
  background: #eaf2f7;
  border: 8px solid var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-small);
}

.board-clip {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 86px;
  height: 24px;
  background: var(--steel);
  border: 4px solid var(--navy);
  border-radius: var(--radius-sm);
  transform: translateX(-50%);
}

.board-title {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.board-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.map-caption {
  margin: 12px 0 0;
  color: var(--steel);
  font-size: 12px;
}

/* Video */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.video-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.video-card:hover {
  border-color: var(--blue-line);
  box-shadow: var(--shadow-small);
  transform: translateY(-2px);
}

.video-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy);
}

/* Without JS the facade cannot mount a player, so only the YouTube link is offered. */
.video-play {
  display: none;
}

/* The whole preview is the play target: that is where people click. */
.js .video-play {
  position: absolute;
  display: grid;
  padding: 0;
  inset: 0;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.video-play-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--surface);
  background: var(--record-red);
  border: 2px solid var(--surface);
  border-radius: 50%;
  transition: background-color var(--transition), transform var(--transition);
}

.video-play-icon svg {
  margin-left: 2px;
}

.video-card:hover .video-play-icon {
  background: var(--burgundy);
  transform: scale(1.06);
}

.video-play:active .video-play-icon {
  transform: scale(.98);
}

.video-play:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

/* The dark wash keeps the white icon legible over bright thumbnails. */
.js .video-play::before {
  position: absolute;
  content: "";
  inset: 0;
  background: rgba(6, 24, 45, .28);
  transition: background-color var(--transition);
}

.video-card:hover .video-play::before {
  background: rgba(6, 24, 45, .4);
}

.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease-out;
}

.video-card:hover .video-frame img {
  transform: scale(1.02);
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Once the player is mounted the card must not shift under the cursor. */
.video-card:has(.video-frame iframe):hover {
  transform: none;
}

.video-fallback {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 700;
}

.video-fallback a {
  color: var(--blue-line);
}

.video-body {
  padding: 20px;
}

.video-meta {
  margin-bottom: 8px;
  color: var(--record-red);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.video-body h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.video-body > p:last-child {
  display: -webkit-box;
  margin-bottom: 0;
  overflow: hidden;
  color: var(--steel);
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* FAQ and sources */
.faq-grid {
  max-width: 920px;
  border-top: 2px solid var(--navy);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  padding: 16px 52px 16px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  right: 4px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  content: "+";
  color: var(--burgundy);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  transition: transform var(--transition), border-color var(--transition);
}

.faq-item[open] summary::after {
  border-color: var(--burgundy);
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 70ch;
  padding: 0 52px 20px 0;
  margin: 0;
  color: var(--steel);
}

.sources-section {
  color: var(--surface);
  background: var(--navy-raised);
}

.sources-section .section-header {
  margin-bottom: 12px;
}

.sources-section .section-header p,
.source-card p {
  color: rgb(255 255 255 / 68%);
}

.sources-section .section-mark {
  color: var(--gold);
}

.source-updated {
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.source-grid {
  border-top: 1px solid rgb(255 255 255 / 24%);
}

.source-card {
  display: grid;
  grid-template-columns: minmax(160px, 2fr) minmax(0, 8fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.source-card h3,
.source-card p {
  margin: 0;
}

.source-card h3 {
  font-size: 17px;
}

.source-card a {
  color: var(--surface);
  font-weight: 700;
}

/* Internal pages */
.page-hero {
  position: relative;
  min-height: 440px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  color: var(--surface);
  background: var(--navy);
}

.page-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 48%;
  content: "";
  background: url("https://assets.nhle.com/mugs/actionshots/1296x729/8471214.jpg") 70% center / cover no-repeat;
  opacity: .4;
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  content: "";
  background: var(--record-red);
}

.page-hero-stats::after { background: var(--blue-line); }
.page-hero-video::after { background: var(--gold); }

.page-hero .container {
  padding-block: 48px 56px;
}

.breadcrumbs {
  margin-bottom: 28px;
  color: rgb(255 255 255 / 64%);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--surface);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 800;
}

.page-hero .container > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: rgb(255 255 255 / 76%);
  font-size: 18px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 9fr) minmax(220px, 3fr);
  align-items: start;
  gap: 64px;
}

.prose {
  min-width: 0;
}

.prose h2 {
  margin: 64px 0 18px;
  font-size: clamp(30px, 3.5vw, 44px);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose > p {
  max-width: 74ch;
  color: var(--steel);
  font-size: 17px;
}

.toc {
  position: sticky;
  top: 96px;
  display: grid;
  padding-left: 20px;
  border-left: 3px solid var(--burgundy);
}

.toc strong {
  margin-bottom: 10px;
}

.toc a {
  min-height: 38px;
  color: var(--steel);
  font-size: 14px;
  text-decoration: none;
}

.toc a:hover {
  color: var(--burgundy);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-block: 2px solid var(--navy);
}

.story-card {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.story-card:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.story-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.story-card p {
  margin: 0;
  color: var(--steel);
  font-size: 14px;
}

/* Footer */
.site-footer {
  padding-block: 42px;
  color: var(--surface);
  background: var(--navy);
  border-top: 4px solid var(--burgundy);
}

.footer-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.site-footer strong {
  font-size: 18px;
}

.site-footer p {
  max-width: 560px;
  margin: 8px 0 0;
  color: rgb(255 255 255 / 64%);
  font-size: 13px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
}

.site-footer a {
  color: var(--surface);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 1199px) {
  .container,
  .hero-content {
    width: min(100% - 64px, 1100px);
  }

  .hero {
    min-height: 700px;
    background-position: center, 62% center;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 6fr) minmax(300px, 4fr);
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(44px, 6.2vw, 68px);
  }

  .route-layout {
    grid-template-columns: 1fr;
  }

  .route-layout .section-header {
    max-width: 740px;
  }

  .route-map {
    overflow: hidden;
  }

  .record-feature {
    min-height: 500px;
    padding: 32px;
  }

  .record-row {
    padding-inline: 22px;
  }

  .record-row > strong {
    min-width: 96px;
  }

  .timeline {
    gap: 0 32px;
  }

  .timeline li {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .moment-layout {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 68px;
  }

  .container,
  .hero-content {
    width: calc(100% - 32px);
  }

  .site-header,
  .header-inner {
    min-height: 64px;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .site-header nav {
    width: 100%;
  }

  .brand {
    gap: 9px;
    font-size: 14px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 16px;
  }

  .brand-mark::before { width: 44px; }
  .brand-mark::after { height: 44px; }

  .js .nav-toggle {
    display: block;
    flex: 0 0 44px;
  }

  .js .site-header nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    padding: 8px 16px 16px;
    background: var(--surface);
    border-bottom: 2px solid var(--burgundy);
    box-shadow: var(--shadow-small);
  }

  .js .site-header.nav-open nav {
    display: block;
  }

  .site-header.nav-open .nav-toggle > span[aria-hidden="true"] {
    background: transparent;
  }

  .site-header.nav-open .nav-toggle > span[aria-hidden="true"]::before {
    transform: translateY(2px) rotate(45deg);
  }

  .site-header.nav-open .nav-toggle > span[aria-hidden="true"]::after {
    transform: rotate(-45deg);
  }

  .nav-list {
    display: grid;
    gap: 0;
  }

  .nav-list a {
    width: 100%;
    min-height: 48px;
    border-bottom-width: 1px;
  }

  .hero {
    min-height: auto;
    background-position: center, 57% top;
  }

  .hero-content {
    padding-block: 48px 56px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy {
    padding-top: 120px;
  }

  .hero h1 {
    margin-bottom: 18px;
    font-size: clamp(34px, 10.5vw, 44px);
    line-height: 1.02;
  }

  .hero-lead {
    margin-bottom: 22px;
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .record-tower {
    padding: 22px;
  }

  .score-number {
    font-size: 64px;
  }

  .section {
    padding-block: 56px;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-header h2,
  .answer-copy h2 {
    font-size: clamp(29px, 9vw, 38px);
  }

  .section-header p,
  .answer-copy p,
  .section-copy {
    font-size: 16px;
  }

  .answer-layout,
  .records-layout,
  .moment-layout,
  .content-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .answer-stats {
    grid-template-columns: 1fr 1fr;
  }

  .answer-stats > div {
    min-height: 136px;
    padding: 20px 16px;
  }

  .answer-stats > div:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .answer-stats dd strong {
    font-size: 38px;
  }

  .route-layout {
    gap: 28px;
  }

  .route-map {
    display: flex;
    margin-right: -16px;
    padding-bottom: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .route-map::before {
    right: -420px;
  }

  .route-map::after {
    /* 3 cards x 164px + dot offset 16px + radius 9px */
    width: 517px;
  }

  .route-map li {
    width: 164px;
    flex: 0 0 164px;
    scroll-snap-align: start;
  }

  .route-map time {
    font-size: 27px;
  }

  .record-feature {
    min-height: 400px;
    padding: 28px 22px;
  }

  .record-value {
    font-size: 72px;
  }

  .record-feature h3 {
    font-size: 28px;
  }

  .record-row {
    gap: 16px;
    padding: 20px 0;
  }

  .record-row > strong {
    min-width: 80px;
    font-size: 30px;
  }

  .record-row h3 {
    font-size: 17px;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline li {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 16px;
  }

  .timeline time {
    font-size: 15px;
  }

  .chart-card {
    margin-right: -16px;
    padding-left: 16px;
  }

  .season-chart,
  .chart-legend {
    min-width: 720px;
  }

  .table-wrap {
    margin-right: -16px;
    border-right: 0;
  }

  .moment-layout {
    gap: 28px;
  }

  .hockey-board {
    padding: 24px 14px 14px;
    border-width: 5px;
  }

  .video-grid {
    display: flex;
    gap: 14px;
    margin-right: -16px;
    padding: 0 16px 16px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .video-card {
    width: 86%;
    flex: 0 0 86%;
    scroll-snap-align: start;
  }

  .faq-item summary {
    font-size: 16px;
    line-height: 1.35;
  }

  .source-card {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .page-hero {
    min-height: 390px;
  }

  .page-hero::before {
    left: 30%;
    opacity: .26;
  }

  .page-hero .container {
    padding-block: 40px 44px;
  }

  .page-hero h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .page-hero .container > p:last-child {
    font-size: 16px;
  }

  .toc {
    position: static;
    grid-row: 1;
  }

  .prose h2 {
    margin-top: 48px;
    font-size: 30px;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-card,
  .story-card:nth-child(odd) {
    border-right: 0;
  }

  .footer-inner {
    display: grid;
    align-items: start;
    gap: 28px;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 419px) {
  .brand > span:last-child {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-copy {
    padding-top: 88px;
  }

  .score-deltas {
    grid-template-columns: 1fr;
  }

  .score-deltas p + p {
    padding-left: 0;
    border-top: 1px solid rgb(255 255 255 / 18%);
    border-left: 0;
  }

  .record-row {
    align-items: start;
  }

  .record-row > strong {
    font-size: 26px;
  }

  .timeline li {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .hockey-board {
    margin-inline: -8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .video-card:hover .video-frame img,
  .video-card:hover .video-play-icon,
  .video-play:active .video-play-icon {
    transform: none;
  }
}
