/* =========================================
   Gold A Fitness — Editorial
   Light-first · lookbook · mosaic
   ========================================= */

:root {
  --bg: #f5f4f0;
  --fg: #171717;
  --mute: #5c5c59;
  --line: rgba(23, 23, 23, 0.1);
  --panel: #ecebe6;
  --gold: #b8912e;
  --gold-fg: #171717;
  --hero-ink: #f4f1ea;
  --hero-mute: rgba(244, 241, 234, 0.76);
  --hero-line: rgba(244, 241, 234, 0.2);
  --hero-shadow: 0 1px 1px rgba(0, 0, 0, 0.38), 0 10px 28px rgba(0, 0, 0, 0.32);
  --veil: linear-gradient(
    180deg,
    rgba(8, 7, 6, 0.34) 0%,
    rgba(8, 7, 6, 0.18) 40%,
    rgba(10, 8, 6, 0.5) 100%
  );
  --display: "Paperlogy", sans-serif;
  --sans: "Paperlogy", -apple-system, sans-serif;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --header: 4rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html.dark {
  --bg: #0e0e0e;
  --fg: #f0efe9;
  --mute: #9a9890;
  --line: rgba(240, 239, 233, 0.12);
  --panel: #161616;
  --gold: #d4af37;
  --gold-fg: #0e0e0e;
  --veil: linear-gradient(
    180deg,
    rgba(6, 6, 6, 0.4) 0%,
    rgba(6, 6, 6, 0.22) 40%,
    rgba(8, 7, 6, 0.56) 100%
  );
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: -0.015em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

.site-cursor {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147483646;
  width: 12px;
  height: 12px;
  margin: 0;
  border-radius: 50%;
  background: #edc85a;
  border: 1.5px solid #edc85a;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.2);
  transition:
    width 0.42s cubic-bezier(0.32, 0.72, 0, 1),
    height 0.42s cubic-bezier(0.32, 0.72, 0, 1),
    background-color 0.32s ease,
    border-color 0.32s ease,
    opacity 0.25s ease,
    transform 0.42s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: left, top, width, height, opacity, transform;
}

.site-cursor.is-in {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition:
    width 0.42s cubic-bezier(0.32, 0.72, 0, 1),
    height 0.42s cubic-bezier(0.32, 0.72, 0, 1),
    background-color 0.32s ease,
    border-color 0.32s ease,
    opacity 0.25s ease;
}

.site-cursor.is-hover {
  width: 30px;
  height: 30px;
  background: rgba(237, 200, 90, 0.16);
}

.site-cursor.is-down {
  width: 22px;
  height: 22px;
  background: rgba(237, 200, 90, 0.28);
}

.site-cursor-label {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147483647;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: #edc85a;
  color: #171717;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(18px, 12px);
  transition: opacity 0.2s ease;
}

.site-cursor-label.is-on {
  opacity: 1;
}

@media (hover: none), (pointer: coarse), (max-width: 899px) {
  .site-cursor,
  .site-cursor-label,
  .cursor,
  .cursor-label {
    display: none !important;
  }
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--gold);
  color: #fff;
}

.mono-label {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.muted {
  color: var(--mute);
  font-size: 0.9rem;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.header.is-scrolled,
.header.is-open {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header.is-open {
  background: #fff;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

@media (min-width: 900px) {
  .header:not(.is-scrolled):not(.is-open) .menu-btn {
    color: var(--hero-ink);
    border-color: var(--hero-line);
    background: rgba(244, 241, 234, 0.08);
  }
}

.logo {
  position: fixed;
  z-index: 60;
  top: 0;
  left: var(--gutter);
  height: var(--header);
  display: flex;
  align-items: center;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  mix-blend-mode: difference;
}

@media (max-width: 767px) {
  .logo {
    font-size: 0.98rem;
  }
}

.nav {
  display: none;
  gap: 0.2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 1.4rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: #1c1c1c;
}

.nav a[aria-current="page"] {
  font-weight: 700;
}

.nav-thumb {
  position: absolute;
  top: 0.28rem;
  bottom: 0.28rem;
  left: 0;
  right: 100%;
  z-index: 0;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.08);
  pointer-events: none;
  opacity: 0;
  transition:
    left 0.5s cubic-bezier(0.32, 0.72, 0, 1),
    right 0.5s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.2s ease;
}

.nav-thumb.is-on {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.header-book {
  display: none;
  align-items: center;
  gap: 0.2rem;
  padding: 0.28rem 0.32rem;
  background: rgba(245, 244, 240, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 10px 32px rgba(16, 14, 12, 0.12);
  backdrop-filter: blur(22px) saturate(1.55);
  -webkit-backdrop-filter: blur(22px) saturate(1.55);
}

.btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-book-naver {
  background-image: linear-gradient(
    105deg,
    #9a7618 0%,
    #c9a227 18%,
    #e4c56a 36%,
    #d4af37 52%,
    #f2d56c 68%,
    #b8912e 86%,
    #8d6f16 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: var(--gold-fg);
  box-shadow: inset 0 1px 0 rgba(255, 248, 220, 0.42);
  animation: gold-sheen 6.5s ease-in-out infinite;
  transition: color 0.25s ease, filter 0.25s ease, animation-duration 0.25s ease;
}

.btn-book-naver:hover {
  filter: brightness(1.06);
  animation-duration: 2.8s;
}

.btn-book-phone {
  background: #fff;
  color: var(--fg);
}

.btn-book-phone:hover {
  background: #f3f1ea;
  color: var(--fg);
}

.menu-btn {
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--fg);
  border-radius: 50%;
  border: 1px solid rgba(23, 23, 23, 0.12);
  background: rgba(245, 244, 240, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s var(--ease);
}

.menu-btn:active {
  transform: scale(0.94);
}

.menu-btn.is-open {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.menu-btn-lines {
  position: relative;
  width: 1.12rem;
  height: 0.7rem;
}

.menu-btn-lines span {
  position: absolute;
  left: 0;
  top: 50%;
  display: block;
  width: 100%;
  height: 1.5px;
  border-radius: 99px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.45s var(--ease);
}

.menu-btn-lines span:first-child {
  transform: translateY(-0.22rem);
}

.menu-btn-lines span:last-child {
  transform: translateY(0.22rem);
}

.menu-btn.is-open .menu-btn-lines span:first-child {
  transform: translateY(0) rotate(45deg);
}

.menu-btn.is-open .menu-btn-lines span:last-child {
  transform: translateY(0) rotate(-45deg);
}

@media (min-width: 880px) {
  .header {
    top: 0.95rem;
    height: auto;
    min-height: 3.35rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .logo {
    top: 0.95rem;
    height: 3.35rem;
  }

  .nav {
    display: flex;
    align-items: center;
    position: relative;
    left: auto;
    transform: none;
    grid-column: 2;
    justify-self: center;
    padding: 0.28rem 0.42rem;
    overflow: hidden;
    background: rgba(245, 244, 240, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 999px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.55),
      0 10px 32px rgba(16, 14, 12, 0.12);
    backdrop-filter: blur(22px) saturate(1.55);
    -webkit-backdrop-filter: blur(22px) saturate(1.55);
  }

  .header-actions {
    grid-column: 3;
    justify-self: end;
  }

  .header-book {
    display: flex;
  }

  .menu-btn {
    display: none;
  }

  .header,
  .header.is-scrolled,
  .header.is-open {
    background: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent;
  }

  .header:not(.is-scrolled):not(.is-open) .nav a,
  .header:not(.is-scrolled):not(.is-open) .nav a:hover {
    color: #1c1c1c;
    text-shadow: none;
  }
}

.drawer {
  position: fixed;
  inset: var(--header) 0 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: 0.7rem var(--gutter) calc(1.35rem + env(safe-area-inset-bottom));
  overflow: auto;
  overscroll-behavior: contain;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity 0.4s var(--ease),
    transform 0.45s var(--ease),
    visibility 0.4s;
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.drawer[hidden] {
  display: none;
}

.drawer-panel {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
}

.drawer-nav a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 0;
  border: 0;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.5s var(--ease),
    transform 0.55s var(--ease),
    color 0.25s ease;
  transition-delay: 0s;
}

.drawer.is-open .drawer-nav a {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 70ms + 90ms);
}

.drawer-copy {
  min-width: 0;
}

.drawer-copy strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.55rem, 6.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.drawer-copy em {
  display: block;
  margin-top: 0.22rem;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d4af37;
}

.drawer-go {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  color: var(--mute);
  border: 0;
  background: transparent;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.35s var(--ease);
}

.drawer-go svg {
  width: 0.9rem;
  height: 0.9rem;
}

.drawer-nav a:active .drawer-copy strong {
  color: var(--gold);
}

.drawer-nav a:active .drawer-go {
  color: var(--fg);
  background: transparent;
  transform: translateX(3px);
}

@media (hover: hover) and (pointer: fine) {
  .drawer-nav a:hover .drawer-copy strong {
    color: var(--gold);
  }

  .drawer-nav a:hover .drawer-go {
    color: var(--fg);
    background: transparent;
    transform: translateX(3px);
  }
}

.drawer-foot {
  margin-top: auto;
  padding-top: 1.5rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: 0s;
}

.drawer.is-open .drawer-foot {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 4) * 70ms + 90ms);
}

.drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 3.05rem;
  border-radius: 999px;
  background-image: linear-gradient(
    105deg,
    #9a7618 0%,
    #c9a227 18%,
    #e4c56a 36%,
    #d4af37 52%,
    #f2d56c 68%,
    #b8912e 86%,
    #8d6f16 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: var(--gold-fg);
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  -webkit-tap-highlight-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 248, 220, 0.42);
  animation: gold-sheen 6.5s ease-in-out infinite;
  transition: transform 0.25s var(--ease), filter 0.25s ease, animation-duration 0.25s ease;
}

.drawer-cta svg {
  width: 0.95rem;
  height: 0.95rem;
}

.drawer-cta:hover,
.drawer-cta:active {
  filter: brightness(1.06);
  animation-duration: 2.8s;
  transform: translateY(-1px);
}

.drawer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  margin-top: 1.05rem;
  text-align: center;
}

.drawer-contact a {
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.drawer-contact p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--mute);
}

@media (min-width: 880px) {
  .drawer {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .drawer,
  .drawer-nav a,
  .drawer-foot,
  .menu-btn-lines span {
    transition: none !important;
  }

  .drawer,
  .drawer-nav a,
  .drawer-foot {
    transform: none !important;
  }
}

/* Hero — boxed video on mobile/tablet, full-bleed pin on desktop */
.hero {
  --hero-bottom: 1.5rem;
  position: relative;
  min-height: 100svh;
  padding-bottom: 0;
  background: var(--bg);
}

.hero-pin {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.hero-media {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: calc(var(--header) + clamp(1.2rem, 4.2svh, 2.6rem)) 0 0;
  flex-shrink: 0;
}

.hero-media-frame {
  position: relative;
  width: 100%;
  max-width: none;
  height: clamp(9.2rem, 23svh, 13rem);
  aspect-ratio: auto;
  overflow: hidden;
  background: #12110f;
  border-radius: 0;
  box-shadow: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.92) contrast(1.04) saturate(0.95);
  transform: none;
  transform-origin: 50% 50%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      rgba(8, 7, 6, 0.16) 0%,
      rgba(8, 7, 6, 0.02) 42%,
      rgba(8, 7, 6, 0.28) 100%
    );
  pointer-events: none;
}

.hero-actions {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  width: 100%;
  margin: 0;
  padding: 0.95rem var(--gutter) 0;
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.85s var(--ease) 0.52s forwards;
}

.hero-video-caption {
  position: absolute;
  left: auto;
  right: var(--gutter);
  bottom: 0.7rem;
  z-index: 3;
  margin: 0;
  max-width: min(18rem, 70%);
  font-family: var(--display);
  font-size: clamp(0.78rem, 2.6vw, 1.02rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: #f6f1e6;
  text-align: right;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 3;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  padding: 0.95rem var(--gutter) calc(1.75rem + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "main"
    "cert";
  gap: 0.85rem 0;
  align-content: stretch;
  align-items: stretch;
  background: var(--bg);
  box-shadow: none;
}

.hero-main {
  grid-area: main;
  max-width: none;
  min-width: 0;
}

.hero-cert-block {
  grid-area: cert;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: end;
  gap: 0.45rem;
  max-width: min(34rem, 100%);
}

.hero-cert {
  display: flex;
  align-items: flex-start;
  align-self: start;
  gap: 0.72rem 0.88rem;
  margin: 0;
  width: 100%;
  max-width: none;
}

.hero-actions-inline {
  display: none;
}

.hero-mission {
  margin: 0.22rem 0 0;
  max-width: none;
  font-family: var(--display);
  font-size: clamp(0.82rem, 2.3vw, 0.94rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.4;
  color: var(--fg);
}

.hero-cert img {
  width: clamp(3.85rem, 14vw, 4.7rem);
  height: clamp(3.85rem, 14vw, 4.7rem);
  flex-shrink: 0;
  display: block;
  object-fit: cover;
  border-radius: 0.24rem;
  background: #123056;
}

.hero-cert figcaption {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  padding-top: 0.02rem;
}

.hero-cert-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(0.98rem, 3vw, 1.16rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.25;
  color: var(--fg);
}

.hero-cert-desc {
  margin: 0.32rem 0 0;
  max-width: 22rem;
  font-size: clamp(0.74rem, 2vw, 0.84rem);
  font-weight: 500;
  line-height: 1.52;
  letter-spacing: -0.025em;
  color: var(--mute);
}

.hero-cert-br {
  display: none;
}

.hero-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.05rem, calc(0.85rem + 5.35vw), 6.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.96;
  color: var(--fg);
  white-space: normal;
  overflow: visible;
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.85s var(--ease) 0.08s forwards;
}

.hero-title-accent {
  display: inline-block;
  padding: 0.02em 0.06em 0.04em 0;
  margin: 0;
  background-image: linear-gradient(
    105deg,
    #9a7618 0%,
    #c9a227 18%,
    #e4c56a 36%,
    #d4af37 52%,
    #f2d56c 68%,
    #b8912e 86%,
    #8d6f16 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(92, 70, 12, 0.18));
  animation: gold-sheen 6.5s ease-in-out infinite;
}

.hero-tagline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.5rem;
  margin: 0.5rem 0 0;
  padding-left: 0.12rem;
  font-size: clamp(1rem, 4.1vw, 1.18rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(10px);
  animation: rise 0.85s var(--ease) 0.22s forwards;
  color: var(--fg);
}

.hero-tagline-prefix {
  color: var(--mute);
  font-weight: 500;
}

.hero-rotator {
  position: relative;
  display: inline-block;
  min-width: min(12.5em, 100%);
  height: 1.4em;
  overflow: hidden;
  vertical-align: -0.18em;
  color: var(--fg);
}

.hero-rotator > span {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  line-height: 1.4em;
  transform: translate3d(0, -115%, 0);
  transition: none;
  pointer-events: none;
}

.hero-rotator > span.is-active {
  transform: translate3d(0, 0, 0);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: auto;
}

.hero-rotator > span.is-leave {
  transform: translate3d(0, 115%, 0);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-rule {
  width: 4.5rem;
  height: 1px;
  margin-top: 0.9rem;
  background: rgba(184, 145, 46, 0.75);
  transform-origin: left center;
  transform: scaleX(0);
  animation: rule-draw 0.8s var(--ease) 0.38s forwards;
}

.hero-cta,
.hero-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s var(--ease);
}

.hero-cta {
  background: var(--fg);
  color: var(--bg);
}

.hero-cta::after {
  content: "→";
  margin-left: 0.5rem;
  font-size: 0.92em;
  transition: transform 0.25s var(--ease);
}

.hero-cta:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
}

.hero-cta:hover::after {
  transform: translateX(3px);
}

.hero-cta-ghost {
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--line);
}

.hero-cta-ghost:hover {
  background: rgba(23, 23, 23, 0.05);
  transform: translateY(-1px);
}

@media (max-width: 899px) {
  .hero,
  .hero-pin {
    min-height: 0;
    overflow-x: hidden;
    max-width: 100%;
  }

  .hero-media {
    margin-top: var(--header);
  }

  .hero-media-frame {
    height: clamp(9.8rem, 40vw, 12rem);
  }

  .hero-actions {
    display: none;
  }

  .hero-actions-inline {
    grid-area: actions;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 0.42rem;
    width: 100%;
    margin: 0;
    padding: 0;
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-actions-inline .hero-cta,
  .hero-actions-inline .hero-cta-ghost {
    width: 100%;
    min-height: 2.72rem;
    padding: 0 0.7rem;
    border-radius: 0.82rem;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: -0.03em;
  }

  .hero-actions-inline .hero-cta {
    background: var(--fg);
    color: var(--bg);
  }

  .hero-actions-inline .hero-cta::after {
    content: none;
  }

  .hero-actions-inline .hero-cta-ghost {
    color: var(--fg);
    background: #eceae4;
    border: 0;
  }

  .hero-actions-inline .hero-cta:hover,
  .hero-actions-inline .hero-cta-ghost:hover {
    transform: none;
  }

  .hero-grid {
    flex: 0 0 auto;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "main"
      "cert"
      "actions";
    align-content: start;
    padding: clamp(1.05rem, 3dvh, 1.65rem) var(--gutter)
      calc(clamp(0.85rem, 2dvh, 1.25rem) + env(safe-area-inset-bottom));
    padding-top: clamp(1.05rem, 3dvh, 1.65rem);
    padding-bottom: calc(clamp(0.85rem, 2dvh, 1.25rem) + env(safe-area-inset-bottom));
    gap: clamp(1.35rem, 4.2dvh, 2.15rem) 0;
  }

  .hero-banner {
    display: none;
  }

  .hero-conveyor {
    border-radius: 0;
  }

  .hero-conveyor-group {
    gap: 0.75rem;
    padding-right: 0.75rem;
  }

  .hero-conveyor-card {
    border-radius: 0.28rem;
  }

  .hero-stage {
    display: none;
  }

  .hero-tagline {
    flex-wrap: nowrap;
    white-space: nowrap;
    margin-top: 0.28rem;
    font-size: clamp(0.84rem, 3.4vw, 1.02rem);
    gap: 0.38rem;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-tagline-fit {
    display: none;
  }

  .hero-rotator {
    min-width: 10.6em;
    flex: 0 0 auto;
  }

  .hero-cert-block {
    width: 100%;
    max-width: none;
    align-self: start;
    margin-top: clamp(0.85rem, 3.4dvh, 1.85rem);
  }

  .hero-cert {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    align-self: stretch;
    width: 100%;
    max-width: none;
    padding: 0.9rem 0.95rem 1rem;
    column-gap: 0.75rem;
    row-gap: 0.22rem;
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 10px 28px rgba(18, 17, 15, 0.07);
  }

  .hero-cert img {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    width: 3.9rem;
    height: 3.9rem;
    border-radius: 0.72rem;
  }

  .hero-cert figcaption {
    display: contents;
  }

  .hero-cert-title {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    font-size: 1.02rem;
  }

  .hero-mission {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin: 0;
    font-size: 0.78rem;
  }

  .hero-cert-desc {
    display: block;
    grid-column: 1 / -1;
    grid-row: 3;
    max-width: none;
    width: 100%;
    margin: 0.42rem 0 0;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(23, 23, 23, 0.08);
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    -webkit-box-orient: initial;
  }
}

@media (max-width: 699px) {
  .hero-cert {
    padding: 0.82rem 0.85rem 0.92rem;
    column-gap: 0.68rem;
  }

  .hero-cert img {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.64rem;
  }

  .hero-cert-title {
    font-size: 0.96rem;
  }

  .hero-mission {
    font-size: 0.74rem;
  }

  .hero-cert-desc {
    font-size: 0.72rem;
    line-height: 1.45;
  }
}

@media (min-width: 700px) and (max-width: 899px) {
  .hero-media-frame {
    height: clamp(10.5rem, 28vw, 13rem);
  }

  .hero-grid {
    padding: clamp(1.2rem, 3.2dvh, 1.85rem) var(--gutter)
      calc(clamp(1rem, 2.2dvh, 1.4rem) + env(safe-area-inset-bottom));
    gap: clamp(1.5rem, 4.6dvh, 2.35rem) 0;
  }

  .hero-cert-block,
  .hero-cert {
    width: 100%;
    max-width: none;
  }

  .hero-cert {
    padding: 1rem 1.05rem 1.1rem;
  }

  .hero-cert img {
    width: 4.35rem;
    height: 4.35rem;
  }

  .hero-mission {
    max-width: none;
    font-size: 0.84rem;
  }

  .hero-tagline {
    font-size: clamp(1.02rem, 2vw, 1.22rem);
  }

  .hero-cta,
  .hero-cta-ghost {
    min-height: 2.9rem;
    padding: 0 1.3rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 899px) and (max-height: 740px) {
  .hero-title {
    font-size: clamp(2.05rem, calc(0.85rem + 4.4vw), 3.05rem);
  }

  .hero-conveyor-card {
    width: clamp(6.2rem, 28vw, 8.4rem);
    height: clamp(6.2rem, 28vw, 8.4rem);
  }
}

@media (min-width: 900px) {
  .hero {
    --hero-bottom: 3.25rem;
    min-height: 100svh;
    padding-bottom: 0;
  }

  .hero-pin {
    min-height: 100svh;
  }

  .hero-media {
    position: sticky;
    top: 0;
    display: block;
    width: 100%;
    margin: 0;
    height: 50svh;
  }

  .hero-media-frame {
    width: 100%;
    max-width: none;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
    background: #1a1a1a;
  }

  .hero-video {
    object-fit: cover;
    object-position: 35% 50%;
    filter: brightness(0.8) contrast(1.05) saturate(0.9);
    transform: scale(1.08);
    will-change: transform;
  }

  .hero-veil {
    background:
      linear-gradient(
        180deg,
        rgba(8, 7, 6, 0.28) 0%,
        rgba(8, 7, 6, 0.04) 40%,
        rgba(8, 7, 6, 0.16) 68%,
        rgba(8, 7, 6, 0.62) 100%
      );
  }

  .hero-video-caption {
    right: var(--gutter);
    left: auto;
    bottom: 1.15rem;
    font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  }

  .hero-actions {
    position: absolute;
    left: var(--gutter);
    right: auto;
    bottom: 1.15rem;
    z-index: 4;
    padding: 0;
    width: auto;
  }

  .hero-grid {
    flex: 0 0 auto;
    min-height: 50svh;
    padding: 1.35rem var(--gutter) var(--hero-bottom);
    grid-template-columns: 1fr min(18.5rem, 32svh);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "main main"
      "cert .";
    gap: 1.1rem 2.2rem;
    align-items: stretch;
    align-content: stretch;
    box-shadow: 0 -24px 48px rgba(18, 17, 15, 0.08);
  }

  .hero-main {
    grid-area: main;
    align-self: start;
  }

  .hero-banner {
    grid-area: auto;
  }

  .hero-cert-block {
    max-width: min(34rem, 100%);
    margin: 0.15rem 0 0;
    align-self: end;
  }

  .hero-cert {
    align-items: center;
    align-self: start;
    max-width: none;
    margin: 0;
    gap: 0.9rem 1.15rem;
  }

  .hero-mission {
    order: 3;
    margin-top: 0.58rem;
    font-size: 0.98rem;
    max-width: none;
  }

  .hero-cert img {
    width: clamp(7.8rem, 9.6vw, 9.1rem);
    height: clamp(7.8rem, 9.6vw, 9.1rem);
    align-self: center;
    object-fit: cover;
  }

  .hero-cert-title {
    font-size: clamp(1.12rem, 1.5vw, 1.26rem);
  }

  .hero-cert-desc {
    order: 2;
    margin-top: 0.38rem;
    max-width: 21.5rem;
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .hero-cert-br {
    display: inline;
  }

  .hero-title {
    letter-spacing: -0.015em;
    line-height: 0.92;
    white-space: nowrap;
  }

  .hero-tagline {
    margin-top: 0.55rem;
    padding-left: 0.62rem;
    font-size: clamp(1.12rem, 2.2vw, 1.48rem);
  }

  .hero-rotator {
    min-width: 12.5em;
  }

  .hero-cta,
  .hero-cta-ghost {
    min-height: 3.05rem;
    padding: 0 1.45rem;
    font-size: 0.95rem;
  }

  .hero-cta {
    background: #f3ead2;
    color: #161512;
  }

  .hero-cta:hover {
    background: #fff;
  }

  .hero-cta-ghost {
    color: #f6f1e6;
    background: rgba(246, 241, 230, 0.1);
    border: 0;
    backdrop-filter: blur(14px);
  }

  .hero-cta-ghost:hover {
    background: rgba(246, 241, 230, 0.2);
  }
}

@media (min-width: 900px) and (max-height: 740px) {
  .hero-media {
    height: 42svh;
  }

  .hero-title {
    font-size: clamp(2.65rem, calc(1.15rem + 3.35vw), 4.45rem);
  }

  .hero-grid {
    min-height: 58svh;
    padding-top: 1rem;
  }
}

.btn-fill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  background-image: linear-gradient(
    105deg,
    #9a7618 0%,
    #c9a227 18%,
    #e4c56a 36%,
    #d4af37 52%,
    #f2d56c 68%,
    #b8912e 86%,
    #8d6f16 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: var(--gold-fg);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 248, 220, 0.42);
  animation: gold-sheen 6.5s ease-in-out infinite;
  transition: filter 0.25s ease, transform 0.25s var(--ease), animation-duration 0.25s ease;
}

.btn-fill:hover {
  filter: brightness(1.06);
  animation-duration: 2.8s;
  transform: translateY(-1px);
}

.btn-text {
  font-size: 0.88rem;
  font-weight: 650;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
}

.btn-text:hover {
  color: var(--gold);
}

/* Hero banner — infinite conveyor
   WordPress: .hero-conveyor-group 안의 <li>만 출력하면 됨. 복제·루프는 JS가 처리. */
.hero-banner {
  grid-area: banner;
  position: relative;
  z-index: 4;
  display: none;
  align-self: center;
  width: calc(100% + 2 * var(--gutter));
  max-width: none;
  margin: 0 0 0 calc(-1 * var(--gutter));
  overflow: hidden;
}

.hero-banner[hidden] {
  display: none !important;
}

.hero-conveyor {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  contain: paint;
  clip-path: inset(0);
  -webkit-clip-path: inset(0);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  background: transparent;
}

.hero-conveyor-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  max-width: none;
}

.hero-conveyor:not(.is-glide):not(.is-static) .hero-conveyor-track {
  animation: hero-conveyor var(--conveyor-duration, 48s) linear infinite;
}

.hero-conveyor.is-static {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hero-conveyor.is-static::-webkit-scrollbar {
  display: none;
}

.hero-conveyor.is-static .hero-conveyor-track,
.hero-conveyor.is-glide .hero-conveyor-track {
  animation: none;
}

.hero-conveyor.is-static .hero-conveyor-track {
  transform: none;
  will-change: auto;
}

.hero-conveyor-group {
  display: flex;
  flex: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
  margin: 0;
  padding: 0 0.5rem 0 0;
  list-style: none;
}

.hero-conveyor-group > li {
  flex: none;
  display: block;
  margin: 0;
}

.hero-conveyor-card {
  display: block;
  width: clamp(7.6rem, 34vw, 11.25rem);
  height: clamp(7.6rem, 34vw, 11.25rem);
  overflow: hidden;
  background: #12110f;
}

.hero-conveyor-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-conveyor-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

@keyframes hero-conveyor {
  to {
    transform: translate3d(var(--conveyor-shift, -50%), 0, 0);
  }
}

.hero-stage {
  display: none;
  width: 100%;
}

.hero-insta {
  --insta-pad: 0.55rem;
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  color: #f6f1e6;
  background: #12110f;
}

.hero-banner-toggle {
  position: relative;
  display: flex;
  align-items: center;
  width: max-content;
  gap: 0;
  padding: 0.14rem;
  overflow: hidden;
  background: rgba(245, 244, 240, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 8px 24px rgba(16, 14, 12, 0.1);
  backdrop-filter: blur(22px) saturate(1.55);
  -webkit-backdrop-filter: blur(22px) saturate(1.55);
}

.hero-banner-toggle[hidden] {
  display: none;
}

.hero-banner-thumb {
  position: absolute;
  top: 0.14rem;
  bottom: 0.14rem;
  left: 0;
  right: 100%;
  z-index: 0;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.08);
  pointer-events: none;
  opacity: 0;
}

.hero-banner-thumb.is-on {
  opacity: 1;
}

.hero-banner-toggle button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.55rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #1c1c1c;
}

.hero-banner-toggle button[hidden] {
  display: none;
}

.hero-insta:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.hero-insta.is-swap {
  animation: banner-swap 0.48s var(--ease);
}

@keyframes banner-swap {
  from {
    opacity: 0.55;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-insta-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0c0b0a;
}

.hero-insta-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-insta-slide.is-active {
  opacity: 1;
  z-index: 2;
  animation: insta-kenburns 4.4s ease-out forwards;
}

.hero-insta-slide.is-leave {
  opacity: 0;
  z-index: 3;
  transition: opacity 0.55s var(--ease);
}

.hero-insta-bars {
  position: absolute;
  top: var(--insta-pad);
  left: var(--insta-pad);
  right: var(--insta-pad);
  z-index: 6;
  display: flex;
  gap: 0.22rem;
}

.hero-insta-bar {
  flex: 1;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
}

.hero-insta-bar i {
  display: block;
  width: 100%;
  height: 100%;
  background: #f3ead2;
  transform: scaleX(0);
  transform-origin: left center;
}

.hero-insta-bar.is-done i {
  transform: scaleX(1);
}

.hero-insta-bar.is-active i {
  animation: insta-bar 4.2s linear forwards;
}

.hero-insta.is-paused .hero-insta-bar.is-active i,
.hero-insta.is-paused .hero-insta-slide.is-active {
  animation-play-state: paused;
}

.hero-insta-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 1.6rem var(--insta-pad) 0.55rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(10, 8, 6, 0.72) 100%
  );
}

.hero-insta-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: #f3ead2;
  border: 1px solid rgba(243, 234, 210, 0.42);
}

.hero-insta-icon svg {
  width: 0.78rem;
  height: 0.78rem;
}

.hero-insta-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-insta-copy strong {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-insta-go {
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f2d56c;
}

@keyframes insta-kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07);
  }
}

@keyframes insta-bar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (min-width: 900px) {
  .hero-banner {
    position: absolute;
    right: var(--gutter);
    bottom: var(--hero-bottom);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.42rem;
    width: min(18.5rem, 32svh);
    max-width: none;
    margin: 0;
  }

  .hero-conveyor {
    display: none;
  }

  .hero-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.42rem;
    width: 100%;
  }

  .hero-insta {
    height: min(18.5rem, 32svh);
    aspect-ratio: auto;
    border-radius: 0;
  }
}

@keyframes rule-draw {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes gold-sheen {
  0%,
  16% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  84%,
  100% {
    background-position: 0% 50%;
  }
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--panel);
  padding: 0.8rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-slide 42s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.marquee-group span {
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--mute);
  padding-right: 2.4rem;
}

.marquee-group span::after {
  content: "·";
  margin-left: 2.4rem;
  color: var(--gold);
}

@keyframes marquee-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Programs — editorial lookbook board */
.programs {
  --prog-radius: 1.35rem;
  --prog-gap: 0.75rem;
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 8% 0%, rgba(184, 145, 46, 0.09), transparent 55%),
    radial-gradient(ellipse 50% 40% at 92% 18%, rgba(23, 23, 23, 0.04), transparent 60%),
    linear-gradient(180deg, #f7f6f2 0%, #f2f0ea 48%, #ebe8e1 100%);
  padding: clamp(3.25rem, 7vw, 5.5rem) var(--gutter) clamp(2.75rem, 6vw, 4.75rem);
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

html.dark .programs {
  background:
    radial-gradient(ellipse 70% 55% at 8% 0%, rgba(212, 175, 55, 0.1), transparent 55%),
    linear-gradient(180deg, #121212 0%, #0e0e0e 100%);
}

.programs-inner {
  position: relative;
  width: 100%;
  margin: 0;
}

.programs-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  margin: 0 0 clamp(1.6rem, 3.2vw, 2.4rem);
}

.programs-head-copy {
  max-width: min(36rem, 100%);
}

.programs-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.programs-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.15;
  color: #191f28;
}

html.dark .programs-head h2 {
  color: var(--fg);
}

.programs-lead {
  margin: 0.9rem 0 0;
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #7a828c;
}

html.dark .programs-lead {
  color: var(--mute);
}

.programs-head-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
  flex-shrink: 0;
  padding-bottom: 0.15rem;
}

.programs-meta {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: var(--mute);
  white-space: nowrap;
}

.programs-meta strong {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  vertical-align: -0.06em;
  background-image: linear-gradient(
    105deg,
    #9a7618 0%,
    #c9a227 18%,
    #e4c56a 36%,
    #d4af37 52%,
    #f2d56c 68%,
    #b8912e 86%,
    #8d6f16 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(92, 70, 12, 0.18));
  animation: gold-sheen 6.5s ease-in-out infinite;
}

.programs-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.programs-all svg {
  width: 0.95rem;
  height: 0.95rem;
  transition: transform 0.4s var(--ease);
}

.programs-all:hover {
  color: var(--gold);
  border-bottom-color: rgba(184, 145, 46, 0.45);
}

.programs-all:hover svg {
  transform: translateX(3px);
}

.programs-board {
  display: grid;
  grid-template-columns: 1.28fr 1fr 1fr;
  grid-template-rows: minmax(9.2rem, 13.5vw) minmax(9.2rem, 13.5vw) minmax(13.5rem, 21vw);
  gap: var(--prog-gap);
}

.prog-tile {
  --i: 0;
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--prog-radius);
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  background: #1a1814;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.prog-tile:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.prog-tile--pt {
  grid-column: 1;
  grid-row: 1 / 3;
}

.prog-tile--pilates { grid-column: 2; grid-row: 1; }
.prog-tile--zumba { grid-column: 3; grid-row: 1; }
.prog-tile--ballet { grid-column: 2; grid-row: 2; }
.prog-tile--yoga { grid-column: 3; grid-row: 2; }
.prog-tile--spinning {
  grid-column: 1 / 3;
  grid-row: 3;
}

.prog-tile-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.prog-tile-media img,
.prog-tile-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.1s var(--ease);
}

