/* ==========================================================
   Atlanture Sports & Entertainment — main stylesheet
   Black & white palette, bold condensed headlines.
   ========================================================== */

:root {
  --black: #0a0a0a;
  --ink: #141414;
  --grey-900: #1c1c1c;
  --grey-700: #3a3a3a;
  --grey-500: #7a7a7a;
  --grey-300: #c8c8c8;
  --grey-100: #f2f2f2;
  --white: #ffffff;

  --font-display: "Anton", "Oswald", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 10vw, 140px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--white); color: var(--black);
  padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: .01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(3.2rem, 10vw, 9rem); }
h2 { font-size: clamp(2.4rem, 6vw, 5rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
p { margin: 0 0 1.2em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.6; max-width: 46ch; }
.muted { color: var(--grey-500); }
/* Stroke color is explicit: with transparent text, currentColor would be transparent too */
.outline-text { color: transparent; -webkit-text-stroke: 2px var(--black); }
.hero .outline-text, .page-hero .outline-text, .section--dark .outline-text { -webkit-text-stroke-color: var(--white); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  border: 2px solid currentColor;
  font-size: .8rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--light:hover { background: transparent; color: var(--white); }
.btn--ghost-light { color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--black); }
.btn--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--dark:hover { background: transparent; color: var(--black); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: var(--black);
  border-bottom-color: rgba(255,255,255,.08);
}
.site-header .container {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem; letter-spacing: .08em; text-transform: uppercase;
  line-height: 1;
}
.logo-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 2px solid currentColor;
  font-size: 1.1rem;
}
.logo small {
  display: block;
  font-family: var(--font-body);
  font-size: .58rem; font-weight: 600; letter-spacing: .3em;
  opacity: .7; margin-top: 4px;
}

.nav-list {
  display: flex; gap: 36px;
  list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  position: relative;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 6px 0;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer; padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.is-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--black);
    padding: 40px var(--gutter);
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    overflow-y: auto;
  }
  .is-open .site-nav { transform: none; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-list a {
    display: block; padding: 20px 0;
    font-family: var(--font-display);
    font-size: 2.2rem; font-weight: 400; letter-spacing: .04em;
  }
  .nav-list a::after { display: none; }
  body.nav-locked { overflow: hidden; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--black); color: var(--white);
  overflow: hidden;
  padding-block: calc(var(--header-h) + 60px) clamp(48px, 8vw, 96px);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.35) 0%, rgba(10,10,10,.55) 50%, rgba(10,10,10,.95) 100%);
}
.hero .container { position: relative; }
.hero h1 { margin-bottom: .3em; }
.hero--slideshow .hero-copy h1 { font-size: clamp(2.62rem, 8.2vw, 7.38rem); }  /* about 18% smaller than the site h1 */
.hero .lead { color: var(--grey-300); margin-bottom: 40px; }

.hero-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px;
}
.scroll-cue {
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--grey-300);
  display: flex; align-items: center; gap: 12px;
}
.scroll-cue::after { content: ""; width: 1px; height: 48px; background: var(--grey-300); }

/* Smaller hero for inner pages */
.page-hero {
  background: var(--black); color: var(--white);
  padding-block: calc(var(--header-h) + clamp(64px, 10vw, 140px)) clamp(56px, 8vw, 100px);
  position: relative; overflow: hidden;
}
.page-hero h1 { font-size: clamp(3rem, 9vw, 7.5rem); margin-bottom: .25em; }
.page-hero .lead { color: var(--grey-300); }
.page-hero .bg-word {
  position: absolute; right: -2vw; bottom: -.18em;
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(8rem, 24vw, 22rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08);
  pointer-events: none; white-space: nowrap;
}

/* ---------- Marquee ---------- */

.marquee {
  background: var(--white); color: var(--black);
  border-block: 2px solid var(--black);
  overflow: hidden; white-space: nowrap;
  padding-block: 18px;
}
.marquee-track {
  display: inline-flex; gap: 48px;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.2rem);
  text-transform: uppercase; letter-spacing: .04em;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: "●"; font-size: .5em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { padding-block: var(--section-y); }
.section--dark { background: var(--black); color: var(--white); }
.section--dark .muted { color: var(--grey-500); }
.section--grey { background: var(--grey-100); }

.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px 48px; margin-bottom: clamp(40px, 6vw, 80px);
}
.section-head h2 { margin: 0; max-width: 14ch; }
.section-head p { max-width: 42ch; margin: 0; }

.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.split--top { align-items: start; }
/* single closing line sits level with the bottom of the heading */
.split--end { align-items: end; }
.split--end h2, .split--end .lead { margin-bottom: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.media-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--grey-900); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.media-frame--wide { aspect-ratio: 16 / 10; }
.media-tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--white); color: var(--black);
  padding: 14px 20px;
  font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}

/* ---------- Stats ---------- */

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.15);
}
.stat {
  padding: 40px 24px 0 0;
  border-right: 1px solid rgba(255,255,255,.15);
  padding-left: 24px;
}
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); line-height: 1; }
.stat-label { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-500); margin-top: 12px; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 32px 16px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(2n+1) { padding-left: 0; }
}

/* ---------- Service list (numbered rows) ---------- */

.service-rows { border-top: 2px solid currentColor; }
.service-row {
  display: grid; grid-template-columns: 80px 1fr 1.2fr 40px;
  gap: 24px; align-items: center;
  padding-block: 36px;
  border-bottom: 1px solid var(--grey-300);
  transition: padding .3s var(--ease);
}
.section--dark .service-row { border-bottom-color: rgba(255,255,255,.15); }
.service-row:hover { padding-inline: 12px; }
.service-num { font-size: .8rem; font-weight: 700; letter-spacing: .2em; color: var(--grey-500); }
.service-row h3 { margin: 0; }
.service-row p { margin: 0; color: var(--grey-500); }
.service-row .arrow { font-size: 1.5rem; justify-self: end; transition: transform .3s var(--ease); }
.service-row:hover .arrow { transform: translateX(6px); }
@media (max-width: 760px) {
  .service-row { grid-template-columns: 48px 1fr; }
  .service-row p { grid-column: 2; }
  .service-row .arrow { display: none; }
}

/* ---------- Cards ---------- */

.card-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }

.athlete-card { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.athlete-card .media-frame { aspect-ratio: 3 / 4; }
.athlete-card img { transition: transform .6s var(--ease); }
.athlete-card:hover img { transform: scale(1.04); }
.athlete-info {
  position: absolute; inset: auto 0 0 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(10,10,10,.95), rgba(10,10,10,0));
}
.athlete-info h3 { margin: 0 0 6px; font-size: 1.7rem; }
.athlete-meta { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-300); }
.athlete-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--white); color: var(--black);
  font-size: .65rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  padding: 6px 10px;
}
.athlete-card[hidden] { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
  padding: 10px 18px; cursor: pointer;
  background: transparent; border: 1px solid var(--black);
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.filter-btn:hover, .filter-btn.is-active { background: var(--black); color: var(--white); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--grey-300); }
.feature {
  padding: 40px 32px 40px 0;
  border-bottom: 1px solid var(--grey-300);
}
.feature + .feature { padding-left: 32px; border-left: 1px solid var(--grey-300); }
.section--dark .feature-grid, .section--dark .feature, .section--dark .feature + .feature { border-color: rgba(255,255,255,.15); }
.feature-icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  border: 2px solid currentColor; margin-bottom: 28px;
  font-family: var(--font-display); font-size: 1.2rem;
}
.feature h3 { font-size: 1.6rem; }
.feature p { color: var(--grey-500); margin: 0; }
@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature, .feature + .feature { padding: 32px 0; border-left: 0; }
}

