/* ========================================
   LABYRINTH BJJ WHARTON: SITE-SPECIFIC STYLES
   ========================================

   Loaded after base.css, style.css and programs.css, which are the main
   site's design system copied in by scripts/wharton_sync.py. Everything the
   Wharton site has that labyrinth.vision does not lives here, and nothing
   here changes how a main-site component looks: it only adds components
   (the coming-soon strip and badge, the portrait card, the program cards,
   the location cards, the enquiry form's extras) and fixes up the nav, which
   has six links instead of twelve and so can show on a narrower screen.

   Hand-written. scripts/wharton_sync.py never overwrites this file. */

:root { --strip-h: 0px; }
html { scroll-padding-top: 120px; }

/* ===== NAV ===== */
.nav { top: var(--strip-h); }
.nav__logo-loc {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid var(--border-strong);
  align-self: center;
}
.nav__logo-img { filter: invert(1); }
.nav__link[aria-current="page"] { color: var(--text); }
.nav__link[aria-current="page"]::after { width: 100%; }
.nav__mobile { top: calc(var(--nav-height) + var(--strip-h)); }
.nav__mobile a[aria-current="page"] { color: var(--gold); }

/* Six links, a phone number and a button fit from 1001px up; style.css collapses
   the nav at 1260px because the main site has twelve. */
@media (min-width: 1001px) {
  :root { --nav-height: 72px; }
  .nav__links { display: flex; }
  .nav__hamburger { display: none; }
  .nav__mobile, .nav__mobile.open { display: none; }
}
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}
@media (max-width: 400px) {
  .nav__logo { margin-right: 0; gap: 8px; }
  .nav__logo-text { font-size: 17px; }
  .nav__logo-loc { margin-left: 4px; padding-left: 6px; letter-spacing: 0.14em; }
  .nav__inner { padding: 0 16px; }
}

/* ===== COMING SOON ===== */
body.is-soon { --strip-h: 40px; padding-top: var(--strip-h); }

.soon-strip {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--strip-h);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 16px;
  background: #15120a;
  border-bottom: 1px solid rgba(200, 162, 76, 0.35);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
}
.soon-strip a { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.soon-strip a:hover { color: var(--gold-hover); }
.soon-strip__short { display: none; }
@media (max-width: 760px) {
  .soon-strip__text { display: none; }
  .soon-strip__short { display: inline; }
}

.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--gold);
  background: rgba(200, 162, 76, 0.1);
  border: 1px solid rgba(200, 162, 76, 0.4);
  padding: 5px 12px;
  border-radius: 999px;
  vertical-align: middle;
}
.soon-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: soonPulse 2.2s ease-out infinite;
}
@keyframes soonPulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 162, 76, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(200, 162, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 162, 76, 0); }
}
.section-label .soon-badge { margin-left: 8px; }

.soon-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: var(--space-12) var(--space-6);
  border: 1px dashed rgba(200, 162, 76, 0.45);
  border-radius: var(--radius-lg);
  background: rgba(200, 162, 76, 0.04);
}
.soon-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  line-height: 1.15;
}
.soon-card p { color: var(--text-muted); max-width: 54ch; line-height: 1.7; }

/* ===== HERO ===== */
body.is-soon .hero { min-height: calc(100vh - var(--strip-h)); }
.hero--wharton { min-height: 88vh; }
.hero--wharton .hero__title { font-size: clamp(36px, 5.4vw, 70px); }
.nw { white-space: nowrap; font-weight: inherit; }
.hero__badges { margin-bottom: var(--space-6); }
.hero__badges:empty { display: none; }
.hero__stats--3 { grid-template-columns: repeat(3, 1fr); }
.hero__stat-label a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 768px) {
  .hero__stats--3 { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-10); }
  .hero__stats--3 .hero__stat-value { font-size: 24px; white-space: nowrap; }
  .hero__stats--3 .hero__stat-label { font-size: 12px; line-height: 1.35; }
}
.hero--wharton .hero__still, .hero--wharton .hero__still img { width: 100%; height: 100%; }

/* ===== LAYOUT PIECES ===== */
/* A section's label + title (+ subtitle) block. Whatever follows it starts
   a fixed distance below, whatever its own top margin was on the main site. */
