:root {
  --navy: #112a4b;
  --navy-deep: #07121f;
  --gold: #daa520;
  --ice: #c3dcfd;
  --warm: #e0dfd8;
  --cream: #fbfaf7;
  --white: #ffffff;
  --ink: #0f2746;
  --muted: #657184;
  --line: rgba(17, 42, 75, .16);
  --radius: 24px;
  --shadow: 0 28px 70px rgba(17, 42, 75, .16);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: rgba(218, 165, 32, .18);
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px clamp(18px, 4vw, 72px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(4, 10, 18, .62), rgba(4, 10, 18, 0));
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand img {
  width: clamp(210px, 20vw, 330px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .24));
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-size: .88rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.nav a {
  position: relative;
  opacity: .92;
  transition: color .2s ease, opacity .2s ease;
}
.nav a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover,
.nav a.active { color: var(--gold); opacity: 1; }
.nav a:hover::after,
.nav a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 14px 24px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  font-size: .82rem;
  box-shadow: 0 14px 30px rgba(218, 165, 32, .23);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.secondary { background: transparent; color: var(--navy); box-shadow: none; }
.button.secondary.light { color: var(--white); background: rgba(255,255,255,.08); }
.button-small {
  padding: 12px 20px;
  background: rgba(255,255,255,.04);
  color: var(--white) !important;
  border-color: var(--gold);
  opacity: 1 !important;
  border-radius: 9px;
}
.button-small::after { display: none; }
.text-link { color: var(--navy); border-bottom: 2px solid var(--gold); font-weight: 800; }

h1, h2, h3 {
  margin: 0 0 18px;
  font-family: "Bodoni Moda", "Times New Roman", serif;
  line-height: .98;
  color: var(--navy);
}
h1 { font-size: clamp(3.2rem, 8vw, 7rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.05rem, 4vw, 4.1rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 18px; }
.eyebrow {
  margin-bottom: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-weight: 800;
  font-size: .78rem;
}
.gold-rule {
  width: 108px;
  height: 4px;
  margin: 28px 0 28px;
  background: var(--gold);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.hero-home {
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 180px clamp(22px, 7vw, 130px) 110px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .72) 42%, rgba(0, 0, 0, .18) 76%),
    url('assets/home-hero-desktop.webp') center right / cover no-repeat;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
}
.hero-copy h1,
.page-hero h1 {
  color: var(--white);
  text-shadow: 0 16px 38px rgba(0, 0, 0, .3);
}
.hero-home .hero-copy h1 {
  position: relative;
}
.hero-title-line,
.typing-line {
  display: block;
  white-space: nowrap;
}
.hero-title-accent,
.typing-accent {
  color: var(--ice);
}
.hero-title-mobile {
  display: none;
}
/* Reserve the exact final line layout before typing begins. */
.hero-home .typing-sizer {
  display: block;
  visibility: hidden;
  pointer-events: none;
}
.hero-home .typing-live {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
}
.hero-copy p,
.page-hero p {
  max-width: 620px;
  font-size: clamp(1.04rem, 1.3vw, 1.24rem);
  color: rgba(255,255,255,.88);
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 46px clamp(18px, 5vw, 90px) 42px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 -18px 60px rgba(255, 255, 255, .76);
}
.value-strip article {
  text-align: center;
  padding: 16px clamp(18px, 4vw, 64px);
  border-right: 1px solid var(--line);
}
.value-strip article:last-child { border-right: 0; }
.icon-card {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  color: var(--gold);
  font-size: 3.4rem;
  line-height: 1;
  font-family: Georgia, serif;
}
.value-strip article:nth-child(2) .icon-card { color: var(--navy); }
.value-strip h2 {
  margin-bottom: 12px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.45rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.2;
}
.value-strip p { color: var(--muted); margin: 0 auto; max-width: 330px; }

.content-section,
.split-section,
.payment-grid,
.billing-note,
.cta-section {
  padding-left: clamp(18px, 6vw, 96px);
  padding-right: clamp(18px, 6vw, 96px);
}
.content-section {
  display: grid;
  grid-template-columns: .9fr 1.25fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding-top: clamp(56px, 7vw, 104px);
  padding-bottom: clamp(40px, 5vw, 86px);
}
.content-section > div > p:not(.eyebrow),
.split-section p,
.billing-note p,
.cta-section p { color: var(--muted); font-size: 1.08rem; }
.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.class-grid article,
.payment-card,
.billing-note {
  background: var(--white);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 45px rgba(17, 42, 75, .07);
}
.class-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .2em;
}
.class-grid p,
.payment-card p { color: var(--muted); }

