@font-face {
  font-family: "Bebas Neue";
  src: url("./assets/fonts/BebasNeue-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Blauer Nue";
  src: url("./assets/fonts/BlauerNue-Medium.otf") format("opentype");
  font-display: swap;
}

:root {
  --ink: #f7f7f7;
  --muted: #a7a7aa;
  --dim: #737377;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.24);
  --paper: #050505;
  --soft: #0b0b0c;
  --soft-strong: #111113;
  --orange: #f05a28;
  --orange-light: #ff8a5c;
  --blue: #1aa4ff;
  --magenta: #c22b5e;
  --purple: #8b5cf6;
  --gold: #e3b64f;
  --green: #20d06b;
  --heading-font: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --body-font: "Blauer Nue", "Helvetica Neue", Arial, sans-serif;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.52);
  --hero-tile-height: 475px;
  --hero-tile-height-tablet: 570px;
  --hero-tile-height-mobile: 594px;
  --program-hero-height-tablet: 570px;
  --program-hero-height-mobile: 594px;
  color-scheme: dark;
  font-family: var(--body-font);
}

* {
  box-sizing: border-box;
}

html {
  background: #030303;
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, rgba(240, 90, 40, 0.08) 0, transparent 290px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 100px),
    #030303;
  color: var(--ink);
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 14rem),
    linear-gradient(90deg, rgba(240, 90, 40, 0.13), transparent 46%);
  content: "";
  height: 1px;
  left: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
strong,
b {
  font-family: var(--heading-font);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(4.5rem, 10vw, 8.9rem);
  line-height: 0.82;
  margin-bottom: 19.8px;
  max-width: 890px;
}

h2 {
  font-size: clamp(2.85rem, 6.4vw, 5.8rem);
  line-height: 0.86;
  margin-bottom: 12.6px;
}

h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 0.92;
  margin-bottom: 9px;
}

p {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.58;
}

.eyebrow {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  margin: 0 0 11px;
  text-transform: uppercase;
}

.site-header {
  align-items: center;
  background: rgba(5, 5, 5, 0.76);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  left: 0;
  margin: 16px auto 0;
  max-width: 1180px;
  padding: 10px 10px 10px 18px;
  position: sticky;
  right: 0;
  top: 12px;
  width: calc(100% - 32px);
  z-index: 40;
  backdrop-filter: blur(22px);
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
}

.brand img {
  height: 54px;
  object-fit: contain;
  width: 164px;
}

nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  justify-content: flex-end;
  padding: 4px;
}

nav a,
.nav-dropdown-trigger {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: rgba(247, 247, 247, 0.72);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 950;
  gap: 6px;
  letter-spacing: 0.08em;
  min-height: 39px;
  padding: 10px 13px;
  position: relative;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

nav a:hover,
nav a[aria-current="page"],
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger,
.nav-dropdown:has(a[aria-current="page"]) .nav-dropdown-trigger {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

nav a:hover,
.nav-dropdown-trigger:hover {
  transform: translateY(-1px);
}

.login-link,
.login-link[aria-current="page"] {
  background: linear-gradient(135deg, var(--orange), #ff7342);
  box-shadow: 0 10px 26px rgba(240, 90, 40, 0.23);
  color: #ffffff;
}

.login-link:hover {
  background: #ffffff;
  color: #030303;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger::before {
  background:
    linear-gradient(currentColor, currentColor) center / 10px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 10px no-repeat;
  content: "";
  flex: 0 0 auto;
  height: 10px;
  order: 2;
  transition: transform 160ms ease;
  width: 10px;
}

.nav-dropdown:hover .nav-dropdown-trigger::before,
.nav-dropdown:focus-within .nav-dropdown-trigger::before,
.nav-dropdown.is-open .nav-dropdown-trigger::before {
  transform: rotate(45deg);
}

.nav-menu {
  background: rgba(5, 5, 5, 0.94);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 4px;
  min-width: 242px;
  opacity: 0;
  padding: 6px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 60;
  backdrop-filter: blur(22px);
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu,
.nav-dropdown.is-open .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-menu a {
  border-radius: 12px;
  justify-content: flex-start;
}

.mobile-nav-toggle,
.mobile-menu-close {
  display: none;
}

main {
  margin: 0 auto;
  max-width: 1180px;
  padding: 16px 24px 84px;
}

.panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 46%),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.panel::before {
  background: linear-gradient(90deg, var(--orange), rgba(240, 90, 40, 0));
  content: "";
  height: 1px;
  left: 24px;
  opacity: 0.8;
  position: absolute;
  right: 24px;
  top: 0;
  z-index: 2;
}

.hero {
  display: grid;
  min-height: var(--hero-tile-height);
  padding: clamp(30px, 6vw, 64px);
  isolation: isolate;
}

.hero-copy {
  align-self: end;
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.hero-copy > p:not(.eyebrow),
.hero p,
.page-hero p {
  color: #d7d7d9;
  font-size: clamp(0.96rem, 1.35vw, 1.07rem);
  line-height: 1.52;
  max-width: 650px;
}

.hero-media {
  border: 0;
  inset: 0;
  margin: 0;
  overflow: hidden;
  position: absolute;
  z-index: 0;
}

.hero-media img,
.hero-media video {
  filter: saturate(0.94) contrast(1.06) brightness(0.9);
  height: 100%;
  object-fit: cover;
  object-position: 67% 50%;
  width: 100%;
}

.hero-video {
  display: block;
  pointer-events: none;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.98) 0%, rgba(3, 3, 3, 0.86) 30%, rgba(3, 3, 3, 0.34) 62%, rgba(3, 3, 3, 0.12) 100%),
    linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0.76) 21%, rgba(5, 5, 5, 0.16) 56%, transparent 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.home-page .hero {
  min-height: var(--hero-tile-height);
  padding: clamp(24px, 4vw, 42px);
}

.home-page .hero-media img {
  display: block;
  filter: saturate(1.06) contrast(1.07) brightness(1.1);
  margin-left: auto;
  object-position: 55% 38%;
  transform: none;
  transform-origin: center center;
  width: min(58%, 640px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.2) 14%, #000000 44%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.2) 14%, #000000 44%);
}

.home-page .hero-media video {
  filter: brightness(0.9) saturate(0.98) contrast(1.02);
  object-position: center center;
  transform-origin: center center;
  width: 100%;
}

.home-page .hero::after {
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.98) 0%, rgba(3, 3, 3, 0.76) 30%, rgba(3, 3, 3, 0.1) 62%, transparent 100%),
    linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0.58) 21%, rgba(5, 5, 5, 0.03) 56%, transparent 100%);
}

.home-page .hero h1 {
  font-size: clamp(3.75rem, 7vw, 5.55rem);
}

.home-page .hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-actions,
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-actions {
  margin-top: 20px;
}

.hero-meta {
  margin-top: 18px;
}

.hero-meta span,
.mini-facts span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #f2f2f3;
  display: inline-flex;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  line-height: 1;
  padding: 8px 10px 7px;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
}

.hero-meta span:first-child {
  border-color: rgba(240, 90, 40, 0.52);
  color: #ffffff;
}

.home-page .hero-meta span:first-child {
  border-color: rgba(255, 255, 255, 0.14);
  color: #f2f2f3;
}

.focused-batch-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.focused-batch-pills span {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #f2f2f3;
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 950;
  line-height: 1.1;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 9px 11px 8px;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
}

.button {
  align-items: center;
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 950;
  justify-content: center;
  letter-spacing: 0.07em;
  min-height: 42px;
  padding: 12px 18px 11px;
  text-align: center;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: linear-gradient(135deg, var(--orange), #ff7441);
  box-shadow: 0 14px 30px rgba(240, 90, 40, 0.24);
  color: #ffffff;
}

.tertiary {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--ink);
}

.tertiary:hover {
  border-color: rgba(240, 90, 40, 0.6);
  color: #ffffff;
}

.section {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 38px);
}

.mobile-story-media {
  display: none;
}

.page-hero {
  background-image: var(--hero-image, url("./assets/website-pictures/dhruv-action-wide.jpg"));
  background-position: center;
  background-size: cover;
  display: grid;
  isolation: isolate;
  min-height: var(--hero-tile-height);
  padding: clamp(29px, 4.75vw, 52px) clamp(24px, 4.3vw, 44px) clamp(23px, 4.1vw, 42px);
  place-content: end start;
  position: relative;
}

.page-hero::after {
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.98) 0%, rgba(3, 3, 3, 0.8) 30%, rgba(3, 3, 3, 0.16) 62%, transparent 100%),
    linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0.62) 21%, rgba(5, 5, 5, 0.04) 56%, transparent 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.page-hero .eyebrow {
  color: var(--orange) !important;
}

.page-hero > :not(.hero-media):not(.hero-scroll-media) {
  position: relative;
  z-index: 2;
}

.page-hero .hero-media {
  border-radius: inherit;
  inset: 0;
  position: absolute;
  z-index: 0;
}

.page-hero h1,
.page-hero h2 {
  font-size: clamp(3rem, 5.6vw, 5rem);
  line-height: 0.86;
  max-width: 880px;
}

.details-page .details-hero {
  min-height: var(--hero-tile-height);
}

.gallery-hero {
  background-color: #050505;
  background-image: none;
  min-height: var(--hero-tile-height);
  padding: clamp(24px, 3.6vw, 40px);
  place-content: center start;
}

.gallery-hero::after {
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.98) 0%, rgba(3, 3, 3, 0.88) 48%, rgba(3, 3, 3, 0.72) 100%),
    linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0.72) 52%, rgba(5, 5, 5, 0.28) 100%);
}

.page-hero .hero-media img {
  filter: saturate(1.02) contrast(1.07) brightness(1);
  object-position: center center;
}

.academy-hero {
  background-clip: padding-box;
  border-color: var(--line);
}

.program-hero {
  background-color: #050505;
  background-image: none;
  min-height: var(--hero-tile-height);
  padding: clamp(29px, 4.75vw, 52px) clamp(24px, 4.3vw, 44px) clamp(23px, 4.1vw, 42px);
}

.program-hero > div {
  max-width: 650px;
}

.program-hero::after {
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.99) 0%, rgba(3, 3, 3, 0.88) 34%, rgba(3, 3, 3, 0.28) 66%, transparent 100%),
    linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0.62) 24%, rgba(5, 5, 5, 0.08) 62%, transparent 100%);
}

.program-hero h1,
.program-hero h2 {
  font-size: clamp(3rem, 5.6vw, 5rem);
  max-width: 690px;
}

.program-hero h1 span,
.program-hero h2 span {
  display: block;
  white-space: nowrap;
}

.program-hero > div > p:not(.eyebrow) {
  max-width: 575px;
}

.program-credentials {
  max-width: 620px;
}

.program-credentials span:first-child {
  border-color: rgba(255, 255, 255, 0.14);
  color: #f2f2f3;
}

.program-hero .hero-media img {
  display: block;
  filter: saturate(1.06) contrast(1.08) brightness(1.14);
  margin-left: auto;
  object-fit: contain;
  object-position: right center;
  width: min(50%, 560px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.16) 10%, #000000 36%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.16) 10%, #000000 36%);
}

.section-heading {
  max-width: 830px;
}

.section-heading p:not(.eyebrow) {
  max-width: 710px;
}

.split,
.intro-grid,
.login-section,
.register,
.details-location {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split {
  align-items: stretch;
}

.split > div:not(.stat-list):not(.abstract-system),
.details-location > div {
  align-self: center;
}

.intro-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 330px;
  padding: clamp(22px, 4vw, 34px);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.intro-card:hover,
.feature-list a:hover,
.program-icon-system a:hover,
.icon-system a:hover,
.gallery-grid figure:hover,
.gallery-grid figure:focus-visible {
  border-color: rgba(240, 90, 40, 0.72);
  transform: translateY(-2px);
}

.intro-card-heading-compact {
  max-width: 530px;
}

.three-column,
.process-grid,
.feature-list,
.detail-grid,
.details-summary,
.standard-grid,
.icon-system,
.hub-feature-grid,
.gallery-grid {
  display: grid;
  gap: 12px;
}

.three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.process-grid,
.feature-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
}

.hub-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.standard-grid,
.details-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.icon-system {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.program-icon-system {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.community-icon-system,
.details-includes-system {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
}

.batch-detail-grid,
.detail-grid.batch-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-column article,
.process-grid article,
.feature-list article,
.feature-list a,
.hub-feature-grid article,
.standard-grid div,
.icon-system article,
.icon-system a,
.detail-grid article,
.details-summary article,
.icon-system .details-disclosure,
.detail-grid .details-disclosure,
.student-id-card {
  --tile-accent: var(--orange);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)),
    var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  min-height: 168px;
  overflow: hidden;
  padding: 22px;
  position: relative;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.three-column article::before,
.process-grid article::before,
.feature-list article::before,
.feature-list a::before,
.hub-feature-grid article::before,
.standard-grid div::before,
.icon-system article::before,
.icon-system a::before,
.detail-grid article::before,
.details-summary article::before,
.icon-system .details-disclosure::before,
.detail-grid .details-disclosure::before,
.student-id-card::before {
  background: var(--tile-accent);
  content: "";
  height: 3px;
  left: 18px;
  position: absolute;
  top: 0;
  width: 64px;
}

.process-grid article:nth-child(2),
.feature-list a:nth-child(2),
.hub-feature-grid article:nth-child(5),
.abstract-system div:nth-child(2) {
  --tile-accent: var(--blue);
}

.process-grid article:nth-child(3),
.feature-list a:nth-child(3),
.hub-feature-grid article:nth-child(6),
.abstract-system div:nth-child(3) {
  --tile-accent: var(--magenta);
}

.process-grid article:nth-child(4),
.feature-list a:nth-child(4),
.hub-feature-grid article:nth-child(7),
.abstract-system div:nth-child(4) {
  --tile-accent: var(--purple);
}

.three-column span,
.process-grid span,
.hub-feature-grid span {
  color: var(--tile-accent, var(--orange));
  display: block;
  font-family: var(--heading-font);
  font-size: 2.15rem;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.feature-list p,
.three-column p,
.process-grid p,
.hub-feature-grid p,
.icon-system p,
.detail-grid p,
.details-summary p,
.standard-grid p {
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.stat-nowrap {
  white-space: nowrap;
}

.stat-list .stat-nowrap {
  display: inline;
}

.image-panel {
  background: #000000;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  margin: 0;
  min-height: 380px;
  overflow: hidden;
  position: relative;
}

.image-panel img {
  filter: saturate(0.92) contrast(1.06) brightness(0.9);
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.image-panel::after {
  background:
    linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.62) 100%),
    linear-gradient(90deg, rgba(240, 90, 40, 0.14), transparent 46%);
  border-radius: inherit;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

/* Product-page hero images remain unobstructed by color or dark overlays. */
.training-page main > .focused-batches-section:first-child .image-panel::after,
.academy-template-page .academy-template-hero .image-panel::after {
  background: none;
}

.image-panel-square {
  min-height: 0;
}

.image-panel-square img {
  aspect-ratio: 1;
  height: auto;
  min-height: 0;
  object-fit: cover;
}

.details-court-panel img,
.friendship-image-panel img {
  aspect-ratio: 16 / 7;
  height: auto;
  min-height: 0;
  object-fit: cover;
}

.about-hero {
  align-items: end;
  background-color: #050505;
  background-image: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: var(--hero-tile-height);
  padding: clamp(24px, 4.4vw, 40px);
}

.about-hero > div {
  align-self: end;
  max-width: 760px;
}

.about-hero::after {
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 1) 0%, rgba(3, 3, 3, 0.98) 42%, rgba(3, 3, 3, 0.6) 64%, rgba(3, 3, 3, 0.08) 88%, transparent 100%),
    linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0.68) 22%, rgba(5, 5, 5, 0.06) 58%, transparent 100%);
}

.about-hero h1 {
  font-size: clamp(3.1rem, 5.2vw, 5.35rem);
  line-height: 0.88;
  margin-bottom: 16.2px;
}

.about-hero .hero-media img {
  filter: saturate(1.04) contrast(1.06) brightness(1.06);
  object-fit: contain;
  object-position: right center;
}

.about-hero .hero-media {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 38%, rgba(0, 0, 0, 0.42) 52%, #000000 66%, #000000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 38%, rgba(0, 0, 0, 0.42) 52%, #000000 66%, #000000 100%);
}

.about-why-copy {
  max-width: 650px;
}

.about-why-copy h1 {
  font-size: clamp(2.55rem, 5vw, 4.35rem);
  line-height: 0.9;
}

.about-credentials article,
.community-icon-system article,
.details-includes-system article,
.details-includes-system .details-disclosure,
.hub-feature-grid article {
  min-height: 132px;
  padding: 18px;
}

.details-disclosure summary {
  display: block;
  list-style: none;
  pointer-events: none;
}

.details-disclosure summary::-webkit-details-marker {
  display: none;
}

.details-disclosure-toggle {
  display: none;
}

.details-disclosure-copy p {
  margin-bottom: 0;
}

.about-development {
  margin-top: 24px;
}

