:root {
  --black: #070707;
  --charcoal: #111111;
  --ink: #1c1c1c;
  --muted: #646464;
  --line: #e6e6e6;
  --cream: #f5f5f5;
  --white: #ffffff;
  --red: #d51f2a;
  --red-dark: #9f151e;
  --gold: #d51f2a;
  --shadow: 0 24px 70px rgba(0,0,0,.14);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  background: var(--red);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 1000;
}
.skip-link:focus { left: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,7,7,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  letter-spacing: .02em;
}
.brand-mark { width: auto; height: 48px; object-fit: contain; }
.brand strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1;
  text-transform: uppercase;
}
.brand small {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-top: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255,255,255,.82);
  font-weight: 700;
  font-size: .92rem;
}
.nav-links a { transition: color .2s ease, transform .2s ease; }
.nav-links a:hover { color: var(--white); transform: translateY(-1px); }
.nav-cta {
  color: var(--white) !important;
  background: var(--red);
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(213,31,42,.28);
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.section { padding: 96px 0; }
.section-dark {
  background: radial-gradient(circle at top left, rgba(213,31,42,.22), transparent 30%), var(--black);
  color: var(--white);
}
.section-muted { background: var(--cream); }
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 78px 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,7,7,.72), rgba(7,7,7,.92)),
    radial-gradient(circle at 82% 18%, rgba(213,31,42,.20), transparent 25%),
    radial-gradient(circle at 65% 80%, rgba(213,31,42,.14), transparent 32%),
    url('assets/lotus-backdrop.png') center top / cover no-repeat,
    var(--black);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  gap: 48px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .76rem;
}
.eyebrow.red { color: var(--red); }
h1, h2, h3 { margin: 0; line-height: 1.02; }
h1, h2 {
  font-family: 'Anton', Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .02em;
}
h1 { font-size: clamp(3.6rem, 8vw, 7.8rem); max-width: 900px; }
h2 { font-size: clamp(2.35rem, 4.2vw, 4.7rem); }
h3 { font-size: 1.35rem; }
.hero-lead {
  max-width: 720px;
  color: rgba(255,255,255,.78);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  margin: 26px 0 34px;
}
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: var(--white); box-shadow: 0 16px 36px rgba(213,31,42,.34); }
.button-primary:hover { background: var(--red-dark); }
.button-secondary { color: var(--white); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.07); }
.button-secondary.dark { color: var(--black); border-color: var(--line); background: var(--white); }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.trust-row span, .pill-list span {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 700;
}
.hero-card {
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow);
}
.card-topline {
  display: inline-flex;
  background: var(--white);
  color: var(--red);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-card h2 { font-size: clamp(2rem, 3vw, 3.1rem); }
.hero-card p, .hero-card li { color: rgba(255,255,255,.75); }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li { position: relative; padding-left: 28px; margin: 12px 0; }
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--gold);
  font-weight: 900;
}

.stats-strip { background: var(--red); color: var(--white); padding: 22px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stats-grid div { border-left: 1px solid rgba(255,255,255,.26); padding-left: 18px; }
.stats-grid strong { display: block; font-family: 'Anton', Impact, sans-serif; font-size: 2.2rem; line-height: 1; }
.stats-grid span { color: rgba(255,255,255,.82); font-weight: 700; font-size: .9rem; }

.section-heading { max-width: 800px; text-align: center; margin: 0 auto 42px; }
.section-heading.left { text-align: left; margin: 0; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; margin-top: 18px; }
.section-dark .section-heading p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.program-card, .staff-card, .faq, .approach-panel, .contact-card, .mission-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 45px rgba(0,0,0,.06);
}
.program-card {
  padding: 28px;
  min-height: 245px;
  position: relative;
  overflow: hidden;
}
.program-card::after {
  content: '';
  position: absolute;
  width: 110px;
  height: 110px;
  border: 18px solid rgba(213,31,42,.08);
  border-radius: 50%;
  right: -30px;
  bottom: -36px;
}
.program-tag {
  display: inline-flex;
  color: var(--white);
  background: var(--black);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 28px;
}
.program-card h3 { margin-bottom: 12px; }
.program-card p { color: var(--muted); margin: 0; }
.program-card .program-price {
  color: var(--black);
  font-weight: 900;
  margin-top: 16px;
}
.program-link {
  display: inline-flex;
  color: var(--red);
  font-weight: 900;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}
.program-link:hover { color: var(--black); }

.split-grid, .process-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.split-grid p { color: var(--muted); font-size: 1.08rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill-list span { color: var(--ink); border-color: var(--line); background: var(--white); }
.approach-panel {
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(213,31,42,.08), rgba(213,31,42,0) 42%),
    var(--white);
}
.approach-panel h3 { margin: 0 0 22px; }
.panel-kicker {
  display: inline-flex;
  margin: 0 0 12px;
  color: var(--red);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.skill-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.skill-focus {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.66);
}
.skill-focus:first-child {
  grid-column: 1 / -1;
  min-height: auto;
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.skill-focus span {
  display: block;
  margin-bottom: 8px;
  font-weight: 900;
  line-height: 1.1;
}
.skill-focus small {
  display: block;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.45;
}
.skill-focus:first-child small { color: rgba(255,255,255,.72); }
.community-section { padding: 76px 0; background: var(--black); }
.mission-card {
  position: relative;
  background:
    linear-gradient(115deg, rgba(213,31,42,.55) 0%, rgba(213,31,42,0) 26%),
    linear-gradient(245deg, rgba(213,31,42,.55) 0%, rgba(213,31,42,0) 26%),
    radial-gradient(120% 140% at 50% -10%, #2a0c0e 0%, #161618 45%, #0c0c0d 100%);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding: 42px;
  border: 1px solid rgba(213,31,42,.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 0 60px rgba(0,0,0,.55);
  overflow: hidden;
}
.mission-card::before,
.mission-card::after {
  content: "";
  position: absolute;
  top: -20%;
  width: 130px;
  height: 140%;
  background: linear-gradient(180deg, rgba(213,31,42,0) 0%, rgba(213,31,42,.85) 35%, rgba(159,21,30,.9) 65%, rgba(213,31,42,0) 100%);
  filter: blur(2px);
  pointer-events: none;
}
.mission-card::before { left: -40px; transform: rotate(12deg); }
.mission-card::after { right: -40px; transform: rotate(-12deg); }
.mission-card > * { position: relative; z-index: 1; }
.mission-body .eyebrow { color: rgba(255,255,255,.72); }
.mission-body h2 { margin: 0 0 18px; }
.mission-statement { color: rgba(255,255,255,.9); margin: 0 0 20px; font-size: 1.05rem; }
.mission-tag {
  margin: 0;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .82rem;
  color: rgba(255,255,255,.85);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.staff-card { padding: 28px; }
.staff-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 22px;
  border: 1px solid var(--line);
}
.staff-badge.black { background: var(--black); color: var(--white); }
.staff-badge.red-bg { background: var(--red); color: var(--white); }
.staff-badge.white-bg { background: var(--white); color: var(--black); box-shadow: inset 0 0 0 2px var(--black); }
.staff-role { color: var(--red); font-weight: 900; margin: 8px 0 10px; }
.staff-card p:not(.staff-role) { color: var(--muted); }
.staff-card small { color: var(--muted); font-weight: 800; }

.steps { display: grid; gap: 16px; }
.step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  padding: 20px;
}
.step strong { font-family: 'Anton', Impact, sans-serif; color: var(--gold); font-size: 2rem; }
.step span { color: rgba(255,255,255,.82); font-weight: 700; }

.faq-list { max-width: 900px; display: grid; gap: 14px; }
.faq { padding: 0; overflow: hidden; }
.faq summary {
  cursor: pointer;
  font-weight: 900;
  padding: 22px 24px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--red); font-size: 1.4rem; line-height: 1; }
.faq[open] summary::after { content: '–'; }
.faq p { padding: 0 24px 22px; color: var(--muted); margin: 0; }

.contact-section { background: var(--cream); }
.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 40px;
}
.contact-card p { color: var(--muted); max-width: 620px; }
.contact-actions { justify-content: flex-end; max-width: 380px; }
.microcopy { font-size: .8rem; margin: 8px 0 0; }
.microcopy code { background: rgba(0,0,0,.08); padding: 3px 5px; border-radius: 6px; }

