/* ==========================================================================
   The Gym A Plus — landing page
   Values are taken from the Figma frame "1440w light" (1440px wide).
   Fluid sizes are written as clamp(min, vw, design value) so the page
   matches the design exactly at 1440px and scales below it.
   ========================================================================== */

:root {
  --black: #050505;
  --bg-1: #060606;
  --bg-2: #070707;
  --bg-3: #0a0a0a;
  --ink: #0b0b0b;
  --white: #fff;
  --paper: #f7f7f5;

  --red: #c7141a;
  --coral: #ff7068;
  --coral-bright: #ff665e;

  --grey-38: #5f5f64;
  --grey-39: #616166;
  --grey-41: #66666a;
  --grey-42: #69696e;
  --muted: #717174;
  --grey-47: #77777b;
  --grey-56: #8d8d92;
  --grey-61: #99999c;
  --grey-63: #9e9ea3;
  --grey-70: #b0b0b4;
  --grey-72: #b6b6ba;

  --line-dark: rgba(12, 12, 12, 0.15);
  --line-light: rgba(255, 255, 255, 0.22);
  --line-footer: rgba(255, 255, 255, 0.18);
  --seam: rgba(255, 255, 255, 0.3);

  --gutter: max(20px, 7vw);
  --header-h: 70px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Base ------------------------------------------------------------------- */

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

[hidden] {
  display: none !important;
}

/* Scrollbars: dark track, slim rounded thumb, coral on hover, brand red while dragging.
   Chromium and Safari use the ::-webkit-scrollbar rules; Firefox gets scrollbar-color. */

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--black);
  border-radius: 10px;
  background: #3a3a3e;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--coral);
}

::-webkit-scrollbar-thumb:active {
  background: var(--red);
}

::-webkit-scrollbar-corner {
  background: var(--black);
}

@supports (-moz-appearance: none) {
  html {
    scrollbar-color: #3a3a3e var(--black);
    scrollbar-width: thin;
  }
}

::selection {
  background: var(--red);
  color: var(--white);
}

body {
  margin: 0;
  background: var(--bg-2);
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

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

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

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

[id] {
  scroll-margin-top: var(--header-h);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

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

.micro-label {
  font-size: 10px;
  line-height: 12px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.micro-label--red {
  color: var(--red);
}

.micro-label--coral {
  color: var(--coral);
}

.display-2 {
  font-size: clamp(40px, 6.0972vw, 87.8px);
  line-height: 0.9404;
  font-weight: 640;
  letter-spacing: -0.072em;
}

/* Shared controls -------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.btn img,
.text-link img,
.lead-submit img {
  flex: none;
  transition: transform 0.25s var(--ease);
}

.btn:hover img,
.lead-submit:hover img {
  transform: translateX(3px);
}

.btn--light {
  background: var(--white);
  color: #000;
}

.btn--light:hover {
  background: #e6e6e3;
}

.btn--caps,
.btn-text--caps {
  font-size: 11px;
  line-height: 16.5px;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  text-underline-offset: 4px;
  transition: color 0.2s;
}

.btn-text:hover {
  text-decoration: underline;
}

.btn-text--caps {
  min-height: 52px;
  color: rgba(255, 255, 255, 0.8);
}

.btn-text--muted {
  min-height: 52px;
  color: var(--grey-70);
}

.btn-text--caps:hover,
.btn-text--muted:hover {
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 19.5px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.text-link:hover img {
  transform: translate(2px, -2px);
}

.pill-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  font-size: 11px;
  line-height: 16.5px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}

.pill-button:hover {
  background: var(--white);
  color: #000;
}

/* Header ----------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 4vw;
  transition: background-color 0.3s, backdrop-filter 0.3s;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-header__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.site-header__logo {
  justify-self: start;
  width: 56px;
  filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.2));
}

.site-header__logo img {
  width: 56px;
  height: auto;
}

.site-nav__list {
  display: flex;
  gap: 29px;
}

.site-nav a {
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.site-nav a:hover {
  opacity: 0.65;
}

.site-header__cta {
  justify-self: end;
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.menu-toggle__bar {
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.25s var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding: 24px var(--gutter) 40px;
  background: var(--black);
  overflow-y: auto;
}

.menu-open .site-header {
  background: var(--black);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__list {
  width: 100%;
  border-top: 1px solid var(--line-light);
}

.mobile-menu__list a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 630;
  letter-spacing: -0.04em;
}

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  z-index: 2;
  min-height: max(100svh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 48px) var(--gutter) 72px;
  background: var(--black);
}

/* Background layers are clipped to the hero, so the scroll note sits under
   the bottom fade exactly as it does in the design. */
.hero__backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* Background video sits over the photo, which shows until the first frame loads. */
.hero__video {
  pointer-events: none;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.16) 64%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 55%);
}

.hero__fade {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 73px;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}

.hero__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  max-width: 930px;
  padding-bottom: 21px;
}

.hero__badge {
  width: 76px;
  height: auto;
}

.hero__label {
  padding-top: 6px;
}

.hero__title {
  font-size: clamp(46px, 7.5vw, 108px);
  line-height: 0.8796;
  font-weight: 700;
  letter-spacing: -0.078em;
}

.hero__title span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
}

.hero__lead {
  max-width: 530px;
  padding-top: 8px;
  font-size: 17px;
  line-height: 25.5px;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.74);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding-top: 8px;
}

.hero__primary {
  min-width: 150px;
  gap: 17px;
  padding: 16.5px 26px;
}

.hero__phone {
  display: inline-flex;
  gap: 5px;
  font-size: 10px;
  line-height: 15px;
  color: rgba(255, 255, 255, 0.62);
}

.hero__phone strong {
  font-weight: 700;
  color: var(--white);
}

.hero__phone:hover strong {
  text-decoration: underline;
}