.about-development span,
.details-summary span,
.detail-grid span,
.student-id-card span,
.abstract-system span,
.stat-list span {
  color: var(--orange);
  display: block;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.friendship-image-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.stat-list {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.stat-list div {
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid var(--line);
  padding: 24px;
}

.stat-list div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.stat-list div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.stat-list strong,
.details-summary strong,
.detail-grid strong,
.student-id-card strong {
  color: #ffffff;
  display: block;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 0.9;
  margin-bottom: 8px;
}

.clean-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.clean-list li {
  border-top: 1px solid var(--line);
  color: #d8d8da;
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  padding: 13px 0;
  text-transform: uppercase;
}

.clean-list li::before {
  background: var(--orange);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 8px;
  margin-right: 10px;
  width: 8px;
}

.abstract-system {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    #060606;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 330px;
  padding: 12px;
}

.abstract-system div {
  --tile-accent: var(--orange);
  align-content: end;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  min-height: 142px;
  padding: 18px;
  position: relative;
}

.abstract-system div::before {
  background: var(--tile-accent);
  border-radius: 999px;
  content: "";
  height: 8px;
  left: 18px;
  position: absolute;
  top: 18px;
  width: 8px;
}

.abstract-system strong {
  color: #ffffff;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 0.9;
}

.tile-icon-image {
  display: block;
  filter: brightness(0) saturate(100%) invert(51%) sepia(88%) saturate(1924%) hue-rotate(342deg) brightness(99%) contrast(91%);
  height: 44px;
  margin-bottom: 18px;
  object-fit: contain;
  object-position: left center;
  width: 44px;
}

.baseline-icon {
  color: var(--orange);
  display: inline-flex;
  height: 44px;
  margin-bottom: 18px;
  width: 44px;
}

.baseline-icon svg {
  display: block;
  height: 100%;
  width: 100%;
}

.baseline-icon-image {
  display: block;
  height: 38px;
  margin-bottom: 18px;
  object-fit: contain;
  object-position: left center;
  width: 38px;
}

.hub-sheet-icon {
  filter: brightness(0) saturate(100%) invert(51%) sepia(88%) saturate(1924%) hue-rotate(342deg) brightness(99%) contrast(91%);
}

.hub-snippet {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  display: block;
  height: auto;
  margin-top: 24px;
  overflow: hidden;
  width: 100%;
}

.gallery-section {
  padding-top: 18px;
}

.gallery-page main > .gallery-section:first-child {
  margin-top: 0;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.gallery-grid figure {
  background: #000000;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  cursor: pointer;
  margin: 0;
  min-height: 290px;
  overflow: hidden;
  transition: border-color 160ms ease, transform 160ms ease;
}

.gallery-grid img {
  filter: saturate(0.92) contrast(1.06) brightness(0.92);
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  width: 100%;
}

.gallery-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-feature img {
  min-height: 592px;
}

.gallery-lightbox {
  align-items: center;
  background: rgba(0, 0, 0, 0.93);
  display: grid;
  inset: 0;
  justify-items: center;
  opacity: 0;
  padding: 38px 76px;
  pointer-events: none;
  position: fixed;
  transition: opacity 180ms ease;
  z-index: 100;
  backdrop-filter: blur(18px);
}

.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox figure {
  margin: 0;
  max-height: min(84vh, 860px);
  max-width: min(1040px, 86vw);
  width: 100%;
}

.gallery-lightbox img {
  background: #050505;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  height: min(76vh, 760px);
  object-fit: contain;
  width: 100%;
}

.gallery-lightbox-close,
.gallery-lightbox-arrow {
  appearance: none;
  background: transparent;
  border: 0;
  color: #ffffff;
  line-height: 1;
  padding: 0;
  position: absolute;
  transition: color 160ms ease, transform 160ms ease;
}

.gallery-lightbox-close {
  font-size: 2.5rem;
  right: 30px;
  top: 24px;
}

.gallery-lightbox-arrow {
  font-family: var(--heading-font);
  font-size: 5rem;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox-prev {
  left: 30px;
}

.gallery-lightbox-next {
  right: 30px;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-arrow:hover {
  color: var(--orange-light);
}

.contact-panel {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.82fr) minmax(400px, 1fr);
}

.contact-strip {
  align-self: end;
  border-top: 1px solid var(--line);
  display: grid;
}

.contact-strip a {
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  font-size: 0.95rem;
  font-weight: 950;
  gap: 18px;
  justify-content: space-between;
  padding: 14px 0;
  transition: color 160ms ease, border-color 160ms ease;
}

.contact-strip a:hover {
  border-bottom-color: rgba(240, 90, 40, 0.72);
  color: var(--orange-light);
}

.contact-strip span {
  align-items: center;
  color: var(--orange);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 950;
  gap: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-icon {
  fill: none;
  height: 16px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transform: translateY(-1px);
  width: 16px;
}

.contact-strip img.whatsapp-contact-icon {
  height: 14px;
  width: 14px;
}

.interest-form,
.login-form {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 16px;
  padding: 22px;
}

.interest-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.interest-form .button,
.interest-form .form-note {
  grid-column: 1 / -1;
}

.login-form .button {
  width: 100%;
}

.login-main {
  min-height: calc(100vh - 220px);
  padding-top: 46px;
}

.login-section {
  background-image:
    linear-gradient(90deg, rgba(3, 3, 3, 0.97) 0%, rgba(3, 3, 3, 0.82) 46%, rgba(3, 3, 3, 0.18) 100%),
    linear-gradient(0deg, #050505, rgba(5, 5, 5, 0.22)),
    image-set(
      url("./assets/responsive/dhruv-red-game-energy-768.webp") 1x,
      url("./assets/responsive/dhruv-red-game-energy-1200.webp") 2x
    );
  background-position: center right;
  background-size: cover;
  min-height: 560px;
}

label {
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

input {
  appearance: none;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  display: block;
  margin-top: 8px;
  min-height: 46px;
  padding: 12px 13px;
  width: 100%;
}

input:focus {
  border-color: rgba(240, 90, 40, 0.72);
  outline: 3px solid rgba(240, 90, 40, 0.14);
}

.student-id-input {
  align-items: center;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  margin-top: 8px;
  overflow: hidden;
}

.student-id-input > span {
  border-right: 1px solid var(--line);
  color: var(--ink);
  flex: 0 0 auto;
  padding: 13px 14px;
}

.student-id-input input {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin-top: 0;
}

.student-id-input:focus-within {
  border-color: rgba(240, 90, 40, 0.72);
  outline: 3px solid rgba(240, 90, 40, 0.14);
}

.student-id-input input:focus {
  outline: 0;
}

.form-note {
  margin: 0;
}

.cta-band {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.site-footer {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 24px 34px;
}

.details-footer {
  display: block;
}

.footer-contact-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 0 0 18px;
  overflow: visible;
  padding-top: 46px;
}

.footer-contact-panel::before {
  background: var(--orange);
  left: 50%;
  opacity: 1;
  right: auto;
  transform: translateX(-50%);
  width: 100vw;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 30px 14px 0;
}

.footer-bottom p {
  margin: 0;
}

.footer-tagline span {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* Student Hub: keep each chapter compact, uniform, and readable in one mobile view. */
.student-hub-page .student-hub-story-preview {
  min-height: 470px;
}

.student-hub-page .student-hub-story-preview::before {
  background-image:
    linear-gradient(rgba(4, 4, 4, 0.34), rgba(4, 4, 4, 0.34)),
    var(--swipe-preview-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  filter: blur(18px) saturate(0.82) brightness(0.72);
  inset: -28px;
  opacity: 0.78;
  position: absolute;
  transform: scale(1.08);
}

.student-hub-page .student-hub-story-preview img {
  height: min(430px, calc(100% - 34px));
  position: relative;
  z-index: 1;
}

.student-hub-page .student-hub-story-rail > article {
  min-height: 210px;
}

.student-hub-page .student-hub-unnumbered-rail > article {
  align-content: center;
}

.student-hub-page .student-hub-story-preview::after {
  z-index: 2;
}

.student-hub-page .student-hub-story-rail > article {
  --hub-area-color: 240, 90, 40;
  --tile-accent: rgb(var(--hub-area-color));
  background:
    radial-gradient(circle at 86% 8%, rgba(var(--hub-area-color), 0.15), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)),
    var(--soft);
}

.student-hub-page .student-hub-story-rail > article.is-rail-focus {
  border-color: rgba(var(--hub-area-color), 0.52);
}

.student-hub-page .student-hub-story-rail > article > span {
  color: rgb(var(--hub-area-color));
}

.student-hub-page .student-hub-story-rail > .hub-area-dashboard {
  --hub-area-color: 240, 90, 40;
}

.student-hub-page .student-hub-story-rail > .hub-area-programs {
  --hub-area-color: 32, 155, 255;
}

.student-hub-page .student-hub-story-rail > .hub-area-nutrition {
  --hub-area-color: 220, 174, 62;
}

.student-hub-page .student-hub-story-rail > .hub-area-calendar {
  --hub-area-color: 67, 222, 154;
}

.student-hub-page .student-hub-story-rail > :is(
  .hub-area-dashboard,
  .hub-area-programs,
  .hub-area-nutrition,
  .hub-area-calendar
) {
  background:
    linear-gradient(145deg, rgba(var(--hub-area-color), 0.22), rgba(var(--hub-area-color), 0.055) 58%, rgba(7, 7, 7, 0.96)),
    var(--soft);
  border-color: rgb(var(--hub-area-color));
  box-shadow: inset 0 1px 0 rgba(var(--hub-area-color), 0.22);
}

.student-hub-page .student-hub-story-rail > :is(
  .hub-area-dashboard,
  .hub-area-programs,
  .hub-area-nutrition,
  .hub-area-calendar
)::before {
  background: rgb(var(--hub-area-color));
  box-shadow: 0 0 16px rgba(var(--hub-area-color), 0.42);
  width: 82px;
}

.student-hub-page .student-hub-story-rail > :is(
  .hub-area-dashboard,
  .hub-area-programs,
  .hub-area-nutrition,
  .hub-area-calendar
) h3 {
  color: var(--white);
}

/* Nutrition: mirror the standard Academy and Student Hub story rhythm. */
.nutrition-page .nutrition-story-preview {
  min-height: 470px;
}

.nutrition-page .nutrition-story-preview::before {
  background-image:
    linear-gradient(rgba(4, 4, 4, 0.28), rgba(4, 4, 4, 0.28)),
    var(--swipe-preview-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  filter: blur(18px) saturate(0.88) brightness(0.72);
  inset: -28px;
  opacity: 0.76;
  position: absolute;
  transform: scale(1.08);
}

.nutrition-page .nutrition-story-preview img {
  height: min(430px, calc(100% - 34px));
  position: relative;
  z-index: 1;
}

.nutrition-page .nutrition-story-preview::after {
  z-index: 2;
}

.nutrition-page .nutrition-story-rail > article {
  align-content: center;
  min-height: 210px;
}

/* Training Programs: use the same screenshot-led chapter rhythm as Nutrition. */
.programs-page .programs-story-preview {
  min-height: 470px;
}

.programs-page .programs-story-preview::before {
  background-image:
    linear-gradient(rgba(4, 4, 4, 0.28), rgba(4, 4, 4, 0.28)),
    var(--swipe-preview-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  filter: blur(18px) saturate(0.88) brightness(0.72);
  inset: -28px;
  opacity: 0.76;
  position: absolute;
  transform: scale(1.08);
}

.programs-page .programs-story-preview img {
  height: min(430px, calc(100% - 34px));
  position: relative;
  z-index: 1;
}

.programs-page .programs-story-preview::after {
  z-index: 2;
}

.programs-page .programs-story-rail > article {
  align-content: center;
  min-height: 210px;
}

/* Training Programs: carry the page's blue module accent through the shared product-page system. */
.programs-page {
  --programs-page-accent: #1aa4ff;
}

.programs-page main .eyebrow {
  color: var(--programs-page-accent);
}

.programs-page .academy-template-hero .focused-batch-pills span {
  border-color: rgba(26, 164, 255, 0.4);
}

.programs-page .programs-story-panel {
  background:
    radial-gradient(circle at 8% 8%, rgba(26, 164, 255, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.014) 58%),
    #080809;
}

.academy-template-page.programs-page .programs-story-rail > article {
  --tile-accent: var(--programs-page-accent);
}

.academy-template-page.programs-page .swipe-story-cue > span:last-child,
.academy-template-page.programs-page .swipe-story-cue > span:last-child > span {
  color: var(--programs-page-accent);
}

.academy-template-page.programs-page .academy-rail-progress span.is-active {
  background: var(--programs-page-accent);
}

.academy-template-page.programs-page .academy-swipe-rail:focus-visible,
.academy-template-page.programs-page .swipe-preview-media[role="button"]:focus-visible {
  outline-color: var(--programs-page-accent);
}

/* Nutrition: mirror the same system with the Nutrition gold accent. */
.nutrition-page {
  --nutrition-page-accent: #e3b64f;
}

.nutrition-page main .eyebrow {
  color: var(--nutrition-page-accent);
}

.nutrition-page .academy-template-hero .focused-batch-pills span {
  border-color: rgba(227, 182, 79, 0.4);
}

.nutrition-page .nutrition-story-panel {
  background:
    radial-gradient(circle at 8% 8%, rgba(227, 182, 79, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.014) 58%),
    #080809;
}

.academy-template-page.nutrition-page .nutrition-story-rail > article {
  --tile-accent: var(--nutrition-page-accent);
}

.academy-template-page.nutrition-page .swipe-story-cue > span:last-child,
.academy-template-page.nutrition-page .swipe-story-cue > span:last-child > span {
  color: var(--nutrition-page-accent);
}

.academy-template-page.nutrition-page .academy-rail-progress span.is-active {
  background: var(--nutrition-page-accent);
}

.academy-template-page.nutrition-page .academy-swipe-rail:focus-visible,
.academy-template-page.nutrition-page .swipe-preview-media[role="button"]:focus-visible {
  outline-color: var(--nutrition-page-accent);
}

/* Ball Handling: keep the shared product-page structure with its module accent. */
.ball-handling-page {
  --ball-handling-accent: #c22b5e;
}

.ball-handling-page main .eyebrow {
  color: var(--ball-handling-accent);
}

.ball-handling-page .academy-template-hero .focused-batch-pills span {
  border-color: rgba(194, 43, 94, 0.4);
}

.ball-handling-page .ball-handling-story-panel {
  background:
    radial-gradient(circle at 8% 8%, rgba(194, 43, 94, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.014) 58%),
    #080809;
}

.ball-handling-page .ball-handling-story-preview {
  min-height: 470px;
}

.ball-handling-page .ball-handling-story-preview img {
  filter: saturate(0.96) contrast(1.06) brightness(0.92);
  object-position: center;
}

.academy-template-page.ball-handling-page .ball-handling-story-rail > article {
  --tile-accent: var(--ball-handling-accent);
  align-content: center;
  min-height: 210px;
}

.academy-template-page.ball-handling-page .swipe-story-cue > span:last-child,
.academy-template-page.ball-handling-page .swipe-story-cue > span:last-child > span {
  color: var(--ball-handling-accent);
}

.academy-template-page.ball-handling-page .academy-rail-progress span.is-active {
  background: var(--ball-handling-accent);
}

.academy-template-page.ball-handling-page .academy-swipe-rail:focus-visible,
.academy-template-page.ball-handling-page .swipe-preview-media[role="button"]:focus-visible {
  outline-color: var(--ball-handling-accent);
}

.academy-template-page .academy-swipe-rail.scroll-focus-rail > article {
  transform: none;
}

@media (max-width: 820px) {
  .student-hub-page .student-hub-story-panel {
    padding-bottom: 16px;
  }

  .student-hub-page .student-hub-story-preview {
    height: min(43svh, 350px);
  }

  .student-hub-page .student-hub-story-preview img {
    height: calc(100% - 20px);
    max-width: calc(100% - 20px);
  }

  .student-hub-page .student-hub-story-rail {
    padding-top: 12px;
  }

  .student-hub-page .student-hub-story-rail > article {
    height: 192px;
    min-height: 192px;
    padding: 16px;
  }

  .student-hub-page .student-hub-story-rail > article > span {
    font-size: 1.55rem;
    margin-bottom: 9px;
  }

  .student-hub-page .student-hub-story-rail h3 {
    font-size: clamp(1.42rem, 6.6vw, 1.78rem);
    margin-bottom: 7px;
  }

  .student-hub-page .student-hub-story-rail p {
    font-size: 0.78rem;
    line-height: 1.38;
  }

  .student-hub-page .student-hub-story-panel .academy-rail-progress {
    margin-top: 5px;
  }

  .nutrition-page .nutrition-story-panel {
    padding-bottom: 16px;
  }

  .nutrition-page .nutrition-story-preview img {
    height: calc(100% - 20px);
    max-width: calc(100% - 20px);
  }

  .nutrition-page .nutrition-story-rail {
    padding-top: 12px;
  }

  .nutrition-page .nutrition-story-rail > article {
    height: 192px;
    min-height: 192px;
    padding: 16px;
  }

  .nutrition-page .nutrition-story-rail h3 {
    font-size: clamp(1.42rem, 6.6vw, 1.78rem);
    margin-bottom: 7px;
  }

  .nutrition-page .nutrition-story-rail p {
    font-size: 0.78rem;
    line-height: 1.38;
  }

  .nutrition-page .nutrition-story-panel .academy-rail-progress {
    margin-top: 5px;
  }

  .programs-page .programs-story-panel {
    padding-bottom: 16px;
  }

  .programs-page .programs-story-preview img {
    height: calc(100% - 20px);
    max-width: calc(100% - 20px);
  }

  .programs-page .programs-story-rail {
    padding-top: 12px;
  }

  .programs-page .programs-story-rail > article {
    height: 192px;
    min-height: 192px;
    padding: 16px;
  }

  .programs-page .programs-story-rail h3 {
    font-size: clamp(1.42rem, 6.6vw, 1.78rem);
    margin-bottom: 7px;
  }

  .programs-page .programs-story-rail p {
    font-size: 0.78rem;
    line-height: 1.38;
  }

  .programs-page .programs-story-panel .academy-rail-progress {
    margin-top: 5px;
  }

  .ball-handling-page .ball-handling-story-panel {
    padding-bottom: 16px;
  }

  .academy-template-page.ball-handling-page .ball-handling-story-rail {
    padding-top: 12px;
  }

  .academy-template-page.ball-handling-page .ball-handling-story-rail > article {
    height: auto;
    min-height: 0;
  }

  .academy-template-page.ball-handling-page .ball-handling-story-rail h3 {
    font-size: clamp(1.42rem, 6.6vw, 1.78rem);
    margin-bottom: 7px;
  }

  .academy-template-page.ball-handling-page .ball-handling-story-rail p {
    font-size: 0.78rem;
    line-height: 1.38;
  }

  .ball-handling-page .ball-handling-story-panel .academy-rail-progress {
    margin-top: 5px;
  }
}

@media (max-width: 520px) {
  .student-hub-page .student-hub-story-preview {
    height: min(39svh, 320px);
  }

}

/* About page: simpler story order, authentic icon grid, and swipeable history. */
.about-page > .section:first-child {
  margin-top: 0;
}

.about-page .about-credentials-section .about-credentials {
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.about-page .about-credentials-section .about-credentials article {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.025);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 138px;
  padding: 18px;
  transform: none;
  transition: none;
}

.about-page .about-credentials-section .about-credentials article:nth-child(n + 4) {
  border-bottom: 0;
}

.about-page .about-credentials-section .about-credentials article:not(:nth-child(3n)) {
  border-right: 1px solid var(--line);
}

.about-page .about-credentials-section .about-credentials article::before,
.about-page .about-credentials-section .about-credentials article::after {
  display: none;
}

.about-page .about-credentials-section .about-credential-icon {
  flex: 0 0 26px;
  height: 26px;
  margin: 0 0 14px;
  width: 26px;
}

.about-page .about-credentials-section .about-credentials h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 0.96;
  margin: 0;
}

.about-page .about-credentials-section .about-credentials p {
  display: none;
}

.about-page .about-credentials-section .about-credentials article:hover,
.about-page .about-credentials-section .about-credentials article:focus-within {
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}

.technology-section .technology-hub-button {
  margin-top: 0;
}

@media (max-width: 820px) {
  .about-page .about-credentials-section .about-credentials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-page .about-credentials-section .about-credentials article {
    border-bottom: 1px solid var(--line);
    min-height: 112px;
    padding: 14px;
  }

  .about-page .about-credentials-section .about-credentials article:nth-child(n + 5) {
    border-bottom: 0;
  }

  .about-page .about-credentials-section .about-credentials article:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .about-page .about-credentials-section .about-credentials article:nth-child(even) {
    border-right: 0;
  }

  .about-page .about-credentials-section .about-credential-icon {
    flex-basis: 24px;
    height: 24px;
    margin-bottom: 11px;
    width: 24px;
  }

  .about-page .about-credentials-section .about-credentials h3 {
    font-size: clamp(1.05rem, 4.8vw, 1.3rem);
  }

  .about-page .friendship-image-grid {
    display: flex;
    gap: 12px;
    grid-template-columns: none;
    margin-left: -22px;
    margin-right: -22px;
    overflow-x: auto;
    padding: 3px 22px 8px;
    scroll-padding-inline: 22px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .about-page .friendship-image-grid::-webkit-scrollbar {
    display: none;
  }

  .about-page .friendship-image-panel {
    flex: 0 0 88%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .about-page .friendship-rail-progress {
    display: flex;
  }

  .technology-section .technology-hub-button {
    display: inline-flex;
    margin-top: 0;
  }
}

/* Keep the final brand signature compact and clearly separated from contact details. */
.site-footer {
  padding-bottom: 18px;
}

/* Match the unframed Dhruv rail to the standard 18px section rhythm. */
.about-page .about-credentials-unframed .about-credentials {
  margin-top: 0;
}

/* About: let Dhruv's credentials sit directly on the page rather than inside another tile. */
.about-page .about-credentials-unframed {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  padding-bottom: 0;
  padding-top: 0;
}

.about-page .about-credentials-unframed .about-credentials {
  margin-top: 0;
}

.about-page .about-credentials-section .about-credentials h3 span {
  display: block;
  white-space: nowrap;
}

.about-page .about-why-image img {
  filter: none;
  object-position: 58% center;
}

.about-page .about-why-image::after {
  display: none;
}

@media (max-width: 820px) {
  .about-page .about-why-image img {
    object-position: 94% center;
  }
}

.footer-bottom {
  gap: 10px;
  padding: 18px 14px 2px;
}

.footer-bottom > p:first-child {
  font-size: 0.82rem;
  line-height: 1.2;
}

.footer-bottom .footer-tagline {
  font-size: 0.74rem;
  line-height: 1.35;
}

@media (max-width: 820px) {
  .footer-bottom {
    gap: 7px;
  }
}

/* Mobile-first audit polish: photography breaks up long reading runs without changing desktop composition. */
@media (max-width: 520px) {
  .mobile-story-media {
    aspect-ratio: 16 / 10;
    background: #080808;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    display: block;
    margin: 16px 0 18px;
    overflow: hidden;
    position: relative;
  }

  .mobile-story-media::after {
    background: linear-gradient(180deg, transparent 54%, rgba(3, 3, 3, 0.34));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
  }

  .mobile-story-media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
  }

  .mobile-story-coaching {
    aspect-ratio: 1 / 1;
  }

  .mobile-story-coaching img {
    object-position: center 42%;
  }

  .mobile-story-team {
    aspect-ratio: 4 / 3;
  }

  .home-academy-section .mobile-story-media {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .intro-card-visual {
    background-color: #090909;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    isolation: isolate;
    min-height: 330px;
    overflow: hidden;
    position: relative;
  }

  .intro-card-visual::after {
    background: linear-gradient(180deg, rgba(3, 3, 3, 0.02) 18%, rgba(3, 3, 3, 0.95) 78%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 0;
  }

  .intro-card-visual > * {
    position: relative;
    z-index: 1;
  }

  .intro-card-programs {
    background-image: image-set(
      url("./assets/responsive/home-academy-480.webp") 1x,
      url("./assets/responsive/home-academy-768.webp") 2x
    );
    background-position: 46% center;
  }

  .intro-card-team {
    background-image: url("./assets/website-pictures/team-wide-960.webp");
    background-position: 52% center;
  }

  .training-page .academy-hero {
    background-position: 53% top;
  }

  .training-page .focused-batches-section .image-panel img {
    object-position: center 52%;
  }

  .programs-page .page-hero {
    background-position: 47% top;
  }

  .student-hub-page .student-hub-hero {
    background-position: center top;
  }

  .nutrition-page .nutrition-page-hero {
    background-position: 72% center;
  }

  .details-page .details-hero {
    background-position: 58% center;
  }

  .gallery-page .gallery-grid {
    margin-top: 0;
  }

  .gallery-page .gallery-grid figure:nth-child(7),
  .gallery-page .gallery-grid figure:nth-child(9) {
    grid-column: 1 / -1;
  }

  .gallery-page .gallery-grid figure:nth-child(7) img,
  .gallery-page .gallery-grid figure:nth-child(9) img {
    object-fit: cover;
  }
}

@media (max-width: 1040px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    padding: 10px 14px;
  }

  .brand {
    grid-column: 2;
    justify-self: center;
  }

  .mobile-nav-toggle {
    align-items: center;
    appearance: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    display: inline-flex;
    grid-column: 3;
    height: 42px;
    justify-self: end;
    justify-content: center;
    padding: 0;
    width: 42px;
  }

  .mobile-nav-toggle span {
    background:
      linear-gradient(currentColor, currentColor) center 6px / 22px 2px no-repeat,
      linear-gradient(currentColor, currentColor) center / 22px 2px no-repeat,
      linear-gradient(currentColor, currentColor) center 28px / 22px 2px no-repeat;
    display: block;
    height: 34px;
    width: 24px;
  }

  nav {
    display: none;
  }

  .site-header.is-nav-open {
    align-content: start;
    align-items: stretch;
    background:
      linear-gradient(180deg, rgba(240, 90, 40, 0.12), transparent 220px),
      rgba(3, 3, 3, 0.98);
    border: 0;
    border-radius: 0;
    bottom: 0;
    box-shadow: none;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    left: 0;
    margin: 0;
    max-width: none;
    min-height: 100svh;
    overflow-y: auto;
    padding: 18px 28px 42px;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 80;
  }

  .site-header.is-nav-open .brand,
  .site-header.is-nav-open .mobile-nav-toggle {
    position: relative;
    z-index: 81;
  }

  .site-header.is-nav-open nav {
    background: transparent;
    border: 0;
    border-radius: 0;
    bottom: 0;
    display: grid;
    gap: 3px;
    grid-auto-rows: min-content;
    grid-column: 1 / -1;
    justify-content: stretch;
    overflow: visible;
    padding: 28px 0 0;
    position: static;
    width: 100%;
    z-index: auto;
  }

  .site-header.is-nav-open nav > a,
  .site-header.is-nav-open .nav-dropdown-trigger,
  .site-header.is-nav-open .nav-menu a {
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1rem;
    justify-content: space-between;
    letter-spacing: 0.1em;
    padding: 20px 0;
    width: 100%;
  }

  .site-header.is-nav-open .login-link,
  .site-header.is-nav-open .login-link[aria-current="page"] {
    border: 1px solid var(--line);
    border-radius: 999px;
    justify-content: center;
    margin: 20px 0 10px;
    padding: 17px 22px;
  }

  .site-header.is-nav-open .nav-menu {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: none;
    min-width: 0;
    opacity: 1;
    padding: 0 0 6px;
    pointer-events: auto;
    position: static;
    transform: none;
  }

  .site-header.is-nav-open .nav-dropdown.is-open .nav-menu {
    display: grid;
  }

  .site-header.is-nav-open .nav-menu a {
    color: var(--muted);
    font-size: 0.84rem;
    padding: 14px 0 14px 18px;
  }

  .site-header.is-nav-open .mobile-menu-close {
    appearance: none;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--line);
    color: rgba(255, 255, 255, 0.48);
    display: block;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.14em;
    margin-top: 8px;
    padding: 18px 0 0;
    text-align: center;
    text-transform: uppercase;
  }

  .process-grid,
  .feature-list,
  .detail-grid,
  .program-icon-system,
  .community-icon-system,
  .details-includes-system,
  .hub-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    margin-top: 10px;
    top: 8px;
    width: calc(100% - 20px);
  }

  main {
    padding: 12px 10px 54px;
  }

  .hero,
  .page-hero,
  .section,
  .about-hero {
  border-radius: 18px;
    padding: 22px;
  }

  h1 {
    font-size: clamp(3.8rem, 18vw, 6rem);
  }

  h2 {
    font-size: clamp(2.55rem, 12vw, 4.1rem);
  }

  p,
  .hero-copy > p:not(.eyebrow),
  .hero p,
  .page-hero p {
    font-size: 0.95rem;
    line-height: 1.48;
  }

  .hero,
  .home-page .hero,
  .page-hero,
  .about-hero,
  .details-page .details-hero,
  .gallery-hero,
  .program-hero {
    min-height: var(--hero-tile-height-tablet);
  }

  .program-hero {
    min-height: var(--program-hero-height-tablet);
  }

  .program-hero::after {
    background:
      linear-gradient(90deg, rgba(3, 3, 3, 0.62) 0%, rgba(3, 3, 3, 0.42) 34%, rgba(3, 3, 3, 0.16) 66%, transparent 100%),
      linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0.9) 24%, rgba(5, 5, 5, 0.44) 48%, rgba(5, 5, 5, 0.08) 72%, transparent 100%);
  }

  .hero::after,
  .page-hero::after,
  .gallery-hero::after,
  .about-hero::after {
    background:
      linear-gradient(90deg, rgba(3, 3, 3, 0.62) 0%, rgba(3, 3, 3, 0.42) 34%, rgba(3, 3, 3, 0.16) 66%, transparent 100%),
      linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0.9) 24%, rgba(5, 5, 5, 0.44) 48%, rgba(5, 5, 5, 0.08) 72%, transparent 100%);
  }

  .hero-media img,
  .hero-media video {
    object-position: center top;
  }

  .page-hero,
  .gallery-hero {
    background-position: center top;
    place-content: end start;
  }

  .home-page .hero-media img {
    object-position: 64% top;
  }

  .about-hero .hero-media img {
    object-position: right top;
  }

  .program-hero .hero-media img {
    object-fit: contain;
    object-position: right top;
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .home-page .hero-media video {
    filter: brightness(0.86) saturate(0.98) contrast(1.02);
    object-position: 58% center;
    width: 100%;
  }

  .program-hero .desktop-only-break {
    display: none;
  }

  .split,
  .intro-grid,
  .login-section,
  .register,
  .details-location,
  .about-hero {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .feature-list {
    display: flex;
    gap: 12px;
    margin-left: -10px;
    margin-right: -10px;
    overflow-x: auto;
    padding-left: 10px;
    padding-right: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .intro-grid::-webkit-scrollbar,
  .feature-list::-webkit-scrollbar {
    display: none;
  }

  .intro-card,
  .feature-list a,
  .feature-list article {
    flex: 0 0 min(86vw, 420px);
    scroll-snap-align: start;
  }

  .three-column,
  .process-grid,
  .detail-grid,
  .details-summary,
  .standard-grid,
  .icon-system,
  .program-icon-system,
  .community-icon-system,
  .details-includes-system,
  .hub-feature-grid,
  .interest-form,
  .gallery-grid,
  .batch-detail-grid,
  .detail-grid.batch-detail-grid {
    grid-template-columns: 1fr;
  }

  .gallery-feature {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-feature img,
  .gallery-grid img {
    min-height: 310px;
  }

  .image-panel,
  .image-panel img {
    min-height: 320px;
  }

  .details-court-panel img,
  .friendship-image-panel img {
    aspect-ratio: 4 / 3;
  }

  .friendship-image-grid {
    grid-template-columns: 1fr;
  }

  .stat-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-strip a {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .cta-band,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 520px) {
  .brand img {
    height: 46px;
    width: 146px;
  }

  .site-header {
    border-radius: 20px;
  }

  .mobile-nav-toggle {
    height: 38px;
    width: 38px;
  }

  .hero,
  .home-page .hero,
  .page-hero,
  .about-hero,
  .details-page .details-hero,
  .gallery-hero,
  .program-hero {
    min-height: var(--hero-tile-height-mobile);
  }

  .program-hero {
    min-height: var(--program-hero-height-mobile);
  }

  .program-hero::after {
    background:
      linear-gradient(90deg, rgba(3, 3, 3, 0.62) 0%, rgba(3, 3, 3, 0.42) 34%, rgba(3, 3, 3, 0.16) 66%, transparent 100%),
      linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0.9) 24%, rgba(5, 5, 5, 0.44) 48%, rgba(5, 5, 5, 0.08) 72%, transparent 100%);
  }

  .page-hero {
    background-position: 62% top;
  }

  .gallery-hero {
    min-height: 390px;
  }

  .about-hero {
    min-height: 450px;
  }

  .program-hero h1,
  .program-hero h2 {
    font-size: clamp(2.35rem, 10.2vw, 3rem);
  }

  .hero h1,
  .page-hero h1 {
    margin-bottom: 14px;
  }

  .about-hero h1 {
    font-size: clamp(2.35rem, 10vw, 2.55rem);
    margin-bottom: 10px;
  }

  .hero-copy > p:not(.eyebrow),
  .hero p:not(.eyebrow),
  .page-hero p:not(.eyebrow) {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .hero-copy {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(3.35rem, 18vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2.25rem, 12vw, 3.35rem);
  }

  h3 {
    font-size: 1.55rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 14px;
  }

  .button {
    width: 100%;
  }

  .hero-actions .button {
    min-height: 39px;
    padding: 10px 16px 9px;
  }

  .hero-meta {
    margin-top: 14px;
  }

  .hero-meta span,
  .mini-facts span {
    font-size: 0.64rem;
    padding: 9px 10px 8px;
  }

  .stat-list {
    grid-template-columns: 1fr;
  }

  .stat-list div,
  .stat-list div:nth-child(odd) {
    border-right: 0;
  }

  .stat-list div:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .abstract-system {
    grid-template-columns: 1fr;
  }

  .gallery-lightbox {
    padding: 58px 14px 24px;
  }

  .gallery-lightbox-arrow {
    font-size: 3.7rem;
  }

  .gallery-lightbox-prev {
    left: 10px;
  }

  .gallery-lightbox-next {
    right: 10px;
  }
}

/* Premium hub-style floating navigation */
.site-header,
.site-header.is-nav-open {
  align-items: center;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.2), transparent 14rem),
    radial-gradient(circle at 74% 120%, rgba(240, 90, 40, 0.2), transparent 12rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.135), rgba(255, 255, 255, 0.032)),
    rgba(8, 8, 9, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  bottom: auto;
  box-shadow:
    0 18px 64px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -12px 28px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 6px;
  grid-template-columns: auto minmax(0, 1fr);
  justify-content: stretch;
  left: 50%;
  margin: 14.4px 0 0;
  max-width: 800px;
  min-height: 58px;
  overflow: visible;
  padding: 6px 7px 6px 10px;
  position: fixed;
  right: auto;
  top: 0;
  transform: translateX(-50%);
  width: min(800px, calc(100vw - 24px));
  z-index: 80;
  backdrop-filter: blur(28px) saturate(1.2);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
}

.brand,
.site-header.is-nav-open .brand {
  align-items: center;
  align-self: stretch;
  border-left: 0;
  border-radius: 0;
  display: inline-flex;
  grid-column: 1;
  grid-row: 1;
  justify-content: center;
  justify-self: start;
  min-width: 118px;
  padding: 0 12px 0 8px;
  position: relative;
  z-index: 72;
}

.brand img {
  height: 38px;
  object-fit: contain;
  width: 114px;
}

.mobile-nav-toggle,
.mobile-menu-close,
.site-header.is-nav-open .mobile-menu-close {
  display: none !important;
}

.site-header nav,
.site-header.is-nav-open nav {
  --active-center: 10%;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  bottom: auto;
  box-shadow: none;
  display: grid !important;
  gap: 0;
  grid-auto-rows: auto;
  grid-column: 2;
  grid-row: 1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  isolation: isolate;
  justify-content: stretch;
  left: auto;
  margin: 0;
  max-width: none;
  min-height: 44px;
  overflow: visible;
  padding: 0;
  position: relative;
  right: auto;
  top: auto;
  transform: none;
  width: 100%;
  z-index: 80;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header nav::before {
  animation: activeGradientWash 4.2s ease-in-out infinite;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.22), transparent 44%),
    radial-gradient(circle at 78% 86%, rgba(240, 90, 40, 0.34), transparent 54%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(240, 90, 40, 0.12) 44%, rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  bottom: 5px;
  box-shadow:
    0 0 26px rgba(240, 90, 40, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -10px 22px rgba(0, 0, 0, 0.16);
  content: "";
  left: calc(var(--active-center) - ((100% - 16px) / 10));
  position: absolute;
  top: 5px;
  transition:
    left 520ms cubic-bezier(0.16, 1, 0.3, 1),
    width 520ms cubic-bezier(0.16, 1, 0.3, 1);
  width: calc((100% - 16px) / 5);
  z-index: 1;
}

.home-page .site-header nav::before {
  opacity: 0;
}

.site-header nav:has(> a[href="/details"][aria-current="page"]) {
  --active-center: 30%;
}

.site-header nav:has(> a[href="/gallery"][aria-current="page"]) {
  --active-center: 50%;
}

.site-header nav:has(> a[href="/about"][aria-current="page"]) {
  --active-center: 70%;
}

.site-header nav:has(> .login-link[aria-current="page"]) {
  --active-center: 90%;
}

.nav-dropdown,
.site-header.is-nav-open .nav-dropdown {
  align-items: stretch;
  display: flex;
  min-width: 0;
  position: relative;
  z-index: 3;
}

.site-header nav > a,
.site-header .nav-dropdown-trigger,
.site-header.is-nav-open nav > a,
.site-header.is-nav-open .nav-dropdown-trigger {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.56);
  display: inline-flex;
  font-size: clamp(0.56rem, 1.15vw, 0.66rem);
  font-weight: 950;
  gap: 4px;
  justify-content: center;
  letter-spacing: 0.065em;
  min-height: 42px;
  min-width: 0;
  padding: 0 6px;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  transition:
    color 260ms ease,
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  width: 100%;
  z-index: 3;
}

.site-header nav > a::after,
.site-header .nav-dropdown-trigger::after {
  display: none;
}

.site-header nav > a:hover,
.site-header .nav-dropdown-trigger:hover {
  background: transparent;
  color: #ffffff;
  transform: translateY(-1px);
}

.site-header nav > a:focus-visible,
.site-header .nav-dropdown-trigger:focus-visible,
.site-header .nav-menu a:focus-visible {
  outline: 2px solid rgba(240, 90, 40, 0.58);
  outline-offset: 2px;
}

.site-header nav > a[aria-current="page"],
.site-header .nav-dropdown:has(a[aria-current="page"]) .nav-dropdown-trigger,
.site-header .nav-dropdown.is-open .nav-dropdown-trigger,
.site-header .nav-dropdown:hover .nav-dropdown-trigger,
.site-header .nav-dropdown:focus-within .nav-dropdown-trigger {
  background: transparent;
  color: #ffffff;
}

.login-link,
.login-link[aria-current="page"],
.site-header.is-nav-open .login-link,
.site-header.is-nav-open .login-link[aria-current="page"] {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.56);
  margin: 0;
}

.login-link:hover {
  background: transparent;
  color: #ffffff;
}

.nav-dropdown-trigger::before {
  height: 8px;
  width: 8px;
}

.site-header .nav-menu,
.site-header.is-nav-open .nav-menu {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.16), transparent 11rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.026)),
    rgba(8, 8, 9, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  bottom: auto;
  box-shadow:
    0 -10px 34px rgba(0, 0, 0, 0.38),
    0 18px 68px rgba(0, 0, 0, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
  display: grid;
  gap: 3px;
  left: 0;
  min-width: min(260px, calc(100vw - 40px));
  border-radius: 13px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  justify-content: flex-start;
  min-height: 38px;
  padding: 0 12px;
  text-align: left;
}

main {
  padding-bottom: 84px;
  padding-top: 102px;
}

.site-header .nav-dropdown:hover .nav-menu,
.site-header .nav-dropdown:focus-within .nav-menu,
.site-header .nav-dropdown.is-open .nav-menu,
.site-header.is-nav-open .nav-dropdown.is-open .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header .nav-menu a,
.site-header.is-nav-open .nav-menu a {
  border: 0;
  border-radius: 13px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  justify-content: flex-start;
  min-height: 38px;
  padding: 0 12px;
  text-align: left;
}

.site-header .nav-menu a:hover,
.site-header .nav-menu a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.075);
  color: #ffffff;
}

main {
  padding-bottom: 84px;
  padding-top: 102px;
}

.site-footer {
  padding-bottom: 34px;
}

@keyframes activeGradientWash {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-header.is-nav-open {
    gap: 4px;
    margin-top: 12px;
    min-height: 54px;
    padding: 5px 6px 5px 7px;
    top: 0;
    width: min(374px, calc(100vw - 16px));
  }

  .brand,
  .site-header.is-nav-open .brand {
    min-width: 64px;
    padding: 0 4px 0 6px;
  }

  .brand img {
    height: 25px;
    width: 60px;
  }

  .site-header nav,
  .site-header.is-nav-open nav {
    min-height: 42px;
    padding: 0;
    width: 100%;
  }

  .site-header nav > a,
  .site-header .nav-dropdown-trigger,
  .site-header.is-nav-open nav > a,
  .site-header.is-nav-open .nav-dropdown-trigger {
    font-size: 0.47rem;
    letter-spacing: 0.02em;
    min-height: 40px;
    padding: 0 2px;
  }

  .nav-dropdown-trigger::before {
    height: 6px;
    width: 6px;
  }

  .home-page .hero-media img {
    filter: saturate(1.1) contrast(1.06) brightness(1.15);
    object-position: 64% top;
    transform: none;
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .home-page .hero::after {
    background:
      linear-gradient(90deg, rgba(3, 3, 3, 0.62) 0%, rgba(3, 3, 3, 0.42) 34%, rgba(3, 3, 3, 0.16) 66%, transparent 100%),
      linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0.9) 24%, rgba(5, 5, 5, 0.44) 48%, rgba(5, 5, 5, 0.08) 72%, transparent 100%);
  }

  .home-page .hero h1 {
    font-size: clamp(2.25rem, 10.5vw, 3.7rem);
  }

  .site-header .nav-menu,
  .site-header.is-nav-open .nav-menu {
    left: 0;
    min-width: min(278px, calc(100vw - 34px));
    top: calc(100% + 10px);
  }

  main {
    padding-bottom: 54px;
    padding-top: 90px;
  }

  .site-footer {
    padding-bottom: 34px;
  }
}

/* Nutrition product showcase */
.nutrition-page-hero {
  background-position: right center;
}

.nutrition-page-hero::after {
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.99) 0%, rgba(3, 3, 3, 0.9) 38%, rgba(3, 3, 3, 0.42) 68%, rgba(3, 3, 3, 0.08) 100%),
    linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0.68) 22%, rgba(5, 5, 5, 0.08) 60%, transparent 100%);
}