.section-head { margin-bottom: var(--space-8); }
.section-head + * { margin-top: 0; }
.section-title + .section-subtitle { margin-top: var(--space-3); }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-12);
  align-items: center;
}
.split--portrait { grid-template-columns: minmax(240px, 360px) 1fr; }
.split__media picture, .split__media img { display: block; width: 100%; }
.split__media > picture > img {
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
@media (max-width: 860px) {
  .split, .split--portrait { grid-template-columns: 1fr; gap: var(--space-8); }
}
.more-link { margin-top: var(--space-6); }
.team-note {
  margin-top: var(--space-5);
  font-size: 13px;
  color: var(--text-muted);
  max-width: 80ch;
  line-height: 1.6;
}
.team-note a, .prog-prose a, .section-subtitle a, .prog-week__note a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prog-groups .prog-group__desc a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ===== PROGRAM CARDS ===== */
.program-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
@media (max-width: 760px) { .program-duo { grid-template-columns: 1fr; } }
.program-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
@media (max-width: 960px) { .program-trio { grid-template-columns: 1fr; } }
.section-head + .program-trio { margin-top: 0; }
/* A program with no photograph: the Labyrinth mark on the same dark-gold wash as Joe's portrait card. */
.w-program__media--mark, .prog-hero__shot--mark {
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(200, 162, 76, 0.22), transparent 62%),
    linear-gradient(165deg, #1c1a15, #0d0d0d);
}
.w-program__media.w-program__media--mark img, .prog-hero__shot.prog-hero__shot--mark img {
  width: 48%; height: auto; max-height: 80%;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.85;
}
.prog-hero__shot.prog-hero__shot--mark img { width: 42%; }
.w-program {
  display: flex;
  flex-direction: column;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.w-program:hover, .w-program:focus-visible { border-color: var(--gold); transform: translateY(-3px); }
.w-program__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.w-program__media picture { display: block; width: 100%; height: 100%; }
.w-program__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.w-program__body { padding: var(--space-6) var(--space-6) var(--space-8); display: flex; flex-direction: column; gap: var(--space-3); }
.w-program__tag { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.w-program__title { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.15; }
.w-program__body p:not(.w-program__tag) { color: var(--text-muted); line-height: 1.65; }
.w-program .coach-card__link { align-self: flex-start; }

/* ===== PORTRAIT AND COACH CARDS ===== */
.portrait {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(200, 162, 76, 0.2), transparent 60%),
    linear-gradient(165deg, #1c1a15, #0d0d0d);
}
.portrait__mark {
  position: absolute;
  inset: 8%;
  width: 84%; height: 84%;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.07;
  z-index: -1;
}
.portrait__ring {
  width: 46%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(200, 162, 76, 0.08), 0 0 60px rgba(200, 162, 76, 0.16);
  margin-bottom: 14%;
}
.portrait__initials {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 64px);
  letter-spacing: 0.04em;
  color: var(--gold);
}
.portrait__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 36px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}
.portrait__cap strong { font-family: var(--font-display); font-size: 19px; }
.portrait__cap span { font-size: 13px; color: var(--text-muted); }
.portrait__soon {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  background: rgba(10, 10, 10, 0.6);
  padding: 4px 10px;
  border-radius: 999px;
}
.portrait--photo picture, .portrait__pic { display: block; width: 100%; height: 100%; }
.portrait--photo img { width: 100%; height: 100%; object-fit: cover; }
.portrait--sm { max-width: none; aspect-ratio: 1 / 1; }
.portrait--sm .portrait__cap, .portrait--sm .portrait__soon { display: none; }
.portrait--sm .portrait__ring { width: 56%; margin-bottom: 0; box-shadow: 0 0 0 6px rgba(200, 162, 76, 0.08); }
.portrait--sm .portrait__initials { font-size: 38px; }

.prog-hero__grid--portrait { grid-template-columns: 1.5fr 0.5fr; }
.prog-hero__portrait { justify-self: end; width: 100%; max-width: 330px; }
@media (max-width: 899px) {
  .prog-hero__grid--portrait { grid-template-columns: 1fr; }
  .prog-hero__portrait { justify-self: start; max-width: 280px; }
}

.coach-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: var(--space-6);
}
.w-coach {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: var(--space-6);
  align-items: center;
  padding: var(--space-6);
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.w-coach__name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.15; }
.w-coach__role { color: var(--gold); font-size: 14px; font-weight: 600; margin: 4px 0 var(--space-3); }
.w-coach__bio { color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.w-coach .coach-card__rank { margin-bottom: var(--space-3); }
@media (max-width: 560px) {
  .w-coach { grid-template-columns: 1fr; text-align: left; }
  .w-coach .portrait--sm { max-width: 170px; }
}

/* ===== LOCATION CARDS, CONTACT ===== */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-8);
}
.loc-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.loc-card__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.loc-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.loc-card .loc-card__big { color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.35; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: var(--space-10);
  align-items: start;
}
.contact-grid .trial-form { margin-top: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: grid;
  gap: var(--space-5);
}
.contact-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.contact-card__row, .contact-card__loc { display: grid; gap: 6px; justify-items: start; }
.contact-card__row > span, .contact-card__loc > span { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.contact-card a { color: var(--gold); font-weight: 600; font-size: 1.1rem; overflow-wrap: anywhere; }
.contact-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* ===== FAMILY ===== */
.family {
  display: grid;
  grid-template-columns: minmax(150px, 240px) 1fr;
  gap: var(--space-12);
  align-items: center;
}
.family__logo img { width: 100%; height: auto; filter: invert(1); opacity: 0.9; }
@media (max-width: 720px) {
  .family { grid-template-columns: 1fr; gap: var(--space-6); }
  .family__logo { max-width: 140px; }
}

/* ===== PRICING / SCHEDULE EXTRAS ===== */
.price-group__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin-top: var(--space-10);
  color: var(--text);
}
.price-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.price-group__title:first-child { margin-top: 0; }
.price-group__title + .price-grid, .price-group__title + .price-extras { margin-top: var(--space-5); }
.price-card__note { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin: calc(var(--space-3) * -1) 0 var(--space-5); }
.prog-slot__note { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ===== THE ENQUIRY FORM ===== */
.hp-field {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}
.w-form .is-error { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.18); }
.w-form__consent { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: var(--space-2) 0 var(--space-4); }
.w-form__submit { width: 100%; }
.w-form__submit:disabled { opacity: 0.6; cursor: progress; }
.w-form__error {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  font-size: 14px;
  line-height: 1.55;
  color: #ffb4a8;
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.4);
  border-radius: var(--radius-sm);
}
.w-form__error[hidden] { display: none; }
.w-form__noscript { margin-top: var(--space-4); font-size: 14px; color: var(--text-muted); }
.w-form[hidden] { display: none; }
.form-success:focus { outline: none; }
.trial .container--narrow .trial-form { margin-top: var(--space-8); }
.trial-form .form-group input, .trial-form .form-group select, .trial-form .form-group textarea { width: 100%; }

