/* ==========================================================================
   ShredFast Trafford — stylesheet
   Design language taken from joinshredfast.com and locations.joinshredfast.com:
   black surfaces, ShredFast green (#4fff8b) accents, Proxima Nova, uppercase
   extrabold headlines, rectangular buttons, full-bleed photography.
   ========================================================================== */

/* ---- Fonts (ShredFast's licensed Proxima Nova, self-hosted as WOFF2) ---- */
@font-face {
  font-family: "Proxima Nova";
  src: url("../assets/fonts/proxima-nova-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("../assets/fonts/proxima-nova-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("../assets/fonts/proxima-nova-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens ---- */
:root {
  --sf-green: #4fff8b;
  --sf-green-soft: #aaffba;
  --sf-black: #050505;
  --sf-bg: #0e0e0e;
  --sf-surface: #171717;
  --sf-surface-2: #1d1d1d;
  --sf-border: #2a2a2a;
  --sf-text: #f8fcff;
  --sf-text-soft: #bababa;
  --sf-text-muted: #9d9da3;
  --sf-white: #ffffff;

  --font: "Proxima Nova", "Helvetica Neue", Arial, sans-serif;

  --header-h: 72px;
  --gutter: 20px;
  --container: 1280px;
  --radius: 2px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 40px; --header-h: 80px; }
}
@media (min-width: 1200px) {
  :root { --gutter: 60px; }
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--sf-text);
  background: var(--sf-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--sf-green); outline-offset: 3px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 2000;
  background: var(--sf-green); color: var(--sf-black); padding: 12px 18px;
  font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 14px;
}
.skip-link:focus { top: 12px; }

/* <picture> must pass its frame's size through, otherwise object-fit: cover has nothing to cover */
.hero__media picture, .intro__photo picture, .gallery__item picture, .split__media picture,
.tile__media picture, .join__media picture, .final__media picture, .matchr__media picture {
  display: block; width: 100%; height: 100%;
}
.split__media picture { position: absolute; inset: 0; }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 104px 0; } }
@media (min-width: 1200px) { .section { padding: 128px 0; } }
.section--tight { padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 768px) { .section--tight { padding-top: 72px; padding-bottom: 72px; } }
.section--black { background: var(--sf-black); }
.section--surface { background: var(--sf-surface); }
.section--white { background: var(--sf-white); color: var(--sf-black); }
.divider { border: 0; border-top: 1px solid var(--sf-border); margin: 0; }

