/* Region 3 Fitness — V1 "Wix match"
   Mirrors the live Wix site: a fixed full-page background video with a dark overlay and a
   fine screen pattern; sections are either transparent windows onto that video or solid bands.
   Fonts: Krona One stands in for Wix's Lulo Clean, Barlow Condensed for DIN Neuzeit Grotesk,
   Raleway is the same font Wix uses. */

:root {
  --red: #B52929;
  --black: #030303;
  --charcoal: #2F2E2E;
  --band: #444444;
  --white: #FFFFFF;
  --text: #030303;
  --muted: #5A5A5A;

  --display: "Krona One", "Arial Black", Arial, sans-serif;
  --body: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --nav: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;

  --box: 61.25rem; /* Wix's 980px content strip */
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }

*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--text); font-size: 15px; line-height: 1.55; background: var(--black); -webkit-text-size-adjust: 100%; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 40; background: #fff; padding: .5rem 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Fixed page background (video + overlay + screen pattern) ---------- */
.page-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #111 url("../images/hero.jpg") center / cover no-repeat; }
.page-bg video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.page-bg::before { content: ""; position: absolute; inset: 0; background: rgba(3,3,3,.53); }
.page-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .55;
  background-image:
    linear-gradient(rgba(0,0,0,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.6) 1px, transparent 1px);
  background-size: 6px 6px;
}
@media (prefers-reduced-motion: reduce) { .page-bg video { display: none; } }

