/* M.V.P. – Movement. Vitality. Performance.
   Hand-built replacement for the Squarespace site. Plain CSS, no build step. */

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/hanken-grotesk-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #000;
  --white: #fff;
  --red: #b00000;
  --grey: #808080;
  --font: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: max(16px, 2vw);
  --max: 1500px;
  --fs-body: 17px;
  --fs-small: 15.3px;
  --fs-h1: clamp(28px, 3.55vw, 51px);   /* big headings   */
  --fs-h2: clamp(22px, 2.36vw, 34px);   /* medium headings */
  --fs-h3: clamp(20px, 1.8vw, 25.5px);  /* sub-headings   */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: .035em;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 900; letter-spacing: .01em; line-height: 1.15; }
strong, b { font-weight: 800; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.justify { text-align: justify; hyphens: auto; }
.small { font-size: var(--fs-small); }
.red { color: var(--red); }
.h-xl { font-size: var(--fs-h1); }
.h-lg { font-size: var(--fs-h2); }
.h-md { font-size: var(--fs-h3); }
.light { font-weight: 300; }
.upper { text-transform: uppercase; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  background: var(--black);
  color: var(--white);
  position: relative;
  z-index: 20;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
}
.logo img { width: clamp(170px, 30vw, 432px); }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 38px); }
.site-nav a { text-decoration: none; padding: 2px 0; }
.site-nav a[aria-current="page"], .site-nav a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.site-nav .nav-instagram svg { width: 24px; height: 24px; display: block; }
.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px; margin-right: -8px;
  color: var(--white); cursor: pointer;
}
.nav-toggle svg { width: 30px; height: 30px; display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 28px;
    background: var(--black);
    font-size: 28px;
    opacity: 0; visibility: hidden;
    transition: opacity .25s, visibility .25s;
  }
  .menu-open .site-nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .nav-toggle { position: relative; z-index: 30; }
}

/* ---------- Curved section edges ---------- */
.curved { position: relative; }
.curve {
  position: absolute; left: 0; bottom: -1px;
  width: 100%; height: var(--curve-h, 5.5vw);
  display: block; pointer-events: none;
}
.curve.flip { transform: scaleX(-1); }

/* ---------- Hero bands (black, centred heading) ---------- */
.band {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: clamp(40px, 6vw, 80px) 0 calc(var(--curve-h, 5.5vw) + clamp(40px, 6vw, 90px));
}
.band h1 { font-size: var(--fs-h1); }
.band h1 span { display: block; }

/* Home hero with photo */
.hero-photo {
  position: relative;
  min-height: clamp(420px, 50vw, 722px);
  display: grid; place-items: center;
  color: var(--white); text-align: center;
  background: var(--black) url(/images/hero-barbell.webp) center / cover no-repeat;
  padding: 60px 0 calc(var(--curve-h) + 40px);
}
.hero-photo::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.hero-photo .wrap { position: relative; }
.hero-photo h1 span { display: block; }
.hero-photo .big { font-size: var(--fs-h1); }
.hero-photo .mid { font-size: var(--fs-h2); margin: 1em 0 2.4em; }
.hero-photo .mid:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  min-width: 177px;
  padding: 22px 44px;
  border: 0; border-radius: 50px;
  background: var(--black); color: var(--white);
  font: inherit; font-size: 17px; letter-spacing: .1em; line-height: 1.5;
  text-align: center; text-decoration: none;
  cursor: pointer;
  transition: opacity .2s;
}
.btn:hover { opacity: .8; }
.btn.inverse { background: var(--white); color: var(--black); }
.btn.wide { min-width: min(334px, 100%); }
.btn[disabled] { opacity: .5; cursor: wait; }

/* ---------- Layout helpers ---------- */
.section { padding-block: clamp(50px, 5vw, 75px); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4.7vw, 68px); align-items: start; }
@media (max-width: 767px) { .two-col { grid-template-columns: 1fr; } .photo-grid { margin-top: 0; } }