/* ---- Typography ---- */
.eyebrow {
  display: block;
  color: var(--sf-green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section--white .eyebrow { color: #1a7a43; }
.h1, .h2, .h3 {
  font-weight: 800;
  text-transform: uppercase;
  line-height: .96;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.h1 { font-size: clamp(46px, 11vw, 112px); }
.h2 { font-size: clamp(34px, 6.2vw, 68px); }
.h3 { font-size: clamp(22px, 3vw, 30px); letter-spacing: 0; }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--sf-text-soft); max-width: 60ch; }
.section--white .lead { color: #444; }
.copy p + p { margin-top: 1em; }
.copy { max-width: 62ch; color: var(--sf-text-soft); }
.section--white .copy { color: #333; }
.copy strong { color: var(--sf-text); font-weight: 600; }
.text-center { text-align: center; }
.text-center .lead, .text-center .copy { margin-left: auto; margin-right: auto; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 28px; }
.mt-lg { margin-top: 40px; }
.mt-xl { margin-top: 56px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 30px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--green { background: var(--sf-green); border-color: var(--sf-green); color: var(--sf-black); }
.btn--green:hover { background: var(--sf-green-soft); border-color: var(--sf-green-soft); }
.btn--white { background: var(--sf-white); border-color: var(--sf-white); color: var(--sf-black); }
.btn--white:hover { background: #e6e6e6; border-color: #e6e6e6; }
.btn--outline { background: transparent; border-color: rgba(255, 255, 255, .85); color: var(--sf-white); }
.btn--outline:hover { background: var(--sf-white); color: var(--sf-black); border-color: var(--sf-white); }
.btn--outline-green { background: transparent; border-color: var(--sf-green); color: var(--sf-green); }
.btn--outline-green:hover { background: var(--sf-green); color: var(--sf-black); }
.btn--outline-black { background: transparent; border-color: var(--sf-black); color: var(--sf-black); }
.btn--outline-black:hover { background: var(--sf-black); color: var(--sf-white); }
.btn--black { background: var(--sf-black); border-color: var(--sf-black); color: var(--sf-white); }
.btn--black:hover { background: #262626; border-color: #262626; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 13px; }
.btn--lg { min-height: 60px; padding: 16px 40px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }
@media (max-width: 479px) {
  .btn-row .btn { flex: 1 1 100%; }
}
.text-link {
  display: inline-block;
  font-weight: 600;
  color: var(--sf-text);
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  padding-bottom: 2px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.text-link:hover { color: var(--sf-green); border-color: var(--sf-green); }
.text-link--green { color: var(--sf-green); border-color: rgba(79, 255, 139, .5); }
.text-link--green:hover { border-color: var(--sf-green); }
.section--white .text-link { color: var(--sf-black); border-color: rgba(0, 0, 0, .4); }
.section--white .text-link:hover { color: #1a7a43; border-color: #1a7a43; }

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--sf-black);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; height: 100%; }
.brand img { height: 30px; width: auto; }
@media (min-width: 768px) { .brand img { height: 34px; } }
.nav { display: none; align-items: center; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center;
  padding: 10px 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(248, 252, 255, .78);
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--sf-white); }
.header-actions { display: none; align-items: center; gap: 10px; }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header-actions { display: flex; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav a { padding: 10px 9px; font-size: 12px; letter-spacing: .06em; }
}
.nav-toggle {
  display: inline-grid;
  grid-template-columns: repeat(3, 6px);
  gap: 5px;
  padding: 12px;
  margin-right: -12px;
  min-width: 48px; min-height: 48px;
  place-content: center;
}
.nav-toggle span { width: 6px; height: 6px; border-radius: 50%; background: var(--sf-white); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 999;
  background: var(--sf-black);
  padding: 24px var(--gutter) 40px;
  overflow-y: auto;
  display: none;
  flex-direction: column;
}
.mobile-menu[data-open="true"] { display: flex; }
.mobile-menu nav a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--sf-border);
  font-size: 22px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
}
.mobile-menu .btn-row { margin-top: 28px; }
.mobile-menu .btn-row .btn { flex: 1 1 100%; }
.mobile-menu .menu-note { margin-top: 24px; color: var(--sf-text-muted); font-size: 15px; }
body[data-menu-open="true"] { overflow: hidden; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh; /* fallback for browsers without svh */
  min-height: clamp(560px, 100svh, 1000px);
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-h);
  background: var(--sf-black);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, .94) 0%, rgba(5, 5, 5, .6) 42%, rgba(5, 5, 5, .2) 100%);
}
.hero__content { position: relative; z-index: 1; width: 100%; padding-bottom: 96px; padding-top: 48px; }
.hero .lead { color: rgba(248, 252, 255, .92); margin-top: 22px; max-width: 46ch; }
.hero .btn-row { margin-top: 32px; }
.hero__member { margin-top: 26px; font-size: 15px; color: rgba(248, 252, 255, .78); }
.hero__member .text-link { color: var(--sf-white); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.hero__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--sf-green); flex: 0 0 auto; }

/* Desktop / landscape: copy sits on the dark wall at the left, the lit sign stays clear on the right */
@media (min-width: 1024px), (orientation: landscape) and (min-width: 768px) {
  .hero { align-items: center; }
  .hero__media img { object-position: 72% 20%; }
  .hero__media::after {
    background:
      linear-gradient(to right, rgba(5, 5, 5, .93) 0%, rgba(5, 5, 5, .86) 36%, rgba(5, 5, 5, .4) 54%, rgba(5, 5, 5, 0) 74%),
      linear-gradient(to top, rgba(5, 5, 5, .8) 0%, rgba(5, 5, 5, 0) 38%);
  }
  .hero__content { padding-bottom: 72px; }
  .hero__content > * { max-width: 560px; }
  .hero .h1 { font-size: clamp(52px, 6.2vw, 100px); max-width: 6.4em; }
}

