:root {
  --header-height: 4.25rem;
  --page-x: 1.5rem;
}

@media (width >= 768px) {
  :root {
    --header-height: 4rem;
    --page-x: 2rem;
  }
}

@media (width >= 1024px) {
  :root {
    --page-x: 2.5rem;
  }
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 0.75rem);
}

.text-stroke.text-stroke--white {
  -webkit-text-stroke: 1.5px rgb(242 242 244);
  color: transparent;
  paint-order: stroke fill;
}

@media (width >= 768px) {
  .text-stroke.text-stroke--white {
    -webkit-text-stroke-width: 2px;
  }
}

main[id] {
  scroll-margin-top: 0;
}

/* ── Header ── */

.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgb(10 10 12 / 0.82);
  border-bottom: 1px solid rgb(242 242 244 / 0.08);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  width: 100%;
  max-width: 72rem;
  height: var(--header-height);
  margin: 0 auto;
  padding: 0 var(--page-x);
}

.site-logo {
  flex-shrink: 0;
}

.site-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.site-header__nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgb(242 242 244 / 0.68);
}

.site-header__nav a {
  transition: color 0.2s ease;
}

.site-header__nav a:hover {
  color: rgb(228 2 43);
}

.site-header__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgb(242 242 244 / 0.85);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-nav-open .site-header__toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.is-nav-open .site-header__toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .site-header__toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-header__mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  z-index: 40;
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem var(--page-x) 1.25rem;
  background: rgb(10 10 12 / 0.97);
  border-bottom: 1px solid rgb(242 242 244 / 0.1);
  backdrop-filter: blur(12px);
}

.site-header.is-nav-open .site-header__mobile-nav {
  display: flex;
}

.site-header__mobile-nav a {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgb(242 242 244 / 0.08);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(242 242 244 / 0.75);
}

.site-header__mobile-nav a:last-child {
  border-bottom: 0;
}

.site-header__mobile-nav a:hover {
  color: rgb(228 2 43);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.95rem;
  font-family: "Saira Condensed", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.lang-switch {
  margin-right: 0.35rem;
}

.site-header .lang-switch button {
  padding: 0.42rem 0.62rem;
  font-size: 0.68rem;
}

@media (width >= 1024px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
  }

  .site-logo img {
    height: 34px;
  }

  .site-header__nav {
    display: flex;
    gap: 1.35rem;
    font-size: 0.8rem;
  }

  .site-header__toggle,
  .site-header__mobile-nav {
    display: none !important;
  }

  .site-header__cta {
    padding: 0.48rem 0.9rem;
    font-size: 0.74rem;
  }

  .site-header .lang-switch button {
    padding: 0.4rem 0.6rem;
    font-size: 0.68rem;
  }
}

@media (width < 1024px) {
  .site-header__cta {
    padding: 0.45rem 0.8rem;
    font-size: 0.68rem;
  }
}

/* ── Hero banner ── */

.hero-banner {
  position: relative;
  min-height: clamp(22rem, 62vh, 34rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: var(--header-height);
}

.hero-banner__media {
  position: absolute;
  inset: 0;
  background: rgb(10 10 12);
}

.hero-banner__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-banner__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgb(10 10 12 / 0.94) 0%, rgb(10 10 12 / 0.5) 40%, rgb(10 10 12 / 0.12) 100%),
    linear-gradient(to right, rgb(10 10 12 / 0.82) 0%, rgb(10 10 12 / 0.4) 45%, transparent 72%);
}

.hero-banner__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.hero-banner__copy {
  max-width: 36rem;
}

.hero-banner__title {
  font-size: clamp(2.4rem, 9.5vw, 4.75rem);
}

.hero-banner__body {
  margin-top: 1rem;
  max-width: 28rem;
  color: rgb(242 242 244 / 0.72);
  font-size: 0.95rem;
  line-height: 1.55;
}