.split-section {
  display: grid;
  grid-template-columns: .95fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding-top: clamp(48px, 6vw, 92px);
  padding-bottom: clamp(48px, 6vw, 92px);
}
.split-section.reverse { grid-template-columns: 1fr .9fr; }
.split-section.reverse img { order: 2; }
.split-section img {
  border-radius: var(--radius);
  height: 560px;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.cta-section {
  position: relative;
  overflow: hidden;
  margin: 0 clamp(18px, 6vw, 96px) clamp(56px, 7vw, 100px);
  padding-top: clamp(52px, 7vw, 84px);
  padding-bottom: clamp(52px, 7vw, 84px);
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(135deg, var(--navy), #173a66);
  color: var(--white);
  text-align: center;
}
.cta-section img {
  position: absolute;
  right: clamp(20px, 6vw, 100px);
  top: 34px;
  width: 180px;
  opacity: .22;
}
.cta-section h2 { color: var(--white); max-width: 820px; margin-left: auto; margin-right: auto; }
.cta-section p:not(.eyebrow) { color: rgba(255,255,255,.78); max-width: 560px; margin-left: auto; margin-right: auto; }

.page-hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 170px clamp(22px, 7vw, 130px) 92px;
}
.page-hero-copy { position: relative; z-index: 2; max-width: 920px; }
.about-hero {
  background:
    linear-gradient(90deg, rgba(3, 8, 14, .94) 0%, rgba(6, 15, 28, .78) 50%, rgba(6, 15, 28, .35) 100%),
    url('assets/about-hero-desktop.webp') center / cover no-repeat;
}
.payments-hero {
  background:
    linear-gradient(90deg, rgba(3, 8, 14, .94) 0%, rgba(6, 15, 28, .78) 50%, rgba(6, 15, 28, .35) 100%),
    url('assets/payments-hero-desktop.webp') center / cover no-repeat;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-top: clamp(50px, 7vw, 96px);
  padding-bottom: clamp(34px, 5vw, 64px);
}
.payment-card.featured {
  border: 2px solid var(--gold);
  transform: translateY(-10px);
}
.payment-card .button { margin-top: 16px; }
.billing-note {
  margin: 0 clamp(18px, 6vw, 96px) clamp(60px, 7vw, 100px);
  background: var(--warm);
}

.site-footer {
  padding: clamp(48px, 6vw, 72px) clamp(18px, 6vw, 96px) 26px;
  background: var(--navy);
  color: var(--white);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(150px, .6fr) minmax(260px, 1fr);
  gap: clamp(34px, 6vw, 84px);
  max-width: 1240px;
  margin: 0 auto;
  padding-bottom: 38px;
}
.footer-brand img {
  width: min(320px, 100%);
  height: auto;
}
.footer-brand p {
  max-width: 420px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.72);
}
.footer-heading {
  margin: 3px 0 15px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.footer-nav a,
.footer-contact a {
  color: rgba(255,255,255,.84);
  transition: color .2s ease;
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--gold); }
.footer-contact address { margin: 0; font-style: normal; line-height: 1.55; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.footer-bottom p { margin: 0; color: rgba(255,255,255,.58); font-size: .8rem; }
.footer-bottom p:last-child { text-align: right; }
.footer-credit { text-align: center; }

@media (max-width: 1080px) {
  .site-header { align-items: flex-start; }
  .nav-toggle {
    display: block;
    margin-top: 8px;
    background: rgba(255,255,255,.06);
    color: var(--white);
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 999px;
    padding: 10px 15px;
    text-transform: uppercase;
    letter-spacing: .12em;
  }
  .nav {
    display: none;
    position: absolute;
    top: 98px;
    left: 18px;
    right: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255,255,255,.98);
    color: var(--navy);
    padding: 18px;
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav a:not(.button)::after { display: none; }
  .button-small { color: var(--navy) !important; background: var(--gold); text-align: center; margin-top: 8px; }
}

@media (max-width: 860px) {
  .brand img { width: 215px; }
  .site-header { padding-top: 18px; }
  .hero-home {
    min-height: 700px;
    padding-top: 150px;
    background-color: #000;
    background-image:
      linear-gradient(90deg, rgba(0, 0, 0, .98) 0%, rgba(0, 0, 0, .92) 34%, rgba(0, 0, 0, .45) 49%, rgba(0, 0, 0, 0) 60%),
      url('assets/home-hero-mobile-v5.webp');
    background-size: cover, 100% auto;
    background-position: center, right 0 top 135px;
    background-repeat: no-repeat, no-repeat;
  }
  .about-hero {
    background-image:
      linear-gradient(90deg, rgba(3, 8, 14, .94) 0%, rgba(6, 15, 28, .78) 50%, rgba(6, 15, 28, .35) 100%),
      url('assets/about-hero-mobile.webp');
    background-position: center;
  }
  .payments-hero {
    background-image:
      linear-gradient(90deg, rgba(3, 8, 14, .94) 0%, rgba(6, 15, 28, .78) 50%, rgba(6, 15, 28, .35) 100%),
      url('assets/payments-hero-mobile.webp');
    background-position: center;
  }
  h1 { font-size: clamp(3rem, 14vw, 5.2rem); }
  .value-strip,
  .content-section,
  .split-section,
  .split-section.reverse,
  .payment-grid,
  .class-grid { grid-template-columns: 1fr; }
  .value-strip article { border-right: 0; border-bottom: 1px solid var(--line); }
  .value-strip article:last-child { border-bottom: 0; }
  .split-section.reverse img { order: 0; }
  .split-section img { height: auto; object-fit: contain; }
  .payment-card.featured { transform: none; }
  .cta-section { margin-left: 18px; margin-right: 18px; }
  .cta-section img { width: 120px; opacity: .16; }
}

@media (max-width: 520px) {
  .brand img { width: 185px; }
  .hero-title-desktop { display: none; }
  .hero-title-mobile { display: block; }
  .hero-home .hero-copy { width: 52%; max-width: 205px; }
  .hero-home .hero-copy h1 { font-size: 2.15rem; line-height: .96; }
  .hero-home .hero-copy p { font-size: .8rem; line-height: 1.46; }
  .hero-home .actions { gap: 10px; margin-top: 20px; }
  .hero-home .actions .button { width: 100%; font-size: .64rem; padding: 10px 8px; }
  .nav { top: 86px; }
  .hero-home, .page-hero { padding-left: 18px; padding-right: 18px; }
  .hero-home { min-height: 640px; }
  .actions .button { width: 100%; }
  .class-grid article,
  .payment-card,
  .billing-note { padding: 26px; }
}

/* ── Scroll Reveal Animations ── */
.reveal-fade,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.95); }
.reveal-fade { transform: none; }

