/* BUNGE Fitness — bungefitness.com
   Tokens taken from the captured production stylesheet (Tailwind v4 build).
   Radius is 0 everywhere by design; the only round things are footer social icons. */

:root {
  --bone: oklch(97% 0.006 85);
  --ink: oklch(16% 0.004 60);
  --tan: oklch(79% 0.045 78);
  --tan-deep: oklch(62% 0.05 75);
  --blush: oklch(78% 0.09 5);

  --border: oklch(87% 0.008 80);
  --border-on-dark: oklch(100% 0 0 / 0.12);
  --muted: oklch(93% 0.008 85);
  --muted-fg: oklch(50% 0.01 70);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Jost", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 3.75rem);
  --measure: 34rem;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--tan-deep);
  outline-offset: 3px;
}

/* ---------- type ---------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 8vw, 6rem); }
h2 { font-size: clamp(1.875rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }

p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted-fg);
  margin: 0 0 1.25rem;
}

.lede { font-size: clamp(1rem, 1.4vw, 1.125rem); }

.note {
  font-size: 0.8125rem;
  color: var(--muted-fg);
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: 85rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

.on-dark {
  background: var(--ink);
  color: var(--bone);
}
.on-dark .eyebrow { color: oklch(97% 0.006 85 / 0.6); }
.on-dark .note { color: oklch(97% 0.006 85 / 0.6); }

.stack > * + * { margin-top: var(--stack-gap, 1.5rem); }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); }
@media (min-width: 48rem) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn--primary {
  background: var(--tan);
  color: var(--ink);
  padding: 1.125rem 2.25rem;
  font-size: 0.75rem;
}
.btn--primary:hover { background: var(--bone); }

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.65rem;
}

.btn--outline {
  background: transparent;
  color: currentColor;
  border: 1px solid currentColor;
  padding: 0.875rem 1.75rem;
  font-size: 0.7rem;
}
.btn--outline:hover {
  background: var(--tan);
  border-color: var(--tan);
  color: var(--ink);
}

/* Full-width stacked CTAs on a phone */
@media (max-width: 37.5rem) {
  .btn--primary,
  .btn--outline { width: 100%; }
}

.link-underline {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-decoration: underline;
  text-underline-offset: 8px;
  transition: color 0.3s;
}
.link-underline:hover { color: var(--tan-deep); }
.on-dark .link-underline:hover { color: var(--tan); }

/* ---------- promo banner ---------- */

.promo {
  background: var(--tan);
  color: var(--ink);
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.75rem var(--gutter);
}
.promo a { text-underline-offset: 5px; }

/* ---------- header ---------- */

.header {
  background: var(--ink);
  color: var(--bone);
  position: relative;
  z-index: 20;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.125rem;
}
.header__logo { display: block; }
.header__logo img {
  width: clamp(7rem, 12vw, 9.5rem);
  height: auto;
  /* Only a dark-ink logo file was in the capture; this renders it in bone on the
     dark header. Swap for a real white asset and drop the filter when one exists. */
  filter: brightness(0) invert(1);
}

.nav { display: none; }
@media (min-width: 62rem) {
  .nav {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 2.5vw, 2.25rem);
  }
}
.nav a {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  text-decoration: none;
  color: oklch(97% 0.006 85 / 0.7);
  transition: color 0.3s;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--bone); }

.header__cta { display: none; }
@media (min-width: 62rem) { .header__cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: 0;
  color: var(--bone);
  font-family: var(--sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  padding: 0.75rem 0;
  min-height: 44px;
  cursor: pointer;
}
@media (min-width: 62rem) { .nav-toggle { display: none; } }

.nav-mobile {
  background: var(--ink);
  border-top: 1px solid var(--border-on-dark);
  padding: 0.5rem var(--gutter) 1.75rem;
}
@media (min-width: 62rem) { .nav-mobile { display: none !important; } }
.nav-mobile a {
  display: block;
  padding: 0.9rem 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  color: oklch(97% 0.006 85 / 0.8);
  border-bottom: 1px solid var(--border-on-dark);
}
.nav-mobile .btn { margin-top: 1.25rem; width: 100%; }

/* ---------- footer ---------- */

.footer {
  background: var(--ink);
  color: oklch(97% 0.006 85 / 0.75);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 0.875rem;
}
.footer a { text-decoration: none; transition: color 0.3s; }
.footer a:hover { color: var(--bone); }

.footer__top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-on-dark);
}
@media (min-width: 48rem) {
  .footer__top { grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; }
}