.site-footer { background: var(--black); color: var(--white); padding: 48px 0 26px; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; }
.footer-brand { margin-bottom: 16px; }
.site-footer p { color: rgba(255,255,255,.64); max-width: 420px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; color: rgba(255,255,255,.74); font-weight: 800; }
.copyright {
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 22px;
  color: rgba(255,255,255,.5);
  font-size: .86rem;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

/* =========================================================
   Gallery
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #e8e8e8;
  aspect-ratio: 4 / 3;
  box-shadow: 0 10px 36px rgba(0,0,0,.09);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .38s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(7,7,7,.72));
  color: var(--white);
  font-size: .82rem;
  font-weight: 800;
  text-align: center;
  opacity: 0;
  transition: opacity .25s ease;
}
.gallery-item:hover figcaption,
.gallery-item:focus-within figcaption { opacity: 1; }
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.gallery-video .gallery-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(7,7,7,.55);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  padding-left: 4px;
  pointer-events: none;
  transition: background .25s ease, transform .25s ease;
}
.gallery-video:hover .gallery-play,
.gallery-video:focus-within .gallery-play {
  background: var(--red);
  transform: translate(-50%, -50%) scale(1.08);
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(7,7,7,.92);
  display: none;
  place-items: center;
  padding: 24px;
}
.gallery-lightbox.open { display: grid; }
.gallery-lightbox img,
.gallery-lightbox video {
  max-width: min(1100px, 100%);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 40px 120px rgba(0,0,0,.7);
}
.gallery-lightbox video { width: min(1100px, 100%); background: #000; }
.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,.1);
  border: 0;
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.gallery-lightbox-close:hover { background: rgba(255,255,255,.22); }

@media (max-width: 920px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--black);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-cta { text-align: center; }
  .hero-grid, .split-grid, .process-grid, .mission-card, .contact-card { grid-template-columns: 1fr; }
  .program-grid, .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-actions { justify-content: flex-start; max-width: none; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 22px, var(--max)); }
  .nav { min-height: 68px; }
  .brand-mark { height: 40px; }
  .brand strong { font-size: 1rem; }
  .brand small { font-size: .68rem; letter-spacing: .1em; }
  .section { padding: 70px 0; }
  .hero { min-height: auto; padding: 62px 0; }
  h1 { font-size: clamp(2.6rem, 14vw, 3.8rem); }
  .hero-lead { margin: 18px 0 26px; font-size: .98rem; }
  .section-heading h2 { font-size: clamp(1.9rem, 9vw, 2.8rem); }
  .program-grid, .staff-grid, .stats-grid { grid-template-columns: 1fr; }
  .hero-card, .contact-card, .mission-card, .approach-panel { padding: 26px; }
  .skill-focus-grid { grid-template-columns: 1fr; }
  .skill-focus:first-child { grid-column: auto; }
  .button { width: 100%; }
  .trust-row span { flex: 1 1 auto; text-align: center; }
  .footer-grid, .copyright { display: grid; }
}

.staff-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.staff-badge.red-bg {
  background: var(--red);
  color: var(--white);
}
.microcopy a {
  text-decoration: underline;
  font-weight: 800;
}

#athlete-bulk-female,
#athlete-bulk-male,
#athlete-bulk-universal,
#athlete-bulk-clear {
  min-width: 118px;
  font-weight: 800;
}

#athlete-bulk-female:disabled,
#athlete-bulk-male:disabled,
#athlete-bulk-universal:disabled,
#athlete-bulk-clear:disabled {
  opacity: 0.62;
  color: #4f4f4f;
  background: #efefef;
  border-color: #d5d5d5;
}

@media (max-width: 900px) {
  .staff-grid.three { grid-template-columns: 1fr; }
}

/* === Staff Pro Layout === */
.staff-featured-wrap {
  margin-bottom: 26px;
}

.staff-card-pro {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 45px rgba(0,0,0,.06);
  overflow: hidden;
}

.staff-featured {
  display: grid;
  grid-template-columns: 460px 1fr;
  align-items: stretch;
}

.staff-photo-featured {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.staff-photo-featured img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.staff-featured-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.staff-role-pill {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  width: fit-content;
}

.staff-role-pill.pill-black { background: var(--black); color: var(--white); }
.staff-role-pill.pill-outline { border: 2px solid var(--black); color: var(--black); }

.staff-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  background: var(--cream);
  border-radius: 14px;
  padding: 18px;
}

.staff-meta-grid div { display: flex; flex-direction: column; gap: 3px; }
.staff-meta-grid strong {
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}
.staff-meta-grid span { font-size: .88rem; font-weight: 700; color: var(--ink); }

.staff-achievements-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.staff-achievements-list li {
  position: relative;
  padding-left: 22px;
  font-size: .86rem;
  color: var(--muted);
  font-weight: 600;
}

.staff-achievements-list li::before {
  content: '★';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: .68rem;
  line-height: 1.7;
}

.lab-tag {
  display: inline-flex;
  background: var(--red);
  color: var(--white);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.staff-featured-wrap {
  margin-bottom: 56px;
}

.staff-subhead {
  margin-bottom: 22px;
}

.staff-subhead .eyebrow { margin: 0; }

.staff-assistants-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.staff-assistants-grid .staff-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream);
}

.staff-assistants-grid .staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.staff-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.staff-card-body h3 { font-size: 1.18rem; margin: 0; }

.staff-card-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.staff-exp {
  font-size: .8rem;
  color: var(--muted);
  font-weight: 700;
  margin: 0;
}

@media (max-width: 1100px) {
  .staff-assistants-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .staff-featured {
    grid-template-columns: 1fr;
  }
  .staff-photo-featured {
    aspect-ratio: 1 / 1;
    max-height: 520px;
  }
  .staff-featured-body {
    padding: 28px;
  }
  .staff-meta-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .staff-assistants-grid { grid-template-columns: 1fr; }
  .staff-meta-grid { grid-template-columns: 1fr; }
  .staff-featured-body { padding: 22px; gap: 12px; }
}

/* === Pricing Page === */
.pricing-hero {
  min-height: auto;
  padding: 96px 0 84px;
  text-align: center;
}
.pricing-hero-inner { max-width: 760px; margin: 0 auto; }
.pricing-hero .hero-lead { margin: 26px auto 30px; }
.price-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
}
.price-toggle span {
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 900;
  font-size: .86rem;
  color: rgba(255,255,255,.78);
}
.price-toggle span.alt { background: var(--red); color: var(--white); }

