/* ==========================================================================
   Private Martial Arts — static site base styles
   Recreates the parts of the Shopify "Ride" theme the pages rely on
   (fonts, colors, header, footer, light sections). The "Fight Night" look
   lives in pm-effects.css, ported from the theme.
   1rem = 10px, same as the Shopify theme, so both stylesheets match 1:1.
   ========================================================================== */

:root {
  --font-heading-family: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body-family: 'Avenir Next', Avenir, 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --page-width: 160rem;
  --buttons-radius: 2px;
  --pm-text: #2e2a39;
  --pm-line: rgba(46, 42, 57, 0.14);
}

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

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--pm-text);
  font-family: var(--font-body-family);
  font-size: 1.6rem;
  line-height: 1.6;
  letter-spacing: 0.04rem;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading-family);
  font-weight: 500;
  line-height: 1.15;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 2000;
  padding: 1rem 1.6rem;
  background: var(--pm-ink-deep);
  color: var(--pm-paper);
  font-weight: 600;
}
.skip-link:focus {
  top: 1rem;
}

.page-width {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media screen and (min-width: 750px) {
  .page-width {
    padding: 0 5rem;
  }
}

/* ---- Announcement bar + header ---- */
.announcement {
  margin: 0;
  padding: 1rem 1.5rem;
  background: var(--pm-ink-deep);
  border-bottom: 1px solid rgba(253, 251, 247, 0.08);
  color: var(--pm-gold);
  font-family: var(--font-heading-family);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  background: var(--pm-ink-deep);
  color: var(--pm-paper);
  border-bottom: 1px solid rgba(208, 173, 70, 0.35);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 9rem;
}
.site-header__logo {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
}
.site-header__logo img {
  display: block;
  width: 4.8rem;
  height: auto;
}
@media screen and (max-width: 749px) {
  .site-header__logo img {
    width: 4rem;
  }
}
.site-header__nav ul {
  display: flex;
  gap: 3.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header__nav a {
  font-family: var(--font-heading-family);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--pm-paper);
  transition: color 0.2s, text-decoration-color 0.2s;
}
.site-header__nav a:hover {
  color: var(--pm-gold);
}
.site-header__nav a:hover,
.site-header__nav a[aria-current='page'] {
  text-decoration: underline;
  text-decoration-color: var(--pm-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.6rem;
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-header__phone {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--pm-gold);
  text-decoration: none;
  white-space: nowrap;
}
.site-header__menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--pm-paper);
  cursor: pointer;
}
.site-header__menu svg {
  width: 2.4rem;
  height: 2.4rem;
}
@media screen and (max-width: 989px) {
  .site-header__nav,
  .site-header__phone {
    display: none;
  }
}
@media screen and (min-width: 990px) {
  .site-header__menu {
    display: none;
  }
}