.hero__scroll-note {
  position: absolute;
  right: 8px;
  bottom: -39px;
  writing-mode: vertical-rl;
  font-size: 8px;
  line-height: 12px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* WhatsApp button */

.whatsapp {
  position: absolute;
  z-index: 3;
  top: calc(100% - 72px);
  left: var(--gutter);
  width: 345px;
  height: 116px;
  transform-origin: left top;
  transition: transform 0.25s var(--ease);
}

.whatsapp:hover {
  transform: translateY(-3px);
}

.whatsapp__pill {
  position: absolute;
  top: 10px;
  left: 0;
  width: 345px;
  height: 96px;
}

.whatsapp__content {
  position: absolute;
  inset: 0 16px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

.whatsapp__icon {
  flex: none;
  width: 96px;
  height: 96px;
}

.whatsapp__label {
  width: 203px;
  font-size: 45.1px;
  line-height: 43.7px;
  font-weight: 630;
  letter-spacing: -0.0679em;
  text-align: center;
  white-space: nowrap;
  color: var(--white);
}

/* Quick contact ---------------------------------------------------------- */

.quick-contact {
  display: grid;
  grid-template-columns: minmax(0, 583.67fr) minmax(0, 510.73fr);
  column-gap: 10vw;
  align-items: start;
  padding: 110px var(--gutter);
  background: var(--bg-2);
}

.quick-contact__intro {
  display: flex;
  flex-direction: column;
  gap: 14.9px;
}

.quick-contact__title {
  max-width: 660px;
  padding-bottom: 0.81px;
  font-size: clamp(40px, 5.2014vw, 74.9px);
  line-height: 0.9597;
  font-weight: 630;
  letter-spacing: -0.07em;
}

.quick-contact__text {
  padding-top: 7.1px;
  font-size: 14px;
  line-height: 22.4px;
  color: var(--muted);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.4);
}

.lead-form__heading {
  display: flex;
  flex-direction: column;
  gap: 8.86px;
  margin-bottom: 4px;
}

.lead-form__title {
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1.02;
  font-weight: 650;
  letter-spacing: -0.055em;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field__label {
  font-size: 9px;
  line-height: 13.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-47);
}

.field__select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 49px;
  padding: 0 28px 0 0;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
  font-size: 14px;
  line-height: 21px;
  text-align: center;
  text-align-last: center;
  cursor: pointer;
}

.field__input {
  width: 100%;
  height: 49px;
  padding: 16px 28px 16px 0;
  border: 0;
  border-bottom: 1px solid var(--red);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.field__input::placeholder {
  color: #99999d;
  opacity: 1;
}

.field__input:focus-visible {
  border-bottom-color: var(--coral);
  box-shadow: 0 1px 0 var(--coral);
}

.field.is-invalid .field__input {
  border-bottom-color: var(--coral);
  box-shadow: 0 1px 0 var(--coral);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
  font-size: 9px;
  line-height: 13px;
  color: var(--grey-47);
  cursor: pointer;
}

.consent span {
  margin-top: -1px;
}

.consent__box {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  display: grid;
  place-content: center;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid #767676;
  border-radius: 2.5px;
  background: var(--white);
  cursor: pointer;
}

.consent__box::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-1px) rotate(-45deg);
  opacity: 0;
}

.consent__box:checked::after {
  opacity: 1;
}

.consent.is-invalid .consent__box {
  outline: 2px solid var(--coral);
  outline-offset: 1px;
}

.lead-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 55px;
  padding: 19px 18px 14px;
  border: 1px solid var(--white);
  border-radius: 0;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  line-height: 18px;
  font-weight: 750;
  cursor: pointer;
  transition: background-color 0.2s;
}

.lead-submit:hover {
  background: var(--red);
}

.lead-form__status {
  font-size: 12px;
  line-height: 18px;
  color: var(--grey-72);
}

.lead-form__status:empty {
  display: none;
}

.lead-form__status.is-error {
  color: var(--coral);
}

/* Performance ------------------------------------------------------------ */

.performance {
  position: relative;
  min-height: max(620px, 62.5vw);
  overflow: hidden;
  background: var(--bg-1);
}

.performance__media {
  position: absolute;
  top: -14px;
  bottom: -13px;
  left: 0;
  right: 0;
}

.performance__frame {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + 3vw);
  height: 100%;
  overflow: hidden;
}

/* Crop and scale as set on the image fill in Figma. */
.performance__image {
  position: absolute;
  top: 0;
  left: -28.13%;
  width: 156.25%;
  height: 100%;
  max-width: none;
}

.performance__fade {
  position: absolute;
  left: 0;
  width: calc(100% - 3vw);
  height: 73px;
  max-width: none;
  object-fit: cover;
}

.performance__fade--top {
  top: 11px;
  transform: rotate(180deg);
}

.performance__fade--bottom {
  bottom: 11px;
}

.performance__shade {
  position: absolute;
  top: 3.5px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% - 27px);
  max-width: none;
}

.performance__copy {
  position: absolute;
  z-index: 1;
  left: var(--gutter);
  bottom: 90.33px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16.8px;
  max-width: 610px;
  padding-bottom: 1.5px;
}

.performance__text {
  max-width: 490px;
  padding-top: 6.09px;
  font-size: 16px;
  line-height: 24.8px;
  color: rgba(255, 255, 255, 0.68);
}

.performance__link {
  margin-top: 9.71px;
  gap: 9.99px;
}

/* Section headings ------------------------------------------------------- */

.section-heading__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.section-heading__aside {
  flex: none;
  font-size: 15px;
  line-height: 23.25px;
}

.section-heading--branches .section-heading__row {
  margin-top: 150.38px;
}

.section-heading__aside--branches {
  width: 281.33px;
  color: var(--muted);
}

.section-heading--membership {
  padding-bottom: 43.75px;
}

.section-heading--membership .section-heading__row {
  margin-top: 135.97px;
}

.section-heading__aside--membership {
  width: 309.3px;
  color: var(--grey-56);
}

/* Branches --------------------------------------------------------------- */

.branches {
  display: flex;
  flex-direction: column;
  gap: 130px;
  padding: 160px var(--gutter);
  background: var(--bg-2);
}

.branch-list {
  display: flex;
  flex-direction: column;
  gap: 160px;
}

.branch {
  display: grid;
  grid-template-columns: 60.22% 31.64%;
  justify-content: space-between;
  align-items: center;
}

.branch--reverse {
  grid-template-columns: 31.64% 60.22%;
}

.branch--reverse .branch__media {
  order: 2;
}