/* ---- Intro ---- */
.intro { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .intro { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
}
.intro__aside { display: grid; gap: 28px; }
.facilities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--sf-border); }
.facilities li { padding: 16px 0; border-bottom: 1px solid var(--sf-border); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sf-text); }
.facilities li:nth-child(odd) { padding-right: 16px; }
@media (min-width: 480px) { .facilities { grid-template-columns: repeat(3, 1fr); } }
.intro__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sf-surface); }
.intro__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Gallery / explore ---- */
.gallery {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 42vw;
}
.gallery__item { position: relative; overflow: hidden; background: var(--sf-surface); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 44px 16px 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(248, 252, 255, .92);
  background: linear-gradient(to top, rgba(5, 5, 5, .85), rgba(5, 5, 5, 0));
}
.gallery__item--wide { grid-column: span 2; }
.gallery__item--big { grid-column: span 2; grid-row: span 2; }
.gallery__item--tall { grid-row: span 2; } /* also on phones, so the two small tiles stack beside it with no empty cell */
.gallery__item--pano { grid-column: span 2; }
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 22vw; gap: 10px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 2; }
  .gallery__item--big { grid-column: span 2; grid-row: span 2; }
  .gallery__item--pano { grid-column: span 4; }
  .gallery__item figcaption { padding: 56px 20px 18px; font-size: 13px; }
}
@media (min-width: 1280px) { .gallery { grid-auto-rows: 280px; } }

/* ---- How it works ---- */
.steps { display: grid; gap: 0; border-top: 1px solid var(--sf-border); }
.step { padding: 32px 0; border-bottom: 1px solid var(--sf-border); display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; }
.step__num { font-size: 15px; font-weight: 800; color: var(--sf-green); letter-spacing: .08em; padding-top: 6px; }
.step__title { font-size: clamp(26px, 4vw, 40px); }
.step p { margin-top: 12px; color: var(--sf-text-soft); max-width: 46ch; }
.step .text-link { margin-top: 16px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 0; }
  .step { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--sf-border); border-bottom: 0; padding-top: 28px; }
  .step__num { margin-bottom: 40px; }
}