/* ---- Light sections ---- */
.section-light {
  padding: 8rem 0;
}
.section-light--tight {
  padding: 4rem 0;
}
.section-light .pm-kicker {
  color: #a8862a; /* darker gold: readable on white */
}
.section-title {
  margin: 1.2rem 0 0;
  font-family: var(--font-heading-family);
  font-weight: 700;
  font-size: clamp(3.6rem, 6vw, 6.4rem);
  line-height: 1;
  text-transform: uppercase;
}
.section-sub {
  max-width: 64rem;
  margin: 1.6rem 0 0;
  font-size: 1.8rem;
  color: rgba(46, 42, 57, 0.78);
}
.center {
  text-align: center;
}
.center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* Intro: header + story, three quick facts, two program cards */
.intro {
  display: grid;
  gap: 4.8rem;
}
.intro__head {
  display: grid;
  gap: 3.2rem;
}
@media screen and (min-width: 990px) {
  .intro__head {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 8rem;
    align-items: end;
  }
}
.intro__lead {
  margin: 2rem 0 0;
  font-family: var(--font-heading-family);
  font-size: 2.4rem;
  line-height: 1.3;
  text-transform: uppercase;
  color: rgba(46, 42, 57, 0.75);
}
.intro__story p {
  margin: 0 0 1.6rem;
}
.intro__quote {
  padding-left: 2rem;
  border-left: 3px solid var(--pm-gold);
}
.intro__quote strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-heading-family);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--pm-text);
}
/* Quick facts: three gold tiles that flip up in 3D as the page scrolls */
.meta-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
  perspective: 1200px;
}
@media screen and (max-width: 749px) {
  .meta-tiles {
    grid-template-columns: 1fr;
  }
}
.meta-tile {
  --flip: 0;  /* 1 = folded back, 0 = standing */
  --lift: 0;  /* 0..1 hover / settle glow */
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 2.8rem 2.8rem 3rem;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, #e2c160 0%, var(--pm-gold) 45%, #b8922c 100%);
  color: var(--pm-ink-deep);
  transform-origin: 50% 100%;
  transform: rotateX(calc(var(--flip) * -88deg)) translateY(calc(var(--flip) * 3rem)) translateZ(calc(var(--lift) * 2rem));
  opacity: calc(1 - var(--flip) * 0.85);
  box-shadow: 0 calc(1rem + var(--lift) * 1.6rem) calc(2.4rem + var(--lift) * 2.4rem) -1.6rem rgba(120, 90, 10, calc(0.45 + var(--lift) * 0.25));
  will-change: transform;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out, box-shadow 0.3s;
}
.meta-tile::after {
  content: '';
  position: absolute;
  inset: -50% auto -50% -60%;
  width: 45%;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  transform: skewX(-20deg) translateX(-120%);
  opacity: 0;
}
.meta-tile.is-up::after {
  animation: tile-shine 1.1s 0.15s cubic-bezier(0.3, 0.7, 0.2, 1) forwards;
}
@keyframes tile-shine {
  0% { opacity: 1; transform: skewX(-20deg) translateX(-120%); }
  100% { opacity: 1; transform: skewX(-20deg) translateX(520%); }
}
.meta-tile__icon {
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--pm-ink-deep);
  color: var(--pm-gold);
}
.meta-tile__icon svg {
  width: 2.2rem;
  height: 2.2rem;
}
.meta-tile strong {
  font-family: var(--font-heading-family);
  font-size: clamp(3rem, 3.4vw, 4.4rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
.meta-tile span:last-child {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(22, 19, 29, 0.78);
}
@media (prefers-reduced-motion: reduce) {
  .meta-tile {
    transform: none;
    opacity: 1;
  }
  .meta-tile::after {
    display: none;
  }
}
.programs {
  display: grid;
  gap: 2rem;
}
@media screen and (min-width: 750px) {
  .programs {
    grid-template-columns: 1fr 1fr;
  }
}
.program {
  position: relative;
  padding: 3.6rem 3.2rem 3.2rem;
  border: 1px solid var(--pm-line);
  border-top: 4px solid var(--pm-gold);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2rem 5rem -3rem rgba(22, 19, 29, 0.35);
}
.program--dark {
  border-color: var(--pm-ink-deep);
  border-top-color: var(--pm-gold);
  background: var(--pm-ink-deep);
  color: var(--pm-paper);
}
.program__tag {
  display: inline-block;
  margin: 0 0 1.6rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid currentColor;
  border-radius: 99px;
  font-size: 1.15rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9a7a1c;
}
.program--dark .program__tag {
  color: var(--pm-gold);
}
.program__title {
  margin: 0 0 1rem;
  font-size: 2.6rem;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.program--dark .program__title {
  color: var(--pm-paper);
}
.program__sub {
  margin: 0 0 2.4rem;
  color: rgba(46, 42, 57, 0.8);
}
.program--dark .program__sub {
  color: rgba(253, 251, 247, 0.78);
}
.program__list {
  display: grid;
  gap: 1.2rem;
  margin: 0;
  padding: 2.4rem 0 0;
  border-top: 1px solid var(--pm-line);
  list-style: none;
}
.program--dark .program__list {
  border-top-color: rgba(253, 251, 247, 0.14);
}
.program__list li {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.program__list svg {
  flex: none;
  width: 1.8rem;
  height: 1.8rem;
  margin-top: 0.3rem;
  color: #9a7a1c;
}
.program--dark .program__list svg {
  color: var(--pm-gold);
}
.intro__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

/* Dark-on-light button variant (the pm buttons are built for dark backgrounds) */
.section-light .pm-btn--ghost {
  color: var(--pm-text);
  border-color: rgba(46, 42, 57, 0.4);
}
.section-light .pm-btn--ghost:hover,
.section-light .pm-btn--ghost:focus-visible {
  color: var(--pm-ink-deep);
  border-color: var(--pm-gold);
}
.section-light .pm-btn:focus-visible {
  outline-color: var(--pm-text);
}

/* Credentials strip (CSAC + Yelp) */
.badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  padding: 3.2rem 1.5rem;
  border-top: 1px solid var(--pm-line);
  border-bottom: 1px solid var(--pm-line);
}
.badges img {
  width: 10rem;
  height: auto;
}

/* Testimonials: horizontal scroll-snap carousel */
.reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.reviews__arrows {
  display: flex;
  gap: 1rem;
}
.reviews__arrows button {
  display: grid;
  place-items: center;
  width: 4.8rem;
  height: 4.8rem;
  border: 1px solid rgba(46, 42, 57, 0.3);
  border-radius: 50%;
  background: #ffffff;
  color: var(--pm-text);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.reviews__arrows button:hover,
.reviews__arrows button:focus-visible {
  background: var(--pm-gold);
  border-color: var(--pm-gold);
  outline: none;
}
.reviews__arrows svg {
  width: 1.6rem;
  height: 1.6rem;
}
.reviews__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 88%;
  gap: 2rem;
  margin: 4rem 0 0;
  padding: 0 0 2rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
@media screen and (min-width: 750px) {
  .reviews__track {
    grid-auto-columns: calc((100% - 2rem) / 2);
  }
}
@media screen and (min-width: 990px) {
  .reviews__track {
    grid-auto-columns: calc((100% - 4rem) / 3);
  }
}
.review {
  display: flex;
  flex-direction: column;
  padding: 3.2rem 2.8rem;
  border: 1px solid var(--pm-line);
  border-top: 3px solid var(--pm-gold);
  background: #fdfbf7;
  scroll-snap-align: start;
}
.review__stars {
  color: var(--pm-gold);
  font-size: 1.6rem;
  letter-spacing: 0.2em;
}
.review__title {
  margin: 1.2rem 0 0;
  font-size: 2rem;
  text-transform: uppercase;
}
.review__body {
  margin: 1.4rem 0 2.4rem;
  font-size: 1.5rem;
  color: rgba(46, 42, 57, 0.82);
}
.review__body p {
  margin: 0 0 1rem;
}
.review__author {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: auto;
  font-weight: 600;
}
.review__author img {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  object-fit: cover;
  background: #e9e4d6;
}

/* Photo gallery (replaces the theme slideshow) */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  background: var(--pm-ink-deep);
}
@media screen and (min-width: 990px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}
.gallery figure {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--pm-ink);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--pm-ease);
}
.gallery figure:hover img {
  transform: scale(1.05);
}

/* Coach */
.coach {
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media screen and (min-width: 990px) {
  .coach {
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
  }
}
.coach__photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--pm-ink);
}
.coach__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.coach__list {
  display: grid;
  gap: 1.2rem;
  margin: 2.8rem 0 0;
  padding: 0;
  list-style: none;
}
.coach__list li {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  font-size: 1.7rem;
}
.coach__list svg {
  flex: none;
  width: 1.8rem;
  height: 1.8rem;
  margin-top: 0.4rem;
  color: var(--pm-gold);
}

