:root {
  --green: #03763d;
  --green-dark: #014929;
  --gold: #fdbb2d;
  --charcoal: #111820;
  --ink: #1f2933;
  --muted: #5f6f7a;
  --line: #dbe5df;
  --paper: #ffffff;
  --soft: #f5f8f4;
  --shadow: 0 18px 38px rgba(17, 24, 32, .10);
  --shadow-soft: 0 10px 24px rgba(17, 24, 32, .07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: var(--green);
}

a:hover {
  color: var(--green-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 20;
  padding: .75rem 1rem;
  color: #fff;
  background: var(--charcoal);
}

.skip-link:focus {
  left: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(17, 24, 32, .94);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .48rem .72rem;
  color: rgba(255, 255, 255, .84);
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--charcoal);
  background: var(--gold);
}

.hero {
  min-height: 72vh;
  display: grid;
  align-items: end;
  position: relative;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(17, 24, 32, .94), rgba(17, 24, 32, .74) 48%, rgba(3, 118, 61, .42)),
    var(--hero-image) center / cover;
}

.hero-home {
  min-height: 76vh;
}

.hero.compact {
  min-height: 48vh;
}

.hero-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 64px;
}

.badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  border: 1px solid rgba(253, 187, 45, .55);
  border-radius: 999px;
  padding: .42rem .75rem;
  color: var(--gold);
  background: rgba(17, 24, 32, .58);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.eyebrow.dark {
  border-color: rgba(3, 118, 61, .2);
  color: var(--green-dark);
  background: var(--soft);
}

h1,
h2,
h3 {
  line-height: 1.12;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3rem, 7.2vw, 5.85rem);
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 840px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .94);
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  font-weight: 800;
}

.hero p:not(.eyebrow):not(.badge):not(.hero-subtitle) {
  max-width: 720px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  border-radius: 999px;
  padding: .72rem 1rem;
  color: var(--charcoal);
  background: var(--gold);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(17, 24, 32, .16);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(17, 24, 32, .2);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .62);
}

.button.secondary:hover {
  color: #fff;
  border-color: #fff;
}

.section .button.secondary {
  color: var(--green-dark);
  background: #fff;
  border-color: var(--green);
}

.section .button.secondary:hover {
  color: var(--charcoal);
  border-color: var(--green-dark);
}

.section {
  padding: 68px 0;
}

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

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-title {
  max-width: 850px;
  margin-bottom: 28px;
}

.section-title.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
}