.pricing-plans-section { padding-bottom: 70px; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 860px;
  margin: 0 auto;
}
.price-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 45px rgba(0,0,0,.06);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  background: linear-gradient(160deg, var(--black), #1a1a1a);
  color: var(--white);
  border-color: var(--black);
  box-shadow: 0 26px 60px rgba(0,0,0,.28);
}
.best-value {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  box-shadow: 0 10px 24px rgba(213,31,42,.34);
}
.price-tag {
  display: inline-flex;
  align-self: flex-start;
  color: var(--white);
  background: var(--black);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 18px;
}
.price-tag.light { background: var(--red); }
.price-amount {
  font-family: 'Anton', Impact, sans-serif;
  font-size: 4.4rem;
  line-height: .9;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
.price-amount .currency { font-size: 1.8rem; margin-top: .4rem; }
.price-amount .per {
  align-self: flex-end;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 10px 6px;
}
.price-card-featured .price-amount .per { color: rgba(255,255,255,.6); }
.price-equiv {
  margin: 14px 0 0;
  font-size: .92rem;
  font-weight: 700;
  color: var(--gold);
}
.price-equiv strong { font-weight: 900; }
.price-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .96rem;
}
.price-card-featured .price-note { color: rgba(255,255,255,.72); }
.price-features {
  list-style: none;
  padding: 22px 0;
  margin: 18px 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 11px;
}
.price-card-featured .price-features { border-color: rgba(255,255,255,.14); }
.price-features li {
  position: relative;
  padding-left: 28px;
  font-size: .94rem;
  font-weight: 600;
  color: var(--ink);
}
.price-card-featured .price-features li { color: rgba(255,255,255,.82); }
.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--red);
  font-weight: 900;
}
.price-card-featured .price-features li::before { color: var(--gold); }
.price-card .button { margin-top: auto; width: 100%; }
.button-light { background: var(--white); color: var(--black); }
.button-light:hover { background: var(--cream); }
.price-disclaimer {
  text-align: center;
  margin-top: 30px;
  color: var(--muted);
  font-weight: 700;
  font-size: .92rem;
}

