/* ==========================================================================
   THE GYM — Boutique Fitness Club
   Theme tokens, base, components and sections.
   Structure mirrors WordPress conventions (.menu, .menu-item, .sub-menu,
   .current-menu-item) so it can be ported to a theme without renaming.
   ========================================================================== */

:root {
  /* Colour */
  --onyx: #0A0A0B;        /* page */
  --graphite: #131315;    /* raised surfaces */
  --ash: #1D1D20;         /* borders on raised surfaces, placeholders */
  --bone: #EEEAE3;        /* primary text */
  --smoke: #98948D;       /* secondary text */
  --brass: #C4A46E;       /* the single accent: hairlines, labels */
  --line: rgba(238, 234, 227, .14);

  /* Type */
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --fs-hero: clamp(3.4rem, 10.5vw, 11.5rem);
  --fs-xl: clamp(2.6rem, 6vw, 6.2rem);
  --fs-lg: clamp(2.1rem, 4.4vw, 4.4rem);
  --fs-md: clamp(1.45rem, 2.3vw, 2.15rem);
  --fs-body: clamp(1rem, .25vw + .94rem, 1.125rem);
  --fs-small: .8125rem;

  /* Space */
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --section: clamp(6rem, 13vw, 11rem);
  --maxw: 1440px;
  --header-h: 92px;

  /* Motion */
  --ease-door: cubic-bezier(.77, 0, .18, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Photo grade: photos show at full colour by default (set a filter here to tone them all at once) */
  --grade: none;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--onyx);
  color: var(--bone);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
/* Film grain across the whole page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.25em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: italic; }
::selection { background: var(--brass); color: var(--onyx); }
:focus-visible { outline: 1px solid var(--brass); outline-offset: 4px; }

.skip-link {
  position: fixed; top: 1rem; left: 1rem; z-index: 200;
  padding: .75rem 1rem; background: var(--bone); color: var(--onyx);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }

/* ---------- Type components ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 0 0 1.75rem;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  flex: none;
}
.title {
  font-family: var(--serif);
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.title em, .statement em, .banner__title em, .cta__title em, .hero__title em {
  font-weight: 400;
  text-transform: none;
  letter-spacing: -.01em;
}
.statement {
  max-width: 22ch;
  font-family: var(--serif);
  font-size: var(--fs-lg);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.015em;
}
.statement em { color: var(--smoke); }
.lead {
  font-family: var(--serif);
  font-size: var(--fs-md);
  line-height: 1.3;
  color: var(--bone);
}

/* ---------- Buttons & links ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0 2rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease-out), border-color .5s var(--ease-out);
}
/* Fill wipes in from the centre seam, like the doors */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transition: transform .6s var(--ease-door);
}
.btn--solid { background: var(--bone); color: var(--onyx); }
.btn--solid::before { background: var(--brass); }
.btn--ghost { border: 1px solid var(--line); color: var(--bone); }
.btn--ghost::before { background: var(--bone); }
.btn--ghost:hover { color: var(--onyx); border-color: var(--bone); }
.btn:hover::before { transform: scaleX(1); }

.link-line {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding-block: .35rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.link-line::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--brass);
  transition: width .6s var(--ease-out);
}
.link-line:hover::after,
a:hover > .facility__body .link-line::after { width: 4rem; }

/* ==========================================================================
   Intro loader — the lift doors open
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
}
.loader__door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  /* brushed-metal hint */
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, #0d0d0f, #141417 60%, #0b0b0c);
  transition: transform 1.25s var(--ease-door);
}
.loader__door--left { left: 0; }
.loader__door--right { right: 0; transform-origin: right; }
.loader__door--right { background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 1px, transparent 1px 4px),
    linear-gradient(270deg, #0d0d0f, #141417 60%, #0b0b0c); }
.loader__seam {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(transparent, var(--brass) 30%, var(--brass) 70%, transparent);
  transform: scaleY(0);
  animation: seam 1s .2s var(--ease-out) forwards;
}
.loader__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  translate: -50% -50%;
  opacity: 0;
  animation: logoIn 1s .35s var(--ease-out) forwards;
  transition: opacity .4s, scale .6s;
}
@keyframes seam { to { transform: scaleY(1); } }
@keyframes logoIn { from { opacity: 0; scale: .94; } to { opacity: 1; scale: 1; } }

.loader.is-open .loader__logo { opacity: 0; scale: 1.05; }
.loader.is-open .loader__door--left { transform: translateX(-100%); transition-delay: .25s; }
.loader.is-open .loader__door--right { transform: translateX(100%); transition-delay: .25s; }
.loader.is-open .loader__seam { opacity: 0; transition: opacity .5s .2s; }
.loader.is-done { display: none; }