/* ---- Feature split (training) ---- */
.split { display: grid; gap: 0; }
.split__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sf-surface); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body { padding: 48px var(--gutter); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; min-height: 640px; }
  .split__media { aspect-ratio: auto; }
  .split__body { display: flex; flex-direction: column; justify-content: center; padding: 72px clamp(40px, 6vw, 96px); }
  .split--flip .split__media { order: 2; }
}
.checklist { display: grid; gap: 18px; margin-top: 32px; }
.checklist li { display: grid; grid-template-columns: 14px 1fr; gap: 16px; align-items: start; }
.checklist li::before { content: ""; width: 14px; height: 2px; background: var(--sf-green); margin-top: 12px; }
.checklist strong { display: block; font-size: 17px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.checklist span { color: var(--sf-text-soft); font-size: 16px; }

/* ---- Photo tiles (experience) ---- */
.tiles { display: grid; gap: 8px; }
@media (min-width: 768px) { .tiles { grid-template-columns: 1fr 1fr; gap: 10px; } }
.tile {
  position: relative;
  min-height: 460px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 48px var(--gutter);
  background: var(--sf-surface);
  overflow: hidden;
}
@media (min-width: 768px) { .tile { min-height: 560px; } }
@media (min-width: 1200px) { .tile { min-height: 640px; } }
.tile__media { position: absolute; inset: 0; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile__media::after { content: ""; position: absolute; inset: 0; background: rgba(5, 5, 5, .55); }
.tile__body { position: relative; z-index: 1; max-width: 420px; }
.tile__title { font-size: clamp(32px, 5vw, 48px); }
.tile p { margin-top: 12px; font-size: 17px; font-weight: 600; color: var(--sf-white); }
.tile .btn { margin-top: 26px; }

/* ---- Free pass ---- */
.freepass { position: relative; overflow: hidden; }
.freepass__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .freepass__grid { grid-template-columns: 1.2fr .8fr; gap: 64px; } }
.freepass .h2 { font-size: clamp(40px, 8vw, 96px); }
.freepass .h2 span { display: block; color: var(--sf-green); }
.freepass__note { margin-top: 20px; font-size: 14px; color: var(--sf-text-muted); max-width: 48ch; }
.qr-card {
  display: none;
  background: var(--sf-white);
  color: var(--sf-black);
  padding: 24px;
  width: 100%;
  max-width: 300px;
  margin-left: auto;
}
.qr-card img { width: 100%; height: auto; }
.qr-card p { margin-top: 14px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.qr-card small { display: block; margin-top: 4px; font-size: 12px; color: #666; text-align: center; letter-spacing: 0; text-transform: none; font-weight: 400; }
@media (min-width: 900px) and (hover: hover) and (pointer: fine) { .qr-card { display: block; } }

/* ---- App ---- */
.app { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .app { grid-template-columns: 1fr 1fr; gap: 64px; } }
.app__phone { display: flex; justify-content: center; }
.app__phone img { width: min(360px, 80%); height: auto; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.badges a { display: inline-block; }
.badges img { height: 48px; width: auto; }
.badges .badge--play img { height: 48px; }
.app__qr { display: none; align-items: center; gap: 20px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--sf-border); }
.app__qr img { width: 140px; height: 140px; background: #fff; padding: 4px; }
.app__qr p { font-size: 14px; color: var(--sf-text-soft); max-width: 30ch; }
.app__qr strong { display: block; color: var(--sf-text); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; margin-bottom: 4px; }
@media (min-width: 900px) and (hover: hover) and (pointer: fine) { .app__qr { display: flex; } }

/* ---- Matchr strip ---- */
.matchr { display: grid; gap: 0; background: var(--sf-surface); border: 1px solid var(--sf-border); }
@media (min-width: 768px) { .matchr { grid-template-columns: 2fr 3fr; } }
.matchr__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sf-surface-2); }
@media (min-width: 768px) { .matchr__media { aspect-ratio: auto; min-height: 260px; } }
.matchr__media img { width: 100%; height: 100%; object-fit: cover; }
.matchr__body { padding: 28px 24px 32px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; }
@media (min-width: 768px) { .matchr__body { padding: 40px 44px; } }
.matchr__body p { color: var(--sf-text-soft); max-width: 48ch; }
.matchr__body .btn { margin-top: 8px; }

/* ---- Join band ---- */
.join { position: relative; overflow: hidden; text-align: center; }
.join__media { position: absolute; inset: 0; }
.join__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: blur(10px); transform: scale(1.08); }
.join__media::after { content: ""; position: absolute; inset: 0; background: rgba(5, 5, 5, .68); }
.join .container { position: relative; z-index: 1; }
.join .lead { margin-left: auto; margin-right: auto; }

/* ---- Location ---- */
.location { display: grid; gap: 40px; }
@media (min-width: 900px) { .location { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } }
.location__details { display: grid; gap: 28px; }
.detail { border-top: 1px solid var(--sf-border); padding-top: 18px; }
.detail h3 { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sf-text-muted); margin-bottom: 10px; }
.detail p, .detail address { font-size: 18px; line-height: 1.45; }
.detail .small { font-size: 15px; color: var(--sf-text-soft); margin-top: 6px; }
.map {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--sf-surface);
  border: 1px solid var(--sf-border);
  overflow: hidden;
}
@media (min-width: 900px) { .map { aspect-ratio: auto; min-height: 520px; height: 100%; } }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.map__facade {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center; padding: 24px;
  background:
    linear-gradient(rgba(14, 14, 14, .35), rgba(14, 14, 14, .35)),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, .05) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255, 255, 255, .05) 39px 40px);
}
.map__facade p { font-size: 14px; color: var(--sf-text-soft); max-width: 36ch; }
.map__pin { width: 18px; height: 18px; border-radius: 50%; background: var(--sf-green); box-shadow: 0 0 0 8px rgba(79, 255, 139, .18); margin-bottom: 6px; }
.map[data-loaded="true"] .map__facade { display: none; }