/* FAQ (accordion built on <details>) */
.faq {
  display: grid;
  gap: 4rem;
}
@media screen and (min-width: 990px) {
  .faq {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 8rem;
  }
}
.faq__list details {
  border-bottom: 1px solid var(--pm-line);
}
.faq__list details:first-child {
  border-top: 1px solid var(--pm-line);
}
.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.2rem 0;
  font-family: var(--font-heading-family);
  font-size: 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.faq__list summary::-webkit-details-marker {
  display: none;
}
.faq__list summary::after {
  content: '+';
  flex: none;
  font-size: 2.6rem;
  line-height: 1;
  color: #a8862a;
  transition: transform 0.3s var(--pm-ease);
}
.faq__list details[open] summary::after {
  transform: rotate(45deg);
}
.faq__list summary:focus-visible {
  outline: 2px solid var(--pm-gold);
  outline-offset: 4px;
}
.faq__answer {
  padding: 0 0 2.4rem;
  color: rgba(46, 42, 57, 0.85);
}
.faq__answer p {
  margin: 0 0 1rem;
}
.faq__answer ul {
  margin: 0;
  padding-left: 2rem;
}

/* Contact band (dark) */
.contact {
  position: relative;
  isolation: isolate;
  padding: 9rem 0;
  background: var(--pm-ink);
  color: var(--pm-paper);
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 60% at 100% 100%, rgba(208, 173, 70, 0.22), transparent 70%),
    repeating-linear-gradient(115deg, rgba(253, 251, 247, 0.025) 0 2px, transparent 2px 22px);
}
.contact .section-title {
  color: var(--pm-paper);
}
.contact .section-sub {
  color: rgba(253, 251, 247, 0.8);
}
.contact__grid {
  display: grid;
  gap: 4rem;
}
@media screen and (min-width: 990px) {
  .contact__grid {
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: start;
  }
}
.contact__ways {
  display: grid;
  gap: 1.2rem;
  margin: 3.2rem 0 0;
  padding: 0;
  list-style: none;
}
.contact__ways .pm-btn {
  width: 100%;
}
@media screen and (min-width: 750px) {
  .contact__ways .pm-btn {
    width: auto;
  }
}

/* Contact form (opens the visitor's email app; no server needed) */
.form {
  display: grid;
  gap: 1.6rem;
}
.form label {
  display: grid;
  gap: 0.6rem;
  font-size: 1.3rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(253, 251, 247, 0.8);
}
.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 4.8rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(253, 251, 247, 0.3);
  border-radius: 0;
  background: rgba(253, 251, 247, 0.06);
  color: var(--pm-paper);
  font: inherit;
  font-size: 1.6rem;
  letter-spacing: normal;
  text-transform: none;
}
.form select option {
  color: var(--pm-text);
}
.form textarea {
  min-height: 12rem;
  resize: vertical;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--pm-gold);
  outline-offset: 0;
  border-color: var(--pm-gold);
}
.form__row {
  display: grid;
  gap: 1.6rem;
}
@media screen and (min-width: 750px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}
.form__note {
  margin: 0;
  font-size: 1.3rem;
  color: rgba(253, 251, 247, 0.6);
}

/* Booking placeholder (Square Appointments goes here) */
.booking-slot {
  display: grid;
  gap: 1.6rem;
  justify-items: start;
  padding: 3.2rem;
  border: 1px dashed rgba(253, 251, 247, 0.4);
  background: rgba(253, 251, 247, 0.04);
}
.booking-slot p {
  margin: 0;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  isolation: isolate;
  padding: 10rem 0 7rem;
  background: var(--pm-ink-deep);
  color: var(--pm-paper);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 60% at 15% 20%, rgba(208, 173, 70, 0.2), transparent 70%),
    repeating-linear-gradient(115deg, rgba(253, 251, 247, 0.025) 0 2px, transparent 2px 22px);
}
.page-hero__title {
  margin: 1.6rem 0 0;
  font-family: var(--font-heading-family);
  font-weight: 700;
  font-size: clamp(4.4rem, 9vw, 10rem);
  line-height: 0.92;
  text-transform: uppercase;
}
.page-hero__title span {
  color: var(--pm-gold);
}
.page-hero__sub {
  max-width: 60rem;
  margin: 2.4rem 0 0;
  font-size: 1.9rem;
  color: rgba(253, 251, 247, 0.85);
}

.prose {
  max-width: 72rem;
}
.prose h2 {
  margin: 4rem 0 1.2rem;
  font-size: 2.8rem;
  text-transform: uppercase;
}
.prose p {
  margin: 0 0 1.6rem;
}

/* ---- Footer ---- */
.site-footer {
  padding: 6rem 0 12rem; /* extra bottom room so the Rounds pill never covers text */
  border-top: 1px solid var(--pm-line);
  font-size: 1.5rem;
}
.site-footer__grid {
  display: grid;
  gap: 4rem;
}
@media screen and (min-width: 750px) {
  .site-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.site-footer h2 {
  margin: 0 0 1.6rem;
  font-size: 1.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site-footer ul {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer a {
  text-decoration: none;
  color: rgba(46, 42, 57, 0.78);
}
.site-footer a:hover {
  color: var(--pm-text);
  text-decoration: underline;
}
.site-footer p {
  margin: 0 0 0.8rem;
}
.social {
  display: flex;
  gap: 1.6rem;
  margin-top: 1.6rem;
}
.social a {
  display: inline-grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
}
.social svg {
  width: 2rem;
  height: 2rem;
}
.site-footer__copy {
  margin-top: 4rem;
  font-size: 1.3rem;
  color: rgba(46, 42, 57, 0.6);
}

/* Intro offer band above the package cards ($75 first session) */
.pm-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  margin: 0 0 3.2rem;
  padding: 2.8rem 3rem;
  border: 1px dashed var(--pm-gold);
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(208, 173, 70, 0.14), rgba(253, 251, 247, 0.02));
}
.pm-offer__tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  border: 1px solid var(--pm-gold);
  border-radius: 99px;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pm-gold);
}
.pm-offer__title {
  margin: 1.2rem 0 0;
  font-family: var(--font-heading-family);
  font-size: clamp(2.6rem, 3.4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pm-paper);
}
.pm-offer__title span {
  margin-left: 0.6rem;
  color: var(--pm-gold);
}
.pm-offer__sub {
  max-width: 56rem;
  margin: 0.6rem 0 0;
  font-size: 1.5rem;
  color: rgba(253, 251, 247, 0.8);
}
@media screen and (max-width: 749px) {
  .pm-offer .pm-btn {
    width: 100%;
  }
}