/* ---------- Home: approach ---------- */
.approach h2 { margin-bottom: 18px; }
.approach hr { border: 0; border-top: 1px solid var(--grey); margin: 0 0 26px; }
.approach .text p { font-size: var(--fs-small); }
.approach .text .challenge { font-size: var(--fs-h3); margin: 70px 0 36px; }
.photo-grid { margin-top: 163px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.photo-grid img { width: 100%; aspect-ratio: 334 / 355; object-fit: cover; }
.photo-grid img:nth-child(n+3) { aspect-ratio: 334 / 315; }

/* ---------- Home: offers ---------- */
.offers h2 { margin-bottom: 30px; }
.offers .cols {
  display: grid; grid-template-columns: repeat(2, minmax(0, 334px));
  justify-content: center; column-gap: clamp(40px, 16.7vw, 240px); row-gap: 50px;
}
.offers .icon { height: 200px; display: grid; place-items: end center; margin-bottom: 44px; }
.offers .icon img { max-height: 200px; width: auto; }
.offers h3 { font-size: var(--fs-h2); font-weight: 300; text-align: center; margin-bottom: 30px; }
.offers .more { text-align: center; margin-top: 30px; }
@media (max-width: 767px) { .offers .cols { grid-template-columns: minmax(0, 420px); } }

/* ---------- Black info panel + map ---------- */
.info-map { display: grid; grid-template-columns: 42% 58%; }
.info-map .panel {
  background: var(--black); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 50px var(--gutter);
}
.map { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
@media (max-width: 767px) {
  .info-map { grid-template-columns: 1fr !important; }
  .map { min-height: 380px; }
}
.hours-card { display: grid; justify-items: center; gap: 10px; font-size: var(--fs-small); margin: 30px 0 40px; }
.hours-card img { width: 64px; }
.hours-card .gap { height: 24px; }
.hours-card p { margin: 0; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--black); color: var(--white); padding-block: 90px 110px; }
.testimonials h2 { font-size: var(--fs-h1); font-weight: 300; text-align: center; margin-bottom: 60px; }
.carousel { position: relative; }
.carousel-track {
  --per-view: 4;
  --gap: clamp(16px, 4vw, 59px);
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  column-gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.card {
  margin: 0;
  scroll-snap-align: start;
  background: var(--white); color: var(--black);
  padding: 22px 22px 26px; text-align: center;
}
.card img { width: 86px; height: 86px; border-radius: 50%; object-fit: cover; margin: 0 auto 40px; }
.card blockquote { margin: 0 0 12px; font-size: 20.4px; line-height: 1.3; letter-spacing: .02em; }
.card cite { font-style: normal; font-size: var(--fs-small); letter-spacing: 0; }
.carousel button {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .85); color: var(--black);
  display: grid; place-items: center; cursor: pointer;
}
.carousel button svg { width: 22px; height: 22px; }
.carousel .prev { left: -8px; }
.carousel .next { right: -8px; }
@media (max-width: 1100px) { .carousel-track { --per-view: 3; } }
@media (max-width: 860px)  { .carousel-track { --per-view: 2; } }
@media (max-width: 560px)  { .carousel-track { --per-view: 1; } }

/* ---------- Services ---------- */
.intro { display: grid; grid-template-columns: 678fr 621fr; gap: clamp(28px, 4.7vw, 68px); }
.intro h2 { text-align: center; margin-bottom: 24px; }
.intro .step { margin-bottom: 70px; }
.intro .step h3 { color: var(--red); font-size: var(--fs-h3); font-weight: 800; margin-bottom: 16px; }
.intro .price { color: var(--red); text-align: center; font-size: var(--fs-h2); margin: -10px 0 40px; }
.intro .photos { display: grid; gap: 52px; align-content: start; }
.intro .photos img { width: 100%; object-fit: cover; }
@media (max-width: 767px) { .intro { grid-template-columns: 1fr; } }

.banner { height: clamp(200px, 23vw, 332px); }
.banner img { width: 100%; height: 100%; object-fit: cover; }

.features h2 { text-align: center; margin-bottom: 44px; }
.features .grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4.7vw, 68px); row-gap: 30px; }
.features h3 { color: var(--red); font-size: var(--fs-h3); font-weight: 800; text-align: center; margin-bottom: 14px; }
@media (max-width: 767px) { .features .grid { grid-template-columns: 1fr; } }

.pricing { text-align: center; }
.pricing h2 { color: var(--red); font-size: var(--fs-h2); margin-bottom: 40px; }
.pricing .plans { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pricing h3 { font-size: var(--fs-h2); margin-bottom: 36px; }
.tier { margin-bottom: 48px; }
.tier .sessions, .tier .rate { font-size: var(--fs-h3); font-weight: 800; margin: 0; line-height: 1.4; }
.tier .rate { color: var(--red); }
.tier .total { font-size: var(--fs-small); margin: 10px 0 0; }
.pricing .notes { max-width: 868px; margin: 0 auto 50px; padding-left: 1.2em; font-size: var(--fs-small); }
.pricing .notes li { margin-bottom: 18px; }
@media (max-width: 767px) { .pricing .plans { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.meet { display: grid; grid-template-columns: 506fr 861fr; gap: clamp(28px, 4.7vw, 68px); align-items: start; }
.meet h2 { font-size: var(--fs-h1); font-weight: 300; text-align: center; margin-bottom: 24px; }
.meet img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-top: 88px; }
@media (max-width: 767px) { .meet { grid-template-columns: 1fr; } .meet img { margin-top: 0; order: 2; } }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trio img { width: 100%; aspect-ratio: 448 / 437; object-fit: cover; }
.studio-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px 3%; }
.studio-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 767px) {
  .trio { grid-template-columns: 1fr; }
  .studio-gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
}

.statement { background: var(--black); color: var(--white); text-align: center; padding: 50px 0; }
.statement p { font-size: var(--fs-h2); font-weight: 800; letter-spacing: .02em; line-height: 1.2; margin: 0; }
.statement p + p { margin-top: 30px; }

