/* hub.css — DME Showcase Hub Page Styles */

/* =========================================
   TYPOGRAPHY
   ========================================= */
.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(72px, 10vw, 160px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--dme-offwhite);
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 7vw, 96px);
  color: var(--dme-gold);
  line-height: 1.0;
}

.stat-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.85);
  margin-top: var(--space-xs);
}

/* =========================================
   SECTION 1: HERO
   ========================================= */
.hero {
  position: relative;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__static {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: none;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(to left, rgba(0, 0, 0, 0.45) 0%, transparent 50%);
  pointer-events: none;
  z-index: 2;
}

/* CSS vignette for image containers in feature sections */
.academy-image-wrap::after,
.facilities-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 3;
}

.hero__content {
  position: absolute;
  bottom: 12%;
  left: 0;
  right: 0;
  z-index: 4;
  padding-inline: clamp(24px, 5vw, 120px);
}

.hero__subheadline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--dme-offwhite);
  max-width: 480px;
  line-height: 1.6;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
}

.hero__cta-row {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.scroll-indicator__chevron {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(244, 244, 244, 0.5);
  border-bottom: 2px solid rgba(244, 244, 244, 0.5);
  transform: rotate(45deg);
  animation: chevronBounce 2s ease-in-out infinite;
}

@keyframes chevronBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
  50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* =========================================
   SECTION 2: STATS BAR
   ========================================= */
.stats-section {
  background: var(--bg-elevated);
  padding: var(--space-lg) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md) var(--space-sm);
  }
}

/* =========================================
   SECTION 3: ACADEMY STORY
   ========================================= */
.academy-section {
  background: var(--bg-primary);
  padding: var(--space-section) 0;
  overflow: hidden;
}

.academy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.academy-text .body-text {
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
}

.academy-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.academy-image-wrap img {
  width: 110%;
  margin-left: -5%;
  height: auto;
  object-fit: cover;
  filter: brightness(0.8) contrast(1.1);
}

@media (max-width: 768px) {
  .academy-grid {
    grid-template-columns: 1fr;
  }
  .academy-image-wrap img {
    width: 100%;
    margin-left: 0;
  }
}

/* =========================================
   SECTION 4: THREE CAMPS
   ========================================= */
.camps-section {
  background: var(--bg-primary);
  padding: var(--space-section) 0;
}

.camps-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.camps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 32px);
}

.camp-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--dme-navy);
}

.camp-card__image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.75) contrast(1.1);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.camp-card__image--volleyball {
  object-position: center 20%;
}

.camp-card:hover .camp-card__image {
  transform: scale(1.04);
  filter: brightness(0.85) contrast(1.05);
}

.camp-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 60%, transparent 100%);
}

.camp-card__sport-tag {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dme-gold);
  margin-bottom: var(--space-xs);
}

.camp-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 28px);
  text-transform: uppercase;
  color: var(--dme-offwhite);
  line-height: 1.05;
  margin-bottom: var(--space-sm);
}

.camp-card__details {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: rgba(244, 244, 244, 0.9);
  line-height: 1.6;
}

.camp-card__details span {
  display: block;
}

.camp-card__price {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--dme-offwhite);
  margin-top: var(--space-xs);
}

.camp-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-sm);
  padding: 8px 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dme-offwhite);
  text-decoration: none;
  transition: color 0.25s ease;
  min-height: 44px;
}

.camp-card__cta:hover {
  color: var(--dme-gold);
}

.camp-card__cta:focus-visible {
  outline: 2px solid var(--dme-gold);
  outline-offset: 3px;
}

.camp-card__actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

.camp-card__actions .camp-card__cta {
  margin-top: 0;
}

.camp-card__actions .proof-trigger {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
  width: fit-content;
}

@media (max-width: 768px) {
  .camps-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
}

/* =========================================
   SECTION 5: FACILITIES
   ========================================= */
.facilities-section {
  background: var(--bg-primary);
  padding: var(--space-section) 0;
}