.prog-tile--pt .prog-tile-media img,
.prog-tile--pt .prog-tile-media video {
  object-position: 50% 22%;
}

.prog-tile-slide-track {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
}

.prog-tile-slide-track > img,
.prog-tile-slide-track > video,
.prog-tile-slide-track > .prog-tile-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  overflow: hidden;
}

.prog-tile-slide-track > img,
.prog-tile-slide-track > video,
.prog-tile-slide-track > .prog-tile-slide img,
.prog-tile-slide-track > .prog-tile-slide video {
  object-fit: cover;
  transform: none;
  transition: none;
}

.prog-tile-slide-track > .prog-tile-slide img,
.prog-tile-slide-track > .prog-tile-slide video {
  width: 100%;
  height: 100%;
  display: block;
}

.prog-tile.is-multi:hover .prog-tile-slide-track img,
.prog-tile.is-multi:hover .prog-tile-slide-track video,
.programs.is-alive .prog-tile.is-multi.is-in .prog-tile-slide-track img,
.programs.is-alive .prog-tile.is-multi.is-in .prog-tile-slide-track video {
  transform: none;
  animation: none;
}

.prog-tile:not(.is-multi) .prog-tile-slide-track {
  transform: none !important;
}

.prog-tile-slide-dots {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  transform: translateX(-50%);
  pointer-events: auto;
}