/* Yelp badge (Yelp logo with 5 stars, links to the Yelp reviews page) */
.yelp-badge {
  display: inline-block;
  border-radius: 8px;
  transition: transform 0.2s;
}
.yelp-badge:hover,
.yelp-badge:focus-visible {
  transform: translateY(-2px);
}
.yelp-badge:focus-visible {
  outline: 2px solid #d32323;
  outline-offset: 4px;
}
.yelp-badge img {
  width: 13rem;
  height: auto;
}

/* CSAC logo shown next to the Yelp badge */
.csac-badge {
  width: auto;
  height: 10rem;
}

/* Programs as full-width bands: adults (light) and youth (kids film in the background) */
#training {
  padding-bottom: 0;
}
.bands {
  margin-top: 7.2rem;
}
.band {
  position: relative;
  overflow: hidden;
}
.band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3.2rem;
  padding-top: 7.2rem;
  padding-bottom: 7.2rem;
}
.band__title {
  margin: 0 0 1.2rem;
  font-size: clamp(3.2rem, 4.4vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.band__sub {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.6;
}
.band__list {
  padding-top: 0;
  border-top: 0;
  font-size: 1.7rem;
}
.band--film {
  border-top: 4px solid var(--pm-gold);
  background: var(--pm-ink-deep);
  color: var(--pm-paper);
}
.band__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
  object-position: 70% 50%;
}
.band--film::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(22, 19, 29, 0.96) 0%, rgba(22, 19, 29, 0.9) 36%, rgba(22, 19, 29, 0.45) 62%, rgba(22, 19, 29, 0.05) 100%);
  transition: opacity 0.4s;
}
.band__inner--film {
  z-index: 2;
  min-height: min(88vh, 76rem);
  align-content: center;
}
.band__copy {
  max-width: 60rem;
  transition: opacity 0.4s, transform 0.4s;
}
.band--film .band__title {
  color: var(--pm-paper);
}
.band--film .program__tag {
  color: var(--pm-gold);
}
.band--film .band__sub {
  margin-bottom: 2.8rem;
  color: rgba(253, 251, 247, 0.85);
}
.band--film .program__list svg {
  color: var(--pm-gold);
}
.band__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 3.6rem;
}
.band__watch {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--pm-paper);
  font-family: var(--font-heading-family);
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}
.band__watch small {
  margin-left: 0.6rem;
  white-space: nowrap;
  font-size: 1.15rem;
  opacity: 0.7;
}
.band__watch-icon {
  display: grid;
  place-items: center;
  width: 5.2rem;
  height: 5.2rem;
  border: 1px solid var(--pm-gold);
  border-radius: 50%;
  color: var(--pm-gold);
  box-shadow: 0 0 0 0 rgba(208, 173, 70, 0.5);
  animation: kids-pulse 2.4s ease-out infinite;
  transition: background 0.3s, color 0.3s;
}
.band__watch-icon svg {
  width: 1.8rem;
  height: 1.8rem;
  margin-left: 0.3rem;
}
.band__watch:hover .band__watch-icon,
.band__watch:focus-visible .band__watch-icon {
  background: var(--pm-gold);
  color: var(--pm-ink-deep);
}
.band__watch:focus-visible {
  outline: 2px solid var(--pm-gold);
  outline-offset: 4px;
}
@keyframes kids-pulse {
  0% { box-shadow: 0 0 0 0 rgba(208, 173, 70, 0.5); }
  70%, 100% { box-shadow: 0 0 0 1.6rem rgba(208, 173, 70, 0); }
}
.band__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 4;
  display: none;
  width: 4.4rem;
  height: 4.4rem;
  border: 1px solid rgba(253, 251, 247, 0.5);
  border-radius: 50%;
  background: rgba(22, 19, 29, 0.6);
  color: var(--pm-paper);
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
}
/* Watching with sound: the copy steps aside and the film takes the whole band */
.band--film.is-watching::before {
  opacity: 0;
}
.band--film.is-watching .band__copy {
  opacity: 0;
  transform: translateX(-3rem);
  pointer-events: none;
}
.band--film.is-watching .band__video {
  z-index: 3;
  object-fit: contain;
  background: #000;
}
.band--film.is-watching .band__close {
  display: block;
}
@media screen and (max-width: 749px) {
  .band__video {
    position: relative;
    display: block;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .band--film::before {
    display: none;
  }
  .band__inner--film {
    min-height: 0;
    padding-top: 4rem;
  }
  .band--film.is-watching .band__copy {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .band__close {
    top: 1rem;
    right: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .band__watch-icon {
    animation: none;
  }
}

/* Instagram strip: an endless row that drifts sideways; videos play muted on their own */
.ig-strip {
  padding: 7.2rem 0 8rem;
  background: var(--pm-ink-deep);
  color: var(--pm-paper);
  overflow: hidden;
}
.ig-strip__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.4rem;
  margin-bottom: 4rem;
}
.ig-strip__title {
  margin: 0;
  font-size: clamp(3.4rem, 5vw, 6rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--pm-paper);
}
.ig-strip__head .pm-btn svg {
  width: 1.8rem;
  height: 1.8rem;
}
.ig-strip__viewport {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ig-strip__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: ig-drift var(--ig-dur, 40s) linear infinite;
}
.ig-strip__viewport:hover .ig-strip__track,
.ig-strip__viewport:focus-within .ig-strip__track,
.ig-strip__viewport.is-held .ig-strip__track,
.ig-strip__viewport.is-offscreen .ig-strip__track {
  animation-play-state: paused;
}
@keyframes ig-drift {
  to { transform: translateX(calc(-50% - 0.5rem)); }
}
.ig-tile {
  flex: none;
  width: clamp(20rem, 22vw, 30rem);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--pm-ink);
}
.ig-tile a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.ig-tile img,
.ig-tile video,
.ig-tile .ph {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--pm-ease), filter 0.4s;
}
.ig-tile a:hover img,
.ig-tile a:hover video,
.ig-tile a:focus-visible img,
.ig-tile a:focus-visible video {
  transform: scale(1.05);
}
.ig-tile a:focus-visible {
  outline: 2px solid var(--pm-gold);
  outline-offset: -2px;
}
.ig-tile__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: rgba(22, 19, 29, 0.6);
  color: var(--pm-paper);
}
.ig-tile__badge svg {
  width: 1.2rem;
  height: 1.2rem;
  margin-left: 0.2rem;
}
@media (prefers-reduced-motion: reduce) {
  .ig-strip__viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .ig-strip__track {
    animation: none;
    padding: 0 2rem;
  }
}