.nutrition-page-hero h1 {
  max-width: 720px;
}

.nutrition-page-hero > p:not(.eyebrow) {
  max-width: 650px;
}

.nutrition-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 24px;
  padding-top: 24px;
}

.nutrition-capabilities article {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 34px minmax(0, 1fr);
  min-width: 0;
  padding: 5px 24px;
}

.nutrition-capabilities article + article {
  border-left: 1px solid var(--line);
}

.nutrition-capabilities img {
  display: block;
  height: 30px;
  width: 30px;
}

.nutrition-capabilities div {
  display: grid;
  gap: 3px;
}

.nutrition-capabilities span {
  color: var(--orange);
  font-size: 0.64rem;
  font-weight: 950;
  text-transform: uppercase;
}

.nutrition-capabilities strong {
  color: var(--ink);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.nutrition-showcase {
  align-items: center;
  display: grid;
  gap: clamp(28px, 6vw, 78px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  min-height: 620px;
}

.nutrition-showcase-reverse {
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
}

.nutrition-showcase-copy {
  max-width: 690px;
}

.nutrition-showcase-copy h2,
.nutrition-flow-section h2,
.nutrition-cta h2 {
  max-width: 720px;
}

.nutrition-showcase-copy > p:not(.eyebrow),
.nutrition-flow-section .section-heading > p:not(.eyebrow),
.nutrition-cta > div > p:not(.eyebrow) {
  max-width: 660px;
}

.nutrition-screen {
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  margin: 0;
  overflow: hidden;
}

.nutrition-screen img {
  display: block;
  height: auto;
  width: 100%;
}

.nutrition-screen-overview,
.nutrition-screen-detail {
  justify-self: center;
  max-width: 330px;
  width: 100%;
}

.nutrition-flow-section {
  overflow: hidden;
}

.nutrition-shot-scroller {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 0.9fr) minmax(260px, 1.1fr);
  margin-top: 24px;
}

.nutrition-screen-flow {
  max-width: 390px;
}

.nutrition-screen-share {
  max-width: 520px;
}

.nutrition-cta {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.nutrition-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

/* Current Student Hub product overview */
.student-hub-hero {
  background-color: #050505;
  background-position: 68% 52%;
  background-repeat: no-repeat;
  background-size: cover;
}

.student-hub-hero::after {
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.99) 0%, rgba(3, 3, 3, 0.91) 43%, rgba(3, 3, 3, 0.36) 72%, rgba(3, 3, 3, 0.08) 100%),
    linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0.72) 24%, rgba(5, 5, 5, 0.06) 65%, transparent 100%);
}