.prog-tile:not(.is-multi) .prog-tile-slide-dots {
  display: none;
}

.prog-tile-slide-dot {
  width: 0.42rem;
  height: 0.42rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition:
    background 0.25s ease,
    width 0.25s ease;
}

.prog-tile-slide-dot.is-active {
  width: 1rem;
  background: #fff;
}

.prog-tile-slide-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.prog-tile.is-multi .prog-tile-body {
  padding-bottom: 1.85rem;
}

.prog-tile-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 7, 6, 0.08) 0%, rgba(8, 7, 6, 0.12) 42%, rgba(8, 7, 6, 0.72) 100%),
    linear-gradient(90deg, rgba(8, 7, 6, 0.28) 0%, transparent 55%);
  transition: opacity 0.55s var(--ease);
}

.prog-tile-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  padding: 1.15rem 1.2rem 1.2rem;
}

.prog-tile-title {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.prog-tile--pt .prog-tile-title {
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.prog-tile-desc {
  max-width: 18rem;
  margin: 0.1rem 0 0;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: rgba(244, 241, 234, 0.78);
}

.prog-tile-perk {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: rgba(237, 201, 106, 0.95);
}

.prog-tile:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 18px 40px rgba(12, 10, 8, 0.22);
}

.prog-tile:hover .prog-tile-media img {
  transform: scale(1.12);
}

.prog-tile.is-multi:hover .prog-tile-media img,
.prog-tile:hover .prog-tile-media video {
  transform: none;
}

.prog-tile:hover .prog-tile-shade {
  opacity: 0.92;
  background:
    linear-gradient(180deg, rgba(8, 7, 6, 0.12) 0%, rgba(8, 7, 6, 0.28) 40%, rgba(8, 7, 6, 0.82) 100%),
    linear-gradient(90deg, rgba(8, 7, 6, 0.35) 0%, transparent 60%);
}

.prog-cta {
  --i: 6;
  --gold-rgb: 212, 175, 55;
  position: relative;
  grid-column: 3;
  grid-row: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-height: 0;
  padding: 1.25rem 1.2rem 1.2rem;
  overflow: hidden;
  border-radius: var(--prog-radius);
  text-decoration: none;
  color: #f4f1ea;
  background:
    linear-gradient(165deg, #141210 0%, #0c0b09 52%, #090807 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 180, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.prog-cta-glow {
  position: absolute;
  right: -18%;
  top: -28%;
  width: 70%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 40% 45%,
    rgba(var(--gold-rgb), 0.16) 0%,
    rgba(var(--gold-rgb), 0.05) 38%,
    transparent 70%
  );
  pointer-events: none;
  filter: blur(18px);
  opacity: 0.85;
  animation: prog-cta-glow 14s ease-in-out infinite;
}

.prog-cta-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.prog-cta-ticket {
  position: absolute;
  overflow: visible;
  opacity: 0.11;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.18));
  transition: transform 0.9s var(--ease), opacity 0.9s var(--ease);
}