.branch__media {
  position: relative;
  display: block;
  aspect-ratio: 745.77 / 317.34;
  overflow: hidden;
  background: #161616;
}

.branch__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.branch__media:hover img {
  transform: scale(1.035);
}

.branch__media--shaded::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0) 45%);
  pointer-events: none;
}

.branch__index {
  position: absolute;
  z-index: 1;
  left: 20px;
  bottom: 18px;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: 0.12em;
}

.branch__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 21.5px;
  padding-bottom: 1.5px;
}

.branch__title-group {
  display: flex;
  flex-direction: column;
  gap: 10.23px;
  width: 100%;
}

.branch__location {
  font-size: 9px;
  line-height: 13.5px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.branch__name {
  font-size: clamp(36px, 4.4028vw, 63.4px);
  line-height: 0.9694;
  font-weight: 630;
  letter-spacing: -0.068em;
}

.branch__desc {
  max-width: 520px;
  padding-top: 2.89px;
  font-size: 14px;
  line-height: 22.4px;
  color: var(--muted);
}

.branch__details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  max-width: 520px;
  padding: 20.5px 0 18px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  font-size: 10px;
  line-height: 14.5px;
  color: var(--grey-41);
}

/* The design uses the light-theme "ink" colour here, which is invisible on
   the dark background; a muted grey keeps the number readable. */
.branch__phone {
  align-self: flex-start;
  font-weight: 700;
  color: var(--grey-56);
}

.branch__phone:hover {
  color: var(--white);
}

/* Facilities ------------------------------------------------------------- */

.facilities {
  display: grid;
  grid-template-columns: minmax(0, 51.16%) minmax(0, 38.37%);
  justify-content: space-between;
  align-items: start;
  padding: 150px var(--gutter) 207px;
  border-top: 1px solid var(--seam);
  border-bottom: 1px solid var(--seam);
  background: var(--bg-2);
}

.facilities__intro {
  position: sticky;
  top: calc(var(--header-h) + 50px);
  display: flex;
  flex-direction: column;
  gap: 20.78px;
}

.facility-list {
  border-top: 1px solid var(--line-dark);
}

.facility-list li {
  display: flex;
  align-items: center;
  min-height: 86px;
  padding: 19.9px 0 20.91px;
  border-bottom: 1px solid var(--line-dark);
}

.facility-list span {
  flex: none;
  width: 48px;
  font-size: 10px;
  line-height: 15px;
  color: var(--grey-61);
}

.facility-list strong {
  flex: 1;
  min-width: 0;
  font-size: clamp(22px, 2vw, 28.8px);
  line-height: 1.5;
  font-weight: 570;
  letter-spacing: -0.04em;
}

.facilities__note {
  margin-top: 57.59px;
  font-size: 10px;
  line-height: 15px;
  color: var(--muted);
}

/* Group classes ---------------------------------------------------------- */

.classes {
  padding: 172px 0 131.5px;
  background: var(--bg-2);
}

.classes__heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin: 0 6vw 0 5.347vw;
}

.classes__heading-main {
  display: flex;
  flex-direction: column;
  gap: 17.35px;
}

.classes__kicker {
  font-size: 11px;
  line-height: 16.5px;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--coral-bright);
}

.classes__title {
  font-size: clamp(56px, 7vw, 100.8px);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.075em;
  white-space: nowrap;
}

.classes__title span {
  color: #a1a1a6;
}

.classes__aside {
  flex: none;
  max-width: 300px;
  padding-right: 35.27px;
  font-size: 16px;
  line-height: 24px;
  color: var(--grey-63);
}

.class-scroll {
  display: flex;
  gap: 18px;
  margin: 103.65px 3.013vw 0 2.986vw;
  padding-right: 6vw;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
}

.class-scroll::-webkit-scrollbar {
  display: none;
}

.class-scroll.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.class-card {
  position: relative;
  flex: 0 0 420px;
  height: 638px;
  overflow: hidden;
  border-radius: 28px;
  isolation: isolate;
  scroll-snap-align: start;
  -webkit-user-drag: none;
  user-select: none;
}

.class-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.75));
  pointer-events: none;
}

.class-card--svg-shade::after {
  display: none;
}

.class-card--wide-info {
  background: var(--white);
}

.class-card__image,
.class-card__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.class-card__image {
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

/* Crop and scale as set on the image fills in Figma. */
.class-card__image--tall {
  top: -2.5%;
  height: 105%;
  object-fit: fill;
}

.class-card__image--total {
  left: 0.08%;
  width: 101.27%;
  object-fit: fill;
}

.class-card__image--cycle {
  left: -57.14%;
  width: 214.29%;
  object-fit: fill;
}

.class-card:hover .class-card__image {
  transform: scale(1.04);
}

.class-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 125.73px;
  grid-template-rows: 82.5px 1fr 48px;
  padding: 22px 22px 16px;
}

.class-card__index {
  grid-column: 1;
  grid-row: 1;
  font-size: 11px;
  line-height: 16.5px;
  color: rgba(255, 255, 255, 0.75);
}