/* ===== FAQ ===== */
.faq-item--active .faq-item__answer { max-height: 900px; }
.faq { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }

/* ===== FOOTER ===== */
.footer__top--wharton { grid-template-columns: 1.4fr 1.1fr 0.9fr 0.8fr 1fr; gap: var(--space-8); }
.footer__col a[href*="labyrinthbjjkaty"] { color: var(--text-muted); font-weight: 400; }
.footer__col a[href*="labyrinthbjjkaty"]:hover { color: var(--text); }
.footer__col p { margin-bottom: var(--space-2); }
.footer__col p a { display: inline; color: var(--gold); }
@media (max-width: 1024px) { .footer__top--wharton { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top--wharton { grid-template-columns: 1fr; } }

/* ===== FOCUS AND CONTRAST ===== */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.footer__bottom p, .footer__bottom a, .footer__col .footer__soon { color: var(--text-muted); }

/* ===== MOBILE CTA BAR ===== */
.mobile-cta-bar svg { flex-shrink: 0; }

/* ===== NO JAVASCRIPT ===== */
/* style.css hides .fade-in and .stagger children until a script reveals them.
   Without a script they would stay hidden for good. */
html:not(.js) .fade-in,
html:not(.js) .stagger > * { opacity: 1; transform: none; }
html:not(.js) .faq-item__answer { max-height: none; }
html:not(.js) .faq-item__icon { display: none; }

@media (prefers-reduced-motion: reduce) {
  .soon-badge::before { animation: none; }
}

/* ========================================
   REDESIGN: the main site's components, in Wharton's gold
   ======================================== */

/* Hero: the real Wharton photograph, darkened on the text side only so the room shows. */
.hero--wharton .hero__bg::after {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.62) 46%, rgba(10, 10, 10, 0.28) 100%),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.35) 0%, rgba(10, 10, 10, 0) 30%, rgba(10, 10, 10, 0.92) 100%);
}
.hero--wharton .hero__still img { object-position: 60% 40%; }
.hero--wharton .hero__title { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45); }