.prog-cta-ticket-body {
  fill: rgba(237, 201, 106, 0.14);
  stroke: rgba(237, 201, 106, 0.42);
  stroke-width: 1.4;
}

.prog-cta-ticket-text {
  fill: none;
  stroke: rgba(237, 201, 106, 0.28);
  stroke-width: 3.2;
  stroke-linecap: round;
}

.prog-cta-ticket-a {
  width: 148%;
  max-width: none;
  left: -18%;
  top: 8%;
  transform: rotate(-18deg);
}

.prog-cta-ticket-b {
  width: 118%;
  max-width: none;
  left: 22%;
  top: 42%;
  opacity: 0.07;
  transform: rotate(-28deg);
}

.prog-cta:hover .prog-cta-ticket-a {
  opacity: 0.16;
  transform: rotate(-14deg) translate3d(-4px, -8px, 0);
}

.prog-cta:hover .prog-cta-ticket-b {
  opacity: 0.11;
  transform: rotate(-24deg) translate3d(-2px, -6px, 0);
}

.prog-cta-points {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.prog-cta-points i {
  position: absolute;
  width: 0.14rem;
  height: 0.14rem;
  border-radius: 50%;
  background: rgba(237, 201, 106, 0.7);
  box-shadow: 0 0 6px rgba(237, 201, 106, 0.28);
  opacity: 0.35;
  animation: gold-point-drift 16s ease-in-out infinite;
}

.prog-cta-points i:nth-child(1) { left: 18%; top: 28%; animation-duration: 15s; }
.prog-cta-points i:nth-child(2) { left: 76%; top: 36%; width: 0.1rem; height: 0.1rem; animation-duration: 18s; animation-delay: -4s; }
.prog-cta-points i:nth-child(3) { left: 58%; top: 72%; width: 0.12rem; height: 0.12rem; animation-duration: 17s; animation-delay: -8s; }

@keyframes prog-cta-glow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate3d(-6%, 8%, 0) scale(1.06);
    opacity: 0.85;
  }
}

@keyframes gold-point-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.22;
  }
  50% {
    transform: translate3d(6px, -8px, 0);
    opacity: 0.55;
  }
}

.prog-cta-copy,
.prog-cta-btn {
  position: relative;
  z-index: 1;
}

.prog-cta-copy {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.prog-cta-copy strong {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: #f7f1e4;
}

.prog-cta-copy em {
  font-style: normal;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: rgba(244, 241, 234, 0.62);
}

.prog-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0;
  align-self: flex-end;
  width: 6.75rem;
  height: 6.75rem;
  min-width: 6.75rem;
  min-height: 6.75rem;
  padding: 0.72rem 0.78rem;
  border-radius: 0.85rem;
  background-image: linear-gradient(
    105deg,
    #9a7618 0%,
    #c9a227 18%,
    #e4c56a 36%,
    #d4af37 52%,
    #f2d56c 68%,
    #b8912e 86%,
    #8d6f16 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: var(--gold-fg);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
  text-align: right;
  word-break: keep-all;
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 220, 0.42),
    0 8px 20px rgba(184, 145, 46, 0.28);
  animation: gold-sheen 6.5s ease-in-out infinite;
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
}

.prog-cta-btn-mark {
  position: absolute;
  top: 0.55rem;
  left: 0.62rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  color: rgba(72, 54, 12, 0.22);
  text-shadow:
    0 1px 0 rgba(255, 248, 220, 0.28),
    0 -1px 0 rgba(60, 44, 8, 0.08);
  mix-blend-mode: multiply;
  opacity: 0.85;
  pointer-events: none;
  user-select: none;
}

.prog-cta-btn-label {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.28rem;
}

.prog-cta:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 180, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 18px 36px rgba(12, 10, 8, 0.32);
}

.prog-cta:hover .prog-cta-glow {
  animation-duration: 9s;
  opacity: 1;
}

.prog-cta:hover .prog-cta-btn {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.prog-cta:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.programs .reveal {
  --r-delay: calc(var(--i, 0) * 0.07s);
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.9s var(--ease) var(--r-delay),
    transform 1.05s var(--ease) var(--r-delay);
}

.programs .programs-head.reveal {
  --r-delay: 0s;
}

.programs .reveal.is-in {
  opacity: 1;
  transform: none;
}

.programs.is-alive .prog-tile.is-in .prog-tile-media img {
  will-change: transform;
  animation: prog-ken 30s ease-in-out infinite alternate;
  animation-delay: calc(var(--r-delay, 0s) + 1.2s);
}

.programs.is-alive .prog-tile.is-multi.is-in .prog-tile-media img,
.programs.is-alive .prog-tile.is-in .prog-tile-media video {
  animation: none;
  will-change: auto;
}

.programs.is-alive .prog-tile.is-in:hover .prog-tile-media img {
  animation-play-state: paused;
}

@keyframes prog-ken {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.2%, -0.9%, 0);
  }
}

@media (max-width: 1099px) {
  .programs-board {
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: minmax(8.6rem, 15vw) minmax(8.6rem, 15vw) minmax(12.5rem, 22vw);
  }
}

@media (max-width: 899px) {
  .programs {
    --prog-radius: 1.05rem;
    --prog-gap: 0.55rem;
    padding: 2.85rem var(--gutter) 2.2rem;
  }

  .programs-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .programs-head h2 {
    font-size: clamp(1.5rem, 6.2vw, 2.05rem);
  }

  .programs-lead {
    margin-top: 0.65rem;
    font-size: 1.02rem;
  }

  .programs-lead br {
    display: none;
  }

  .programs-head-side {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .programs-board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-template-areas:
      "pt pt"
      "pilates zumba"
      "spinning spinning"
      "ballet yoga"
      "cta cta";
    grid-auto-rows: unset;
    gap: var(--prog-gap);
  }

  .prog-tile--pt,
  .prog-tile--pilates,
  .prog-tile--yoga,
  .prog-tile--ballet,
  .prog-tile--zumba,
  .prog-tile--spinning,
  .prog-cta {
    grid-column: unset;
    grid-row: unset;
  }

  .prog-tile--pt {
    grid-area: pt;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .prog-tile--pilates {
    grid-area: pilates;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .prog-tile--zumba {
    grid-area: zumba;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .prog-tile--spinning {
    grid-area: spinning;
    min-height: 0;
    aspect-ratio: 2 / 1;
  }

  .prog-tile--ballet {
    grid-area: ballet;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .prog-tile--yoga {
    grid-area: yoga;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .prog-cta {
    grid-area: cta;
    min-height: 8.2rem;
    aspect-ratio: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 1.65rem;
    padding: 1.2rem 1.15rem 1.15rem;
  }

  .prog-cta-btn {
    align-self: flex-end;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: auto;
    height: auto;
    min-width: 6.8rem;
    min-height: 2.45rem;
    padding: 0 1.05rem;
    border-radius: 0.55rem;
    font-size: 0.92rem;
    letter-spacing: -0.03em;
    text-align: center;
  }

  .prog-cta-btn-mark {
    display: none;
  }

  .prog-cta-btn-label {
    gap: 0.35rem;
  }

  .programs .reveal,
  .programs .reveal.is-in {
    opacity: 1;
    transform: none !important;
    transition: none !important;
  }

  .prog-tile:hover,
  .prog-cta:hover {
    transform: none;
  }

  .programs.is-alive .prog-tile.is-in .prog-tile-media img,
  .prog-tile:hover .prog-tile-media img {
    animation: none !important;
    transform: scale(1.04) !important;
    transition: none !important;
    will-change: auto;
  }
}

@media (max-width: 560px) {
  .prog-tile-slide-dots {
    bottom: 0.7rem;
  }

  .prog-tile.is-multi .prog-tile-body {
    padding-bottom: 1.7rem;
  }

  .prog-tile-body {
    padding: 0.95rem 0.95rem 1rem;
  }

  .prog-tile-title {
    font-size: 1.08rem;
  }

  .prog-tile--pt .prog-tile-title {
    font-size: 1.35rem;
  }

  .prog-tile-desc {
    font-size: 0.9rem;
  }

  .prog-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    min-height: 8.8rem;
  }

  .prog-cta-btn {
    align-self: flex-end;
    width: auto;
    height: auto;
    min-width: 6.8rem;
    min-height: 2.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .prog-tile,
  .prog-cta,
  .prog-tile-media img,
  .prog-cta-glow,
  .prog-cta-ticket,
  .prog-cta-points i,
  .prog-cta-btn,
  .programs-all svg,
  .trainers-aura,
  .trainers-points i {
    transition: none !important;
    animation: none !important;
  }

  .prog-tile:hover,
  .prog-cta:hover {
    transform: none;
  }

  .prog-tile:hover .prog-tile-media img,
  .programs.is-alive .prog-tile.is-in .prog-tile-media img {
    transform: none !important;
    animation: none !important;
  }

  .prog-cta-btn {
    background: var(--gold);
    animation: none;
  }

  .programs-meta strong {
    animation: none;
    background: none;
    color: var(--gold);
    -webkit-text-fill-color: var(--gold);
    filter: none;
  }
}

/* Trainers — lookbook grid (WP loop: .trainer-card).
   Empty .trainer-list groups stay hidden until WP adds cards. */
.trainers {
  --gold: #edc96a;
  --gold-rgb: 212, 175, 55;
  position: relative;
  z-index: 2;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #0b0a08 0%, #070605 45%, #050403 100%);
  color: #f4f1ea;
  padding: clamp(3.25rem, 7vw, 5.5rem) var(--gutter) clamp(3.5rem, 8vw, 6.5rem);
  box-shadow: inset 0 1px 0 rgba(255, 236, 180, 0.08);
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

.trainers::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 36% at 50% -12%, rgba(var(--gold-rgb), 0.09), transparent 58%),
    radial-gradient(ellipse 72% 64% at 50% 48%, transparent 34%, rgba(0, 0, 0, 0.55) 100%);
}

.trainers::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.trainers-aura {
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 28% 22% at 18% 22%, rgba(var(--gold-rgb), 0.1), transparent 70%),
    radial-gradient(ellipse 24% 20% at 82% 68%, rgba(var(--gold-rgb), 0.07), transparent 72%);
  animation: trainers-aura 28s ease-in-out infinite;
}

.trainers-points {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.trainers-points i {
  position: absolute;
  width: 0.12rem;
  height: 0.12rem;
  border-radius: 50%;
  background: rgba(237, 201, 106, 0.65);
  box-shadow: 0 0 8px rgba(237, 201, 106, 0.22);
  animation: gold-point-drift 18s ease-in-out infinite;
}

.trainers-points i:nth-child(1) { left: 10%; top: 20%; animation-duration: 17s; }
.trainers-points i:nth-child(2) { left: 72%; top: 28%; width: 0.09rem; height: 0.09rem; animation-duration: 21s; animation-delay: -5s; }
.trainers-points i:nth-child(3) { left: 86%; top: 64%; animation-duration: 19s; animation-delay: -9s; }
.trainers-points i:nth-child(4) { left: 24%; top: 78%; width: 0.1rem; height: 0.1rem; animation-duration: 22s; animation-delay: -3s; }

@keyframes trainers-aura {
  0%,
  100% {
    transform: translate3d(-1.5%, -0.5%, 0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate3d(2.5%, 2%, 0) scale(1.04);
    opacity: 1;
  }
}

html.dark .trainers {
  background: linear-gradient(180deg, #0a0908 0%, #060504 40%, #040302 100%);
  box-shadow: inset 0 1px 0 rgba(255, 236, 180, 0.07);
}

.trainers-bento {
  position: relative;
  z-index: 1;
  width: 100%;
}

.trainer-groups {
  display: flex;
  flex-direction: column;
}

.trainer-group {
  display: grid;
  gap: 1.2rem;
  padding: clamp(1.75rem, 4vw, 2.6rem) 0;
  border-top: 1px solid rgba(var(--gold-rgb), 0.2);
}

.trainer-group[hidden] {
  display: none;
}

.trainer-groups > .trainer-group:nth-child(1 of :not([hidden])) {
  padding-top: 0;
  border-top: 0;
}

.trainer-groups > .trainer-group:nth-last-child(1 of :not([hidden])) {
  padding-bottom: 0;
}

.trainer-group-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
}

.trainer-group-label {
  display: block;
  margin: 0;
  padding: 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
}

.trainer-group-head > span {
  display: block;
  margin: 0.15rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: color-mix(in srgb, #fff 10%, transparent);
  pointer-events: none;
  user-select: none;
}

.trainer-count {
  margin: 0;
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  line-height: 1;
  color: rgba(244, 241, 234, 0.46);
}

.trainer-count em {
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gold);
  margin-right: 0.12em;
}

.trainer-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 2.55rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.55rem;
  pointer-events: none;
}

.trainer-nav[hidden] {
  display: none;
}

.trainer-nav-btn {
  pointer-events: auto;
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--gold-rgb), 0.5);
  background: rgba(12, 10, 8, 0.46);
  color: #f6e7b8;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 230, 0.14),
    0 10px 26px rgba(0, 0, 0, 0.42);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s var(--ease);
}

.trainer-nav-btn svg {
  width: 1.12rem;
  height: 1.12rem;
}

.trainer-nav-btn:hover:not(:disabled) {
  border-color: rgba(var(--gold-rgb), 0.92);
  background: rgba(var(--gold-rgb), 0.22);
  color: #fff4cc;
  transform: scale(1.06);
}

.trainer-nav-btn:disabled {
  opacity: 0;
  pointer-events: none;
}

.trainer-track {
  position: relative;
  min-width: 0;
}

.trainer-track::before,
.trainer-track::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 2.55rem;
  width: 3.4rem;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.trainer-track::before {
  left: 0;
  background: linear-gradient(90deg, rgba(7, 6, 5, 0.22), transparent);
}

.trainer-track::after {
  right: 0;
  background: linear-gradient(270deg, rgba(7, 6, 5, 0.22), transparent);
}

.trainer-track:has(.trainer-list.is-scrollable:not(.is-at-start))::before,
.trainer-track:has(.trainer-list.is-scrollable:not(.is-at-end))::after {
  opacity: 1;
}

.trainer-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.85rem;
  margin: 0;
  padding: 0 0 0.15rem;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  user-select: none;
}

.trainer-list::-webkit-scrollbar {
  display: none;
}

.trainer-list.is-scrollable {
  cursor: grab;
}

.trainer-list.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.trainer-list:focus {
  outline: none;
}

.trainer-list:focus-visible {
  outline: 2px solid rgba(var(--gold-rgb), 0.7);
  outline-offset: 6px;
  border-radius: 0.45rem;
}

.trainer-list > li {
  flex: 0 0 min(15.5rem, 78%);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.trainer-list img {
  -webkit-user-drag: none;
  user-select: none;
}

.trainer-card {
  display: block;
  margin: 0;
  background: none;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.trainer-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1.35rem;
  aspect-ratio: 3 / 4;
  background: #161310;
  contain: paint;
  box-shadow:
    0 0 0 1px rgba(var(--gold-rgb), 0.16),
    0 22px 48px rgba(0, 0, 0, 0.38);
}

.trainer-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  background: #161310;
  transition: transform 0.8s var(--ease);
}

.trainer-card:hover .trainer-photo img {
  transform: scale(1.05);
}

.look-quote {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  padding: 2.6rem 0.85rem 0.9rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(8, 6, 5, 0.18) 28%,
    rgba(8, 6, 5, 0.82) 100%
  );
  color: #f6f1e8;
  font-family: var(--display);
  font-size: clamp(0.82rem, 1.25vw, 1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.35;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: break-word;
  pointer-events: none;
  transition: background 0.45s var(--ease);
}

.trainer-card:hover .look-quote,
.roster-card:hover .look-quote {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(8, 6, 5, 0.28) 26%,
    rgba(8, 6, 5, 0.9) 100%
  );
}