.facilities-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  margin-bottom: var(--space-xl);
}

.facilities-row:last-child {
  margin-bottom: 0;
}

.facilities-row--reverse {
  direction: rtl;
}

.facilities-row--reverse > * {
  direction: ltr;
}

.facilities-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.facilities-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) contrast(1.1);
}

.facilities-text .body-text {
  margin-top: var(--space-md);
}

.body-text--spaced-sm {
  margin-top: var(--space-sm);
}

.proof-trigger--spaced-sm {
  margin-top: var(--space-sm);
}

.proof-triggers--hub {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.proof-triggers--hub-sm {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

@media (max-width: 768px) {
  .facilities-row,
  .facilities-row--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* =========================================
   SECTION 6: COACHING STAFF
   ========================================= */
.coaches-section {
  background: var(--bg-elevated);
  padding: var(--space-section) 0;
}

.coaches-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.coaches-sport-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dme-gold);
  margin-bottom: var(--space-md);
  margin-top: var(--space-lg);
}

.coaches-sport-label:first-of-type {
  margin-top: 0;
}

.coaches-sport-label--gold {
  color: var(--dme-gold);
}

.coaches-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.coach-card {
  text-align: center;
  width: 140px;
}

.coach-portrait {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-sm);
  background: var(--dme-navy);
  border: 2.5px solid rgba(208, 173, 92, 0.35);
  box-shadow: 0 0 0 4px rgba(10, 26, 62, 0.9), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.coach-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.92) contrast(1.05);
}

.coach-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: rgba(244, 244, 244, 0.75);
  background: var(--dme-navy);
}

.coach-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--dme-offwhite);
  margin-bottom: 4px;
}

.coach-title {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  color: rgba(244, 244, 244, 0.7);
}

/* =========================================
   SECTION 7: NOTABLE ALUMNI
   ========================================= */
.alumni-section {
  background: var(--bg-primary);
  padding: var(--space-section) 0;
}

.alumni-header {
  margin-bottom: var(--space-lg);
}

.alumni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 32px);
}

.alumni-card {
  background: rgba(10, 26, 62, 0.5);
  border: 1px solid rgba(244, 244, 244, 0.08);
  border-radius: 4px;
  padding: var(--space-md);
  transition: border-color 0.3s ease;
}

.alumni-card:hover {
  border-color: rgba(208, 173, 92, 0.3);
}

.alumni-card__sport {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dme-gold);
  margin-bottom: var(--space-xs);
}

.alumni-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 28px);
  text-transform: uppercase;
  color: var(--dme-offwhite);
  line-height: 1.1;
  margin-bottom: var(--space-xs);
}

.alumni-card__achievement {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: rgba(244, 244, 244, 0.7);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .alumni-grid {
    grid-template-columns: 1fr;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    display: flex;
    gap: var(--space-sm);
    padding-bottom: var(--space-sm);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .alumni-grid::-webkit-scrollbar {
    display: none;
  }
  .alumni-card {
    min-width: 280px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}

/* =========================================
   SECTION 8: ACADEMIC CREDENTIALS
   ========================================= */
.academics-section {
  background: var(--bg-elevated);
  padding: var(--space-section) 0;
}

.academics-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.academics-images img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 4px;
}

.academics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.academics-text .body-text {
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
}

.credentials-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.credential-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(244, 244, 244, 0.08);
  border-radius: 4px;
  padding: var(--space-md);
  text-align: center;
}

.credential-card--wide {
  grid-column: span 2;
}

.credential-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 4vw, 56px);
  color: var(--dme-gold);
  line-height: 1;
}

.credential-number--sm {
  font-size: clamp(28px, 3vw, 40px);
}

.credential-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.75);
  margin-top: var(--space-xs);
}

.credential-label--tight {
  margin-bottom: var(--space-xs);
  margin-top: 0;
}