/* Detailed service blocks */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px);
  padding-block: clamp(56px, 8vw, 100px);
  border-top: 1px solid var(--grey-300);
}
.service-detail:first-child { border-top: 0; padding-top: 0; }
.service-detail .service-num { display: block; margin-bottom: 16px; }
.service-detail ul { list-style: none; padding: 0; margin: 24px 0 0; }
.service-detail li {
  padding: 14px 0; border-bottom: 1px solid var(--grey-300);
  display: flex; gap: 16px; font-weight: 500;
}
.service-detail li::before { content: "—"; color: var(--grey-500); }
@media (max-width: 860px) { .service-detail { grid-template-columns: 1fr; } }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { border-top: 2px solid var(--white); padding-top: 24px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-display); font-size: 3rem; line-height: 1; margin-bottom: 16px;
}
.step h3 { font-size: 1.4rem; }
.step p { color: var(--grey-500); margin: 0; font-size: .95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }


/* Quote */
.quote {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 4rem); line-height: 1.05; max-width: 22ch; margin: 0 0 32px;
}
.quote-cite { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--grey-500); font-style: normal; }

/* ---------- CTA ---------- */

.cta { text-align: center; }
.cta h2 { font-size: clamp(3rem, 9vw, 8rem); margin-bottom: .3em; }
.cta p { margin-inline: auto; max-width: 52ch; color: var(--grey-300); margin-bottom: 40px; }
.cta .btn-row { justify-content: center; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 96px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-block { padding-block: 24px; border-bottom: 1px solid var(--grey-300); }
.contact-block:first-child { border-top: 2px solid var(--black); }
.contact-block h3 { font-size: 1.1rem; letter-spacing: .1em; margin-bottom: 8px; }
.contact-block p { margin: 0; color: var(--grey-700); }

.form { display: grid; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 16px 0;
  border: 0; border-bottom: 2px solid var(--grey-300);
  background: transparent; border-radius: 0;
  font-size: 1rem;
  transition: border-color .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 32px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--black); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: #b00020; }
.field-error { font-size: .8rem; color: #b00020; min-height: 1em; }
.form-status {
  padding: 20px 24px; background: var(--black); color: var(--white);
  font-weight: 500;
}

/* ---------- Footer ---------- */

.site-footer { background: var(--black); color: var(--white); padding-block: 80px 32px; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-top h4 { font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .22em; margin-bottom: 20px; color: var(--grey-500); }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-top a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding-top: 28px; font-size: .8rem; color: var(--grey-500);
}
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ==========================================================
   Brand storytelling components (Home & About)
   ========================================================== */

/* Large editorial mission statement */
.statement {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2.1rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: .005em;
  margin: 0;
  max-width: 20ch;
}
.statement .dim { color: var(--grey-500); }
.section--dark .statement .dim { color: var(--grey-700); }
.statement-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px 48px; margin-top: clamp(40px, 6vw, 72px);
  padding-top: 28px; border-top: 1px solid var(--grey-300);
}
.section--dark .statement-foot { border-top-color: rgba(255,255,255,.15); }
.statement-foot p { margin: 0; max-width: 48ch; }

/* Three mission pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid currentColor; }
.pillar { padding: 40px 32px 8px 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--grey-300); }
.section--dark .pillar + .pillar { border-left-color: rgba(255,255,255,.15); }
.pillar-num {
  display: block; font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--black);
  margin-bottom: 24px;
}
.section--dark .pillar-num { -webkit-text-stroke-color: var(--white); }
.pillar h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.pillar p { color: var(--grey-500); margin: 0; }
.pillar .text-link { display: inline-block; margin-top: 20px; }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--grey-300); }
  .section--dark .pillar { border-bottom-color: rgba(255,255,255,.15); }
}

.text-link {
  font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  border-bottom: 2px solid currentColor; padding-bottom: 4px;
}

/* Career pathway: potential -> professional */
.pathway { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.pathway-step { position: relative; padding: 28px 28px 0 0; border-top: 2px solid var(--white); }
.pathway-step::after {
  content: "\2192"; position: absolute; top: -17px; right: 12px;
  background: var(--black); padding-inline: 8px; font-size: 1.3rem; line-height: 1;
}
.pathway-step:last-child::after { content: "\25CF"; font-size: .9rem; top: -10px; }
.pathway-label { font-size: .7rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--grey-500); }
.pathway-step h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 12px 0 12px; }
.pathway-step p { color: var(--grey-500); font-size: .95rem; margin: 0; }
@media (max-width: 860px) {
  .pathway { grid-template-columns: 1fr; gap: 0; }
  .pathway-step { padding: 28px 0 32px 0; }
  .pathway-step::after { right: 0; }
}


/* Steps on light sections */
.section:not(.section--dark) .step { border-top-color: var(--black); }

/* ==========================================================
   Homepage hero: athlete slideshow (right side)
   ========================================================== */

.hero--slideshow {
  align-items: center;
  padding-block: calc(var(--header-h) + 48px) 132px;
}
.hero--slideshow .container { position: static; }
.hero-copy { position: relative; z-index: 2; max-width: min(600px, 46vw); }
.hero-copy .lead { margin-bottom: 40px; }

/* Photo panel bleeds to the right edge of the screen */
.hero-slides {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(52vw, 880px);
  overflow: hidden;
  background: var(--grey-900);
  z-index: 0; isolation: isolate; /* keep slide layers below the headline and controls */
}
/* Fade: the incoming photo fades in ON TOP of the outgoing one, which stays fully
   visible underneath (.is-leaving) and is hidden instantly once the fade is done.
   This avoids a double-exposure look and guarantees one photo when settled. */
.hero-slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; visibility: hidden; z-index: 0;
}
.hero-slide.is-leaving { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; transition: opacity 1.4s ease-in-out; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--pos-d, 50% 25%);
  transform: scale(1);
  /* snap back to normal size only after the photo has faded out */
  transition: transform 0s linear 1.5s;
}
/* slow cinematic push-in on the visible photo */
.hero-slide.is-active img { transform: scale(1.06); transition: transform 6.5s linear; }

/* Dark gradients keep the headline, nav and controls readable */
.hero-shade {
  position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background:
    linear-gradient(90deg, #0a0a0a 0%, rgba(10,10,10,.8) 10%, rgba(10,10,10,.25) 40%, rgba(10,10,10,0) 65%),
    linear-gradient(180deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,.35) 10%, rgba(10,10,10,0) 24%, rgba(10,10,10,0) 60%, rgba(10,10,10,.9) 100%);
}

