@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --cream: #faf9f6;
  --cream-deep: #f0ede8;
  --forest: #0e3326;
  --green: #1a4d3a;
  --gold: #c9a227;
  --gold-ink: #806306;
  --gold-light: #dbb94e;
  --ink: #333333;
  --line: rgba(14, 51, 38, 0.15);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.content-width {
  width: min(1180px, 90vw);
  margin-inline: auto;
}

.announcement {
  min-height: 42px;
  padding: 9px 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  background: var(--forest);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.new-pill {
  padding: 5px 8px;
  border-radius: 3px;
  background: var(--gold);
  color: var(--forest);
  font-size: 14px;
  font-weight: 700;
}

.announcement-link {
  color: var(--gold-light);
  border-bottom: 1px solid rgba(219, 185, 78, 0.55);
}

.site-header {
  height: 76px;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
  border-bottom: 1px solid rgba(14, 51, 38, 0.09);
  background: rgba(250, 249, 246, 0.97);
}

.wordmark {
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-header nav a { padding: 8px 0; }
.site-header nav a:hover, .nav-feature { color: var(--green); }
.nav-feature { border-bottom: 2px solid var(--gold); }

.button {
  min-height: 50px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: transform 160ms ease, filter 160ms ease;
}

.button:hover { transform: translateY(-2px); filter: brightness(1.05); }
.button-gold { background: var(--gold); color: #111; }
.header-button { justify-self: end; }

.programs-context {
  padding: 96px 0 108px;
  background: #fff;
}

.eyebrow {
  margin: 0;
  color: var(--gold-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-heading {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 70px;
}

.section-heading h1,
.classes-heading h2,
.reviews-preview h2 {
  margin: 0;
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(50px, 5vw, 72px);
  font-weight: 600;
  line-height: 0.98;
}

.section-heading > p,
.classes-heading > p:last-child,
.reviews-preview .content-width > p:last-child {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
}

.program-grid {
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.program-grid article {
  min-height: 205px;
  padding: 28px 27px 32px;
  border-right: 1px solid var(--line);
}

.program-grid article:last-child { border-right: 0; }
.program-grid article > span {
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
}

.program-grid h2 {
  margin: 28px 0 11px;
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.05;
}

.program-grid p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

.classes {
  position: relative;
  overflow: hidden;
  padding: 116px 0 108px;
  background: var(--forest);
  color: var(--cream);
}

.watermark {
  position: absolute;
  top: 44px;
  right: -140px;
  width: 700px;
  opacity: 0.035;
  filter: grayscale(1) brightness(5);
  pointer-events: none;
}

.classes .content-width { position: relative; }

.classes-heading {
  width: min(850px, 100%);
  margin-inline: auto;
  text-align: center;
}

.eyebrow-light { color: var(--gold-light); }

.classes-heading h2 {
  margin-top: 18px;
  color: #fff;
  font-size: clamp(52px, 6vw, 78px);
}

.classes-heading h2 em {
  display: block;
  color: var(--gold-light);
  font-weight: 500;
}

.classes-heading > p:last-child {
  max-width: 690px;
  margin: 24px auto 0;
  color: rgba(250, 249, 246, 0.75);
}

.class-grid {
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.class-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(201, 162, 39, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.featured-card { border-color: rgba(219, 185, 78, 0.72); }

.class-image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #153e30;
}

.class-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(180deg, transparent, rgba(14, 51, 38, 0.58));
  pointer-events: none;
}

.class-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.class-card:nth-child(2) .class-image img { object-position: center 25%; }

.image-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  padding: 8px 10px;
  border-radius: 3px;
  background: var(--gold);
  color: var(--forest);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.secondary-badge {
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(14, 51, 38, 0.86);
  color: #fff;
}

.class-content {
  flex: 1;
  padding: 40px 40px 38px;
  display: flex;
  flex-direction: column;
}

.class-type {
  margin: 0;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.class-content h3 {
  margin: 11px 0 7px;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(45px, 4vw, 61px);
  font-weight: 600;
  line-height: 0.95;
}

.class-content h3 em {
  color: var(--gold-light);
  font-weight: 500;
}

.time-line {
  margin: 10px 0 0;
  color: var(--gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
}

.description {
  min-height: 74px;
  margin: 18px 0 0;
  color: rgba(250, 249, 246, 0.77);
  font-size: 15px;
  line-height: 1.65;
}

.class-content ul {
  margin: 25px 0 0;
  padding: 23px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
}

.class-content li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255, 255, 255, 0.93);
  font-size: 12px;
  line-height: 1.45;
}

.check {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 20px;
  border: 1px solid rgba(219, 185, 78, 0.58);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 10px;
}

.instructor {
  min-height: 70px;
  margin: 24px 0 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.monogram {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  flex: 0 0 45px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--forest);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  font-weight: 700;
}

.instructor p { margin: 0; }
.instructor strong, .instructor span { display: block; }
.instructor strong {
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
}

.instructor p span {
  margin-top: 4px;
  color: rgba(250, 249, 246, 0.64);
  font-size: 10px;
  line-height: 1.4;
}

.instructor-placeholder { opacity: 0.72; }
.card-button { width: 100%; margin-top: auto; }
.button-outline { border-color: rgba(255, 255, 255, 0.4); color: #fff; }

.pricing-note {
  margin: 30px 0 0;
  color: rgba(250, 249, 246, 0.58);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-align: center;
}

.reviews-preview {
  padding: 102px 0 112px;
  background: var(--cream-deep);
}

.reviews-preview h2 {
  margin-top: 18px;
  max-width: 760px;
}

.reviews-preview .content-width > p:last-child {
  max-width: 570px;
  margin-top: 21px;
}

footer {
  padding: 30px 5vw;
  display: flex;
  justify-content: space-between;
  background: #fff;
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Group Classes subpage */
.classes-page { background: #fff; }

.group-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 104px;
  background: var(--forest);
  color: #fff;
}

.group-watermark {
  position: absolute;
  left: -190px;
  bottom: -230px;
  width: 760px;
  opacity: 0.035;
  filter: grayscale(1) brightness(5);
  pointer-events: none;
}

.group-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: clamp(54px, 7vw, 100px);
}

.group-hero-copy h1 {
  max-width: 650px;
  margin: 22px 0 0;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(57px, 6vw, 82px);
  font-weight: 600;
  line-height: 0.94;
}

.group-hero-copy h1 em {
  display: block;
  color: var(--gold-light);
  font-weight: 500;
}

.hero-lead {
  max-width: 590px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.text-link {
  padding: 8px 0;
  border-bottom: 1px solid rgba(219, 185, 78, 0.48);
  color: var(--gold-light);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.group-hero-visual {
  position: relative;
  min-height: 570px;
}

.group-hero-visual > img {
  width: 100%;
  height: 570px;
  border: 1px solid rgba(219, 185, 78, 0.52);
  border-radius: 4px;
  object-fit: cover;
}

.lineup-card {
  position: absolute;
  left: -48px;
  bottom: -32px;
  width: min(360px, 88%);
  padding: 26px 27px 24px;
  border-left: 4px solid var(--gold);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.3);
}

.lineup-card > p {
  margin: 0 0 17px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lineup-card > div {
  padding: 10px 0;
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: baseline;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.lineup-card > div span {
  color: var(--gold-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  font-weight: 600;
}

.lineup-card > div strong {
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
}

.lineup-card small {
  display: block;
  margin-top: 7px;
  color: #686868;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.class-jump {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.class-jump-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
}

.class-jump-inner span {
  color: #5f675f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.class-jump-inner a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
}

.class-jump-inner a:hover { border-color: var(--gold); }

.class-detail {
  padding: 116px 0;
  scroll-margin-top: 20px;
}

.class-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(56px, 7vw, 104px);
}

.detail-image-wrap {
  position: relative;
  min-width: 0;
}

.detail-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.cardio-detail .detail-image-wrap img { object-position: 43% center; }
.jiu-jitsu-detail .detail-image-wrap img { object-position: 51% center; }

.detail-image-label {
  position: absolute;
  right: -20px;
  bottom: 24px;
  padding: 16px 22px;
  border-left: 3px solid var(--gold);
  background: var(--forest);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.detail-copy h2 {
  margin: 16px 0 0;
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(54px, 5.4vw, 76px);
  font-weight: 600;
  line-height: 0.95;
}

.detail-copy h2 em {
  display: block;
  color: var(--gold-ink);
  font-weight: 500;
}

.detail-subhead {
  margin: 22px 0 0;
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.15;
}

.detail-copy > p:not(.eyebrow):not(.detail-subhead) {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.75;
}

.class-facts {
  margin-top: 28px;
  padding: 22px 0;
  display: grid;
  gap: 13px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.class-facts div {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: baseline;
  gap: 14px;
}

.class-facts span {
  color: #5f675f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.class-facts strong {
  color: var(--green);
  font-size: 18px;
  font-weight: 600;
}

.benefit-list {
  margin: 25px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 20px;
  list-style: none;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 18px;
  line-height: 1.55;
}

.benefit-mark {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 20px;
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: 50%;
  color: var(--gold);
  font-size: 13px;
  line-height: 1;
}

.coach-note {
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.coach-note p { margin: 0; }
.coach-note strong,
.coach-note p span { display: block; }
.coach-note strong {
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  font-weight: 600;
}

.coach-note p span {
  margin-top: 5px;
  color: #5f675f;
  font-size: 17px;
  line-height: 1.5;
}

.detail-button {
  margin-top: 29px;
  min-width: 250px;
}

.jiu-jitsu-detail {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.78);
}

.reverse-grid .detail-image-wrap { order: 2; }
.reverse-grid .detail-copy { order: 1; }

.jiu-jitsu-detail .detail-image-wrap img {
  border: 1px solid rgba(219, 185, 78, 0.45);
}

.jiu-jitsu-detail .detail-image-label {
  right: auto;
  left: -20px;
  background: var(--cream);
  color: var(--green);
}

.jiu-jitsu-detail .detail-copy h2,
.jiu-jitsu-detail .detail-subhead,
.jiu-jitsu-detail .class-facts strong { color: #fff; }

.jiu-jitsu-detail .detail-copy h2 em { color: var(--gold-light); }

.jiu-jitsu-detail .class-facts {
  border-color: rgba(255, 255, 255, 0.14);
}

.jiu-jitsu-detail .class-facts span { color: rgba(255, 255, 255, 0.5); }
.jiu-jitsu-detail .benefit-mark { color: var(--gold-light); }

.class-compare {
  padding: 116px 0 120px;
  background: var(--cream-deep);
}

.compare-heading {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.compare-heading h2,
.faq-intro h2,
.classes-final-cta h2 {
  margin: 17px 0 0;
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(50px, 5.2vw, 72px);
  font-weight: 600;
  line-height: 0.98;
}

.compare-heading > p:last-child {
  max-width: 620px;
  margin: 22px auto 0;
  font-size: 18px;
  line-height: 1.75;
}

.compare-grid {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compare-grid article {
  position: relative;
  padding: 38px 48px 42px;
}

.compare-grid article:first-child { border-right: 1px solid var(--line); }

.compare-number {
  color: var(--gold-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
}

.compare-kicker {
  margin: 22px 0 0;
  color: #777;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.compare-grid h3 {
  margin: 8px 0 0;
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 35px;
  font-weight: 600;
}

.compare-grid ul {
  margin: 24px 0 29px;
  padding: 0;
  list-style: none;
}

.compare-grid li {
  position: relative;
  padding: 10px 0 10px 20px;
  border-bottom: 1px solid rgba(14, 51, 38, 0.09);
  font-size: 18px;
  line-height: 1.55;
}

.compare-grid li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.compare-grid article > a {
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare-grid article > a span { color: var(--gold-ink); }

.classes-faq {
  padding: 116px 0;
  background: #fff;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(60px, 8vw, 118px);
}

.faq-intro {
  position: sticky;
  top: 40px;
}

.faq-intro h2 { font-size: clamp(48px, 4.8vw, 66px); }

.faq-intro > p:last-child {
  max-width: 450px;
  margin: 23px 0 0;
  color: #686868;
  font-size: 18px;
  line-height: 1.75;
}

.faq-list { border-top: 1px solid var(--line); }

.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  position: relative;
  padding: 25px 46px 25px 0;
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.15;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 22px;
  right: 4px;
  color: var(--gold);
  font-family: "Inter", Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
}

.faq-list details[open] summary::after { content: "−"; }

.faq-list details p {
  max-width: 650px;
  margin: -4px 0 0;
  padding: 0 46px 25px 0;
  color: #525b55;
  font-size: 18px;
  line-height: 1.75;
}

.classes-final-cta {
  position: relative;
  overflow: hidden;
  padding: 104px 0 110px;
  background: var(--forest);
  color: #fff;
  text-align: center;
}

.classes-final-cta::before,
.classes-final-cta::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 1px;
  top: 50%;
  background: linear-gradient(90deg, transparent, rgba(219, 185, 78, 0.58));
}

.classes-final-cta::before { left: 3vw; }
.classes-final-cta::after { right: 3vw; transform: rotate(180deg); }

.final-cta-inner { position: relative; }

.classes-final-cta h2 {
  max-width: 800px;
  margin-inline: auto;
  color: #fff;
}

.classes-final-cta .final-cta-inner > p:nth-of-type(2) {
  max-width: 610px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.75;
}

.classes-final-cta .final-cta-inner > div {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 13px;
}

.contact-band {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.contact-band-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr 1.15fr 0.9fr;
  gap: 0;
}

.contact-band-grid > div {
  min-width: 0;
  padding: 7px 28px;
  border-right: 1px solid var(--line);
}

.contact-band-grid > div:first-child { padding-left: 0; }
.contact-band-grid > div:last-child { padding-right: 0; border-right: 0; }

.contact-band-grid span,
.contact-band-grid a,
.contact-band-grid small { display: block; }

.contact-band-grid span {
  margin-bottom: 12px;
  color: var(--gold-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.contact-band-grid a,
.contact-band-grid p {
  margin: 0;
  color: var(--green);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-band-grid small {
  margin-top: 7px;
  color: #5f675f;
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .program-grid article:nth-child(2) { border-right: 0; }
  .program-grid article:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .class-content { padding-inline: 28px; }
  .class-content ul { grid-template-columns: 1fr; }
  .description { min-height: 99px; }

  .group-hero-grid { grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr); gap: 48px; }
  .group-hero-visual,
  .group-hero-visual > img { height: 510px; min-height: 510px; }
  .lineup-card { left: -28px; }
  .class-detail-grid { gap: 50px; }
  .benefit-list { grid-template-columns: 1fr; }
  .compare-grid article { padding-inline: 34px; }
  .classes-final-cta::before,
  .classes-final-cta::after { display: none; }
  .contact-band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .contact-band-grid > div:nth-child(2) { border-right: 0; }
  .contact-band-grid > div:nth-child(3) { padding-left: 0; }
}

@media (max-width: 760px) {
  .content-width { width: min(100% - 40px, 600px); }

  .announcement {
    justify-content: flex-start;
    gap: 8px;
    padding-inline: 18px;
    font-size: 15px;
    letter-spacing: 0.04em;
  }
  .announcement-link { display: none; }

  .site-header {
    height: 68px;
    padding-inline: 20px;
  }
  .wordmark { font-size: 18px; }
  .header-button { min-height: 39px; padding-inline: 13px; font-size: 8px; }

  .programs-context { padding: 72px 0 76px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-heading h1, .reviews-preview h2 { font-size: 46px; }

  .program-grid { margin-top: 42px; grid-template-columns: 1fr; }
  .program-grid article {
    min-height: 148px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .program-grid article:last-child { border-bottom: 0; }

  .classes { padding: 78px 0 76px; }
  .classes-heading h2 { font-size: 49px; }
  .classes-heading > p:last-child { font-size: 14px; }
  .class-grid { margin-top: 42px; grid-template-columns: 1fr; gap: 22px; }
  .class-content { padding: 31px 24px 26px; }
  .class-content h3 { font-size: 48px; }
  .description { min-height: 0; }
  .class-content ul { grid-template-columns: 1fr; }
  .instructor { margin-block: 22px; }
  .card-button { min-height: 50px; }

  .reviews-preview { padding: 78px 0 84px; }
  footer { padding-inline: 20px; flex-direction: column; gap: 8px; line-height: 1.5; }

  .group-hero { padding: 68px 0 86px; }
  .group-hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .group-hero-copy h1 { font-size: 53px; }
  .hero-lead { font-size: 18px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .group-hero-visual,
  .group-hero-visual > img { height: 430px; min-height: 430px; }
  .lineup-card { left: 15px; bottom: -36px; width: calc(100% - 30px); }

  .class-jump-inner {
    min-height: 70px;
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
    white-space: nowrap;
  }
  .class-jump-inner span { display: none; }
  .class-jump-inner a { font-size: 17px; }

  .class-detail { padding: 78px 0; }
  .class-detail-grid { grid-template-columns: 1fr; gap: 48px; }
  .reverse-grid .detail-image-wrap,
  .reverse-grid .detail-copy { order: initial; }
  .detail-image-wrap img { aspect-ratio: 5 / 4; }
  .detail-image-label { right: 12px; bottom: 13px; }
  .jiu-jitsu-detail .detail-image-label { left: 12px; }
  .detail-copy h2 { font-size: 54px; }
  .detail-subhead { font-size: 22px; }
  .benefit-list { grid-template-columns: 1fr; }
  .detail-button { width: 100%; min-width: 0; }

  .class-compare,
  .classes-faq { padding: 78px 0 84px; }
  .compare-heading h2,
  .faq-intro h2,
  .classes-final-cta h2 { font-size: 47px; }
  .compare-grid { margin-top: 42px; grid-template-columns: 1fr; }
  .compare-grid article { padding: 31px 10px 34px; }
  .compare-grid article:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-intro { position: static; }
  .faq-list summary { padding-block: 22px; font-size: 21px; }
  .faq-list details p { padding-right: 22px; }

  .classes-final-cta { padding: 78px 0 84px; }
  .classes-final-cta .final-cta-inner > div {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-band { padding: 42px 0; }
  .contact-band-grid { grid-template-columns: 1fr; row-gap: 0; }
  .contact-band-grid > div,
  .contact-band-grid > div:first-child,
  .contact-band-grid > div:nth-child(3),
  .contact-band-grid > div:last-child {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .contact-band-grid > div:last-child { border-bottom: 0; }
}

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

/* Match booking readability to the rest of the site. */
.classes-page .button, .classes-page .compare-grid article > a { font-size: 1.0625rem; letter-spacing: 0.015em; text-transform: none; line-height: 1.4; text-align: center; }
.classes-page .text-link { font-size: 1rem; letter-spacing: 0.015em; text-transform: none; }
.jiu-jitsu-detail .coach-note strong { color: #fff; }
.jiu-jitsu-detail .coach-note p span { color: #e0e8e2; }
.jiu-jitsu-detail .class-facts span { color: #d6dfd9; }
.class-facts div { align-items: start; }
.class-facts span { max-width: 12rem; }
section[id], .lineup-card[id] { scroll-margin-top: 120px; }
@media (max-width: 420px) { .class-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }


/* Ageless Jiu-Jitsu student review */
.class-testimonial { margin: 30px 0; padding: 24px 28px; border-left: 3px solid var(--gold, #d7b956); background: rgba(255,255,255,.06); }
.class-testimonial blockquote { margin: 16px 0; color: white; font-family: Georgia, serif; font-size: 26px; line-height: 1.4; }
.class-testimonial figcaption { display: flex; flex-direction: column; gap: 5px; color: white; font-size: 17px; }
.class-testimonial figcaption a { color: #e1d8bb; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }


.sbs-connect {
  box-sizing: border-box;
  width: 100%;
  padding: 112px clamp(24px, 5vw, 82px);
  border-top: 1px solid #d9d4c9;
  background: #faf8f3;
  color: #2e312f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
.sbs-connect * { box-sizing: border-box; }
.sbs-connect__inner { max-width: 1336px; margin: 0 auto; }
.sbs-connect .sbs-connect__eyebrow { margin: 0 0 22px; color: #8b6b06; font-size: 15px; font-weight: 900; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
.sbs-connect h2 { max-width: 780px; margin: 0 0 44px; color: #123f31; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 4.5vw, 64px); font-weight: 600; line-height: 1.02; letter-spacing: -.025em; }
.sbs-connect__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; }
.sbs-connect__grid > div + div { border-left: 1px solid #d9d4c9; padding-left: 48px; }
.sbs-connect h3 { margin: 0 0 20px; color: #123f31; font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
.sbs-connect p { max-width: 650px; margin: 0 0 26px; color: #626962; font-size: 20px; line-height: 1.65; }
.sbs-connect .sbs-connect__button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border: 2px solid #123f31; border-radius: 999px; color: #123f31; background: transparent; font-size: 17px; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.sbs-connect .sbs-connect__button--newsletter { border-color: #c7a02a; background: #c7a02a; color: #0b2e24; }
.sbs-connect .sbs-connect__button--newsletter:hover { border-color: #dfbd58; background: #dfbd58; }
.sbs-connect .sbs-connect__button--facebook:hover { background: #123f31; color: #fff; }
.sbs-connect .sbs-connect__button:focus-visible { outline: 3px solid #8b6b06; outline-offset: 4px; }
.sbs-connect .sbs-connect__note { margin: 16px 0 0; font-size: 15px; }
@media (max-width: 760px) {
  .sbs-connect { padding: 76px 20px; }
  .sbs-connect h2 { font-size: 40px; }
  .sbs-connect__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sbs-connect__grid > div + div { border-left: 0; border-top: 1px solid #d9d4c9; padding: 36px 0 0; }
  .sbs-connect .sbs-connect__button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .sbs-connect .sbs-connect__button { transition: none; }
}


.sbs-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  min-height: 96px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(20px, 4vw, 58px);
  border-bottom: 1px solid rgba(26, 77, 58, 0.16);
  background: rgba(250, 248, 243, 0.98);
  color: #173f31;
}

.sbs-brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 18px;
  color: inherit;
  text-decoration: none;
}

.sbs-brand img {
  display: block;
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  border-radius: 16px;
  object-fit: cover;
}

.sbs-brand__tagline {
  color: #4a514d;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sbs-nav-menu {
  position: relative;
  justify-self: end;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.sbs-menu-trigger {
  display: inline-flex;
  min-width: 134px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: #173f31;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  transition: background 180ms ease, transform 180ms ease;
}

.sbs-menu-trigger:hover,
.sbs-menu-trigger[aria-expanded="true"] {
  background: #245f49;
  transform: translateY(-1px);
}

.sbs-menu-trigger:focus-visible {
  outline: 3px solid #dbb94e;
  outline-offset: 4px;
}

.sbs-menu-icon {
  display: grid;
  width: 22px;
  gap: 4px;
}

.sbs-menu-icon i {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #dbb94e;
  transition: transform 180ms ease, opacity 180ms ease;
}

.sbs-menu-trigger[aria-expanded="true"] .sbs-menu-icon i:first-child {
  transform: translateY(6px) rotate(45deg);
}

.sbs-menu-trigger[aria-expanded="true"] .sbs-menu-icon i:nth-child(2) {
  opacity: 0;
}

.sbs-menu-trigger[aria-expanded="true"] .sbs-menu-icon i:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.sbs-menu-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 100;
  width: min(430px, calc(100vw - 32px));
  max-height: calc(100dvh - 140px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  border: 1px solid rgba(26, 77, 58, 0.16);
  border-top: 4px solid #c9a227;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(11, 46, 36, 0.24);
  animation: sbs-menu-in 160ms ease-out;
}

.sbs-menu-home {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 0 12px;
  border-radius: 7px;
  background: #f7f3e8;
  color: #173f31;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

.sbs-menu-home[aria-current="page"] {
  box-shadow: inset 4px 0 #c9a227;
}

.sbs-menu-label {
  margin: 0 0 12px;
  color: #806306;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sbs-menu-programs {
  display: block;
  border-top: 1px solid rgba(26, 77, 58, 0.16);
}

.sbs-menu-programs a {
  display: grid;
  min-height: 66px;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0;
  border-bottom: 1px solid rgba(26, 77, 58, 0.16);
  color: #173f31;
  font-size: 16px;
  text-decoration: none;
  transition: background 160ms ease, padding 160ms ease;
}

.sbs-menu-programs a:hover,
.sbs-menu-programs a:focus-visible {
  padding-inline: 10px;
  background: #faf8f3;
}

.sbs-menu-programs a[aria-current="page"] {
  box-shadow: inset 4px 0 #c9a227;
}

.sbs-menu-programs a > span {
  color: #806306;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.sbs-menu-programs strong {
  font-size: 19px;
}

.sbs-menu-programs b {
  color: #806306;
  font-size: 21px;
}

.sbs-menu-trainers {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin-top: 12px;
  color: #173f31;
  font-size: 17px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sbs-menu-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.sbs-menu-actions a,
.sbs-menu-booking {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border: 1px solid #173f31;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.sbs-menu-actions a:first-child {
  background: transparent;
  color: #173f31;
}

.sbs-menu-actions a:last-child {
  background: #173f31;
  color: #fff;
}

.sbs-menu-actions a:hover,
.sbs-menu-booking:hover {
  transform: translateY(-2px);
}

.sbs-menu-booking {
  width: 100%;
  margin-top: 12px;
  border-color: #c9a227;
  background: #c9a227;
  color: #0b2e24;
}

.sbs-menu-booking:hover {
  border-color: #dbb94e;
  background: #dbb94e;
}

@keyframes sbs-menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .sbs-site-header {
    min-height: 82px;
    gap: 14px;
    padding: 10px 20px;
  }

  .sbs-brand img {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .sbs-brand__tagline { display: none; }

  .sbs-menu-trigger {
    min-width: 118px;
    min-height: 50px;
    padding-inline: 17px;
  }

  .sbs-menu-panel {
    top: calc(100% + 11px);
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .sbs-site-header { padding-inline: 14px; }
  .sbs-menu-trigger { min-width: 108px; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .sbs-menu-trigger,
  .sbs-menu-icon i,
  .sbs-menu-programs a,
  .sbs-menu-actions a,
  .sbs-menu-booking {
    transition: none;
  }

  .sbs-menu-panel { animation: none; }
}


.sbs-desktop-nav { display: none; }
@media (min-width: 1100px) {
 .sbs-site-header { gap: 20px; }
 .sbs-brand__tagline { display: none; }
 .sbs-nav-menu { display: none; }
 .sbs-desktop-nav { display: flex; align-items: center; gap: 24px; font: 700 17px/1.4 Inter, Arial, sans-serif; }
 .sbs-desktop-nav a, .sbs-program-dropdown summary { color: #173f31; text-decoration: none; min-height: 48px; display: flex; align-items: center; cursor: pointer; }
 .sbs-desktop-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
 .sbs-desktop-nav a:focus-visible, .sbs-program-dropdown summary:focus-visible { outline: 3px solid #c9a227; outline-offset: 4px; }
 .sbs-program-dropdown { position: relative; }
 .sbs-program-dropdown summary { gap: 8px; list-style: none; }
 .sbs-program-dropdown summary::-webkit-details-marker { display: none; }
 .sbs-program-links { position: absolute; top: 100%; left: 0; width: 260px; padding: 12px; background: #fff; border: 1px solid #c9a227; border-radius: 8px; box-shadow: 0 12px 28px #173f3126; }
 .sbs-program-links a { padding: 8px 12px; }
 .sbs-desktop-nav .sbs-desktop-booking { background: #c9a227; border-radius: 999px; padding: 12px 20px; color: #0b2e24; }
}

[hidden] { display: none !important; }
