:root {
  --navy: #071b3a;
  --navy-2: #0d2a55;
  --carolina: #7bb7e8;
  --carolina-strong: #4b9fe1;
  --white: #ffffff;
  --silver: #c7ced8;
  --silver-2: #eef2f6;
  --ink: #101826;
  --muted: #667085;
  --shadow: 0 22px 70px rgba(7, 27, 58, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(7, 27, 58, 0.94);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--carolina);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.brand-word {
  letter-spacing: 0;
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--carolina);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 116px clamp(18px, 5vw, 72px) 84px;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 27, 58, 0.92) 0%, rgba(7, 27, 58, 0.68) 43%, rgba(7, 27, 58, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 27, 58, 0.7), rgba(7, 27, 58, 0.02) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker,
.panel-label {
  margin: 0 0 12px;
  color: var(--carolina);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.6rem, 10vw, 8.8rem);
  line-height: 0.9;
  font-weight: 900;
}

.hero-copy {
  width: min(560px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.resume-band {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button.primary {
  background: var(--carolina);
  color: var(--navy);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-strip {
  position: absolute;
  z-index: 2;
  left: clamp(18px, 5vw, 72px);
  right: clamp(18px, 5vw, 72px);
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.hero-strip span {
  padding: 18px 14px 0 0;
}

.section {
  padding: clamp(72px, 10vw, 120px) clamp(18px, 5vw, 72px);
}

.subpage {
  padding-top: 78px;
}

.page-title {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.92;
  font-weight: 900;
}

.split,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

h3 {
  margin: 34px 0 10px;
  color: var(--navy);
  font-size: 1.15rem;
  text-transform: uppercase;
}

.copy-block p,
.section-heading p,
.resume-band p,
.contact p,
.profile-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}

.profile,
.highlights,
.contact,
.references,
.links-section {
  background: var(--silver-2);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.profile-panel {
  min-height: 160px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(7, 27, 58, 0.08);
}

.profile-panel.featured {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--navy);
  color: var(--white);
}

.profile-panel.featured h2,
.profile-panel.featured p {
  color: var(--white);
}

.profile-panel strong {
  display: block;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.15;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading p {
  max-width: 420px;
  margin: 0;
}

.source-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.source-note a {
  color: var(--navy);
  font-weight: 800;
}

.stats-table-wrap {
  overflow-x: auto;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: var(--white);
}

th,
td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid #e6eaf0;
}

th {
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  text-transform: uppercase;
}

td {
  font-weight: 700;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.full-game-section {
  margin-top: 42px;
}

.compact-heading {
  margin-bottom: 18px;
}

.full-game-card {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 26px;
  border: 1px solid rgba(180, 189, 196, 0.72);
  background: linear-gradient(135deg, rgba(0, 32, 91, 0.96), rgba(0, 136, 206, 0.82));
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.full-game-card:first-of-type {
  margin-top: 0;
}

.full-game-card span {
  color: var(--silver);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.full-game-card strong {
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.1;
}

.full-game-card em {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-weight: 700;
}

.full-game-card:hover,
.full-game-card:focus-visible {
  transform: translateY(-2px);
  outline: 2px solid var(--carolina);
  outline-offset: 4px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-grid figure {
  margin: 0;
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--navy);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.gallery-grid figure:nth-child(2) img {
  object-position: 68% center;
}

.gallery-grid figure:nth-child(3) img {
  object-position: 35% center;
}

figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  font-weight: 800;
}

.resume-band {
  justify-content: space-between;
  gap: 30px;
  margin: 0;
  padding: clamp(30px, 5vw, 58px);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  box-shadow: var(--shadow);
}

.resume-band h2,
.resume-band p {
  color: var(--white);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.link-card {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 24px;
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(7, 27, 58, 0.08);
}

.link-card span {
  color: var(--carolina-strong);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.link-card strong {
  font-size: 1.35rem;
  line-height: 1.15;
}

.reference-card {
  min-height: 280px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(7, 27, 58, 0.08);
}

.reference-card h3 {
  margin-top: 0;
}

.reference-card a {
  display: inline-block;
  color: var(--navy);
  font-weight: 800;
  overflow-wrap: anywhere;
}

blockquote {
  margin: 18px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--carolina);
  color: var(--muted);
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d7dde6;
  background: #fbfcfe;
  color: var(--ink);
  padding: 14px;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--carolina);
  border-color: var(--carolina);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(7, 27, 58, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .split,
  .contact-grid,
  .section-heading {
    grid-template-columns: 1fr;
    display: grid;
  }

  .profile-grid,
  .gallery-grid,
  .reference-grid,
  .link-grid {
    grid-template-columns: 1fr 1fr;
  }

  .profile-panel.featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 100svh;
    padding-top: 104px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 27, 58, 0.72), rgba(7, 27, 58, 0.92)),
      linear-gradient(90deg, rgba(7, 27, 58, 0.8), rgba(7, 27, 58, 0.35));
  }

  .hero-actions,
  .resume-band,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-strip {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 42px;
    grid-template-columns: 1fr;
  }

  .profile-grid,
  .gallery-grid,
  .reference-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid figure {
    min-height: 320px;
  }
}
