/*
Theme Name:  Schultz Athlete Profile
Theme URI:   
Author:      Custom
Description: A full custom single-page athlete recruiting site. All content managed via Advanced Custom Fields. Black and orange basketball theme.
Version:     1.0.2
License:     GNU General Public License v2 or later
Text Domain: schultz-athlete
*/

/* ============================================================
   CSS RESET + ROOT VARIABLES
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:       #FF6B00;
  --orange-dark:  #cc5500;
  --black:        #0d0d0d;
  --dark:         #141414;
  --card:         #1a1a1a;
  --border:       #222222;
  --muted:        #555555;
  --subtle:       #333333;
  --white:        #ffffff;
  --text:         #e8e8e8;
  --font-head:    'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --radius:       4px;
  --max-w:        1200px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============================================================
   UTILITIES
   ============================================================ */
.ap-site {
  max-width: var(--max-w);
  margin: 0 auto;
  border-left: 0.5px solid var(--border);
  border-right: 0.5px solid var(--border);
  min-height: 100vh;
}

.ap-section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--orange);
  border-top: 1.5px solid var(--orange);
  padding-top: 5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.ap-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity .15s, background .15s, border-color .15s, color .15s;
  white-space: nowrap;
  border: none;
}
.ap-btn--primary { background: var(--orange); color: #000; }
.ap-btn--primary:hover { background: var(--orange-dark); }
.ap-btn--ghost { background: transparent; color: #aaa; border: 0.5px solid var(--subtle); }
.ap-btn--ghost:hover { border-color: #666; color: var(--white); }

/* ============================================================
   NAV
   ============================================================ */
.ap-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 32px;
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(13,13,13,.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
}
.ap-nav__brand { display: flex; align-items: center; gap: 10px; }
.ap-nav__number {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: #000;
  font-family: var(--font-head);
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ap-nav__name {
  font-family: var(--font-head);
  font-size: 16px; font-weight: 600;
  color: var(--white);
  letter-spacing: .03em;
}
.ap-nav__links { display: flex; gap: 24px; list-style: none; }
.ap-nav__links a { font-size: 12px; color: var(--muted); transition: color .15s; letter-spacing: .04em; }
.ap-nav__links a:hover,
.ap-nav__links a.active { color: var(--orange); }
.ap-nav__hamburger {
  display: none; background: none; border: none;
  color: var(--text); font-size: 22px; cursor: pointer; line-height: 1;
}

/* ============================================================
   HERO
   ============================================================ */
.ap-hero {
  display: flex;
  min-height: 520px;
  border-bottom: 0.5px solid var(--border);
}
.ap-hero__content {
  flex: 1;
  padding: 44px 32px 36px;
  border-right: 0.5px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ap-hero__content::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--orange);
}
.ap-hero__eyebrow {
  font-family: var(--font-head);
  font-size: 11px; letter-spacing: .12em;
  color: var(--orange); text-transform: uppercase;
  margin-bottom: 10px;
}
.ap-hero__name {
  font-family: var(--font-head);
  font-size: clamp(44px, 7vw, 68px);
  font-weight: 700; color: var(--white);
  line-height: .95; margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: .01em;
}
.ap-hero__meta { font-size: 12px; color: var(--muted); margin-bottom: 16px; letter-spacing: .03em; }
.ap-hero__bio { font-size: 13px; color: #888; max-width: 340px; line-height: 1.7; margin-bottom: 24px; }
.ap-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }

.ap-hero__stats {
  display: flex; gap: 0;
  border-top: 0.5px solid var(--border);
  padding-top: 24px; margin-top: auto;
}
.ap-hero__stat {
  flex: 1; display: flex; flex-direction: column;
  padding-right: 20px;
  border-right: 0.5px solid var(--border);
}
.ap-hero__stat:not(:first-child) { padding-left: 20px; }
.ap-hero__stat:last-child { border-right: none; }
.ap-hero__stat-value {
  font-family: var(--font-head);
  font-size: 32px; font-weight: 700;
  color: var(--white); line-height: 1; margin-bottom: 4px;
}
.ap-hero__stat-label { font-size: 10px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

.ap-hero__photo { width: 260px; flex-shrink: 0; display: flex; align-items: stretch; }
.ap-hero__photo-frame { position: relative; width: 100%; overflow: hidden; }
.ap-hero__photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block; filter: grayscale(15%);
}
.ap-hero__photo-badge {
  position: absolute; bottom: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: #000;
  font-family: var(--font-head); font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   SEASON STATS
   ============================================================ */
.ap-stats { padding: 36px 32px; border-bottom: 0.5px solid var(--border); }
.ap-stats__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 10px;
}
.ap-stat-card {
  background: var(--dark); border-radius: var(--radius);
  padding: 16px 14px; border-top: 2px solid var(--orange);
}
.ap-stat-card__value {
  font-family: var(--font-head); font-size: 28px; font-weight: 700;
  color: var(--white); margin-bottom: 4px;
}
.ap-stat-card__label { font-size: 10px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

/* ============================================================
   FILM
   ============================================================ */
.ap-film { padding: 36px 32px; border-bottom: 0.5px solid var(--border); }
.ap-film__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.ap-film__embed-wrap {
  position: relative; width: 100%; padding-bottom: 56.25%;
  background: var(--card); border-radius: var(--radius); overflow: hidden;
}
.ap-film__embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.ap-film__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.ap-film__title { font-size: 12px; color: #aaa; }
.ap-film__duration {
  font-size: 11px; color: var(--muted);
  background: var(--card); padding: 2px 8px; border-radius: 3px;
}

/* ============================================================
   AWARDS + GALLERY
   ============================================================ */
.ap-split { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 0.5px solid var(--border); }
.ap-awards { padding: 36px 32px; border-right: 0.5px solid var(--border); }
.ap-awards__list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ap-awards__item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--dark); border-radius: var(--radius); padding: 14px;
}
.ap-awards__icon { flex-shrink: 0; color: var(--orange); margin-top: 1px; }
.ap-awards__text { display: flex; flex-direction: column; gap: 2px; }
.ap-awards__text strong { font-size: 13px; color: var(--white); font-weight: 500; }
.ap-awards__text span  { font-size: 11px; color: var(--muted); }

.ap-gallery { padding: 36px 32px; }
.ap-gallery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ap-gallery__item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--card); }
.ap-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ap-gallery__item:hover img { transform: scale(1.04); }

/* ============================================================
   CONTACT CTA
   ============================================================ */
.ap-contact { padding: 56px 32px; text-align: center; border-bottom: 0.5px solid var(--border); }
.ap-contact__inner { max-width: 560px; margin: 0 auto; }
.ap-contact__heading {
  font-family: var(--font-head); font-size: 36px; font-weight: 700;
  color: var(--white); margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: .01em;
}
.ap-contact__sub { font-size: 13px; color: var(--muted); margin-bottom: 24px; line-height: 1.7; }
.ap-contact__details { margin-bottom: 28px; }
.ap-contact__person { display: flex; flex-direction: column; gap: 4px; }
.ap-contact__coach  { font-size: 14px; font-weight: 500; color: var(--white); }
.ap-contact__email,
.ap-contact__phone  { font-size: 13px; color: var(--orange); transition: opacity .15s; }
.ap-contact__email:hover,
.ap-contact__phone:hover { opacity: .75; }
.ap-contact__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.ap-footer {
  padding: 20px 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.ap-footer__copy { font-size: 11px; color: var(--subtle); }
.ap-footer__social { display: flex; gap: 16px; }
.ap-footer__social a { color: var(--subtle); transition: color .15s; }
.ap-footer__social a:hover { color: var(--orange); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .ap-stats__grid { grid-template-columns: repeat(3, 1fr); }
  .ap-film__grid  { grid-template-columns: 1fr 1fr; }
  .ap-split       { grid-template-columns: 1fr; }
  .ap-awards      { border-right: none; border-bottom: 0.5px solid var(--border); }
}

@media (max-width: 680px) {
  .ap-nav { padding: 12px 20px; }
  .ap-nav__links { display: none; }
  .ap-nav__links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 56px; left: 0; right: 0;
    background: rgba(13,13,13,.98);
    padding: 20px; gap: 16px;
    border-bottom: 0.5px solid var(--border);
  }
  .ap-nav__hamburger { display: block; }

  .ap-hero { flex-direction: column-reverse; }
  .ap-hero__photo { width: 100%; height: 280px; }
  .ap-hero__photo-frame img { object-position: center 20%; }
  .ap-hero__content { padding: 28px 20px; border-right: none; }
  .ap-hero__stats { flex-wrap: wrap; }
  .ap-hero__stat { min-width: 40%; margin-bottom: 12px; }

  .ap-stats, .ap-film, .ap-awards,
  .ap-gallery, .ap-contact, .ap-footer { padding: 28px 20px; }
  .ap-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .ap-film__grid  { grid-template-columns: 1fr; }
}


/* jp */
.ap-hero__header-wrap-jp {display:flex;justify-content:space-between;gap:40px;}
.ap-hero__header-wrap-jp > *:nth-child(2) {flex:1}
.ap-hero__photo {display:block;width:auto;height:100%;}
.ap-hero__photo img {display:none;}
.ap-hero__photo-frame {height:100%;background-size:cover;background-repeat:no-repeat;background-position:center center;}

@media(max-width:782px){
    .ap-hero__header-wrap-jp > *:nth-child(2) {display:none;}
}