:root {
  --teal: #00857D;
  --teal-true: #006666;
  --deep-teal: #00524E;
  --navy: #003366;
  --dark: #021024;
  --light: #F0F4F8;
  --gold: #FFD600;
  --mid: #052747;
  --black: #080e16;
  --muted: rgba(240, 244, 248, 0.68);
  --line: rgba(0, 133, 125, 0.24);
  --max: 1200px;
  --radius: 8px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.38);
  --font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-condensed: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
  --font-display: Impact, "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  min-width: 320px;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: rgba(0, 133, 125, 0.24);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 14, 22, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: env(safe-area-inset-top);
}

.nav-wrap {
  width: min(100%, 1380px);
  margin: 0 auto;
  padding: 1rem max(2.5rem, env(safe-area-inset-right)) 1rem max(2.5rem, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1;
}

.brand::before {
  content: none;
}

.brand-logo {
  width: 44px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.42));
}

.brand span {
  display: block;
}

.brand span:last-child {
  color: rgba(240, 244, 248, 0.62);
  font-family: var(--font-condensed);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--light);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-condensed);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links a {
  color: rgba(240, 244, 248, 0.72);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
}

.nav-links .nav-cta,
.nav-cta {
  padding: 0.45rem 0.78rem;
  border-radius: 3px;
  letter-spacing: 0.12em;
}

.nav-cta-nil {
  background: var(--teal);
  color: #fff !important;
}

.nav-cta-shop {
  background: var(--gold);
  color: var(--navy) !important;
}

main {
  padding-top: 0;
}

.hero,
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
}

@supports (height: 100svh) {
  .hero,
  #hero {
    min-height: 100svh;
  }
}

.hero {
  background: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: brightness(0.5) saturate(1.15);
  transform: scale(1.04);
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero-overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 14, 22, 0.98) 0%, rgba(8, 14, 22, 0.56) 45%, rgba(0, 133, 125, 0.08) 100%);
}

@keyframes slowZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img {
    animation: none;
    transform: none;
  }
}

.hero-inner,
.hero-content,
.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 6rem 2.5rem;
  position: relative;
  z-index: 2;
}

.hero-inner,
.hero-content {
  margin: 0;
  max-width: 940px;
  padding: 0 2.5rem 5rem;
}

.eyebrow,
.hero-tag,
.section-label {
  font-family: var(--font-condensed);
  font-size: 0.82rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.eyebrow::before,
.hero-tag::before,
.section-label::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--teal);
}

h1,
h2,
h3,
.hero-name,
.section-title {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  line-height: 0.95;
  font-weight: 400;
}

h1,
.hero-name {
  font-size: clamp(5rem, 12vw, 10rem);
  color: #fff;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

h1 span,
.hero-name span,
.section-title span {
  color: var(--teal);
}

h2,
.section-title {
  font-size: clamp(3.2rem, 7vw, 6.2rem);
}

h3 {
  font-size: 1.85rem;
}

.lead,
.hero-sub,
.section-head p,
.card p,
.timeline-item p {
  color: var(--muted);
}

.lead {
  max-width: 760px;
  margin: 1.25rem 0 0;
  font-size: 1.08rem;
}

.hero-sub {
  font-family: var(--font-condensed);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 1rem;
}

.hero-actions,
.hero-cta,
.section-actions {
  margin-top: 2rem;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 2rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-condensed);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  transition: all 0.25s;
}

.btn.primary,
.btn-primary {
  background: var(--teal);
  color: var(--dark);
}

.btn.primary:hover,
.btn-primary:hover {
  background: #00C4B4;
  transform: translateY(-2px);
}

.btn.secondary,
.btn-outline {
  background: transparent;
  border-color: rgba(240, 244, 248, 0.35);
  color: var(--light);
}

.btn.secondary:hover,
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.quick-stats,
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  padding: 2rem 2.5rem;
  background: var(--mid);
  border-top: 2px solid var(--teal);
  border-bottom: 1px solid rgba(240, 244, 248, 0.08);
  box-shadow: var(--shadow);
}