.class-card__info {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.class-card--wide-info .class-card__info {
  justify-self: end;
  width: 171px;
}

.class-card__name {
  font-size: 38px;
  line-height: 57px;
  letter-spacing: -0.06em;
  color: var(--white);
}

.class-card__meta {
  font-size: 13px;
  line-height: 19.5px;
  color: rgba(255, 255, 255, 0.72);
}

.class-card__arrow {
  grid-column: 1;
  grid-row: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 24px;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: background-color 0.25s;
}

.class-card:hover .class-card__arrow {
  background: rgba(255, 255, 255, 0.16);
}

.classes__link {
  margin: 103.81px 0 0 var(--gutter);
}

.classes__link:hover img {
  transform: translateX(3px);
}

/* Membership ------------------------------------------------------------- */

.membership {
  display: flex;
  flex-direction: column;
  gap: 46px;
  padding: 160px var(--gutter);
  background: var(--bg-3);
}

.membership-lines {
  border-top: 1px solid var(--line-light);
}

.membership-line {
  display: grid;
  grid-template-columns: 65px minmax(0, 436.63fr) minmax(0, 520fr) 126.78px;
  column-gap: 30px;
  align-items: center;
  min-height: 128px;
  padding: 31.1px 0;
  border-bottom: 1px solid var(--line-light);
}

.membership-line__index {
  font-size: 10px;
  line-height: 15px;
  color: var(--grey-42);
}

.membership-line__name {
  font-size: clamp(26px, 3vw, 43.2px);
  line-height: 1.5;
  font-weight: 580;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.membership-line__desc {
  font-size: 13px;
  line-height: 19.5px;
  color: var(--grey-56);
}

.membership-line__arrow {
  width: 126.78px;
  height: 126.78px;
  transition: transform 0.35s var(--ease);
}

.membership-line:hover .membership-line__arrow {
  transform: translate(6px, -6px);
}

.membership-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-bottom: 44px;
}

.membership-actions__primary {
  min-width: 170px;
  gap: 16px;
  padding: 16.5px 29.14px;
}

.campaign-line {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 112px;
  padding: 32.41px 0 33.4px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.campaign-line__label {
  flex: none;
  width: 100px;
  font-size: 8px;
  line-height: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
  color: var(--coral);
}

.campaign-line__title {
  flex: 1;
  min-width: 0;
  font-size: clamp(20px, 2vw, 28.8px);
  line-height: 1.5;
  font-weight: 570;
  letter-spacing: -0.035em;
}

.campaign-line__more {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  line-height: 15px;
  color: var(--grey-56);
  white-space: nowrap;
  transition: color 0.2s;
}

.campaign-line:hover .campaign-line__more {
  color: var(--white);
}

.campaign-line:hover .campaign-line__more img {
  transform: translate(2px, -2px);
}

/* Final call to action --------------------------------------------------- */

.final-cta {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 176.44px var(--gutter);
  overflow: hidden;
  background: var(--black);
}

.final-cta__media {
  position: absolute;
  top: -20px;
  bottom: -20px;
  left: 2.778vw;
  right: 0;
  overflow: hidden;
}

/* Crop and scale as set on the image fill in Figma. */
.final-cta__image {
  position: absolute;
  top: 0;
  left: -20.31%;
  width: 140.62%;
  height: 100%;
  max-width: none;
}

.final-cta__shade {
  position: absolute;
  top: 99px;
  left: 0;
  width: calc(100% + 1px);
  height: 100%;
  max-width: none;
}

.final-cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22.8px;
  width: 880px;
  max-width: 100%;
  padding: 80px 24px;
  text-align: center;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding-top: 19.19px;
}

.final-cta__primary {
  min-height: 54px;
  gap: 17px;
  padding: 17.5px 22px;
  font-weight: 750;
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 48px;
  padding: 62px var(--gutter) 28px;
  background: var(--bg-2);
}

.site-footer__brand {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  width: 100%;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line-footer);
}

.site-footer__logo img {
  width: 72px;
  height: auto;
}

.site-footer__tagline {
  font-size: clamp(28px, 2.9167vw, 42px);
  line-height: 1.5;
  font-weight: 590;
  letter-spacing: -0.05em;
  color: #68686d;
}

.site-footer__nav {
  display: flex;
  gap: 70px;
  width: 610px;
  max-width: 100%;
  padding-bottom: 17px;
}

.footer-col {
  flex: 1;
  min-width: 0;
}

.footer-col__label {
  padding-bottom: 5px;
  font-size: 8px;
  line-height: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
  color: var(--grey-38);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
  font-size: 12px;
  line-height: 18px;
}

.footer-col a {
  font-size: 12px;
  line-height: 18px;
  color: var(--grey-72);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-col--contact .footer-col__label {
  padding-bottom: 12.5px;
}

.footer-col--contact li {
  min-height: 25.5px;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  width: calc(100% + 1.5vw);
  min-height: 45px;
  padding-top: 23px;
  border-top: 1px solid var(--line-footer);
  font-size: 9px;
  line-height: 13.5px;
  color: var(--grey-39);
}

.site-footer__bottom small {
  font-size: inherit;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.legal-links a:hover {
  color: var(--grey-72);
}

/* Desktop-only line breaks and unbroken lines ---------------------------- */

@media (min-width: 901px) {
  .performance .display-2,
  .branches .display-2,
  .membership .display-2,
  .final-cta .display-2 {
    white-space: nowrap;
  }
}

@media (min-width: 1240px) {
  .section-heading__aside,
  .classes__aside,
  .quick-contact__text {
    white-space: nowrap;
  }
}

@media (max-width: 1239px) {
  .br-wide {
    display: none;
  }

  .section-heading__aside {
    flex-shrink: 1;
    min-width: 200px;
  }
}

/* Tablet ----------------------------------------------------------------- */

@media (max-width: 1100px) {
  .membership-line {
    grid-template-columns: 48px minmax(0, 1.1fr) minmax(0, 1fr) 88px;
    column-gap: 24px;
  }

  .membership-line__arrow {
    width: 88px;
    height: 88px;
  }

  .class-card {
    flex-basis: 360px;
    height: 547px;
  }

  .class-card__overlay {
    grid-template-columns: minmax(0, 1fr) 118px;
  }

  .class-card__name {
    font-size: 34px;
    line-height: 48px;
  }
}

@media (max-width: 900px) {
  .br-desktop {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 var(--gutter);
  }

  .site-nav,
  .site-header__cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding-bottom: 120px;
  }

  .hero__lead {
    font-size: 16px;
    line-height: 24px;
  }

  .hero__scroll-note {
    display: none;
  }

  .whatsapp {
    top: calc(100% - 92px);
    transform: scale(0.55);
  }

  .whatsapp:hover {
    transform: scale(0.55) translateY(-3px);
  }

  .quick-contact {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 56px;
    padding: 120px var(--gutter) 96px;
  }

  .performance {
    min-height: 680px;
  }

  .performance__copy {
    right: var(--gutter);
    bottom: 72px;
  }

  .branches,
  .membership {
    padding: 112px var(--gutter);
  }

  .branches {
    gap: 80px;
  }

  .section-heading__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .section-heading--branches .section-heading__row,
  .section-heading--membership .section-heading__row {
    margin-top: 32px;
  }

  .section-heading--membership {
    padding-bottom: 8px;
  }

  .section-heading__aside {
    width: auto;
    max-width: 480px;
  }

  .branch-list {
    gap: 88px;
  }

  .branch,
  .branch--reverse {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
  }

  .branch--reverse .branch__media {
    order: 0;
  }

  .facilities {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 48px;
    padding: 112px var(--gutter);
  }

  .facilities__intro {
    position: static;
  }

  .classes {
    padding: 112px 0 96px;
  }

  .classes__heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin: 0 var(--gutter);
  }

  .classes__aside {
    padding-right: 0;
  }

  .class-scroll {
    margin: 56px 0 0;
    padding: 0 var(--gutter);
    scroll-padding-inline: var(--gutter);
  }

  .classes__link {
    margin-top: 56px;
  }

  .membership-line {
    grid-template-columns: 32px minmax(0, 1fr) 56px;
    grid-template-areas:
      "index name arrow"
      ". desc arrow";
    column-gap: 16px;
    row-gap: 4px;
    padding: 24px 0;
  }

  .membership-line__index {
    grid-area: index;
  }

  .membership-line__name {
    grid-area: name;
    white-space: normal;
    line-height: 1.2;
  }

  .membership-line__desc {
    grid-area: desc;
  }

  .membership-line__arrow {
    grid-area: arrow;
    width: 56px;
    height: 56px;
  }

  .membership-actions {
    margin-bottom: 8px;
  }

  .campaign-line {
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 28px 0;
  }

  .campaign-line__label {
    width: 100%;
  }

  .campaign-line__title {
    flex-basis: 100%;
    line-height: 1.3;
  }

  .final-cta {
    padding: 96px var(--gutter);
  }

  .final-cta__media {
    left: 0;
  }

  .final-cta__shade {
    top: 0;
  }

  .final-cta__content {
    padding: 48px 0;
  }

  .site-footer {
    align-items: stretch;
    gap: 40px;
    padding-top: 56px;
  }

  .site-footer__brand {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 40px;
  }

  .site-footer__nav {
    width: 100%;
    gap: 32px;
    padding-bottom: 0;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-top: 20px;
  }
}