@media (max-width: 699px) {
  .look-quote {
    font-size: 0.8rem;
    padding: 2.2rem 0.72rem 0.78rem;
  }
}

.trainer-photo-body img {
  object-position: 50% 28%;
}

.trainer-photo-mid img {
  object-position: 50% 40%;
}

.trainer-card-body {
  padding: 0.7rem 0.15rem 0;
}

.trainer-name {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.12rem, 1.7vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.2;
  color: #f4f1ea;
  transition: color 0.25s ease;
}

.trainer-name small {
  margin-left: 0.35em;
  font-size: 0.62em;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.trainer-card:hover .trainer-name {
  color: var(--gold);
}

@media (min-width: 900px) {
  .trainer-group {
    grid-template-columns: minmax(11.5rem, 16.5rem) minmax(0, 1fr);
    column-gap: clamp(1.6rem, 3.2vw, 2.8rem);
    align-items: start;
    padding: clamp(2.1rem, 4.2vw, 3rem) 0;
  }

  .trainer-nav {
    padding: 0 0.7rem;
  }

  .trainer-nav-btn {
    width: 2.85rem;
    height: 2.85rem;
  }

  .trainer-list {
    gap: 1.1rem;
  }

  .trainer-list > li {
    flex-basis: calc((100% - 3.3rem) / 4);
  }
}

@media (max-width: 899px) {
  .trainers {
    padding: 2.75rem var(--gutter) 3.1rem;
  }

  .trainer-group {
    gap: 0.95rem;
    padding: 1.45rem 0;
  }

  .trainer-group-label {
    font-size: clamp(1.7rem, 7vw, 2.15rem);
  }

  .trainer-group-head > span {
    display: none;
  }

  .trainer-list > li {
    flex-basis: min(15.25rem, 78%);
  }

  .trainer-photo {
    border-radius: 1.15rem;
  }

  .trainer-nav-btn {
    width: 2.4rem;
    height: 2.4rem;
  }
}

@media (min-width: 700px) and (max-width: 899px) {
  .trainer-list > li {
    flex-basis: calc((100% - 1.7rem) / 2.28);
  }
}

/* Inner pages — editorial polish, homepage rhythm */
body.page-inner {
  --bz-radius: 1.75rem;
  --bz-gap: 0.9rem;
  --bz-widget: color-mix(in srgb, var(--fg) 4.5%, var(--bg));
  background: var(--bg);
  color: var(--fg);
}

.bz {
  position: relative;
  overflow: clip;
  padding: 0 0 clamp(5rem, 11vw, 8rem);
}

.bz-head {
  position: relative;
  padding: calc(var(--header) + clamp(3.6rem, 9vw, 5.8rem)) var(--gutter) clamp(1.6rem, 3.5vw, 2.4rem);
}

.bz-mark {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--header) + 0.2rem);
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  text-align: center;
  line-height: 0.92;
}

.bz-mark span {
  display: block;
  font-family: var(--display);
  font-size: clamp(4.6rem, 17.5vw, 12rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 0.92;
  padding: 0.16em 0 0.18em;
  white-space: nowrap;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--fg) 7.5%, transparent);
  animation: bz-mark-in 1.1s var(--ease) both;
}

.bz-kicker {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.bz-head h1 {
  position: relative;
  z-index: 1;
  max-width: 16em;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.042em;
  line-height: 1.32;
}

.roster-hero {
  padding: var(--header) 0 clamp(0.25rem, 1.1vw, 0.7rem);
}

.roster-hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.roster-hero-mark {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  line-height: 0.92;
}

.roster-hero-mark span {
  display: block;
  font-family: var(--display);
  font-size: clamp(7rem, 23.5vw, 16.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 0.92;
  padding: 0.1em 0 0.06em;
  white-space: nowrap;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--fg) 3.2%, transparent);
  animation: bz-mark-in 1.1s var(--ease) both;
}

.roster-hero h1 {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 12em;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4.2vw, 3.05rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.28;
}

.roster-hero-mark-wide span {
  font-size: clamp(5.4rem, 17.2vw, 14rem);
  letter-spacing: 0.03em;
}

.pg-intro {
  overflow: hidden;
  padding: calc(var(--header) + clamp(2.1rem, 5.25vw, 3.6rem)) 0 0;
}

.pg-intro-bar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem 2.4rem;
  padding: 0 var(--gutter);
}

.pg-intro-copy h1 {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.5vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.32;
}

.pg-intro-copy p {
  max-width: 28em;
  margin: 0.7rem 0 0;
  color: var(--mute);
  font-size: 0.9rem;
  line-height: 1.62;
}

.pg-intro-stats {
  margin-bottom: 0.55rem;
}

.pg-intro-stats-label {
  margin: 0 0 0.42rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--mute);
}

.pg-intro-stats-row {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: flex-end;
}

.pg-intro-stat {
  display: flex;
  align-items: baseline;
  gap: 0.32rem 0.38rem;
}

.pg-intro-stat + .pg-intro-stat {
  margin-left: 1.15rem;
  padding-left: 1.2rem;
  border-left: 1px solid var(--line);
}

.pg-intro-stat span,
.pg-intro-stat em {
  font-size: 0.78rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.02em;
  color: var(--mute);
}

.pg-intro-stat strong {
  font-family: var(--display);
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.pg-intro-stat .hero-title-accent {
  vertical-align: -0.06em;
}

.pg-intro-stat.is-phrase {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  max-width: 14rem;
}

.pg-intro-stat.is-phrase strong {
  font-size: clamp(1.02rem, 2.1vw, 1.32rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.28;
}

.pg-intro-stat.is-phrase .pg-stat-num {
  display: inline-block;
  font-size: 1.38em;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
  vertical-align: -0.04em;
}

.pg-intro-stat.is-phrase .pg-stat-unit {
  margin-left: 0.06em;
  font-size: 1.18em;
  font-weight: 750;
  letter-spacing: -0.04em;
  vertical-align: 0.02em;
  color: var(--fg);
}

.pg-intro-stat.is-phrase .pg-stat-sub {
  display: inline-block;
  margin-top: 0.22rem;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  color: var(--fg);
}

@media (max-width: 799px) {
  .pg-intro-stats-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .pg-intro-stat.is-phrase {
    max-width: 18rem;
  }

  .pg-intro-stat + .pg-intro-stat {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }
}

.pg-intro-belts {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin-top: clamp(1.7rem, 3.6vw, 2.6rem);
  overflow: hidden;
}

.pg-belt {
  overflow: hidden;
}

.pg-belt-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  min-width: max-content;
  margin-left: clamp(-4.8rem, -8vw, -2.4rem);
  will-change: transform;
  animation: pg-belt-ltr var(--belt-duration, 42s) linear infinite;
  animation-delay: -8s;
}

.pg-belt-rtl .pg-belt-track {
  animation-name: pg-belt-rtl;
  animation-duration: var(--belt-duration, 50s);
  animation-delay: -18s;
}

.pg-belt-group {
  display: flex;
  flex: none;
  flex-wrap: nowrap;
  align-items: stretch;
  width: max-content;
  gap: 1.125rem;
  padding-right: 1.125rem;
}

.pg-belt-card {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  height: clamp(9.2rem, 18vw, 14.2rem);
  overflow: hidden;
  border-radius: 1.15rem;
  background: #d8d5ce;
  cursor: zoom-in;
}

.pg-belt-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.pg-belt-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pg-w-s { width: clamp(8.6rem, 42vw, 14.5rem); }
.pg-w-m { width: clamp(11.2rem, 56vw, 19.5rem); }
.pg-w-l { width: clamp(13.8rem, 70vw, 25rem); }
.pg-w-xl { width: clamp(16.4rem, 84vw, 31rem); }

.pg-belt.is-static {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pg-belt.is-static::-webkit-scrollbar {
  display: none;
}

.pg-belt.is-static .pg-belt-track {
  animation: none;
  will-change: auto;
}

.pg-zoom {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.pg-zoom[open] {
  display: grid;
  place-items: center;
}

.pg-zoom::backdrop {
  background: rgba(10, 8, 6, 0.78);
}

.pg-zoom-img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(82vw, 72rem);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 0.7rem;
  background: #12110f;
  touch-action: none;
  user-select: none;
  cursor: grab;
}

.pg-zoom-img:active {
  cursor: grabbing;
}

.pg-zoom-close,
.pg-zoom-nav {
  position: fixed;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(245, 244, 240, 0.94);
  color: #171717;
  cursor: pointer;
}

.pg-zoom-close {
  top: max(0.9rem, env(safe-area-inset-top));
  right: max(0.9rem, env(safe-area-inset-right));
  width: 2.35rem;
  height: 2.35rem;
}

.pg-zoom-nav {
  top: 50%;
  width: 2.7rem;
  height: 2.7rem;
  transform: translateY(-50%);
}

.pg-zoom-nav[data-dir="-1"] {
  left: max(0.75rem, env(safe-area-inset-left));
}

.pg-zoom-nav[data-dir="1"] {
  right: max(0.75rem, env(safe-area-inset-right));
}

.pg-zoom-nav[hidden] {
  display: none;
}

.pg-zoom-close svg,
.pg-zoom-nav svg {
  width: 1rem;
  height: 1rem;
}

.pg-zoom-close:hover,
.pg-zoom-close:focus-visible,
.pg-zoom-nav:hover,
.pg-zoom-nav:focus-visible {
  background: var(--gold);
  outline: none;
}

body.pg-zoom-open {
  overflow: hidden;
}

body.pg-zoom-open .pg-belt-track {
  animation-play-state: paused !important;
}

.pg-intro + .bz-grid,
.pg-intro + .pg-catalog {
  margin-top: clamp(3.6rem, 8vw, 5.8rem);
}

.pg-catalog {
  padding: 0 var(--gutter);
}

.pg-catalog-item {
  display: grid;
  gap: 1.35rem;
  padding: 2.45rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header) + 1rem);
}

