:root {
  color-scheme: light;
  --gold: #FFB400;
  --orange: #DE6104;
  --red: #B60C0D;
  --brand-gold: #F8B810;
  --gray: #656565;
  --white: #FFFFFF;
  --light-gray: #E3E3E3;
  --ink: #261511;
  --cream: #fbf6ed;
  --line: #e8dbca;
  --serif: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 1rem/1.55 system-ui, sans-serif; color: var(--ink); background: var(--cream); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; }
h2 { font-size: clamp(2.45rem, 5vw, 4.25rem); margin-bottom: 1.7rem; letter-spacing: -.045em; }
h3 { font-size: 2rem; letter-spacing: -.03em; }
.wrap { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; padding: .75rem; background: var(--white); transform: translateY(-120%); }
.skip:focus { transform: translateY(0); }
.header { background: var(--white); border-bottom: 1px solid var(--light-gray); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 80px; }
.brand { display: flex; flex: 0 0 auto; align-items: center; gap: .55rem; }
.brand img:first-child { width: 49px; }
.brand img:last-child { width: 113px; }
nav { display: flex; align-items: center; gap: clamp(1rem, 4vw, 2.5rem); }
nav a { text-decoration: none; font-weight: 600; font-size: .9rem; }
nav a:hover { color: var(--red); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 48px; padding: .72rem 1.1rem; border: 1px solid transparent; border-radius: 100px; font-size: .9rem; font-weight: 700; text-decoration: none; }
.header-action { border-color: var(--line); }
.header-action { justify-content: center; }
.header-action span { display: inline-grid; place-items: center; line-height: 1; }
.header-action:is(:hover, :focus-visible) { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.hero, .contact { background: var(--ink); color: var(--white); }
.hero-inner { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(3rem, 7vw, 6rem); }
.eyebrow { color: var(--brand-gold); font-size: .74rem; letter-spacing: .15em; font-weight: 750; text-transform: uppercase; margin-bottom: 1.35rem; }
h1 { font-size: clamp(3rem, 6.6vw, 6.35rem); letter-spacing: -.066em; }
h1 em { color: var(--gold); font-weight: 400; }
.intro { max-width: 43ch; color: #f0ded2; margin-top: 1.4rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.75rem; }
.primary { color: var(--ink); background: var(--gold); }
.primary:hover { background: #ffd16a; }
.outline { border-color: #a78b79; }
.outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-photo, .photo { position: relative; overflow: hidden; background: #43302a; }
.hero-photo { aspect-ratio: 2.32; border: 1px solid #a87b45; border-radius: 100px 12px 100px 12px; }
.hero-photo img, .photo img { position: absolute; max-width: none; width: 100%; top: 0; left: 0; }
.hero-photo img { transform: translateY(-56.5%); }
.section { padding-block: clamp(3rem, 7vw, 6.2rem); }
.cards, .schedule-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.05rem; }
.card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; }
.photo { aspect-ratio: 3.3; }
.pilates img { transform: translateY(-57%); }
.muay img { transform: translateY(-37.5%); }
.yoga img { transform: translateY(-13.6%); }
.card-text { padding: 1.35rem; }
.card-text p { margin: .7rem 0 1.25rem; color: var(--gray); }
.card-text a, .schedule-grid a { font-size: .9rem; font-weight: 700; color: var(--red); }
.schedule { background: #f2e8d9; }
.section-note { color: #5f5047; margin: -1rem 0 1.55rem; }
.schedule-grid article { background: var(--cream); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: .85rem; padding: 1.25rem; }
.schedule-grid p { margin: .8rem 0; }
.times { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; gap: .45rem; }
.times li { padding: .3rem .65rem; border-radius: 100px; font-size: .88rem; font-weight: 650; background: #f3e7d2; }
dl { margin: .75rem 0 0; }
dl div { display: flex; justify-content: space-between; gap: .4rem; flex-wrap: wrap; padding-block: .38rem; border-bottom: 1px solid var(--line); }
dd { margin: 0; font-weight: 700; }
.contact-inner { display: grid; grid-template-columns: 1fr minmax(0, 340px); gap: 2rem; align-items: center; }
.contact-inner h2 { margin-bottom: 1rem; }
address { font-style: normal; color: #f0ded2; }
.route { display: inline-block; margin-top: .85rem; color: var(--gold); }
.contact-actions { display: grid; gap: .65rem; }
footer { background: var(--ink); border-top: 1px solid #624235; color: #f0ded2; font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; gap: .75rem; padding-block: 1.2rem; }
@media (max-width: 780px) {
  .hero-inner { grid-template-columns: 1fr; gap: 1.9rem; }
  .hero-photo { max-width: 560px; }
  .cards, .schedule-grid { grid-template-columns: 1fr; }
  .photo { max-width: 690px; }
  .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; padding-block: .6rem; gap: .55rem; }
  nav { order: 1; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: .55rem; }
  .brand img:first-child { width: 39px; }
  .brand img:last-child { width: 95px; }
  .header-action { min-height: 42px; }
  .hero-photo { border-radius: 55px 10px 55px 10px; }
}

/* Keep the supplied photos at their native width or smaller. */
.hero-photo { width: 100%; max-width: 691px; }
.card { display: flex; flex-direction: column; }
.card-text { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.card-text a { margin-top: auto; }
.benefits { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: -.4rem 0 1.1rem; list-style: none; }
.benefits li { padding: .24rem .57rem; border-radius: 100px; background: #f3e7d2; font-size: .8rem; font-weight: 650; }

.card:focus-within { border-color: var(--gold); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { border-color: var(--gold); box-shadow: 0 12px 26px #26151118; }
  .hero-photo:hover { border-color: var(--gold); box-shadow: 0 0 30px #ffb40048; }
  .hero .outline:hover { background: var(--gold); color: var(--ink); }
}
@media (prefers-reduced-motion: no-preference) {
  .card, .hero-photo { transition: translate 220ms ease, border-color 220ms ease, box-shadow 220ms ease; }
  .button { transition: translate 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease; }
  .header-action span { transition: translate 180ms ease; }
  .card:focus-within { translate: 0 -4px; }
  .header-action:focus-visible span { translate: 2px -2px; }

  @media (hover: hover) and (pointer: fine) {
    .card:hover { translate: 0 -6px; }
    .hero-photo:hover, .button:hover { translate: 0 -3px; }
    .header-action:hover span { translate: 2px -2px; }
  }
}

.hero-visual {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 691px;
}

@media (max-width: 780px) {
  .hero-visual { margin-block: 1.2rem .9rem; max-width: 560px; }
}


.hero {
  overflow: hidden;
  background: radial-gradient(ellipse at 83% 47%, #67370e 0%, #352019 42%, var(--ink) 75%);
}
.hero h1 { font-size: clamp(2.9rem, 7vw, 6.3rem); overflow-wrap: anywhere; }
.hero-photo { box-shadow: 0 24px 64px #0006; }
.button { justify-content: center; }

.carousel-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.carousel-heading h2 { margin: 0; }
.carousel-heading .eyebrow { color: #874000; margin-bottom: .65rem; }
.carousel-controls:not([hidden]) { display: flex; gap: .5rem; flex-shrink: 0; }
.carousel-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid #b58440;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  font: 1.85rem/1 system-ui, sans-serif;
  cursor: pointer;
}
.carousel-controls button:is(:hover, :focus-visible) { background: var(--gold); }
.carousel-controls button:disabled { opacity: .45; cursor: default; background: var(--cream); }
.carousel :focus-visible, .carousel:focus-visible, .carousel-controls button:focus-visible { outline: 2px solid #a84704; outline-offset: 3px; }
.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74%;
  grid-template-columns: none;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: #b77d25 #eee1cc;
  padding: .45rem .25rem 1rem;
}
.carousel .card {
  scroll-snap-align: start;
  scroll-margin-inline: .25rem;
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  min-height: 284px;
  border-color: #d9b77f;
  box-shadow: 0 6px 18px #26151112;
}
.carousel .card .photo {
  position: relative;
  align-self: center;
  width: 100%;
  max-width: none;
  aspect-ratio: 3.3;
  border-radius: .7rem;
}
.carousel .card .photo img { max-width: none; }
.carousel .card { padding: .8rem; }
.carousel .card-text { padding: clamp(1rem, 3vw, 2.25rem); }
.carousel .benefits li { font-size: .875rem; }
.schedule {
  background: radial-gradient(ellipse at 85% 0%, #f9e3b0, #f5ecde 68%);
}
.schedule-grid .schedule-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  align-items: flex-start;
  border-top-width: 4px;
  padding: clamp(1rem, 2.5vw, 1.65rem);
}
.schedule-card h3 { margin-bottom: .35rem; }
.schedule-card dl, .schedule-card .times { width: 100%; }
.schedule-card a { margin-top: auto; padding-block: .65rem .15rem; }
.schedule-card:is(:active, :focus-within, [data-pressed]) {
  border-color: #d99200;
  background: #fff2cf;
  box-shadow: 0 9px 20px #58321522;
}
@media (hover: hover) and (pointer: fine) {
  .schedule-card:hover {
    border-color: #d99200;
    background: #fff2cf;
    box-shadow: 0 14px 25px #58321525;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .schedule-card { transition: translate .22s ease, scale .22s ease, background-color .22s ease, box-shadow .22s ease, border-color .22s ease; }
  .schedule-card:focus-within { translate: 0 -4px; }
  .schedule-card:is(:active, [data-pressed]) { scale: .98; }
  @media (hover: hover) and (pointer: fine) {
    .schedule-card:hover { translate: 0 -7px; }
  }
}
@media (max-width: 980px) {
  .carousel { grid-auto-columns: 87%; }
}
@media (max-width: 780px) {
  .hero h1 { font-size: clamp(2.65rem, 10vw, 4.8rem); }
  .carousel-heading { flex-wrap: wrap; align-items: center; }
  .carousel { grid-auto-columns: 88%; }
  .carousel .card { display: flex; }
}
@media (max-width: 390px) {
  .carousel { grid-auto-columns: 97%; }
  .schedule-card { overflow-wrap: anywhere; }
}


.bubble-toggle {
  min-height: 44px;
  padding: .25rem .5rem;
  border: 0;
  background: transparent;
  color: #ffe2a0;
  font: inherit;
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: .22em;
  cursor: pointer;
}
.bubble-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.hero { position: relative; isolation: isolate; }
.hero-inner { position: relative; z-index: 1; }
.hero-bubbles { position: absolute; inset: 0; pointer-events: none; }
.hero-bubbles span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: clamp(.65rem, var(--size), 6rem);
  aspect-ratio: 1;
  border: 1px solid #ffba3670;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffd67c50, #ffb40022 60%, #ffb40008);
}
.hero-bubbles span:nth-child(1) { --x: 3%; --y: 16%; --size: 3vw; --delay: -9s; }
.hero-bubbles span:nth-child(2) { --x: 12%; --y: 69%; --size: 4.9vw; --delay: -15s; }
.hero-bubbles span:nth-child(3) { --x: 20%; --y: 38%; --size: 1.1vw; --delay: -4s; }
.hero-bubbles span:nth-child(4) { --x: 29%; --y: 10%; --size: 1.65vw; --delay: -19s; }
.hero-bubbles span:nth-child(5) { --x: 35%; --y: 82%; --size: 2.3vw; --delay: -7s; }
.hero-bubbles span:nth-child(6) { --x: 44%; --y: 43%; --size: 4vw; --delay: -1s; }
.hero-bubbles span:nth-child(7) { --x: 54%; --y: 71%; --size: 2.9vw; --delay: -17s; }
.hero-bubbles span:nth-child(8) { --x: 59%; --y: 18%; --size: 3.3vw; --delay: -6s; }
.hero-bubbles span:nth-child(9) { --x: 70%; --y: 54%; --size: 4.8vw; --delay: -13s; }
.hero-bubbles span:nth-child(10) { --x: 77%; --y: 81%; --size: 1.25vw; --delay: -3s; }
.hero-bubbles span:nth-child(11) { --x: 85%; --y: 25%; --size: 4vw; --delay: -11s; }
.hero-bubbles span:nth-child(12) { --x: 91%; --y: 62%; --size: 2.1vw; --delay: -8s; }

@media (max-width: 780px) {
  .hero-bubbles { opacity: .68; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-bubbles span { animation: hero-drift 22s ease-in-out var(--delay) infinite; }
  .hero-bubbles span:nth-child(even) { animation-direction: reverse; animation-duration: 27s; }
  body[data-bubbles-paused] .hero-bubbles span { animation-play-state: paused; }

  @keyframes hero-drift {
    25% { translate: 6vw -42px; }
    50% { translate: 1vw -78px; }
    75% { translate: -5vw -25px; }
  }
}