.labs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.lab-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 45px rgba(0,0,0,.06);
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
}
.lab-flyer {
  background: var(--black);
}
.lab-flyer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.lab-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lab-body h3 { font-size: 1.4rem; }
.lab-sub {
  margin: 0;
  color: var(--red);
  font-weight: 900;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.lab-focus {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.lab-focus li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: .76rem;
  font-weight: 700;
  color: var(--ink);
}
.lab-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 4px;
  font-size: .84rem;
  font-weight: 800;
  color: var(--muted);
}
.lab-meta span { position: relative; padding-left: 18px; }
.lab-meta span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}
.lab-pricing {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.lab-pricing span {
  flex: 1;
  background: var(--black);
  color: var(--white);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
}
.lab-pricing strong {
  display: block;
  font-family: 'Anton', Impact, sans-serif;
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 2px;
}

.includes-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 45px rgba(0,0,0,.06);
  padding: 12px 30px;
}
.includes-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.includes-row.last { border-bottom: 0; }
.includes-row strong {
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.includes-row span { font-weight: 800; color: var(--ink); text-align: right; }
.includes-row span i { font-style: normal; color: var(--muted); font-weight: 700; font-size: .8rem; }

.pricing-cta-card { background: linear-gradient(135deg, var(--red), #5c0c11); border: 0; }
.pricing-cta-card .eyebrow { color: rgba(255,255,255,.78); }
.pricing-cta-card h2, .pricing-cta-card p { color: var(--white); }
.pricing-cta-card p { color: rgba(255,255,255,.85); }
.pricing-cta-card .microcopy a { color: var(--white); }

@media (max-width: 920px) {
  .labs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .price-grid { grid-template-columns: 1fr; }
  .lab-card { grid-template-columns: 1fr; }
  .lab-flyer img { max-height: 70vh; }
  .price-amount { font-size: 3.6rem; }
}

/* === About Us === */
.about-section { background: var(--cream); }
.about-block { max-width: 900px; margin: 0 auto; }
.about-block-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.about-step {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: var(--black);
  color: var(--white);
  font-family: 'Anton', Impact, sans-serif;
  font-size: 1.4rem;
  line-height: 1;
}
.about-history {
  color: var(--ink);
  font-size: 1.1rem;
  margin: 0;
}
.about-history + .about-history {
  margin-top: 18px;
}
.founder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-bottom: 64px;
}
.founder-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 45px rgba(0,0,0,.06);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.founder-photo {
  width: 100%;
  aspect-ratio: 5 / 7;
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
  background: var(--line);
  margin-bottom: 4px;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.founder-card h3 { font-size: 1.4rem; }
.founder-tagline {
  margin: 0;
  color: var(--red);
  font-weight: 800;
  font-size: .86rem;
}
.founder-card p:not(.founder-tagline) {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
}
.about-block + .founder-grid,
.about-section .section-heading + .about-block { margin-top: 0; }
.about-section .about-block:not(:first-of-type) { margin-top: 56px; }

@media (max-width: 1200px) {
  .founder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .founder-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Lotus Athlete Portal
   ========================================================= */
.portal-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(213,31,42,.12), transparent 28%),
    #f3f3f3;
}
.portal-back-link,
.portal-user-actions a {
  color: rgba(255,255,255,.82);
  font-weight: 800;
}
.portal-back-link:hover,
.portal-user-actions a:hover { color: var(--white); }
.portal-auth-main {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 54px 20px;
  background:
    linear-gradient(90deg, rgba(7,7,7,.97), rgba(7,7,7,.86)),
    url('assets/lotus-backdrop.png') center / cover no-repeat;
}
.auth-shell {
  width: min(1160px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .72fr);
  gap: 56px;
  align-items: center;
}
.auth-intro { color: var(--white); }
.auth-intro h1 {
  font-size: clamp(3.5rem, 7vw, 7rem);
  max-width: 800px;
}
.auth-intro > p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255,255,255,.72);
  font-size: 1.08rem;
}
.privacy-callout {
  display: grid;
  gap: 5px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-left: 4px solid var(--red);
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  max-width: 650px;
}
.privacy-callout strong { color: var(--white); }
.privacy-callout span { color: rgba(255,255,255,.7); font-size: .9rem; }
.privacy-callout.light {
  background: var(--cream);
  border-color: var(--line);
  border-left-color: var(--red);
}
.privacy-callout.light strong { color: var(--ink); }
.privacy-callout.light span { color: var(--muted); }
.auth-card {
  background: rgba(255,255,255,.97);
  border-radius: 28px;
  box-shadow: 0 32px 100px rgba(0,0,0,.42);
  padding: 36px;
}
.auth-card h2 { font-size: 2.45rem; margin-bottom: 22px; }
.auth-logo { width: 92px; margin-bottom: 20px; }
.portal-form { display: grid; gap: 17px; }
.portal-form label,
.portal-form legend {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.portal-form input,
.portal-form select,
.portal-form textarea,
.portal-search,
#athlete-select {
  width: 100%;
  border: 1px solid #d7d7d7;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.portal-form textarea { resize: vertical; }
.portal-form input:focus,
.portal-form select:focus,
.portal-form textarea:focus,
.portal-search:focus,
#athlete-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(213,31,42,.12);
}
.full { width: 100%; }
.portal-google {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--line);
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
  margin: 16px 0;
}
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.text-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--red);
  font: inherit;
  font-size: .85rem;
  font-weight: 900;
  cursor: pointer;
  padding: 12px 0 0;
  width: 100%;
}
.auth-register {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 22px;
}
.auth-register p { color: var(--muted); font-size: .85rem; text-align: center; }
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.55;
  text-transform: none;
  letter-spacing: 0;
}
.notice {
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid #d8d8d8;
  background: #f8f8f8;
  color: var(--ink);
  font-weight: 700;
  font-size: .9rem;
}
.notice-info { border-color: #b7cae1; background: #eef5ff; }
.notice-success { border-color: #98cba7; background: #effaf2; }
.notice-warning { border-color: #e6c36d; background: #fff8e5; }
.notice-error { border-color: #e3a0a5; background: #fff0f1; color: #81131a; }

.portal-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7,7,7,.96);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
}
.portal-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.portal-user-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,.7);
  font-size: .86rem;
  font-weight: 800;
}
.portal-small-button {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  color: var(--white);
  font-size: .78rem;
}
.portal-admin-link {
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 13px;
  border-radius: 999px;
}
.portal-main { padding-top: 48px; padding-bottom: 80px; }
.portal-welcome {
  display: grid;
  grid-template-columns: 1fr minmax(300px, .42fr);
  gap: 34px;
  align-items: center;
  margin-bottom: 38px;
}
.portal-welcome h1 { font-size: clamp(3.1rem, 6vw, 6.4rem); }
.portal-welcome > div:first-child > p:not(.eyebrow) { color: var(--muted); max-width: 760px; }
.portal-standard-card {
  display: grid;
  gap: 9px;
  background: var(--black);
  color: var(--white);
  border-radius: 22px;
  padding: 24px;
  border-left: 5px solid var(--red);
}
.portal-standard-card span { color: rgba(255,255,255,.68); font-size: .9rem; }
.empty-state {
  border: 1px dashed #c9c9c9;
  border-radius: 24px;
  background: rgba(255,255,255,.75);
  padding: 56px 30px;
  text-align: center;
  color: var(--muted);
}
.empty-state img { width: 100px; margin: 0 auto 20px; }
.empty-state h1,
.empty-state h2,
.empty-state h3 { color: var(--ink); margin-bottom: 10px; }
.empty-state.compact { padding: 28px; }
.portal-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin: 36px 0 18px;
}
.portal-section-heading.compact { margin-top: 44px; }
.portal-section-heading h2 { font-size: clamp(2rem, 3vw, 3.2rem); }
#athlete-select { width: min(320px, 100%); }
.athlete-profile-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 15px 45px rgba(0,0,0,.06);
}
.athlete-profile-card h2 { font-size: 2.3rem; }
.athlete-profile-card p { margin: 5px 0 0; color: var(--muted); }
.athlete-avatar {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--black);
  color: var(--white);
  font-family: 'Anton', Impact, sans-serif;
  font-size: 2rem;
}
.athlete-avatar.small { width: 52px; height: 52px; border-radius: 16px; font-size: 1.35rem; }
.private-badge {
  background: #effaf2;
  border: 1px solid #a6d9b3;
  color: #216233;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.portal-tabs {
  display: flex;
  gap: 8px;
  margin: 32px 0 22px;
  padding: 6px;
  background: #e8e8e8;
  border-radius: 16px;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
}
.portal-tab {
  white-space: nowrap;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  padding: 11px 18px;
  font: inherit;
  font-size: .84rem;
  font-weight: 900;
  cursor: pointer;
}
.portal-tab.active { background: var(--white); color: var(--black); box-shadow: 0 5px 18px rgba(0,0,0,.08); }
.tab-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-left: 7px;
  border-radius: 9999px;
  background: #d32f2f;
  color: #fff;
  font-size: .74rem;
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
}
.count-badge-green { background: #2e7d32; }
.portal-tab-panel { display: none; }
.portal-tab-panel.active { display: block; }
.lab-progress-grid { display: grid; gap: 26px; }
.lab-progress-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 18px 55px rgba(0,0,0,.07);
}
.lab-progress-hero {
  position: relative;
  min-height: 220px;
  display: grid;
  grid-template-columns: 250px 1fr;
  align-items: center;
  gap: 28px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  padding: 26px;
}
.lab-progress-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 25%, rgba(213,31,42,.22));
  pointer-events: none;
}
.lab-progress-hero img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  position: relative;
  z-index: 1;
}
.lab-progress-hero > div { position: relative; z-index: 1; }
.lab-progress-hero h2 { font-size: clamp(2.3rem, 4vw, 4.4rem); }
.lab-progress-hero span { color: rgba(255,255,255,.7); font-weight: 800; }
.brick-system { margin: 0; padding: 22px 22px 0; }
.brick-system img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0,0,0,.10);
}
.brick-system figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  text-align: center;
}
.levels-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
}
.level-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: var(--white);
}
.level-card.locked { opacity: .55; background: #f6f6f6; }
.level-card.mastered { border-color: #9ad1a7; background: #f3fbf5; }
.level-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.level-number { font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.level-status { font-size: .66rem; font-weight: 900; padding: 4px 7px; border-radius: 999px; background: var(--cream); }
.level-card h3 { margin-top: 16px; }
.level-range { margin: 5px 0 16px; color: var(--muted); font-size: .8rem; }
.level-meter { height: 7px; overflow: hidden; border-radius: 999px; background: #e5e5e5; }
.level-meter span { display: block; height: 100%; border-radius: inherit; background: var(--red); }
.level-card.mastered .level-meter span { background: #41945a; }
.level-detail { margin: 12px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.levels-locked-note {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
}
.level-bricks {
  margin: 0 22px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}
.level-bricks > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  background: var(--cream);
  font-weight: 900;
}
.level-bricks > summary::-webkit-details-marker { display: none; }
.level-bricks > summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--red);
}
.level-bricks[open] > summary::after { content: '\2212'; }
.level-bricks-title { text-transform: uppercase; letter-spacing: .03em; }
.level-bricks-meta { color: var(--red); font-size: .8rem; }
.brick-rows { padding: 8px 18px 18px; }
.brick-row { margin-top: 16px; }
.brick-row-title {
  margin: 0 0 8px;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--red);
}
.brick-list { margin: 0; padding: 0; list-style: none; }
.brick-line {
  display: flex;
  gap: 10px;
  align-items: baseline;
  text-align: left;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  line-height: 1.4;
}
.brick-line:first-child { border-top: none; }
.brick-line-num {
  flex: 0 0 auto;
  min-width: 22px;
  text-align: right;
  color: var(--red);
  font-size: .8rem;
  font-weight: 900;
}
.brick-line-text { color: var(--ink, #1c1c1c); }
.upload-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr);
  gap: 24px;
  align-items: start;
}
.portal-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 16px 50px rgba(0,0,0,.06);
  padding: 30px;
}
.portal-panel h2 { font-size: clamp(2rem, 3vw, 3rem); margin-bottom: 8px; }
.form-grid-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.file-drop {
  min-height: 150px;
  display: grid !important;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 22px;
  border: 2px dashed #c9c9c9;
  border-radius: 18px;
  background: #fafafa;
  cursor: pointer;
}
.file-drop span { color: var(--ink); font-size: 1rem; }
.file-drop small { color: var(--muted); text-transform: none; letter-spacing: 0; }
.file-drop input { border: 0; padding: 10px 0 0; background: transparent; }
.consent-row { display: grid !important; grid-template-columns: auto 1fr; align-items: start; gap: 10px !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 600 !important; }
.consent-row input { width: auto; margin-top: 3px; }
.upload-progress {
  position: relative;
  height: 24px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7e7e7;
}
#upload-progress-bar { height: 100%; width: 0; background: var(--red); transition: width .2s linear; }
#upload-progress-label { position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); font-size: .72rem; font-weight: 900; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.video-guide { position: sticky; top: 104px; }
.dark-list li { color: var(--muted); }
.job-list { display: grid; gap: 10px; }
.job-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.job-card > div { display: grid; }
.job-card span { color: var(--muted); font-size: .78rem; }
.job-status { padding: 6px 10px; border-radius: 999px; background: var(--cream); font-weight: 900; white-space: nowrap; }
.status-failed { background: #fff0f1; color: #991922 !important; }
.status-complete { background: #eef9f1; color: #28693a !important; }
.status-review_required { background: #fff8e5; color: #795a07 !important; }
.report-list { display: grid; gap: 22px; }

/* Weekly feedback timeline */
.feedback-timeline { display: grid; gap: 26px; }
.feedback-week {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: start;
}
.feedback-week-marker {
  position: sticky;
  top: 100px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 6px;
}
.feedback-week-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(213,31,42,.16);
  flex: 0 0 auto;
}
.feedback-week-label {
  font-family: 'Anton', Impact, sans-serif;
  font-size: 1.5rem;
  letter-spacing: .01em;
  color: var(--ink);
}
.feedback-week::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 26px;
  bottom: -26px;
  width: 2px;
  background: linear-gradient(var(--line), transparent);
}
.feedback-week:last-child::before { display: none; }

.report-card,
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 15px 50px rgba(0,0,0,.06);
  padding: 28px;
}
.report-header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.report-header > span { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.report-summary { color: var(--muted); max-width: 920px; }
.priority-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.priority-card { border: 1px solid var(--line); border-radius: 17px; padding: 18px; background: #fafafa; }
.priority-card > span { color: var(--red); font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.priority-card h3 { margin: 8px 0 13px; }
.priority-card p { color: var(--muted); font-size: .8rem; margin: 7px 0; }
.priority-card strong { color: var(--ink); }
.coach-note,
.report-next { margin-top: 18px; padding: 16px; border-left: 4px solid var(--red); border-radius: 10px; background: var(--cream); }
.coach-note p { margin: 7px 0 0; color: var(--muted); }
.report-next { display: grid; gap: 4px; }
.report-next span { color: var(--muted); }

.coach-welcome { align-items: stretch; }
.coach-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.coach-stat-grid div { display: grid; place-items: center; align-content: center; text-align: center; background: var(--black); color: var(--white); border-radius: 18px; padding: 18px 10px; }
.coach-stat-grid strong { font-family: 'Anton', Impact, sans-serif; font-size: 2.4rem; color: var(--red); line-height: 1; }
.coach-stat-grid span { color: rgba(255,255,255,.65); font-size: .72rem; font-weight: 800; }
.review-card { display: flex; justify-content: space-between; align-items: center; gap: 26px; }
.review-card p:not(.eyebrow) { color: var(--muted); max-width: 750px; }
.review-card > div > span { color: var(--muted); font-size: .78rem; }
.review-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.portal-search { width: min(300px, 100%); }
.coach-athlete-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.coach-athlete-card { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 17px; }
.coach-athlete-card h3 { margin-bottom: 3px; }
.coach-athlete-card p { margin: 0; color: var(--muted); font-size: .8rem; }
.coach-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.coach-access-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 10px;
  margin-top: 10px;
}
.coach-access-controls select {
  width: 100%;
}
.coach-access-search { width: 100%; margin-top: 10px; }
.coach-access-list { display: grid; gap: 10px; margin-top: 12px; }
.coach-access-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.coach-access-item.role-updated {
  border-color: rgba(65,148,90,.65);
  animation: coachRoleUpdatedPulse 1.9s ease;
}
@keyframes coachRoleUpdatedPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(65,148,90,.35);
    background: #f6fcf8;
  }
  60% {
    box-shadow: 0 0 0 12px rgba(65,148,90,0);
    background: #ffffff;
  }
  100% {
    box-shadow: none;
    background: #ffffff;
  }
}
.coach-access-item > div:first-child { display: grid; gap: 2px; }
.coach-access-item strong { font-size: .92rem; }
.coach-access-item span { color: var(--muted); font-size: .8rem; }
.coach-access-item small { color: #7a7a7a; font-size: .74rem; }
.coach-access-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.coach-access-role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.coach-access-role.admin { background: #1f2937; color: #fff; }
.coach-access-role.coach { background: #e8f1ff; color: #1f4dbf; }
.coach-role-select {
  min-width: 110px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 8px 12px;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
}
.coach-role-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(213,31,42,.12);
  outline: none;
}
.coach-access-self-note {
  color: #7a7a7a;
  font-size: .72rem;
  font-weight: 700;
}
.lab-checkboxes { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 10px; }
.lab-checkboxes legend { padding: 0 8px; }
.lab-checkboxes label { grid-template-columns: auto 1fr; align-items: center; text-transform: none; letter-spacing: 0; font-size: .9rem; }
.lab-checkboxes input { width: auto; }
.portal-dialog {
  width: min(900px, calc(100% - 28px));
  max-height: 88vh;
  overflow: auto;
  border: 0;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 35px 120px rgba(0,0,0,.5);
}
.portal-dialog::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(5px); }
.dialog-close { position: sticky; float: right; top: 0; border: 0; background: var(--black); color: var(--white); width: 38px; height: 38px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; z-index: 2; }
.priority-edit-list { display: grid; gap: 15px; }
.priority-edit-list fieldset { border: 1px solid var(--line); border-radius: 15px; padding: 18px; display: grid; gap: 13px; }
.priority-edit-list legend { color: var(--red); padding: 0 8px; }
.dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.coach-lab-list { display: grid; gap: 12px; margin-top: 22px; }

/* Weekly Tracking Styles */
.weekly-tracking-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 30px; }
.week-card {
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.week-card:hover { border-color: var(--red); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.week-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.week-number {
  font-weight: 700;
  color: var(--red);
  font-size: 0.95rem;
}
.week-status {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line);
}
.week-status.completed { background: var(--red); }
.week-card h3 {
  margin: 12px 0 4px;
  font-size: 1.1rem;
}
.week-subtitle {
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 8px;
}
.week-description {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 16px;
}
.week-actions {
  display: flex;
  gap: 10px;
}
.button-small {
  padding: 8px 16px;
  font-size: 0.85rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.button-small:hover:not(:disabled) {
  border-color: var(--red);
  color: var(--red);
}
.button-small:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Weekly Tracking + Feedback */
.coach-weekly-layout {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .42fr);
  gap: 20px;
  align-items: start;
}
.coach-weekly-feedback {
  position: sticky;
  top: 98px;
}
.coach-feedback-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(0,0,0,.06);
  padding: 16px;
  display: grid;
  gap: 10px;
}
.coach-feedback-panel h3 { margin: 0; font-size: 1.2rem; }
.coach-feedback-list { display: grid; gap: 10px; max-height: 70vh; overflow: auto; }
.coach-feedback-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 6px;
  background: #fafafa;
}
.coach-feedback-week {
  display: inline-flex;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ffecee;
  color: var(--red);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.coach-feedback-item p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.coach-feedback-item small { color: var(--ink); font-size: .78rem; }
.coach-feedback-item em { color: #7a7a7a; font-size: .74rem; font-style: normal; }

/* Brick Mastery Grid */
.brick-mastery-grid { margin-top: 30px; display: grid; gap: 40px; }
.coach-brick-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 10px;
  align-items: center;
}
.brick-level-group { display: grid; gap: 16px; }
.brick-level-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 8px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 12px;
}
.brick-level-header h3 {
  margin: 0;
  font-size: 1.1rem;
}
.brick-count {
  color: var(--muted);
  font-size: 0.9rem;
}
.brick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
  gap: 8px;
}
.brick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 2px solid var(--line);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.brick-item.status-mastered {
  background: rgba(213, 31, 42, 0.1);
  border-color: var(--red);
  color: var(--red);
}
.brick-item.status-developing {
  background: rgba(100, 100, 100, 0.05);
  border-color: var(--muted);
  color: var(--muted);
}
.brick-item.status-not-started {
  background: var(--white);
  border-color: var(--line);
  color: var(--muted);
}
.brick-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.brick-check-wrap {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
}
.coach-brick-check {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--red);
  cursor: pointer;
}
.brick-number {
  font-weight: 700;
}
.brick-status-icon {
  font-size: 1.2rem;
  position: absolute;
  top: -8px;
  right: -8px;
}
.brick-explainer {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0;
}
.brick-explainer summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-size: .84rem;
  font-weight: 900;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.brick-explainer summary::-webkit-details-marker { display: none; }