.footer__heading {
  font-family: var(--sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: oklch(97% 0.006 85 / 0.5);
  margin: 0 0 1.1rem;
}
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li + li { margin-top: 0.7rem; }

.socials { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border-on-dark);
  color: oklch(97% 0.006 85 / 0.6);
  transition: border-color 0.3s, color 0.3s;
}
.socials a:hover { border-color: var(--tan); color: var(--tan); }
.socials svg { width: 1.0625rem; height: 1.0625rem; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: 0.75rem;
  color: oklch(97% 0.006 85 / 0.55);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ---------- booking widget ---------- */

.booking-embed {
  margin-top: clamp(2rem, 4vw, 3rem);
  min-height: 640px;
}
.booking-fallback {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--muted-fg);
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: var(--gutter);
  top: 0.5rem;
  z-index: 50;
  background: var(--tan);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero__inner {
  position: relative;
  padding-block: clamp(4rem, 14vw, 9rem);
}
.hero .eyebrow { color: oklch(97% 0.006 85 / 0.65); }
.hero p { max-width: 38rem; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.25rem;
}

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}
@media (min-width: 48rem) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats div {
  padding: clamp(1.5rem, 3vw, 2.5rem) 1rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
@media (min-width: 48rem) {
  .stats div + div { border-left: 1px solid var(--border); }
}
.stats b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stats span {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-fg);
}

/* ---------- cards ---------- */

.card {
  background: var(--card-bg, transparent);
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
}
.on-dark .card { border-color: var(--border-on-dark); }
.card__price {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
  margin: 0.75rem 0 0;
  font-variant-numeric: tabular-nums;
}
.card__note {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-fg);
  margin: 0.75rem 0 0;
}
.on-dark .card__note { color: oklch(97% 0.006 85 / 0.6); }
.card p { margin-top: 1rem; }
.card ul { margin: 1rem 0 0; padding-left: 1.1rem; }
.card li + li { margin-top: 0.4rem; }
.card .btn, .card .link-underline { margin-top: auto; padding-top: 1.5rem; }
.card .btn { align-self: flex-start; margin-top: 1.75rem; }

.badge {
  display: inline-block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: var(--tan);
  color: var(--ink);
  padding: 0.2rem 0.5rem;
  margin-left: 0.5rem;
  vertical-align: 0.15em;
}

/* ---------- feature / steps ---------- */

.feature h3 { margin-bottom: 0.75rem; }

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li {
  counter-increment: step;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
}
.on-dark .steps li { border-color: var(--border-on-dark); }
.steps li::before {
  content: counter(step);
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--tan-deep);
}
.on-dark .steps li::before { color: var(--tan); }
.steps h3 { font-size: 1.0625rem; margin-bottom: 0.4rem; }

/* ---------- list with rules ---------- */

.ruled { list-style: none; margin: 0; padding: 0; }
.ruled li {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}
.on-dark .ruled li { border-color: var(--border-on-dark); }
.ruled li:last-child { border-bottom: 1px solid var(--border); }
.on-dark .ruled li:last-child { border-color: var(--border-on-dark); }

/* ---------- quotes ---------- */

.quote { border-left: 2px solid var(--tan); padding-left: 1.25rem; }
.quote p { font-size: 1.0625rem; }
.quote cite {
  display: block;
  margin-top: 0.9rem;
  font-style: normal;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-fg);
}
.on-dark .quote cite { color: oklch(97% 0.006 85 / 0.6); }

/* ---------- media ---------- */

.media img { width: 100%; }
.media figcaption {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-fg);
}

.banner {
  background: var(--tan);
  color: var(--ink);
  text-align: center;
  padding: 1.25rem var(--gutter);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* ---------- prose (legal pages) ---------- */

.prose { max-width: 42rem; }
.prose h2 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 0.9375rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.prose a { text-underline-offset: 3px; }

/* ---------- FAQ accordion ----------
   <details name="…"> makes the group natively exclusive (one open at a time) in
   current browsers, and degrades to "all can be open" in older ones. Answers stay
   in the HTML either way, so they're indexable. */

.faq { max-width: 48rem; }
.faq details {
  border-top: 1px solid var(--border);
}
.faq details:last-of-type { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 2.5rem 1.35rem 0;
  position: relative;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 1.5px solid var(--tan-deep);
  border-bottom: 1.5px solid var(--tan-deep);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq summary:hover { color: var(--tan-deep); }
.faq details > p {
  margin: 0 0 1.5rem;
  max-width: none;
  font-size: 0.9375rem;
}

/* ---------- video lightbox ---------- */

.video-trigger {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--ink);
  cursor: pointer;
  line-height: 0;
}
.video-trigger img { width: 100%; opacity: 0.75; transition: opacity 0.3s; }
.video-trigger:hover img { opacity: 1; }
.video-trigger__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-trigger__play span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--tan);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.9rem 1.6rem;
}

dialog.video {
  width: min(92vw, 60rem);
  padding: 0;
  border: 0;
  background: var(--ink);
  color: var(--bone);
}
dialog.video::backdrop { background: oklch(16% 0.004 60 / 0.85); }
dialog.video .ratio {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
}
dialog.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
dialog.video form {
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem;
}
dialog.video button {
  background: none;
  border: 0;
  color: var(--bone);
  font-family: var(--sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.75rem 1rem;
  min-height: 44px;
  cursor: pointer;
}