.student-hub-hero > p:not(.eyebrow) {
  max-width: 650px;
}

.hub-overview-section {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
}

.hub-overview-heading {
  max-width: 820px;
}

.hub-overview-heading > p:not(.eyebrow) {
  max-width: 680px;
}

.hub-overview-scroller {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  margin-inline: -2px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 14px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.hub-overview-scroller::-webkit-scrollbar {
  display: none;
}

.hub-overview-card {
  background:
    radial-gradient(circle at 88% 0%, rgba(240, 90, 40, 0.12), transparent 34%),
    linear-gradient(145deg, #171719, #09090a 74%);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  flex: 0 0 clamp(320px, 31vw, 380px);
  gap: 18px;
  height: auto;
  overflow: hidden;
  padding: 22px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.hub-overview-card-head {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  padding-bottom: 16px;
}

.hub-overview-card-head img {
  display: block;
  height: 30px;
  width: 30px;
}

.hub-overview-card-head div {
  display: grid;
  gap: 2px;
}

.hub-overview-card-head span {
  color: var(--orange);
  font-size: 0.62rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hub-overview-card-head strong {
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.hub-overview-card-copy {
  display: grid;
  gap: 9px;
}

.hub-overview-card-copy h3,
.hub-profile-shot-identity strong {
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: clamp(2rem, 2.5vw, 2.45rem);
  font-weight: 400;
  line-height: 0.94;
  margin: 0;
  text-transform: uppercase;
}

.hub-overview-card-copy > p {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.5;
  margin: 0;
}

.hub-overview-shot {
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  display: block;
  height: auto;
  margin: 0;
  overflow: hidden;
  padding: 0;
  width: 100%;
}

.hub-screenshot-canvas {
  aspect-ratio: 390 / 844;
  display: block;
  height: auto;
  max-width: 100%;
  position: relative;
  width: 100%;
}

.hub-screenshot-canvas > img:not(.hub-profile-preview-logo) {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.hub-dashboard-shot-update {
  background:
    linear-gradient(90deg, #070707 0%, rgba(7, 7, 7, 0.98) 66%, rgba(7, 7, 7, 0.16) 100%),
    linear-gradient(0deg, #070707 0%, rgba(7, 7, 7, 0.96) 72%, rgba(7, 7, 7, 0) 100%);
  display: grid;
  gap: 3px;
  left: 4%;
  min-height: 27%;
  padding: 8% 26% 4% 5%;
  position: absolute;
  right: 4%;
  top: 24%;
}

.hub-dashboard-shot-update span {
  color: var(--orange);
  font-size: 0.43rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hub-dashboard-shot-update strong {
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 0.94;
  text-transform: uppercase;
}

.hub-dashboard-shot-update p {
  color: var(--muted);
  font-size: 0.46rem;
  line-height: 1.35;
  margin: 0;
}

.hub-overview-nutrition {
  background:
    radial-gradient(circle at 88% 0%, rgba(227, 182, 79, 0.15), transparent 36%),
    linear-gradient(145deg, #171719, #09090a 74%);
}

.hub-profile-shot {
  background: #080808;
}

.hub-profile-canvas {
  align-content: start;
  background:
    radial-gradient(circle at 92% 0%, rgba(240, 90, 40, 0.22), transparent 42%),
    linear-gradient(160deg, #2a130f, #090909 45%);
  display: grid;
  gap: 8px;
  overflow: hidden;
  padding: 18px 12px;
}

.hub-profile-preview-logo {
  display: block;
  height: auto;
  margin: 0 auto 8px;
  width: 46%;
}

.hub-profile-shot-identity {
  align-items: center;
  display: grid;
  gap: 9px;
  grid-template-columns: 40px minmax(0, 1fr);
}

.hub-profile-shot-identity > span {
  align-items: center;
  background: linear-gradient(145deg, rgba(240, 90, 40, 0.26), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(240, 90, 40, 0.48);
  border-radius: 50%;
  color: var(--ink);
  display: flex;
  font-family: var(--heading-font);
  font-size: 1.1rem;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.hub-profile-shot-identity > div {
  display: grid;
  gap: 3px;
}

.hub-profile-shot-identity p {
  color: var(--orange);
  font-size: 0.43rem;
  font-weight: 950;
  margin: 0;
  text-transform: uppercase;
}

.hub-profile-shot-identity strong {
  font-size: 1.35rem;
}

.hub-profile-shot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.hub-profile-shot-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.4rem;
  font-weight: 900;
  padding: 5px 6px;
  text-transform: uppercase;
}

.hub-profile-shot-row {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 0.48rem;
  justify-content: space-between;
  min-height: 40px;
  padding-top: 10px;
  text-transform: uppercase;
}

.hub-profile-shot-row strong {
  color: var(--ink);
  font-size: 0.46rem;
}

.hub-slider-section {
  display: grid;
  gap: 20px;
  overflow: hidden;
}

.hub-slider-header {
  display: block;
}

.hub-slider-heading {
  max-width: 760px;
}

.hub-slider-heading h2 {
  font-size: clamp(2.8rem, 5.2vw, 4.8rem);
  line-height: 0.9;
  max-width: 760px;
}

.hub-slider-heading > p:not(.eyebrow) {
  max-width: 650px;
}

.hub-slider-track {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.hub-slider-track::-webkit-scrollbar {
  display: none;
}

.hub-slide {
  align-items: center;
  display: flex;
  flex: 0 0 100%;
  justify-content: center;
  min-width: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.hub-slider-shot {
  align-items: center;
  display: flex;
  height: clamp(480px, 48vw, 620px);
  justify-content: center;
  margin: 0;
  width: 100%;
}

.hub-slider-shot .hub-screenshot-canvas {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38);
  height: 100%;
  max-width: 100%;
  overflow: hidden;
  width: auto;
}

.hub-slider-shot .hub-profile-canvas {
  align-content: stretch;
  gap: clamp(3px, 0.5vw, 6px);
  grid-template-rows: auto auto auto repeat(8, minmax(0, 1fr));
  padding: clamp(7px, 1vw, 12px) clamp(6px, 0.8vw, 10px);
}

.hub-slider-shot .hub-profile-shot-row {
  font-size: clamp(0.3rem, 0.52vw, 0.42rem);
  min-height: 0;
  padding-top: 3px;
}

.hub-slider-shot .hub-profile-shot-row strong {
  font-size: clamp(0.29rem, 0.5vw, 0.4rem);
}

.hub-slider-shot .hub-profile-preview-logo {
  margin-bottom: 3px;
  width: 40%;
}

.hub-slider-shot .hub-profile-shot-identity {
  gap: 6px;
  grid-template-columns: 30px minmax(0, 1fr);
}

.hub-slider-shot .hub-profile-shot-identity > span {
  font-size: 0.86rem;
  height: 30px;
  width: 30px;
}

.hub-slider-shot .hub-profile-shot-identity p {
  font-size: 0.32rem;
}

.hub-slider-shot .hub-profile-shot-identity strong {
  font-size: clamp(0.96rem, 1.6vw, 1.2rem);
}

.hub-slider-shot .hub-profile-shot-tags {
  gap: 3px;
}

.hub-slider-shot .hub-profile-shot-tags span {
  font-size: 0.3rem;
  padding: 3px 4px;
}

.programs-page .page-hero {
  background-position: 62% center;
}

.programs-page .page-hero > p:not(.eyebrow) {
  max-width: 690px;
}

.training-catalog-section .section-heading {
  max-width: 760px;
}

.training-catalog-icon {
  display: block;
  height: 34px;
  margin-bottom: 14px;
  width: 34px;
}

.training-catalog-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.training-catalog-card {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), color-mix(in srgb, var(--program-accent) 12%, transparent)),
    #0b0b0c;
  border: 1px solid color-mix(in srgb, var(--program-accent) 46%, rgba(255, 255, 255, 0.14));
  border-radius: var(--radius-lg);
  display: grid;
  gap: 20px;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 156px;
  padding: 22px;
}

.training-catalog-number {
  color: var(--program-accent);
  font-family: var(--heading-font);
  font-size: 2rem;
  line-height: 1;
}

.training-catalog-card h3 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 0.95;
  margin-bottom: 9px;
}

.training-catalog-card p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
  max-width: 48ch;
}

.training-catalog-title-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.training-catalog-title-row h3 {
  margin-bottom: 0;
}

.training-catalog-status {
  border: 1px solid color-mix(in srgb, var(--program-accent) 55%, transparent);
  border-radius: 999px;
  color: var(--program-accent);
  font-size: 0.58rem;
  font-weight: 950;
  padding: 6px 8px 5px;
  text-transform: uppercase;
}

.training-catalog-card.is-coming-soon h3,
.training-catalog-card.is-coming-soon p {
  color: #a1a1a5;
}

.training-program-system {
  align-items: center;
  display: grid;
  gap: clamp(28px, 6vw, 78px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  min-height: 620px;
}

.training-program-system-copy {
  max-width: 690px;
}

.training-program-system-copy > p:not(.eyebrow) {
  max-width: 620px;
}

.training-program-system-copy .button {
  margin-top: 20px;
}

.training-program-screen {
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  justify-self: center;
  margin: 0;
  max-width: 330px;
  overflow: hidden;
  width: 100%;
}

.training-program-screen img {
  display: block;
  height: auto;
  width: 100%;
}

.programs-nutrition-bridge {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.programs-nutrition-bridge > div {
  max-width: 760px;
}

@media (max-width: 820px) {
  .nutrition-page-hero {
    background-position: 64% top;
  }

  .nutrition-capabilities {
    display: flex;
    gap: 0;
    margin-left: 0;
    margin-right: 0;
    overflow-x: auto;
    padding-left: 0;
    padding-right: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .nutrition-capabilities::-webkit-scrollbar,
  .nutrition-shot-scroller::-webkit-scrollbar {
    display: none;
  }

  .nutrition-capabilities article {
    flex: 0 0 74%;
    padding: 8px 20px;
    scroll-snap-align: start;
  }

  .nutrition-capabilities article + article {
    border-left: 1px solid var(--line);
  }

  .nutrition-showcase,
  .nutrition-showcase-reverse {
    gap: 24px;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .nutrition-showcase-reverse .nutrition-showcase-copy {
    order: 1;
  }

  .nutrition-showcase-reverse .nutrition-screen {
    order: 2;
  }

  .nutrition-screen-overview,
  .nutrition-screen-detail {
    max-width: 360px;
  }

  .nutrition-shot-scroller {
    display: flex;
    margin-left: -22px;
    margin-right: -22px;
    overflow-x: auto;
    padding-left: 22px;
    padding-right: 22px;
    scroll-padding-left: 22px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .nutrition-shot-scroller .nutrition-screen {
    flex: 0 0 min(82vw, 390px);
    scroll-snap-align: center;
  }

  .nutrition-cta {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .student-hub-hero {
    background-position: 58% center;
    background-size: cover;
  }

  .hub-slider-header {
    display: block;
  }

  .hub-slider-shot {
    height: 500px;
  }

  .hub-overview-scroller {
    margin-left: -22px;
    margin-right: -22px;
    padding-left: 22px;
    padding-right: 22px;
    scroll-padding-inline: 22px;
  }

  .hub-overview-card {
    flex-basis: min(82vw, 350px);
  }

  .training-program-system,
  .programs-nutrition-bridge {
    grid-template-columns: 1fr;
  }

  .training-program-system {
    gap: 24px;
    min-height: 0;
  }

  .training-program-screen {
    max-width: 360px;
  }

  .training-catalog-grid {
    display: flex;
    margin-left: -22px;
    margin-right: -22px;
    overflow-x: auto;
    padding: 4px 22px 10px;
    scroll-padding-left: 22px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .training-catalog-grid::-webkit-scrollbar {
    display: none;
  }

  .training-catalog-card {
    flex: 0 0 min(82vw, 420px);
    scroll-snap-align: center;
  }

  .nutrition-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .nutrition-capabilities article {
    flex-basis: 86%;
  }

  .nutrition-shot-scroller .nutrition-screen {
    flex-basis: 84vw;
  }

  .nutrition-cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hub-slider-section {
    gap: 16px;
  }

  .hub-slider-heading h2 {
    font-size: 2.8rem;
    max-width: 100%;
  }

  .hub-slider-heading > p:not(.eyebrow) {
    font-size: 0.82rem;
  }

  .hub-slider-shot {
    height: 430px;
  }

  .hub-overview-card {
    flex-basis: 84vw;
    gap: 18px;
    padding: 20px;
  }

  .programs-page .page-hero {
    background-position: 68% top;
  }

  .training-catalog-card {
    flex-basis: 84vw;
    gap: 14px;
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 150px;
    padding: 18px;
  }

  .training-catalog-number {
    font-size: 1.65rem;
  }

  .training-catalog-card h3 {
    font-size: 1.85rem;
  }
}

@media (max-width: 380px) {
  .site-header nav > a,
  .site-header .nav-dropdown-trigger,
  .site-header.is-nav-open nav > a,
  .site-header.is-nav-open .nav-dropdown-trigger {
    font-size: 0.45rem;
    letter-spacing: 0.015em;
    padding: 0 1px;
  }
}

@media (max-width: 820px) {
  .home-page .intro-grid,
  .about-page .about-story-scroller {
    margin-left: 0;
    margin-right: 0;
    padding-left: 22px;
    padding-right: 22px;
    scroll-padding-inline: 22px;
  }

  .home-page .intro-card,
  .about-page .about-story-scroller .intro-card {
    scroll-snap-align: center;
  }

  .program-ecosystem-section .feature-list {
    margin-top: 20px;
    padding-top: 4px;
  }

  .program-hero::after {
    background:
      linear-gradient(90deg, rgba(3, 3, 3, 0.62) 0%, rgba(3, 3, 3, 0.42) 34%, rgba(3, 3, 3, 0.16) 66%, transparent 100%),
      linear-gradient(0deg, #050505 0%, #050505 30%, rgba(5, 5, 5, 0.98) 44%, rgba(5, 5, 5, 0.84) 56%, rgba(5, 5, 5, 0.54) 68%, rgba(5, 5, 5, 0.2) 80%, transparent 92%);
  }

  .program-hero .eyebrow {
    font-size: 0.634rem;
  }

  .program-hero h1,
  .program-hero h2 {
    font-size: clamp(2.64rem, 4.928vw, 4.4rem);
  }

  .program-ecosystem-section .feature-list h3 {
    font-size: 1.364rem;
  }

  .program-ecosystem-heading span {
    display: block;
  }

  .program-ecosystem-section .feature-list a {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .focused-batches-section {
    gap: 16px;
    padding: 18px;
  }

  .focused-batches-section .image-panel,
  .focused-batches-section .image-panel img {
    height: 210px;
    min-height: 210px;
  }

  .focused-batches-section h1,
  .focused-batches-section h2 {
    font-size: clamp(2.1rem, 8vw, 2.8rem);
    margin-bottom: 8px;
  }

  .focused-batches-section > div > p:not(.eyebrow) {
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .focused-batches-section .focused-batch-pills {
    gap: 7px;
    margin-top: 12px;
  }

  .focused-batches-section .focused-batch-pills span {
    font-size: 0.62rem;
    padding: 8px 10px 7px;
  }

  .coaching-team-section .three-column {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 3px 0 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .coaching-team-section .three-column::-webkit-scrollbar {
    display: none;
  }

  .coaching-team-section .three-column article {
    flex: 0 0 90%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .gallery-page .gallery-grid {
    display: grid;
    gap: 10px;
    grid-auto-flow: dense;
    grid-auto-rows: clamp(128px, 32vw, 210px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-page .gallery-grid figure,
  .gallery-page .gallery-grid img,
  .gallery-page .gallery-feature img {
    height: 100%;
    min-height: 0;
  }

  .gallery-page .gallery-grid figure:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-page .gallery-grid figure:nth-child(2),
  .gallery-page .gallery-grid figure:nth-child(3),
  .gallery-page .gallery-grid figure:nth-child(5),
  .gallery-page .gallery-grid figure:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-page .gallery-grid figure:nth-child(4) {
    grid-column: span 1;
    grid-row: span 2;
  }

  .details-page .details-includes-system,
  .details-page .batch-detail-grid {
    gap: 8px;
    margin-top: 16px;
  }

  .details-page .details-disclosure {
    min-height: 0;
    padding: 0;
  }

  .details-page .details-disclosure::before {
    display: none;
  }

  .details-page .details-disclosure summary {
    cursor: pointer;
    pointer-events: auto;
  }

  .details-page .include-disclosure summary {
    align-items: center;
    display: grid;
    gap: 11px;
    grid-template-columns: 32px minmax(0, 1fr) 26px;
    min-height: 64px;
    padding: 11px 13px;
  }

  .details-page .include-disclosure .tile-icon-image {
    height: 30px;
    margin: 0;
    width: 30px;
  }

  .details-page .include-disclosure h3 {
    font-size: 1.18rem;
    line-height: 1;
    margin: 0;
  }

  .details-page .details-disclosure-toggle {
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    display: block;
    height: 26px;
    margin: 0;
    position: relative;
    width: 26px;
  }

  .details-page .details-disclosure-toggle::before,
  .details-page .details-disclosure-toggle::after {
    background: #ffffff;
    content: "";
    height: 1px;
    left: 7px;
    position: absolute;
    top: 12px;
    transition: opacity 160ms ease, transform 160ms ease;
    width: 10px;
  }

  .details-page .details-disclosure-toggle::after {
    transform: rotate(90deg);
  }

  .details-page .details-disclosure[open] {
    border-color: rgba(240, 90, 40, 0.48);
  }

  .details-page .details-disclosure[open] .details-disclosure-toggle::after {
    opacity: 0;
    transform: rotate(0deg);
  }

  .details-page .details-disclosure[open] summary {
    border-bottom: 1px solid var(--line);
  }

  .details-page .details-disclosure-copy {
    padding: 11px 13px 13px;
  }

  .details-page .details-disclosure-copy p {
    font-size: 0.82rem;
    line-height: 1.42;
  }

  .details-page .batch-disclosure summary {
    align-items: center;
    display: grid;
    gap: 2px 12px;
    grid-template-columns: minmax(0, 1fr) 26px;
    min-height: 68px;
    padding: 10px 13px;
  }

  .details-page .batch-disclosure-label,
  .details-page .batch-disclosure strong {
    grid-column: 1;
  }

  .details-page .batch-disclosure-label {
    margin-bottom: 1px;
  }

  .details-page .batch-disclosure strong {
    font-size: 1.55rem;
    line-height: 0.92;
    margin: 0;
  }

  .details-page .batch-disclosure .details-disclosure-toggle {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .details-page .details-location {
    gap: 16px;
  }

  .details-page .details-court-panel,
  .details-page .details-court-panel img {
    aspect-ratio: auto;
    height: 230px;
    min-height: 230px;
  }

  .about-page .friendship-image-grid {
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-page .friendship-image-panel,
  .about-page .friendship-image-panel img {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 0;
  }

  .about-page .friendship-image-panel {
    border-radius: 14px;
  }

  .about-development-section .about-development {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 3px 0 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .about-development-section .about-development::-webkit-scrollbar {
    display: none;
  }

  .about-development-section .about-development > div {
    flex: 0 0 90%;
    min-height: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .about-development-section .about-development p {
    font-size: 0.86rem;
    line-height: 1.44;
  }

  .about-credentials-section .about-credentials {
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
  }

  .about-credentials-section .about-credentials article {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 102px;
    padding: 12px;
  }

  .about-credentials-section .about-credential-icon {
    height: 27px;
    margin-bottom: 11px;
    width: 27px;
  }

  .about-credentials-section .about-credentials h3 {
    font-size: 1.14rem;
    line-height: 0.96;
    margin: 0;
  }

  .about-credentials-section .about-credentials p {
    display: none;
  }

  .home-page .cta-band {
    gap: 15px;
  }

  .home-page .cta-band h2 {
    margin-bottom: 3px;
  }
}

@media (max-width: 520px) {
  .program-hero h1,
  .program-hero h2 {
    font-size: clamp(2.068rem, 8.976vw, 2.64rem);
  }

  .details-page .details-court-panel,
  .details-page .details-court-panel img {
    height: 190px;
    min-height: 190px;
  }

  .details-page .details-court-panel,
  .details-page .details-court-panel img {
    height: 190px;
    min-height: 190px;
  }

  .home-academy-section .stat-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-academy-section .stat-list div:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .home-academy-section .stat-list div:nth-last-child(2) {
    border-bottom: 0;
  }
}

/* Keep every public-page hero on the shared responsive rhythm. */
@media (max-width: 820px) {
  .hero,
  .page-hero {
    min-height: var(--program-hero-height-tablet);
    padding: 22px;
  }

  .page-hero,
  .gallery-hero {
    place-content: end start;
  }

  .hero .eyebrow,
  .page-hero .eyebrow {
    font-size: 0.634rem;
    margin-bottom: 11px;
  }

  .hero h1,
  .home-page .hero h1,
  .page-hero h1,
  .gallery-hero h2 {
    font-size: clamp(2.64rem, 4.928vw, 4.4rem);
    line-height: 0.86;
    margin-bottom: 14px;
    max-width: 880px;
  }

  .hero-copy > p:not(.eyebrow),
  .hero p:not(.eyebrow),
  .page-hero p:not(.eyebrow) {
    font-size: 0.95rem;
    line-height: 1.48;
    max-width: 650px;
  }

  .hero .hero-meta,
  .page-hero .hero-meta {
    gap: 8px;
    margin-top: 18px;
  }

  .hero .hero-meta span,
  .page-hero .hero-meta span {
    font-size: 0.66rem;
    padding: 8px 10px 7px;
  }

  .hero .hero-meta span:first-child,
  .page-hero .hero-meta span:first-child {
    border-color: rgba(255, 255, 255, 0.14);
    color: #f2f2f3;
  }

  .gallery-hero p:not(.eyebrow) {
    margin-bottom: 0;
  }
}

@media (max-width: 520px) {
  .hero,
  .page-hero {
    min-height: var(--program-hero-height-mobile);
  }

  .hero h1,
  .home-page .hero h1,
  .page-hero h1,
  .gallery-hero h2 {
    font-size: clamp(2.068rem, 8.976vw, 2.64rem);
  }

  .hero-copy > p:not(.eyebrow),
  .hero p:not(.eyebrow),
  .page-hero p:not(.eyebrow) {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .hero .hero-meta,
  .page-hero .hero-meta {
    margin-top: 14px;
  }

  .hero .hero-meta span,
  .page-hero .hero-meta span {
    font-size: 0.64rem;
    padding: 9px 10px 8px;
  }
}

@media (max-width: 820px) {
  .training-page main > .focused-batches-section:first-child {
    margin-top: 0;
  }

  .training-page .training-section-heading h2 span {
    display: block;
  }

  .training-page .coaching-team-section .three-column,
  .training-page .session-flow-section .feature-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    grid-template-columns: none;
    margin-left: 0;
    margin-right: 0;
    overflow-x: auto;
    padding: 4px 0 8px;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .training-page .coaching-team-section .three-column::-webkit-scrollbar,
  .training-page .session-flow-section .feature-list::-webkit-scrollbar {
    display: none;
  }

  .training-page .coaching-team-section .three-column article,
  .training-page .session-flow-section .feature-list article {
    flex: 0 0 88%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .training-page .coaching-team-section .three-column:focus-visible,
  .training-page .session-flow-section .feature-list:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 4px;
  }

  .training-page .focused-batches-section h1,
  .training-page .focused-batches-section h2 {
    font-size: clamp(2.55rem, 12vw, 4.1rem);
  }

  .training-page .swipe-preview-media {
    aspect-ratio: 16 / 10;
    background: #080808;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    display: block;
    margin: 0 0 16px;
    overflow: hidden;
    position: relative;
  }

  .training-page .swipe-preview-media::after {
    background: linear-gradient(0deg, rgba(3, 3, 3, 0.28), transparent 48%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
  }

  .training-page .swipe-preview-media img {
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    width: 100%;
    will-change: opacity, transform;
  }

  .training-page .coaching-swipe-media img {
    object-position: center 38%;
  }

  .training-page .training-tile-copy {
    margin-bottom: 0;
  }

  .training-page .training-tile-copy + .three-column,
  .training-page .training-tile-copy + .feature-list {
    margin-top: 16px;
  }

  .training-page .academy-rail-progress {
    margin-top: 8px;
  }

  .training-page .session-flow-section .feature-list article {
    flex-basis: 88%;
  }
}

@media (max-width: 520px) {
  .training-page .focused-batches-section h1,
  .training-page .focused-batches-section h2 {
    font-size: clamp(2.25rem, 12vw, 3.35rem);
  }
}

@media (max-width: 820px) {
  .gallery-page .gallery-grid img {
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 820px) {
  .details-page .include-disclosure summary {
    grid-template-columns: 30px minmax(0, 1fr) 12px;
  }

  .details-page .include-disclosure .tile-icon-image {
    height: 30px;
    width: 30px;
  }

  .details-page .details-disclosure-toggle {
    background: transparent;
    border: 0;
    border-radius: 0;
    height: 9px;
    width: 9px;
  }

  .details-page .details-disclosure-toggle::before {
    background: transparent;
    border-bottom: 2px solid var(--orange);
    border-right: 2px solid var(--orange);
    content: "";
    height: 9px;
    left: 0;
    position: absolute;
    top: 0;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 220ms ease;
    width: 9px;
  }

  .details-page .details-disclosure-toggle::after {
    display: none;
  }

  .details-page .details-disclosure[open] .details-disclosure-toggle::before {
    transform: translateY(2px) rotate(225deg);
  }

  .details-page .include-disclosure .details-disclosure-copy p span {
    display: block;
  }

  .details-page .batch-disclosure summary {
    grid-template-columns: minmax(0, 1fr) 12px;
  }

  .details-page .interest-form .form-note {
    font-size: 0.75rem;
    line-height: 1.35;
  }
}

@media (max-width: 820px) {
  .about-page .about-credentials-section .about-credentials article {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .about-page .about-credentials-section .about-credential-icon {
    flex: 0 0 24px;
    height: 24px;
    width: 24px;
  }

  .about-page .about-credentials-section .about-credentials h3 {
    align-self: flex-start;
    width: 100%;
  }

  .site-header.is-nav-open nav > .login-link {
    justify-content: flex-start;
    margin: 0;
  }

  .about-page .about-credentials-section .about-credentials article::before {
    display: none;
  }

  .about-page .about-development-section .about-development h3 {
    font-size: 1.25rem;
    white-space: nowrap;
  }
}

.site-header .responsive-about-dropdown {
  display: none !important;
}

@media (max-width: 820px) {
  .site-header nav,
  .site-header.is-nav-open nav {
    --active-center: 16.6667%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-header nav > a[href="/details"],
  .site-header nav > a[href="/gallery"],
  .site-header nav > a[href="/about"] {
    display: none;
  }

  .site-header .responsive-about-dropdown,
  .site-header.is-nav-open .responsive-about-dropdown {
    display: flex !important;
  }

  .site-header nav::before {
    left: calc(var(--active-center) - ((100% - 16px) / 6));
    width: calc((100% - 16px) / 3);
  }

  .site-header nav:has(> .responsive-about-dropdown a[aria-current="page"]) {
    --active-center: 50%;
  }

  .site-header nav:has(> .login-link[aria-current="page"]) {
    --active-center: 83.3333%;
  }

  .brand,
  .site-header.is-nav-open .brand {
    min-width: 132px;
  }

  .brand img {
    height: 40px;
    width: 120px;
  }

  .site-header nav > a,
  .site-header .nav-dropdown-trigger,
  .site-header.is-nav-open nav > a,
  .site-header.is-nav-open .nav-dropdown-trigger {
    font-size: clamp(0.62rem, 1.35vw, 0.72rem);
    letter-spacing: 0.05em;
    padding-left: 8px;
    padding-right: 8px;
  }

  .site-header .responsive-about-dropdown .nav-menu,
  .site-header.is-nav-open .responsive-about-dropdown .nav-menu {
    left: auto;
    right: 0;
  }
}

@media (max-width: 720px) {
  .brand,
  .site-header.is-nav-open .brand {
    min-width: 80px;
    padding-left: 7px;
    padding-right: 5px;
  }

  .brand img {
    height: 28px;
    width: 68px;
  }

  .site-header nav > a,
  .site-header .nav-dropdown-trigger,
  .site-header.is-nav-open nav > a,
  .site-header.is-nav-open .nav-dropdown-trigger {
    font-size: 0.6rem;
    letter-spacing: 0.035em;
    padding-left: 5px;
    padding-right: 5px;
  }
}

@media (max-width: 520px) {
  .site-header,
  .site-header.is-nav-open {
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 62px;
    overflow: visible;
    padding: 6px 8px 6px 12px;
  }

  .site-header .brand,
  .site-header.is-nav-open .brand {
    min-width: 0;
    padding: 0;
  }

  .site-header .brand img {
    height: 37px;
    width: 110px;
  }

  .mobile-nav-toggle,
  .site-header.is-nav-open .mobile-nav-toggle {
    align-items: center;
    appearance: none;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex !important;
    grid-column: 2;
    grid-row: 1;
    height: 44px;
    justify-content: center;
    justify-self: end;
    padding: 0;
    width: 44px;
  }

  .mobile-nav-toggle span {
    background: currentColor;
    display: block;
    height: 2px;
    position: relative;
    transition: background 160ms ease;
    width: 21px;
  }

  .mobile-nav-toggle span::before,
  .mobile-nav-toggle span::after {
    background: currentColor;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transition: transform 180ms ease;
    width: 21px;
  }

  .mobile-nav-toggle span::before {
    transform: translateY(-7px);
  }

  .mobile-nav-toggle span::after {
    transform: translateY(7px);
  }

  .site-header.is-nav-open .mobile-nav-toggle span {
    background: transparent;
  }

  .site-header.is-nav-open .mobile-nav-toggle span::before {
    transform: rotate(45deg);
  }

  .site-header.is-nav-open .mobile-nav-toggle span::after {
    transform: rotate(-45deg);
  }

  .site-header nav {
    display: none !important;
  }

  .site-header.is-nav-open nav {
    --active-center: 50%;
    align-items: stretch;
    background:
      radial-gradient(circle at 78% 0%, rgba(240, 90, 40, 0.16), transparent 12rem),
      linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
      rgba(8, 8, 9, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    box-shadow: 0 22px 64px rgba(0, 0, 0, 0.72);
    display: grid !important;
    gap: 2px;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    left: -13px;
    margin: 0;
    max-height: calc(100svh - 92px);
    min-height: 0;
    overflow-y: auto;
    padding: 8px;
    position: absolute;
    right: -9px;
    top: calc(100% + 8px);
    width: auto;
  }

  .site-header.is-nav-open nav::before,
  .site-header.is-nav-open .nav-dropdown::after {
    display: none;
  }

  .site-header.is-nav-open .nav-dropdown,
  .site-header.is-nav-open .responsive-about-dropdown {
    display: block !important;
    width: 100%;
  }

  .site-header.is-nav-open nav > a,
  .site-header.is-nav-open .nav-dropdown-trigger {
    border-radius: 13px;
    font-size: 0.72rem;
    justify-content: space-between;
    letter-spacing: 0.045em;
    min-height: 46px;
    padding-left: 14px;
    padding-right: 14px;
    text-align: left;
    width: 100%;
  }

  .site-header.is-nav-open nav > a[aria-current="page"],
  .site-header.is-nav-open .nav-dropdown:has(a[aria-current="page"]) .nav-dropdown-trigger,
  .site-header.is-nav-open .nav-dropdown.is-open .nav-dropdown-trigger {
    background: rgba(240, 90, 40, 0.11);
  }

  .site-header.is-nav-open .nav-menu,
  .site-header.is-nav-open .responsive-about-dropdown .nav-menu {
    background: rgba(255, 255, 255, 0.035);
    border: 0;
    border-radius: 13px;
    box-shadow: none;
    display: none;
    left: auto;
    min-width: 0;
    opacity: 1;
    padding: 3px;
    pointer-events: auto;
    position: static;
    right: auto;
    transform: none;
    width: 100%;
  }

  .site-header.is-nav-open .nav-dropdown.is-open .nav-menu {
    display: grid;
  }

  .site-header.is-nav-open .nav-menu a {
    border-radius: 10px;
    font-size: 0.66rem;
    min-height: 40px;
    padding: 0 12px;
  }

  .site-header.is-nav-open .mobile-menu-close {
    display: none !important;
  }
}

/* Awwwards-inspired motion with a small set of purposeful interactions. */
.site-header {
  transition:
    background 420ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 420ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 420ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
  view-transition-name: baseline-site-header;
}

.site-header.is-scrolled:not(.is-nav-open) {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.16), transparent 14rem),
    radial-gradient(circle at 74% 120%, rgba(240, 90, 40, 0.14), transparent 12rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.024)),
    rgba(6, 6, 7, 0.94);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    0 22px 72px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: translateX(-50%) translateY(-2px);
}

.site-scroll-progress {
  background: var(--orange);
  height: 2px;
  left: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  transform: scaleX(var(--site-scroll-progress, 0));
  transform-origin: left center;
  z-index: 120;
}

.has-crafted-motion .feature-list a,
.has-crafted-motion .training-catalog-card,
.has-crafted-motion .nutrition-capabilities > *,
.has-crafted-motion .gallery-grid figure {
  transition:
    border-color 280ms ease,
    box-shadow 320ms ease,
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.has-crafted-motion .feature-list a:hover,
.has-crafted-motion .training-catalog-card:hover,
.has-crafted-motion .nutrition-capabilities > *:hover,
.has-crafted-motion .gallery-grid figure:hover,
.has-crafted-motion .gallery-grid figure:focus-visible {
  border-color: rgba(240, 90, 40, 0.58);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
  transform: translateY(-2px);
}

.has-crafted-motion .gallery-grid figure img {
  transition: filter 360ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.has-crafted-motion .gallery-grid figure:hover img,
.has-crafted-motion .gallery-grid figure:focus-visible img {
  filter: brightness(1.06) saturate(1.03);
  transform: scale(1.012);
}

.has-crafted-motion .program-ecosystem-section .feature-list a {
  transition:
    background-position 700ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 280ms ease,
    box-shadow 320ms ease,
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.has-crafted-motion .program-ecosystem-section .feature-list a:hover {
  background-position: center, center, calc(50% + 8px) center;
}

@keyframes baseline-mobile-menu-in {
  from {
    clip-path: inset(0 0 100% 0 round 20px);
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes baseline-mobile-row-in {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }
}

@keyframes baseline-submenu-in {
  from {
    clip-path: inset(0 0 100% round 13px);
    opacity: 0;
    transform: translateY(-6px);
  }
}

@media (max-width: 520px) {
  .site-header.is-nav-open nav {
    animation: baseline-mobile-menu-in 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
    transform-origin: top right;
  }

  .site-header.is-nav-open nav > * {
    animation: baseline-mobile-row-in 440ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .site-header.is-nav-open nav > *:nth-child(2) {
    animation-delay: 45ms;
  }

  .site-header.is-nav-open nav > *:nth-child(3) {
    animation-delay: 90ms;
  }

  .site-header.is-nav-open .nav-dropdown.is-open .nav-menu {
    animation: baseline-submenu-in 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .site-header.is-nav-open .nav-dropdown.is-open .nav-menu a {
    animation: baseline-mobile-row-in 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .site-header.is-nav-open .nav-dropdown.is-open .nav-menu a:nth-child(2) {
    animation-delay: 32ms;
  }

  .site-header.is-nav-open .nav-dropdown.is-open .nav-menu a:nth-child(3) {
    animation-delay: 64ms;
  }

  .site-header.is-nav-open .nav-dropdown.is-open .nav-menu a:nth-child(4) {
    animation-delay: 96ms;
  }

  .site-header.is-nav-open .nav-dropdown.is-open .nav-menu a:nth-child(5) {
    animation-delay: 128ms;
  }
}

/* Aceternity-informed interaction layer, ported to the static site without changing its layout. */
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .motion-page-enter {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    transition:
      opacity 360ms ease,
      transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .motion-ready .motion-page-enter.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .has-scroll-craft .hero.has-scroll-media,
  .has-scroll-craft .page-hero.has-scroll-media {
    background-image: none !important;
  }

  .hero-scroll-media {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    inset: -3%;
    pointer-events: none;
    position: absolute;
    transform: translate3d(0, var(--hero-media-y, 0), 0) scale(var(--hero-media-scale, 1.012));
    transform-origin: center center;
    will-change: transform;
    z-index: 0;
  }

  .has-scroll-craft .hero-media img,
  .has-scroll-craft .hero-media video {
    transform: translate3d(0, var(--hero-media-y, 0), 0) scale(var(--hero-media-scale, 1));
    will-change: transform;
  }

  .has-scroll-craft .hero-copy,
  .has-scroll-craft .page-hero > :not(.hero-media):not(.hero-scroll-media) {
    transform: translate3d(0, var(--hero-copy-y, 0), 0);
    will-change: transform;
  }

  .has-scroll-craft main > section.panel:not(:first-child)::before {
    transform: scaleX(var(--section-accent-progress, 0));
    transform-origin: left center;
    will-change: transform;
  }

  .has-scroll-craft main > section:not(:first-child) > .section-heading {
    transform: translate3d(0, var(--section-heading-y, 0), 0);
    will-change: transform;
  }

  .scroll-media-target {
    transform: translate3d(0, var(--media-parallax-y, 0), 0) scale(1.045);
    transform-origin: center center;
    will-change: transform;
  }

  .has-scroll-craft .gallery-grid figure:hover .scroll-media-target,
  .has-scroll-craft .gallery-grid figure:focus-visible .scroll-media-target {
    filter: brightness(1.06) saturate(1.03);
    transform: translate3d(0, var(--media-parallax-y, 0), 0) scale(1.065);
  }

  .scroll-focus-rail > * {
    opacity: var(--rail-item-opacity, 1);
    scroll-snap-align: center !important;
    transform: scale(var(--rail-item-scale, 1));
    transform-origin: center center;
    transition:
      border-color 280ms ease,
      box-shadow 320ms ease,
      opacity 110ms linear,
      transform 110ms linear;
    will-change: transform, opacity;
  }

  .scroll-focus-rail::before,
  .scroll-focus-rail::after {
    content: "";
    flex: 0 0 auto;
    pointer-events: none;
  }

  .scroll-focus-rail::before {
    width: var(--rail-leading-space, 0px);
  }

  .scroll-focus-rail::after {
    width: var(--rail-trailing-space, 0px);
  }

  .scroll-focus-rail > .is-rail-focus {
    filter: saturate(1.04) brightness(1.025);
  }

  .scroll-focus-rail > *:hover,
  .scroll-focus-rail > *:focus-within {
    opacity: 1;
    transform: scale(var(--rail-item-scale, 1));
  }

  .motion-ready .motion-reveal {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition:
      opacity 420ms ease,
      transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .motion-ready .motion-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .motion-ready .motion-reveal .eyebrow,
  .motion-ready .motion-reveal h2,
  .motion-ready .motion-reveal .section-heading > p:not(.eyebrow) {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .motion-spotlight {
    --spotlight-x: 50%;
    --spotlight-y: 50%;
    isolation: isolate;
  }

  .motion-spotlight::after {
    background: radial-gradient(260px circle at var(--spotlight-x) var(--spotlight-y), rgba(240, 90, 40, 0.12), transparent 66%);
    content: "";
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity 320ms ease;
    z-index: 0;
  }

  .motion-spotlight:hover::after,
  .motion-spotlight:focus-within::after {
    opacity: 1;
  }

  .swipe-story-card .motion-spotlight::after {
    display: none;
  }

  .motion-spotlight > * {
    position: relative;
    z-index: 1;
  }

  .motion-magnetic {
    transform: translate3d(var(--magnetic-x, 0), var(--magnetic-y, 0), 0);
    transition:
      transform 460ms cubic-bezier(0.16, 1, 0.3, 1),
      border-color 160ms ease,
      background 160ms ease,
      color 160ms ease;
    will-change: transform;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header.is-nav-open nav,
  .site-header.is-nav-open nav > *,
  .site-header.is-nav-open .nav-dropdown.is-open .nav-menu,
  .site-header.is-nav-open .nav-dropdown.is-open .nav-menu a {
    animation: none !important;
  }

  .site-header.is-scrolled:not(.is-nav-open) {
    transform: translateX(-50%);
  }

  .site-scroll-progress {
    display: none;
  }

  .motion-reveal,
  .motion-page-enter,
  .motion-reveal .eyebrow,
  .motion-reveal h2,
  .motion-reveal .section-heading > p:not(.eyebrow),
  .motion-magnetic {
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-scroll-media,
  .hero-media img,
  .hero-media video,
  .scroll-media-target,
  .scroll-focus-rail > *,
  main > section > .section-heading {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  main > section.panel::before {
    transform: none !important;
  }
}

@media (max-width: 520px) {
  /* Match the desktop information architecture inside the phone menu. */
  .site-header,
  .site-header.is-nav-open {
    margin-top: 16px;
    width: calc(100vw - 32px);
  }

  .site-header .brand,
  .site-header.is-nav-open .brand {
    padding-left: 8px;
  }

  .site-header.is-nav-open .nav-dropdown-trigger::before {
    background:
      linear-gradient(currentColor, currentColor) center / 11px 2px no-repeat,
      linear-gradient(currentColor, currentColor) center / 2px 11px no-repeat;
    height: 11px;
    width: 11px;
  }

  .site-header.is-nav-open nav > a[href="/details"],
  .site-header.is-nav-open nav > a[href="/gallery"],
  .site-header.is-nav-open nav > a[href="/about"] {
    display: inline-flex;
  }

  .site-header.is-nav-open nav {
    left: 0;
    right: 0;
    width: 100%;
  }

  .site-header .responsive-about-dropdown,
  .site-header.is-nav-open .responsive-about-dropdown {
    display: none !important;
  }

  .training-page .academy-hero {
    background-position: 53% top;
  }

  .programs-page .page-hero {
    background-position: 47% top;
  }

  .student-hub-page .student-hub-hero {
    background-position: center top;
  }

  .nutrition-page .nutrition-page-hero {
    background-position: 72% center;
  }

  .details-page .details-hero {
    background-position: 58% center;
  }
}

/* Homepage system, Hub product proof, and Dhruv authority story. */
.home-page .hero .eyebrow {
  color: var(--orange) !important;
}

.home-page .hero > .hero-media {
  bottom: 0;
  height: 104%;
  inset: -4% 0 auto;
}

.home-showcase-heading {
  padding-bottom: 0;
}

.home-showcase-heading h2 {
  margin-bottom: 0;
}

.details-page > .details-location:first-child {
  margin-top: 0;
}

.details-section-heading h2 {
  margin-bottom: 0;
}

.details-includes-panel .details-includes-system,
.details-commercials-panel .details-summary {
  margin-top: 0;
}

.details-page .details-location .eyebrow {
  font-size: 0.72rem;
}

.details-page .details-location h1 {
  font-size: clamp(2.55rem, 5vw, 4.35rem);
  line-height: 0.9;
}

.details-page .details-location h1 span {
  display: block;
}

.details-page .commercials-supporting-copy {
  margin: 12px 0 0;
}

.details-page .details-commercials-heading,
.details-page .details-commercials-heading .section-heading {
  text-align: center;
}

.details-page .details-commercials-heading {
  padding-block: clamp(22px, 4vw, 38px);
}

.details-page .details-commercials-heading .section-heading {
  margin-left: auto;
  margin-right: auto;
}

.details-page .details-commercials-heading .commercials-supporting-copy {
  margin-left: auto;
  margin-right: auto;
}

.details-page .details-register-unframed {
  display: block;
  padding: 0;
}

.details-page .details-register-unframed .interest-form {
  padding: clamp(22px, 4vw, 38px);
  width: 100%;
}

.details-page .include-disclosure .tile-icon-image {
  filter: none;
  width: 28px;
  height: 28px;
}

.details-page .include-disclosure summary {
  grid-template-columns: 34px minmax(0, 1fr) 26px;
}

@media (max-width: 820px) {
  .details-page .include-disclosure summary {
    grid-template-columns: 34px minmax(0, 1fr) 12px;
  }
}

.details-page .location-map-link {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: none;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 950;
  gap: 10px;
  justify-content: center;
  letter-spacing: 0.07em;
  margin-top: 14px;
  min-height: 42px;
  padding: 12px 18px 11px;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.details-page .location-map-link img {
  flex: 0 0 auto;
  filter: none;
  height: 18px;
  width: 13px;
}

.details-page .location-map-link span {
  color: inherit;
}

.details-page .location-map-link:hover,
.details-page .location-map-link:focus-visible {
  border-color: rgba(240, 90, 40, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
}

.details-page .location-map-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.details-page .input-help {
  color: var(--muted);
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  margin-top: 7px;
  text-transform: none;
}

.details-page .interest-form input:invalid:not(:placeholder-shown) {
  border-color: rgba(240, 90, 40, 0.72);
}

.details-page .batch-disclosure strong {
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 0.92;
  margin: 0;
}

@media (max-width: 820px) {
  .details-page .batch-disclosure strong {
    font-size: 1.18rem;
    line-height: 1;
  }
}

@media (min-width: 821px) {
  .details-page [data-default-collapsed] .details-disclosure summary {
    cursor: pointer;
    padding-right: 54px;
    pointer-events: auto;
    position: relative;
  }

  .details-page .batch-detail-grid[data-default-collapsed] .details-disclosure summary {
    min-height: 124px;
  }

  .details-page .details-includes-system[data-default-collapsed] .details-disclosure summary {
    min-height: 96px;
  }

  .details-page [data-default-collapsed] .details-disclosure-toggle {
    background: transparent;
    border: 0;
    border-radius: 0;
    display: block;
    height: 12px;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
  }

  .details-page [data-default-collapsed] .details-disclosure-toggle::before {
    background: transparent;
    border-bottom: 2px solid var(--orange);
    border-right: 2px solid var(--orange);
    content: "";
    height: 9px;
    left: 0;
    position: absolute;
    top: 0;
    transform: rotate(45deg);
    transition: transform 220ms ease;
    width: 9px;
  }

  .details-page [data-default-collapsed] .details-disclosure-toggle::after {
    display: none;
  }

  .details-page [data-default-collapsed] .details-disclosure[open] .details-disclosure-toggle::before {
    transform: rotate(225deg);
  }
}

.details-page .interest-form {
  grid-template-columns: minmax(0, 1fr);
}

.details-page .details-form-heading {
  grid-column: 1 / -1;
  max-width: none;
  padding-bottom: 4px;
}

.details-page .details-form-heading h2 {
  margin-bottom: 0;
}

.details-page #join-baseline {
  scroll-margin-top: 100px;
}

.home-dhruv-heading h2 span {
  display: block;
}

.home-section-copy > p:not(.eyebrow) {
  color: #d7d7d9;
  line-height: 1.52;
}

.home-showcase-card .home-section-copy {
  padding-bottom: 5px;
}

.home-section-rail {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  width: 100%;
}

.home-section-action {
  align-self: flex-start;
  margin-top: 0;
}

.home-showcase-carousel,
.home-showcase-track {
  display: contents;
}

.home-carousel-progress {
  display: none;
}

.home-student-hub-section {
  align-items: stretch;
  display: grid;
  gap: clamp(20px, 3.5vw, 38px);
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
}

.hub-workout-preview {
  background: #060606;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  isolation: isolate;
  margin: 0;
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.hub-workout-preview::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.84) 42%, rgba(0, 0, 0, 0.2) 72%, rgba(0, 0, 0, 0.04)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.12) 70%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.hub-workout-preview > img {
  filter: brightness(1.02) contrast(1.06) saturate(1.04);
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 52% center;
  position: absolute;
  transform: scale(1.015);
  width: 100%;
  z-index: -2;
}

.hub-workout-preview-content {
  bottom: 24px;
  left: 24px;
  max-width: calc(100% - 48px);
  position: absolute;
  right: 24px;
  z-index: 1;
}

.hub-workout-preview-content .eyebrow {
  margin-bottom: 10px;
}

.hub-workout-preview-content h3 {
  font-size: clamp(3.1rem, 5.3vw, 4.75rem);
  line-height: 0.82;
  margin-bottom: 12px;
  max-width: 430px;
}

.hub-workout-preview-content h3 span {
  display: block;
}

.hub-workout-preview-content > p:not(.eyebrow) {
  color: #e2e2e4;
  font-size: 0.86rem;
  line-height: 1.42;
  margin-bottom: 0;
  max-width: 390px;
}

.hub-workout-meta {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.hub-workout-meta > span {
  background: rgba(0, 0, 0, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  min-width: 0;
  padding: 10px;
  backdrop-filter: blur(12px);
}

.hub-workout-meta small,
.hub-workout-meta strong {
  display: block;
  min-width: 0;
}

.hub-workout-meta small {
  color: var(--muted);
  font-size: 0.54rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.hub-workout-meta strong {
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.home-student-hub-content {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.home-student-hub-content .home-section-copy h2 {
  max-width: 560px;
}

.home-dhruv-section > div,
.home-dhruv-section .program-credentials {
  min-width: 0;
  width: 100%;
}

@media (max-width: 820px) {
  .home-dhruv-heading h2 {
    font-size: clamp(1.9rem, 10vw, 4.1rem);
  }

  .home-dhruv-section {
    min-height: clamp(500px, 70vw, 530px);
  }

  .home-dhruv-section::after {
    background:
      linear-gradient(90deg, rgba(3, 3, 3, 0.62) 0%, rgba(3, 3, 3, 0.42) 34%, rgba(3, 3, 3, 0.16) 66%, transparent 100%),
      linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0.98) 28%, rgba(5, 5, 5, 0.88) 42%, rgba(5, 5, 5, 0.3) 54%, rgba(5, 5, 5, 0.06) 65%, transparent 75%);
  }

  .home-carousel-progress {
    align-items: center;
    display: flex;
    gap: 6px;
    justify-content: center;
    margin: 12px auto 0;
    max-width: 164px;
    min-height: 10px;
    width: 100%;
  }

  .home-carousel-progress span {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    flex: 1 1 0;
    height: 2px;
    transition: background-color 220ms ease, transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .home-carousel-progress span.is-active {
    background: var(--orange);
    transform: scaleY(1.75);
  }

  .home-showcase-carousel {
    display: block;
    margin-top: 18px;
    min-width: 0;
  }

  .home-showcase-track {
    align-items: stretch;
    display: flex;
    gap: 12px;
    margin-left: -10px;
    margin-right: -10px;
    overflow-x: auto;
    padding: 4px 10px 6px;
    scroll-padding-inline: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .home-showcase-track::-webkit-scrollbar {
    display: none;
  }

  .home-showcase-track > .section {
    flex: 0 0 min(88vw, 700px);
    margin-top: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .home-showcase-track:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 4px;
  }

  .home-showcase-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .home-showcase-card .mobile-story-media {
    aspect-ratio: 16 / 10;
    background: #080808;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    display: block;
    flex: 0 0 auto;
    margin: 0;
    overflow: hidden;
    position: relative;
  }

  .home-showcase-card .mobile-story-media::after {
    background: linear-gradient(180deg, transparent 54%, rgba(3, 3, 3, 0.34));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
  }

  .home-showcase-card .mobile-story-media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
  }

  .mobile-story-training-programs img {
    object-position: center 45%;
  }

  .mobile-story-ball-handling img {
    object-position: 48% center;
  }

  .mobile-story-nutrition img {
    object-position: 72% center;
  }

  .hub-workout-preview {
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    flex: 0 0 auto;
    min-height: 0;
    width: 100%;
  }

  .home-student-hub-content {
    align-self: stretch;
    gap: 14px;
  }

  .home-showcase-card .stat-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-showcase-card .stat-list div:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .home-showcase-card .stat-list div:nth-last-child(2) {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .home-page .hero > .hero-media {
    height: 104%;
    inset: -4% 0 auto;
  }

  .home-section-rail {
    gap: 13px;
  }

  .home-section-action {
    align-self: stretch;
    justify-content: center;
    width: 100%;
  }

  .home-showcase-card {
    gap: 12px;
    padding-bottom: 18px;
    padding-top: 18px;
  }

  .home-showcase-card .home-section-copy .eyebrow {
    font-size: 0.58rem;
    margin-bottom: 7px;
  }

  .home-showcase-card .home-section-copy h2 {
    font-size: clamp(2.1rem, 9.2vw, 2.35rem);
    line-height: 0.88;
    margin-bottom: 8px;
  }

  .home-showcase-card .home-section-copy > p:last-child {
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 0;
  }

  .home-showcase-card .home-section-rail,
  .home-showcase-card .home-student-hub-content {
    gap: 10px;
  }

  .home-showcase-card .stat-list > div {
    padding: 14px 12px;
  }

  .home-showcase-card .stat-list strong {
    font-size: 1.7rem;
    line-height: 0.9;
    margin-bottom: 5px;
  }

  .home-showcase-card .stat-list span {
    font-size: 0.58rem;
    line-height: 1.15;
    margin-bottom: 0;
  }

  .hub-workout-preview {
    min-height: 0;
  }

  .hub-workout-preview-content {
    bottom: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    right: 12px;
  }

  .hub-workout-preview-content .eyebrow {
    font-size: 0.52rem;
    margin-bottom: 5px;
  }

  .hub-workout-preview-content h3 {
    font-size: clamp(1.9rem, 9.5vw, 2.35rem);
    margin-bottom: 6px;
  }

  .hub-workout-preview-content > p:not(.eyebrow) {
    display: -webkit-box;
    font-size: 0.62rem;
    line-height: 1.3;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .hub-workout-meta {
    gap: 4px;
    margin-top: 8px;
  }

  .hub-workout-meta > span {
    border-radius: 8px;
    padding: 6px;
  }

  .hub-workout-meta small {
    font-size: 0.42rem;
    margin-bottom: 3px;
  }

  .hub-workout-meta strong {
    font-size: 0.57rem;
    line-height: 1;
  }

  .home-dhruv-section .program-credentials {
    max-width: 100%;
  }

}

@media (max-width: 360px) {
  .home-showcase-card > .mobile-story-media,
  .home-showcase-card > .hub-workout-preview {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 820px) {
  .motion-ready .motion-reveal,
  .motion-ready .motion-reveal.is-visible {
    clip-path: none;
  }
}

/* One interaction language for every primary and dropdown navigation item. */
.site-header nav > a,
.site-header .nav-dropdown-trigger,
.site-header .nav-menu a {
  box-sizing: border-box;
  transform-origin: center;
  transition:
    background-color 240ms ease,
    box-shadow 280ms ease,
    color 220ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header nav > a:hover,
.site-header .nav-dropdown-trigger:hover,
.site-header .nav-menu a:hover,
.site-header nav > a:focus-visible,
.site-header .nav-dropdown-trigger:focus-visible,
.site-header .nav-menu a:focus-visible {
  background-color: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateY(-1px);
}

.site-header nav > a:active,
.site-header .nav-dropdown-trigger:active,
.site-header .nav-menu a:active {
  transform: scale(0.985);
  transition-duration: 90ms;
}

.site-header .nav-menu,
.site-header.is-nav-open .nav-menu {
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  justify-items: stretch;
}

.site-header .nav-menu a,
.site-header.is-nav-open .nav-menu a {
  justify-self: stretch;
  max-width: none;
  width: 100%;
}

@media (max-width: 520px) {
  .site-header.is-nav-open .nav-menu,
  .site-header.is-nav-open .nav-dropdown.is-open .nav-menu {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    justify-items: stretch;
  }

  .site-header.is-nav-open nav > a,
  .site-header.is-nav-open .nav-dropdown-trigger,
  .site-header.is-nav-open .nav-menu a {
    max-width: none;
    width: 100%;
  }

  .site-header.is-nav-open nav > a[aria-current="page"],
  .site-header.is-nav-open .nav-dropdown:has(a[aria-current="page"]) .nav-dropdown-trigger,
  .site-header.is-nav-open .nav-dropdown.is-open .nav-dropdown-trigger,
  .site-header.is-nav-open .nav-menu a[aria-current="page"] {
    background-color: rgba(240, 90, 40, 0.11);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 8px 24px rgba(0, 0, 0, 0.12);
    color: #ffffff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header nav > a,
  .site-header .nav-dropdown-trigger,
  .site-header .nav-menu a,
  .site-header nav > a:hover,
  .site-header .nav-dropdown-trigger:hover,
  .site-header .nav-menu a:hover,
  .site-header nav > a:focus-visible,
  .site-header .nav-dropdown-trigger:focus-visible,
  .site-header .nav-menu a:focus-visible,
  .site-header nav > a:active,
  .site-header .nav-dropdown-trigger:active,
  .site-header .nav-menu a:active {
    transform: none !important;
    transition-duration: 0ms;
  }
}

/* Dhruv's experience is a descriptive horizontal rail, not an action grid. */
.about-page .about-credentials-section .about-credentials {
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  gap: 12px;
  grid-template-columns: none;
  margin-top: 20px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.about-page .about-credentials-section .about-credentials::-webkit-scrollbar {
  display: none;
}

.about-page .about-credentials-section .about-credentials article,
.about-page .about-credentials-section .about-credentials article:nth-child(n),
.about-page .about-credentials-section .about-credentials article:nth-child(odd),
.about-page .about-credentials-section .about-credentials article:nth-child(even) {
  align-items: flex-start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  flex: 0 0 clamp(265px, 31%, 340px);
  justify-content: flex-start;
  min-height: 214px;
  padding: 20px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.about-page .about-credentials-section .about-credentials h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  margin-bottom: 10px;
}

.about-page .about-credentials-section .about-credentials p {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  line-height: 1.42;
  margin: 0;
}

.about-page .credential-rail-progress {
  display: flex;
  max-width: 220px;
}

@media (max-width: 820px) {
  .about-page .about-credentials-section .about-credentials {
    margin-left: -22px;
    margin-right: -22px;
    padding: 4px 22px 10px;
    scroll-padding-inline: 22px;
  }

  .about-page .about-credentials-section .about-credentials article,
  .about-page .about-credentials-section .about-credentials article:nth-child(n) {
    flex-basis: 86%;
    min-height: 198px;
    padding: 18px;
  }

  .about-page .about-credentials-section .about-credentials h3 {
    font-size: clamp(1.5rem, 7vw, 1.9rem);
  }

  .about-page .about-credentials-section .about-credentials p {
    font-size: 0.84rem;
    line-height: 1.44;
  }
}

/* Final page-specific geometry: retain the current bottom inset above the Gallery hero too. */
.gallery-hero,
main > .gallery-hero.page-hero {
  min-height: 0;
  place-content: start;
}

/* Final footer signature sizing must follow the later responsive footer defaults. */
.site-footer {
  padding-bottom: 18px;
}

/* Final About spacing override: align the credential rail with the 18px section rhythm. */
.about-page .about-credentials-unframed .about-credentials {
  margin-top: 0;
}

@media (max-width: 520px) {
  .mobile-nav-toggle,
  .site-header.is-nav-open .mobile-nav-toggle {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-header,
  .site-header.is-nav-open {
    align-content: center;
    left: 50%;
    margin-left: 0;
    margin-right: 0;
    right: auto;
  }

  .mobile-nav-toggle span,
  .mobile-nav-toggle span::before,
  .mobile-nav-toggle span::after {
    width: 24px;
  }

  .mobile-nav-toggle span {
    transform: translateX(-1.5px);
  }
}

.footer-bottom > p:first-child::after {
  content: "TM";
  display: inline-block;
  font-size: 0.46em;
  line-height: 1;
  margin-left: 3px;
  transform: none;
  vertical-align: text-top;
}

@media (max-width: 520px) {
  .mobile-nav-toggle span::before {
    transform: translateY(-8px);
  }

  .mobile-nav-toggle span::after {
    transform: translateY(8px);
  }

  .site-header.is-nav-open .mobile-nav-toggle span::before {
    transform: rotate(45deg);
  }

  .site-header.is-nav-open .mobile-nav-toggle span::after {
    transform: rotate(-45deg);
  }
}

/* Academy-derived public product pages: one hero and two synchronized story rails. */
.academy-template-page .academy-template-hero {
  gap: clamp(18px, 3vw, 30px);
}

.academy-template-page .academy-template-hero .image-panel,
.academy-template-page .academy-template-hero .image-panel img {
  min-height: 380px;
}

.academy-template-page .academy-template-hero .image-panel img {
  filter: saturate(0.98) contrast(1.04) brightness(0.98);
}

.academy-template-page .academy-template-hero h1 {
  font-size: clamp(3.1rem, 6vw, 5.45rem);
  margin-bottom: 10px;
}

.academy-template-page .academy-template-hero > div > p:not(.eyebrow) {
  font-size: 0.92rem;
  line-height: 1.48;
  margin-bottom: 0;
  max-width: 540px;
}

.academy-template-page .training-section-heading h2 {
  margin-bottom: 0;
}

.academy-template-page .academy-showcase-panel {
  align-items: stretch;
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  padding: clamp(18px, 3vw, 30px);
}

.academy-template-page .swipe-preview-media {
  align-items: center;
  align-self: stretch;
  background:
    radial-gradient(circle at 50% 34%, rgba(240, 90, 40, 0.09), transparent 48%),
    #070707;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  margin: 0;
  min-height: 540px;
  overflow: hidden;
  position: relative;
}

.academy-template-page .swipe-preview-media::after {
  background: linear-gradient(0deg, rgba(3, 3, 3, 0.18), transparent 42%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.academy-template-page .academy-screen-preview img {
  height: min(500px, calc(100% - 34px));
  max-width: calc(100% - 34px);
  object-fit: contain;
  width: auto;
}

.academy-template-page .academy-photo-preview img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.academy-template-page .academy-swipe-rail {
  align-items: stretch;
  display: flex;
  gap: 12px;
  min-width: 0;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.academy-template-page .academy-swipe-rail::-webkit-scrollbar {
  display: none;
}

.academy-template-page .academy-swipe-rail > article {
  --tile-accent: var(--orange);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)),
    var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  flex: 0 0 54%;
  min-height: 210px;
  min-width: 0;
  overflow: hidden;
  padding: 22px;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: border-color 180ms ease, background 180ms ease, transform 220ms ease, opacity 220ms ease;
}

.academy-template-page .academy-swipe-rail > article::before {
  background: var(--tile-accent);
  content: "";
  height: 3px;
  left: 18px;
  position: absolute;
  top: 0;
  width: 64px;
}

.academy-template-page .academy-swipe-rail > article.is-rail-focus {
  border-color: rgba(240, 90, 40, 0.48);
}

.academy-template-page .academy-swipe-rail > article > span {
  color: var(--orange);
  display: block;
  font-family: var(--heading-font);
  font-size: 2.15rem;
  line-height: 1;
  margin-bottom: 18px;
}

.academy-template-page .academy-swipe-rail h3 {
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  margin-bottom: 9px;
}

.academy-template-page .academy-swipe-rail p {
  font-size: 0.88rem;
  line-height: 1.48;
  margin: 0;
}

.academy-template-page .academy-card-title-row {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.academy-template-page .academy-card-title-row h3 {
  margin-bottom: 9px;
}

.academy-template-page .academy-card-title-row strong {
  border: 1px solid rgba(240, 90, 40, 0.5);
  border-radius: 999px;
  color: var(--orange-light);
  flex: 0 0 auto;
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  padding: 6px 8px 5px;
  text-transform: uppercase;
}

.academy-template-page .academy-rail-progress {
  align-items: center;
  align-self: end;
  display: flex;
  gap: 6px;
  grid-column: 2;
  justify-content: center;
  margin: 0 auto;
  max-width: 164px;
  min-height: 10px;
  width: 100%;
}

.academy-template-page .academy-rail-progress span {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  flex: 1 1 0;
  height: 2px;
  transition: background-color 220ms ease, transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.academy-template-page .academy-rail-progress span.is-active {
  background: var(--orange);
  transform: scaleY(1.75);
}

.academy-template-page .academy-swipe-rail:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

/* Keep Nutrition's supplied Hub captures compact after the shared template rules. */
.nutrition-page .nutrition-story-preview img {
  height: min(430px, calc(100% - 34px));
  position: relative;
  z-index: 1;
}

.student-hub-page .academy-template-hero .image-panel img {
  object-position: center 24%;
}

.nutrition-page .academy-template-hero .image-panel img {
  object-position: 68% center;
}

.programs-page .academy-template-hero .image-panel img {
  object-position: center 42%;
}

@media (max-width: 820px) {
  .academy-template-page main > .academy-template-hero:first-child {
    margin-top: 0;
  }

  .academy-template-page .academy-template-hero {
    gap: 16px;
    padding: 18px;
  }

  .academy-template-page .academy-template-hero .image-panel,
  .academy-template-page .academy-template-hero .image-panel img {
    height: 210px;
    min-height: 210px;
  }

  .academy-template-page .academy-template-hero h1 {
    font-size: clamp(2.55rem, 12vw, 4.1rem);
    margin-bottom: 8px;
  }

  .academy-template-page .academy-template-hero > div > p:not(.eyebrow) {
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .academy-template-page .academy-template-hero .focused-batch-pills {
    gap: 7px;
    margin-top: 12px;
  }

  .academy-template-page .academy-template-hero .focused-batch-pills span {
    font-size: 0.62rem;
    padding: 8px 10px 7px;
  }

  .academy-template-page .academy-showcase-panel {
    display: block;
    padding: 18px;
  }

  .academy-template-page .swipe-preview-media {
    min-height: 0;
    width: 100%;
  }

  .academy-template-page .academy-screen-preview {
    height: min(64svh, 570px);
  }

  .academy-template-page .academy-screen-preview img {
    height: calc(100% - 28px);
    max-width: calc(100% - 28px);
  }

  .academy-template-page .academy-photo-preview {
    aspect-ratio: 16 / 10;
  }

  .academy-template-page .academy-swipe-rail {
    margin-left: 0;
    margin-right: 0;
    padding: 16px 0 8px;
    scroll-padding-inline: 0;
  }

  .academy-template-page .academy-swipe-rail > article {
    flex-basis: 88%;
    min-height: 180px;
    padding: 18px;
  }

  .academy-template-page .academy-swipe-rail > article > span {
    font-size: 1.8rem;
    margin-bottom: 14px;
  }

  .academy-template-page .academy-swipe-rail h3 {
    font-size: clamp(1.55rem, 7vw, 1.95rem);
  }

  .academy-template-page .academy-swipe-rail p {
    font-size: 0.84rem;
    line-height: 1.44;
  }

  .academy-template-page .academy-rail-progress {
    margin-top: 8px;
  }

}

@media (max-width: 520px) {
  .academy-template-page .academy-template-hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.35rem);
  }

  .academy-template-page .academy-screen-preview {
    height: min(61svh, 515px);
  }

  .academy-template-page .academy-card-title-row {
    display: block;
  }

  .academy-template-page .academy-card-title-row strong {
    display: inline-flex;
    margin-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .academy-template-page .academy-swipe-rail > article,
  .academy-template-page .academy-rail-progress span {
    transform: none !important;
    transition-duration: 0ms;
  }

  .swipe-story-card > :is(.academy-swipe-rail, .three-column, .feature-list) {
    transition-duration: 0ms !important;
  }
}

/* Keep each Inside the Hub card's module color above shared active-card rules. */
.academy-template-page.student-hub-page .student-hub-story-rail > article:is(
  .hub-area-dashboard,
  .hub-area-programs,
  .hub-area-nutrition,
  .hub-area-calendar
),
.academy-template-page.student-hub-page .student-hub-story-rail > article:is(
  .hub-area-dashboard,
  .hub-area-programs,
  .hub-area-nutrition,
  .hub-area-calendar
).is-rail-focus {
  border-color: rgb(var(--hub-area-color));
}

.academy-template-page.student-hub-page .student-hub-story-rail > article:is(
  .hub-area-dashboard,
  .hub-area-programs,
  .hub-area-nutrition,
  .hub-area-calendar
) > span {
  color: rgb(var(--hub-area-color));
}

/* Synchronized stories: image, copy rail, and progress now read as one cohesive card. */
.swipe-story-card {
  --story-card-line: rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at 8% 8%, rgba(240, 90, 40, 0.07), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.014) 58%),
    #080809;
  display: grid !important;
  gap: 0 !important;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr) !important;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
  overflow: hidden;
  padding: 0 !important;
}

.swipe-story-card > .swipe-preview-media {
  align-items: center;
  align-self: stretch;
  border: 0 !important;
  border-radius: 0 !important;
  border-right: 1px solid var(--story-card-line) !important;
  display: flex;
  grid-column: 1;
  grid-row: 1 / 4;
  justify-content: center;
  margin: 0 !important;
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.swipe-story-card > .swipe-preview-media[role="button"] {
  cursor: zoom-in;
  touch-action: pan-y;
  user-select: none;
}

.swipe-story-card > .swipe-preview-media[role="button"]:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -5px;
}

body.swipe-lightbox-open {
  overflow: hidden;
}

.swipe-lightbox {
  background: rgba(3, 3, 3, 0.94);
  border: 0;
  color: var(--white);
  cursor: zoom-out;
  height: 100vh;
  height: 100dvh;
  inset: 0;
  margin: 0;
  max-height: none;
  max-width: none;
  padding: clamp(18px, 4vw, 48px);
  position: fixed;
  width: 100vw;
}

.swipe-lightbox[open] {
  display: grid;
  place-items: center;
}

.swipe-lightbox::backdrop {
  background: rgba(3, 3, 3, 0.88);
  backdrop-filter: blur(14px);
}

.swipe-lightbox-stage {
  display: inline-grid;
  max-height: calc(100dvh - 116px);
  max-width: calc(100vw - 40px);
  place-items: center;
  position: relative;
  width: fit-content;
}

.swipe-lightbox img {
  border-radius: clamp(10px, 2vw, 18px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.72);
  max-height: calc(100dvh - 116px);
  max-width: calc(100vw - 40px);
  object-fit: contain;
  pointer-events: none;
}

.swipe-lightbox-close {
  align-items: center;
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.38);
  color: var(--white);
  display: flex;
  height: 42px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 0;
  top: -54px;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
  width: 42px;
  z-index: 2;
}

.swipe-lightbox-close > span {
  display: block;
  height: 16px;
  position: relative;
  width: 16px;
}

.swipe-lightbox-close > span::before,
.swipe-lightbox-close > span::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  height: 2px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 16px;
}

.swipe-lightbox-close > span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.swipe-lightbox-close > span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.swipe-lightbox-close:hover,
.swipe-lightbox-close:focus-visible {
  background: var(--orange);
  border-color: var(--orange);
  outline: none;
  transform: translateY(-1px);
}

.training-page .swipe-story-card > .swipe-preview-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.swipe-story-cue {
  align-items: center;
  border-bottom: 1px solid var(--story-card-line);
  color: var(--muted);
  display: flex;
  font-size: 0.66rem;
  font-weight: 700;
  gap: 14px;
  grid-column: 2;
  grid-row: 1;
  justify-content: space-between;
  letter-spacing: 0.12em;
  margin: 0;
  padding: 19px 32px 16px;
  text-transform: uppercase;
}

.swipe-story-cue > span:first-child {
  color: var(--muted);
}

.swipe-story-cue > span:last-child {
  align-items: center;
  color: var(--orange-light);
  display: inline-flex;
  gap: 8px;
  text-align: right;
}

.swipe-story-cue > span:last-child > span {
  color: var(--orange);
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  transform: translateY(-1px);
}

.swipe-story-card > :is(.academy-swipe-rail, .three-column, .feature-list) {
  align-items: stretch;
  display: flex !important;
  gap: 40px !important;
  grid-column: 2;
  grid-row: 2;
  margin: 0 !important;
  min-width: 0;
  overscroll-behavior-x: none;
  overflow-x: auto;
  padding: 0 40px 8px !important;
  scroll-padding-inline: 40px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}

.swipe-story-card > :is(.academy-swipe-rail, .three-column, .feature-list)::-webkit-scrollbar {
  display: none;
}

.swipe-story-card > :is(.academy-swipe-rail, .three-column, .feature-list) > article {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 0 0 100% !important;
  height: auto !important;
  min-height: 230px !important;
  padding: 32px 0 28px !important;
  scroll-snap-align: center !important;
  scroll-snap-stop: always;
  width: 100%;
}

.swipe-story-card > :is(.academy-swipe-rail, .three-column, .feature-list) > article::before {
  background: var(--tile-accent, var(--orange));
  border-radius: 999px;
  height: 2px;
  left: 0;
  top: 18px;
  width: 52px;
}

.swipe-story-card > .academy-rail-progress {
  align-items: center;
  display: flex;
  gap: 6px;
  grid-column: 2;
  grid-row: 3;
  justify-content: center;
  margin: 0 40px 24px !important;
  max-width: none;
  min-height: 10px;
  width: auto;
}

.swipe-story-card > .academy-rail-progress span {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  flex: 1 1 0;
  height: 2px;
  transition:
    background-color 180ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.swipe-story-card > .academy-rail-progress span.is-active {
  background: var(--orange);
  transform: scaleY(1.75);
}

@media (max-width: 820px) {
  .swipe-story-card {
    display: block !important;
  }

  .swipe-story-card > .swipe-preview-media {
    border-bottom: 1px solid var(--story-card-line) !important;
    border-right: 0 !important;
    margin: 0 !important;
    min-height: 0;
    width: 100%;
  }

  .training-page .swipe-story-card > .swipe-preview-media {
    aspect-ratio: 16 / 10;
    height: auto !important;
  }

  .academy-template-page .swipe-story-card > .academy-screen-preview {
    height: min(54svh, 460px);
  }

  .student-hub-page .swipe-story-card > .student-hub-story-preview {
    height: min(43svh, 350px);
  }

  .swipe-story-cue {
    border-bottom: 1px solid var(--story-card-line);
    font-size: 0.58rem;
    gap: 8px;
    padding: 13px 32px 11px;
  }

  .swipe-story-card > :is(.academy-swipe-rail, .three-column, .feature-list) {
    align-items: flex-start;
    gap: 32px !important;
    height: var(--swipe-active-rail-height);
    margin: 0 !important;
    overflow-y: hidden;
    padding: 0 32px 4px !important;
    scroll-padding-inline: 32px;
    transition: height 220ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .swipe-story-card > :is(.academy-swipe-rail, .three-column, .feature-list) > article {
    flex-basis: 100% !important;
    min-height: 0 !important;
    padding: 29px 0 18px !important;
  }

  .swipe-story-card > :is(.academy-swipe-rail, .three-column, .feature-list) > article::before {
    top: 15px;
  }

  .swipe-story-card > .academy-rail-progress {
    margin: 0 32px 18px !important;
    width: auto;
  }
}

@media (max-width: 380px) {
  .swipe-story-cue > span:last-child {
    max-width: 145px;
  }
}

/* Temporary image editor output. These custom properties are written only to the picture selected for update. */
img[data-site-image-settings="true"] {
  object-fit: var(--site-image-desktop-fit, cover) !important;
  object-position: calc(var(--site-image-desktop-x, 50) * 1%) calc(var(--site-image-desktop-y, 50) * 1%) !important;
  scale: var(--site-image-desktop-zoom, 1);
  translate: calc(var(--site-image-desktop-move-x, 0) * 1%) calc(var(--site-image-desktop-move-y, 0) * 1%);
  transform-origin:
    calc(var(--site-image-desktop-x, 50) * 1%)
    calc(var(--site-image-desktop-y, 50) * 1%);
}

@media (max-width: 820px) {
  img[data-site-image-settings="true"] {
    object-fit: var(--site-image-mobile-fit, cover) !important;
    object-position: calc(var(--site-image-mobile-x, 50) * 1%) calc(var(--site-image-mobile-y, 50) * 1%) !important;
    scale: var(--site-image-mobile-zoom, 1);
    translate: calc(var(--site-image-mobile-move-x, 0) * 1%) calc(var(--site-image-mobile-move-y, 0) * 1%);
    transform-origin:
      calc(var(--site-image-mobile-x, 50) * 1%)
      calc(var(--site-image-mobile-y, 50) * 1%);
  }
}

/* Mobile and tablet: centered menu typography with a restrained Login accent. */
@media (max-width: 820px) {
  .site-header nav > a,
  .site-header .nav-dropdown-trigger {
    justify-content: center;
    letter-spacing: 0.14em;
    text-align: center;
  }

  .site-header nav > .login-link,
  .site-header nav > .login-link[aria-current="page"],
  .site-header.is-nav-open nav > .login-link,
  .site-header.is-nav-open nav > .login-link[aria-current="page"] {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--orange);
    margin: 0;
  }

  .site-header nav > .login-link:hover,
  .site-header nav > .login-link:focus-visible,
  .site-header nav > .login-link:active,
  .site-header.is-nav-open nav > .login-link:hover,
  .site-header.is-nav-open nav > .login-link:focus-visible,
  .site-header.is-nav-open nav > .login-link:active {
    color: var(--orange);
  }

  .site-header nav > .login-link::after {
    content: none;
  }
}

@media (max-width: 520px) {
  .site-header.is-nav-open nav > a,
  .site-header.is-nav-open .nav-dropdown-trigger {
    justify-content: center;
    letter-spacing: 0.16em;
    text-align: center;
  }

  .site-header.is-nav-open .nav-menu a {
    justify-content: center;
    letter-spacing: 0.11em;
    text-align: center;
  }

  .site-header.is-nav-open nav > .login-link,
  .site-header.is-nav-open nav > .login-link[aria-current="page"] {
    border-radius: 13px;
    min-height: 46px;
    padding: 0 14px;
  }

  .site-header.is-nav-open nav > .login-link:hover,
  .site-header.is-nav-open nav > .login-link:focus-visible {
    background: rgba(255, 255, 255, 0.075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
}

/* Mobile/tablet menu: uniform centered tracking and Program control spacing. */
@media (max-width: 820px) {
  .site-header.is-nav-open nav > a,
  .site-header.is-nav-open .nav-dropdown-trigger {
    justify-content: center;
    letter-spacing: 0.20em;
    text-align: center;
  }

  .site-header.is-nav-open nav > .login-link,
  .site-header.is-nav-open nav > .login-link[aria-current="page"] {
    justify-content: center;
    justify-self: stretch;
    letter-spacing: 0.20em;
    text-align: center;
    width: 100%;
  }

  .site-header.is-nav-open .nav-dropdown-trigger {
    gap: 9px;
  }
}

@media (min-width: 521px) and (max-width: 820px) {
  .site-header.is-nav-open .nav-dropdown-trigger::before {
    background:
      linear-gradient(currentColor, currentColor) center / 7px 2px no-repeat,
      linear-gradient(currentColor, currentColor) center / 2px 7px no-repeat;
    height: 7px;
    width: 7px;
  }
}

/* Shared page gutters: keep tile borders comfortably clear of the viewport. */
main,
.site-footer {
  padding-left: clamp(30px, 3vw, 40px);
  padding-right: clamp(30px, 3vw, 40px);
}

main {
  padding-top: 110px;
}

@media (min-width: 821px) {
  .site-header {
    width: calc(100% - clamp(60px, 6vw, 80px));
  }
}

@media (max-width: 820px) {
  main,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-header,
  .site-header.is-nav-open {
    width: calc(100% - 36px);
  }
}

@media (max-width: 380px) {
  main,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-header,
  .site-header.is-nav-open {
    width: calc(100% - 32px);
  }
}

@media (max-width: 720px) {
  main {
    padding-top: 98px;
  }
}

/* Training Programs: compact, informational lineup rail. */
.programs-page .program-lineup-section {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  padding: clamp(22px, 4vw, 38px) 0 0;
}

.programs-page .program-lineup-header {
  display: block;
}

.programs-page .program-lineup-header .section-heading {
  max-width: 760px;
}

.programs-page .program-lineup-header h2 {
  margin-bottom: 0;
}

.programs-page .program-lineup-rail {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  margin: 20px 0 0;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.programs-page .program-lineup-rail::-webkit-scrollbar {
  display: none;
}

.programs-page .program-lineup-rail .training-catalog-card {
  align-items: flex-start;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--program-accent) 14%, #111113),
      color-mix(in srgb, var(--program-accent) 5%, #0b0b0c)
    );
  border: 1px solid color-mix(in srgb, var(--program-accent) 44%, var(--line));
  border-radius: var(--radius-lg);
  box-shadow: none;
  display: flex;
  flex: 0 0 clamp(265px, 31%, 340px);
  flex-direction: column;
  gap: 0;
  justify-content: flex-start;
  min-height: auto;
  padding: 20px 20px 24px;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transform: none;
  transition: none;
}

.programs-page .program-lineup-rail .training-catalog-number {
  flex: 0 0 auto;
  font-size: 1.45rem;
  margin: 0 0 14px;
}

.programs-page .program-lineup-rail .training-catalog-card > div {
  width: 100%;
}

.programs-page .program-lineup-rail .training-catalog-title-row {
  align-items: flex-start;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 100%;
}

.programs-page .program-lineup-rail .training-catalog-title-row h3,
.programs-page .program-lineup-rail .training-catalog-card.is-coming-soon h3 {
  color: var(--white);
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  line-height: 0.96;
  margin: 0 0 10px;
}

.programs-page .program-lineup-rail .training-catalog-card p,
.programs-page .program-lineup-rail .training-catalog-card.is-coming-soon p {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  line-height: 1.42;
  margin: 0;
}

.programs-page .program-lineup-rail .training-catalog-status-coming-soon {
  font-family: var(--body-font);
  font-size: 0.64rem;
  font-weight: 950;
  line-height: 1.1;
  margin: 0;
  padding: 7px 10px 6px;
  position: absolute;
  right: 20px;
  top: 20px;
}

.programs-page .program-lineup-rail .training-catalog-card.is-coming-soon .training-catalog-number {
  padding-right: 112px;
}

.programs-page .program-lineup-rail .training-catalog-card.is-rail-focus,
.programs-page .program-lineup-rail .training-catalog-card:hover,
.programs-page .program-lineup-rail .training-catalog-card:focus-within {
  border-color: color-mix(in srgb, var(--program-accent) 44%, var(--line));
  box-shadow: none;
  transform: none;
}

.programs-page .program-lineup-rail .training-catalog-card.motion-spotlight::after {
  display: none;
}

.programs-page .program-lineup-rail:focus-visible {
  outline: 2px solid var(--programs-page-accent);
  outline-offset: 5px;
}

.programs-page .program-lineup-progress {
  align-items: center;
  display: flex;
  gap: 7px;
  justify-content: center;
  margin: 14px auto 0;
  max-width: 220px;
  min-height: 10px;
}

.programs-page .program-lineup-progress span {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  flex: 1 1 0;
  height: 2px;
  transition: background-color 220ms ease, transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.programs-page .program-lineup-progress span.is-active {
  background: var(--programs-page-accent);
  transform: scaleY(1.75);
}

@media (min-width: 821px) {
  .programs-page .program-lineup-rail.scroll-focus-rail::before {
    width: 0 !important;
  }
}

@media (max-width: 820px) {
  .programs-page .program-lineup-section {
    padding: clamp(22px, 4vw, 38px) 0 0;
  }

  .programs-page .program-lineup-header {
    display: block;
  }

  .programs-page .program-lineup-rail {
    margin-left: -18px;
    margin-right: -18px;
    padding: 4px 18px 10px;
    scroll-padding-inline: 18px;
  }

  .programs-page .program-lineup-rail .training-catalog-card {
    flex-basis: 86%;
    min-height: auto;
    padding: 18px 18px 22px;
  }

  .programs-page .program-lineup-rail .training-catalog-status-coming-soon {
    right: 18px;
    top: 18px;
  }

  .programs-page .program-lineup-rail .training-catalog-title-row h3,
  .programs-page .program-lineup-rail .training-catalog-card.is-coming-soon h3 {
    font-size: clamp(1.5rem, 7vw, 1.9rem);
  }

  .programs-page .program-lineup-rail .training-catalog-card p,
  .programs-page .program-lineup-rail .training-catalog-card.is-coming-soon p {
    font-size: 0.84rem;
    line-height: 1.44;
  }

  .programs-page .program-lineup-progress {
    margin-top: 10px;
    max-width: 180px;
  }
}

@media (max-width: 380px) {
  .programs-page .program-lineup-rail {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    scroll-padding-inline: 16px;
  }
}

@media (max-width: 520px) {
  .programs-page .program-lineup-header {
    display: block;
  }

  .programs-page .program-lineup-rail {
    margin-top: 14px;
  }

  .programs-page .program-lineup-rail .training-catalog-card {
    flex-basis: 86%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .programs-page .program-lineup-progress span {
    transition-duration: 0ms;
  }
}

/* Desktop quality lock: enrich the wide layout without touching tablet or mobile. */
@media (min-width: 821px) {
  /* Homepage ecosystem: retain the focused mobile rail and restore its photography. */
  .home-page .home-showcase-carousel {
    display: block;
    margin-top: 18px;
    min-width: 0;
  }

  .home-page .home-showcase-track {
    align-items: stretch;
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .home-page .home-showcase-track::-webkit-scrollbar {
    display: none;
  }

  .home-page .home-showcase-track > .home-showcase-card {
    align-content: center;
    display: grid;
    flex: 0 0 min(82%, 900px);
    gap: 18px 22px;
    grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
    grid-template-rows: auto auto;
    margin-top: 0;
    min-height: 440px;
    padding: 24px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .home-page .home-showcase-card > .mobile-story-media,
  .home-page .home-showcase-card > .hub-workout-preview {
    align-self: stretch;
    aspect-ratio: auto;
    display: block;
    grid-column: 1;
    grid-row: 1 / 3;
    height: 100%;
    margin: 0;
    min-height: 390px;
    overflow: hidden;
  }

  .home-page .home-showcase-card > .mobile-story-media {
    background: #080808;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    position: relative;
  }

  .home-page .home-showcase-card > .mobile-story-media::after {
    background: linear-gradient(180deg, transparent 58%, rgba(3, 3, 3, 0.24));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
  }

  .home-page .home-showcase-card > .mobile-story-media img {
    height: 100%;
    object-fit: cover !important;
    width: 100%;
  }

  .home-page .home-showcase-card > .home-section-copy {
    align-self: end;
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }

  .home-page .home-showcase-card > .home-section-rail {
    align-self: start;
    grid-column: 2;
    grid-row: 2;
  }

  .home-page .home-showcase-card > .home-student-hub-content {
    align-self: center;
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .home-page .home-showcase-card .stat-list strong {
    font-size: clamp(1.55rem, 2.25vw, 2rem);
  }

  .home-page .home-showcase-progress {
    align-items: center;
    display: flex;
    gap: 7px;
    justify-content: center;
    margin: 12px auto 0;
    max-width: 220px;
    min-height: 10px;
    width: 100%;
  }

  .home-page .home-showcase-progress span {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    flex: 1 1 0;
    height: 2px;
    transition: background-color 220ms ease, transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .home-page .home-showcase-progress span.is-active {
    background: var(--orange);
    transform: scaleY(1.75);
  }

  /* Synchronized stories: keep the image-led split but remove the empty lower half. */
  .swipe-story-card > .swipe-preview-media {
    height: clamp(420px, 32vw, 460px);
    min-height: clamp(420px, 32vw, 460px);
  }

  .swipe-story-card > :is(.academy-swipe-rail, .three-column, .feature-list) > article {
    align-content: center;
    display: grid;
    min-height: 0 !important;
    padding-bottom: 26px !important;
    padding-top: 26px !important;
  }

  /* Details: fill the location image. */
  .details-page .details-location {
    align-items: stretch;
  }

  .details-page .details-court-panel,
  .details-page .details-court-panel img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 0;
  }

  .details-page .details-court-panel img {
    object-fit: cover;
  }

  /* About: keep the friendship photography scrollable and restore the team image. */
  .about-page .friendship-image-grid {
    display: flex;
    gap: 14px;
    grid-template-columns: none;
    overflow-x: auto;
    padding: 3px 2px 10px;
    scroll-padding-inline: 2px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .about-page .friendship-image-grid::-webkit-scrollbar {
    display: none;
  }

  .about-page .friendship-image-panel {
    aspect-ratio: 16 / 9;
    flex: 0 0 min(82%, 860px);
    min-height: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .about-page .friendship-image-panel img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 0;
    width: 100%;
  }

  .about-page .friendship-image-panel:first-child img {
    object-fit: cover;
  }

  .about-page .friendship-rail-progress {
    align-items: center;
    display: flex;
    gap: 7px;
    justify-content: center;
    margin: 12px auto 0;
    max-width: 100px;
    min-height: 10px;
    width: 100%;
  }

  .about-page .friendship-rail-progress span {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    flex: 1 1 0;
    height: 2px;
  }

  .about-page .friendship-rail-progress span.is-active {
    background: var(--orange);
    transform: scaleY(1.75);
  }

  .about-page .technology-section {
    align-items: center;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
    grid-template-rows: auto auto;
  }

  .about-page .technology-section > .mobile-story-team {
    align-self: stretch;
    aspect-ratio: 3 / 2;
    display: block;
    grid-column: 1;
    grid-row: 1 / 3;
    margin: 0;
    min-height: 300px;
    overflow: hidden;
  }

  .about-page .technology-section > .mobile-story-team img {
    height: 100%;
    object-fit: cover !important;
    width: 100%;
  }

  .about-page .technology-section > .section-heading {
    align-self: end;
    grid-column: 2;
    grid-row: 1;
  }

  .about-page .technology-section > .technology-hub-button {
    align-self: start;
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }

  /* Gallery: use a balanced two-column editorial grid and a full-width closing image. */
  .gallery-page .gallery-grid {
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-page .gallery-grid figure:nth-child(10) {
    grid-column: 1 / -1;
    min-height: 360px;
  }

  .gallery-page .gallery-grid figure:nth-child(10) img {
    height: 360px;
    min-height: 360px;
    object-fit: cover;
    object-position: center 38%;
  }
}

/* Desktop homepage refinement: one-line navigation and tighter editorial framing. */
@media (min-width: 821px) {
  .site-header,
  .site-header.is-nav-open {
    max-width: 1100px;
    min-height: 62px;
  }

  .site-header nav,
  .site-header.is-nav-open nav {
    --active-center: 8.3333%;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: 1fr;
    min-height: 48px;
  }

  .site-header nav::before {
    left: calc(var(--active-center) - ((100% - 16px) / 12));
    width: calc((100% - 16px) / 6);
  }

  .site-header nav:has(> a[href="/student-hub"][aria-current="page"]) {
    --active-center: 25%;
  }

  .site-header nav:has(> a[href="/details"][aria-current="page"]) {
    --active-center: 41.6667%;
  }

  .site-header nav:has(> a[href="/gallery"][aria-current="page"]) {
    --active-center: 58.3333%;
  }

  .site-header nav:has(> a[href="/about"][aria-current="page"]) {
    --active-center: 75%;
  }

  .site-header nav:has(> .login-link[aria-current="page"]) {
    --active-center: 91.6667%;
  }

  .home-page .home-dhruv-heading {
    padding-bottom: 20px;
    padding-top: 30px;
  }

  .home-page .home-dhruv-heading h2 {
    font-size: clamp(3.8rem, 5.7vw, 5.2rem);
  }

  .home-page .home-dhruv-section {
    min-height: 425px;
    padding-bottom: 34px;
    padding-top: 34px;
    place-content: center start;
  }

  .home-page .home-dhruv-section > div {
    max-width: 55%;
  }

  .home-page .home-showcase-heading:not(.home-dhruv-heading) {
    padding-bottom: 18px;
    padding-top: 30px;
  }

  .home-page .home-showcase-heading:not(.home-dhruv-heading) h2 {
    font-size: clamp(3.8rem, 5.7vw, 5.2rem);
  }

  .home-page .home-showcase-carousel {
    margin-top: 0;
  }

  .home-page .home-showcase-track > .home-showcase-card {
    gap: 14px 20px;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    min-height: 470px;
    padding: 20px;
  }

  .home-page .home-showcase-card > .mobile-story-media,
  .home-page .home-showcase-card > .hub-workout-preview {
    min-height: 430px;
  }

  .home-page .home-showcase-card .home-section-copy h2 {
    font-size: clamp(3rem, 4.45vw, 4.25rem);
    line-height: 0.86;
    margin-bottom: 9px;
  }

  .home-page .home-showcase-card .home-section-copy > p:last-child {
    font-size: 0.92rem;
    line-height: 1.42;
    margin-bottom: 0;
  }

  .home-page .home-showcase-card .stat-list div {
    padding: 17px 18px;
  }

  .home-page .home-showcase-card .stat-list strong {
    font-size: clamp(1.45rem, 2vw, 1.8rem);
    margin-bottom: 6px;
  }

  .home-page .home-showcase-card .stat-list span {
    font-size: 0.6rem;
    line-height: 1.15;
    margin-bottom: 0;
  }

  .home-page .home-section-rail,
  .home-page .home-student-hub-content {
    gap: 11px;
  }

  .home-page .cta-band {
    align-items: end;
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 32px 38px;
  }

  .home-page .cta-band > div {
    max-width: 760px;
  }

  .home-page .cta-band h2 {
    font-size: clamp(3.35rem, 4.5vw, 4.45rem);
    line-height: 0.87;
    margin-bottom: 0;
  }

  .home-page .cta-band .button {
    align-self: end;
    min-width: 210px;
    white-space: nowrap;
  }

  .site-footer .footer-contact-panel {
    align-items: end;
    column-gap: 48px;
    grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  }

  .site-footer .footer-bottom {
    align-items: flex-end;
  }

  .site-footer .footer-bottom > p:first-child {
    align-self: flex-end;
    line-height: 1;
  }

  .site-footer .footer-tagline {
    line-height: 1.25;
    text-align: right;
  }
}

/* Desktop CTA and footer alignment follow-up. */
@media (min-width: 821px) {
  .home-page .cta-band {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: clamp(22px, 4vw, 38px);
  }

  .home-page .cta-band > div {
    max-width: none;
    width: 100%;
  }

  .home-page .cta-band h2 {
    font-size: clamp(3.35rem, 8vw, 6.25rem);
    line-height: 0.86;
    margin-bottom: 0;
    white-space: nowrap;
  }

  .home-page .cta-band h2 span {
    display: block;
    white-space: nowrap;
  }

  .home-page .cta-band .button {
    align-self: flex-start;
    min-width: 210px;
    white-space: nowrap;
  }

  .site-footer .footer-contact-panel {
    align-items: start;
  }

  .site-footer .footer-contact-panel .contact-strip {
    align-self: start;
  }
}

/* Final desktop placement for the homepage CTA, Dhruv story, and footer contacts. */
@media (min-width: 821px) {
  .home-page .cta-band {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .home-page .cta-band .button {
    align-self: center;
  }

  .home-page .home-dhruv-section {
    min-height: 320px;
    padding-bottom: 30px;
    padding-top: 30px;
  }

  .home-page .home-dhruv-section > div {
    max-width: 62%;
  }

  .home-page .home-dhruv-section .hero-media img {
    width: min(60%, 650px);
  }

  .site-footer .footer-contact-panel {
    align-items: center;
  }

  .site-footer .footer-contact-panel .contact-strip {
    align-self: center;
  }

  /* Keep the Programs menu hoverable across the visual gap below its trigger. */
  .site-header .nav-dropdown:not(.responsive-about-dropdown)::after {
    content: "";
    height: 12px;
    left: 0;
    position: absolute;
    top: 100%;
    width: min(260px, calc(100vw - 40px));
  }

  .site-header .nav-dropdown:not(.responsive-about-dropdown) .nav-dropdown-trigger {
    gap: 10px;
  }

  .site-header .nav-dropdown:not(.responsive-about-dropdown) .nav-dropdown-trigger::before {
    background:
      linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
      linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
    height: 12px;
    position: relative;
    top: -1px;
    width: 12px;
  }

  .site-header .nav-dropdown:not(.responsive-about-dropdown) .nav-menu {
    padding-bottom: 10px;
    padding-top: 10px;
  }
}

/* Desktop gallery: keep the full Bento composition inside one viewport-sized tile. */
@media (min-width: 821px) {
  .gallery-page .gallery-section {
    box-sizing: border-box;
    height: clamp(460px, calc(100svh - 132px), 720px);
    overflow: hidden;
    padding: 16px;
  }

  .gallery-page .gallery-grid {
    align-content: start;
    display: grid;
    gap: 12px;
    grid-auto-flow: dense;
    grid-auto-rows: clamp(180px, 24vh, 238px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding-right: 8px;
    scrollbar-color: rgba(240, 90, 40, 0.78) rgba(255, 255, 255, 0.08);
    scrollbar-gutter: stable;
    scrollbar-width: thin;
  }

  .gallery-page .gallery-grid::-webkit-scrollbar {
    width: 6px;
  }

  .gallery-page .gallery-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
  }

  .gallery-page .gallery-grid::-webkit-scrollbar-thumb {
    background: rgba(240, 90, 40, 0.78);
    border-radius: 999px;
  }

  .gallery-page .gallery-grid:focus-visible {
    outline: 1px solid rgba(240, 90, 40, 0.72);
    outline-offset: -1px;
  }

  .gallery-page .gallery-grid figure,
  .gallery-page .gallery-grid img,
  .gallery-page .gallery-feature img,
  .gallery-page .gallery-grid figure:nth-child(10),
  .gallery-page .gallery-grid figure:nth-child(10) img {
    height: 100%;
    min-height: 0;
  }

  .gallery-page .gallery-grid figure:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-page .gallery-grid figure:nth-child(4) {
    grid-column: span 1;
    grid-row: span 2;
  }

  .gallery-page .gallery-grid figure:nth-child(7) {
    grid-column: span 2;
  }

  .gallery-page .gallery-grid figure:nth-child(10) {
    grid-column: auto;
  }

  .gallery-page .gallery-grid figure:nth-child(10) img {
    object-position: center 38%;
  }
}

/* Gallery bento: class-based spans keep the expanded site-photo library balanced. */
@media (min-width: 821px) {
  .gallery-page .gallery-grid figure:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-page .gallery-grid figure.gallery-feature {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-page .gallery-grid figure.gallery-wide {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-page .gallery-grid figure.gallery-tall {
    grid-column: span 1;
    grid-row: span 2;
  }

  .gallery-page .gallery-grid figure.gallery-desktop-standard {
    grid-column: span 1;
  }
}

@media (max-width: 820px) {
  .gallery-page .gallery-grid figure:nth-child(n),
  .gallery-page .gallery-grid figure:nth-child(n) img {
    height: 100%;
    min-height: 0;
  }

  .gallery-page .gallery-grid figure:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-page .gallery-grid figure.gallery-feature {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-page .gallery-grid figure.gallery-wide {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-page .gallery-grid figure.gallery-tall {
    grid-column: span 1;
    grid-row: span 2;
  }
}

/* Desktop Gallery heading: a compact lead-in immediately above the Bento tile. */
@media (min-width: 821px) {
  .gallery-page .gallery-hero {
    min-height: 0;
    padding: 22px 36px 24px;
    place-content: center start;
  }

  .gallery-page .gallery-hero .section-heading {
    max-width: none;
    width: 100%;
  }

  .gallery-page .gallery-hero .eyebrow {
    margin-bottom: 8px;
  }

  .gallery-page .gallery-hero h2 {
    font-size: clamp(2.85rem, 4.15vw, 3.8rem);
    line-height: 0.88;
    margin-bottom: 0;
    max-width: none;
    white-space: nowrap;
  }

  .gallery-page .gallery-hero .section-heading > p:last-child:not(.eyebrow) {
    display: none;
  }
}

/* Desktop About rails: free-scrolling credentials and a side-by-side friendship pair. */
@media (min-width: 821px) {
  .about-page .about-credentials-section .about-credentials {
    padding-left: 0;
    padding-right: 0;
    scroll-padding-inline: 0;
    scroll-snap-type: none;
  }

  .about-page .about-credentials-section .about-credentials article,
  .about-page .about-credentials-section .about-credentials article:nth-child(n) {
    opacity: 1 !important;
    scroll-snap-align: none !important;
    scroll-snap-stop: normal;
    transform: none !important;
  }

  .about-page .about-credentials.scroll-focus-rail::before,
  .about-page .about-credentials.scroll-focus-rail::after {
    display: none;
  }

  .about-page .credential-rail-progress {
    --credential-scroll-progress: 0;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    display: block;
    height: 3px;
    margin: 14px 0 0;
    max-width: none;
    min-height: 0;
    overflow: hidden;
    width: 100%;
  }

  .about-page .credential-rail-progress span {
    display: none;
  }

  .about-page .credential-rail-progress span:first-child {
    background: var(--orange);
    border-radius: inherit;
    display: block;
    height: 100%;
    transform: scaleX(var(--credential-scroll-progress));
    transform-origin: left center;
    transition: transform 100ms linear;
    width: 100%;
  }

  .about-page .credential-rail-progress.is-static span:first-child {
    transform: scaleX(1);
  }

  .about-page .friendship-image-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
    padding: 0;
    scroll-padding-inline: 0;
    scroll-snap-type: none;
  }

  .about-page .friendship-image-panel {
    aspect-ratio: 16 / 9;
    flex: none;
    min-height: 0;
    scroll-snap-align: none;
    width: auto;
  }

  .about-page .friendship-image-panel img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 0;
    width: 100%;
  }

  .about-page .friendship-rail-progress {
    display: none;
  }
}

/* Desktop About refinements: fuller copy measure, deliberate title wrap, shorter progress. */
@media (min-width: 821px) {
  .about-page .friendship-section > .section-heading,
  .about-page .friendship-section > .section-heading p:not(.eyebrow) {
    max-width: none;
    width: 100%;
  }

  .about-page #about-technology-title span {
    display: block;
    white-space: nowrap;
  }

  .about-page .credential-rail-progress {
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
    width: 70%;
  }
}

/* Keep the mobile friendship cards equal; preserve the second photo's portrait format on desktop. */
.about-page .friendship-image-grid {
  align-items: flex-start;
}

@media (min-width: 821px) {
  .about-page .friendship-image-grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 3fr);
  }

  .about-page .friendship-image-panel:nth-child(2),
  .about-page .friendship-image-panel:nth-child(2) img {
    aspect-ratio: 2 / 3;
  }
}

/* Mobile/tablet footer signature: align the brand with the tagline's second line. */
@media (max-width: 820px) {
  .site-footer .footer-bottom {
    align-items: flex-end;
    flex-direction: row;
    gap: clamp(12px, 4vw, 26px);
    justify-content: space-between;
  }

  .site-footer .footer-bottom > p:first-child {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .site-footer .footer-tagline {
    margin-left: auto;
    text-align: right;
  }
}

/* Compact, informational membership prices at every viewport. */
.details-page .membership-options {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,2.5vw,24px);width:100%;max-width:820px;margin:28px auto 24px;}
.details-page .membership-option {min-width:0;padding:clamp(20px,3vw,36px) clamp(12px,2.8vw,32px);border:1px solid rgba(255,255,255,.18);border-radius:clamp(18px,2vw,24px);background:linear-gradient(145deg,rgba(25,25,26,.65),rgba(9,9,10,.94));text-align:left;}
.details-page .membership-option .eyebrow {margin:0 0 12px;font-size:clamp(10px,1.5vw,13px);letter-spacing:.1em;}
.details-page .membership-option h3 {display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 7px;margin:0;font-size:clamp(30px,4.6vw,52px);line-height:1.05;}
.details-page .membership-option h3 span {font-size:clamp(14px,2vw,24px);white-space:nowrap;}
.details-page .enquiry-trap {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