.brick-explainer ul {
  margin: 0;
  padding: 0 16px 16px;
  list-style: none;
  display: grid;
  gap: 10px;
}
.brick-explainer li {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  display: grid;
  gap: 4px;
}
.brick-explainer li:first-child {
  border-top: 0;
  padding-top: 0;
}
.brick-explainer li span {
  color: var(--red);
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.brick-explainer li strong {
  color: var(--ink);
  font-size: .86rem;
}
.brick-explainer li p {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.45;
}

.coach-lab-list article { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; }.coach-lab-list article > div { display: grid; gap: 3px; }
.coach-lab-list article span,
.coach-lab-list article small { color: var(--muted); }
.coach-lab-list article small { font-size: .72rem; max-width: 560px; }

.reference-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.reference-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.reference-thumb {
  aspect-ratio: 4 / 3;
  background: #eef1f5;
  overflow: hidden;
}
.reference-thumb img,
.reference-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reference-info { padding: 10px 12px; display: grid; gap: 3px; }
.reference-info strong { font-size: .9rem; }
.reference-info span { color: var(--muted); font-size: .76rem; }
.reference-card .delete-reference { margin: 0 12px 12px; }

@media (max-width: 1000px) {
  .auth-shell,
  .portal-welcome,
  .upload-layout { grid-template-columns: 1fr; }
  .auth-intro { text-align: center; }
  .auth-intro > p:not(.eyebrow), .privacy-callout { margin-left: auto; margin-right: auto; }
  .auth-card { max-width: 580px; width: 100%; margin: 0 auto; }
  .levels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coach-weekly-layout { grid-template-columns: 1fr; }
  .coach-weekly-feedback { position: static; }
  .priority-grid { grid-template-columns: 1fr; }
  .video-guide { position: static; }
  .coach-form-grid { grid-template-columns: 1fr; }
  .portal-tabs {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .portal-tabs .portal-tab {
    flex: 0 0 auto;
  }
}
@media (max-width: 760px) {
  .portal-header-inner { align-items: flex-start; padding-top: 13px; padding-bottom: 13px; }
  .portal-user-actions { flex-wrap: wrap; justify-content: flex-end; }
  .portal-user-actions > span { display: none; }
  .portal-main { padding-top: 28px; padding-bottom: 56px; }
  .feedback-week { grid-template-columns: 1fr; gap: 10px; }
  .feedback-week::before { display: none; }
  .feedback-week-marker { position: static; top: auto; }
  .portal-welcome { gap: 18px; margin-bottom: 24px; }
  .portal-welcome h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .portal-standard-card { padding: 18px; border-radius: 16px; }
  .portal-section-heading { margin: 24px 0 12px; }
  .portal-tabs { margin: 20px 0 14px; }
  .portal-tab { padding: 10px 14px; font-size: .8rem; }
  .athlete-profile-card { grid-template-columns: auto 1fr; }
  .athlete-profile-card h2 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .private-badge { grid-column: 1 / -1; width: fit-content; }
  .lab-progress-hero { grid-template-columns: 1fr; }
  .lab-progress-hero img { height: 240px; }
  .lab-progress-hero h2 { font-size: clamp(1.8rem, 8vw, 2.7rem); }
  .brick-system { padding: 14px 14px 0; }
  .levels-grid { grid-template-columns: 1fr; }
  .levels-grid { padding: 14px; }
  .level-card { padding: 14px; }
  .level-bricks { margin: 0 14px 12px; }
  .level-bricks > summary { align-items: flex-start; flex-direction: column; gap: 6px; padding: 12px 14px; }
  .level-bricks-title { font-size: .82rem; }
  .brick-rows { padding: 6px 14px 14px; }
  .brick-row-title { font-size: .72rem; }
  .brick-line { font-size: .82rem; }
  .brick-line-num { min-width: 18px; font-size: .76rem; }
  .form-grid-two { grid-template-columns: 1fr; }
  .review-card { display: grid; }
  .review-actions { justify-content: flex-start; }
  .coach-athlete-grid { grid-template-columns: 1fr; }
  .coach-stat-grid { grid-template-columns: repeat(3, 1fr); }
  .coach-lab-list article { align-items: flex-start; flex-direction: column; }
  .coach-access-controls { grid-template-columns: 1fr; }
  .coach-access-search { margin-top: 0; }
  .coach-access-item { align-items: flex-start; flex-direction: column; }
  .coach-access-actions { width: 100%; justify-content: flex-start; }
  .coach-brick-filters { grid-template-columns: 1fr; width: 100%; }
}
@media (max-width: 540px) {
  .auth-card,
  .portal-panel,
  .report-card,
  .review-card,
  .portal-dialog { padding: 22px; }
  .portal-main { padding-top: 18px; padding-bottom: 42px; }
  .portal-section-heading { align-items: stretch; flex-direction: column; }
  #athlete-select, .portal-search { width: 100%; }
  .portal-tabs { border-radius: 12px; padding: 4px; }
  .portal-tab { border-radius: 9px; }
  .athlete-profile-card { padding: 20px; }
  .athlete-avatar { width: 60px; height: 60px; border-radius: 17px; font-size: 1.5rem; }
  .lab-progress-hero { padding: 18px; }
  .lab-progress-hero img { height: 190px; }
  .portal-tabs { width: 100%; }
  .job-card { align-items: flex-start; flex-direction: column; }
  .report-header { flex-direction: column; }
  .coach-stat-grid { grid-template-columns: 1fr; }
  .coach-athlete-card { grid-template-columns: auto 1fr; }
  .coach-athlete-card .button { grid-column: 1 / -1; width: 100%; }
  .coach-role-select,
  .save-coach-role,
  .revoke-coach { width: 100%; }
  #coach-athlete-select,
  #coach-brick-level-filter,
  #coach-brick-lab-filter,
  #coach-access-sort { width: 100%; }
}

/* === Updated main navigation === */
/* Full link set in the header. Wraps to two tidy rows on desktop. */
.nav { min-height: 84px; padding: 12px 0; align-items: center; }
.nav-links {
  flex: 1 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  font-size: .86rem;
  row-gap: 10px;
}
.nav-links a { white-space: nowrap; }
.nav-links a[aria-current="page"] { color: var(--white); }
.nav-cta { padding: 9px 16px; }
@media (min-width: 921px) and (max-width: 1240px) {
  .nav-links { gap: 9px 14px; font-size: .8rem; }
  .nav-cta { padding: 8px 14px; }
  .brand small { font-size: .68rem; letter-spacing: .1em; }
}
@media (max-width: 920px) {
  .nav { min-height: 76px; padding: 0; }
  .nav-links {
    flex: 0 1 auto;
    flex-wrap: nowrap;
    justify-content: stretch;
    gap: 4px;
    font-size: .95rem;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
  .nav-links a { padding: 9px 2px; }
  .nav-cta { margin-top: 8px; }
}

/* === Nav dropdown: "Our Community" subcategory === */
.nav-group { position: relative; display: flex; align-items: center; gap: 4px; }
.nav-group-link { white-space: nowrap; }
.nav-group.is-active > .nav-group-link { color: var(--white); }
.nav-caret {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.nav-caret::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.nav-caret:hover { background: rgba(255,255,255,.12); color: var(--white); }
.nav-group:hover > .nav-caret,
.nav-group.open > .nav-caret { transform: rotate(180deg); }

.nav-submenu {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  z-index: 130;
  display: none;
  flex-direction: column;
  gap: 2px;
  min-width: 250px;
  padding: 12px;
  background: rgba(7,7,7,.98);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
/* Shorter list, so it does not need the wider panel. */
#nav-sub-about { min-width: 168px; }
/* Bridges the gap so the menu does not close while the pointer travels to it. */
.nav-submenu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}
.nav-group:hover > .nav-submenu,
.nav-group:focus-within > .nav-submenu,
.nav-group.open > .nav-submenu { display: flex; }
.nav-submenu a {
  padding: 10px 13px;
  border-radius: 11px;
  color: rgba(255,255,255,.82);
  white-space: nowrap;
}
.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  background: rgba(255,255,255,.09);
  color: var(--white);
  transform: none;
}
.nav-submenu a[aria-current="page"] { color: var(--white); background: rgba(213,31,42,.22); }

@media (max-width: 920px) {
  .nav-group { flex-wrap: wrap; gap: 0; }
  .nav-group-link { flex: 1 1 auto; }
  .nav-caret { width: 38px; height: 38px; }
  /* Touch devices have no hover, so the caret is the only opener. */
  .nav-group:hover > .nav-submenu,
  .nav-group:focus-within > .nav-submenu { display: none; }
  .nav-group.open > .nav-submenu { display: flex; }
  .nav-submenu {
    position: static;
    width: 100%;
    min-width: 0;
    margin: 2px 0 8px;
    padding: 8px;
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.1);
    border-radius: 14px;
    box-shadow: none;
  }
  .nav-submenu::before { display: none; }
  .nav-submenu a { padding: 10px 12px; white-space: normal; }
}

/* Offset in-page anchor targets so the sticky header does not cover them */
.anchor-offset { scroll-margin-top: 140px; }
span.anchor-offset { display: block; height: 0; }

/* === Proof of extremely high-level training === */
.proof-grid { margin-top: 26px; }
.proof-grid .program-card { min-height: 0; }
.proof-grid .check-list { margin-top: 16px; }
.proof-grid .check-list li {
  color: var(--muted);
  font-size: .95rem;
  margin: 10px 0;
  line-height: 1.5;
}
.proof-grid .check-list li strong { color: var(--ink); }

/* === Culture-focused programming === */
#culture-programming .step { align-items: start; }
#culture-programming .step span { line-height: 1.55; }
#culture-programming .step span strong { color: var(--white); }
.season-close {
  max-width: 900px;
  margin: 34px auto 0;
  text-align: center;
  text-transform: none;
  letter-spacing: .01em;
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 700;
}

/* === Club relationship === */
.statement-line {
  margin: 22px 0 0;
  font-family: 'Anton', Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--red);
}
.panel-note {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}
#club-relationship .check-list li { color: var(--muted); line-height: 1.5; }
#club-relationship .check-list li strong { color: var(--ink); }

/* === Community purpose panel === */
#community .check-list li { color: var(--muted); line-height: 1.5; }

/* === Interior page heroes === */
.page-hero {
  min-height: auto;
  padding: 96px 0 84px;
  text-align: center;
}
.page-hero-inner { max-width: 820px; margin: 0 auto; }
.page-hero .hero-lead { margin: 26px auto 0; }
.page-hero .card-topline { margin: 26px auto 0; }
@media (max-width: 620px) {
  .page-hero { padding: 72px 0 60px; }
}

/* === Access labels === */
.access-badge {
  display: flex;
  width: fit-content;
  align-items: center;
  margin: 0 0 14px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.badge-member { background: var(--black); color: var(--white); }
.badge-invite { background: var(--red); color: var(--white); }
.badge-guest { background: var(--cream); color: var(--ink); border: 1px solid var(--line); }
.section-dark .badge-guest { background: rgba(255, 255, 255, .12); color: var(--white); border-color: rgba(255, 255, 255, .28); }
.access-legend {
  margin: 30px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: .92rem;
}
.access-legend a { color: var(--red); font-weight: 700; }

/* === Interior page panels === */
.panel-body { margin: 0 0 18px; color: var(--muted); line-height: 1.6; }
.approach-panel .check-list li { color: var(--muted); line-height: 1.5; }
.approach-panel .check-list li strong { color: var(--ink); }
.panel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.section-inset { margin-top: 46px; }
#areas .program-card p, #series .program-card p, #ecosystem .program-card p { line-height: 1.55; }

/* === Membership inquiry form === */
.inquiry-shell {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}
.inquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.inquiry-field { display: flex; flex-direction: column; gap: 8px; }
.inquiry-field.full { margin-top: 18px; }
.inquiry-field label {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink);
}
.inquiry-field input,
.inquiry-field select,
.inquiry-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font-family: inherit;
  font-size: .96rem;
  color: var(--ink);
}
.inquiry-field textarea { resize: vertical; min-height: 120px; }
.inquiry-field input:focus,
.inquiry-field select:focus,
.inquiry-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(213, 31, 42, .12);
}
.required-mark { color: var(--red); }
.optional-mark { color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: none; }
.inquiry-fieldset { margin: 26px 0 0; padding: 0; border: 0; }
.inquiry-fieldset legend {
  padding: 0;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink);
}
.inquiry-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 14px;
}
.inquiry-checks label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .94rem;
  color: var(--muted);
}
.inquiry-checks input { accent-color: var(--red); width: 17px; height: 17px; }
.inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.inquiry-actions .microcopy { margin: 0; }
.inquiry-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) {
  .inquiry-shell { padding: 24px; }
  .inquiry-grid, .inquiry-checks { grid-template-columns: 1fr; }
}