/* Squad Session promo band (home) */
.squad-promo {
  padding: 6.4rem 0;
  background: linear-gradient(120deg, #e2c160 0%, var(--pm-gold) 50%, #b8922c 100%);
  color: var(--pm-ink-deep);
}
.squad-promo__inner {
  display: grid;
  gap: 3.2rem;
  align-items: center;
}
@media screen and (min-width: 990px) {
  .squad-promo__inner {
    grid-template-columns: 1.4fr auto;
    gap: 8rem;
  }
}
.squad-promo__tag {
  display: inline-block;
  margin: 0 0 1.4rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid currentColor;
  border-radius: 99px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.squad-promo__title {
  margin: 0;
  font-size: clamp(3.4rem, 5vw, 6rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--pm-ink-deep);
}
.squad-promo__sub {
  max-width: 62rem;
  margin: 1.6rem 0 0;
  font-size: 1.8rem;
  line-height: 1.55;
  color: rgba(22, 19, 29, 0.85);
}
.squad-promo__price {
  display: grid;
  justify-items: start;
  gap: 0.4rem;
}
.squad-promo__from,
.squad-promo__per {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.squad-promo__num {
  font-family: var(--font-heading-family);
  font-size: 8rem;
  font-weight: 700;
  line-height: 0.95;
}
.squad-promo__price .pm-btn {
  margin-top: 1.6rem;
  border-color: var(--pm-ink-deep);
  background: var(--pm-ink-deep);
  color: var(--pm-paper);
}
.squad-promo__price .pm-btn::before {
  background: var(--pm-paper);
}
.squad-promo__price .pm-btn:hover,
.squad-promo__price .pm-btn:focus-visible {
  color: var(--pm-ink-deep);
}

/* Squad Session page */
.squad {
  padding: 6.4rem 0 8rem;
  background: var(--pm-ink-deep);
  color: var(--pm-paper);
}
.squad__demo {
  margin: 0 0 3.2rem;
  padding: 1.2rem 1.6rem;
  border: 1px dashed rgba(208, 173, 70, 0.6);
  font-size: 1.4rem;
  color: var(--pm-gold-bright);
}
.squad__h {
  margin: 0 0 1.2rem;
  font-size: clamp(3.2rem, 4.4vw, 5.2rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--pm-paper);
}
.squad__create {
  display: grid;
  gap: 4rem;
}
@media screen and (min-width: 990px) {
  .squad__create {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 8rem;
  }
}
.squad__intro p {
  margin: 0;
  font-size: 1.8rem;
  color: rgba(253, 251, 247, 0.8);
}
.squad__pricecard {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3.2rem;
  padding: 2.4rem;
  border-radius: 4px;
  background: linear-gradient(135deg, #e2c160 0%, var(--pm-gold) 45%, #b8922c 100%);
  color: var(--pm-ink-deep);
}
.squad__pricecard-num {
  font-family: var(--font-heading-family);
  font-size: 5.6rem;
  font-weight: 700;
  line-height: 1;
}
.squad__pricecard-txt {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}
.squad__opt {
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 0.7;
}
.form__error {
  margin: 0;
  font-size: 1.4rem;
  color: #ffb4a6;
}
.form .pm-btn {
  justify-self: start;
}
.form input[type='date'] {
  color-scheme: dark;
}

.squad__room {
  display: grid;
  gap: 3.2rem;
}
.squad__status {
  display: inline-block;
  margin-bottom: 1.6rem;
  padding: 0.5rem 1.2rem;
  border-radius: 99px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.squad__status.is-open {
  border: 1px solid var(--pm-gold);
  color: var(--pm-gold);
}
.squad__status.is-booked {
  background: var(--pm-gold);
  color: var(--pm-ink-deep);
}
.squad__status.is-expired {
  border: 1px solid rgba(253, 251, 247, 0.4);
  color: rgba(253, 251, 247, 0.7);
}
.squad__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.squad__meta li {
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(253, 251, 247, 0.2);
  border-radius: 99px;
  font-size: 1.4rem;
  color: rgba(253, 251, 247, 0.85);
}
.squad__grid {
  display: grid;
  gap: 2rem;
}
@media screen and (min-width: 990px) {
  .squad__grid {
    grid-template-columns: 1fr 1fr;
  }
}
.squad__balance {
  position: relative;
  padding: 3.2rem;
  border: 1px solid rgba(208, 173, 70, 0.5);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(208, 173, 70, 0.14), rgba(253, 251, 247, 0.02));
}
.squad__left {
  margin: 0;
  font-family: var(--font-heading-family);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(253, 251, 247, 0.8);
}
.squad__left span {
  display: block;
  font-size: clamp(6rem, 8vw, 9.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: var(--pm-paper);
}
.squad__balance.is-zero .squad__left span {
  color: var(--pm-gold);
}
.squad__bar {
  height: 1.2rem;
  margin: 2.4rem 0 1.2rem;
  border-radius: 99px;
  background: rgba(253, 251, 247, 0.12);
  overflow: hidden;
}
.squad__bar span {
  display: block;
  width: var(--pct);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b8922c, var(--pm-gold), var(--pm-gold-bright));
  transition: width 0.8s var(--pm-ease);
}
.squad__paid,
.squad__deadline {
  margin: 0;
  font-size: 1.5rem;
  color: rgba(253, 251, 247, 0.75);
}
.squad__deadline {
  margin-top: 1.2rem;
}
.squad__slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media screen and (max-width: 479px) {
  .squad__slots {
    grid-template-columns: 1fr;
  }
}
.squad__slot {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 1.8rem;
  border: 1px solid rgba(253, 251, 247, 0.16);
  border-radius: 4px;
  background: rgba(253, 251, 247, 0.04);
}
.squad__slot.is-open {
  border-style: dashed;
  color: rgba(253, 251, 247, 0.6);
}
.squad__slot.is-me {
  border-color: var(--pm-gold);
}
.squad__avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  background: var(--pm-gold);
  color: var(--pm-ink-deep);
  font-weight: 700;
  font-size: 1.6rem;
}
.squad__slot.is-open .squad__avatar {
  border: 1px dashed rgba(253, 251, 247, 0.5);
  background: transparent;
  color: rgba(253, 251, 247, 0.6);
  font-size: 2.2rem;
}
.squad__who {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}
.squad__who strong {
  font-size: 1.6rem;
  overflow-wrap: anywhere;
}
.squad__who em {
  font-style: normal;
  color: var(--pm-gold);
}
.squad__who span {
  font-size: 1.3rem;
  color: rgba(253, 251, 247, 0.65);
}
.squad__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.squad__btns .pm-btn svg {
  width: 1.8rem;
  height: 1.8rem;
}
.squad__join {
  grid-template-columns: 1fr;
  max-width: 52rem;
}
@media screen and (min-width: 750px) {
  .squad__join {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
  .squad__join .form__error {
    grid-column: 1 / -1;
  }
}
.squad__done {
  padding: 3.2rem;
  border-radius: 4px;
  background: linear-gradient(135deg, #e2c160 0%, var(--pm-gold) 45%, #b8922c 100%);
  color: var(--pm-ink-deep);
}
.squad__done h3 {
  margin: 0 0 0.8rem;
  font-size: 3.6rem;
  text-transform: uppercase;
  color: var(--pm-ink-deep);
}
.squad__done p {
  margin: 0 0 2.4rem;
  font-size: 1.7rem;
}
.squad__done .pm-btn {
  border-color: var(--pm-ink-deep);
  background: var(--pm-ink-deep);
  color: var(--pm-paper);
}
.squad__done .pm-btn--ghost {
  background: transparent;
  color: var(--pm-ink-deep);
}
.squad__done.is-expired {
  background: rgba(253, 251, 247, 0.06);
  color: var(--pm-paper);
}
.squad__done.is-expired h3 {
  color: var(--pm-paper);
}
.squad__done.is-expired .pm-btn {
  border-color: var(--pm-gold);
  background: var(--pm-gold);
  color: var(--pm-ink-deep);
}
.squad__log h3 {
  margin: 0 0 1.2rem;
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pm-gold);
}
.squad__log ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.squad__log li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(253, 251, 247, 0.12);
  font-size: 1.5rem;
}
.squad__log time {
  color: rgba(253, 251, 247, 0.55);
}
.squad__back {
  margin: 0;
}
.squad__link {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(253, 251, 247, 0.7);
  font: inherit;
  font-size: 1.4rem;
  text-decoration: underline;
  cursor: pointer;
}
.squad__dialog {
  width: min(48rem, calc(100vw - 3.2rem));
  padding: 3.2rem;
  border: 1px solid var(--pm-gold);
  border-radius: 4px;
  background: var(--pm-ink-deep);
  color: var(--pm-paper);
}
.squad__dialog::backdrop {
  background: rgba(10, 8, 14, 0.75);
}
.squad__payform h3 {
  margin: 0;
  font-size: 3rem;
  text-transform: uppercase;
  color: var(--pm-paper);
}
.squad__payleft {
  margin: 0;
  color: rgba(253, 251, 247, 0.75);
}
.squad__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.squad__chip {
  padding: 0.8rem 1.4rem;
  border: 1px solid rgba(253, 251, 247, 0.35);
  border-radius: 99px;
  background: transparent;
  color: var(--pm-paper);
  font: inherit;
  font-size: 1.4rem;
  cursor: pointer;
}
.squad__chip.is-on {
  border-color: var(--pm-gold);
  background: var(--pm-gold);
  color: var(--pm-ink-deep);
}
.squad__spark {
  position: absolute;
  top: 40%;
  left: 30%;
  width: 0.9rem;
  height: 1.4rem;
  background: var(--pm-gold);
  pointer-events: none;
  animation: squad-spark 1.4s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}
.squad__spark:nth-child(3n) {
  background: var(--pm-gold-bright);
}
.squad__spark:nth-child(4n) {
  background: var(--pm-paper);
}
@keyframes squad-spark {
  0% { opacity: 1; transform: translate(0, 0) rotate(0); }
  100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) + 14rem)) rotate(var(--r)); }
}