/* ==========================================================================
   Header & navigation
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: transform .6s var(--ease-out);
}
/* Blur lives on a pseudo-element so the fixed mobile menu is not trapped by backdrop-filter */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 10, 11, .78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity .5s;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  transition: height .5s var(--ease-out);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--line);
  opacity: 0;
  transition: opacity .5s;
}
.site-header.is-scrolled::before,
.site-header.is-scrolled::after { opacity: 1; }
.site-header.is-scrolled .site-header__inner { height: 72px; }
.site-header.is-hidden { transform: translateY(-100%); }

.site-header__logo img {
  width: 74px;
  transition: width .5s var(--ease-out);
}
.site-header.is-scrolled .site-header__logo img { width: 58px; }

.site-nav { margin-left: auto; }
.menu { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.75rem); }
.menu-item { position: relative; }
.menu > .menu-item > a {
  position: relative;
  display: block;
  padding-block: 1.75rem;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(238, 234, 227, .78);
  transition: color .3s;
}
.menu > .menu-item > a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 1.25rem;
  height: 1px;
  background: var(--brass);
  transition: left .45s var(--ease-out), right .45s var(--ease-out);
}
.menu > .menu-item > a:hover,
.menu > .current-menu-item > a { color: var(--bone); }
.menu > .menu-item > a:hover::after,
.menu > .current-menu-item > a::after { left: 0; right: 0; }

.sub-toggle { display: none; }
.sub-menu {
  position: absolute;
  top: 100%;
  left: -1.5rem;
  min-width: 15rem;
  padding: 1rem 0;
  background: rgba(19, 19, 21, .96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  translate: 0 .75rem;
  transition: opacity .35s, translate .45s var(--ease-out), visibility .35s;
}
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
}
.sub-menu a {
  display: block;
  padding: .6rem 1.5rem;
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--smoke);
  transition: color .3s, padding-left .4s var(--ease-out);
}
.sub-menu a:hover { color: var(--bone); padding-left: 1.85rem; }

.site-nav__meta { display: none; }

.site-header__cta { min-height: 2.75rem; padding: 0 1.4rem; }

.burger {
  display: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
}
.burger span {
  position: absolute;
  left: .5rem;
  right: .5rem;
  height: 1px;
  background: var(--bone);
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.burger span:first-child { top: 1.05rem; }
.burger span:last-child { top: 1.6rem; }
.nav-open .burger span:first-child { top: 1.35rem; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 1.35rem; transform: rotate(-45deg); }

@media (max-width: 1023px) {
  :root { --header-h: 76px; }
  .site-header__cta { display: none; }
  .burger { display: block; }
  .site-header__logo img { width: 60px; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
    background: var(--onyx);
    overflow-y: auto;
    clip-path: inset(0 50% 0 50%);
    visibility: hidden;
    transition: clip-path .8s var(--ease-door), visibility 0s .8s;
  }
  .nav-open .site-nav {
    clip-path: inset(0 0 0 0);
    visibility: visible;
    transition: clip-path .8s var(--ease-door), visibility 0s;
  }
  .nav-open .site-header { transform: none; }
  .nav-open .site-header::before,
  .nav-open .site-header::after { opacity: 0; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > .menu-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }
  .menu > .menu-item > a {
    flex: 1;
    padding-block: 1.1rem;
    font-family: var(--serif);
    font-size: clamp(1.9rem, 7vw, 2.6rem);
    letter-spacing: -.01em;
    text-transform: none;
    color: var(--bone);
  }
  .menu > .menu-item > a::after { display: none; }
  .sub-toggle {
    display: block;
    position: relative;
    width: 2.75rem;
    height: 2.75rem;
  }
  .sub-toggle span::before,
  .sub-toggle span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 1px;
    background: var(--brass);
    translate: -50% -50%;
    transition: transform .4s var(--ease-out);
  }
  .sub-toggle span::after { transform: rotate(90deg); }
  .sub-toggle[aria-expanded="true"] span::after { transform: rotate(0); }
  .sub-menu {
    position: static;
    flex-basis: 100%;
    min-width: 0;
    padding: 0;
    background: none;
    border: 0;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    translate: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height .6s var(--ease-out);
  }
  .sub-menu.is-open { max-height: 20rem; }
  .sub-menu a { padding: .35rem 0 .35rem 1rem; }
  .sub-menu > li:last-child a { padding-bottom: 1.1rem; }

  .site-nav__meta {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-top: 2.5rem;
    font-size: .875rem;
    color: var(--smoke);
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.12;
  transition: scale 2.6s var(--ease-out);
}
body.is-loaded .hero__video { scale: 1; }
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,.7) 0%, rgba(10,10,11,.35) 30%, rgba(10,10,11,.5) 60%, var(--onyx) 100%),
    radial-gradient(90% 75% at 15% 75%, rgba(10,10,11,.8), transparent 65%);
}
.hero__content {
  position: relative;
  padding-bottom: clamp(6rem, 12vh, 9rem);
}
.hero__eyebrow { margin-bottom: 1.5rem; }
.hero__eyebrow .line-mask { display: block; }
.hero__title {
  font-family: var(--serif);
  font-size: var(--fs-hero);
  font-weight: 500;
  line-height: .86;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.hero__title .line-mask:nth-child(2) { padding-left: .55em; }
.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem 4rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.hero__lede {
  max-width: 30rem;
  margin: 0;
  color: rgba(238, 234, 227, .82);
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.hero__bottom {
  position: absolute;
  left: 0; right: 0; bottom: 1.75rem;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  font-size: .6875rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--smoke);
}
.hero__scroll { display: inline-flex; align-items: center; gap: .9rem; }
.hero__scroll i {
  position: relative;
  width: 1px;
  height: 2.25rem;
  background: var(--line);
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brass);
  animation: drip 2.2s var(--ease-door) infinite;
}
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.hero__note { display: inline-flex; align-items: center; gap: .7rem; margin-right: 4.5rem; }
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 0 rgba(196,164,110,.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(196,164,110,0); } 100% { box-shadow: 0 0 0 0 rgba(196,164,110,0); } }