.hero-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.hero-banner__quote {
  margin-top: 1.25rem;
  color: rgb(242 242 244 / 0.42);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (width >= 768px) {
  .hero-banner {
    min-height: clamp(22rem, 38vw, 36rem);
    align-items: flex-end;
  }

  .hero-banner__img {
    object-fit: cover;
    object-position: center 42%;
  }

  .hero-banner__overlay {
    background:
      linear-gradient(to top, rgb(10 10 12 / 0.93) 0%, rgb(10 10 12 / 0.55) 32%, rgb(10 10 12 / 0.08) 62%, transparent 100%),
      linear-gradient(to right, rgb(10 10 12 / 0.88) 0%, rgb(10 10 12 / 0.45) 32%, transparent 58%);
  }

  .hero-banner__content {
    padding-top: 2.5rem;
    padding-bottom: 2.75rem;
  }

  .hero-banner__copy {
    max-width: 34rem;
  }

  .hero-banner__title {
    font-size: clamp(2.75rem, 4.8vw, 4.25rem);
  }

  .hero-banner__body {
    margin-top: 1.15rem;
    font-size: 1rem;
    max-width: 30rem;
  }

  .hero-banner__actions {
    margin-top: 1.5rem;
  }

  .hero-banner__quote {
    margin-top: 1.35rem;
    font-size: 0.82rem;
  }
}

@media (width >= 1024px) {
  .hero-banner {
    min-height: clamp(24rem, 34vw, 38rem);
  }

  .hero-banner__overlay {
    background:
      linear-gradient(to top, rgb(10 10 12 / 0.9) 0%, rgb(10 10 12 / 0.42) 28%, transparent 58%),
      linear-gradient(to right, rgb(10 10 12 / 0.92) 0%, rgb(10 10 12 / 0.35) 28%, transparent 50%);
  }

  .hero-banner__copy {
    max-width: 38rem;
  }

  .hero-banner__title {
    font-size: clamp(3rem, 3.8vw, 4.5rem);
  }
}

/* ── Stats bar ── */

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
  text-align: center;
}

.stats-bar__grid .display {
  font-size: clamp(2.25rem, 8vw, 4.5rem);
  line-height: 1;
}

.stats-bar__grid .mt-1 {
  font-size: 0.62rem;
  line-height: 1.35;
}

@media (width >= 768px) {
  .stats-bar__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.25rem;
  }

  .stats-bar__grid .mt-1 {
    font-size: 0.68rem;
  }
}

@media (width >= 1024px) {
  .stats-bar__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

/* ── Gym collage ── */

.gym-collage img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(820px, 75vh);
  margin: 0 auto;
  object-fit: contain;
}

/* ── Footer ── */

.site-footer {
  border-top: 1px solid rgb(242 242 244 / 0.1);
  padding-block: 1.25rem;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

.site-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-footer__tagline {
  color: rgb(242 242 244 / 0.4);
  font-size: 0.72rem;
  line-height: 1.35;
}

.site-footer__copy {
  color: rgb(242 242 244 / 0.28);
  font-size: 0.65rem;
  line-height: 1.35;
}

@media (width >= 768px) {
  .site-footer {
    padding-block: 1.5rem;
  }

  .site-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
  }

  .site-footer__meta {
    align-items: flex-end;
    text-align: right;
  }
}

.site-logo--footer img {
  width: 84px;
  height: auto;
  display: block;
}

@media (width >= 768px) {
  .site-logo--footer img {
    width: 92px;
  }
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.4rem;
  margin-top: 2.5rem;
}

.contact-actions .btn-blood,
.contact-actions .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  padding: 0.7rem 0.3rem;
  font-size: clamp(0.55rem, 2.35vw, 0.75rem);
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

@media (width >= 640px) {
  .contact-actions {
    gap: 0.6rem;
  }

  .contact-actions .btn-blood,
  .contact-actions .btn-line {
    padding: 0.85rem 0.5rem;
    font-size: clamp(0.62rem, 1.4vw, 0.75rem);
  }
}

@media (width >= 768px) {
  .contact-actions {
    gap: 0.75rem;
    margin-top: 2.5rem;
  }

  .contact-actions .btn-blood,
  .contact-actions .btn-line {
    padding: 0.9rem 0.65rem;
    font-size: clamp(0.68rem, 0.95vw, 0.875rem);
  }
}

@media (width >= 1024px) {
  .contact-actions .btn-blood,
  .contact-actions .btn-line {
    padding: 1rem 0.85rem;
    font-size: 0.875rem;
  }
}