.quick-stats div,
.stat-item {
  text-align: center;
}

.quick-stats strong,
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--teal);
  letter-spacing: 0.04em;
}

.quick-stats span,
.stat-label {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 244, 248, 0.52);
}

.band {
  background: var(--dark);
  border-top: 1px solid rgba(240, 244, 248, 0.07);
}

.band.alt {
  background: #0d1520;
}

.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #0A1628 100%);
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 850px;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.record-block,
.shop-card {
  background: var(--mid);
  border: 1px solid rgba(240, 244, 248, 0.08);
  border-left: 3px solid var(--teal);
  border-radius: 0;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.card:hover,
.record-block:hover,
.shop-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.feature,
#about {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 4rem;
  align-items: center;
}

#about {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 6rem 2.5rem;
}

.feature-media,
.about-img {
  position: relative;
  background: #0d1520;
  overflow: hidden;
  border-radius: 0;
  box-shadow: var(--shadow);
}

.feature-media img,
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.06);
}

.feature-media::after,
.about-img::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 2px solid var(--teal);
  pointer-events: none;
}

.portrait-media,
.about-img {
  aspect-ratio: 4 / 5;
}

.about-img img {
  object-position: center center;
}

.wide-media {
  aspect-ratio: 16 / 9;
}

.nil-deal-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.nil-product-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 133, 125, 0.28);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.nil-product-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.nil-product-card figcaption {
  padding: 0.8rem 1rem;
  background: var(--dark);
  color: rgba(240, 244, 248, 0.86);
  font-family: var(--font-condensed);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.social-band {
  background:
    linear-gradient(135deg, rgba(0, 133, 125, 0.1), rgba(0, 51, 102, 0.24)),
    var(--dark);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.social-card {
  --brand: var(--teal);
  --brand-dark: var(--navy);
  position: relative;
  display: grid;
  gap: 0.45rem;
  min-height: 150px;
  padding: 1.1rem;
  align-content: space-between;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 46%),
    linear-gradient(135deg, var(--brand), var(--brand-dark));
  border: 1px solid rgba(240, 244, 248, 0.2);
  border-left: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
  overflow: hidden;
  text-decoration: none;
}

.social-card:nth-child(1) {
  --brand: #d62976;
  --brand-dark: #4f5bd5;
}

.social-card:nth-child(2) {
  --brand: #111111;
  --brand-dark: #3a3a3a;
}

.social-card:nth-child(3) {
  --brand: #00f2ea;
  --brand-dark: #ff0050;
}

.social-card:nth-child(4) {
  --brand: #1877f2;
  --brand-dark: #0b3f86;
}

.social-card:nth-child(5) {
  --brand: #fffc00;
  --brand-dark: #d8c900;
}

.social-card::before {
  content: "IG";
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: var(--light);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-family: var(--font-condensed);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.social-card:nth-child(2)::before {
  content: "X";
}

.social-card:nth-child(3)::before {
  content: "TT";
}

.social-card:nth-child(4)::before {
  content: "f";
  font-family: Arial, sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
}

.social-card:nth-child(5)::before {
  content: "SC";
  color: #111111;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(0, 0, 0, 0.18);
}

.social-card:nth-child(5) .social-platform,
.social-card:nth-child(5) .social-action,
.social-card:nth-child(5) strong {
  color: #111111;
}

.social-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 46%),
    linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.social-platform,
.social-action {
  color: rgba(240, 244, 248, 0.74);
  font-family: var(--font-condensed);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social-card strong {
  color: var(--light);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.7vw, 2.3rem);
  font-weight: 400;
  line-height: 1;
  overflow-wrap: anywhere;
}

.social-action {
  color: var(--light);
}

.about-badge {
  display: inline-block;
  margin: 0.45rem 0.45rem 0 0;
  padding: 0.35rem 0.7rem;
  background: rgba(0, 133, 125, 0.12);
  border: 1px solid rgba(0, 133, 125, 0.3);
  color: var(--teal);
  font-family: var(--font-condensed);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-section {
  width: min(100%, 1300px);
  margin: 0 auto;
  padding: 6rem 2.5rem;
}

.school-section {
  --school-primary: var(--teal);
  --school-secondary: var(--navy);
  --school-accent: var(--gold);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--school-secondary) 74%, #000 26%) 0%, var(--dark) 72%);
  border-top: 1px solid rgba(240, 244, 248, 0.08);
}

.school-section .section-label,
.school-section .section-title span,
.school-section .stat-number,
.school-section .video-card-source {
  color: var(--school-primary);
}

.school-section .stat-table th {
  color: var(--school-primary);
  border-bottom-color: var(--school-primary);
}

.school-section.stony .stat-table th {
  color: #ff334f;
  border-bottom-color: #ff334f;
}

.school-section .section-label::before {
  background: var(--school-primary);
}

.school-section .record-block,
.school-section .card,
.school-section .shop-card {
  border-left-color: var(--school-primary);
}

.school-section .highlight-row td,
.school-section .school-accent {
  color: var(--school-accent) !important;
}

.school-section .video-card-play,
.school-section .btn-primary {
  background: var(--school-primary);
  color: #fff;
}

.school-section.uncw {
  --school-primary: #00857D;
  --school-secondary: #003366;
  --school-accent: #FFD600;
}

.school-section.stony {
  --school-primary: #E31837;
  --school-secondary: #001E42;
  --school-accent: #C9D1D9;
}

.school-section.slcc {
  --school-primary: #0057B8;
  --school-secondary: #071D49;
  --school-accent: #FDB515;
}

.championship-note {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--school-primary);
  background: rgba(240, 244, 248, 0.05);
}