.reveal-fade.visible,
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger children for card grids */
.reveal-stagger > * {
  transition-delay: calc(var(--stagger-index, 0) * 0.12s);
}

/* Typing cursor blink */
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.typing-cursor {
  display: inline-block;
  border-right: 2px solid var(--gold);
  margin-left: 2px;
  animation: cursor-blink 0.8s ease-in-out infinite;
}

/* Page load hero animations */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-copy {
  animation: fade-in-up 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}
.hero-copy h1 {
  animation: fade-in-up 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
}
.hero-copy p {
  animation: fade-in-up 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s both;
}
.hero-copy .actions {
  animation: fade-in-up 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s both;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.page-hero-copy {
  animation: fade-in-up 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s both;
}

/* Value strip icon bounce */
@keyframes icon-bounce {
  0% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
  50% { transform: translateY(0); }
  70% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}
.reveal-up.visible .icon-card {
  animation: icon-bounce 0.8s ease-out;
}

/* Accessibility: respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal-fade, .reveal-up, .reveal-left, .reveal-right, .reveal-scale {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .typing-cursor {
    animation: none;
  }
  .hero-copy,
  .hero-copy h1,
  .hero-copy p,
  .hero-copy .actions,
  .page-hero-copy {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ── Payments page ── */
.payments-shell {
  padding: clamp(58px, 7vw, 104px) clamp(18px, 6vw, 96px) clamp(70px, 8vw, 120px);
}
.payment-intro {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 6vw, 90px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 34px;
}
.payment-intro h2 { margin-bottom: 0; }
.payment-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.payment-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto clamp(44px, 6vw, 76px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.payment-jump-links a {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.payment-jump-links a:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: #fffdf6;
}
.payment-section {
  max-width: 1180px;
  margin: 0 auto clamp(68px, 8vw, 112px);
  scroll-margin-top: 28px;
}
.payment-section-heading {
  display: grid;
  grid-template-columns: minmax(250px, .8fr) 1fr;
  column-gap: clamp(28px, 6vw, 80px);
  align-items: end;
  margin-bottom: 28px;
}
.payment-section-heading .eyebrow { grid-column: 1 / -1; }
.payment-section-heading h2 { margin: 0; }
.payment-section-heading > p:last-child {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 1.03rem;
}
.payment-subgroup + .payment-subgroup { margin-top: 38px; }
.payment-subgroup > h3 {
  margin-bottom: 14px;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--navy);
  font-size: .82rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.payment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.payment-list-single { grid-template-columns: 1fr; }
.payment-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 118px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(17, 42, 75, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.payment-option:hover {
  transform: translateY(-2px);
  border-color: rgba(218, 165, 32, .55);
  box-shadow: 0 18px 42px rgba(17, 42, 75, .1);
}
.payment-option.featured {
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, #fffdf8, #ffffff);
}
.payment-option-copy { min-width: 0; }
.payment-option-copy h3 {
  margin: 5px 0 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.08rem;
  line-height: 1.25;
}
.payment-type {
  display: block;
  color: var(--gold);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.payment-option .button {
  flex: 0 0 auto;
  min-width: 148px;
  margin: 0;
  padding: 11px 16px;
  font-size: .72rem;
  box-shadow: none;
}
.payment-option .button.secondary:hover {
  background: var(--gold);
  color: var(--navy);
}
.payment-callout {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 26px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, var(--navy), #173a66);
  color: var(--white);
}
.payment-callout img {
  width: 100px;
  opacity: .9;
}
.payment-callout h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3.4rem); }
.payment-callout p:last-child { margin-bottom: 0; color: rgba(255,255,255,.75); }

@media (max-width: 900px) {
  .payment-list { grid-template-columns: 1fr; }
  .payment-section-heading { grid-template-columns: 1fr; }
  .payment-section-heading > p:last-child { margin-top: 8px; }
}

@media (max-width: 680px) {
  .payment-intro { grid-template-columns: 1fr; }
  .payment-jump-links { gap: 8px; }
  .payment-jump-links a { flex: 1 1 calc(50% - 8px); text-align: center; }
  .payment-option { align-items: stretch; flex-direction: column; min-height: 0; }
  .payment-option .button { width: 100%; }
  .payment-callout { grid-template-columns: 1fr; }
  .payment-callout img { width: 74px; }
}

/* ── Classes, Schedule & Contact pages ── */
.inline-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 20px; }
.centered-actions { justify-content: center; }

.home-info-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 10px clamp(18px, 6vw, 96px) clamp(64px, 8vw, 110px);
}
.home-info-band article {
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 45px rgba(17, 42, 75, .07);
}
.home-info-band h2 { font-size: clamp(2rem, 3.7vw, 3.8rem); }
.home-info-band p:not(.eyebrow) { color: var(--muted); }
.home-info-band .button { margin-top: 12px; }