/* Phone ------------------------------------------------------------------ */

@media (max-width: 600px) {
  .hero {
    padding-top: calc(var(--header-h) + 32px);
  }

  .hero__copy {
    gap: 18px;
  }

  .hero__badge {
    width: 60px;
  }

  .quick-contact__text {
    max-width: none;
  }

  .performance {
    min-height: 600px;
  }

  .performance__text {
    font-size: 15px;
    line-height: 23px;
  }

  .branch__name {
    font-size: 36px;
  }

  .facility-list li {
    min-height: 68px;
    padding: 14px 0;
  }

  .facility-list span {
    width: 40px;
  }

  .class-card {
    flex-basis: 78vw;
    height: auto;
    aspect-ratio: 420 / 638;
  }

  .class-card__overlay {
    grid-template-columns: minmax(0, 1fr) minmax(0, 55%);
    grid-template-rows: auto 1fr 48px;
    padding: 18px;
  }

  .class-card--wide-info .class-card__info {
    width: auto;
  }

  .class-card__name {
    font-size: 30px;
    line-height: 40px;
  }

  .membership-line__name {
    font-size: 26px;
  }

  .membership-line__arrow {
    width: 44px;
    height: 44px;
  }

  .site-footer__nav {
    flex-direction: column;
  }

  .footer-col--contact .footer-col__label {
    padding-bottom: 5px;
  }
}

/* ==========================================================================
   Subpages (tr/*.html) and shared additions
   Built from the same tokens and type scale as the home page design.
   ========================================================================== */

/* Header: clubs menu and current page ------------------------------------ */

.site-nav__item--menu {
  position: relative;
}

.site-nav a[aria-current] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.nav-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  padding-top: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0s 0.2s;
}

.site-nav__item--menu:hover .nav-menu,
.site-nav__item--menu:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.2s, transform 0.2s var(--ease);
}

.nav-menu__list {
  width: 300px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-nav .nav-menu__list a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  text-decoration: none;
  white-space: normal;
  transition: background-color 0.2s;
}

.site-nav .nav-menu__list a:hover,
.site-nav .nav-menu__list a[aria-current] {
  background: rgba(255, 255, 255, 0.07);
  opacity: 1;
}

.nav-menu__list span {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}

.nav-menu__list small {
  font-size: 10px;
  line-height: 14px;
  font-weight: 400;
  color: var(--grey-56);
}

.mobile-menu__sub {
  padding: 4px 0 14px;
}

.mobile-menu__list .mobile-menu__sub a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0 9px 16px;
  border-bottom: 0;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.mobile-menu__sub small {
  flex: none;
  font-size: 10px;
  color: var(--grey-56);
}

/* Forms: legal links ----------------------------------------------------- */

.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.link-button:hover {
  color: var(--white);
}

.form-note {
  margin-top: -6px;
  padding-left: 26px;
  font-size: 9px;
  line-height: 13px;
  color: var(--grey-47);
}

.field.is-invalid .field__select {
  outline: 2px solid var(--coral);
  outline-offset: -2px;
}

.quick-contact__text.quick-contact__text--wrap {
  max-width: 480px;
  white-space: normal;
}

.legal-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: min(82vh, 780px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--bg-3);
  color: var(--white);
}

.legal-dialog[open] {
  display: flex;
  flex-direction: column;
}

.legal-dialog::backdrop,
.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

body:has(dialog[open]) {
  overflow: hidden;
}

.legal-dialog__head,
.legal-dialog__foot {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
}

.legal-dialog__head {
  justify-content: space-between;
  border-bottom: 1px solid var(--line-light);
}

.legal-dialog__foot {
  border-top: 1px solid var(--line-light);
}

.legal-dialog__title {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.legal-dialog__close {
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: none;
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.legal-dialog__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.legal-dialog__body {
  overflow-y: auto;
  padding: 20px 24px 28px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--grey-72);
}

.legal-dialog__body p + p,
.legal-dialog__body p + ul,
.legal-dialog__body ul + p {
  margin-top: 12px;
}

.legal-dialog__body h3 {
  margin: 26px 0 8px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--white);
}

.legal-dialog__body ul {
  padding-left: 18px;
  list-style: disc;
}