/* ---- FAQ ---- */
.faq { max-width: 860px; margin: 48px auto 0; border-top: 1px solid var(--sf-border); } /* own top margin: the shorthand used to cancel .mt-xl */
.faq details { border-bottom: 1px solid var(--sf-border); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0;
  font-size: 18px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 12px; height: 12px;
  border-right: 2px solid var(--sf-green); border-bottom: 2px solid var(--sf-green);
  transform: rotate(45deg);
  transition: transform .2s var(--ease);
  margin-right: 4px;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .answer { padding: 0 0 24px; color: var(--sf-text-soft); max-width: 70ch; }
.faq .answer p + p { margin-top: .8em; }

/* ---- Final CTA ---- */
.final { position: relative; overflow: hidden; text-align: center; }
.final__media { position: absolute; inset: 0; }
.final__media img { width: 100%; height: 100%; object-fit: cover; }
.final__media::after { content: ""; position: absolute; inset: 0; background: rgba(5, 5, 5, .7); }
.final .container { position: relative; z-index: 1; }
.final .h2 { font-size: clamp(44px, 9vw, 110px); }

/* ---- Footer (white, matching joinshredfast.com) ---- */
.site-footer { background: var(--sf-white); color: var(--sf-black); padding: 64px 0 32px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.1fr 1.1fr 1fr 1.3fr; gap: 48px; } }
.footer-col h3 { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 16px; font-weight: 600; color: var(--sf-black); }
.footer-col a:hover { color: #1a7a43; }
.footer-col .btn { margin-top: 22px; }
.social { display: flex; gap: 22px; margin-top: 26px; }
.social a { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; }
.social img { width: 26px; height: 26px; }
.footer-app { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; }
.footer-app img.phone { width: 120px; }
.footer-app p { font-size: 15px; color: #333; }
.footer-app .badges { margin-top: 16px; }
.footer-app .badges img { height: 40px; }
.footer-bottom {
  margin-top: 56px; padding-top: 28px;
  border-top: 1px solid #e3e3e3;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.footer-bottom img { height: 30px; width: auto; }
.footer-bottom .tagline { margin-top: 12px; font-size: 14px; color: #333; }
.legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.legal a { font-size: 14px; font-weight: 600; color: var(--sf-black); }
.legal a:hover { color: #1a7a43; }
.legal .muted { font-size: 14px; color: #595959; }
.footer-meta { width: 100%; margin-top: 8px; font-size: 13px; color: #595959; }

/* ---- Sticky mobile CTA ---- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--sf-border);
  border-top: 1px solid var(--sf-border);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(100%);
  transition: transform .25s var(--ease);
}
.sticky-cta[data-visible="true"] { transform: translateY(0); }
.sticky-cta a { border-radius: 0; min-height: 60px; font-size: 14px; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }
body[data-menu-open="true"] .sticky-cta { transform: translateY(100%); }

/* ---- Utilities ---- */
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: initial; } }
.only-mobile { display: initial; }
@media (min-width: 768px) { .only-mobile { display: none; } }

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

/* Footer socials: one column, two clearly labelled groups (local first, then the main brand) */
.footer-col--social h3 { margin-bottom: 0; }
.social-group { margin-top: 20px; }
.social-group + .social-group { margin-top: 26px; padding-top: 22px; border-top: 1px solid #e3e3e3; max-width: 220px; }
.social-group__title { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #6b6b6b; margin: 0 0 8px; }
.social-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.social-link img { width: 28px; height: 28px; }
.footer-col--social .social { margin-top: 0; gap: 8px; margin-left: -8px; }
.footer-col--social .social a { width: 44px; height: 44px; transition: opacity .2s var(--ease); }
.footer-col--social .social a:hover, .social-link:hover img { opacity: .65; }
.footer-col--social .social img { height: 28px; width: auto; }

/* Intro photo caption */
.intro__figure figcaption { margin-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sf-text-muted); }

/* ---- Tap targets: every link is at least 44px tall on touch layouts, without changing how it looks ---- */
.text-link { position: relative; }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; top: -10px; bottom: -10px; }
@media (max-width: 1023px) {
  .footer-col ul { gap: 0; }
  .footer-col ul a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-col .btn { margin-top: 14px; }
  .legal { gap: 0 22px; }
  .legal a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-app .badges img { height: 44px; }
}

/* Footer socials: stacked local accounts (Instagram, Google) */
.social-group .social-link { display: flex; width: fit-content; }
.social-group .social-link + .social-link { margin-top: 2px; }

/* ---- Combined Free Pass + App section ---- */
.passapp__grid { display: grid; gap: 40px; align-items: start; }
.passapp__title { font-size: clamp(40px, 8vw, 96px); }
.passapp__title span { display: block; color: var(--sf-green); }
.passapp__app { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--sf-border); }
.passapp__app .eyebrow { margin-bottom: 12px; }
.passapp__subtitle { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: -.01em; }
.passapp__app p { margin-top: 14px; color: var(--sf-text-soft); max-width: 52ch; }
.passapp__side { display: none; }
.passapp .qr-card { display: block; margin: 0 auto; max-width: 260px; }
/* the phone mockup and QR are for people at a desk: a phone cannot scan its own screen */
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .passapp__grid { grid-template-columns: 1.2fr .8fr; gap: 72px; }
  .passapp__side { display: grid; gap: 32px; justify-items: center; position: sticky; top: calc(var(--header-h) + 32px); }
  .passapp__phone { width: min(300px, 100%); height: auto; }
}

/* ---- Map: links sit under the map so they are still there after it loads ---- */
.map-wrap { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.map-wrap .map { flex: 1 1 auto; }
.map__links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }

/* ---- Hero video (added by js/main.js after the page has loaded; the photo stays as the poster) ----
   Phones: the portrait clip fills the hero behind the copy.
   Desktop: the same portrait clip sits in a panel to the right of the headline, uncropped, so nothing looks blown up. */
.hero__videowrap { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .8s var(--ease); pointer-events: none; }
.hero__media.is-playing .hero__videowrap { opacity: 1; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.hero__videowrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 5, 5, .94) 0%, rgba(5, 5, 5, .6) 42%, rgba(5, 5, 5, .2) 100%); }
@media (min-width: 1024px), (orientation: landscape) and (min-width: 768px) {
  .hero__videowrap { left: auto; right: 0; width: 46%; }
  .hero__video { object-position: center 55%; }
  .hero__videowrap::after {
    background:
      linear-gradient(to right, rgba(5, 5, 5, 1) 0%, rgba(5, 5, 5, 0) 26%),
      linear-gradient(to top, rgba(5, 5, 5, .85) 0%, rgba(5, 5, 5, 0) 30%),
      linear-gradient(to bottom, rgba(5, 5, 5, .5) 0%, rgba(5, 5, 5, 0) 22%);
  }
}
@media (min-width: 1440px) { .hero__videowrap { width: 42%; } }
.hero__controls { position: absolute; right: var(--gutter); bottom: 22px; z-index: 2; display: flex; gap: 8px; }
.hero__controls[hidden] { display: none; }
@media (min-width: 768px) { .hero__controls { bottom: 28px; } }
.hero__ctrl {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; min-height: 40px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(248, 252, 255, .85); background: rgba(5, 5, 5, .45); border: 1px solid rgba(248, 252, 255, .35); border-radius: var(--radius);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.hero__ctrl:hover { color: var(--sf-white); border-color: var(--sf-white); }
.hero__ctrl::before { content: ""; flex: 0 0 auto; }
/* pause icon: two bars; when paused, a play triangle */
.hero__ctrl--pause::before { width: 10px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hero__ctrl--pause[aria-pressed="true"]::before { border: 0; width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid currentColor; }
/* sound icon: a small speaker; when sound is on it gets the green accent */
.hero__ctrl--sound::before { width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-right: 9px solid currentColor; }
.hero__ctrl--sound[aria-pressed="true"] { color: var(--sf-green); border-color: rgba(79, 255, 139, .6); }

/* ---- Gallery video tile ---- */
.gallery__video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--sf-surface); cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .hero__videowrap { display: none; } }

/* ---- Session video section (reuses the hero clip, which the browser has already downloaded) ---- */
.session { background: var(--sf-black); }
.session__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .session__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.session__media { display: grid; justify-items: center; gap: 14px; }
.session__frame { position: relative; width: min(100%, 420px); aspect-ratio: 9 / 16; background: var(--sf-surface); border: 1px solid var(--sf-border); overflow: hidden; }
@media (min-width: 900px) { .session__frame { width: min(100%, 380px); } }
@media (min-width: 1200px) { .session__frame { width: min(100%, 400px); } }
.session__frame img, .session__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.session__frame video { opacity: 0; transition: opacity .6s var(--ease); }
.session__frame.is-playing video { opacity: 1; }
.video-controls { display: flex; gap: 8px; }
.video-controls[hidden] { display: none; }

/* ---- Manual play controls (shown when autoplay is refused or switched off by the visitor's settings) ---- */
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(5, 5, 5, .55); border: 2px solid var(--sf-green);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.video-play::before { content: ""; position: absolute; left: 55%; top: 50%; transform: translate(-50%, -50%); width: 0; height: 0; border-top: 13px solid transparent; border-bottom: 13px solid transparent; border-left: 22px solid var(--sf-green); }
.video-play:hover { background: var(--sf-green); transform: translate(-50%, -50%) scale(1.04); }
.video-play:hover::before { border-left-color: var(--sf-black); }
.video-play[hidden] { display: none; }

.gallery__vbtn {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(5, 5, 5, .6); border: 1px solid rgba(248, 252, 255, .5);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.gallery__vbtn::before { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid #fff; }
.gallery__vbtn.is-playing::before { left: 50%; width: 10px; height: 14px; border: 0; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.gallery__vbtn:hover { border-color: var(--sf-green); }
.gallery__item figcaption { padding-right: 68px; }