.info-map.about { grid-template-columns: 1fr 1fr; gap: 11px; }
.info-map.about .map { min-height: 738px; }
.info-map.about .panel { font-size: clamp(18px, 1.6vw, 23px); }
.info-map.about .panel .pin { width: 100px; margin-bottom: 30px; }
.info-map.about .panel .clock { width: 131px; margin: 60px 0 30px; }
.info-map.about .panel p { margin: 0 0 16px; }

/* ---------- Forms ---------- */
.form-intro { text-align: center; }
.form-intro h2 { font-size: var(--fs-h2); margin-bottom: 20px; }
.form-intro p { font-size: var(--fs-small); margin-bottom: 50px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 10px; }
.contact-form .field { display: grid; gap: 6px; grid-column: 1 / -1; }
.contact-form .field.half { grid-column: auto; }
.contact-form label { font-size: 12px; }
.contact-form label .req { opacity: .6; margin-left: 4px; }
.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; font-size: 16px; letter-spacing: .03em;
  padding: 10px; border-radius: 0;
  background: #fafafa; color: var(--black); border: 1px solid #a9a9a9;
}
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--black); outline-offset: 1px; }
.contact-form .actions { grid-column: 1 / -1; margin-top: 4px; }
.contact-form .hp { display: none; }
.form-status { grid-column: 1 / -1; margin: 0; font-size: var(--fs-small); }
.form-status:empty { display: none; }
.form-done .field, .form-done .actions { display: none; }
.form-done .form-status { font-size: var(--fs-body); }
@media (max-width: 560px) { .contact-form .field.half { grid-column: 1 / -1; } }

/* dark variant (About page) */
.form-box { background: var(--black); color: var(--white); max-width: 597px; margin: 0 auto; padding: 40px 34px 44px; }
.form-box .contact-form input, .form-box .contact-form textarea { background: var(--black); color: var(--white); border-color: #3a3a3a; }
.form-box .contact-form input:focus, .form-box .contact-form textarea:focus { outline-color: var(--white); }
.form-box .contact-form textarea { min-height: 150px; }
.form-box .actions { text-align: center; }
.form-box .btn { min-width: 0; padding: 18px 36px; }

/* ---------- Contact page ---------- */
.contact-top { display: grid; grid-template-columns: 621fr 678fr; gap: clamp(28px, 4.7vw, 68px); align-items: start; }
.contact-top h2 { margin-bottom: 40px; }
.contact-top .btn { min-width: 146px; padding: 22px 36px; }
.oval { width: min(391px, 100%); aspect-ratio: 391 / 559; object-fit: cover; border-radius: 500px; margin: 80px auto 0; }
@media (max-width: 767px) { .contact-top { grid-template-columns: 1fr; } .oval { margin-top: 10px; width: min(300px, 80%); } }

.info-map.contact { grid-template-columns: 660fr 764fr; }
.info-map.contact .map { min-height: 1210px; }
.info-map.contact .panel { font-size: var(--fs-small); justify-content: flex-start; padding-top: 85px; }
.visit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; max-width: 620px; align-items: start; }
.visit .icon { height: 112px; display: grid; place-items: center; margin-bottom: 8px; }
.visit .icon img { max-height: 104px; width: auto; }
.visit p { margin: 0; }
.by-appointment { margin: 18px 0 0; }
.transport { margin-top: 100px; display: grid; gap: 70px; }
.transport .icon { height: 70px; width: auto; margin: 0 auto 12px; }
.transport h3 { font-size: var(--fs-small); font-weight: 800; letter-spacing: .05em; margin-bottom: 16px; }
.transport p { margin: 0 0 16px; }
.line-c { color: #fa0101; } .line-b { color: #f3ff01; } .line-a { color: #00fa51; }
@media (max-width: 767px) {
  .info-map.contact .map { min-height: 380px; }
  .info-map.contact .panel { padding-block: 50px; }
  .visit { grid-template-columns: 1fr; gap: 36px; }
  .transport { margin-top: 60px; gap: 44px; }
}

/* ---------- Footer ---------- */
.pre-footer { --curve-h: 3vw; height: max(60px, 6vw); }
.site-footer { background: var(--black); color: var(--white); text-align: center; padding: 90px 0 60px; }
.site-footer p { margin: 0 0 12px; }
.site-footer img { width: 205px; margin: 0 auto; }

/* ---------- Links page ---------- */
.links-page { background: var(--black); color: var(--white); min-height: 100vh; text-align: center; padding: 90px 0 120px; }
.links-page .logo-big { width: min(683px, 90%); margin: 0 auto 70px; }
.links-page ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 80px; }
.links-page a { text-decoration: none; display: inline-grid; justify-items: center; gap: 36px; font-size: 15px; font-weight: 400; letter-spacing: .1em; }
.links-page a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.links-page a img { width: 60px; }
.nav-toggle .icon-close, .menu-open .nav-toggle .icon-open { display: none; }
.menu-open .nav-toggle .icon-close { display: block; }
@media (max-width: 767px) { .justify { text-align: left; } }