/* Masked line reveal (hero) */
.line-mask { display: block; overflow: hidden; padding-bottom: .04em; }
.line-mask > span { display: block; transform: translateY(105%); transition: transform 1.3s var(--ease-out); }
body.is-loaded .line-mask > span { transform: none; }
body.is-loaded .hero__title .line-mask:nth-child(1) > span { transition-delay: .1s; }
body.is-loaded .hero__title .line-mask:nth-child(2) > span { transition-delay: .22s; }
.fade-late { opacity: 0; translate: 0 1.25rem; transition: opacity 1.2s .5s, translate 1.2s .5s var(--ease-out); }
body.is-loaded .fade-late { opacity: 1; translate: 0 0; }

@media (max-width: 640px) {
  .hero__eyebrow { letter-spacing: .2em; }
  .hero__eyebrow::before { display: none; }
  .hero__title .line-mask:nth-child(2) { padding-left: 0; }
  .hero__note { display: none; }
  .hero__content { padding-bottom: 6rem; }
}

/* ==========================================================================
   Doors — image reveal from a centre seam (signature)
   ========================================================================== */
.door { position: relative; }
.door::before {             /* the brass seam */
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 1px;
  background: var(--brass);
  transform: scaleY(0);
  transition: transform .7s var(--ease-out), opacity .6s .9s;
  pointer-events: none;
}
.door.is-in::before { transform: scaleY(1); opacity: 0; }
.door__media {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--graphite);
  clip-path: inset(0 50% 0 50%);
  transition: clip-path 1.5s .35s var(--ease-door);
}
.door.is-in .door__media { clip-path: inset(0 0 0 0); }
.door__inner { position: absolute; inset: -8% 0; }
.door__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--grade);
  scale: 1.2;
  transition: scale 2.2s .35s var(--ease-out), filter 1s var(--ease-out);
}
.door.is-in .door__inner img { scale: 1; }
@media (hover: hover) {
  a:hover .door__inner img, .door:hover .door__inner img { filter: none; }
}

.door--tall { aspect-ratio: 3 / 4; }
.door--card { aspect-ratio: 4 / 5; }
.door--portrait { aspect-ratio: 4 / 5; }
.door--wide { aspect-ratio: 4 / 3; }
.door--inset { aspect-ratio: 4 / 3; }

/* Generic scroll reveal */
[data-reveal] { opacity: 0; translate: 0 2.25rem; transition: opacity 1.1s var(--ease-out), translate 1.1s var(--ease-out); }
[data-reveal].is-in { opacity: 1; translate: 0 0; }

/* ==========================================================================
   Intro
   ========================================================================== */
.intro .statement { margin-bottom: clamp(4rem, 8vw, 7rem); }
.intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
.intro__media { position: relative; padding-bottom: 18%; }
.intro__media .door--tall { width: 78%; }
.intro__media .door--inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  border: 10px solid var(--onyx);
}
.intro__copy { color: var(--smoke); max-width: 34rem; }
.intro__copy .lead { margin-bottom: 1.5em; }
.pull {
  margin: 2.75rem 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
}
.pull p {
  margin: 0 0 .75rem;
  font-family: var(--serif);
  font-size: var(--fs-md);
  font-style: italic;
  color: var(--bone);
}
.pull span { display: block; }

.stats {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: clamp(4.5rem, 9vw, 8rem);
  border-top: 1px solid var(--line);
}
.stats li {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
.stats strong {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -.02em;
}
.stats li > span {
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--smoke);
}