.pg-catalog-copy .pg-catalog-kicker {
  margin: 1.4rem 0 0;
  max-width: none;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: color-mix(in srgb, var(--fg) 8.5%, transparent);
  pointer-events: none;
  user-select: none;
}

.pg-catalog-copy h2 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.22;
}

.pg-catalog-copy .pg-catalog-lead {
  margin: 0 0 0.4rem;
  max-width: 18em;
  color: var(--fg);
  font-size: clamp(1.06rem, 1.55vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.4;
}

.pg-catalog-copy .pg-catalog-perk {
  margin: 0.7rem 0 0;
  max-width: none;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.pg-catalog-compact {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.pg-catalog-compact .pg-catalog-copy h2 {
  margin-bottom: 0.28rem;
}

.pg-catalog-compact .pg-catalog-kicker {
  margin-top: 0.7rem;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
}

.pg-catalog-copy p {
  margin: 0;
  max-width: 26em;
  color: var(--mute);
  font-size: 0.92rem;
  line-height: 1.62;
}

.pg-catalog-copy .pg-catalog-meta {
  margin-top: 0.75rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  background-image: linear-gradient(
    105deg,
    #9a7618 0%,
    #c9a227 18%,
    #e4c56a 36%,
    #d4af37 52%,
    #f2d56c 68%,
    #b8912e 86%,
    #8d6f16 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gold-sheen 6.5s ease-in-out infinite;
}

.pg-catalog-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 0.45rem;
  background: #e8e6e1;
  aspect-ratio: 16 / 10;
}

.pg-catalog-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pg-catalog-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem 1.6rem;
  margin-top: 0.35rem;
  padding: clamp(2.4rem, 5vw, 3.4rem) 0 0;
  border-top: 1px solid var(--line);
}

.pg-catalog-cta h2 {
  margin: 0 0 0.38rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.pg-catalog-cta p {
  margin: 0;
  color: var(--mute);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 1.55;
}

@keyframes pg-belt-ltr {
  to {
    transform: translate3d(var(--belt-shift, -50%), 0, 0);
  }
}

@keyframes pg-belt-rtl {
  from {
    transform: translate3d(var(--belt-shift, -50%), 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .pg-intro-belts:hover .pg-belt-track {
    animation-play-state: paused;
  }
}

@media (min-width: 800px) {
  .pg-intro-bar {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .pg-intro-stats {
    flex-shrink: 0;
    margin-bottom: 0.85rem;
  }

  .pg-intro-stat + .pg-intro-stat {
    margin-left: 1.35rem;
    padding-left: 1.4rem;
  }

  .pg-catalog-item {
    grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.9fr);
    align-items: center;
    gap: 2rem 2.6rem;
    padding: 3.35rem 0;
  }

  .pg-catalog-compact {
    grid-template-columns: 1fr;
    padding: 1.8rem 0;
  }

  .pg-catalog-copy {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    justify-content: center;
    padding-right: 0.4rem;
  }

  .pg-catalog-copy .pg-catalog-kicker {
    margin-top: auto;
    padding-top: 1.6rem;
  }

  .pg-catalog-photo {
    aspect-ratio: 16 / 11;
    min-height: clamp(18rem, 28vw, 26rem);
  }
}

.cm-hero {
  position: relative;
  padding: var(--header) 0 0;
}

.cm-hero-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cm-hub {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  margin-top: calc(clamp(5.4rem, 17.2vw, 14rem) * -0.5);
  padding: 0 var(--gutter);
}

.cm-hub > .reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.cm-portal {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(17.5rem, 42vw, 26rem);
  overflow: hidden;
  border-radius: 1.05rem;
  color: #f4f1ea;
  background: #12110f;
  text-decoration: none;
}

.cm-portal:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.cm-portal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.cm-portal-insta img {
  object-position: top;
  transform-origin: top center;
}

.cm-portal:hover img {
  transform: scale(1.05);
}

.cm-portal-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 8, 6, 0.06) 0%,
    rgba(10, 8, 6, 0.2) 42%,
    rgba(10, 8, 6, 0.78) 100%
  );
}

.cm-portal-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem 6.5rem 1.2rem 1.2rem;
}

.cm-portal-brand {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--gold);
}

.cm-portal-copy strong {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.cm-portal-copy em {
  margin: 0.4rem 0 0;
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: rgba(244, 241, 234, 0.72);
}

.cm-portal-go {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.62rem 0.9rem 0.62rem 1rem;
  width: max-content;
  border: 1px solid rgba(244, 241, 234, 0.28);
  border-radius: 999px;
  background: rgba(10, 8, 6, 0.28);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f4f1ea;
  transition:
    color 0.25s ease,
    background 0.25s var(--ease),
    border-color 0.25s ease,
    transform 0.35s var(--ease);
}

.cm-portal-go svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.25s var(--ease);
}

.cm-portal:hover .cm-portal-go {
  color: var(--gold-fg);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateX(3px);
}

.cm-portal:hover .cm-portal-go svg {
  transform: translateX(2px);
}

@media (min-width: 800px) {
  .cm-hub {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: calc(clamp(5.4rem, 17.2vw, 14rem) * -0.52);
  }

  .cm-portal {
    min-height: clamp(22rem, 38vw, 30rem);
  }

  .cm-portal-copy {
    padding: 1.45rem 7.5rem 1.35rem 1.4rem;
  }

  .cm-portal-go {
    right: 1.4rem;
    bottom: 1.35rem;
  }
}

@media (max-width: 799px) {
  .cm-portal-copy em {
    display: none;
  }
}

.bz-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--bz-gap);
  margin-top: -1.6vw;
  padding: 0 var(--gutter);
}

.bz-grid > .reveal:nth-child(1) { transition-delay: 0.05s; }
.bz-grid > .reveal:nth-child(2) { transition-delay: 0.1s; }
.bz-grid > .reveal:nth-child(3) { transition-delay: 0.14s; }
.bz-grid > .reveal:nth-child(4) { transition-delay: 0.18s; }
.bz-grid > .reveal:nth-child(5) { transition-delay: 0.12s; }
.bz-grid > .reveal:nth-child(6) { transition-delay: 0.16s; }
.bz-grid > .reveal:nth-child(n + 7) { transition-delay: 0.2s; }

.bz-cell {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--bz-radius);
  background: var(--bz-widget);
}

.bz-photo {
  min-height: 17.5rem;
  background: #e8e6e1;
}

.bz-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(10, 8, 6, 0.56));
  pointer-events: none;
}

.bz-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.bz-photo:hover img {
  transform: scale(1.045);
}

.bz-tag {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  z-index: 2;
  font-family: var(--display);
  font-size: clamp(0.98rem, 1.4vw, 1.18rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.bz-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 1.55rem 1.4rem 1.6rem;
}

.bz-copy h2 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.9vw, 1.38rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.22;
}

.bz-copy p {
  margin: 0;
  max-width: 22em;
  color: var(--mute);
  font-size: 0.9rem;
  line-height: 1.62;
}

.bz-ico {
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  margin: 0 0 0.95rem;
  color: var(--gold);
}

.bz-ico svg {
  width: 1.35rem;
  height: 1.35rem;
}

.bz-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.bz-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--mute);
}

.bz-chips li:not(:last-child)::after {
  content: "";
  width: 0.22rem;
  height: 0.22rem;
  border-radius: 50%;
  background: var(--gold);
}

.bz-stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 8.5rem;
  padding: 1.4rem 1.35rem 1.3rem;
}

.bz-stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.bz-stat span {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--mute);
}

a.bz-stat:hover strong {
  color: var(--gold);
}

.bz-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem 1.6rem;
  margin-top: 0.55rem;
  padding: clamp(1.8rem, 3.6vw, 2.6rem) 0.1rem 0;
  background: none;
  border-radius: 0;
  border-top: 1px solid var(--line);
}

.bz-cta:hover,
.bz-cell.reveal.is-in.bz-cta:hover {
  transform: none;
}

.bz-cta h2 {
  margin: 0 0 0.32rem;
  font-family: var(--display);
  font-size: clamp(1.18rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.bz-cta p {
  margin: 0;
  color: var(--mute);
  font-size: 0.9rem;
  line-height: 1.55;
}

.bz-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pg-catalog-cta .btn-book,
.bz-cta-row .btn-book,
.visit-cta .btn-book {
  min-height: 2.7rem;
  padding: 0 1.2rem;
  font-size: 0.86rem;
}

.bz-btn,
.bz-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 0;
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, filter 0.25s ease, animation-duration 0.25s ease;
}

.bz-btn {
  background-image: linear-gradient(
    105deg,
    #9a7618 0%,
    #c9a227 18%,
    #e4c56a 36%,
    #d4af37 52%,
    #f2d56c 68%,
    #b8912e 86%,
    #8d6f16 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: var(--gold-fg);
  box-shadow: inset 0 1px 0 rgba(255, 248, 220, 0.42);
  animation: gold-sheen 6.5s ease-in-out infinite;
}

.bz-btn-ghost {
  background: #fff;
  color: var(--fg);
}

.bz-btn:hover {
  filter: brightness(1.06);
  animation-duration: 2.8s;
  color: var(--gold-fg);
}

.bz-btn-ghost:hover {
  background: #f3f1ea;
  color: var(--fg);
}

.bz-map {
  min-height: 22rem;
  height: 100%;
  padding: 0;
  background: #e8e6e1;
}

.bz-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.18) contrast(1.03);
}

.bz-meta {
  margin-top: auto;
  padding-top: 1.6rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.bz-c-hour {
  justify-content: space-between;
  min-height: 10.5rem;
}

.bz-link {
  display: flex;
  flex-direction: column;
  color: inherit;
}

.bz-c-pt { grid-column: 1 / -1; min-height: 18.5rem; }
.bz-c-ptcopy { grid-column: 1 / -1; }
.bz-c-space { grid-column: 1 / span 6; }
.bz-c-consult { grid-column: 7 / span 6; }
.bz-c-pi { grid-column: 1 / -1; min-height: 16.5rem; }
.bz-c-picopy { grid-column: 1 / -1; }
.bz-c-sp { grid-column: 1 / -1; min-height: 15rem; }
.bz-c-gx { grid-column: 1 / -1; min-height: 15rem; }
.bz-c-spcopy { grid-column: 1 / -1; }
.bz-c-gxcopy { grid-column: 1 / -1; }
.bz-c-cta { grid-column: 1 / -1; }

.bz-c-blog { grid-column: 1 / -1; min-height: 17rem; }
.bz-c-insta { grid-column: 1 / -1; min-height: 17rem; }
.bz-c-blogcopy { grid-column: 1 / -1; }
.bz-c-instacopy { grid-column: 1 / -1; }
.bz-c-fact { grid-column: 1 / span 4; min-height: 8.2rem; }

.bz-c-map { grid-column: 1 / -1; }
.bz-c-hour { grid-column: 1 / span 4; }
.bz-c-addr { grid-column: 1 / -1; }
.bz-c-park { grid-column: 1 / span 6; }
.bz-c-tel { grid-column: 7 / span 6; }

.roster-root {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 var(--gutter);
}

.roster-block {
  margin: 0 0 clamp(2.8rem, 6.5vw, 4.4rem);
  scroll-margin-top: calc(var(--header) + 1rem);
}

.roster-block[hidden] {
  display: none;
}

.roster-block-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}

.roster-block-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.8vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--fg);
}

.roster-count {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mute);
}

.roster-count em {
  font-style: normal;
  font-weight: 700;
  color: var(--fg);
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--bz-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.roster-grid > li {
  min-width: 0;
  scroll-margin-top: calc(var(--header) + 1.2rem);
}

.roster-grid > li:nth-child(1) .roster-card { transition-delay: 0.04s; }
.roster-grid > li:nth-child(2) .roster-card { transition-delay: 0.08s; }
.roster-grid > li:nth-child(3) .roster-card { transition-delay: 0.12s; }
.roster-grid > li:nth-child(4) .roster-card { transition-delay: 0.16s; }
.roster-grid > li:nth-child(n + 5) .roster-card { transition-delay: 0.1s; }

.roster-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.roster-card:focus {
  outline: none;
}

.roster-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.roster-photo {
  position: relative;
  margin: 0;
  width: 100%;
  overflow: hidden;
  border-radius: var(--bz-radius);
  aspect-ratio: 3 / 4;
  background: #e8e6e1;
}

.roster-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transition: transform 0.8s var(--ease);
}

.roster-card:hover .roster-photo img {
  transform: scale(1.045);
}

.roster-photo.trainer-photo-body img {
  object-position: 50% 28%;
}

.roster-photo.trainer-photo-mid img {
  object-position: 50% 40%;
}