/* How it works */
.squad-how__steps {
  display: grid;
  gap: 2rem;
  margin: 4rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
@media screen and (min-width: 750px) {
  .squad-how__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1200px) {
  .squad-how__steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
.squad-how__steps li {
  padding: 2.8rem;
  border: 1px solid var(--pm-line);
  border-top: 4px solid var(--pm-gold);
  border-radius: 4px;
  background: #fff;
}
.squad-how__steps span {
  font-family: var(--font-heading-family);
  font-size: 4.4rem;
  font-weight: 700;
  line-height: 1;
  color: #9a7a1c;
}
.squad-how__steps h3 {
  margin: 1.2rem 0 0.8rem;
  font-size: 2rem;
  text-transform: uppercase;
}
.squad-how__steps p {
  margin: 0;
  color: rgba(46, 42, 57, 0.8);
}
.squad-how__note {
  margin: 2.4rem 0 0;
  font-size: 1.3rem;
  color: rgba(46, 42, 57, 0.65);
}

/* Top bar floats over the hero video; turns solid once the page scrolls */
html {
  scroll-padding-top: 9rem;
}
.site-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(10, 8, 14, 0.7) 0%, rgba(10, 8, 14, 0.35) 60%, rgba(10, 8, 14, 0) 100%);
  transition: background-color 0.35s var(--pm-ease), box-shadow 0.35s var(--pm-ease);
}
.site-top .announcement {
  max-height: 4.2rem;
  overflow: hidden;
  background: transparent;
  border-bottom: 1px solid rgba(253, 251, 247, 0.14);
  transition: max-height 0.35s var(--pm-ease), padding 0.35s var(--pm-ease), opacity 0.25s;
}
.site-top .site-header {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s;
}
.site-top .site-header__inner {
  transition: min-height 0.35s var(--pm-ease);
}
.site-top.is-solid {
  background-color: rgba(22, 19, 29, 0.96);
  background-image: none;
  box-shadow: 0 1.2rem 3rem -1.6rem rgba(0, 0, 0, 0.7);
}
@supports (backdrop-filter: blur(1px)) {
  .site-top.is-solid {
    background-color: rgba(22, 19, 29, 0.85);
    backdrop-filter: blur(10px);
  }
}
.site-top.is-solid .announcement {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-color: transparent;
  opacity: 0;
}
.site-top.is-solid .site-header {
  border-bottom-color: rgba(208, 173, 70, 0.35);
}
.site-top.is-solid .site-header__inner {
  min-height: 7.2rem;
}
/* room for the floating bar at the top of each page */
.pm-hero {
  min-height: min(100vh, 72rem);
  min-height: min(100svh, 72rem);
}
.pm-hero .pm-hero__inner {
  padding-top: 15rem;
}
@media screen and (min-width: 750px) {
  .pm-hero .pm-hero__inner {
    padding-top: 17rem;
  }
}
.page-hero {
  padding-top: 20rem;
}
@media (prefers-reduced-motion: reduce) {
  .site-top,
  .site-top .announcement,
  .site-top .site-header,
  .site-top .site-header__inner {
    transition: none;
  }
}