/* ── Tap-to-book timetable ── */
.sc--wharton { --sc-kids: #4FC3F7; --sc-women: #E58FB5; --sc-adult: var(--gold); }
.sc--wharton .sc__week { grid-template-columns: 1fr; }
.sc--wharton .sc__swatch--kids { background: var(--sc-kids); }
.sc--wharton .sc__swatch--adult { background: var(--sc-adult); }
.sc--wharton .sc__swatch--women { background: var(--sc-women); }
.sc--wharton .sc__class--kids { border-left-color: var(--sc-kids); }
.sc--wharton .sc__class--adult { border-left-color: var(--sc-adult); }
.sc--wharton .sc__class--women { border-left-color: var(--sc-women); }
.sc--wharton .sc__class--untimed { cursor: default; opacity: 0.8; }
.sc--wharton .sc__class--untimed:hover { transform: none; }
.sc--wharton .sc__day-full { display: inline; }
.sc--wharton .sc__day-short { display: none; }
.sc--wharton .sc__style { margin-left: 6px; }
.sc--wharton .sc__foot { text-align: center; margin-top: 22px; }
.sc--wharton .sc__col { padding: 14px; }
.sc--wharton .sc__name { font-size: 15px; }
.sc--wharton .sc__class { min-height: 78px; align-content: center; }
@media (min-width: 700px) {
  .sc--wharton .sc__week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .sc--wharton .sc__week { grid-template-columns: repeat(var(--sc-cols, 4), minmax(0, 1fr)); gap: 14px; }
  .sc--wharton .sc__day-full { display: inline; }
  .sc--wharton .sc__day-short { display: none; }
  .sc--wharton .sc__class { padding: 12px 14px 13px 16px; }
  .sc--wharton .sc__name { font-size: 15px; }
  .sc--wharton .sc__col { padding: 14px; }
}
@media (max-width: 1023px) {
  .sc--wharton .sc__class { grid-template-columns: 1fr; grid-template-areas: none; }
  .sc--wharton .sc__time, .sc--wharton .sc__name, .sc--wharton .sc__tags { grid-area: auto; }
  .sc--wharton .sc__style { display: inline; margin: 0 0 0 6px; }
}

/* ── The booking panel that replaces the old enquiry form ── */
.book-panel { text-align: left; }
.book-panel__text { color: var(--text-muted); line-height: 1.6; margin-bottom: var(--space-4); }
.book-panel__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-5); }
.book-panel__chip {
  min-height: 40px; padding: 0 16px; border: 1px solid var(--border-strong); border-radius: 999px;
  background: var(--surface); color: var(--text); font: 600 14px/1 var(--font-body); cursor: pointer;
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.book-panel__chip:hover { border-color: var(--gold); color: var(--gold); }
.book-panel__btn { width: 100%; justify-content: center; }
.book-panel__alt { margin-top: var(--space-4); color: var(--text-muted); font-size: 14px; }
.book-panel__alt a { color: var(--gold); }

/* In the booking modal */
.booking-group-title {
  margin: 18px 0 8px; font: 700 12px/1 var(--font-body); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
}
.booking-modal .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Programs: the main site's photo cards, two to a row ── */
.wprograms { margin-top: var(--space-8); }
.wprograms .program-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.wprograms .program-card__pic { display: block; }
.wprograms .program-card__pic img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 35%; display: block; }
.wprograms .program-card__body { flex: 1; display: flex; flex-direction: column; }
.wprograms .program-card__more { margin-top: auto; padding-top: var(--space-3); }
@media (max-width: 760px) { .wprograms .program-card--half { grid-column: span 12; } }

/* ── Coaches: the main site's cards, two across ── */
.wcoaches { grid-template-columns: repeat(6, 1fr); margin-top: var(--space-8); }
.wcoaches .coach-card--featured { grid-column: span 3; align-items: flex-start; }
.wcoaches .coach-card__avatar img, .wcoaches .coach-card__avatar picture { width: 100%; height: 100%; }
.wcoaches .coach-card__bio { color: var(--text-muted); line-height: 1.6; font-size: 15px; }
.wcoaches .coach-card__link { color: var(--gold); white-space: nowrap; }
@media (max-width: 860px) {
  .wcoaches .coach-card--featured { grid-column: span 6; }
}
@media (max-width: 480px) {
  .wcoaches .coach-card--featured { flex-direction: column; align-items: center; text-align: center; }
  .wcoaches .coach-card--featured .coach-card__rank { align-items: center; }
}

/* ── Pricing: a single grand-opening card sits in the middle ── */
.wpricing .pricing__grid--1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.wpricing .pricing__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.wpricing .pricing-card .btn { display: flex; justify-content: center; }
.pricing__grid--1 { grid-template-columns: minmax(0, 420px); justify-content: center; }

/* Gallery sits on the page background like the other full-width sections. */
.gallery .section-title { text-align: center; }
@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}

.hero--wharton .hero__subtitle { color: #d4d4d4; }
@media (max-width: 768px) {
  .hero--wharton .hero__bg::after {
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.78) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(10, 10, 10, 0.95) 100%);
  }
}