/* Counter, progress bars and pause button */
.slide-controls {
  position: absolute; z-index: 2;
  bottom: 40px;
  right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  display: flex; align-items: center; gap: 20px;
  color: var(--white);
}
.slide-controls[hidden] { display: none; }
.slide-count { font-family: var(--font-display); font-size: 1rem; letter-spacing: .12em; color: var(--grey-300); }
.slide-count [data-slide-current] { color: var(--white); }
.slide-dots { display: flex; gap: 5px; }
.slide-dot { background: none; border: 0; padding: 14px 0; cursor: pointer; width: 22px; }
.slide-dot span { position: relative; display: block; height: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.slide-dot span::after {
  content: ""; position: absolute; inset: 0; background: var(--white);
  transform: scaleX(0); transform-origin: left;
}
.slide-dot:hover span { background: rgba(255,255,255,.55); }
.slide-dot.is-active span::after { animation: slide-progress var(--slide-interval, 5000ms) linear forwards; }
.slide-controls.is-paused .slide-dot.is-active span::after { animation: none; transform: scaleX(1); }
@keyframes slide-progress { to { transform: scaleX(1); } }

.slide-toggle {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: transparent; border: 1px solid rgba(255,255,255,.4); cursor: pointer;
  transition: background .2s, border-color .2s;
}
.slide-toggle:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.slide-toggle svg { width: 12px; height: 12px; fill: currentColor; }
.slide-toggle .icon-play { display: none; }
.slide-controls.is-paused .icon-play { display: block; }
.slide-controls.is-paused .icon-pause { display: none; }

/* Phones & small tablets: photos fill the hero behind the text */
@media (max-width: 860px) {
  .hero--slideshow { align-items: flex-end; padding-bottom: 104px; }
  .hero-copy { max-width: none; }
  .hero-slides { width: 100%; }
  .hero-slide img { object-position: var(--pos-m, 50% 20%); }
  /* optional per-photo zoom on phones (--mz / --mo) to lift a face above the headline */
  .hero-slide { transform: scale(var(--mz, 1)); transform-origin: var(--mo, 50% 100%); }
  .hero-shade {
    background: linear-gradient(180deg,
      rgba(10,10,10,.7) 0%, rgba(10,10,10,.1) 14%, rgba(10,10,10,.42) 30%,
      rgba(10,10,10,.88) 46%, #0a0a0a 74%);
  }
  /* soft shadow keeps text crisp over bright jerseys */
  .hero--slideshow .hero-copy .eyebrow,
  .hero--slideshow .hero-copy h1,
  .hero--slideshow .hero-copy .lead { text-shadow: 0 2px 18px rgba(0,0,0,.55); }
  .slide-controls { left: var(--gutter); right: var(--gutter); bottom: 28px; gap: 14px; }
  .slide-dots { flex: 1; gap: 3px; }
  .slide-dot { flex: 1; width: auto; min-width: 0; }
}

/* Reduced motion: no auto-advance (handled in JS), no zoom, no fades */
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.is-active { transition: none; }
  .hero-slide img, .hero-slide.is-active img { transition: none; transform: none; }
  .slide-dot.is-active span::after { animation: none; transform: scaleX(1); }
}

/* ==========================================================
   Our Athletes page: hero, roster grid, filters, CTA
   ========================================================== */

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Hero: five photo panels behind the title ---------- */
.roster-hero {
  position: relative; overflow: hidden;
  min-height: min(88vh, 860px); min-height: min(88svh, 860px);
  display: flex; align-items: flex-end;
  background: var(--black); color: var(--white);
  padding-block: calc(var(--header-h) + 80px) clamp(48px, 7vw, 88px);
}
.roster-hero-media {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px;
  background: var(--black);
}
.roster-hero-slice { position: relative; overflow: hidden; }
.roster-hero-slice img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  animation: roster-drift 14s ease-in-out infinite alternate;
}
.roster-hero-slice:nth-child(2n) img { animation-delay: -7s; }
@keyframes roster-drift { to { transform: scale(1.1); } }

.roster-hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,.45) 22%, rgba(10,10,10,.6) 48%, rgba(10,10,10,.94) 78%, #0a0a0a 100%),
    linear-gradient(90deg, rgba(10,10,10,.8) 0%, rgba(10,10,10,.35) 55%, rgba(10,10,10,.55) 100%);
}
.roster-hero-inner { position: relative; z-index: 1; }
.roster-hero h1 { font-size: clamp(4rem, 13vw, 11.5rem); line-height: .86; margin-bottom: .28em; }
.roster-hero-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 20px 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.25);
}
.roster-tagline {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1; margin: 0;
}
.roster-hero .lead { color: var(--grey-300); margin: 0; max-width: 44ch; }
.roster-hero h1, .roster-hero .lead, .roster-hero .eyebrow { text-shadow: 0 2px 22px rgba(0,0,0,.45); }
.roster-hero .outline-text, .roster-cta .outline-text { -webkit-text-stroke-color: var(--white); }

@media (max-width: 700px) {
  .roster-hero-media { grid-template-columns: repeat(3, 1fr); }
  .roster-hero-slice:nth-child(n+4) { display: none; }
}

/* ---------- Athlete roster cards ---------- */
.roster-section { background: var(--white); padding-block: clamp(48px, 6vw, 88px) var(--section-y); }
.roster-grid {
  display: grid; gap: clamp(16px, 2vw, 28px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 820px)  { .roster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .roster-grid { grid-template-columns: 1fr; } }

.roster-card {
  position: relative; background: var(--black); color: var(--white);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.roster-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--grey-900); }
.roster-photo img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
/* cinematic fade from photo into the black info panel */
.roster-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,.35) 0%, rgba(10,10,10,0) 22%, rgba(10,10,10,0) 58%, rgba(10,10,10,.92) 100%);
  transition: opacity .45s var(--ease);
}

.roster-body { position: relative; padding: 6px 22px 24px; }
/* white rule grows across the card on hover */
.roster-body::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px;
  background: var(--white); transform: scaleX(.18); transform-origin: left;
  transition: transform .5s var(--ease);
}
.roster-name { font-size: clamp(1.6rem, 2.2vw, 2rem); margin: 18px 0 12px; }
.roster-pos {
  margin: 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--grey-300);
}

@media (hover: hover) {
  .roster-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(0,0,0,.5); }
  .roster-card:hover .roster-photo img { transform: scale(1.05); }
  .roster-card:hover .roster-photo::after { opacity: .8; }
  .roster-card:hover .roster-body::before { transform: scaleX(1); }
}