.section-title p {
  margin: .85rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.grid,
.stats-grid,
.photo-grid,
.snapshot-grid,
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

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

.card,
.stat-card,
.photo-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.card h3,
.card h2,
.photo-card h3,
.contact-panel h2 {
  margin-top: 0;
  color: var(--green-dark);
}

.card p,
.card ul,
.photo-card p,
.contact-panel p {
  color: var(--muted);
}

.card ul {
  padding-left: 1.1rem;
}

.feature-grid {
  align-items: stretch;
}

.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.feature-card p {
  flex: 1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

.text-link::after {
  content: ">";
  margin-left: 8px;
  color: var(--gold);
}

.stat-card {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.stat-label {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.stat-label::after {
  content: ":";
}

.stat-value {
  margin-top: 0;
  color: var(--charcoal);
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  font-weight: 900;
}

.stat-value.compact {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.35;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.hero-facts {
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
}

.hero-facts div {
  padding: 16px;
  background: rgba(17, 24, 32, .26);
}

.hero-facts dt,
.profile-list span {
  color: rgba(255, 255, 255, .68);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 6px 0 0;
  color: #fff;
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  font-weight: 900;
  line-height: 1.25;
}

.profile-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}

.profile-list div {
  display: grid;
  grid-template-columns: minmax(120px, .45fr) 1fr;
  gap: 16px;
  padding: 15px 18px;
  background: #fff;
}

.profile-list span {
  color: var(--muted);
}

.profile-list strong {
  color: var(--charcoal);
}

.contact-section {
  background:
    linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.contact-wrap {
  max-width: 1120px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
  gap: 26px;
  align-items: start;
}

.contact-aside,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.contact-aside {
  position: sticky;
  top: 94px;
  padding: clamp(26px, 4vw, 34px);
}

.contact-aside h2,
.contact-intro h2 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.contact-aside p,
.contact-intro p {
  color: var(--muted);
}

.contact-points {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}

.contact-points div {
  display: grid;
  gap: 4px;
  padding: 15px 16px;
  background: var(--soft);
}

.contact-points span {
  color: var(--green-dark);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.contact-points strong {
  color: var(--charcoal);
  line-height: 1.35;
}

.contact-card {
  padding: clamp(28px, 4vw, 42px);
}

.contact-intro {
  max-width: 620px;
}

.contact-form {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .02em;
}

.contact-form label > span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid #c7d5cf;
  border-radius: 12px;
  padding: .92rem 1rem;
  color: var(--ink);
  background: #fbfdfb;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(17, 24, 32, .03);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

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

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8a9891;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(253, 187, 45, .55);
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(3, 118, 61, .08);
}

.contact-form .bot-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  min-height: 0 !important;
  height: 1px !important;
  border: 0 !important;
  padding: 0 !important;
  opacity: 0;
  pointer-events: none;
}

.form-security {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: var(--soft);
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.turnstile-wrap {
  min-height: 65px;
  display: flex;
  justify-content: flex-end;
}

.form-actions {
  display: flex;
  justify-content: flex-start;
}

.contact-form .button {
  min-width: 160px;
}

.form-status.success {
  color: var(--green-dark);
  font-weight: 900;
}

.form-status.error {
  color: #9f1d20;
  font-weight: 900;
}

.hero-stats .stat-card {
  min-height: 110px;
  background: rgba(255, 255, 255, .11);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: none;
}

.hero-stats .stat-label {
  color: rgba(255, 255, 255, .7);
}

.hero-stats .stat-value {
  color: #fff;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 42px;
  align-items: center;
}

.portrait,
.image-frame {
  overflow: hidden;
  border-radius: 16px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.portrait img,
.image-frame img,
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait {
  aspect-ratio: 4 / 5;
}

.image-frame {
  aspect-ratio: 16 / 10;
}

.photo-card {
  padding: 0;
  overflow: hidden;
}

.photo-card img {
  aspect-ratio: 4 / 3;
}

.photo-card div {
  padding: 20px;
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.filter-button,
.button.quiet {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .7rem 1rem;
  color: var(--green-dark);
  background: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.filter-button[aria-pressed="true"],
.filter-button:hover,
.filter-button:focus-visible,
.button.quiet:hover,
.button.quiet:focus-visible {
  color: var(--charcoal);
  background: var(--gold);
  border-color: var(--gold);
}

.admin-layout {
  display: grid;
  gap: 24px;
}

.admin-contact-layout {
  align-items: stretch;
}

.admin-token-field {
  display: grid;
  gap: 8px;
  max-width: 520px;
  color: var(--green-dark);
  font-weight: 900;
}

.admin-token-field input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #c7d5cf;
  border-radius: 12px;
  padding: .9rem 1rem;
  color: var(--ink);
  font: inherit;
}

.admin-gallery-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.admin-photo-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: var(--soft);
}

.admin-photo-row img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
}

.admin-photo-row div {
  display: grid;
  gap: 4px;
}

.admin-photo-row span {
  color: var(--muted);
  font-size: .92rem;
}

.category {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.stats-panel {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.stats-panel h3 {
  margin-top: 0;
}

.stat-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
}

.stat-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: .94rem;
}

.stat-table th,
.stat-table td {
  border-bottom: 1px solid var(--line);
  padding: .72rem .6rem;
  text-align: left;
  white-space: nowrap;
}

.stat-table th {
  color: var(--charcoal);
  background: var(--soft);
  font-size: .76rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.timeline-item {
  border-left: 5px solid var(--green);
  border-radius: 12px;
  padding: 20px 22px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(17, 24, 32, .07);
}

.timeline-item h3 {
  margin: 0 0 8px;
  color: var(--green-dark);
}

.timeline-item ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.cta-band {
  color: #fff;
  background: linear-gradient(135deg, var(--charcoal), var(--green-dark));
}

.cta-band .section-title h2,
.cta-band .section-title p {
  color: #fff;
}

.cta-band .button.secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, .7);
}

.site-footer {
  background: var(--charcoal);
  color: #dce8e2;
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
}

.site-footer a {
  color: #fff;
}

.links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
}

.links-list a,
.link-grid a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .52rem .76rem;
  background: #fff;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.site-footer .links-list a {
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.site-footer .links-list[aria-label="External profile links"] {
  gap: 10px;
  max-width: 760px;
}

.site-footer .links-list[aria-label="External profile links"] a {
  --profile-accent: var(--gold);
  gap: 9px;
  min-height: 46px;
  justify-content: center;
  border-color: rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 7px 13px 7px 8px;
  color: #f8fbf9;
  font-size: .86rem;
  line-height: 1;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .06));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 10px 22px rgba(0, 0, 0, .18);
  transition:
    background-color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.site-footer .links-list[aria-label="External profile links"] a img {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: #fff;
  object-fit: cover;
  padding: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
}

.site-footer .links-list[aria-label="External profile links"] a span {
  color: currentColor;
  font-weight: 900;
  white-space: nowrap;
}

.site-footer .links-list[aria-label="External profile links"] a:hover,
.site-footer .links-list[aria-label="External profile links"] a:focus-visible {
  color: var(--charcoal);
  border-color: var(--profile-accent);
  background: var(--profile-accent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 14px 28px rgba(0, 0, 0, .24);
  transform: translateY(-2px);
}

.site-footer .links-list[aria-label="External profile links"] a:hover img,
.site-footer .links-list[aria-label="External profile links"] a:focus-visible img {
  background: rgba(255, 255, 255, .88);
}

@media (prefers-reduced-motion: reduce) {
  .site-footer .links-list[aria-label="External profile links"] a {
    transition: none;
  }

  .site-footer .links-list[aria-label="External profile links"] a:hover,
  .site-footer .links-list[aria-label="External profile links"] a:focus-visible {
    transform: none;
  }
}

.site-footer .links-list[aria-label="External profile links"] a[href*="instagram"] {
  --profile-accent: #fdbb2d;
}

.site-footer .links-list[aria-label="External profile links"] a[href*="youtube"] {
  --profile-accent: #ff3b30;
}

.site-footer .links-list[aria-label="External profile links"] a[href*="sportsrecruits"] {
  --profile-accent: #48c78e;
}

.site-footer .links-list[aria-label="External profile links"] a[href*="web.gc.com"] {
  --profile-accent: #48a868;
}

.site-footer .links-list[aria-label="External profile links"] a[href*="maxpreps"] {
  --profile-accent: #fdbb2d;
}

.site-footer .links-list[aria-label="External profile links"] a[href*="fieldlevel"] {
  --profile-accent: #5aa7ff;
}

.site-footer .links-list[aria-label="External profile links"] a[href*="ncsasports"] {
  --profile-accent: #f26d21;
}

.fine-print {
  margin-top: 1rem;
  color: #acc0b7;
  font-size: .9rem;
}

@media (max-width: 980px) {
  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .contact-aside {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

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

  .hero {
    min-height: 62vh;
  }

  .hero-home {
    min-height: 68vh;
  }

  .split,
  .grid,
  .photo-grid,
  .snapshot-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats,
  .hero-facts,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .profile-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .form-security {
    grid-template-columns: 1fr;
  }

  .turnstile-wrap {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .section {
    padding: 54px 0;
  }
}

@media (max-width: 430px) {
  .nav {
    width: min(100% - 24px, 1180px);
    gap: 12px;
  }

  .nav-links a {
    padding: .5rem .62rem;
  }

  .hero-content {
    width: min(100% - 24px, 1180px);
    padding: 70px 0 58px;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.5rem);
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