@media (max-width: 768px) {
  .academics-grid {
    grid-template-columns: 1fr;
  }
  .credentials-panel {
    grid-template-columns: 1fr;
  }
  .credential-card--wide {
    grid-column: span 1;
  }
}

/* =========================================
   SECTION: INSIDE DME
   ========================================= */
.section-header--centered {
  text-align: center;
  margin-bottom: var(--space-lg);
}

/* =========================================
   SECTION 9: INTERNATIONAL SHOWCASES
   ========================================= */
.showcases-section {
  background: var(--bg-primary);
  padding: var(--space-section) 0;
}

.showcases-header {
  margin-bottom: var(--space-lg);
}

.showcases-subtext {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(244, 244, 244, 0.7);
  max-width: 560px;
  line-height: 1.7;
  margin-top: var(--space-sm);
}

.showcases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 32px);
}

.showcase-card {
  background: rgba(10, 26, 62, 0.5);
  border: 1px solid rgba(244, 244, 244, 0.08);
  border-radius: 4px;
  padding: var(--space-md);
  transition: border-color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.showcase-card:hover {
  border-color: rgba(208, 173, 92, 0.3);
}

.showcase-card__location {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  text-transform: uppercase;
  color: var(--dme-offwhite);
  margin-bottom: var(--space-xs);
}

.showcase-card__status {
  display: inline-block;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: var(--space-md);
}

.showcase-card__status--active {
  background: var(--dme-gold);
  color: var(--dme-black);
}

.showcase-card__status--coming {
  background: rgba(244, 244, 244, 0.1);
  color: rgba(244, 244, 244, 0.75);
}

.showcase-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dme-offwhite);
  text-decoration: none;
  transition: color 0.25s ease;
}

.showcase-card__cta:hover {
  color: var(--dme-gold);
}

.showcase-card__cta:focus-visible {
  outline: 2px solid var(--dme-gold);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .showcases-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
}

/* =========================================
   SECTION 10: REGISTRATION CTA
   ========================================= */
.register-section {
  background: var(--bg-primary);
  padding: var(--space-section) 0;
  text-align: center;
}

.promo-badge {
  display: inline-block;
  background: var(--dme-gold);
  color: var(--dme-black);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 28px;
  margin-bottom: var(--space-md);
}

.register-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(64px, 10vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--dme-offwhite);
  margin-bottom: var(--space-md);
}

.register-subtext {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(244, 244, 244, 0.75);
  max-width: 540px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}

.register-cta-row {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.register-note {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: rgba(244, 244, 244, 0.75);
}

/* =========================================
   SECTION 11: FOOTER
   ========================================= */
.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid rgba(244, 244, 244, 0.08);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-lg);
  align-items: start;
  margin-bottom: var(--space-lg);
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-nav {
  display: flex;
  gap: var(--space-sm) var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 244, 244, 0.68);
  text-decoration: none;
  transition: color 0.25s ease;
  padding: 4px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-nav a:hover {
  color: var(--dme-offwhite);
}

.footer-nav a:focus-visible {
  outline: 2px solid var(--dme-gold);
  outline-offset: 3px;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(244, 244, 244, 0.15);
  border-radius: 50%;
  color: rgba(244, 244, 244, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.footer-social a:hover {
  border-color: var(--dme-gold);
  color: var(--dme-gold);
}

.footer-social a:focus-visible {
  outline: 2px solid var(--dme-gold);
  outline-offset: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(244, 244, 244, 0.08);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: rgba(244, 244, 244, 0.7);
}

.footer-bottom a {
  color: rgba(244, 244, 244, 0.75);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-bottom a:hover {
  color: var(--dme-offwhite);
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-logo {
    display: flex;
    justify-content: center;
  }
  .footer-nav {
    justify-content: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================================
   NAV OVERRIDES (hub uses .container not .nav-container)
   ========================================= */
.site-nav .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.site-nav__links a {
  white-space: nowrap;
}

.site-nav__links .nav-cta {
  text-align: center;
  justify-content: center;
}