/* ---------- CTA ---------- */
.roster-cta {
  position: relative; overflow: hidden;
  background: var(--black); color: var(--white);
  padding-block: var(--section-y);
}
.roster-cta-media { position: absolute; inset: 0 0 0 auto; width: min(48%, 720px); }
.roster-cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.roster-cta-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #0a0a0a 0%, rgba(10,10,10,.82) 35%, rgba(10,10,10,.62) 100%),
    linear-gradient(180deg, rgba(10,10,10,.4) 0%, rgba(10,10,10,0) 40%, rgba(10,10,10,.6) 100%);
}
.roster-cta-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end;
}
.roster-cta h2 { font-size: clamp(3rem, 7.5vw, 6.5rem); margin: 0; }
.roster-cta .lead { color: var(--grey-300); margin-bottom: 32px; }
.roster-cta-alt { margin: 28px 0 0; font-size: .9rem; color: var(--grey-300); }
.roster-cta-alt a { color: var(--white); font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
@media (max-width: 860px) {
  .roster-cta-inner { grid-template-columns: 1fr; }
  .roster-cta-media { width: 100%; opacity: .45; }
}

@media (prefers-reduced-motion: reduce) {
  .roster-hero-slice img { animation: none; transform: none; }
  .roster-card, .roster-photo img, .roster-body::before { transition: none; }
  .roster-card:hover { transform: none; }
}

/* ---------- Contact details: email, Instagram, footer address ---------- */
.contact-block address { font-style: normal; color: var(--grey-700); }
.contact-block a:hover, .footer-top a[href^="mailto"]:hover { text-decoration: underline; text-underline-offset: 4px; }
.ig-icon { display: block; flex: none; }
.contact-social { display: inline-flex; align-items: center; gap: 10px; }
.footer-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin-left: -8px; opacity: .85;
  transition: opacity .2s var(--ease);
}
.footer-social:hover, .footer-social:focus-visible { opacity: 1; }
.footer-address { font-style: normal; line-height: 1.75; }

/* Homepage global section: company photo in natural color */
.media-frame--natural img { filter: none; object-fit: cover; object-position: 50% 48%; }
.media-frame--natural { border-radius: 10px; }  /* Home: group photo in "The Game Is Global" */

/* Homepage CTA directly after a dark section: one continuous dark block with a divider */
.cta--joined { padding-top: 0; }
.cta--joined > .container { position: relative; padding-top: clamp(64px, 8vw, 112px); }
.cta--joined > .container::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px; background: rgba(255,255,255,.14);
}

/* ---------- About page: editorial mission block ---------- */
.mission { padding-block: clamp(64px, 8vw, 112px); }
.mission-grid {
  display: grid; grid-template-columns: minmax(160px, 1fr) 3fr;
  gap: 24px clamp(32px, 5vw, 80px); align-items: start;
}
.mission-label { margin: 10px 0 0; }
.mission-body { border-top: 2px solid var(--black); padding-top: clamp(24px, 3vw, 36px); max-width: 860px; }
.mission-title { font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1; margin: 0 0 24px; max-width: 24ch; text-wrap: balance; }
.mission-text { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.65; color: var(--grey-700); margin: 0; max-width: 54ch; }
@media (max-width: 760px) {
  .mission-grid { grid-template-columns: 1fr; gap: 20px; }
  .mission-label { margin: 0; }
}

/* About page: dark section directly after another dark section, joined with a divider */
.section--joined { padding-top: 0; }
.section--joined > .container { position: relative; padding-top: clamp(64px, 8vw, 112px); }
.section--joined > .container::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px; background: rgba(255,255,255,.14);
}


/* ---------- About page: Global Basketball Network ---------- */
.network-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, 6vw, 96px);
  align-items: end; margin-bottom: clamp(40px, 5vw, 64px);
}
.network-head h2 { margin: 0; font-size: clamp(2.6rem, 6vw, 5rem); }
.network-sub {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.15; margin: 0 0 16px;
}
.network-intro .network-sub:last-child { margin-bottom: 0; }

.market-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 48px);
}
.market {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px 40px 30px 0;
  border-top: 1px solid rgba(255,255,255,.16);
}
/* white line draws across the top on hover */
.market::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--white); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.market-num {
  position: absolute; top: 26px; right: 0;
  font-size: .7rem; font-weight: 600; letter-spacing: .16em; color: var(--grey-700);
  transition: color .3s var(--ease);
}
.market-country {
  font-size: .72rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--grey-500); transition: color .3s var(--ease);
}
.market-league {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.05; letter-spacing: .01em;
  transition: transform .4s var(--ease);
}
.market-sep { color: var(--grey-700); padding-inline: .08em; }
@media (hover: hover) {
  .market:hover::before { transform: scaleX(1); }
  .market:hover .market-league { transform: translateX(6px); }
  .market:hover .market-country, .market:hover .market-num { color: var(--white); }
}
@media (max-width: 900px) {
  .network-head { grid-template-columns: 1fr; align-items: start; }
  .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .market-grid { grid-template-columns: 1fr; }
  .market { padding: 20px 36px 22px 0; }
  .market-num { top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .market::before, .market-league { transition: none; }
}

/* ---------- Contact page: court hero ---------- */
.contact-hero {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: min(54vh, 500px); min-height: min(54svh, 500px);
  background: var(--black); color: var(--white);
  padding-block: calc(var(--header-h) + 48px) clamp(44px, 5vw, 72px);
}
.contact-hero-media { position: absolute; inset: 0; }
.contact-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.contact-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.55) 55%, rgba(10,10,10,.25) 100%),
    linear-gradient(180deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,0) 30%, rgba(10,10,10,0) 70%, rgba(10,10,10,.7) 100%);
}
.contact-hero-inner { position: relative; z-index: 1; }
/* headline about 35% smaller than before, kept on one line */
.contact-hero h1 { font-size: clamp(2.25rem, 5.85vw, 4.875rem); letter-spacing: .01em; margin-bottom: clamp(24px, 2.6vw, 36px); white-space: nowrap; }
.contact-hero .outline-text { -webkit-text-stroke-color: var(--white); }
.contact-hero .eyebrow { margin-bottom: 20px; }

/* contact details + form: tighter top spacing, and the jump target clears the fixed header */
.contact-section { padding-block: clamp(56px, 6vw, 96px); }
#contact-info { scroll-margin-top: var(--header-h); }

/* ---------- Official logo (white, on dark header/footer) ---------- */
.logo-img { display: block; height: 32px; width: auto; max-width: none; }
.logo-img--footer { height: 38px; }
@media (max-width: 860px) { .logo-img { height: 28px; } .logo-img--footer { height: 34px; } }

/* ---------- Our Athletes: NIL athletes section ---------- */
.roster-section--nil { padding-top: 0; }
.roster-subhead {
  border-top: 1px solid var(--grey-300);
  padding-top: clamp(40px, 5vw, 64px); margin-bottom: clamp(24px, 3vw, 36px);
}
.roster-subhead .eyebrow { margin-bottom: 14px; }
.roster-subhead h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin: 0; }
/* name-only card: add the space the position line would take, so it matches the other cards' height */
.roster-card--name-only .roster-body { padding-bottom: calc(24px + 13px + 1.19rem); }

/* About: network section is a jump target from the homepage */
#network { scroll-margin-top: var(--header-h); }

