/* Compact homepage review. Loaded only by index.html; other pages keep their layout. */
.page-index .hero { min-height: 0; border-bottom: 1px solid #ffffff30; }
.page-index .hero > .container {
  min-height: 570px;
  padding-top: 96px;
  padding-bottom: 34px;
}
.page-index .hero .hero-copy { padding-block: 18px; }
.page-index .hero h1 { font-size: clamp(40px, 4vw, 56px); margin-block: 18px; line-height: 1.12; }
.page-index .hero-buttons { margin-top: 22px; }
.page-index .hero-meta { margin-top: 20px; }
.page-index .hero-image { object-position: center top; }
.page-index .hero-values {
  position: absolute;
  inset-inline-end: clamp(24px, 5.5vw, 84px);
  bottom: 18px;
}
.page-index .section { padding-block: 38px; }
.page-index .section-heading { margin-bottom: 24px; }
.page-index .section-heading .eyebrow { margin-bottom: 10px; }
.page-index .section-heading h2 { font-size: clamp(30px, 3vw, 40px); }
.page-index .services-section { padding-bottom: 24px; }
.page-index .services-section .cards { gap: 24px; }
.page-index .service-image { aspect-ratio: 2.1; max-height: 265px; }
.page-index .services-section .card h3 { font-size: 23px; margin-block: 14px 8px; }
.page-index .services-section .card p { margin-bottom: 12px; line-height: 1.7; }
.page-index .services-section .card:nth-child(3):last-child { padding-top: 18px; }
.page-index .coach-section {
  grid-template-columns: minmax(0, 712px) minmax(0, 540px);
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 4.5vw, 64px);
  padding: clamp(28px, 3vw, 44px) clamp(24px, 5.5vw, 84px);
}
.page-index .coach-portrait { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 0; height: auto; }
.page-index .coach-portrait img { display: block; object-position: center; touch-action: pan-y pinch-zoom; }
.coach-slide { position: absolute; inset: 0; transition: opacity 180ms ease-out; }
.coach-slide[aria-hidden="true"] { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .coach-slide { transition: none; }
}
.coach-step, .coach-dot {
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  color: white;
  background: transparent;
  cursor: pointer;
}
.coach-step {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
}
.coach-prev { inset-inline-start: 6px; }
.coach-next { inset-inline-end: 6px; }
.coach-step::before, .coach-step::after { content: ""; grid-area: 1 / 1; }
.coach-step::before {
  width: 32px;
  height: 32px;
  background: rgb(10 14 15 / 72%);
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 50%;
}
.coach-step::after {
  width: 9px;
  height: 9px;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}