@media (min-width: 900px) {
  .intro__grid { grid-template-columns: 1.1fr 1fr; gap: clamp(4rem, 8vw, 8rem); align-items: center; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats li { padding: 2.5rem 2rem; border-bottom: 0; border-left: 1px solid var(--line); }
  .stats li:first-child { border-left: 0; padding-left: 0; }
}

/* ==========================================================================
   Pillars — mind, body, soul
   ========================================================================== */
.pillars { padding-top: 0; }
.pillars__head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.pillars__grid { display: grid; gap: 3.5rem; }
.pillar { display: block; }
.pillar .door { margin-bottom: 1.75rem; }
.pillar__word {
  margin-bottom: .6rem;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 3.4vw, 3.25rem);
  font-style: italic;
  line-height: 1;
}
.pillar p { max-width: 24rem; margin: 0; color: var(--smoke); }
.pillar .door::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid transparent;
  transition: border-color .6s, inset .6s var(--ease-out);
  pointer-events: none;
}
@media (hover: hover) {
  .pillar:hover .door::after { inset: 12px; border-color: rgba(196,164,110,.55); }
}

@media (min-width: 900px) {
  .pillars__grid { grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 2.5vw, 2.5rem); }
  .pillar:nth-child(2) { margin-top: 5rem; }
  .pillar:nth-child(3) { margin-top: 10rem; }
}

/* ==========================================================================
   Facilities — pinned horizontal scroll (desktop), swipe (touch)
   ========================================================================== */
.facilities { position: relative; padding-block: calc(var(--section) * .5); }
.facilities__pin { overflow: hidden; }
.facilities__track {
  position: relative;
  display: flex;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.facilities__track::-webkit-scrollbar { display: none; }
.facilities__intro {
  flex: 0 0 min(80vw, 26rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--smoke);
  scroll-snap-align: start;
}
.facilities__intro .title { margin-bottom: 1.5rem; color: var(--bone); }
.facilities__progress {
  position: relative;
  width: 10rem;
  height: 1px;
  margin-top: 1.5rem;
  background: var(--line);
}
.facilities__progress span {
  position: absolute;
  inset: 0;
  background: var(--brass);
  transform-origin: left;
  transform: scaleX(0);
}
.facility {
  flex: 0 0 min(82vw, 34rem);
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}
.facility__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--graphite);
}
.facility__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--grade);
  transition: scale 1.4s var(--ease-out), filter 1s var(--ease-out);
}
@media (hover: hover) {
  .facility:hover .facility__media img { scale: 1.06; filter: none; }
}
.facility__body { padding-top: 1.75rem; }
.facility__body h3 {
  margin-bottom: .75rem;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  line-height: 1.05;
}
.facility__body p { max-width: 28rem; color: var(--smoke); }

@media (min-width: 1024px) and (hover: hover) {
  .facilities.is-pinned { padding-block: 0; }
  .facilities.is-pinned .facilities__pin {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
  }
  .facilities.is-pinned .facilities__track {
    overflow: visible;
    padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
    gap: 3rem;
    will-change: transform;
  }
  .facilities.is-pinned .facilities__intro { flex-basis: 24rem; margin-right: 3rem; }
  .facilities.is-pinned .facility { flex-basis: auto; width: min(36vw, 30rem); }
  .facilities.is-pinned .facility__media { aspect-ratio: auto; height: 58vh; }
  .facilities.is-pinned .facility:nth-of-type(even) { margin-top: 10vh; }
}

/* ==========================================================================
   Feature — The Muscle Bar
   ========================================================================== */
.feature__grid { display: grid; gap: 3.5rem; align-items: center; }
.feature__copy { color: var(--smoke); max-width: 32rem; }
.feature__copy .title { margin-bottom: 2rem; color: var(--bone); }
@media (min-width: 900px) {
  .feature__grid { grid-template-columns: 1.25fr 1fr; gap: clamp(4rem, 8vw, 8rem); }
}

/* ==========================================================================
   Banner — comfort zone (parallax)
   ========================================================================== */
.banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 95vh;
  overflow: hidden;
  text-align: center;
}
.banner__media { position: absolute; inset: -20% 0; }
.banner__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.55); }
.banner__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 45% at 50% 55%, rgba(10,10,11,.7), transparent 75%),
    linear-gradient(180deg, var(--onyx) 0%, rgba(10,10,11,.5) 25%, rgba(10,10,11,.5) 75%, var(--onyx) 100%);
}
.banner__content { position: relative; }
.banner__title {
  margin-bottom: 2rem;
  font-family: var(--serif);
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.banner__title em { color: var(--brass); }
.banner__content p { max-width: 34rem; margin-inline: auto; font-size: 1.125rem; color: var(--bone); }
.banner__content b { font-weight: 600; color: var(--bone); }

/* ==========================================================================
   Trainers
   ========================================================================== */
.trainers__head {
  display: grid;
  gap: 1.5rem 4rem;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}
.trainers__intro { max-width: 30rem; margin: 0; color: var(--smoke); }
.trainers__grid { display: grid; gap: 4.5rem; }
.trainer__photo { display: block; margin-bottom: 2rem; }
.trainer__role {
  margin-bottom: .5rem;
  font-size: .75rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--brass);
}
.trainer__name {
  margin-bottom: 1.25rem;
  font-family: var(--serif);
  font-size: clamp(3.25rem, 6.5vw, 6.5rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.trainer__quote {
  max-width: 28rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--smoke);
}
@media (min-width: 900px) {
  .trainers__head { grid-template-columns: 1fr auto; align-items: end; }
  .trainers__grid { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
  .trainer--offset { margin-top: 9rem; }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { background: var(--graphite); }
.testimonials__inner { max-width: 1100px; }
.quotes { position: relative; }
.quotes__mark {
  display: block;
  height: .42em;
  font-family: var(--serif);
  font-size: clamp(5rem, 8vw, 7rem);
  font-style: italic;
  line-height: 1;
  color: var(--brass);
  pointer-events: none;
}
.quotes__viewport { position: relative; display: grid; }
.quote {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  translate: 0 1.5rem;
  transition: opacity .9s var(--ease-out), translate .9s var(--ease-out), visibility .9s;
}
.quote.is-active { opacity: 1; visibility: visible; translate: 0 0; }
.quote blockquote {
  position: relative;
  padding-top: 1rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.9vw, 2.6rem);
  line-height: 1.28;
  letter-spacing: -.01em;
}
.quote figcaption {
  margin-top: 2.25rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brass);
}
.quotes__nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 3.5rem;
}
.quotes__btn {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color .3s, background-color .3s, color .3s;
}
.quotes__btn svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.25; }
.quotes__btn:hover { background: var(--bone); border-color: var(--bone); color: var(--onyx); }
.quotes__count { min-width: 3.5rem; text-align: center; font-size: .8125rem; letter-spacing: .15em; color: var(--smoke); }
.quotes__count b { font-weight: 500; color: var(--bone); }
.quotes__bar {
  position: relative;
  flex: 1;
  max-width: 14rem;
  height: 1px;
  margin-left: 1rem;
  background: var(--line);
}
.quotes__bar i {
  position: absolute;
  inset: 0;
  background: var(--brass);
  transform-origin: left;
  transform: scaleX(0);
}
.quotes__bar i.is-running { animation: bar var(--slide-ms, 8000ms) linear forwards; }
.quotes.is-paused .quotes__bar i { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }

/* ==========================================================================
   Gallery — drifting columns
   ========================================================================== */
.gallery { overflow: hidden; }
.gallery__head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.gallery__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(.75rem, 1.6vw, 1.5rem);
}
.gallery__col { display: flex; flex-direction: column; gap: clamp(.75rem, 1.6vw, 1.5rem); }
.gallery__col:nth-child(even) { padding-top: 4rem; }
.shot { aspect-ratio: 4 / 3; overflow: hidden; background: var(--graphite); }
.shot--tall { aspect-ratio: 3 / 4; }
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--grade);
  transition: filter 1s var(--ease-out), scale 1.4s var(--ease-out);
}
@media (hover: hover) {
  .shot:hover img { filter: none; scale: 1.05; }
}
@media (min-width: 900px) {
  .gallery__cols { grid-template-columns: repeat(4, 1fr); }
  .gallery__col:nth-child(even) { padding-top: 7rem; }
}

/* ==========================================================================
   Partners
   ========================================================================== */