/* ---------- About: Internal Team ---------- */
.team-grid {
  display: grid; gap: clamp(16px, 2vw, 28px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px)  { .team-grid { grid-template-columns: 1fr; } }

.team-member {
  display: flex; flex-direction: column;
  background: var(--black); color: var(--white); overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.team-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--grey-900); }
.team-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  transition: transform .8s var(--ease);
}
.team-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,0) 60%, rgba(10,10,10,.85) 100%);
}
.team-body { position: relative; flex: 1; padding: 8px 22px 28px; }
.team-body::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px;
  background: var(--white); transform: scaleX(.18); transform-origin: left;
  transition: transform .5s var(--ease);
}
.team-name { font-size: clamp(1.5rem, 2vw, 1.9rem); margin: 18px 0 6px; }
.team-role { margin: 0 0 4px; font-size: .95rem; font-weight: 600; line-height: 1.4; color: var(--white); }
.team-location {
  margin: 0; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--grey-500);
}
@media (hover: hover) {
  .team-member:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(0,0,0,.5); }
  .team-member:hover .team-photo img { transform: scale(1.04); }
  .team-member:hover .team-body::before { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .team-member, .team-photo img, .team-body::before { transition: none; }
  .team-member:hover { transform: none; }
}

/* ---------- Athletes: leagues line under the position ---------- */
.roster-leagues {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
  margin: 10px 0 0;
}
.roster-leagues-label {
  font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--grey-500);
}
.roster-leagues-value { font-size: .88rem; font-weight: 500; letter-spacing: .02em; color: var(--white); }

/* ---------- Placements page: subtitle, section notes, college fields ---------- */
.roster-hero-sub { color: var(--grey-300); margin: 18px 0 0; max-width: 52ch; }
.roster-leagues--tight { margin-top: 6px; }
/* first subhead sits right under the hero, so it needs no divider line */
.roster-section:not(.roster-section--nil) .roster-subhead { border-top: 0; padding-top: 0; }

/* ==========================================================
   Our Impact page (athletes.html)
   ========================================================== */
.impact-hero .outline-text, .impact-pro .outline-text { -webkit-text-stroke-color: var(--white); }

/* Shared photo frame. Optional --z zooms into wide shots; --o sets the zoom's focus point. */
.impact-photo { position: relative; overflow: hidden; background: var(--grey-900); }
.impact-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(var(--z, 1)); transform-origin: var(--o, 50% 30%);
  transition: transform 1.2s var(--ease);
}

/* ---------- 1. Hero ---------- */
.impact-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100vh, 980px); min-height: min(100svh, 980px);
  display: flex; align-items: flex-end;
  background: var(--black); color: var(--white);
  padding-block: calc(var(--header-h) + 96px) clamp(56px, 8vw, 112px);
}
.impact-hero-media {
  position: absolute; inset: 0 0 0 auto; z-index: -2;
  width: min(64%, 1000px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1vw, 14px);
  padding-right: var(--gutter);
}
.impact-hero-panel { margin: 0; overflow: hidden; height: 100%; }
.impact-hero-panel:nth-child(1) { transform: translateY(16%); }
.impact-hero-panel:nth-child(2) { transform: translateY(-6%); }
.impact-hero-panel:nth-child(3) { transform: translateY(26%); }
.impact-hero-panel img {
  width: 100%; height: 100%; object-fit: cover;
  animation: impact-in 1.6s var(--ease) both;
}
.impact-hero-panel:nth-child(2) img { animation-delay: .15s; }
.impact-hero-panel:nth-child(3) img { animation-delay: .3s; }
@keyframes impact-in { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
.impact-hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, #0a0a0a 0%, #0a0a0a 34%, rgba(10,10,10,.55) 60%, rgba(10,10,10,.2) 100%),
    linear-gradient(180deg, rgba(10,10,10,.7) 0%, rgba(10,10,10,0) 30%, rgba(10,10,10,0) 60%, #0a0a0a 100%);
}
.impact-hero h1 { font-size: clamp(4rem, 12vw, 11rem); line-height: .86; margin: 0 0 .3em; }
.impact-hero-sub { margin: 0; max-width: 34ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--grey-300); }
@media (max-width: 760px) {
  .impact-hero-media { width: 100%; padding-right: 0; opacity: .6; }
  .impact-hero-shade {
    background: linear-gradient(180deg, rgba(10,10,10,.75) 0%, rgba(10,10,10,.35) 35%, rgba(10,10,10,.85) 70%, #0a0a0a 100%);
  }
}

/* ---------- 3. Professional basketball: selected work ---------- */
.impact-pro { background: var(--black); color: var(--white); padding-block: clamp(64px, 8vw, 112px); }

.impact-work-item { margin: 0; }
.impact-work-item figcaption {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px;
  padding-top: 14px;
}
.impact-work-name { font-size: .92rem; font-weight: 600; letter-spacing: .01em; color: var(--white); }
.impact-work-league { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* asymmetric composition: 7/5 columns, right column starts lower */
.impact-work {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(16px, 2.4vw, 36px); align-items: start;
}
.impact-work-col { display: flex; flex-direction: column; gap: clamp(28px, 3.5vw, 48px); }
.impact-work-col--right { padding-top: clamp(48px, 8vw, 120px); }
.impact-work-pair { display: flex; align-items: flex-start; gap: clamp(16px, 2.4vw, 36px); }
.impact-work-item--bazley .impact-photo { aspect-ratio: 4 / 5; }
.impact-work-item--lofton { flex: 0 0 42%; margin-top: clamp(32px, 5vw, 72px); }
.impact-work-item--lofton .impact-photo { aspect-ratio: 4 / 5; }
.impact-work-item--wigginton { flex: 1 1 0; min-width: 0; }
.impact-work-item--wigginton .impact-photo { aspect-ratio: 4 / 5; }
.impact-work-item--akil .impact-photo { aspect-ratio: 4 / 5; }
.impact-work-item--weatherspoon { width: 82%; margin-left: auto; }
.impact-work-item--weatherspoon .impact-photo { aspect-ratio: 4 / 5; }
.impact-work-item--yuhan { width: 82%; }
.impact-work-item--yuhan .impact-photo { aspect-ratio: 4 / 5; }
.impact-work-item--zimmerman { flex: 1 1 0; min-width: 0; }
.impact-work-item--zimmerman .impact-photo { aspect-ratio: 4 / 5; }
.impact-work-item--woodard { flex: 0 0 42%; margin-top: clamp(32px, 5vw, 72px); }
.impact-work-item--woodard .impact-photo { aspect-ratio: 4 / 5; }

/* phones: one column in list order, with staggered widths */
@media (max-width: 600px) {
  .impact-work { display: flex; flex-direction: column; gap: 36px; }
  .impact-work-col, .impact-work-pair { display: contents; }
  .impact-work-item { flex: none; margin: 0; }
  .impact-work-item--bazley { order: 1; width: 100%; }
  .impact-work-item--akil { order: 2; width: 86%; align-self: flex-end; }
  .impact-work-item--weatherspoon { order: 3; width: 76%; align-self: flex-start; }
  .impact-work-item--lofton { order: 4; width: 64%; align-self: flex-end; }
  .impact-work-item--wigginton { order: 5; width: 84%; align-self: flex-start; }
  .impact-work-item--yuhan { order: 6; width: 70%; align-self: flex-end; }
  .impact-work-item--zimmerman { order: 7; width: 80%; align-self: flex-start; }
  .impact-work-item--woodard { order: 8; width: 66%; align-self: flex-end; }
}

/* ---------- 4 & 5. Split sections ---------- */
.impact-brand { background: var(--white); padding-block: clamp(64px, 8vw, 112px); }
.impact-college { background: var(--grey-100); padding-block: clamp(64px, 8vw, 112px); }
.impact-split {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center;
  gap: clamp(48px, 7vw, 120px);
}
.impact-split--reverse { grid-template-columns: 1fr 1.1fr; }
.impact-split h2 { margin: 0 0 28px; }
.impact-detail { margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid rgba(10,10,10,.18); max-width: 44ch; }
.impact-detail-label { display: block; margin-bottom: 12px; font-size: .7rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--grey-500); }
.impact-detail-title { margin: 0 0 10px; font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.05; }
.impact-detail-sub { margin: 4px 0 0; font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--grey-700); }

