:root {
  color-scheme: light;
  --ink: #eaf6ff;
  --muted: #9bb7ca;
  --paper: #061b3a;
  --surface: rgba(9, 35, 72, 0.86);
  --surface-strong: rgba(12, 48, 96, 0.94);
  --line: rgba(102, 204, 255, 0.28);
  --blue: #35b7ff;
  --cyan: #7de6ff;
  --navy: #03122a;
  --steel: #d7ecff;
  --accent: #f0c15b;
  --ice: rgba(26, 111, 177, 0.22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(125, 230, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 230, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 50% -10%, rgba(49, 158, 255, 0.38), transparent 42%),
    linear-gradient(180deg, #03122a 0%, #07345f 52%, #051932 100%);
  background-size: 42px 42px, 42px 42px, auto, auto;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.site-header,
.site-footer,
main {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  position: relative;
}

.brand {
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 0 18px rgba(53, 183, 255, 0.4);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 13px;
  font-weight: 800;
}

nav a {
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

nav a[aria-current="page"],
nav a:hover {
  color: #ffffff;
  border-bottom-color: var(--blue);
}

.hero,
.sport-hero,
.topic-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 46px;
  align-items: center;
  min-height: 68vh;
  padding: 48px 0 62px;
  border-top: 1px solid var(--line);
  position: relative;
}

.hero::before,
.sport-hero::before,
.topic-hero::before,
.page-heading::before,
.project-detail::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: min(520px, 70vw);
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  box-shadow: 0 0 24px rgba(125, 230, 255, 0.5);
}

.hero > div,
.sport-hero > div,
.topic-hero > div {
  position: relative;
  z-index: 1;
}

.hero img,
.sport-hero img,
.topic-hero img,
.project-hero img,
.media-card img,
.video-card img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 22px 70px rgba(0, 11, 32, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.eyebrow,
.project-card span,
.project-hero span,
.timeline-item span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--cyan);
}

h1 {
  max-width: 980px;
  margin: 14px 0;
  font-size: clamp(62px, 12vw, 164px);
  line-height: 0.86;
  letter-spacing: 0;
  color: #ffffff;
  text-shadow: 0 10px 38px rgba(0, 0, 0, 0.32), 0 0 34px rgba(53, 183, 255, 0.42);
}

.lede {
  max-width: 760px;
  margin: 0;
  font-size: clamp(24px, 4vw, 43px);
  line-height: 1.08;
  color: var(--steel);
}

.hero p:last-of-type,
.sport-hero p:last-of-type,
.topic-hero p:last-of-type,
.page-heading p,
.project-hero p,
.video-section p,
.article-link small {
  max-width: 740px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.topic-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
}

.topic-hero h1 {
  font-size: clamp(46px, 8vw, 112px);
  line-height: 0.94;
}

.topic-hero-home h1 {
  font-size: clamp(62px, 12vw, 150px);
}

.purpose-panel,
.nav-entry-panel {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(125, 230, 255, 0.12), transparent 46%),
    rgba(9, 35, 72, 0.86);
  box-shadow: 0 18px 60px rgba(0, 11, 32, 0.26);
}

.purpose-panel h2,
.nav-entry-panel h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 22px;
}

.purpose-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--steel);
  line-height: 1.7;
}

.topic-content {
  margin: 0 0 78px;
}

.intro-video-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 28px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto 64px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(125, 230, 255, 0.13), transparent 48%),
    rgba(9, 35, 72, 0.76);
  box-shadow: 0 24px 70px rgba(0, 11, 32, 0.32);
}

.intro-video-section h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
}

.intro-video-section p:not(.lede) {
  max-width: 700px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

.intro-video-section small {
  display: block;
  max-width: 720px;
  margin-top: 14px;
  color: var(--cyan);
  font-size: 13px;
  line-height: 1.6;
}

.intro-video-card {
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  border: 1px solid rgba(125, 230, 255, 0.42);
  border-radius: 8px;
  background: var(--navy);
  box-shadow: 0 24px 70px rgba(0, 11, 32, 0.42), 0 0 30px rgba(53, 183, 255, 0.14);
}

.intro-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020817;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.topic-card {
  min-height: 156px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(125, 230, 255, 0.1), transparent 72%),
    var(--surface);
  box-shadow: 0 18px 60px rgba(0, 11, 32, 0.22);
}

.topic-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.topic-card p {
  margin: 0;
  color: var(--steel);
  font-size: 17px;
  line-height: 1.7;
}

.nav-entry-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 82px;
}