.roster-card-name {
  margin-top: 0.95rem;
  padding: 0 0.1rem;
  font-family: var(--display);
  font-size: clamp(1.18rem, 2.15vw, 1.52rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.roster-quote {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  top: 0.7rem;
  z-index: 1;
  margin: 0;
  padding: 0.82rem 0.9rem 0.78rem;
  border-radius: 0.95rem;
  background: color-mix(in srgb, #fff 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.42) inset,
    0 8px 22px rgba(23, 23, 23, 0.08);
  color: var(--fg);
  font-family: var(--display);
  font-size: clamp(0.92rem, 1.45vw, 1.12rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.35;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: break-word;
  pointer-events: none;
  transform-origin: 50% 0%;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translate3d(0, -0.7rem, 0) scale(0.94);
  transition:
    opacity 0.28s ease,
    transform 0.34s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.28s;
}

.roster-quote.is-on {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    opacity 0.34s ease,
    transform 0.46s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.34s;
}

@media (max-width: 899px) {
  .roster-grid {
    gap: 1.7rem 0.62rem;
  }

  .roster-card-name {
    margin-top: 0.4rem;
    font-size: 1.05rem;
  }

  .roster-photo {
    border-radius: 0.7rem;
  }

  .roster-quote {
    top: auto;
    bottom: 0.7rem;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none;
  }
}

@media (max-width: 699px) {
  .roster-quote {
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.55rem;
    padding: 0.68rem 0.72rem 0.64rem;
    font-size: 0.84rem;
    letter-spacing: -0.038em;
  }
}

.roster-grid > li:target .roster-photo {
  outline: 1.5px solid var(--gold);
  outline-offset: 4px;
}

@keyframes bz-mark-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 700px) {
  .bz-copy {
    padding: 1.9rem 1.7rem;
  }

  .bz-c-pt { grid-column: 1 / span 8; grid-row: 1 / span 2; min-height: 32rem; }
  .bz-c-ptcopy { grid-column: 9 / span 4; grid-row: 1 / span 2; }
  .bz-c-space { grid-column: 1 / span 3; grid-row: 3; }
  .bz-c-consult { grid-column: 4 / span 3; grid-row: 3; }
  .bz-c-pi { grid-column: 7 / span 6; grid-row: 3 / span 2; min-height: 20rem; }
  .bz-c-picopy { grid-column: 1 / span 6; }
  .bz-c-sp { grid-column: 1 / span 6; min-height: 21rem; }
  .bz-c-gx { grid-column: 7 / span 6; min-height: 21rem; }
  .bz-c-spcopy { grid-column: 1 / span 6; }
  .bz-c-gxcopy { grid-column: 7 / span 6; }

  .bz-c-blog { grid-column: 1 / span 7; min-height: 26rem; }
  .bz-c-insta { grid-column: 8 / span 5; min-height: 26rem; }
  .bz-c-blogcopy { grid-column: 1 / span 7; }
  .bz-c-instacopy { grid-column: 8 / span 5; }
  .bz-c-fact { grid-column: span 4; }

  .bz-c-map { grid-column: 1 / span 8; grid-row: 1 / span 3; }
  .bz-c-hour { grid-column: 9 / span 4; }
  .bz-c-addr { grid-column: 1 / span 6; }
  .bz-c-park { grid-column: 7 / span 3; }
  .bz-c-tel { grid-column: 10 / span 3; }

  .roster-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem 0.9rem;
  }
}

@media (min-width: 900px) {
  .bz-head {
    padding-bottom: 2.6rem;
  }

  .bz-grid {
    margin-top: -2.2vw;
  }

  body.page-inner .header:not(.is-scrolled):not(.is-open) .menu-btn {
    color: var(--fg);
    border-color: rgba(23, 23, 23, 0.12);
    background: rgba(245, 244, 240, 0.48);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bz-mark span,
  .roster-hero-mark span,
  .bz-photo img,
  .roster-photo img,
  .roster-quote,
  .pg-belt-track {
    animation: none !important;
    transition: none;
  }

  .roster-quote.is-on {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}


/* Community */
.community {
  position: relative;
  padding: clamp(0.55rem, 1.6vw, 1.15rem) 0 clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

.community-mark {
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
  text-align: center;
  pointer-events: none;
  user-select: none;
  line-height: 0.92;
}

.community-mark span {
  display: inline-block;
  font-family: var(--display);
  font-size: 18vw;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 0.92;
  padding: 0.16em 0 0.18em;
  white-space: nowrap;
  color: color-mix(in srgb, var(--fg) 9%, transparent);
}

.community-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  margin-top: -3.4vw;
  padding: 0 var(--gutter);
}

@media (min-width: 800px) {
  .community-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: -4vw;
  }
}

@media (max-width: 799px) {
  .community {
    padding: 0.35rem 0 3.25rem;
  }

  .community-grid {
    margin-top: -2.6vw;
  }

  .community-card {
    min-height: 16.5rem;
    border-radius: 1.05rem;
  }

  .community-card-body {
    padding: 1.15rem 6rem 1.1rem 1.1rem;
  }

  .community-card-body em {
    display: none;
  }
}

.community-card {
  position: relative;
  display: block;
  min-height: clamp(18rem, 46vw, 28rem);
  overflow: hidden;
  color: #f4f1ea;
  background: #12110f;
}

.community-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.community-card:hover img {
  transform: scale(1.05);
}

.community-card-insta img {
  object-position: top;
  transform-origin: top center;
}

.community-card-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 8, 6, 0.08) 0%,
    rgba(10, 8, 6, 0.18) 38%,
    rgba(10, 8, 6, 0.78) 100%
  );
}

.community-card-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.35rem 6.5rem 1.25rem 1.3rem;
}

.community-card-brand {
  display: block;
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--gold);
}

.community-card-body strong {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.community-card-body em {
  margin: 0.45rem 0 0;
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: rgba(244, 241, 234, 0.72);
}

.community-card-go {
  position: absolute;
  right: 1.3rem;
  bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f4f1ea;
  transition: color 0.25s ease, transform 0.25s ease;
}

.community-card-go svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.25s var(--ease);
}

.community-card:hover .community-card-go {
  color: var(--gold);
}

.community-card:hover .community-card-go svg {
  transform: translateX(3px);
}

/* Visit */
.visit {
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

.visit-body {
  display: grid;
  gap: 1.75rem;
  min-width: 0;
}

@media (min-width: 900px) {
  .visit-body {
    grid-template-columns: 1.2fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
  }
}

.visit-shot {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 16.5rem;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  isolation: isolate;
  background: var(--panel);
  border-radius: 1.05rem;
}

.visit-shot iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  min-width: 0;
  border: 0;
}

.visit-map-open {
  position: absolute;
  z-index: 2;
  right: 0.85rem;
  bottom: 0.85rem;
  padding: 0.45rem 0.75rem;
  background: #03c75a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (min-width: 900px) {
  .visit-shot {
    min-height: 30rem;
    aspect-ratio: auto;
    border-radius: 0;
  }
}

@media (max-width: 899px) {
  .visit {
    padding: 3rem var(--gutter) 3.25rem;
  }

  .visit-info {
    display: contents;
  }

  .visit-head {
    order: 1;
  }

  .visit-shot {
    order: 2;
  }

  .visit-meta {
    order: 3;
  }

  .visit-kicker {
    font-size: 1rem;
  }

  .visit-name {
    font-size: clamp(1.85rem, 7.2vw, 2.45rem);
  }

  .visit-map-link {
    margin-bottom: 0.15rem;
  }

  .visit-rows {
    margin-top: 0.15rem;
  }

  .visit-rows div {
    grid-template-columns: 4.6rem 1fr;
    gap: 0.55rem;
  }
}

.visit-kicker {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--mute);
}

.visit-name {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.12;
}

.visit-addr {
  margin: 0.75rem 0 0;
  color: var(--mute);
  line-height: 1.7;
}

.visit-map-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--gold);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
}

.visit-map-link:hover {
  color: var(--fg);
}

.visit-rows {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.visit-rows div {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.75rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
}

.visit-rows span {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 0.15rem;
}

.visit-rows p {
  margin: 0;
  color: var(--mute);
  font-size: 0.9rem;
}

.visit-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.phone {
  display: block;
  margin: 1.6rem 0 1.15rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.phone:hover {
  color: var(--gold);
}

.visit-info .btn-fill,
.visit-cta .btn-book {
  display: inline-flex;
}

@media (max-width: 899px) {
  .visit-cta {
    display: grid;
    gap: 0.6rem;
    width: 100%;
    margin-top: 1.35rem;
  }

  .visit-cta .phone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3.05rem;
    margin: 0;
    padding: 0 1.15rem;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
    color: var(--fg);
    background: #fff;
    border: 0;
    border-radius: 999px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .visit-cta .phone:hover,
  .visit-cta .phone:active {
    color: var(--fg);
    background: #f3f1ea;
  }

  .visit-info .btn-fill,
  .visit-cta .btn-book {
    width: 100%;
    min-height: 3.05rem;
    border-radius: 999px;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
  }
}

.vs-hero {
  position: relative;
  padding: calc(var(--header) + clamp(2.2rem, 5.5vw, 4rem)) 0 0;
}

.vs-page.visit {
  position: relative;
  z-index: 1;
  padding: 0 var(--gutter);
  border-top: 0;
  margin-top: 0;
  scroll-margin-top: 0;
}

.vs-page .visit-shot {
  border-radius: 1.05rem;
}

@media (min-width: 900px) {
  .vs-page .visit-body {
    align-items: center;
  }

  .vs-page .visit-shot {
    min-height: clamp(24rem, 40vw, 32rem);
    border-radius: 1.05rem;
  }
}

@media (max-width: 899px) {
  .vs-page.visit {
    padding: 0 var(--gutter);
  }
}

.vs-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: clamp(2.4rem, 6vw, 4.2rem);
  padding: 0 var(--gutter);
}

.vs-gallery-item {
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0.75rem;
  aspect-ratio: 4 / 3;
  background: #e8e6e1;
  cursor: pointer;
}

.vs-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.vs-gallery-item:hover img {
  transform: scale(1.04);
}

@media (min-width: 700px) {
  .vs-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }
}

@media (min-width: 1000px) {
  .vs-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
  }
}

/* Footer */
.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--mute);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
}

.footer-brand span {
  color: var(--fg);
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-bottom: 0.15rem;
}

.footer-brand p,
.footer-brand a {
  margin: 0;
  color: var(--mute);
  font-size: 0.9rem;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.footer-brand a:hover,
.footer-brand a:focus-visible {
  color: var(--gold);
}

.footer > span:last-of-type {
  justify-self: end;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  color: var(--mute);
  border-radius: 50%;
  transition: color 0.25s ease, background 0.25s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 12%, transparent);
}

.footer-links svg {
  display: block;
  width: 1.7rem;
  height: 1.7rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-links .icon-fill {
  fill: currentColor;
  stroke: none;
}

@media (max-width: 767px) {
  .footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.85rem;
  }

  .footer-brand {
    align-items: center;
  }

  .footer > span:last-of-type {
    justify-self: center;
  }

  .footer-links {
    grid-column: auto;
    justify-self: center;
  }
}

@media (min-width: 768px) {
  .footer {
    padding-bottom: 1.5rem;
  }
}