/* ---------- Header ---------- */
.site-header { background: var(--white); position: relative; z-index: 20; }
.site-header .bar { display: flex; align-items: stretch; min-height: 64px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; height: 100%; }
.nav a { display: flex; align-items: center; height: 64px; padding: 0 .55rem; font-family: var(--nav); font-size: 17px; color: var(--text); text-decoration: none; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { background: var(--charcoal); color: #fff; }
.nav-toggle { display: none; margin: auto 1rem auto auto; font: 600 16px var(--nav); letter-spacing: .05em; text-transform: uppercase; background: none; border: 1px solid var(--text); padding: .4rem .9rem; cursor: pointer; }
.nav-logo { display: none; }
@media (max-width: 56rem) {
  .nav-logo { display: flex; align-items: center; padding: .5rem 1rem; }
  .nav-logo img { width: 5rem; filter: brightness(0); }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-top: 1px solid #ddd; box-shadow: 0 10px 20px rgba(0,0,0,.25); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { height: 48px; padding: 0 1.25rem; font-size: 19px; }
}

/* ---------- Right-side section dots ---------- */
.dots { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 15; list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dots a { display: block; width: 9px; height: 9px; border-radius: 50%; border: 1px solid #fff; background: transparent; position: relative; transition: background-color .2s; }
.dots a.is-active, .dots a:hover { background: #fff; }
.dots a span { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 12px; background: #fff; color: var(--text); padding: 2px 8px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.dots a:hover span, .dots a:focus-visible span { opacity: 1; }
@media (max-width: 56rem) { .dots { display: none; } }

/* ---------- Shared pieces ---------- */
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; line-height: 1.25; margin: 0; }
.box { max-width: var(--box); margin: 0 auto; padding: 0 1.25rem; }
.white { background: var(--white); }
.rule { width: 100%; max-width: var(--box); height: 1px; background: var(--red); margin: 0 auto; border: 0; }
.btn-wix { display: inline-block; background: #fff; color: var(--text); text-decoration: none; font: 700 13px var(--body); letter-spacing: .08em; text-transform: uppercase; padding: .55rem 1rem; border: 1px solid #fff; transition: background-color .25s, color .25s; }
.btn-wix:hover { background: transparent; color: #fff; }
.btn-wix--dark { background: var(--text); color: #fff; border-color: var(--text); }
.btn-wix--dark:hover { background: #fff; color: var(--text); }

/* ---------- Hero ---------- */
.hero { min-height: 694px; display: grid; place-items: center; position: relative; color: #fff; text-align: left; padding: 3rem 1.25rem; }
.hero-social { position: absolute; top: 1.25rem; right: max(1.25rem, calc((100% - 80rem) / 2)); display: flex; gap: .6rem; }
.hero-social a { display: block; width: 20px; height: 20px; }
.hero-social svg { width: 100%; height: 100%; fill: #fff; }
.hero-inner { width: min(24.5rem, 100%); }
.hero-inner img { width: 100%; }
.hero-address { font-weight: 700; font-size: clamp(16px, 1.4vw, 20px); margin: .4rem 0 .9rem; line-height: 1.3; }
.hero-cta { display: flex; justify-content: flex-end; }
@media (max-width: 40rem) { .hero { min-height: min(694px, 86svh); } }

/* ---------- Tagline band ---------- */
.tagline { background: var(--white); text-align: center; padding: 1.9rem 1rem; }
.tagline p { margin: 0; font-size: clamp(22px, 3.2vw, 40px); font-weight: 400; letter-spacing: .08em; line-height: 1.2; }

/* ---------- Framed slideshow (white box) ---------- */
.frame-section { padding: 0 1.25rem; }
.frame { max-width: var(--box); margin: 0 auto; background: var(--white); padding: 14px; }
.frame-section--band { background: var(--band); padding: 15px 1.25rem; }
.slideshow { position: relative; overflow: hidden; background: #111; aspect-ratio: 952 / 620; }
.slideshow--wide { aspect-ratio: 952 / 640; }
.slide { position: absolute; inset: 0; opacity: 0; filter: blur(14px); transition: opacity .9s ease, filter .9s ease; }
.slide.is-active { opacity: 1; filter: blur(0); }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slideshow .contain img { object-fit: contain; background: #111; }
.ss-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: rgba(0,0,0,.35); color: #fff; font: 700 22px var(--body); cursor: pointer; opacity: 0; transition: opacity .25s; }
.slideshow:hover .ss-btn, .ss-btn:focus-visible { opacity: 1; }
@media (hover: none) { .ss-btn { opacity: .85; width: 38px; height: 38px; } }
.slideshow { touch-action: pan-y; }
.ss-prev { left: 0; } .ss-next { right: 0; }
.ss-count { position: absolute; right: 12px; bottom: 10px; color: #fff; font-size: 13px; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.frame-gap { height: 3.5rem; }

/* ---------- Classes band (studio photo at 35% on black) ---------- */
.classes-band { position: relative; isolation: isolate; background: var(--black); color: #fff; text-align: center; padding: 5rem 1.25rem 5.5rem; overflow: hidden; }
.classes-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../images/studio.png") center / cover no-repeat; opacity: .35; filter: grayscale(1); }
.classes-band h2 { font-size: clamp(20px, 2.6vw, 30px); }
.classes-band .intro { max-width: 41rem; margin: 1.6rem auto 3.5rem; font-weight: 700; font-size: 15px; letter-spacing: .05em; line-height: 1.5; }
.numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.25rem 1.5rem; max-width: 52rem; margin: 0 auto; list-style: none; padding: 0; }
.numbers li { width: 11.5rem; position: relative; height: 6rem; display: grid; place-items: center; }
.numbers .n { position: absolute; inset: 0; display: grid; place-items: center; font: 800 86px/1 var(--body); color: var(--red); font-style: italic; z-index: 0; transition: transform .35s ease; }
.numbers a { position: relative; z-index: 1; white-space: nowrap; font: 700 15px var(--body); text-transform: uppercase; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.numbers li:hover .n { transform: scale(1.08); }
@media (max-width: 40rem) {
  .numbers { gap: 1.25rem .75rem; }
  .numbers li { width: calc(50% - .4rem); height: 5rem; }
  .numbers .n { font-size: 64px; }
  .numbers a { white-space: normal; font-size: 13px; line-height: 1.3; }
  .classes-band { padding: 3.5rem 1.25rem 4rem; }
  .classes-band .intro { margin-bottom: 2.5rem; }
}

/* ---------- Coach ---------- */
.coach { background: var(--white); padding: 0 1.25rem; }
.coach-inner { max-width: var(--box); margin: 0 auto; border-top: 1px solid var(--red); padding: 10px 0 0; display: grid; grid-template-columns: 21rem minmax(0, 1fr); gap: 1.4rem; align-items: center; }
.coach-inner img { width: 100%; aspect-ratio: 336 / 407; object-fit: cover; object-position: 50% 0%; }
.coach-text { max-width: 14.5rem; padding: 2rem 0; }
.coach-role { font-family: var(--display); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .25rem; }
.coach-name { font-size: 24px; padding-bottom: .4rem; border-bottom: 1px solid var(--red); margin-bottom: 1.6rem; }
.coach-text p { font-size: 15px; font-weight: 500; line-height: 1.6; margin: 0; }
@media (max-width: 44rem) { .coach-inner { grid-template-columns: 1fr; } .coach-text { max-width: none; padding-top: 0; } }

/* ---------- Contact strip ---------- */
.contact-strip { background: var(--white); padding: 2.5rem 1.25rem; }
.contact-cols { max-width: 34rem; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; }
.contact-cols svg { width: 20px; height: 20px; margin: 0 auto .4rem; stroke: var(--text); fill: none; stroke-width: 1.4; }
.contact-cols h2 { font: 700 14px var(--body); margin: 0 0 .5rem; }
.contact-cols p, .contact-cols a { font-size: 13px; margin: 0; }
.contact-cols a { text-decoration: none; }
.contact-cols a.u { text-decoration: underline; }
@media (max-width: 34rem) { .contact-cols { grid-template-columns: 1fr; } }

/* ---------- Footer (transparent over the video) ---------- */
.site-footer { color: #fff; text-align: center; padding: 3.5rem 1.25rem 2.5rem; font-size: 13px; }
.site-footer img { width: 9rem; margin: 0 auto 1.25rem; }
.site-footer .social { display: flex; gap: .8rem; justify-content: center; margin-bottom: 1rem; }
.site-footer .social svg { width: 20px; height: 20px; fill: #fff; }
.site-footer a { color: #fff; }

/* ---------- Inner page titles ---------- */
.page-title { color: #fff; text-align: center; padding: 6rem 1.25rem 3rem; }
.page-title h1 { font-size: clamp(30px, 4.2vw, 56px); }
.page-title p { max-width: 48.5rem; margin: 1.8rem auto 0; font-weight: 700; font-size: 15px; letter-spacing: .05em; line-height: 1.55; }
.page-title--white { background: var(--white); color: var(--text); padding: 4.5rem 1.25rem 3rem; }

/* Classes page: two-column list in white text over the video */
.class-grid { max-width: 51rem; margin: 0 auto; padding: 1rem 1.25rem 6rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 8rem; color: #fff; }
.class-grid h2 { font-size: 20px; margin-bottom: .9rem; }
.class-grid p { font-weight: 600; font-size: 15px; margin: 0 0 .6rem; }
.class-grid .days { font-weight: 700; color: #fff; opacity: .8; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
@media (max-width: 44rem) { .class-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* Schedule */
.embed-wrap { max-width: var(--box); margin: 0 auto 6rem; padding: 14px; background: var(--white); }
.embed-wrap iframe { display: block; width: 100%; min-height: 70rem; border: 0; }
.embed-wrap p { margin: 0 0 .75rem; text-align: center; }

/* Pricing: stacked dark boxes */
.plans { padding: 3rem 1.25rem 6rem; display: grid; gap: 1.75rem; justify-items: center; }
.plan { width: min(28.4rem, 100%); background: rgba(3,3,3,.72); border: 1px solid rgba(255,255,255,.35); color: #fff; text-align: center; padding: 2.25rem 2rem 2.5rem; }
.plan h2 { font: 400 30px var(--body); margin: 0 0 .5rem; }
.plan .price { font-family: var(--display); font-size: clamp(52px, 8vw, 84px); line-height: 1.1; margin: 0 0 1.25rem; }
.plan .per { font-weight: 600; opacity: .8; margin: 0 0 1.25rem; }
.plan ul { list-style: none; margin: 0 auto 1.75rem; padding: 0; display: grid; gap: .45rem; font-weight: 600; font-size: 16px; max-width: 16rem; }
.plan .btn-wix { min-width: 9rem; }

/* Testimonials */
.t-cards { max-width: var(--box); margin: 0 auto; padding: 0 1.25rem 3rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.t-card { background: var(--white); text-align: center; text-decoration: none; padding-bottom: 1.25rem; transition: transform .3s; }
.t-card:hover { transform: translateY(-4px); }
.t-card img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 1rem; }
.t-card h2 { font: 400 17px var(--display); text-transform: uppercase; margin: 0 0 .35rem; }
.t-card span { font-size: 13px; text-decoration: underline; }
@media (max-width: 44rem) { .t-cards { grid-template-columns: 1fr; max-width: 22rem; } }
.story { max-width: var(--box); margin: 0 auto 1.5rem; background: var(--white); padding: clamp(1.5rem, 4vw, 3rem); display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 2rem; }
.story img { width: 100%; aspect-ratio: 834 / 469; object-fit: cover; }
.story h2 { font-size: 22px; margin-bottom: .2rem; }
.story .kicker { font-size: 13px; color: var(--muted); margin: 0 0 1.25rem; }
.story blockquote { margin: 0; font-size: 15px; line-height: 1.7; }
.stories { padding: 0 1.25rem 5rem; }
@media (max-width: 44rem) { .story { grid-template-columns: 1fr; } }

/* Transformations */
.tf-head { background: var(--white); text-align: center; padding: 4rem 1.25rem 3rem; }
.tf-head h1 { font-size: clamp(28px, 4vw, 44px); }
.tf-head .sub { font: 400 20px var(--body); letter-spacing: .1em; margin: 1rem 0 .75rem; }
.tf-head p { margin: 0; }
.tf-grid { max-width: var(--box); margin: 0 auto; padding: 2.5rem 1.25rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(14rem, 100%), 1fr)); gap: 10px; }
.tf-grid button { padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 1; overflow: hidden; background: #222; }
.tf-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .5s ease; }
.tf-grid button:hover img { transform: scale(1.06); }
.tf-foot { background: var(--white); text-align: center; padding: 3rem 1.25rem; }
.tf-foot h2 { font-size: 26px; margin-bottom: 1rem; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(255,255,255,.94); }
.lightbox img { max-width: 94vw; max-height: 84vh; width: auto; margin: 0 auto; }
.lightbox-bar { display: flex; justify-content: center; gap: .5rem; margin-top: .75rem; }
.lightbox-bar button { font: 700 13px var(--body); letter-spacing: .08em; text-transform: uppercase; background: var(--text); color: #fff; border: 0; padding: .55rem 1rem; cursor: pointer; }

/* ---------- Scroll entrance animations (Wix "Fade In" / "Float In") ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
  .js [data-reveal="float"] { transform: translateY(40px); }
  .js [data-reveal="left"] { transform: translateX(-60px); }
  .js [data-reveal="right"] { transform: translateX(60px); }
  .js [data-reveal="zoom"] { transform: scale(.92); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal-delay="1"] { transition-delay: .12s; }
  .js [data-reveal-delay="2"] { transition-delay: .24s; }
  .js [data-reveal-delay="3"] { transition-delay: .36s; }
}

/* ---------- Wodify booking modal (near full page) ---------- */
.wod-modal {
  border: 0; padding: 0; margin: auto;
  width: min(96vw, 80rem); height: 94vh; height: 94dvh; max-width: none; max-height: none;
  background: var(--white); color: var(--text);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  display: none; flex-direction: column; overflow: hidden;
}
.wod-modal[open] { display: flex; }
.wod-modal::backdrop { background: rgba(3,3,3,.72); }
@media (prefers-reduced-motion: no-preference) {
  .wod-modal[open] { animation: wod-in .32s cubic-bezier(.2,.7,.2,1); }
  .wod-modal[open]::backdrop { animation: wod-fade .32s ease; }
  @keyframes wod-in { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }
  @keyframes wod-fade { from { opacity: 0; } to { opacity: 1; } }
}
.wod-bar { flex: none; display: flex; align-items: center; gap: .75rem; padding: .6rem .6rem .6rem 1.1rem; border-bottom: 1px solid var(--red); }
.wod-title { font: 400 13px var(--display); text-transform: uppercase; letter-spacing: .04em; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wod-newtab { margin-left: auto; font: 600 13px var(--body); color: var(--muted); white-space: nowrap; }
.wod-newtab:hover { color: var(--red); }
.wod-close { flex: none; width: 40px; height: 40px; border: 0; background: var(--text); color: #fff; font: 400 24px/1 var(--body); cursor: pointer; transition: background-color .2s; }
.wod-close:hover { background: var(--red); }
.wod-body { position: relative; flex: 1; min-height: 0; background: #fff; }
.wod-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wod-loading { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 1rem; background: #fff; font-weight: 600; color: var(--muted); text-align: center; padding: 1.5rem; transition: opacity .25s; }
.wod-loading[hidden] { display: none; }
.wod-spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid #e5e5e5; border-top-color: var(--red); animation: wod-spin .8s linear infinite; }
@keyframes wod-spin { to { transform: rotate(360deg); } }
.wod-loading .btn-wix { margin-top: .25rem; }
@media (max-width: 40rem) {
  .wod-modal { width: 100vw; height: 100vh; height: 100dvh; }
  .wod-newtab { font-size: 12px; }
  .wod-bar { padding-top: calc(.6rem + env(safe-area-inset-top, 0px)); }
}
html.wod-lock, html.wod-lock body { overflow: hidden; }