.impact-college-photo { aspect-ratio: 4 / 5; }

@media (max-width: 860px) {
  .impact-split, .impact-split--reverse { grid-template-columns: 1fr; }
  .impact-college-photo { order: -1; }
}

@media (hover: hover) {
  .impact-work-item:hover .impact-photo img,
  .impact-gallery .impact-photo:hover img,
  .impact-college-photo:hover img { transform: scale(calc(var(--z, 1) * 1.04)); }
}
@media (prefers-reduced-motion: reduce) {
  .impact-hero-panel img { animation: none; }
  .impact-photo img { transition: none; }
}

/* Our Impact hero: original collage layout with six panels */
.impact-hero-collage .roster-hero-media { grid-template-columns: repeat(6, 1fr); }
.impact-hero-collage { min-height: min(80vh, 780px); min-height: min(80svh, 780px); }
.impact-hero-collage h1 { font-size: clamp(3rem, 8vw, 7rem); line-height: .9; margin: 0 0 .32em; }
.impact-hero-collage .impact-hero-sub { text-shadow: 0 2px 22px rgba(0,0,0,.45); }
@media (max-width: 700px) {
  /* phones: show Wigginton, Akil Mitchell and Bazley */
  .impact-hero-collage .roster-hero-media { grid-template-columns: repeat(3, 1fr); }
  .impact-hero-collage .roster-hero-slice:nth-child(n) { display: block; }
  .impact-hero-collage .roster-hero-slice:nth-child(1),
  .impact-hero-collage .roster-hero-slice:nth-child(3),
  .impact-hero-collage .roster-hero-slice:nth-child(6) { display: none; }
}

/* ---------- Our Impact: brand section heading + Li-Ning gallery ---------- */
.impact-gallery {
  display: grid; grid-template-columns: minmax(0, 87fr) minmax(0, 50fr) minmax(0, 50fr);
  gap: clamp(10px, 1.4vw, 20px);
}
.impact-gallery figure { margin: 0; }
.impact-gallery-a { grid-column: 1; grid-row: 1 / 3; }   /* tall portrait fills both rows */
.impact-gallery-b { grid-column: 2 / 4; aspect-ratio: 3 / 2; }
.impact-gallery-c { grid-column: 2; aspect-ratio: 4 / 5; }
.impact-gallery-d { grid-column: 3; aspect-ratio: 4 / 5; }
@media (max-width: 760px) {
  .impact-gallery { grid-template-columns: 1fr 1fr; }
  .impact-gallery-b { grid-column: 1 / -1; grid-row: 1; }
  .impact-gallery-c { grid-column: 1; grid-row: 2; }
  .impact-gallery-d { grid-column: 2; grid-row: 2; }
  .impact-gallery-a { grid-column: 1 / -1; grid-row: 3; aspect-ratio: 4 / 5; }
}
.impact-detail-title span { white-space: nowrap; }  /* keep each name on one line */

/* ---------- Our Impact: shared section headings ---------- */
.impact-section-head {
  display: grid; grid-template-columns: 1fr 1fr; align-items: start;
  gap: 20px clamp(40px, 7vw, 120px); margin-bottom: clamp(40px, 5vw, 64px);
}
.impact-h2 { margin: 0; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1; }
.impact-split .impact-h2 { margin-bottom: 20px; }
.impact-section-text { margin: 0; max-width: 44ch; font-size: 1.05rem; line-height: 1.65; color: var(--grey-700); }
@media (max-width: 760px) { .impact-section-head { grid-template-columns: 1fr; } }

/* ---------- Our Impact: compact track record + client retention ---------- */
.impact-stats { background: var(--white); padding-block: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--grey-100); }
.impact-stats-inner { display: grid; grid-template-columns: 1fr 1fr; }
.impact-stats-col { padding-right: clamp(24px, 5vw, 72px); }
.impact-stats-col + .impact-stats-col { padding: 0 0 0 clamp(24px, 5vw, 72px); border-left: 1px solid var(--grey-300); }
.impact-small-heading {
  margin: 0 0 16px; font-family: var(--font-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase; line-height: 1.4; color: var(--grey-500);
}
.impact-stat-value { margin: 0; font-family: var(--font-display); font-size: clamp(2.6rem, 4.6vw, 3.8rem); line-height: 1; }
.impact-stat-label { margin: 10px 0 0; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.impact-stats-text { margin: 0; max-width: 40ch; font-size: 1.05rem; line-height: 1.65; color: var(--grey-700); }
@media (max-width: 640px) {
  .impact-stats-inner { grid-template-columns: 1fr; row-gap: 32px; }
  .impact-stats-col { padding-right: 0; }
  .impact-stats-col + .impact-stats-col { padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--grey-300); }
}

/* ---------- Our Impact: contact section sized to match the page ---------- */
.impact-cta { padding-block: clamp(64px, 8vw, 112px); }
.impact-cta h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }

/* ---------- Contact form: Netlify spam trap, error and success messages ---------- */
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status--error { background: transparent; color: #b00020; border: 1px solid #b00020; padding: 16px 20px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.form-success { padding: clamp(28px, 4vw, 40px); background: var(--black); color: var(--white); }
.form-success:focus { outline: none; }
.form-success h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 12px; }
.form-success p { margin: 0; max-width: 46ch; color: var(--grey-300); }

/* ---------- Services hero: branded backdrop as a subtle background ---------- */
.page-hero--bg .container { position: relative; z-index: 1; }
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-repeat: no-repeat; background-size: cover;
}
.page-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.84) 45%, rgba(10,10,10,.74) 100%),
    linear-gradient(180deg, rgba(10,10,10,.5) 0%, rgba(10,10,10,0) 35%, rgba(10,10,10,0) 65%, rgba(10,10,10,.85) 100%);
}
.page-hero-bg--services { background-image: url("../img/photos/IMG_6704.jpg"); background-position: 70% 40%; }