.legal-dialog__company {
  font-size: 12px;
  color: var(--grey-56);
}

.legal-dialog__accept {
  padding: 0 22px;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.legal-dialog__foot .btn-text {
  border: 0;
  background: none;
  cursor: pointer;
}

/* Floating WhatsApp button on subpages */

.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease);
}

.whatsapp-fab:hover {
  transform: translateY(-3px);
}

.whatsapp-fab img {
  width: 40px;
  height: 40px;
}

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

.hero--compact {
  min-height: max(78svh, 600px);
}

.hero__title--page {
  font-size: clamp(44px, 6.6vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.072em;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.62);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.35);
}

.breadcrumb a:hover,
.breadcrumb [aria-current] {
  color: var(--white);
}

/* Shared subpage section titles */

.club-amenities__title,
.club-gallery__title,
.club-visit__title,
.club-directory__title,
.other-clubs__title {
  font-size: clamp(36px, 4.4028vw, 63.4px);
  line-height: 0.9694;
  font-weight: 630;
  letter-spacing: -0.068em;
}

/* Club: facts ------------------------------------------------------------ */

.club-facts {
  padding: 8px var(--gutter) 0;
  background: var(--black);
}

.club-facts__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.club-facts__item {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
  padding: 32px 24px 34px 0;
}

.club-facts__item + .club-facts__item {
  padding-left: 24px;
  border-left: 1px solid var(--line-light);
}

.club-facts dt {
  font-size: 10px;
  line-height: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-56);
}

.club-facts dd {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 34.56px);
  line-height: 1.2;
  font-weight: 580;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

/* Club: about ------------------------------------------------------------ */

.club-about,
.club-amenities,
.club-directory {
  display: grid;
  justify-content: space-between;
  align-items: start;
  padding: 150px var(--gutter);
}

.club-about {
  grid-template-columns: minmax(0, 45%) minmax(0, 44%);
  background: var(--black);
}

.club-about__intro,
.club-amenities__head,
.club-directory__head {
  position: sticky;
  top: calc(var(--header-h) + 50px);
  display: flex;
  flex-direction: column;
  gap: 20.78px;
}

.club-about__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 32px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--grey-63);
}

.club-about__text strong {
  font-weight: 600;
  color: var(--white);
}

/* Club: amenities -------------------------------------------------------- */

.club-amenities {
  grid-template-columns: minmax(0, 31.64%) minmax(0, 60.22%);
  border-top: 1px solid var(--line-footer);
  background: var(--bg-2);
}

.facility-list--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  border-top: 0;
}

.facility-list--grid li {
  border-bottom-color: var(--line-footer);
}

.facility-list--grid li:nth-child(-n + 2) {
  border-top: 1px solid var(--line-footer);
}

/* Club: gallery ---------------------------------------------------------- */

.club-gallery {
  padding: 140px 0 150px;
  background: var(--bg-3);
}

.club-gallery__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin: 0 var(--gutter) 56px;
}

.club-gallery__title {
  margin-top: 20.78px;
}

.club-gallery__hint {
  font-size: 13px;
  line-height: 19.5px;
  color: var(--grey-56);
}

.gallery-track {
  display: flex;
  gap: 18px;
  padding: 0 var(--gutter);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  cursor: grab;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.gallery-item {
  flex: 0 0 auto;
  width: clamp(300px, 62vw, 900px);
  aspect-ratio: 2.5;
  overflow: hidden;
  background: #161616;
  scroll-snap-align: start;
  -webkit-user-drag: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  user-select: none;
  transition: transform 0.8s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(5, 5, 5, 0.96);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox__image {
  max-width: calc(100vw - 180px);
  max-height: calc(100vh - 140px);
  object-fit: contain;
}

.lightbox__count {
  position: absolute;
  left: 24px;
  bottom: 24px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--grey-72);
}

.lightbox__button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s;
}

.lightbox__button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.lightbox__button--close {
  top: 20px;
  right: 20px;
}

.lightbox__button--prev,
.lightbox__button--next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__button--prev {
  left: 24px;
}

.lightbox__button--next {
  right: 24px;
}

/* Club: visit ------------------------------------------------------------ */

.club-visit {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 52%);
  justify-content: space-between;
  gap: 48px;
  padding: 150px var(--gutter);
  background: var(--bg-2);
}

.club-visit__info {
  display: flex;
  flex-direction: column;
  gap: 20.78px;
}

.club-visit__title {
  margin-bottom: 20px;
}

.visit-list {
  margin: 0;
  border-top: 1px solid var(--line-light);
}

.visit-list__row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-light);
}

.visit-list dt {
  font-size: 10px;
  line-height: 23px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-56);
}

.visit-list dd {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--grey-72);
}

.visit-list address {
  font-style: normal;
}

.visit-list__phones {
  gap: 4px;
}

.visit-list__phones a,
.club-directory__phones a {
  font-variant-numeric: tabular-nums;
}

.visit-list__phones a {
  font-weight: 600;
  color: var(--white);
}

.visit-list__phones a:hover {
  text-decoration: underline;
}

.hours {
  border-collapse: collapse;
}

.hours th {
  padding: 0 28px 6px 0;
  text-align: left;
  font-weight: 400;
  color: var(--grey-56);
}

.hours td {
  padding: 0 0 6px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--white);
}

.club-visit__map {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: #111;
}

.club-visit__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.6) contrast(0.95);
}

/* Club: classes teaser and lead form ------------------------------------- */

.classes--compact {
  padding-top: 150px;
}

.classes__title--sm {
  font-size: clamp(44px, 5.2014vw, 74.9px);
  line-height: 0.9597;
  letter-spacing: -0.07em;
}

.subpage .quick-contact {
  background: var(--bg-3);
}

/* Club: other clubs ------------------------------------------------------ */

.other-clubs {
  padding: 140px var(--gutter) 150px;
  background: var(--black);
}

.other-clubs__head {
  display: flex;
  flex-direction: column;
  gap: 20.78px;
  margin-bottom: 56px;
}

.other-clubs__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.club-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.club-card__media {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #161616;
}

.club-card__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.club-card:hover .club-card__media img {
  transform: scale(1.04);
}

