/* Bsweat Fitness Studio — Concept B (Editorial / Documentary) */

:root {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --mist: #fafafa;
  --line: #ececec;
  --grey: #6b6b6b;
  --grey-light: #9a9a9a;
  --accent: #D35100;
  --max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }

.hal {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 50;
  background: var(--paper);
}
.site-nav .logo img { height: 28px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { border-bottom: 2px solid var(--accent); }
.btn-contact {
  color: #ffffff;
  background: var(--ink);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 26px;
  white-space: nowrap;
}
.btn-contact:hover { background: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

/* HERO SPLIT (home) */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero-copy {
  padding: 96px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-copy h1 {
  font-size: 58px;
  line-height: 1.02;
  margin: 0;
}
.hero-copy p {
  color: #55575c;
  font-size: 17px;
  line-height: 1.65;
  max-width: 460px;
  margin: 0;
}
.hero-actions { display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.btn-primary {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 17px 30px;
  border: 1px solid var(--ink);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-outline {
  border: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 30px;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-accent {
  background: var(--accent);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 18px 36px;
  border: none;
  display: inline-block;
}
.btn-accent:hover { opacity: 0.88; }
.hero-img { overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }

/* CALLOUT BAR */
.callout-bar {
  background: var(--ink);
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  text-align: center;
}
.callout-bar .hal { color: #fff; font-size: 18px; }
.callout-bar .hal.accent { color: var(--accent); }
.callout-divider { width: 1px; height: 22px; background: #2a2a2a; }

/* PILLARS */
.pillars {
  padding: 96px 24px;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}
.pillar { display: flex; flex-direction: column; gap: 14px; }
.pillar .tag { color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: 0.1em; }
.pillar h3 { font-size: 26px; margin: 0; }
.pillar p { color: var(--grey); font-size: 15px; line-height: 1.6; margin: 0; }

/* PHOTO BREAK */
.photo-break { width: 100%; height: 50vw; max-height: 520px; overflow: hidden; }
.photo-break img { width: 100%; height: 100%; object-fit: cover; }

/* TESTIMONIAL */
.testimonial {
  padding: 100px 24px;
  background: var(--mist);
  text-align: center;
}
.testimonial blockquote {
  margin: 0 auto 20px;
  max-width: 780px;
  font-size: 30px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.35;
}
.testimonial cite {
  color: #8a8a8a;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  font-style: normal;
}

/* SESSIONS / CARDS */
.section { padding: 90px 24px; max-width: var(--max); margin: 0 auto; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 44px; flex-wrap: wrap; gap: 12px; }
.section-head h2 { font-size: 34px; margin: 0; }
.section-head p { color: var(--grey); max-width: 420px; margin: 0; font-size: 15px; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card { background: #fff; padding: 36px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 20px; margin: 0; font-family: 'Anton', sans-serif; text-transform: uppercase; }
.card p { color: var(--grey); font-size: 14px; line-height: 1.6; margin: 0; }

/* CTA band */
.cta-band {
  position: relative;
  height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band .overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.72); }
.cta-band .content { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 0 24px; }
.cta-band h2 { color: #fff; font-size: 40px; max-width: 700px; margin: 0; }

/* FOOTER */
.site-footer {
  background: var(--ink);
  padding: 56px 24px 32px;
  color: #d8d8d8;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1c1c1c;
}
.footer-grid img { height: 22px; width: auto; margin-bottom: 16px; }
.footer-grid p { font-size: 13px; color: #8a8a8a; line-height: 1.6; margin: 0; }
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a8a8a;
  margin: 0 0 16px;
}
.footer-col a { display: block; font-size: 14px; color: #d8d8d8; margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 12px;
  color: #6b6b6b;
  flex-wrap: wrap;
  gap: 12px;
}

/* GENERIC PAGE HERO (sub-pages) */
.page-hero {
  padding: 72px 24px 56px;
  max-width: var(--max);
  margin: 0 auto;
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { font-size: 48px; margin: 0 0 18px; max-width: 760px; }
.page-hero p { color: var(--grey); font-size: 17px; max-width: 620px; line-height: 1.6; margin: 0; }

.note-box {
  border: 1px dashed #d8d8d8;
  background: var(--mist);
  padding: 20px 24px;
  font-size: 13px;
  color: #8a8a8a;
  line-height: 1.6;
  margin: 0 auto 90px;
  max-width: var(--max);
}
.note-box strong { color: var(--grey); }

/* TRAINER GRID */
.trainer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.trainer-card { display: flex; flex-direction: column; gap: 8px; }
.trainer-photo {
  aspect-ratio: 3/4;
  background: var(--mist);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-light);
  font-size: 12px;
  text-align: center;
  padding: 16px;
}
.trainer-card h3 { font-size: 18px; margin: 4px 0 0; font-family: 'Anton', sans-serif; text-transform: uppercase; }
.trainer-card .role { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.trainer-card p.bio { color: var(--grey); font-size: 14px; line-height: 1.6; margin-top: 6px; }

/* VALUES LIST */
.values-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 48px; }
.values-list li { font-family: 'Anton', sans-serif; text-transform: uppercase; font-size: 18px; list-style: none; padding: 16px 0; border-bottom: 1px solid var(--line); }

/* TWO COL */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; }
.two-col h2 { font-size: 30px; margin: 0 0 16px; }
.two-col p { color: var(--grey); font-size: 15px; line-height: 1.7; }

/* MERCH GRID */
.merch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.merch-card { border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.merch-swatch {
  aspect-ratio: 1;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-light);
  font-size: 11px;
  text-align: center;
  padding: 10px;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.merch-card h3 { font-size: 14px; margin: 0; font-weight: 600; }
.merch-card .price { color: var(--accent); font-weight: 700; font-size: 14px; }

/* TIMETABLE EMBED (live Wodify widget) */
.timetable-embed-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--mist);
}
.timetable-embed-wrap iframe { width: 100%; border: 0; }

/* FORM EMBED (GoHighLevel widgets — hold, cancellation, referral, contact).
   No fixed height/overflow here: these forms reflow taller on narrower
   screens, and go.kaizenhub.au's form_embed.js resizes the iframe to its
   real content height via postMessage after load. A wrapper with a locked
   height + overflow:hidden (like the timetable above) would clip that
   resize and cut off the bottom of the form, submit button included. */
.form-embed-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: visible;
  background: var(--mist);
}
.form-embed-wrap iframe { width: 100%; border: 0; display: block; }

/* FORM LIST */
.form-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.form-list a { background: #fff; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 15px; }
.form-list a:hover { background: var(--mist); color: var(--accent); }
.form-list a span.arrow { color: var(--accent); font-family: 'Anton', sans-serif; }

@media (max-width: 1100px) and (min-width: 861px) {
  .trainer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 24px;
    gap: 20px;
  }
  .nav-toggle { display: block; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-copy { padding: 56px 24px; }
  .hero-copy h1 { font-size: 40px; }
  .pillars { grid-template-columns: 1fr; padding: 64px 24px; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trainer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col { grid-template-columns: 1fr; }
  .merch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values-list { grid-template-columns: 1fr; }
  .cta-band h2 { font-size: 30px; }
}

/* LEGAL / POLICY PAGES */
.legal-content { max-width: 760px; }
.legal-content .updated { color: var(--grey); font-size: 14px; margin-bottom: 40px; }
.legal-content h2 { font-size: 22px; margin: 48px 0 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--grey); font-size: 15px; line-height: 1.7; margin: 0 0 16px; }
.legal-content ul { color: var(--grey); font-size: 15px; line-height: 1.7; margin: 0 0 16px; padding-left: 20px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--ink); text-decoration: underline; }

/* ============ INTERACTIVE LAYER ============ */

/* Custom cursor — desktop with a precise pointer only. Inverts whatever
   it sits over (mix-blend-mode), so it always reads against brick, photos
   or white sections without needing per-context colour rules. */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor input,
  body.has-custom-cursor textarea,
  body.has-custom-cursor select,
  body.has-custom-cursor label,
  body.has-custom-cursor .nav-toggle {
    cursor: none;
  }

  .cursor-dot,
  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    background: #fff;
    opacity: 0;
    transition: opacity .25s ease, width .3s cubic-bezier(.16,.84,.44,1), height .3s cubic-bezier(.16,.84,.44,1);
  }
  .cursor-dot { width: 7px; height: 7px; }
  .cursor-ring { width: 34px; height: 34px; background: transparent; border: 1px solid #fff; }
  .cursor-dot.is-visible,
  .cursor-ring.is-visible { opacity: 1; }
  .cursor-ring.is-hover { width: 64px; height: 64px; background: #fff; border-width: 0; }
  .cursor-dot.is-hover { opacity: 0; }
}

/* Media gets a slow, deliberate zoom on hover — answers the cursor, not autoplay */
.photo-break img,
.cta-band img,
.hero-img img {
  transition: transform 1.2s cubic-bezier(.16,.84,.44,1);
}
@media (hover: hover) and (pointer: fine) {
  .photo-break:hover img,
  .cta-band:hover img,
  .hero-img:hover img {
    transform: scale(1.045);
  }
}

/* Buttons track the cursor slightly (JS sets the transform); this just
   gives it somewhere smooth to land. */
.btn-primary, .btn-accent, .btn-outline, .btn-contact {
  transition: transform .25s cubic-bezier(.16,.84,.44,1), background .2s ease, border-color .2s ease, opacity .2s ease;
  display: inline-block;
  will-change: transform;
}