.nav-entry-panel div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.nav-entry-panel a {
  padding: 10px 12px;
  border: 1px solid rgba(125, 230, 255, 0.38);
  border-radius: 8px;
  color: var(--steel);
}

.nav-entry-panel a:hover {
  color: #ffffff;
  border-color: var(--cyan);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions a,
.section-title a,
.back-link {
  color: var(--blue);
  font-weight: 900;
}

.hero-actions a {
  min-width: 148px;
  padding: 12px 16px;
  border: 1px solid rgba(125, 230, 255, 0.58);
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(26, 138, 220, 0.9), rgba(7, 52, 95, 0.84));
  text-align: center;
  box-shadow: 0 0 24px rgba(53, 183, 255, 0.22);
}

.hero-actions a:hover {
  border-color: #ffffff;
  box-shadow: 0 0 34px rgba(125, 230, 255, 0.36);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 54px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 18px 60px rgba(0, 11, 32, 0.28);
}

.sport-stats {
  grid-template-columns: repeat(4, 1fr);
}

.stat-strip div {
  min-height: 116px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.stat-strip div:last-child {
  border-right: 0;
}

.stat-strip strong,
.stat-strip span {
  display: block;
}

.stat-strip strong {
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1;
}

.stat-strip span {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 0 82px;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(0, 11, 32, 0.22);
}

.section-grid article {
  min-height: 210px;
  padding: 28px;
  background: var(--surface);
  background-image:
    linear-gradient(135deg, rgba(125, 230, 255, 0.08), transparent 44%),
    linear-gradient(rgba(125, 230, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 100% 34px;
}

.section-grid h2,
.section-title h2,
.prose h2,
.video-section h2,
.article-section h2 {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.12;
  color: #ffffff;
}

.section-grid p,
.project-card p,
.prose p,
.prose li,
.timeline-item p,
.media-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.work-strip,
.article-section {
  margin: 0 0 82px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 22px;
}

.project-grid,
.media-grid,
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-grid.wide {
  margin-bottom: 80px;
}

.project-card,
.media-card,
.timeline-item,
.article-link,
.video-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 11, 32, 0.24);
}

.project-card a {
  display: block;
  height: 100%;
}

.project-card img,
.media-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-width: 0 0 1px;
  border-radius: 0;
}

.project-card span,
.project-card h3,
.project-card p,
.media-card div,
.timeline-item {
  display: block;
  margin-left: 20px;
  margin-right: 20px;
}

.project-card span {
  margin-top: 20px;
}

.project-card h3,
.media-card h3,
.timeline-item h3,
.video-card h3 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.12;
}

.project-card p,
.media-card p {
  margin-bottom: 24px;
}

.timeline {
  margin-bottom: 74px;
}

.timeline-item {
  min-height: 248px;
  padding: 24px 0;
}

.media-grid {
  margin-bottom: 74px;
}

.video-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1.18fr);
  gap: 28px;
  align-items: stretch;
  margin: 0 0 78px;
  padding: 34px;
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(0, 11, 32, 0.24);
}

.video-card {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px;
}

.video-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-section > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.article-link {
  display: block;
  padding: 22px;
}

.article-link span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 21px;
  font-weight: 900;
}

.page-heading {
  padding: 58px 0 42px;
  border-top: 1px solid var(--line);
  position: relative;
}

.page-heading h1 {
  font-size: clamp(54px, 9vw, 118px);
}

.project-detail {
  padding: 44px 0 88px;
  border-top: 1px solid var(--line);
  position: relative;
}

.project-hero {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 42px;
  align-items: end;
  margin: 28px 0 56px;
}

.project-hero h1 {
  font-size: clamp(44px, 8vw, 104px);
}

.prose {
  max-width: 760px;
  padding-bottom: 60px;
}

.prose h2 {
  margin-top: 34px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .sport-hero,
  .topic-hero,
  .intro-video-section,
  .section-grid,
  .topic-grid,
  .project-grid,
  .media-grid,
  .timeline,
  .project-hero,
  .video-section,
  .video-card,
  .article-section > div {
    grid-template-columns: 1fr;
  }

  .hero,
  .sport-hero {
    min-height: auto;
    padding: 42px 0 48px;
  }

  .nav-entry-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-entry-panel div {
    justify-content: flex-start;
  }

  .stat-strip,
  .sport-stats {
    grid-template-columns: 1fr;
  }

  .stat-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-strip div:last-child {
    border-bottom: 0;
  }

  .video-section {
    padding: 22px;
  }

  .intro-video-section {
    padding: 22px;
  }

  .intro-video-card {
    max-width: none;
    justify-self: stretch;
  }
}
