/* Raptors Baseball — shared site styles */
:root {
  --black: #050507;
  --graphite: #111116;
  --graphite-2: #181820;
  --white: #ffffff;
  --off-white: #f5f3f8;
  --muted: #bbb7c6;
  --purple: #6d22d7;
  --purple-bright: #8a42ff;
  --purple-deep: #3e0d7d;
  --border: rgba(255,255,255,.12);
  --shadow: 0 16px 50px rgba(0,0,0,.38);
  --max: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--off-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
img { max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 9999;
  background: #fff;
  color: #000;
  padding: .75rem 1rem;
  border-radius: .35rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, rgba(3,3,5,.98), rgba(24,8,42,.98), rgba(3,3,5,.98));
  border-bottom: 1px solid rgba(138,66,255,.58);
  box-shadow: 0 8px 26px rgba(0,0,0,.42);
}
.nav-container {
  width: min(var(--max), 94%);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;

  overflow: hidden;
  flex: 0 0 58px;
}

.brand-logo {
  display: block;

  width: 65px;
  height: 65px;

  max-width: none;
  object-fit: cover;

  transform: scale(1.18);
}
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: .92;
  text-transform: uppercase;
  letter-spacing: .055em;
}
.brand-copy strong { font-size: 1.12rem; font-weight: 950; }
.brand-copy span { color: #c6b9dd; font-size: .69rem; font-weight: 800; margin-top: .28rem; }

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 1.45vw, 1.65rem);
}
.main-nav a {
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: .9rem;
  font-weight: 850;
  letter-spacing: .045em;
  transition: color .2s ease, transform .2s ease, background .2s ease, border-color .2s ease;
}
.main-nav a:not(.register-button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.55rem;
  height: 3px;
  background: var(--purple-bright);
  transition: right .2s ease;
}
.main-nav a:not(.register-button):hover,
.main-nav a:not(.register-button):focus-visible,
.main-nav a[aria-current="page"] { color: #b990ff; }
.main-nav a:not(.register-button):hover::after,
.main-nav a:not(.register-button):focus-visible::after,
.main-nav a[aria-current="page"]::after { right: 0; }
.register-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .76rem 1.2rem;
  border: 1px solid #a56cff;
  border-radius: .32rem;
  background: linear-gradient(135deg, #5313a6, #7b2cff);
  color: #fff !important;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .045em;
  box-shadow: 0 8px 24px rgba(93,27,190,.28);
}
.register-button:hover,
.register-button:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #6420bf, #914cff);
  border-color: #c5a1ff;
}
.button.secondary {
  background: transparent;
  border-color: rgba(255,255,255,.32);
  box-shadow: none;
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: .35rem;
  background: rgba(255,255,255,.04);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: #fff;
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero picture, .hero img { display: block; width: 100%; }
.hero img { height: auto; }

.section { padding: clamp(3.8rem, 7vw, 7rem) 0; }
.section.alt { background: linear-gradient(180deg, #0d0d12, #08080b); }
.container { width: min(1180px, 90%); margin: 0 auto; }
.eyebrow {
  margin: 0 0 .65rem;
  color: #a774ff;
  text-transform: uppercase;
  font-size: .79rem;
  font-weight: 900;
  letter-spacing: .15em;
}
h1, h2, h3 { line-height: 1.05; margin-top: 0; }
h1 { font-size: clamp(2.3rem, 6vw, 4.9rem); margin-bottom: 1rem; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }
.lead {
  max-width: 780px;
  margin: 0;
  color: #d2ced8;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}
.section-heading { margin-bottom: 2.3rem; }

.pathway-grid,
.feature-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.card {
  position: relative;
  overflow: hidden;
  padding: 1.65rem;
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: linear-gradient(150deg, rgba(255,255,255,.065), rgba(255,255,255,.018));
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--purple-deep), var(--purple-bright));
}
.card p { color: #c7c3ce; }
.card-link {
  display: inline-block;
  margin-top: .5rem;
  color: #b98aff;
  font-weight: 850;
  text-decoration: none;
}
.card-link:hover { color: #fff; }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.value {
  padding: 1.5rem 1rem;
  text-align: center;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: .08em;
  font-size: clamp(1.15rem, 3vw, 1.9rem);
}
.value + .value { border-left: 1px solid var(--border); }

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid rgba(151,94,255,.46);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 88% 18%, rgba(128,50,255,.28), transparent 32%),
    linear-gradient(135deg, #14101a, #09090c);
  box-shadow: var(--shadow);
}
.cta-panel p { margin-bottom: 0; color: #c9c4d1; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

.page-hero {
  padding: clamp(4.2rem, 9vw, 8rem) 0 clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(circle at 82% 20%, rgba(122,44,255,.26), transparent 30%),
    linear-gradient(155deg, #0c0c11, #050507 65%);
  border-bottom: 1px solid var(--border);
}
.page-hero .lead { max-width: 850px; }
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr);
  gap: 2rem;
  align-items: start;
}
.prose { max-width: 820px; }
.prose p, .prose li { color: #cfccd4; }
.prose h2 { margin-top: 2.5rem; font-size: clamp(1.7rem, 3vw, 2.45rem); }
.prose ul { padding-left: 1.2rem; }
.side-card {
  position: sticky;
  top: 108px;
}

.notice {
  padding: 1.15rem 1.25rem;
  border-left: 4px solid var(--purple-bright);
  background: rgba(123,44,255,.1);
  color: #d9d2e5;
}

.site-footer {
  padding: 2.8rem 0;
  border-top: 1px solid var(--border);
  background: #050507;
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.footer-brand { font-weight: 950; text-transform: uppercase; letter-spacing: .055em; }
.footer-copy { color: #918d99; font-size: .9rem; }
.footer-links { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.footer-links a { color: #bab4c5; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: #fff; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: .75rem 5% 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7,7,10,.99);
    border-bottom: 1px solid rgba(138,66,255,.7);
    box-shadow: 0 20px 34px rgba(0,0,0,.5);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .92rem .1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav a:not(.register-button)::after { display: none; }
  .main-nav .register-button { margin-top: .75rem; border-bottom: 1px solid #a56cff; }
}

@media (max-width: 820px) {
  .pathway-grid, .feature-grid, .news-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .cta-panel { align-items: flex-start; flex-direction: column; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .nav-container { min-height: 68px; }
  .brand-copy strong { font-size: 1rem; }
  .brand-copy span { font-size: .62rem; }
  .brand-badge { width: 38px; height: 38px; }
  .values { grid-template-columns: 1fr; }
  .value + .value { border-left: 0; border-top: 1px solid var(--border); }
  .section { padding: 3.5rem 0; }
}

/* =========================================================
   PREMIER PAGE HERO
   ========================================================= */

.premier-hero {
  padding: 0;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 25% 35%,
      rgba(109, 34, 215, .22),
      transparent 35%
    ),
    linear-gradient(
      120deg,
      #09090d 0%,
      #100b17 48%,
      #050507 100%
    );
}

.premier-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .65fr);
  align-items: stretch;

  min-height: 620px;
}

.premier-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: clamp(4rem, 8vw, 7rem) 4rem clamp(4rem, 8vw, 7rem) 0;

  position: relative;
  z-index: 2;
}

.premier-hero-content h1 {
  max-width: 800px;
}

.premier-hero-content .lead {
  max-width: 720px;
}

.premier-hero-actions {
  margin-top: 2rem;
}


/* Player image */

.premier-hero-image {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.premier-hero-image img {
  position: absolute;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center 30%;

  display: block;
}


/* Blend image into Raptors background */

.premier-hero-image::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      90deg,
      #09090d 0%,
      rgba(9, 9, 13, .72) 8%,
      rgba(9, 9, 13, .15) 25%,
      transparent 45%
    );

  pointer-events: none;
}


/* Subtle purple bottom treatment */

.premier-hero-image::after {
  content: "";

  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 28%;

  z-index: 1;

  background:
    linear-gradient(
      0deg,
      rgba(39, 9, 74, .45),
      transparent
    );

  pointer-events: none;
}


/* =========================================================
   PREMIER HERO RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

  .premier-hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .premier-hero-content {
    padding:
      4rem 0
      3rem;
  }

  .premier-hero-image {
    min-height: 520px;
  }

  .premier-hero-image::before {
    background:
      linear-gradient(
        180deg,
        #09090d 0%,
        rgba(9, 9, 13, .45) 10%,
        transparent 30%
      );
  }
}


@media (max-width: 560px) {

  .premier-hero-content {
    padding:
      3rem 0
      2.5rem;
  }

  .premier-hero-image {
    min-height: 430px;
  }

  .premier-hero-image img {
    object-position: center top;
  }
}

/* =========================================================
   YOUTH COACHING
   ========================================================= */

.youth-coaching {
  padding: clamp(4rem, 7vw, 7rem) 0;

  background:
    radial-gradient(
      circle at 15% 25%,
      rgba(108, 35, 210, .13),
      transparent 32%
    ),
    #08080b;
}


.youth-coaching-heading {
  max-width: 820px;
  margin-bottom: 3.5rem;
}

.youth-coaching-heading h2 {
  margin-bottom: 1rem;
}

.youth-coaching-heading p {
  color: #b9b8c2;
  font-size: 1.08rem;
  line-height: 1.7;
}


/* =========================================================
   COACH FEATURE
   ========================================================= */

.coach-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: clamp(2rem, 5vw, 5rem);

  align-items: center;

  margin-bottom: 3rem;
  padding: clamp(2rem, 4vw, 3.5rem);

  background:
    linear-gradient(
      135deg,
      rgba(28, 23, 37, .96),
      rgba(11, 10, 15, .98)
    );

  border: 1px solid rgba(138, 74, 255, .25);
  border-left: 4px solid #772bd4;

  box-shadow:
    0 20px 50px rgba(0, 0, 0, .25);
}


.coach-feature-reverse {
  border-left: 1px solid rgba(138, 74, 255, .25);
  border-right: 4px solid #772bd4;
}


.coach-label {
  display: inline-block;

  margin-bottom: .9rem;

  color: #9d5cff;

  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
}


.coach-feature h3 {
  margin: 0 0 1.3rem;

  color: #fff;

  font-size: clamp(1.8rem, 3vw, 2.7rem);
}


.coach-feature-content p {
  max-width: 780px;

  color: #c7c5ce;

  line-height: 1.75;
}


.coach-feature-content strong {
  color: #fff;
}


.coach-role {
  margin-top: -.7rem;

  color: #9d5cff !important;

  font-weight: 800;
}


/* =========================================================
   COACH CREDENTIALS
   ========================================================= */

.coach-stat-panel {
  display: grid;
  gap: 1px;

  background: rgba(255, 255, 255, .08);

  border: 1px solid rgba(255, 255, 255, .08);
}


.coach-stat {
  padding: 1.4rem;

  background:
    linear-gradient(
      135deg,
      rgba(83, 20, 168, .28),
      rgba(10, 10, 14, .96)
    );
}


.coach-stat strong {
  display: block;

  margin-bottom: .35rem;

  color: #fff;

  font-size: 1.08rem;
  font-weight: 900;
  text-transform: uppercase;
}


.coach-stat span {
  color: #aaa7b4;

  font-size: .88rem;
  line-height: 1.4;
}


/* =========================================================
   DEVELOPMENT MESSAGE
   ========================================================= */

.development-message {
  max-width: 900px;

  margin: clamp(4rem, 7vw, 7rem) auto 0;

  text-align: center;
}


.development-message h2 {
  margin-bottom: 1.2rem;
}


.development-message p:last-child {
  max-width: 760px;

  margin-left: auto;
  margin-right: auto;

  color: #bbb9c4;

  font-size: 1.08rem;
  line-height: 1.75;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

  .coach-feature {
    grid-template-columns: 1fr;
  }

  .coach-feature-reverse {
    border-right: 1px solid rgba(138, 74, 255, .25);
    border-left: 4px solid #772bd4;
  }

}