.championship-note p {
  margin: 0 0 0.7rem;
  color: rgba(240, 244, 248, 0.82);
}

.championship-note ul {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(240, 244, 248, 0.72);
}

.championship-note li + li {
  margin-top: 0.45rem;
}

.championship-note strong {
  color: var(--school-primary);
}

.school-section.kilgore {
  --school-primary: #1f6fff;
  --school-secondary: #00205B;
  --school-accent: #FFFFFF;
}

.school-section.kilgore .section-title span,
.school-section.kilgore .stat-table th,
.school-section.kilgore .video-section-label,
.school-section.kilgore .video-card-source {
  color: #6fb0ff;
}

.school-section.kilgore .stat-table th {
  border-bottom-color: #6fb0ff;
}

.school-section.kilgore .record-block,
.school-section.kilgore .card,
.school-section.kilgore .shop-card {
  border-left-color: #6fb0ff;
}

.school-top {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: start;
}

.school-records {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.school-records .record-block {
  background: rgba(5, 16, 30, 0.62);
}

.school-gallery {
  margin-top: 3rem;
}

.uncw-gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.uncw-player-photo {
  aspect-ratio: 4 / 5;
}

.uncw-gallery-grid .uncw-player-photo:nth-child(1) {
  grid-column: 1;
}

.uncw-gallery-grid .uncw-player-photo:nth-child(2) {
  grid-column: 2;
}

.uncw-gallery-grid .uncw-player-photo:nth-child(3) {
  grid-column: 3;
}

.uncw-logo-card {
  grid-column: 1;
  aspect-ratio: 4 / 5;
  background: #fff;
}

.uncw-logo-card img {
  object-fit: contain;
  object-position: center center;
  background: #fff;
}

.uncw-caa-feature {
  grid-column: 2 / span 2;
  grid-row: span 2;
  aspect-ratio: 4 / 5;
  background: #001b33;
  border-color: rgba(0, 133, 125, 0.42);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.uncw-culture-card {
  grid-column: 4;
  aspect-ratio: 4 / 5;
  background: #001b33;
}

.kilgore-feature-gallery {
  display: grid;
  justify-items: center;
}

.gallery-item.kilgore-feature {
  width: min(100%, 980px);
  aspect-ratio: 16 / 9;
  min-height: 0;
  background: #001842;
  border: 1px solid rgba(111, 176, 255, 0.44);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.36);
}

.gallery-item.kilgore-feature img {
  object-fit: contain;
  background: #001842;
}

.uncw-snapshot {
  display: grid;
  justify-items: center;
  gap: 1.35rem;
  padding: 1.5rem;
  background:
    linear-gradient(135deg, rgba(0, 133, 125, 0.14), rgba(255, 214, 0, 0.08)),
    rgba(5, 16, 30, 0.74);
  border: 1px solid rgba(0, 133, 125, 0.32);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}

.uncw-snapshot img {
  width: min(360px, 82vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.34));
}