.partners { border-top: 1px solid var(--line); }
.partners__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}
.partners__inner .eyebrow { margin: 0; }
.partners__logos { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(2.5rem, 7vw, 6rem); }
.partners__logos img {
  height: clamp(44px, 5vw, 64px);
  width: auto;
  filter: grayscale(1) brightness(1.6);
  opacity: .7;
  transition: filter .6s, opacity .6s;
}
.partners__logos img:hover { filter: none; opacity: 1; }
.partners__logos .is-tall { height: clamp(70px, 8vw, 100px); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 90vh;
  padding-block: var(--section);
  overflow: hidden;
}
.cta__media { position: absolute; inset: -15% 0; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; filter: grayscale(.3) sepia(.1) brightness(.6) contrast(1.08); }
.cta__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,11,.94) 0%, rgba(10,10,11,.75) 38%, rgba(10,10,11,.1) 70%, rgba(10,10,11,.3) 100%),
    linear-gradient(180deg, var(--onyx) 0%, transparent 25%, transparent 75%, var(--onyx) 100%);
}
.cta__content { position: relative; }
.cta__title {
  max-width: 12ch;
  margin-bottom: 2rem;
  font-family: var(--serif);
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.cta__text { max-width: 32rem; color: rgba(238,234,227,.8); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: clamp(4.5rem, 8vw, 7rem) 0 2rem;
  border-top: 1px solid var(--line);
  font-size: .9375rem;
  color: var(--smoke);
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.site-footer__logo img { width: clamp(110px, 14vw, 170px); }
.site-footer__tag {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--fs-md);
  line-height: 1.2;
  text-align: right;
  color: var(--bone);
}
.site-footer__tag em { color: var(--brass); }
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 2rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.site-footer h4 {
  margin-bottom: 1.25rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--bone);
}
.site-footer li + li { margin-top: .4rem; }
.site-footer a { transition: color .3s; }
.site-footer a:hover { color: var(--bone); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: .8125rem;
}
.to-top { display: inline-flex; align-items: center; gap: .6rem; margin-right: 4.5rem; }
.to-top svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
@media (min-width: 900px) {
  .site-footer__cols { grid-template-columns: 1.2fr 1.2fr 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer__tag { text-align: left; }
}

/* ---------- WhatsApp ---------- */
.whatsapp {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 80;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(19,19,21,.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color .4s, border-color .4s, scale .4s var(--ease-out);
}
.whatsapp svg { width: 22px; fill: var(--bone); transition: fill .4s; }
.whatsapp:hover { background: var(--brass); border-color: var(--brass); scale: 1.06; }
.whatsapp:hover svg { fill: var(--onyx); }

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* Skip the lift-door intro after the first page of a visit */
.no-intro .loader { display: none; }

/* Menu: parent of the current page (WordPress adds .current-menu-ancestor) */
.menu > .current-menu-ancestor > a { color: var(--bone); }
.menu > .current-menu-ancestor > a::after { left: 0; right: 0; }
.sub-menu .current-menu-item > a { color: var(--bone); }
.sub-menu .current-menu-item > a::before {
  content: "";
  display: inline-block;
  width: .9rem;
  height: 1px;
  margin-right: .6rem;
  vertical-align: middle;
  background: var(--brass);
}

/* Doors that open on page load rather than on scroll */
.door--load::before { transition-delay: .1s, 1s; }
body.is-loaded .door--load::before { transform: scaleY(1); opacity: 0; }
.door--load .door__media { transition-delay: .35s; }
body.is-loaded .door--load .door__media { clip-path: inset(0 0 0 0); }
body.is-loaded .door--load .door__inner img { scale: 1; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .75rem;
  margin-bottom: 1.75rem;
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--smoke);
}
.breadcrumb a { transition: color .3s; }
.breadcrumb a:hover { color: var(--bone); }
.breadcrumb [aria-current] { color: var(--brass); }
.breadcrumb__sep { width: 1.25rem; height: 1px; background: var(--line); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 82vh;
  min-height: 82svh;
  padding-top: var(--header-h);
  overflow: hidden;
}
.page-hero--short { min-height: 66vh; min-height: 66svh; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media .door__inner { inset: -10% 0; }
.page-hero__media .door__inner img { filter: grayscale(.45) sepia(.12) contrast(1.06) brightness(.72); }
.page-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,.7) 0%, rgba(10,10,11,.15) 35%, rgba(10,10,11,.45) 65%, var(--onyx) 100%),
    radial-gradient(90% 70% at 15% 85%, rgba(10,10,11,.7), transparent 65%);
}
.page-hero__content { position: relative; padding-bottom: clamp(3.5rem, 9vh, 6.5rem); }
.page-hero__title {
  font-family: var(--serif);
  font-size: clamp(3rem, 8.4vw, 8.5rem);
  font-weight: 500;
  line-height: .88;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.page-hero__title em { font-weight: 400; text-transform: none; letter-spacing: -.01em; }
body.is-loaded .page-hero__title .line-mask:nth-child(2) > span { transition-delay: .12s; }
.page-hero__lede { max-width: 34rem; margin: 1.75rem 0 0; color: rgba(238, 234, 227, .82); }

/* ---------- Page intro ---------- */
.page-intro__grid { display: grid; gap: 2.5rem; }
.page-intro .statement { max-width: 18ch; margin-bottom: 2.5rem; }
.page-intro__grid > div > .statement:last-child { margin-bottom: 0; }
.page-intro__media { margin-top: 1rem; }
.prose { max-width: 36rem; color: var(--smoke); }
.prose .lead { margin-bottom: 1.1em; }
.prose p:last-child { margin-bottom: 0; }
.prose .link-line { margin-top: 1.5rem; }
@media (min-width: 900px) {
  .page-intro__grid { grid-template-columns: 1.15fr 1fr; gap: clamp(4rem, 8vw, 8rem); align-items: start; }
  .page-intro__grid--media { align-items: center; }
}

.section-head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head .title { max-width: 16ch; }
.section-head--split { display: grid; gap: 1.5rem 4rem; }
.section-head--split > p { max-width: 30rem; margin: 0; color: var(--smoke); }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr auto; align-items: end; }
}
.section--line { border-top: 1px solid var(--line); }

