/* =============================================================
   Soila Chadwick: Recruiting Site
   Mobile-first: base styles are for phones; larger screens
   are layered on in the @media blocks at the bottom.
   COLORS: change these to restyle the whole site.
   ============================================================= */
:root {
  --red: #b0102b;        /* Vikings deep red (passes contrast on white + black text on it) */
  --red-dark: #8c0c22;
  --black: #0b0b0c;
  --ink: #1a1a1c;
  --gray-900: #2a2a2e;
  --gray-600: #5b5b62;
  --gray-200: #e4e4e7;
  --gray-100: #f3f3f4;
  --white: #ffffff;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --nav-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-family: var(--display); text-transform: uppercase; line-height: .95; margin: 0; }
figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 10px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(11, 11, 12, .96);
  color: var(--white);
  border-bottom: 3px solid var(--red);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav-brand {
  font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; display: flex; align-items: center; gap: 10px; font-size: 1.05rem; white-space: nowrap;
}
.nav-num { background: var(--red); padding: 2px 7px; font-size: .95rem; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links li { display: none; }               /* phones: only the Contact button shows */
.nav-links li:last-child { display: block; }
.nav-links a {
  text-decoration: none; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 10px; color: #d4d4d8;
}
.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta { background: var(--red); color: var(--white); padding: 9px 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-lg { min-height: 60px; padding: 0 36px; font-size: 1.25rem; }

/* ---------- Shared section styles ---------- */
.section { padding: 64px 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-gray { background: var(--gray-100); }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(2.4rem, 10vw, 4rem); font-weight: 700; }
.eyebrow {
  margin: 0 0 10px; font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--red);
}
.section-dark .eyebrow, .hero .eyebrow { color: #ff5a6e; } /* lighter red for contrast on black */

/* ---------- 1. Hero + highlight video (phone: video on top, text below) ---------- */
.hero { background: var(--black); color: var(--white); }
.hero-grid { display: flex; flex-direction: column-reverse; padding: 0; }
/* The film sits in the hero so a coach can press play without scrolling. */
.hero-video { position: relative; }
.hero-video .video-frame { box-shadow: none; }
.hero-text { position: relative; z-index: 1; padding: 28px 20px 48px; }
.hero-name { font-size: clamp(3.6rem, 18vw, 7.5rem); font-weight: 700; letter-spacing: .01em; }
.hero-school { margin: 14px 0 18px; color: #d4d4d8; font-size: 1rem; }
.hero-school span { color: var(--red); margin: 0 4px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags li {
  font-family: var(--display); font-weight: 500; font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase;
  border: 1px solid #3f3f46; padding: 6px 12px;
}
.hero-award {
  margin: 18px 0 28px; font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; font-size: 1.2rem; border-left: 4px solid var(--red); padding-left: 12px;
}
.hero-buttons { display: flex; flex-direction: column; gap: 12px; }
.hero-buttons .btn { width: 100%; }

/* ---------- 2. Video ---------- */
.video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: #18181b;
  border-top: 4px solid var(--red); box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }


/* ---------- 3. Academics ---------- */
.big-stats { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 36px; }
.big-stat {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  background: var(--black); color: var(--white); padding: 18px 20px; border-left: 6px solid var(--red);
}
.big-stat .stat-num { font-size: clamp(3rem, 15vw, 5.5rem); }
.big-stat .stat-label { text-align: right; color: #d4d4d8; }

.stat-num { font-family: var(--display); font-weight: 700; line-height: 1; letter-spacing: .01em; }
.stat-label { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.stat-label small { display: block; font-weight: 500; letter-spacing: .04em; text-transform: none; font-size: .78rem; opacity: .8; }

.detail-grid { display: grid; gap: 28px; align-items: start; }
.detail-list { margin: 0; display: grid; gap: 0; align-content: start; }
.detail-list div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; min-height: 53px; box-sizing: border-box; border-bottom: 1px solid var(--gray-200); }
.detail-list dt { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-600); }
.detail-list dd { margin: 0; font-weight: 600; text-align: right; }
.honor-list li {
  position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--gray-200); font-weight: 500;
}
.honor-list li::before {
  content: ""; position: absolute; left: 4px; top: 50%; width: 10px; height: 10px; background: var(--red);
  transform: translateY(-50%) rotate(45deg);
}

/* ---------- 4. Basketball ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.tile {
  background: var(--white); border: 1px solid var(--gray-200); border-top: 4px solid var(--black);
  padding: 18px 14px; display: flex; flex-direction: column; gap: 8px;
}
.tile .stat-num { font-size: clamp(2.2rem, 11vw, 3.4rem); }
.tile .stat-label { color: var(--gray-600); }
.tile-red { background: var(--red); border-color: var(--red); border-top-color: var(--black); color: var(--white); }
.tile-red .stat-label { color: var(--white); }
.tiles .tile:last-child:nth-child(odd) { grid-column: span 2; }  /* odd tile count on phones */
.detail-list-wide { margin-bottom: 8px; }
.honor-list-bold li { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 1.15rem; }

/* Contact: two actions side by side (email, and come see a game) */
.contact-buttons { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.contact-buttons .btn { width: 100%; }

/* ---------- 5. Recruiting profiles ---------- */
.profile-cards { display: grid; gap: 14px; }
.profile-card {
  display: flex; align-items: center; gap: 16px; padding: 18px; min-height: 92px;
  text-decoration: none; background: var(--black); color: var(--white);
  border-left: 6px solid var(--red); transition: transform .15s, background .15s;
}
.profile-card:hover { background: var(--gray-900); transform: translateY(-2px); }
.profile-mark {
  flex: none; width: 56px; height: 56px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em;
}
/* Brand-colored badges (FieldLevel blue, MaxPreps red/black). Swap for official logo files if you get them. */
.profile-fieldlevel .profile-mark { background: #1f6fd1; color: #fff; }
.profile-maxpreps .profile-mark { background: #fff; color: #c8102e; }
.profile-schedule .profile-mark { background: var(--red); color: #fff; }
.profile-schedule .profile-mark svg { width: 28px; height: 28px; }
.profile-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.profile-brand { font-family: var(--display); font-weight: 600; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; }
.profile-cta { font-size: .9rem; color: #d4d4d8; }
.profile-arrow { flex: none; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; }

/* ---------- 6. Contact ---------- */
.contact { text-align: center; border-top: 6px solid var(--red); }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact h2 { font-size: clamp(2.8rem, 13vw, 5rem); font-weight: 700; margin-bottom: 18px; }
.contact-email { margin: 0 0 28px; font-size: clamp(1.05rem, 4.6vw, 1.5rem); word-break: break-all; }
.contact-email a { color: var(--white); text-underline-offset: 5px; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.contact .btn-lg { width: 100%; max-width: 360px; }
.hs-coach { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); min-width: 260px; }
.hs-coach p { margin: 0; }
.hs-coach-label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 8px !important; }
.hs-coach-name { font-weight: 600; }
.hs-coach-phone { display: inline-block; margin-top: 4px; color: var(--white); text-underline-offset: 4px; text-decoration-color: var(--red); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: #a1a1aa; border-top: 1px solid #27272a; font-size: .85rem; }
.footer-inner { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; padding-top: 22px; padding-bottom: 22px; }
.footer a { color: #d4d4d8; text-decoration: none; }

/* =============================================================
   TABLET (600px+)
   ============================================================= */
@media (min-width: 600px) {
  .wrap { padding: 0 32px; }
  .hero-buttons { flex-direction: row; }
  .hero-buttons .btn { width: auto; }
  .hero-text { padding: 0 32px 56px; }
  .big-stats { grid-template-columns: repeat(3, 1fr); }
  .big-stat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 26px 22px; }
  .big-stat .stat-label { text-align: left; }
  .big-stat .stat-num { font-size: clamp(3rem, 8vw, 5.5rem); }
  .tiles { grid-template-columns: repeat(5, 1fr); }
  .tiles .tile:last-child:nth-child(odd) { grid-column: auto; }
  .tile .stat-num { font-size: clamp(2rem, 5vw, 3.2rem); }
  .profile-cards { grid-template-columns: 1fr 1fr; }
  .profile-cards > :last-child { grid-column: 1 / -1; }
  .contact-buttons { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .contact-buttons .btn { width: auto; }
  .footer-inner { flex-direction: row; justify-content: space-between; }
}

/* =============================================================
   DESKTOP (960px+)
   ============================================================= */
@media (min-width: 960px) {
  :root { --nav-h: 64px; }
  .section { padding: 96px 0; }
  .nav-links li { display: block; }
  .nav-links { gap: 8px; }

  /* Hero is sized by the video, not by the viewport: no forced 100vh,
     so there is no black dead space above or below the film. */
  .hero .wrap { max-width: 1320px; }      /* wider than the rest of the site, to fit a bigger player */
  .hero-grid {
    flex-direction: row; align-items: center; gap: 40px;
    padding: 28px 32px 32px;
  }
  /* Name block is held to a narrow column so the film gets the rest of the row. */
  .hero-text { flex: 0 1 330px; min-width: 0; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: center; }
  .hero-name { font-size: clamp(2.8rem, 4.6vw, 4.4rem); }
  .hero-school { margin: 10px 0 14px; font-size: .95rem; }
  .hero-award { margin: 14px 0 22px; font-size: 1.1rem; }
  /* The film takes everything else: it is the point of the page. */
  .hero-video { flex: 1 1 auto; min-width: 0; }

  .profile-cards { grid-template-columns: repeat(3, 1fr); }
  .profile-cards > :last-child { grid-column: auto; }
  .detail-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  }