.uncw-snapshot-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.uncw-snapshot-grid div {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 0.2rem;
  padding: 0.85rem;
  background: rgba(240, 244, 248, 0.055);
  border: 1px solid rgba(240, 244, 248, 0.09);
  text-align: center;
}

.uncw-snapshot-grid span {
  font-family: var(--font-condensed);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 244, 248, 0.52);
}

.uncw-snapshot-grid strong {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--light);
}

.video-section {
  margin-top: 2rem;
}

.video-section-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.video-section-label {
  color: var(--school-primary, var(--teal));
  font-weight: 700;
}

.video-section-title {
  color: rgba(240, 244, 248, 0.55);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-grid,
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  min-height: 240px;
  aspect-ratio: 1 / 1;
  background: #08111d;
  overflow: hidden;
  border: 1px solid rgba(240, 244, 248, 0.08);
  display: flex;
  flex-direction: column;
}

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: 4 / 5;
}

.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.gallery-item.recognition-card {
  aspect-ratio: 4 / 5;
  min-height: 320px;
  border-color: rgba(227, 24, 55, 0.32);
  background: #070b12;
}

.gallery-item.recognition-card:first-of-type {
  grid-column-start: auto;
}

.school-section.stony .gallery-item.recognition-card:nth-of-type(9) {
  grid-column-start: 1;
}

.gallery-item.recognition-card img {
  object-fit: contain;
  object-position: center center;
  background: #070b12;
}

.gallery-item img,
.photo-grid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1 1 auto;
  object-fit: contain;
  object-position: center center;
  background: #08111d;
  transition: filter 0.45s;
}

.gallery-item:hover img,
.photo-grid img:hover {
  filter: saturate(1.12);
}

.gallery-caption {
  position: static;
  flex: 0 0 auto;
  padding: 0.7rem 0.85rem;
  background: rgba(8, 14, 22, 0.94);
  border-top: 1px solid rgba(240, 244, 248, 0.08);
  color: rgba(240, 244, 248, 0.9);
  font-family: var(--font-condensed);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 1;
}

.stat-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  min-width: 760px;
}

.stat-table th {
  padding: 1rem;
  text-align: left;
  border-bottom: 2px solid var(--teal);
  color: var(--teal);
  font-family: var(--font-condensed);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stat-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(240, 244, 248, 0.08);
  color: rgba(240, 244, 248, 0.85);
}

.stat-table tr:hover {
  background: rgba(0, 133, 125, 0.06);
}

.stat-table td:first-child {
  color: #fff;
  font-weight: 600;
}

.highlight-row td {
  color: var(--gold) !important;
  font-weight: 600;
}

.stats-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  padding: 1.35rem;
  border-left: 3px solid var(--teal);
  background: var(--mid);
}