/* ---------- Highlights ---------- */
.highlights { display: grid; border-top: 1px solid var(--line); }
.highlights li { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.highlights h3 {
  margin-bottom: .6rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  line-height: 1.15;
}
.highlights p { margin: 0; font-size: .975rem; color: var(--smoke); }
@media (min-width: 700px) {
  .highlights { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
}
@media (min-width: 1100px) {
  .highlights--3 { grid-template-columns: repeat(3, 1fr); }
  .highlights--4 { grid-template-columns: repeat(4, 1fr); column-gap: 2.5rem; }
}

/* ---------- Mosaic gallery + lightbox ---------- */
.mosaic { columns: 2; column-gap: clamp(.75rem, 1.6vw, 1.5rem); }
.mosaic__item {
  position: relative;
  display: block;
  margin-bottom: clamp(.75rem, 1.6vw, 1.5rem);
  overflow: hidden;
  background: var(--graphite);
  break-inside: avoid;
  cursor: zoom-in;
}
.mosaic__item img {
  width: 100%;
  filter: var(--grade);
  transition: filter 1s var(--ease-out), scale 1.4s var(--ease-out);
}
.mosaic__item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: inset .6s var(--ease-out), border-color .6s;
  pointer-events: none;
}
@media (hover: hover) {
  .mosaic__item:hover img { filter: none; scale: 1.04; }
  .mosaic__item:hover::after { inset: 10px; border-color: rgba(196, 164, 110, .55); }
}
@media (min-width: 900px) { .mosaic { columns: 3; } }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  padding: 4.5rem 1rem;
  background: rgba(6, 6, 7, .95);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s, visibility .45s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: min(92vw, 1400px);
  max-height: 80vh;
  width: auto;
  height: auto;
  clip-path: inset(0 50% 0 50%);
  transition: clip-path .9s var(--ease-door);
}
.lightbox__img.is-ready { clip-path: inset(0 0 0 0); }
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(19, 19, 21, .7);
  transition: background-color .3s, color .3s, border-color .3s;
}
.lightbox__btn:hover { background: var(--bone); border-color: var(--bone); color: var(--onyx); }
.lightbox__btn svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__prev { left: 1.25rem; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 1.25rem; top: 50%; translate: 0 -50%; }
.lightbox__count {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  translate: -50% 0;
  font-size: .75rem;
  letter-spacing: .2em;
  color: var(--smoke);
}
@media (max-width: 700px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; translate: none; }
}

/* ---------- Next page link ---------- */
.next-page {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-block: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
}
.next-page > div { min-width: 0; }
.next-page .eyebrow { margin-bottom: 1.25rem; }
.next-page__title {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--serif);
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.next-page__title > span { min-width: 0; }
.next-page__title em { font-weight: 400; text-transform: none; }
.next-page__title svg {
  flex: none;
  width: clamp(2rem, 4vw, 3.5rem);
  fill: none;
  stroke: var(--brass);
  stroke-width: 1;
  transition: transform .6s var(--ease-out);
}
.next-page__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--graphite); }
.next-page__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--grade);
  transition: filter 1s var(--ease-out), scale 1.4s var(--ease-out);
}
@media (hover: hover) {
  .next-page:hover .next-page__title svg { transform: translateX(.75rem); }
  .next-page:hover .next-page__media img { filter: none; scale: 1.05; }
}
@media (min-width: 900px) {
  .next-page { grid-template-columns: 1fr minmax(0, 30rem); gap: 4rem; }
}