/* Motion */
.anim {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.85s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.trainer-group.reveal {
  transition-duration: 0.28s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-pin {
    overflow: visible;
  }

  .hero-video {
    will-change: auto;
  }

  @media (min-width: 900px) {
    .hero,
    .hero-pin {
      min-height: 100svh;
    }
  }

  .trainer-list {
    scroll-behavior: auto;
  }

  .marquee-track,
  .trainer-photo img,
  .trainers-aura,
  .trainers-points i,
  .prog-tile-media img,
  .prog-cta-glow,
  .prog-cta-points i,
  .prog-cta-btn,
  .btn-fill,
  .anim,
  .reveal,
  .community-card img,
  .cm-portal img,
  .vs-gallery-item img,
  .hero-rail-track,
  .hero-title,
  .hero-title-accent,
  .btn-book-naver,
  .bz-btn,
  .drawer-cta,
  .pg-catalog-copy .pg-catalog-meta,
  .hero-tagline,
  .hero-rule,
  .hero-actions,
  .hero-conveyor-track,
  .pg-belt-track,
  .hero-insta,
  .hero-insta.is-swap,
  .hero-insta-bar i,
  .hero-rotator > span,
  .roster-photo img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-insta-slide {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 0 !important;
  }

  .hero-insta-slide.is-active {
    opacity: 1 !important;
  }

  .hero-title-accent,
  .programs-meta strong,
  .pg-catalog-copy .pg-catalog-meta {
    color: var(--gold) !important;
    -webkit-text-fill-color: var(--gold) !important;
    background: none !important;
  }

  .btn-book-naver,
  .btn-fill,
  .bz-btn,
  .drawer-cta,
  .prog-cta-btn {
    background: var(--gold) !important;
    filter: none !important;
  }

  .hero-rotator > span {
    opacity: 0 !important;
    transform: translate3d(0, -115%, 0) !important;
  }

  .hero-rotator > span.is-active {
    opacity: 1 !important;
    transform: none !important;
  }

  .programs .reveal,
  .prog-tile,
  .prog-cta {
    filter: none !important;
    clip-path: none !important;
  }
}

/* =========================================
   Trainer detail modal
   ========================================= */

.tr-modal {
  --tr-accent: #c4a03a;
  --tr-accent-rgb: 196, 160, 58;
  --tr-accent-ink: #1a1508;
  position: fixed;
  inset: 0;
  width: min(1080px, calc(100vw - 1.5rem));
  max-width: calc(100vw - 1.5rem);
  height: min(720px, calc(100dvh - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 1rem;
  background: var(--bg);
  color: var(--fg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition:
    opacity 0.32s var(--ease),
    transform 0.38s var(--ease);
}

.tr-modal[open] {
  display: flex;
}

.tr-modal.is-open {
  opacity: 1;
  transform: none;
}

.tr-modal.is-closing {
  opacity: 0;
  transform: translateY(10px) scale(0.988);
}

.tr-modal::backdrop {
  background: rgba(10, 8, 6, 0.72);
  opacity: 0;
  transition: opacity 0.32s ease;
}

.tr-modal.is-open::backdrop {
  opacity: 1;
}

.tr-modal.is-closing::backdrop {
  opacity: 0;
}

.tr-modal-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.tr-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.08);
  color: var(--fg);
  cursor: pointer;
}

.tr-modal-close svg {
  width: 1.05rem;
  height: 1.05rem;
}

.tr-modal-close:hover,
.tr-modal-close:focus-visible {
  background: var(--tr-accent);
  color: var(--tr-accent-ink);
  outline: none;
}

.tr-modal-tabs {
  display: none;
}

.tr-modal-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0 0.75rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--mute);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  cursor: pointer;
}

.tr-modal-tab.is-active {
  background: var(--fg);
  color: var(--bg);
}

.tr-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 0;
  flex: 1;
  min-height: 0;
}

.tr-modal-media,
.tr-modal-info {
  min-width: 0;
  min-height: 0;
}

.tr-modal-media {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.9rem;
  background: #121110;
}

.tr-modal-stage-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex: 1;
  min-height: 0;
}

.tr-modal-stage {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 0;
  border-radius: 0.7rem;
  overflow: hidden;
  background: #0c0b0a;
}

.tr-modal-stage-media {
  width: 100%;
  height: 100%;
}

.tr-modal-image,
.tr-modal-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0d0c0b;
}

.tr-modal-empty {
  display: grid;
  place-items: center;
  height: 100%;
  color: rgba(244, 241, 234, 0.55);
  font-size: 0.9rem;
}

.tr-modal-enlarge {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.94);
  color: #171717;
  cursor: pointer;
}

.tr-modal-enlarge svg {
  width: 1rem;
  height: 1rem;
}

.tr-modal-enlarge:hover,
.tr-modal-enlarge:focus-visible {
  background: var(--tr-accent);
  outline: none;
}

.tr-modal-nav {
  position: relative;
  top: auto;
  z-index: 2;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.92);
  color: #171717;
  cursor: pointer;
  transform: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.tr-modal-nav[data-dir="-1"],
.tr-modal-nav[data-dir="1"] {
  left: auto;
  right: auto;
}

.tr-modal-nav svg {
  width: 1.05rem;
  height: 1.05rem;
}

.tr-modal-nav:hover,
.tr-modal-nav:focus-visible {
  background: var(--tr-accent);
  color: var(--tr-accent-ink);
  outline: none;
}

.tr-modal-nav[hidden] {
  display: none;
}

.tr-modal-thumbs {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tr-modal-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 3.6rem;
  height: 3.6rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.45rem;
  overflow: hidden;
  background: #1c1b19;
  cursor: pointer;
}

.tr-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tr-modal-thumb.is-active {
  border-color: var(--tr-accent);
}

.tr-modal-thumb-badge {
  position: absolute;
  inset: auto 0.25rem 0.25rem auto;
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.55rem;
  line-height: 1;
}

.tr-modal-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1.35rem 1.4rem 1.4rem 1.25rem;
  overflow: auto;
}

.tr-modal-head {
  display: grid;
  gap: 0.4rem;
}

.tr-modal-group {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tr-accent);
}

.tr-modal-title-row {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.2rem 0.55rem;
}

.tr-modal-name {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.tr-modal-roles {
  margin: 0;
  padding-bottom: 0.12em;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--mute);
}

.tr-modal-roles[hidden] {
  display: none;
}

.tr-modal-quote {
  margin: 0.15rem 0 0;
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 22em;
}

.tr-modal-sections {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.2rem;
}

.tr-modal-block {
  display: grid;
  gap: 0.4rem;
  max-width: 34em;
}

.tr-modal-block[hidden] {
  display: none;
}

.tr-modal-block h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--tr-accent);
}

.tr-modal-block p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--fg);
  max-width: 28em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.tr-modal-list,
.tr-modal-creds {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.tr-modal-list li,
.tr-modal-creds li {
  position: relative;
  padding-left: 0.85rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--fg);
}

.tr-modal-list li::before,
.tr-modal-creds li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 999px;
  background: var(--tr-accent);
}

.tr-modal-list li.is-empty,
.tr-modal-creds li.is-empty {
  color: var(--mute);
  padding-left: 0;
}

.tr-modal-list li.is-empty::before,
.tr-modal-creds li.is-empty::before {
  display: none;
}

body.tr-modal-open,
body.tr-lightbox-open {
  overflow: hidden;
}

.tr-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.tr-lightbox[open] {
  display: grid;
  place-items: center;
}

.tr-lightbox::backdrop {
  background: rgba(8, 7, 6, 0.88);
}

.tr-lightbox-stage {
  width: min(92vw, 72rem);
  height: min(84dvh, 56rem);
  display: grid;
  place-items: center;
}

.tr-lightbox-stage .tr-modal-image,
.tr-lightbox-stage .tr-modal-video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 0.7rem;
}

.tr-lightbox-close,
.tr-lightbox-nav {
  position: fixed;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.14);
  color: #f4f1ea;
  cursor: pointer;
}

.tr-lightbox-close {
  top: 1rem;
  right: 1rem;
}

.tr-lightbox-nav[data-dir="-1"] {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.tr-lightbox-nav[data-dir="1"] {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.tr-lightbox-close svg,
.tr-lightbox-nav svg {
  width: 1.15rem;
  height: 1.15rem;
}

.tr-lightbox-close:hover,
.tr-lightbox-nav:hover,
.tr-lightbox-close:focus-visible,
.tr-lightbox-nav:focus-visible {
  background: var(--tr-accent, #e2b84a);
  color: var(--tr-accent-ink, #1a1508);
  outline: none;
}

@media (max-width: 860px) {
  .tr-modal {
    inset: auto;
    left: 50%;
    right: auto;
    top: auto;
    bottom: calc(0.7rem + env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 1.25rem);
    max-width: 26.5rem;
    height: auto;
    max-height: min(84dvh, 640px);
    margin: 0;
    border-radius: 1.15rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
    opacity: 1;
    transform: translate(-50%, calc(100% + 1.5rem));
    transition:
      transform 0.42s var(--ease),
      opacity 0.28s ease;
  }

  .tr-modal.is-open {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  .tr-modal.is-closing {
    opacity: 1;
    transform: translate(-50%, calc(100% + 1.5rem));
  }

  .tr-modal::backdrop {
    background: rgba(10, 8, 6, 0.62);
  }

  .tr-modal-shell {
    max-height: min(84dvh, 640px);
    padding: 0;
  }

  .tr-modal-close {
    top: 0.55rem;
    right: 0.55rem;
    width: 2rem;
    height: 2rem;
    background: rgba(244, 241, 234, 0.92);
    color: #171717;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  }

  .tr-modal-close:hover,
  .tr-modal-close:focus-visible {
    background: var(--tr-accent);
    color: var(--tr-accent-ink);
  }

  .tr-modal-tabs {
    display: none;
  }

  .tr-modal-grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    grid-template-rows: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--tr-accent-rgb), 0.55) rgba(23, 23, 23, 0.06);
  }

  .tr-modal-grid::-webkit-scrollbar {
    width: 5px;
  }

  .tr-modal-grid::-webkit-scrollbar-track {
    margin: 0.5rem 0;
    background: rgba(23, 23, 23, 0.05);
    border-radius: 999px;
  }

  .tr-modal-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(
      180deg,
      rgba(var(--tr-accent-rgb), 0.75),
      rgba(var(--tr-accent-rgb), 0.45)
    );
    border-radius: 999px;
  }

  .tr-modal-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--tr-accent-rgb), 0.85);
  }

  .tr-modal-media,
  .tr-modal-info {
    display: flex !important;
    height: auto;
    min-height: 0;
    flex: 0 0 auto;
  }

  .tr-modal-media {
    gap: 0.45rem;
    padding: 0.7rem 0.7rem 0.55rem;
    background:
      linear-gradient(180deg, #1a1714 0%, #12100e 100%);
  }

  .tr-modal-stage-wrap {
    flex: none;
    gap: 0.4rem;
    width: 100%;
  }

  .tr-modal-stage {
    flex: none;
    width: min(100%, 11.5rem);
    margin: 0;
    aspect-ratio: 3 / 4;
    max-height: min(34vh, 15.5rem);
    height: auto;
    border-radius: 0.8rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  }

  .tr-modal-image {
    object-fit: cover;
    object-position: 50% 18%;
  }

  .tr-modal-video {
    object-fit: cover;
  }

  .tr-modal-nav {
    width: 1.85rem;
    height: 1.85rem;
  }

  .tr-modal-nav[data-dir="-1"],
  .tr-modal-nav[data-dir="1"] {
    left: auto;
    right: auto;
  }

  .tr-modal-nav svg {
    width: 0.95rem;
    height: 0.95rem;
  }

  .tr-modal-enlarge {
    width: 1.85rem;
    height: 1.85rem;
    right: 0.4rem;
    bottom: 0.4rem;
  }

  .tr-modal-enlarge svg {
    width: 0.9rem;
    height: 0.9rem;
  }

  .tr-modal-thumbs {
    justify-content: center;
    gap: 0.35rem;
    padding: 0 0.15rem;
  }

  .tr-modal-thumb {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.4rem;
  }

  .tr-modal-info {
    padding: 0.85rem 1rem 1.15rem;
    background: var(--bg);
  }

  .tr-modal-head {
    gap: 0.28rem;
  }

  .tr-modal-group {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .tr-modal-title-row {
    gap: 0.15rem 0.4rem;
  }

  .tr-modal-name {
    font-size: clamp(1.35rem, 6.2vw, 1.65rem);
  }

  .tr-modal-roles {
    font-size: 0.82rem;
    padding-bottom: 0.08em;
  }

  .tr-modal-quote {
    font-size: 0.86rem;
    line-height: 1.4;
    max-width: none;
  }

  .tr-modal-sections {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    gap: 0.9rem;
  }

  .tr-modal-block {
    margin-top: 0;
    padding-top: 0;
    gap: 0.28rem;
    max-width: none;
  }

  .tr-modal-block h3 {
    font-size: 0.82rem;
  }

  .tr-modal-block p {
    font-size: 0.92rem;
    line-height: 1.62;
    max-width: none;
  }

  .tr-modal-list li,
  .tr-modal-creds li {
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .tr-lightbox-nav[data-dir="-1"] {
    left: 0.55rem;
  }

  .tr-lightbox-nav[data-dir="1"] {
    right: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tr-modal,
  .tr-modal::backdrop {
    transition: none;
  }
}

/* Trainer modal affordance — only when enabled (WP toggle) */
html.trainer-modal-on .trainer-photo::after,
html.trainer-modal-on .roster-photo::after {
  content: "+";
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.94);
  color: #171717;
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  transition:
    transform 0.35s var(--ease),
    background 0.25s ease,
    color 0.25s ease;
}

html.trainer-modal-on .trainer-card:hover .trainer-photo::after,
html.trainer-modal-on .roster-card:hover .roster-photo::after {
  background: var(--tr-accent, #c4a03a);
  color: #1a1508;
  transform: scale(1.06);
}

html.trainer-modal-on .roster-photo::after {
  top: 0.55rem;
  right: 0.55rem;
  width: 1.7rem;
  height: 1.7rem;
  font-size: 1.05rem;
  background: rgba(23, 23, 23, 0.82);
  color: #f4f1ea;
}

@media (max-width: 720px) {
  html.trainer-modal-on .trainer-photo::after,
  html.trainer-modal-on .roster-photo::after {
    top: 0.55rem;
    right: 0.55rem;
    width: 1.65rem;
    height: 1.65rem;
    font-size: 1.05rem;
  }
}