/* ---------- Contact hero: jersey photo blended in on the right ---------- */
.contact-hero-photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(52%, 820px);
  background: url("../img/photos/IMG_6703.jpg") no-repeat 40% 45% / cover;
  /* fade the left edge to transparent so there is no visible seam */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}
.contact-hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,.7) 0%, rgba(10,10,10,.45) 60%, rgba(10,10,10,.35) 100%),
    linear-gradient(180deg, rgba(10,10,10,.65) 0%, rgba(10,10,10,0) 30%, rgba(10,10,10,.1) 60%, #0a0a0a 100%);
}
@media (max-width: 860px) {
  .contact-hero-photo { width: 100%; background-position: 60% 40%; -webkit-mask-image: none; mask-image: none; }
  .contact-hero-photo::after {
    background: linear-gradient(180deg, rgba(10,10,10,.7) 0%, rgba(10,10,10,.6) 40%, rgba(10,10,10,.9) 75%, #0a0a0a 100%);
  }
}

/* ---------- About hero: group training photo as a subtle background, players toward the right ---------- */
.page-hero-bg--about { background-image: url("../img/photos/IMG_6705.jpg"); background-position: 30% 42%; }
.page-hero-bg--about::after {
  background:
    linear-gradient(90deg, rgba(10,10,10,.95) 0%, rgba(10,10,10,.88) 40%, rgba(10,10,10,.68) 100%),
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,0) 35%, rgba(10,10,10,0) 60%, rgba(10,10,10,.9) 100%);
}
@media (max-width: 760px) {
  .page-hero-bg--about { background-position: 45% 40%; }
  .page-hero-bg--about::after { background: linear-gradient(180deg, rgba(10,10,10,.75) 0%, rgba(10,10,10,.8) 60%, rgba(10,10,10,.95) 100%); }
}

/* Brand Partnerships: no gap above the details when they come first */
.impact-section-head .impact-detail:first-child { margin-top: 0; }

/* NIL Deals: details sit closer to the heading now that there is no intro paragraph */
.impact-college .impact-h2 + .impact-detail { margin-top: clamp(20px, 2.4vw, 32px); }

/* ==========================================================
   Services: "What We Do" as a minimal full-width list (number + title)
   ========================================================== */
.services-compact { padding-block: clamp(40px, 4.6vw, 64px) clamp(64px, 8vw, 112px); }
.services-compact .service-rows { border-top: 1px solid var(--grey-300); }
.services-compact .service-row {
  display: block; padding-block: clamp(22px, 2.6vw, 34px);
  border-bottom: 1px solid var(--grey-300);
  scroll-margin-top: var(--header-h);
}
.services-compact .service-row:hover { padding-inline: 0; }
.service-row-head { display: flex; gap: clamp(20px, 4vw, 56px); align-items: baseline; }
.service-row-head .service-num { flex: 0 0 2.4em; font-size: .85rem; font-variant-numeric: tabular-nums; }
.service-row-head h3 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.05; letter-spacing: .01em; }
/* small solid dot in place of the number, centred on the title */
.service-row-head:has(.service-dot) { align-items: center; gap: clamp(16px, 2vw, 28px); }
.service-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--black); }

/* Services: Our Process shows only the four step titles */
.process-compact { padding-block: clamp(56px, 7vw, 96px) clamp(24px, 3vw, 40px); }  /* the closing band follows on the same black */
.process-compact .step h3 { margin: 0; }
.process-compact .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(24px, 4vw, 56px); }
@media (max-width: 600px) { .process-compact .steps { grid-template-columns: 1fr; } }

/* Services: "Our Services" heading with a thin line running to the right */
.services-title {
  display: flex; align-items: center; gap: clamp(16px, 2vw, 28px);
  margin: 0 0 clamp(24px, 3vw, 40px); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1;
}
.services-title::after { content: ""; flex: 1; height: 1px; background: var(--grey-300); }

/* Services: closing "Work With Us" band with headline left and button right */
.impact-cta.cta-compact { padding-block: clamp(32px, 4vw, 56px) clamp(48px, 5vw, 72px); }
.cta-compact .roster-cta-inner { align-items: end; }
.cta-compact .roster-cta-copy { justify-self: end; }
.cta-compact .btn-row { margin: 0; }
@media (max-width: 860px) { .cta-compact .roster-cta-copy { justify-self: start; } }

/* Services gallery: editorial masonry. Three columns of varied sizes on tablet/desktop;
   phones use the staggered single column above. Frames get small chamfered corners. */
.impact-work--masonry .impact-photo {
  --cut: clamp(10px, 1.2vw, 16px);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
@media (min-width: 601px) {
  .impact-work.impact-work--masonry {
    display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.15fr);
    column-gap: clamp(16px, 2.4vw, 36px); align-items: start;
  }
  .impact-work--masonry .impact-work-col { display: flex; flex-direction: column; gap: clamp(28px, 3.5vw, 48px); padding-top: 0; }
  .impact-work--masonry .impact-work-col--m2 { padding-top: clamp(48px, 7vw, 104px); }
  .impact-work--masonry .impact-work-col--m3 { padding-top: clamp(20px, 3vw, 40px); }
  .impact-work--masonry .impact-work-item { width: 100%; margin: 0; flex: none; }
  .impact-work--masonry .impact-work-item--bazley .impact-photo { aspect-ratio: 4 / 5; }
  .impact-work--masonry .impact-work-item--lofton .impact-photo { aspect-ratio: 2 / 3; }
  .impact-work--masonry .impact-work-item--akil .impact-photo { aspect-ratio: 1 / 1; }
  .impact-work--masonry .impact-work-item--wigginton { width: 86%; margin-left: auto; }
  .impact-work--masonry .impact-work-item--wigginton .impact-photo { aspect-ratio: 4 / 5; }
  .impact-work--masonry .impact-work-item--zimmerman .impact-photo { aspect-ratio: 3 / 5; }
  .impact-work--masonry .impact-work-item--yuhan .impact-photo { aspect-ratio: 4 / 5; }
  .impact-work--masonry .impact-work-item--woodard .impact-photo { aspect-ratio: 3 / 4; }
}
/* phones: keep photos alternating left and right after Weatherspoon's removal */
@media (max-width: 600px) {
  .impact-work--masonry .impact-work-item--lofton { align-self: flex-start; }
  .impact-work--masonry .impact-work-item--wigginton { align-self: flex-end; }
  .impact-work--masonry .impact-work-item--zimmerman { order: 6; width: 70%; align-self: flex-start; }
  .impact-work--masonry .impact-work-item--yuhan { order: 7; width: 80%; align-self: flex-end; }
  .impact-work--masonry .impact-work-item--woodard { align-self: flex-start; }
}

/* Our Impact hero: one panel shown slightly zoomed out. The photo is a little shorter than the panel
   and sits at the bottom, so it still fills the width; the dark top of the hero blends above it. */
.roster-hero-slice--zoomout img { position: absolute; left: 0; bottom: 0; height: 88%; transform-origin: 50% 100%; }