.timeline-item span {
  color: var(--gold);
  font-family: var(--font-condensed);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.media-tile {
  min-height: 260px;
  display: grid;
  align-content: end;
  background-position: center;
  background-size: cover;
  background-image: linear-gradient(to top, rgba(8, 14, 22, 0.95), rgba(8, 14, 22, 0.05)), url("../images/img24.webp");
}

.media-tile.photo-one { background-image: linear-gradient(to top, rgba(8, 14, 22, 0.95), rgba(8, 14, 22, 0.05)), url("../images/img05.webp"); }
.media-tile.photo-two { background-image: linear-gradient(to top, rgba(8, 14, 22, 0.95), rgba(8, 14, 22, 0.05)), url("../images/img23.webp"); }
.media-tile.photo-three { background-image: linear-gradient(to top, rgba(8, 14, 22, 0.95), rgba(8, 14, 22, 0.05)), url("../images/img24.webp"); }

.video-card {
  position: relative;
  min-height: 230px;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1f2e 0%, #0d1420 100%);
  border: 1px solid rgba(240, 244, 248, 0.08);
}

.video-card-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  padding: 1.25rem;
  background: radial-gradient(circle at 50% 40%, rgba(0, 133, 125, 0.22), transparent 45%), linear-gradient(to top, rgba(8, 14, 22, 0.96), rgba(8, 14, 22, 0.24));
}

.video-card-play {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.video-card-label,
.video-card-caption,
.video-card-source {
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.video-card-label {
  color: var(--light);
}

.video-card-caption,
.video-card-source {
  color: rgba(240, 244, 248, 0.6);
  font-size: 0.85rem;
}

.video-card-source {
  color: var(--teal);
  margin-top: 0.35rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: rgba(240, 244, 248, 0.75);
  font-family: var(--font-condensed);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(240, 244, 248, 0.12);
  background: rgba(240, 244, 248, 0.04);
  color: var(--light);
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 16px;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form option {
  background: var(--navy);
}

.contact-email {
  display: inline-block;
  margin-top: 1rem;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: 0.04em;
}

.contact-email:hover {
  color: #00C4B4;
}

.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--dark));
  border-bottom: 1px solid rgba(240, 244, 248, 0.08);
  padding-top: 74px;
}

.site-footer {
  background: #050910;
  border-top: 1px solid rgba(240, 244, 248, 0.08);
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  color: rgba(240, 244, 248, 0.45);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a:hover {
  color: var(--teal);
}

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

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(70px + env(safe-area-inset-top));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 2.5rem 1.5rem;
    background: rgba(8, 14, 22, 0.98);
    max-height: calc(100vh - 70px - env(safe-area-inset-top));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0;
  }

  .feature,
  .nil-deal-feature,
  #about,
  .grid.two,
  .grid.three,
  .school-top,
  .school-records,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .photo-grid,
  .uncw-snapshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .uncw-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .uncw-gallery-grid .uncw-player-photo,
  .uncw-logo-card,
  .uncw-culture-card {
    grid-column: auto;
  }

  .uncw-caa-feature {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1 / 1;
  }

  .quick-stats,
  .stats-bar {
    flex-wrap: wrap;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .nav-wrap,
  .hero-inner,
  .hero-content,
  .section-inner,
  #about,
  .gallery-section,
  .footer-inner {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }

  .brand span {
    display: none;
  }

  .brand-logo {
    width: 38px;
    height: 50px;
  }

  h1,
  .hero-name {
    font-size: clamp(4.4rem, 24vw, 6.4rem);
  }

  .hero,
  #hero {
    min-height: 86vh;
  }

  @supports (height: 100svh) {
    .hero,
    #hero {
      min-height: 86svh;
    }
  }

  .hero-media img {
    animation: none;
    transform: none;
    object-position: center 18%;
  }

  .hero-actions,
  .hero-cta,
  .section-actions {
    display: grid;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .quick-stats,
  .stats-bar {
    flex-direction: column;
    align-items: center;
  }

  .gallery-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .social-grid,
  .uncw-gallery-grid,
  .uncw-snapshot-grid {
    grid-template-columns: 1fr;
  }

  .uncw-caa-feature {
    grid-column: auto;
  }

  .footer-inner {
    flex-direction: column;
  }
}
