:root {
  color-scheme: dark;
  --bg: #07121c;
  --surface: #111f2c;
  --text: #f3f8fb;
  --muted: #c4d4df;
  --accent: #8ce4ee;
  --line: #354955;
  font-family: "Barlow", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.55; }
a { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.site-header, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem max(1.25rem, calc((100% - 1120px) / 2));
}
.site-header { border-bottom: 1px solid var(--line); }
.site-header a, footer a { text-decoration: none; }
.site-header a:hover, footer a:hover { text-decoration: underline; }
.brand { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; font-weight: 750; color: var(--text); }
nav { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.hero {
  min-height: clamp(31rem, 63vw, 43rem);
  display: flex;
  align-items: center;
  padding: 3rem max(1.25rem, calc((100% - 1120px) / 2));
  background:
    linear-gradient(90deg, #07121cf5 0%, #07121cdc 28%, #07121c5e 59%, #07121c12 100%),
    url("./hero.webp") center 44% / cover no-repeat;
}
.hero-copy { max-width: 36rem; }
h1, h2 { line-height: 1; margin: 0; font-weight: 850; letter-spacing: -.035em; }
h1 { font-size: clamp(3.35rem, 8vw, 7rem); }
h2 { font-size: clamp(2.25rem, 5vw, 3.65rem); }
p { color: var(--muted); font-size: clamp(1rem, 2vw, 1.18rem); }
.hero p { max-width: 30rem; color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.button {
  display: inline-block;
  padding: .75rem 1.2rem;
  border: 1px solid var(--accent);
  border-radius: .35rem;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  font-weight: 750;
}
.button:hover { background: #b9f4fa; }
.button.secondary { color: var(--text); background: #07121cdb; border-color: #9ab9c9; }
.button.secondary:hover { background: var(--surface); }
.section { width: min(calc(100% - 2.5rem), 1120px); margin: 0 auto; padding: clamp(2.75rem, 7vw, 5.5rem) 0; }
.intro { max-width: 39rem; }
.plays { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.75rem; }
figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .55rem; background: var(--surface); }
figure a { display: block; }
figure a:focus-visible { outline-offset: -4px; }
figure img, .goalie img { display: block; width: 100%; height: auto; }
figcaption { padding: .65rem .9rem; font-weight: 650; }
.goalie {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 5vw, 4.25rem);
  border-top: 1px solid var(--line);
}
.goalie img { border: 1px solid var(--line); border-radius: .55rem; }
.more { border-top: 1px solid var(--line); }
.more p { max-width: 44rem; margin-bottom: 0; }
footer { border-top: 1px solid var(--line); }
@media (max-width: 720px) {
  .hero {
    align-items: end;
    background:
      linear-gradient(0deg, #07121c 2%, #07121cef 34%, #07121c3d 77%),
      url("./hero.webp") 64% top / auto 100% no-repeat;
  }
  .plays, .goalie { grid-template-columns: 1fr; }
  .goalie div { grid-row: 1; }
  footer { align-items: start; flex-direction: column; }
}