/* ---------- Trainer profile ---------- */
.profile { padding: calc(var(--header-h) + clamp(2rem, 5vw, 4rem)) 0 clamp(4rem, 8vw, 7rem); }
.profile__grid { display: grid; gap: 3rem; align-items: end; }
.profile__photo .door { aspect-ratio: 4 / 5; }
.profile__name {
  margin-bottom: 1.5rem;
  font-family: var(--serif);
  font-size: var(--fs-hero);
  font-weight: 500;
  line-height: .85;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.profile__lede { max-width: 30rem; font-family: var(--serif); font-size: var(--fs-md); line-height: 1.3; }
.profile__meta {
  display: grid;
  gap: 0;
  margin: 2.5rem 0 0;
  border-top: 1px solid var(--line);
}
.profile__meta div { display: grid; gap: .25rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.profile__meta dt { font-size: .6875rem; letter-spacing: .24em; text-transform: uppercase; color: var(--smoke); }
.profile__meta dd { margin: 0; font-family: var(--serif); font-size: 1.3rem; }
@media (min-width: 600px) {
  .profile__meta div { grid-template-columns: 11rem 1fr; align-items: baseline; }
}
@media (min-width: 900px) {
  .profile__grid { grid-template-columns: minmax(0, .85fr) 1fr; gap: clamp(3rem, 7vw, 7rem); }
}

/* ---------- Facts / Q&A ---------- */
.facts { display: grid; border-top: 1px solid var(--line); }
.facts div { display: grid; gap: .4rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .6875rem; letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
.facts dd { margin: 0; font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.35; }
@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
}

.qa { border-top: 1px solid var(--line); }
.qa__row { display: grid; gap: 1.25rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.qa__q { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-style: italic; line-height: 1.2; }
.qa__a p { margin: 0; color: var(--smoke); }
.qa__who {
  display: block;
  margin-bottom: .35rem;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--brass);
}
@media (min-width: 900px) {
  .qa__row { grid-template-columns: 1fr 1fr 1fr; gap: 3rem; }
}

/* ---------- Founders ---------- */
.founders { display: grid; gap: 4rem; }
.founder .door { aspect-ratio: 4 / 5; margin-bottom: 2rem; }
.founder__name {
  margin-bottom: .4rem;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.founder__origin { margin-bottom: 1.25rem; font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--brass); }
.founder p { color: var(--smoke); }
@media (min-width: 900px) {
  .founders { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
  .founder:nth-child(2) { margin-top: 8rem; }
}

/* ---------- Journey timeline ---------- */
.journey { display: grid; margin: 0; padding: 0; list-style: none; }
.journey li { position: relative; padding: 0 0 2.75rem 2.25rem; border-left: 1px solid var(--line); }
.journey li:last-child { padding-bottom: 0; }
.journey li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: .55rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--onyx);
  border: 1px solid var(--brass);
}
.journey li:last-child::before { background: var(--brass); }
.journey__place {
  display: block;
  margin-bottom: .6rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}
.journey p { max-width: 24rem; margin: 0; color: var(--smoke); }
@media (min-width: 1000px) {
  .journey { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .journey li { padding: 2.25rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .journey li::before { left: 0; top: -5px; }
}

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: 4rem; }
.contact-list { display: grid; border-top: 1px solid var(--line); }
.contact-item { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.contact-item h2 {
  margin-bottom: .4rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--brass);
}
.contact-item p { margin: 0 0 .75rem; color: var(--smoke); }
.contact-item__value {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.2;
  transition: color .3s;
}
a.contact-item__value:hover { color: var(--brass); }
.contact-item .link-line { margin-top: 1rem; }

.form-wrap h2 { margin-bottom: .5rem; }
.form-wrap > p { margin-bottom: 2.5rem; color: var(--smoke); }
.form { display: grid; gap: 2rem; }
.form__row { display: grid; gap: 2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .6875rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--smoke); }
.field input,
.field textarea {
  width: 100%;
  padding: .7rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--bone);
  font-family: var(--serif);
  font-size: 1.25rem;
  transition: border-color .4s;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--brass); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.form__note { margin: 0; max-width: 22rem; font-size: .8125rem; color: var(--smoke); }
.form__status { margin: 0; font-size: .875rem; color: var(--brass); }
.form__status:empty { display: none; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .contact__grid { grid-template-columns: .9fr 1.1fr; gap: clamp(4rem, 8vw, 8rem); align-items: start; }
}

.map { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--graphite); }
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(.9) contrast(.85) brightness(.95);
}
.map__card {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  max-width: calc(100% - 2rem);
  padding: 1.5rem 1.75rem;
  background: rgba(10, 10, 11, .9);
  border: 1px solid var(--line);
}
.map__card strong { display: block; margin-bottom: .2rem; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.map__card span { display: block; margin-bottom: .9rem; font-size: .875rem; color: var(--smoke); }
@media (min-width: 700px) {
  .map { aspect-ratio: 21 / 9; }
  .map__card { left: var(--gutter); bottom: 2rem; }
}

.careers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.careers h2 { font-family: var(--serif); font-size: var(--fs-lg); font-weight: 400; line-height: 1.05; }
.careers h2 em { color: var(--smoke); }

/* Intro that opens with a lead sentence instead of a statement */
.page-intro__lead { max-width: 24ch; margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.25; }

/* Checklist with brass dashes (Styku) */
.ticks { display: grid; gap: .7rem; margin: 1.75rem 0 2.25rem; }
.ticks li { display: flex; align-items: baseline; gap: .9rem; color: var(--bone); }
.ticks li::before {
  content: "";
  flex: none;
  width: 1.25rem;
  height: 1px;
  background: var(--brass);
  transform: translateY(-.3em);
}

/* Reversed feature (image on the right) */
@media (min-width: 900px) {
  .feature__grid--reverse { grid-template-columns: 1fr 1.25fr; }
  .feature__grid--reverse .feature__media { order: 2; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .loader { display: none; }
  [data-reveal], .fade-late { opacity: 1; translate: none; }
  .line-mask > span { transform: none; }
  .door__media, .lightbox__img { clip-path: none; }
  .door__inner img, .hero__video { scale: 1; }
}