.club-card__district {
  font-size: 9px;
  line-height: 13.5px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.club-card__name {
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.club-card__concept {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 18px;
  color: var(--grey-56);
}

.club-card:hover .club-card__concept {
  color: var(--white);
}

/* Club directory (classes and contact pages) ----------------------------- */

.club-directory {
  grid-template-columns: minmax(0, 31.64%) minmax(0, 60.22%);
  background: var(--bg-2);
}

.club-directory__text {
  max-width: 360px;
  font-size: 15px;
  line-height: 23.25px;
  color: var(--grey-56);
}

.club-directory__list {
  border-top: 1px solid var(--line-light);
}

.club-directory__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 128px;
  align-items: center;
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-light);
}

.club-directory__name {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.club-directory__name span {
  font-size: clamp(20px, 2vw, 28.8px);
  line-height: 1.25;
  font-weight: 570;
  letter-spacing: -0.04em;
}

.club-directory__name small {
  font-size: 9px;
  line-height: 13.5px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.club-directory__name:hover span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.club-directory__phones {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  line-height: 19.5px;
  text-align: right;
  color: var(--grey-72);
}

.club-directory__phones a:hover {
  color: var(--white);
}

.club-directory__link {
  justify-self: end;
}

/* Contact page ----------------------------------------------------------- */

.contact-channels {
  margin: 32px 0 0;
  border-top: 1px solid var(--line-light);
}

.contact-channels > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
}

.contact-channels dt {
  font-size: 10px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-56);
}

.contact-channels dd {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
}

.contact-channels a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-channels__inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

/* Group classes page ----------------------------------------------------- */

.class-features {
  padding: 150px var(--gutter);
  background: var(--bg-2);
}

.section-heading--classes .section-heading__row {
  margin-top: 32px;
}

.section-heading__aside--classes {
  width: 300px;
  font-size: 16px;
  line-height: 24px;
  color: var(--grey-63);
}

.class-feature-list {
  display: flex;
  flex-direction: column;
  gap: 120px;
  margin-top: 110px;
}

.class-feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  column-gap: 8vw;
}

.class-feature--reverse {
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}

.class-feature--reverse .class-feature__media {
  order: 2;
}

.class-feature--reverse .class-feature__copy {
  justify-self: end;
}

.class-feature__media {
  position: relative;
  aspect-ratio: 420 / 520;
  overflow: hidden;
  border-radius: 28px;
  background: #161616;
}

.class-feature__media--light {
  background: var(--white);
}

.class-feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.class-feature__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.class-feature__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 520px;
}

.class-feature__index {
  font-size: 11px;
  line-height: 16.5px;
  letter-spacing: 0.12em;
  color: var(--grey-56);
}

.class-feature__name {
  font-size: clamp(44px, 5.2014vw, 74.9px);
  line-height: 0.96;
  font-weight: 630;
  letter-spacing: -0.07em;
}

.class-feature__meta {
  font-size: 11px;
  line-height: 16.5px;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--coral-bright);
}

.class-feature__text {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--grey-63);
}

/* Subpages: tablet and phone --------------------------------------------- */

@media (max-width: 1100px) {
  .other-clubs__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }

  .club-directory__row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .club-directory__link {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero--page {
    padding-bottom: 72px;
  }

  .club-facts__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .club-facts__item,
  .club-facts__item + .club-facts__item {
    padding: 24px 16px 26px;
    border-left: 0;
  }

  .club-facts__item:nth-child(even) {
    border-left: 1px solid var(--line-light);
  }

  .club-facts__item:nth-child(n + 3) {
    border-top: 1px solid var(--line-light);
  }

  .club-about,
  .club-amenities,
  .club-directory,
  .club-visit {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
    padding: 104px var(--gutter);
  }

  .club-about__intro,
  .club-amenities__head,
  .club-directory__head {
    position: static;
  }

  .club-about__text {
    padding-top: 0;
  }

  .club-gallery {
    padding: 104px 0;
  }

  .club-gallery__head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
  }

  .gallery-item {
    width: 84vw;
  }

  .club-visit__map {
    min-height: 360px;
  }

  .classes--compact {
    padding-top: 104px;
  }

  .other-clubs {
    padding: 104px var(--gutter);
  }

  .class-features {
    padding: 104px var(--gutter);
  }

  .class-feature-list {
    gap: 72px;
    margin-top: 64px;
  }

  .class-feature,
  .class-feature--reverse {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 28px;
  }

  .class-feature--reverse .class-feature__media {
    order: 0;
  }

  .class-feature--reverse .class-feature__copy {
    justify-self: start;
  }

  .class-feature__media {
    width: min(100%, 420px);
  }

  .lightbox__image {
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 160px);
  }

  .lightbox__button--prev,
  .lightbox__button--next {
    top: auto;
    bottom: 20px;
    transform: none;
  }

  .lightbox__button--prev {
    left: auto;
    right: 84px;
  }

  .lightbox__button--next {
    right: 20px;
  }
}

@media (max-width: 600px) {
  .facility-list--grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .facility-list--grid li:nth-child(2) {
    border-top: 0;
  }

  .club-facts dd {
    white-space: normal;
  }

  .visit-list__row,
  .contact-channels > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .other-clubs__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .whatsapp-fab {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-fab img {
    width: 34px;
    height: 34px;
  }
}

/* ==========================================================================
   Content pages: blog, legal texts, membership packages, facilities
   ========================================================================== */

/* Text-only page header */

.page-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: calc(var(--header-h) + 110px) var(--gutter) 88px;
  border-bottom: 1px solid var(--line-footer);
  background: var(--black);
}

.page-header .breadcrumb {
  margin-bottom: 18px;
}

.page-header__title {
  max-width: 1000px;
  font-size: clamp(42px, 6.0972vw, 87.8px);
  line-height: 0.9404;
  font-weight: 640;
  letter-spacing: -0.072em;
}

.page-header__lead {
  max-width: 620px;
  font-size: 17px;
  line-height: 25.5px;
  letter-spacing: -0.02em;
  color: var(--grey-63);
}

.page-header__note {
  font-size: 13px;
  line-height: 19.5px;
  color: var(--grey-56);
}