/* Services stats: two matching headline + caption pairs, aligned across the divider */
.impact-stats--pair .impact-stats-inner { align-items: start; }
.impact-stats--pair .impact-stat-value { text-transform: uppercase; letter-spacing: .01em; }
.impact-stats--pair .impact-stat-label { margin-top: 12px; }

/* Services: compact Brand Partnerships (text left, two photos right) */
.impact-brand--compact { padding-block: clamp(56px, 6vw, 88px) clamp(56px, 7vw, 100px); }
.brand-compact {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.brand-compact-copy .impact-h2 { margin: 0 0 24px; }
.brand-compact-copy .impact-detail-title { padding-top: 20px; border-top: 1px solid rgba(10,10,10,.18); margin-bottom: 0; }
.brand-compact-photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); }
.brand-compact-photos .impact-photo { margin: 0; aspect-ratio: 4 / 5; }
@media (hover: hover) { .brand-compact-photos .impact-photo:hover img { transform: scale(calc(var(--z, 1) * 1.04)); } }
@media (max-width: 760px) { .brand-compact { grid-template-columns: 1fr; } }

/* Brand Partnerships: two larger photos, softly rounded, second one set lower */
.brand-compact { grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); }
.brand-compact-photos { gap: clamp(14px, 2vw, 28px); align-items: start; }
.brand-photo { border-radius: 12px; }
/* show each photo at its natural proportions (no cropping) */
.brand-compact-photos .brand-photo { aspect-ratio: auto; }
.brand-compact-photos .brand-photo img { display: block; height: auto; }
.brand-compact-photos .brand-photo--brown { margin-top: clamp(24px, 4vw, 56px); }
@media (max-width: 760px) {
  .brand-compact { grid-template-columns: 1fr; }
  .brand-photo { border-radius: 10px; }
}

/* menu link "Services" jumps to the services list; keep it clear of the fixed header */
#our-services { scroll-margin-top: var(--header-h); }

/* Contact: details only (no form), laid out across the full width */
.contact-grid--details { grid-template-columns: 1fr; }
.contact-details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); }
.contact-details .contact-block { border-top: 2px solid var(--black); border-bottom: 0; }
@media (max-width: 900px) { .contact-details { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .contact-details { grid-template-columns: 1fr; } }

/* Home: event caption on the group photo (bottom-left, over a soft dark fade) */
.media-frame--natural::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 32%;
  background: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,.55) 100%);
  pointer-events: none;
}
.media-caption {
  position: absolute; left: clamp(16px, 2.4vw, 28px); bottom: clamp(14px, 2.2vw, 26px); z-index: 1;
  margin: 0; display: flex; flex-direction: column; gap: 4px; color: var(--white);
}
.media-caption-title { font-size: clamp(.68rem, .9vw, .78rem); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.media-caption-sub { font-size: clamp(.72rem, .95vw, .85rem); color: rgba(255,255,255,.8); }

/* About: team of three in one even row (stacks on phones) */
.team-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
@media (max-width: 540px) { .team-grid--three { grid-template-columns: 1fr; max-width: 360px; } }
/* compact section: less padding, shorter photos, heading closer to the cards */
.team { padding-block: clamp(56px, 7vw, 96px); }
.team .section-head { margin-bottom: clamp(24px, 3vw, 40px); }
/* whole card about 3:4: photo fills the space above the name block */
.team-grid--three .team-member { aspect-ratio: 3 / 4; border-radius: 10px; }
.team-grid--three .team-photo { aspect-ratio: auto; flex: 1 1 auto; min-height: 0; }
.team-grid--three .team-photo img { object-position: 50% 12%; }
.team-grid--three .team-body { flex: 0 0 auto; padding: 6px 20px 22px; }
.team-grid--three .team-name { margin-top: 16px; }

/* Services: services list (left) + compact black process panel (right) */
.services-merge {
  display: grid; grid-template-columns: minmax(0, 65fr) minmax(0, 35fr);
  gap: clamp(24px, 4vw, 64px); align-items: stretch;
}
.process-panel {
  background: var(--black); color: var(--white); border-radius: 10px;
  padding: clamp(24px, 3vw, 40px); display: flex; align-items: center;
}
.process-list { list-style: none; margin: 0; padding: 0; width: 100%; }
.process-list li {
  display: flex; align-items: baseline; gap: 16px;
  padding-block: clamp(16px, 2vw, 24px); border-top: 1px solid rgba(255,255,255,.18);
}
.process-list li:first-child { border-top: 0; padding-top: 0; }
.process-list li:last-child { padding-bottom: 0; }
.process-num { flex: 0 0 1.25em; font-family: var(--font-display); font-size: clamp(1.3rem, 1.85vw, 1.65rem); line-height: 1; }
.process-name { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .02em; font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1; }
@media (max-width: 860px) { .services-merge { grid-template-columns: 1fr; } }

/* Services: Our Services on black, process card in lighter charcoal */
.services-compact { background: var(--black); color: var(--white); }
.services-compact .services-title::after { background: rgba(255,255,255,.16); }
.services-compact .service-rows { border-top-color: rgba(255,255,255,.16); }
.services-compact .service-row { border-bottom-color: rgba(255,255,255,.16); }
.services-compact .service-dot { background: var(--white); }
.services-compact .process-panel { background: none; border-radius: 0; padding: 0; }  /* steps sit straight on the black */

/* Contact hero: one large linked heading */
.contact-hero .contact-hero-title { font-size: clamp(2.8rem, 8vw, 6.8rem); line-height: .9; margin: 0; }
.contact-hero-title a { color: var(--white); text-decoration: none; transition: opacity .3s var(--ease); }
.contact-hero-title a:hover { opacity: .8; }
.contact-hero-title a:focus-visible { outline: 2px solid var(--white); outline-offset: 6px; }

/* Services: RJ Hampton faintly behind the process steps, faded into the black */
.services-compact { position: relative; overflow: hidden; isolation: isolate; }
.services-compact::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: min(46%, 640px); z-index: -1;
  background: url("../img/Atlanture%20Athletes/RJ%20hampton.jpg") no-repeat 50% 30% / cover;
  opacity: .22; filter: grayscale(.35);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%), linear-gradient(180deg, transparent 0%, #000 22%, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, #000 55%), linear-gradient(180deg, transparent 0%, #000 22%, #000 72%, transparent 100%);
          mask-composite: intersect;
}
@media (max-width: 860px) {
  /* phones: photo sits behind the steps at the bottom of the section */
  .services-compact::before { top: auto; height: 60%; width: 100%; background-position: 50% 25%; opacity: .17; }
}

/* Contact: email + Instagram side by side */
.contact-details--two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); }
@media (max-width: 520px) { .contact-details--two { grid-template-columns: 1fr; } }

/* About network: one left-aligned heading above the markets */
.network-head--single { grid-template-columns: 1fr; }

/* Brand Partnerships: small grey subtitle under the names */
.brand-compact-sub { margin: 12px 0 0; font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--grey-500); }