/* Stats strip: the at-a-glance numbers, between the adult and youth films */
.stats-strip {
  border-top: 4px solid var(--pm-gold);
  background: var(--pm-ink-deep);
  color: var(--pm-paper);
  padding: 4.8rem 0 5.6rem;
}
.stats-strip .pm-stats {
  margin: 0;
  border-top: 0;
  animation: none;
}
.stats-strip .pm-stat {
  padding-top: 0;
}
@media screen and (max-width: 749px) {
  .stats-strip .pm-stats {
    row-gap: 2.8rem;
  }
}

/* Hero "Sound on": the hero film starts muted; this unmutes it */
.hero-sound {
  position: absolute;
  right: 5rem;
  bottom: 3.2rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.6rem 0.9rem 1rem;
  border: 1px solid rgba(253, 251, 247, 0.35);
  border-radius: 999px;
  background: rgba(10, 8, 14, 0.45);
  color: var(--pm-paper);
  font-family: var(--font-heading-family);
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
@supports (backdrop-filter: blur(6px)) {
  .hero-sound { backdrop-filter: blur(6px); }
}
.hero-sound:hover,
.hero-sound:focus-visible {
  border-color: var(--pm-gold);
  color: var(--pm-gold);
}
.hero-sound:focus-visible {
  outline: 2px solid var(--pm-gold);
  outline-offset: 3px;
}
.hero-sound__icon {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--pm-gold);
  color: var(--pm-ink-deep);
}
.hero-sound__icon svg {
  width: 1.8rem;
  height: 1.8rem;
}
.hero-sound .hero-sound__waves { display: none; }
.hero-sound[aria-pressed="true"] .hero-sound__waves { display: inline; }
.hero-sound[aria-pressed="true"] .hero-sound__x { display: none; }
.hero-sound[aria-pressed="false"] .hero-sound__icon {
  animation: kids-pulse 2.4s ease-out infinite;
}
@media screen and (max-width: 749px) {
  .pm-hero .pm-hero__inner {
    padding-bottom: 9rem;
  }
  .hero-sound {
    right: auto;
    left: 1.5rem;
    bottom: 2.4rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-sound[aria-pressed="false"] .hero-sound__icon { animation: none; }
}


/* Hero: one line of credibility under the subtitle */
.pm-hero__cred {
  max-width: 56rem;
  margin: 1.6rem 0 0;
  padding-left: 1.4rem;
  border-left: 2px solid var(--pm-gold);
  font-size: 1.5rem;
  line-height: 1.55;
  color: rgba(253, 251, 247, 0.78);
  animation: pm-fade 0.9s 0.9s var(--pm-ease) both;
}
.pm-hero__cred strong {
  color: var(--pm-gold);
  font-weight: 600;
}
/* Intro button with a "Limited time" flag inside it */
.pm-btn__flag {
  display: inline-block;
  margin-right: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  background: #c8352b;
  color: #fff;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
/* Three-line hero title: a bit smaller so the buttons stay on screen */
.pm-hero .pm-hero__title {
  font-size: clamp(4.6rem, 8.2vw, 10.4rem);
}

/* Google 5-star badge, sized like the Yelp one */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.8rem;
  border: 1px solid var(--pm-line);
  border-radius: 6px;
  background: #fff;
  color: #202124;
}
.google-badge__g {
  width: 3.6rem;
  height: 3.6rem;
}
.google-badge__txt {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 0.8rem;
  line-height: 1.1;
}
.google-badge__txt strong {
  font-size: 2.4rem;
  font-weight: 700;
}
.google-badge__stars {
  color: #fbbc05;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
}
.google-badge__label {
  grid-column: 1 / -1;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: #5f6368;
}

/* Home "How it works": three steps */
@media screen and (min-width: 990px) {
  .how .how__steps { grid-template-columns: repeat(3, 1fr); }
}
.how__cta {
  margin-top: 3.2rem;
}

/* Squad: open spots are buttons that open the invite sheet */
.squad__seat {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  width: 100%;
  margin: -1.8rem;
  padding: 1.8rem;
  width: calc(100% + 3.6rem);
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.squad__seat:disabled { cursor: default; }
.squad__slot.is-open:hover,
.squad__slot.is-open:focus-within {
  border-color: var(--pm-gold);
  color: var(--pm-paper);
}
.squad__seat:not(:disabled) .squad__avatar {
  animation: kids-pulse 2.4s ease-out infinite;
}
.squad__seat:focus-visible {
  outline: 2px solid var(--pm-gold);
  outline-offset: 2px;
}
.squad__count {
  margin: 0.4rem 0 1.2rem;
  font-family: var(--font-heading-family);
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pm-gold);
}
.squad__invite h3 {
  margin: 0;
  font-size: 3rem;
  text-transform: uppercase;
}
.squad__invite-msg {
  margin: 1.6rem 0;
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--pm-gold);
  background: rgba(253, 251, 247, 0.06);
  font-size: 1.4rem;
  line-height: 1.5;
  word-break: break-word;
}
.squad__invite-btns {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.squad__invite-btns .pm-btn {
  justify-content: center;
}
@media (prefers-reduced-motion: reduce) {
  .squad__seat:not(:disabled) .squad__avatar { animation: none; }
}
a.google-badge {
  text-decoration: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
a.google-badge:hover,
a.google-badge:focus-visible {
  border-color: var(--pm-gold);
  box-shadow: 0 10px 24px -14px rgba(22, 19, 29, 0.5);
}
a.google-badge:focus-visible {
  outline: 2px solid var(--pm-gold);
  outline-offset: 3px;
}

/* Coach gallery: photo grid under "Meet Coach Mario", with a full-screen viewer */
.cg {
  margin-top: 7.2rem;
}
.cg__head {
  margin-bottom: 2.8rem;
}
.cg__title {
  margin: 0.8rem 0 0;
  font-size: clamp(2.8rem, 3.6vw, 4.4rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.cg__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 16rem;
  grid-auto-flow: dense;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media screen and (min-width: 750px) {
  .cg__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 20rem; gap: 1.2rem; }
}
.cg__item:nth-child(6n + 1) { grid-row: span 2; }
.cg__item:nth-child(6n + 4) { grid-column: span 2; }
.cg__btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--pm-ink-deep);
  cursor: zoom-in;
}
.cg__btn img,
.cg__btn video,
.cg__btn .ph {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--pm-ease), filter 0.6s var(--pm-ease);
}
.cg__btn:hover img,
.cg__btn:focus-visible img,
.cg__btn:hover video,
.cg__btn:focus-visible video {
  transform: scale(1.05);
  filter: brightness(1.08);
}
.cg__btn:focus-visible {
  outline: 3px solid var(--pm-gold);
  outline-offset: 2px;
}
.cg__dialog {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 8, 14, 0.96);
  color: var(--pm-paper);
}
.cg__dialog[open] {
  display: grid;
  place-items: center;
}
.cg__dialog::backdrop { background: rgba(10, 8, 14, 0.9); }
.cg__figure {
  margin: 0;
  max-width: min(110rem, 88vw);
  text-align: center;
}
.cg__figure video {
  max-width: 100%;
  max-height: 80vh;
  background: #000;
}
.cg__figure img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}
.cg__figure figcaption {
  margin-top: 1.2rem;
  font-size: 1.4rem;
  color: rgba(253, 251, 247, 0.75);
}
.cg__close,
.cg__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 4.8rem;
  height: 4.8rem;
  border: 1px solid rgba(253, 251, 247, 0.4);
  border-radius: 50%;
  background: rgba(22, 19, 29, 0.7);
  color: var(--pm-paper);
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
}
.cg__close { top: 2rem; right: 2rem; }
.cg__nav { top: 50%; transform: translateY(-50%); }
.cg__nav--prev { left: 2rem; }
.cg__nav--next { right: 2rem; }
.cg__close:hover, .cg__nav:hover,
.cg__close:focus-visible, .cg__nav:focus-visible { border-color: var(--pm-gold); color: var(--pm-gold); }
@media screen and (max-width: 749px) {
  .cg__nav { top: auto; bottom: 2rem; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cg__btn img { transition: none; }
}
.cg__btn { position: relative; }
.cg__play {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  background: var(--pm-gold);
  color: var(--pm-ink-deep);
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.6);
}
.cg__play svg { width: 1.6rem; height: 1.6rem; margin-left: 0.2rem; }