/* === Culture-Focused Programming: Summer / School Year lists === */
.step.season-step { align-items: start; }
.season-step .season-title {
  display: block;
  font-family: 'Anton', Impact, sans-serif;
  font-size: 1.35rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
}
.season-step .check-list { margin-top: 12px; }
.season-step .check-list li { margin: 8px 0; font-weight: 600; }
@media (max-width: 620px) {
  .step.season-step { grid-template-columns: 52px 1fr; gap: 12px; }
}

/* === Part 2: program cards with skill lists (LVD / Socials / Beyond the Court) === */
.program-card p + p { margin-top: 12px; }
.program-card .check-list { margin: 16px 0 0; }
.program-card .check-list li {
  margin: 7px 0;
  padding-left: 24px;
  font-size: .95rem;
  color: var(--ink);
}
.program-card .microcopy { margin-top: 16px; color: var(--muted); font-weight: 700; }
.program-card .check-list + .program-link { margin-top: 18px; }
.section-heading.section-inset h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

/* === Centred program grids (Lotus Programs pages) === */
/* A trailing row with fewer cards than columns used to hug the left edge.
   Wrapping on the same three-up track width centres the short row instead,
   while full rows keep the exact widths and 22px gap of the grid layout. */
.program-grid.grid-centred {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.program-grid.grid-centred > * {
  flex: 0 1 calc((100% - 44px) / 3);
  min-width: 0;
}
@media (max-width: 920px) {
  .program-grid.grid-centred > * { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 620px) {
  .program-grid.grid-centred > * { flex-basis: 100%; }
}

/* === Hero legibility on single-column layouts === */
/* The backdrop's LOTUS wordmark sits in the top third of the image. On desktop
   the hero copy is in the left column and clears it, but at <=920px the hero
   stacks and the heading lands right on top of the wordmark - so when the 2.6MB
   backdrop finishes loading (~1s on mobile) the white heading was swallowed by
   the equally-white logo behind it. A stronger scrim keeps the backdrop as
   texture and keeps the message readable the whole way through the load. */
@media (max-width: 920px) {
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(7,7,7,.86), rgba(7,7,7,.95)),
      radial-gradient(circle at 82% 18%, rgba(213,31,42,.20), transparent 25%),
      radial-gradient(circle at 65% 80%, rgba(213,31,42,.14), transparent 32%),
      url('assets/lotus-backdrop.png') center top / cover no-repeat,
      var(--black);
  }
}