.page-header--404 {
  min-height: 70svh;
  justify-content: center;
}

.not-found__clubs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
}

.page-header__note strong {
  font-weight: 700;
  color: var(--white);
}

.hero__title--small {
  max-width: 980px;
  font-size: clamp(36px, 4.4028vw, 63.4px);
  line-height: 0.9694;
  letter-spacing: -0.068em;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.post-meta span::before {
  content: "·";
  margin-right: 18px;
}

/* Long-form text (blog posts, legal pages, dialogs) */

.post,
.page-body {
  padding: 96px var(--gutter) 140px;
  background: var(--bg-2);
}

.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--grey-72);
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose h2,
.prose h3,
.prose h4 {
  color: var(--white);
  font-weight: 620;
}

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(24px, 2.2vw, 31.68px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.prose h3 {
  margin-top: 1.9em;
  font-size: clamp(20px, 1.7vw, 23.04px);
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.prose h4 {
  margin-top: 1.7em;
  font-size: 18px;
  line-height: 1.4;
}

.prose h2 + *,
.prose h3 + *,
.prose h4 + * {
  margin-top: 0.6em;
}

.prose > :first-child {
  margin-top: 0;
}

.prose strong {
  font-weight: 650;
  color: var(--white);
}

.prose a,
.inline-link {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose a:hover,
.inline-link:hover {
  color: var(--coral);
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose li::marker {
  color: var(--coral);
}

.prose img {
  width: 100%;
  height: auto;
  margin: 2em 0;
}

.prose blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--red);
  font-size: 19px;
  color: var(--white);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.prose th,
.prose td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-light);
  text-align: left;
}

.prose th {
  color: var(--white);
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line-light);
}

.prose--small {
  font-size: 13px;
  line-height: 1.65;
}

.prose--small h2,
.prose--small h3 {
  margin-top: 26px;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0;
}

/* Blog list */

.blog-list {
  padding: 96px var(--gutter) 140px;
  background: var(--bg-2);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.blog-card__media {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #161616;
}

.blog-card__media img,
.blog-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.04);
}

.blog-card__date {
  font-size: 10px;
  line-height: 15px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.blog-card__title {
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.blog-card__title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.blog-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 22.4px;
  color: var(--muted);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 96px;
  font-size: 13px;
  line-height: 19.5px;
}

.pagination__pages {
  display: flex;
  gap: 6px;
}

.pagination__pages a,
.pagination__pages span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid var(--line-light);
  color: var(--grey-72);
}

.pagination__pages a:hover {
  border-color: var(--white);
  color: var(--white);
}

.pagination__pages [aria-current] {
  border-color: var(--white);
  background: var(--white);
  color: #000;
  font-weight: 700;
}

.pagination__pages .pagination__gap {
  display: grid;
  place-items: center;
  min-width: 24px;
  color: var(--grey-56);
}

.pagination__step {
  font-weight: 700;
  white-space: nowrap;
}

.pagination__step[aria-disabled] {
  color: var(--grey-41);
}

.related-posts {
  padding: 140px var(--gutter) 150px;
  background: var(--black);
}

.related-posts__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20.78px 40px;
  margin-bottom: 56px;
}

.related-posts__head .micro-label {
  flex-basis: 100%;
}

.related-posts__title {
  flex: 1;
  font-size: clamp(36px, 4.4028vw, 63.4px);
  line-height: 0.9694;
  font-weight: 630;
  letter-spacing: -0.068em;
}

/* Membership packages */

.membership--page {
  padding-top: 96px;
}

.packages {
  display: grid;
  grid-template-columns: minmax(0, 31.64%) minmax(0, 60.22%);
  justify-content: space-between;
  align-items: start;
  padding: 120px var(--gutter);
  border-bottom: 1px solid var(--line-footer);
  background: var(--bg-2);
}

.packages:nth-of-type(even) {
  background: var(--bg-3);
}

.packages__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.packages__index {
  font-size: 10px;
  line-height: 15px;
  color: var(--grey-42);
}

.packages__title {
  font-size: clamp(36px, 4.4028vw, 63.4px);
  line-height: 0.9694;
  font-weight: 630;
  letter-spacing: -0.068em;
}

.packages__summary {
  max-width: 320px;
  font-size: 15px;
  line-height: 23.25px;
  color: var(--grey-56);
}

.packages__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.package-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 26px 30px;
  border: 1px solid var(--line-light);
  transition: border-color 0.2s;
}

.package-card:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.package-card__concept {
  font-size: 9px;
  line-height: 13.5px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.package-card__name {
  font-size: clamp(26px, 2.4vw, 34.56px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.package-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 21px;
  color: var(--grey-72);
}

.package-card__features li {
  position: relative;
  padding-left: 20px;
}

.package-card__features li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 9px;
  height: 5px;
  border-left: 1.5px solid var(--coral);
  border-bottom: 1.5px solid var(--coral);
  transform: rotate(-45deg);
}

/* Facilities gallery */

.facility-gallery {
  padding: 96px var(--gutter) 140px;
  background: var(--bg-2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gallery-grid .gallery-item {
  width: 100%;
  aspect-ratio: 4 / 3;
}

/* Contact form fields */

.field__select--left {
  padding-left: 14px;
  text-align: left;
  text-align-last: left;
}

.field__textarea {
  height: auto;
  min-height: 110px;
  padding-top: 14px;
  resize: vertical;
  line-height: 1.5;
}

.club-directory__address {
  max-width: 460px;
  margin-top: 4px;
  font-size: 13px;
  line-height: 19.5px;
  font-style: normal;
  color: var(--grey-56);
}

@media (max-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .page-header {
    padding: calc(var(--header-h) + 64px) var(--gutter) 64px;
  }

  .post,
  .page-body,
  .blog-list,
  .facility-gallery {
    padding: 64px var(--gutter) 104px;
  }

  .related-posts {
    padding: 104px var(--gutter);
  }

  .packages {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
    padding: 88px var(--gutter);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pagination {
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 48px;
  }

  .prose {
    font-size: 16px;
  }

  .pagination__step {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .hero__video {
    display: none;
  }
}

/* Spam trap: hidden from people, filled in by bots (see public/js/main.js). */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