.classes-hero {
  background:
    linear-gradient(90deg, rgba(3, 8, 14, .94) 0%, rgba(6, 15, 28, .76) 52%, rgba(6, 15, 28, .3) 100%),
    url('assets/home-legacy-difference.webp') center 16% / cover no-repeat;
}
.schedule-hero {
  background:
    linear-gradient(90deg, rgba(3, 8, 14, .95) 0%, rgba(6, 15, 28, .8) 52%, rgba(6, 15, 28, .38) 100%),
    url('assets/about-mission.webp') center 12% / cover no-repeat;
}
.contact-hero {
  background:
    linear-gradient(90deg, rgba(3, 8, 14, .94) 0%, rgba(6, 15, 28, .76) 52%, rgba(6, 15, 28, .32) 100%),
    url('assets/about-hero-desktop.webp') center / cover no-repeat;
}

.program-intro,
.schedule-intro {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  padding: clamp(60px, 8vw, 112px) clamp(18px, 6vw, 96px) clamp(44px, 5vw, 76px);
}
.program-intro h2,
.schedule-intro h2 { margin-bottom: 0; }
.program-intro > div:last-child > p,
.schedule-intro > p { margin-top: 0; color: var(--muted); font-size: 1.08rem; }

.program-section {
  padding: clamp(40px, 5vw, 70px) clamp(18px, 6vw, 96px) clamp(70px, 8vw, 110px);
}
.program-section-alt { background: #f1f0eb; }
.section-heading { max-width: 820px; margin-bottom: 32px; }
.section-heading > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.program-grid.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.program-card {
  min-height: 260px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 45px rgba(17, 42, 75, .07);
}
.program-card h3 { font-size: clamp(1.45rem, 2vw, 2rem); margin-bottom: 12px; }
.program-card p { margin-bottom: 0; color: var(--muted); }
.program-number {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .18em;
}
.class-next-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  overflow: hidden;
  margin: 0 clamp(18px, 6vw, 96px) clamp(70px, 8vw, 110px);
  padding: clamp(38px, 6vw, 68px);
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(135deg, var(--navy), #173a66);
  color: var(--white);
}
.class-next-step > img {
  position: absolute;
  right: 8%;
  top: -55px;
  width: 220px;
  opacity: .1;
}
.class-next-step > *:not(img) { position: relative; z-index: 1; }
.class-next-step h2 { color: var(--white); }
.class-next-step p:not(.eyebrow) { color: rgba(255,255,255,.76); max-width: 700px; }

.schedule-shell { padding-bottom: clamp(60px, 7vw, 100px); }
.day-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(18px, 6vw, 96px);
}
.day-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 45px rgba(17, 42, 75, .07);
}
.day-heading {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 25px 30px;
  background: var(--navy);
  color: var(--white);
}
.day-heading span { color: var(--gold); font-size: .76rem; font-weight: 900; letter-spacing: .18em; }
.day-heading h3 { margin: 0; color: var(--white); font-size: 1.5rem; }
.studio-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.studio-columns.single-studio { grid-template-columns: 1fr; }
.studio-block { padding: 24px 30px 18px; }
.studio-columns:not(.single-studio) .studio-block + .studio-block { border-left: 1px solid var(--line); }
.studio-block h4 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.time-list { list-style: none; margin: 0; padding: 0; }
.time-list li {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.time-list li:last-child { border-bottom: 0; }
.time-list time { color: #9a7200; font-weight: 900; font-size: .86rem; }
.time-list span { color: var(--ink); font-weight: 700; line-height: 1.4; }

.dates-section {
  padding: clamp(68px, 8vw, 110px) clamp(18px, 6vw, 96px);
  background: #f1f0eb;
}
.dates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.date-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.date-card.featured { border: 2px solid var(--gold); }
.date-card p { color: var(--muted); }
.date-status {
  display: inline-block;
  margin-bottom: 22px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(218, 165, 32, .14);
  color: #8a6700;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.schedule-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: clamp(60px, 8vw, 105px) clamp(18px, 6vw, 96px);
  padding: clamp(32px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.schedule-note h2 { margin-bottom: 8px; }
.schedule-note p:not(.eyebrow) { margin: 0; color: var(--muted); }
.schedule-note .button { flex: 0 0 auto; }

.contact-shell {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(64px, 8vw, 112px) clamp(18px, 6vw, 96px);
}
.contact-details > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.contact-detail-list { margin-top: 34px; border-top: 1px solid var(--line); }
.contact-detail-list article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-detail-list article > span {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.contact-detail-list article a { font-weight: 800; overflow-wrap: anywhere; }
.contact-detail-list article p { margin: 0; color: var(--ink); font-weight: 700; }
.contact-form-card {
  padding: clamp(30px, 5vw, 50px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--white);
  box-shadow: var(--shadow);
}
.contact-form-card h2 { margin-bottom: 28px; }
.contact-form { display: grid; gap: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row { display: grid; gap: 8px; }
.form-row label {
  color: var(--navy);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.form-row label span { color: var(--gold); }
.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(17, 42, 75, .22);
  border-radius: 12px;
  padding: 14px 15px;
  background: #fdfcf9;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-row textarea { resize: vertical; min-height: 170px; }
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(218, 165, 32, .12);
}
.contact-form .button { justify-self: start; min-width: 180px; border: 0; cursor: pointer; }
.form-status { margin: -6px 0 0; color: var(--muted); font-size: .86rem; }
.form-status.confirmed { color: var(--navy); font-weight: 700; }
.form-status.error { color: #9b2c2c; font-weight: 700; }
.contact-form .button:disabled { opacity: .68; cursor: wait; }
.contact-help-band {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 40px;
  align-items: center;
  margin: 0 clamp(18px, 6vw, 96px) clamp(70px, 8vw, 110px);
  padding: clamp(34px, 5vw, 52px);
  border-radius: var(--radius);
  background: #f1f0eb;
}
.contact-quick-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.contact-quick-links a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px;
  border-radius: 14px;
  background: var(--white);
  font-weight: 900;
}
.contact-quick-links a span {
  color: var(--gold);
  font-size: .67rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .program-grid.three-up,
  .dates-grid { grid-template-columns: 1fr; }
  .contact-shell { grid-template-columns: 1fr; }
  .contact-help-band { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .home-info-band,
  .program-intro,
  .schedule-intro,
  .program-grid,
  .day-grid { grid-template-columns: 1fr; }
  .classes-hero,
  .schedule-hero { background-position: center; }
  .contact-hero {
    background-image:
      linear-gradient(90deg, rgba(3, 8, 14, .94) 0%, rgba(6, 15, 28, .76) 52%, rgba(6, 15, 28, .32) 100%),
      url('assets/about-hero-mobile.webp');
    background-position: center;
  }
  .class-next-step { grid-template-columns: 1fr; }
  .schedule-note { align-items: stretch; flex-direction: column; }
  .schedule-note .button { width: 100%; }
}

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .contact-detail-list article { grid-template-columns: 1fr; gap: 6px; }
  .contact-quick-links { grid-template-columns: 1fr; }
  .time-list { padding-left: 22px; padding-right: 22px; }
  .time-list li { grid-template-columns: 1fr; gap: 5px; }
  .day-heading { padding-left: 22px; padding-right: 22px; }
  .class-next-step .actions .button { width: 100%; }
}


/* ── About story / production footer refinements ── */
.owner-story-section {
  padding: 0 clamp(18px, 6vw, 96px) clamp(68px, 8vw, 112px);
}
.owner-story-card {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(38px, 6vw, 68px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, #f1f0eb, #fffdf8);
}
.owner-story-card h2 { max-width: 840px; }
.owner-story-copy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 48px);
  margin-top: 30px;
}
.owner-story-copy p { margin: 0; color: var(--muted); }
.about-values-section { border-top: 1px solid var(--line); }

@media (max-width: 860px) {
  .studio-columns,
  .studio-columns.single-studio { grid-template-columns: 1fr; }
  .studio-columns:not(.single-studio) .studio-block + .studio-block {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .owner-story-copy { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .studio-block { padding: 20px 22px 14px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .footer-bottom p:last-child,
  .footer-credit { text-align: left; }
}