/* =========================================================
   Content stability
   Scroll reveals are an enhancement, never a requirement for
   content to be readable. Anything below must end up visible.
   ========================================================= */

/* Nothing is hidden until the inline head script confirms JS is running, so a
   blocked, stale or broken script.js can no longer blank the page. */
html:not(.js) .reveal { opacity: 1; transform: none; }

/* Hero copy is above the fold on every page: visible from first paint, never
   animated, so a slow or failed observer can never leave just the backdrop. */
.hero .reveal { opacity: 1; transform: none; transition: none; }

/* Honour the OS reduced-motion setting. */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Explicit hero layering: backdrop below, copy and buttons above. Previously
   this relied on implicit paint order between two positioned elements. */
.hero-bg { z-index: 0; }
.hero > .container { position: relative; z-index: 1; }


/* ==========================================================================
   Parent-facing application shell
   Programs · Schedule · Pricing · Passes · Request Training
   Mirrors the Parent Portal navigation rhythm and 1280px content system.
   ========================================================================== */
.parent-facing-shell {
  --max: 1280px;
  background: #f4f4f7;
}

.parent-facing-shell .site-header {
  background: #101012;
  border-bottom: 1px solid #2a2a2f;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.parent-facing-shell .nav.container {
  width: min(100% - 44px, 1280px);
  min-height: 78px;
  gap: 18px;
}