.coach-prev::after, [dir="rtl"] .coach-next::after { transform: rotate(-135deg); }
[dir="rtl"] .coach-prev::after { transform: rotate(45deg); }
.coach-dots {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}
.coach-dots::before {
  content: "";
  position: absolute;
  inset: 9px 0;
  border-radius: 16px;
  background: rgb(10 14 15 / 76%);
  pointer-events: none;
}
.coach-dot { position: relative; width: 32px; height: 44px; }
.coach-dot::after { content: ""; width: 7px; height: 7px; border-radius: 8px; background: #fff; }
.coach-dot[aria-current="true"]::after { width: 15px; background: var(--accent); }
.coach-step:hover::before { background: #161d1d; }
.coach-dot:focus-visible { outline: 2px solid #fff; outline-offset: -3px; border-radius: 8px; }
.coach-step { -webkit-tap-highlight-color: transparent; }
.coach-step:focus-visible { outline: none; color: #101617; }
.coach-step:focus-visible::before { background: #fff; }
@media (forced-colors: active) {
  .coach-step:focus-visible::before { outline: 2px dashed Highlight; }
}
.coach-photo-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.page-index .coach-copy { padding: 0; }
.page-index .coach-copy .eyebrow { margin-bottom: 14px; }
.page-index .coach-copy h2 { font-size: clamp(28px, 2.8vw, 38px); margin-bottom: 16px; }
.page-index .coach-copy > p:not(.eyebrow) { margin-bottom: 20px; }
.page-index .stats-card { padding-block: 15px; }
.page-index .stat { gap: 3px; }
.page-index .stat-number { font-size: 22px; }
.page-index .stat-label { font-size: 10px; margin-inline: auto; }
.page-index .featured-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1170px;
  margin-inline: auto;
  gap: 30px;
}
.page-index .featured-grid .program-thumb { width: 100%; aspect-ratio: 3 / 4; }
/* Keep both grips in the portrait card. Continue the chalk and forearms
   into the spare space above and below the undistorted center of the photo. */
.page-index .featured-grid .program-thumb:has(> img[src$="/grip-cinematic-test2.png"]) {
  display: grid;
  place-items: center;
  background: #151918 url("../images/grip-cinematic-test2.png") center / 122% 100% no-repeat;
}
.page-index .featured-grid .program-thumb > img[src$="/grip-cinematic-test2.png"] {
  height: auto;
  aspect-ratio: 1.23;
  mask-image: linear-gradient(transparent, black 15%, black 78%, transparent);
}
.page-index .program-body { padding-top: 16px; }
.page-index .program-body h3 { font-size: 22px; margin-bottom: 8px; }
.page-index .program-body p { margin-bottom: 14px; line-height: 1.7; }
.page-index .panel { gap: 45px; }
.page-index .panel h2 { font-size: clamp(30px, 3vw, 40px); margin-bottom: 16px; }
.page-index .panel p { line-height: 1.8; }
.page-index .panel .btn { margin-top: 16px; }
.page-index .ba-grid .photo-tall { aspect-ratio: 4/5; max-height: 290px; }
.page-index .story-photos { width: 100%; max-width: 430px; justify-self: center; gap: 12px; }
.page-index .cta-banner { padding-block: 44px; gap: 28px; }
.page-index .cta-text h2 { font-size: clamp(28px, 3vw, 38px); }
.page-index .cta-text h2 .heading-accent { color: var(--accent); }
.training-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  max-width: 1100px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: start;
}
.training-choice {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-top: 1px solid #c6c9c5;
  padding-block: 18px 6px;
  text-decoration: none;
}
.training-choice h3 { font-size: clamp(21px, 2vw, 26px); color: #1c2220; }
.training-choice p { margin: 8px 0 18px; font-size: 15px; color: #525956; }
.training-choice .card-link { margin-top: auto; }
.training-choice:hover .card-link, .training-choice:focus-visible .card-link { text-decoration: underline; }
.training-choice:focus-visible { outline: 2px solid #ad440a; outline-offset: 4px; }
@media (max-width: 700px) {
  .training-choices { grid-template-columns: 1fr; gap: 12px; }
  .training-choice { padding-block: 16px 8px; }
  .training-choice p { margin-bottom: 10px; }
}
.page-index .site-footer { padding-top: 30px; }
.page-index .footer-grid { padding-bottom: 24px; }
.page-index .footer-col h4 { margin-bottom: 14px; }
.page-index .footer-bottom { padding-block: 12px; }
html[lang='ar'] .page-index .hero h1 { font-size: clamp(36px, 3.8vw, 50px); line-height: 1.4; }
html[lang='ar'] .page-index .hero-image { object-position: center top; }
html[lang='ar'] .page-index .section-heading h2,
html[lang='ar'] .page-index .panel h2 { font-size: 32px; }
@media(max-width:1024px) {
  .page-index .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 570px; }
}
@media(max-width:900px) {
  .page-index .hero-values { font-size: 9px; gap: 15px; }
}
@media(max-width:768px) {
  .page-index .section { padding-block: 30px; }
  .page-index .section-heading { margin-bottom: 20px; }
  .page-index .panel { gap: 26px; }
  .page-index .ba-grid { max-width: 540px; width: 100%; justify-self: center; }
  .page-index .story-photos { max-width: 390px; }
  .page-index .coach-section { grid-template-columns: minmax(0, 560px); gap: 24px; padding: 28px 24px; }
  .page-index .coach-copy h2 { font-size: 28px; }
  .page-index .coach-copy > p:not(.eyebrow) { margin-bottom: 16px; }
}
@media(max-width:600px) {
  .page-index .hero > .container { min-height: 0; padding-top: 245px; padding-bottom: 46px; }
  .page-index .hero .hero-copy { padding-block: 12px 0; }
  .page-index .hero-image { height: 345px; object-position: 77% top; }
  .page-index .hero h1 { font-size: 35px; margin-block: 14px; }
  .page-index .hero-buttons { margin-top: 18px; }
  .page-index .hero-meta { margin-top: 16px; }
  .page-index .hero-values { inset-inline: 24px; bottom: 15px; justify-content: flex-end; gap: 16px; }
  .page-index .section-heading { gap: 16px; }
  .page-index .section-heading h2 { font-size: 30px; }
  .page-index .services-section { padding-bottom: 20px; }
  .page-index .services-section .cards { gap: 24px; }
  .page-index .service-image { aspect-ratio: 1.9; max-height: 210px; }
  .page-index .services-section .card h3 { font-size: 22px; }
  .page-index .coach-copy h2 { font-size: 29px; }
  .page-index .stats-card { padding-block: 16px; row-gap: 16px; }
  .page-index .stat-number { font-size: 21px; }
  .page-index .featured-grid { grid-template-columns: 1fr; max-width: 270px; gap: 28px; }
  .page-index .panel h2 { font-size: 30px; }
  .page-index .ba-grid .photo-tall { aspect-ratio: 3/4; max-height: 240px; }
  .page-index .story-photos { max-width: 340px; }
  .page-index .cta-banner { padding-block: 28px; gap: 18px; }
  .page-index .cta-text h2 { font-size: 28px; }
  .page-index .footer-grid { gap: 24px; }
  html[lang='ar'] .page-index .hero > .container { padding-top: 245px; }
  html[lang='ar'] .page-index .hero .hero-copy { padding-block: 12px 0; }
  html[lang='ar'] .page-index .hero h1 { font-size: 31px; line-height: 1.5; }
  html[lang='ar'] .page-index .hero-image { object-position: 77% top; }
  html[lang='ar'] .page-index .section-heading h2,
  html[lang='ar'] .page-index .panel h2 { font-size: 28px; }
}

.gallery-photo {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  background:transparent;
  cursor:zoom-in;
}
.photo-frame:has(.gallery-photo:focus-visible) {
  outline:3px solid #ad4100;
  outline-offset:3px;
}
.ba-grid .gallery-photo img { object-position:top; }