.parent-facing-shell .brand {
  gap: 10px;
  flex-shrink: 0;
}

.parent-facing-shell .brand-mark {
  height: 46px;
}

.parent-facing-shell .brand strong {
  text-transform: none;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.parent-facing-shell .brand small {
  margin-top: 2px;
  color: #b8b8bf;
  font-size: .68rem;
  letter-spacing: .09em;
}

.parent-facing-shell .nav-links {
  gap: 5px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  font-size: .76rem;
}

.parent-facing-shell .nav-links > a {
  padding: 8px 9px;
  border-radius: 999px;
  color: #ececef;
  white-space: nowrap;
  transform: none;
}

.parent-facing-shell .nav-links > a:hover {
  color: #fff;
  background: rgba(255,255,255,.07);
  transform: none;
}

.parent-facing-shell .nav-links > a[aria-current="page"]:not(.nav-cta) {
  color: #ff555b;
  background: rgba(255,255,255,.05);
}

.parent-facing-shell .nav-links .nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 8px 13px;
  box-shadow: none;
}

.parent-facing-shell .nav-links .nav-cta:hover {
  background: var(--red-dark);
}

.parent-facing-shell .prog-shell,
.parent-facing-shell .book-shell {
  max-width: 1280px;
  padding-left: 22px;
  padding-right: 22px;
}

.parent-facing-shell .prog-hero,
.parent-facing-shell .book-hero,
.parent-facing-shell .pricing-hero,
.parent-facing-shell .credits-hero {
  min-height: auto;
  padding-top: 46px;
  padding-bottom: 42px;
  background:
    radial-gradient(circle at 8% 50%, rgba(215,25,32,.24), transparent 34%),
    linear-gradient(135deg,#09090b,#17171b);
}

.parent-facing-shell .prog-hero h1,
.parent-facing-shell .book-hero h1,
.parent-facing-shell .pricing-hero h1,
.parent-facing-shell .credits-hero h1 {
  font-size: clamp(2.65rem, 5vw, 4.7rem);
  line-height: 1;
}

.parent-facing-shell .book-main {
  padding-top: 34px;
}

.parent-facing-shell .prog-filters {
  margin-top: 24px;
}

.parent-facing-shell .prog-card,
.parent-facing-shell .book-card,
.parent-facing-shell .pricing-tier-card,
.parent-facing-shell .price-card,
.parent-facing-shell .pass-card,
.parent-facing-shell .credit-explainer,
.parent-facing-shell .wallet-preview,
.parent-facing-shell .schedule-control-card,
.parent-facing-shell .schedule-session {
  box-shadow: 0 5px 18px rgba(15,15,20,.035);
}

.parent-facing-shell .prog-card,
.parent-facing-shell .book-card,
.parent-facing-shell .schedule-control-card,
.parent-facing-shell .schedule-session {
  border-radius: 16px;
}

.parent-facing-shell .button,
.parent-facing-shell .prog-btn {
  border-radius: 10px;
}

.parent-page-hero {
  background:
    radial-gradient(circle at 8% 50%, rgba(215,25,32,.24), transparent 34%),
    linear-gradient(135deg,#09090b,#17171b);
  color: #fff;
  padding: 46px 0 42px;
}

.parent-page-hero .parent-page-kicker {
  margin: 0 0 7px;
  color: #ff646a;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.parent-page-hero h1 {
  margin: 0 0 10px;
  max-width: none;
  font-size: clamp(2.65rem, 5vw, 4.7rem);
}

.parent-page-hero p:last-child {
  max-width: 720px;
  margin: 0;
  color: #d4d4d9;
  font-size: .96rem;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .parent-facing-shell .menu-toggle {
    display: block;
  }

  .parent-facing-shell .nav-links {
    position: absolute;
    left: 22px;
    right: 22px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: #101012;
    box-shadow: 0 22px 55px rgba(0,0,0,.24);
  }

  .parent-facing-shell .nav-links.open {
    display: flex;
  }

  .parent-facing-shell .nav-links > a {
    padding: 11px 13px;
  }

  .parent-facing-shell .nav-links .nav-cta {
    text-align: center;
  }
}

@media (max-width: 620px) {
  .parent-facing-shell .nav.container {
    width: min(100% - 30px, 1280px);
    min-height: 68px;
  }

  .parent-facing-shell .brand-mark {
    height: 40px;
  }

  .parent-facing-shell .prog-shell,
  .parent-facing-shell .book-shell {
    padding-left: 15px;
    padding-right: 15px;
  }

  .parent-facing-shell .prog-hero,
  .parent-facing-shell .book-hero,
  .parent-facing-shell .pricing-hero,
  .parent-facing-shell .credits-hero,
  .parent-page-hero {
    padding-top: 34px;
    padding-bottom: 34px;
  }
}
