/* ═══════════════════════════════════════════════════════════════
   GSS WEST — Carbon & Bone
   A ground-up system for the pre-sale site. Warm carbon grounds,
   bone type, one azure accent. Archivo (variable width) + IBM Plex
   Mono. Square corners, hairline rules, oversized numerals.
   No relation to the goodwinstrong.com design system.
   ═══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-var-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/plex-mono-400-latin.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/plex-mono-500-latin.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/plex-mono-600-latin.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --ground: #131211;
  --ground-deep: #0C0B0A;
  --panel: #1B1917;
  --panel-2: #211E1A;
  --bone: #F1EDE4;
  --bone-band: #EDE8DC;
  --ink: #131211;
  --muted: #A8A296;
  --muted-deep: #6E695F;
  --accent: #5E9BFF;
  --accent-deep: #3B72D9;
  --line: rgba(241, 237, 228, 0.14);
  --line-soft: rgba(241, 237, 228, 0.07);
  --line-ink: rgba(19, 18, 17, 0.16);
  --ticker-h: 34px;
  --header-h: 72px;
  --space: clamp(5rem, 9vw, 9rem);
  --gutter: clamp(1.25rem, 4vw, 4rem);
}

/* ── Base ── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--bone);
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 410;
  font-stretch: 100%;
  font-size: 16.5px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ground-deep); }
::-webkit-scrollbar-thumb { background: #2A2723; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-deep); }

/* MPA cross-document fade (progressive enhancement, Chrome 126+) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation-duration: .18s; }
::view-transition-new(root) { animation-duration: .26s; }

.skip-link {
  position: absolute; top: -52px; left: 1rem; z-index: 200;
  padding: .8rem 1.3rem; background: var(--accent); color: var(--ink);
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; transition: top .2s ease;
}
.skip-link:focus { top: .75rem; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}

/* ── Type roles ── */
.mono {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow { color: var(--muted); }
.eyebrow .slash { color: var(--accent); margin-right: .5em; }
.display {
  font-stretch: 118%; font-weight: 620;
  text-transform: uppercase; line-height: .96;
  letter-spacing: -0.005em; margin: 0;
  text-wrap: balance;
}
.display-black {
  font-stretch: 108%; font-weight: 860;
  text-transform: uppercase; line-height: .94;
  letter-spacing: -0.01em; margin: 0;
  text-wrap: balance;
}
.t-hero  { font-size: clamp(2.9rem, 7.6vw, 7rem); }
.t-page  { font-size: clamp(3.2rem, 10vw, 9rem); }
.t-sec   { font-size: clamp(2rem, 4.6vw, 3.9rem); }
.t-card  { font-size: clamp(1.25rem, 2vw, 1.7rem); }
.accent { color: var(--accent); }
.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 380; line-height: 1.65; color: var(--muted);
  max-width: 58ch;
}
.lede strong, .body-copy strong { color: var(--bone); font-weight: 600; }
.body-copy { color: var(--muted); font-weight: 390; max-width: 62ch; }

/* ── Layout ── */
.shell { width: min(1560px, 100%); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ── Ticker ── */
.ticker {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  height: var(--ticker-h); overflow: hidden;
  background: var(--ground-deep);
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center;
}
.ticker-track {
  display: flex; gap: 0; white-space: nowrap;
  animation: ticker-roll 36s linear infinite;
}
.ticker-track span {
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  padding-right: 3.5rem;
}
.ticker-track span b { color: var(--accent); font-weight: 500; }
@keyframes ticker-roll { to { transform: translateX(-50%); } }

/* ── Header ── */
.header {
  position: fixed; top: var(--ticker-h); left: 0; right: 0; z-index: 80;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--gutter);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
html.scrolled .header {
  background: rgba(12, 11, 10, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.menu-btn {
  justify-self: start;
  display: inline-flex; align-items: center; gap: .8rem;
  background: none; border: 0; padding: .6rem 0; cursor: pointer;
  color: var(--bone);
}
.menu-btn .bars { display: inline-grid; gap: 6px; width: 26px; }
.menu-btn .bars i {
  height: 2px; background: var(--bone); display: block;
  transition: transform .3s cubic-bezier(.7, 0, .2, 1), width .3s ease, background-color .2s;
}
.menu-btn .bars i:last-child { width: 70%; }
.menu-btn:hover .bars i { background: var(--accent); }
.menu-btn:hover .bars i:last-child { width: 100%; }
.menu-btn .mono { color: var(--muted); }
html.menu-open .menu-btn .bars i:first-child { transform: translateY(4px) rotate(45deg); }
html.menu-open .menu-btn .bars i:last-child { width: 100%; transform: translateY(-4px) rotate(-45deg); }

.wordmark {
  justify-self: center;
  font-stretch: 122%; font-weight: 760; font-size: 1.05rem;
  letter-spacing: .3em; text-transform: uppercase; white-space: nowrap;
}
.wordmark em { font-style: normal; color: var(--accent); }
.header-cta {
  justify-self: end;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--bone); padding: .55rem 0;
  border-bottom: 1px solid var(--accent);
  transition: color .2s ease;
  white-space: nowrap;
}
.header-cta:hover { color: var(--accent); }
@media (max-width: 720px) {
  .header-cta span { display: none; }
  .header-cta::after { content: "JOIN →"; }
  .menu-btn .mono { display: none; }
  .wordmark { letter-spacing: .2em; font-size: .95rem; }
}

/* ── Full-screen menu ── */
.menu {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ground-deep);
  display: flex; flex-direction: column;
  padding: calc(var(--ticker-h) + 1rem) var(--gutter) 2rem;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .5s cubic-bezier(.76, 0, .24, 1), visibility 0s linear .5s;
}
html.menu-open .menu {
  clip-path: inset(0 0 0% 0);
  visibility: visible;
  transition: clip-path .55s cubic-bezier(.76, 0, .24, 1), visibility 0s;
}
html.menu-open { overflow: hidden; }
.menu-top {
  display: flex; justify-content: space-between; align-items: center;
  height: var(--header-h); flex-shrink: 0;
}
.menu-close {
  background: none; border: 0; cursor: pointer; color: var(--bone);
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; padding: .6rem 0;
}
.menu-close:hover { color: var(--accent); }
.menu-links {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  gap: clamp(.1rem, .8vh, .6rem);
  overflow-y: auto;
}
.menu-link {
  display: flex; align-items: baseline; gap: clamp(.9rem, 2.5vw, 2rem);
  font-stretch: 78%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.6rem, 8.6vh, 6.2rem); line-height: 1.02;
  color: var(--bone);
  opacity: 0; transform: translateY(28px);
  transition: opacity .4s ease, transform .5s cubic-bezier(.22, 1, .36, 1), color .2s ease;
}
html.menu-open .menu-link { opacity: 1; transform: none; }
html.menu-open .menu-link:nth-child(1) { transition-delay: .16s; }
html.menu-open .menu-link:nth-child(2) { transition-delay: .22s; }
html.menu-open .menu-link:nth-child(3) { transition-delay: .28s; }
html.menu-open .menu-link:nth-child(4) { transition-delay: .34s; }
html.menu-open .menu-link:nth-child(5) { transition-delay: .40s; }
html.menu-open .menu-link:nth-child(6) { transition-delay: .46s; }
.menu-link .idx {
  font-family: 'IBM Plex Mono', monospace; font-size: clamp(.7rem, 1.6vh, .95rem);
  font-weight: 500; letter-spacing: .2em; color: var(--muted-deep);
}
@media (max-width: 640px) {
  .menu-link { font-size: clamp(1.9rem, 9.6vw, 3.2rem); white-space: nowrap; gap: 1rem; }
  .menu-links { gap: .9rem; }
}
.menu-link:hover { color: var(--accent); }
.menu-link[aria-current="page"] {
  color: var(--muted-deep);
  text-decoration: line-through;
  text-decoration-thickness: .06em;
  text-decoration-color: var(--accent);
  pointer-events: none;
}
.menu-foot {
  flex-shrink: 0; display: flex; flex-wrap: wrap; gap: 1rem 3rem;
  justify-content: space-between; align-items: end;
  padding-top: 1.25rem; border-top: 1px solid var(--line-soft);
}
.menu-foot a:hover { color: var(--accent); }
.menu-foot .mono { color: var(--muted); }

/* ── Inline crumb nav (ZOO convention) ── */
.crumb-nav { display: flex; flex-wrap: wrap; gap: .35em; color: var(--muted); }
.crumb-nav a { color: var(--muted); transition: color .2s; }
.crumb-nav a:hover { color: var(--accent); }
.crumb-nav [aria-current="page"] {
  color: var(--bone);
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 54px; padding: 1rem 2.2rem;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--accent); cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn-solid { background: var(--accent); color: var(--ink); }
.btn-solid:hover { background: var(--bone); border-color: var(--bone); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--bone); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-ink { background: var(--ink); color: var(--bone-band); border-color: var(--ink); }
.btn-ink:hover { background: #2A2723; transform: translateY(-2px); }
.arrow-link {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--bone);
  padding-bottom: .35rem; border-bottom: 1px solid var(--line);
  transition: color .2s, border-color .2s;
}
.arrow-link::after { content: "→"; color: var(--accent); transition: transform .25s ease; }
.arrow-link:hover { color: var(--accent); border-color: var(--accent); }
.arrow-link:hover::after { transform: translateX(4px); }

/* ── Strike-hover accent ──
   Same "line through the middle" idea as .menu-link[aria-current="page"],
   replayed as a hover/focus animation instead of a static state. Applies to
   every button-like CTA: .btn variants, .arrow-link, .header-cta, .pill. */
.btn, .arrow-link, .header-cta, .pill { position: relative; }
.btn::before, .arrow-link::before, .header-cta::before, .pill::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 50%;
  height: 1.5px; background: currentColor;
  transform: translateY(-50%) scaleX(0); transform-origin: center;
  pointer-events: none; opacity: .9;
}
@media (prefers-reduced-motion: no-preference) {
  .btn::before, .arrow-link::before, .header-cta::before, .pill::before {
    transition: transform .3s cubic-bezier(.22, 1, .36, 1);
  }
}
.btn:hover::before, .btn:focus-visible::before,
.arrow-link:hover::before, .arrow-link:focus-visible::before,
.header-cta:hover::before, .header-cta:focus-visible::before,
.pill:hover::before, .pill:focus-visible::before {
  transform: translateY(-50%) scaleX(1);
}
.btn:disabled, .btn[aria-disabled="true"] {
  opacity: .45; cursor: not-allowed; pointer-events: none;
}
.btn:disabled::before, .btn[aria-disabled="true"]::before { display: none; }

/* ── Barbell bullet (replaces the 01/02/03 list-numeral motif) ──
   Decorative only — aria-hidden in markup, so screen readers read list
   text alone. Ordered procedural steps (.step::before) keep real numbers. */
.barbell { flex-shrink: 0; }
.amenity-list .barbell { color: #4A6488; }
.svc-row .barbell { color: var(--accent); align-self: start; margin-top: .35rem; }
.faq-q .barbell { color: var(--muted-deep); align-self: center; }

/* ── Barbell cursor (progressive enhancement, desktop fine-pointer only) ── */
.gssw-cursor {
  position: fixed; top: 0; left: 0; z-index: 250;
  pointer-events: none; transform: translate(-50%, -50%);
  color: var(--accent); opacity: 0;
  transition: opacity .2s ease;
  will-change: transform;
}
html.gssw-cursor-on .gssw-cursor { opacity: 1; }
html.gssw-cursor-on body { cursor: none; }
html.gssw-cursor-on input, html.gssw-cursor-on textarea, html.gssw-cursor-on select,
html.gssw-cursor-on [contenteditable] { cursor: auto; }
@media (max-width: 1023px), (pointer: coarse) { .gssw-cursor { display: none !important; } }

/* ── Team grid (trainer cards) ──
   Same visual system as .steps/.step, without the counter numeral —
   trainer order isn't a procedure, so no numbers here. */
.team-grid { counter-reset: none; }
.team-grid .step::before { display: none; }
.team-grid .step .barbell { display: block; margin-bottom: 1.4rem; color: var(--accent); }
.bone-band .team-grid .step .barbell { color: #4A6488; }

/* ── Compact mobile photo strip (Original Location gallery) ── */
.photo-strip {
  display: none; grid-template-columns: repeat(3, 1fr); gap: .6rem;
  margin: 0; padding: 0; list-style: none;
}
.photo-strip button {
  display: block; padding: 0; border: 0; background: none; cursor: pointer;
  aspect-ratio: 1; overflow: hidden;
}
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .photo-strip { display: grid; }
  .masonry.gallery-desktop { display: none; }
}
.lightbox {
  border: 0; padding: 0; background: rgba(12, 11, 10, .96); color: var(--bone);
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh;
}
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox::backdrop { background: rgba(12, 11, 10, .96); }
.lightbox-close {
  position: fixed; top: 1.25rem; right: 1.25rem; z-index: 2;
  background: none; border: 1px solid var(--line); color: var(--bone);
  padding: .6rem 1rem; cursor: pointer;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}

/* ── Loader ── */
.loader {
  position: fixed; inset: 0; z-index: 300;
  background: var(--ground-deep);
  display: flex; align-items: center; justify-content: center;
  transition: clip-path .6s cubic-bezier(.76, 0, .24, 1);
}
.loader-mark {
  overflow: hidden;
}
.loader-mark span {
  display: block;
  font-stretch: 120%; font-weight: 850; text-transform: uppercase;
  font-size: clamp(1.8rem, 5vw, 3.4rem); letter-spacing: .22em;
  transform: translateY(110%);
  animation: loader-rise .7s cubic-bezier(.22, 1, .36, 1) .1s forwards;
}
.loader-mark em { font-style: normal; color: var(--accent); }
@keyframes loader-rise { to { transform: none; } }
html.loaded .loader { clip-path: inset(0 0 100% 0); pointer-events: none; }
html.no-loader .loader { display: none; }

/* ── Hero (home) ── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--ticker-h) + var(--header-h) + 3rem) 0 clamp(2rem, 5vh, 4rem);
  background: var(--ground-deep);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
  opacity: .34; filter: saturate(.55) contrast(1.05);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--ground-deep) 4%, rgba(12, 11, 10, .35) 45%, rgba(12, 11, 10, .55) 100%),
    linear-gradient(to right, rgba(12, 11, 10, .65), transparent 55%);
}
.hero-inner { position: relative; z-index: 2; }
.hero h1 { max-width: 26ch; }
.hero h1 .hero-sub {
  display: block; margin-top: .6rem;
  font-stretch: 100%; font-weight: 480; text-transform: none;
  letter-spacing: 0; line-height: 1.3;
  font-size: clamp(1rem, 2.1vw, 1.4rem); color: var(--muted);
}
.hero .rotor-line { display: block; }
.hero-foot {
  display: flex; flex-wrap: wrap; gap: 1.5rem 3rem;
  justify-content: space-between; align-items: end;
  margin-top: clamp(2rem, 5vh, 3.5rem);
  padding-top: 1.5rem; border-top: 1px solid var(--line);
}
/* Rotating word: single grid cell, mask rise */
.rotor { display: inline-grid; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; margin-bottom: -.06em; }
.rotor > span {
  grid-area: 1 / 1; color: var(--accent); pointer-events: none;
  opacity: 0; transform: translateY(108%);
  transition: transform .55s cubic-bezier(.16, 1, .3, 1), opacity .3s ease;
}
.rotor > span.on { opacity: 1; transform: none; }
.rotor > span.off { opacity: 0; transform: translateY(-108%); }

/* ── Reveal system ── */
[data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity .85s cubic-bezier(.22, 1, .36, 1), transform .85s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-mask] { overflow: hidden; }
[data-mask] > span {
  display: block; transform: translateY(108%);
  transition: transform 1s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--d, 0) * 110ms);
}
[data-mask].in > span { transform: none; }
[data-wipe] { overflow: hidden; }
[data-wipe] img {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1s cubic-bezier(.76, 0, .24, 1) calc(var(--d, 0) * 110ms),
              transform 1.4s cubic-bezier(.22, 1, .36, 1) calc(var(--d, 0) * 110ms);
  transform: scale(1.08);
}
[data-wipe].in img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* ── Marquee word band ── */
.word-band {
  overflow: hidden; padding-block: clamp(1rem, 2.5vw, 2rem);
  border-block: 1px solid var(--line-soft);
  background: var(--ground);
}
.word-band-track {
  display: flex; white-space: nowrap; gap: 0;
  animation: ticker-roll 30s linear infinite;
}
.word-band-track span {
  font-stretch: 80%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1;
  padding-right: 2.5rem; color: var(--panel-2);
  -webkit-text-stroke: 1px rgba(241, 237, 228, .22);
}
.word-band-track span.fill { color: var(--bone); -webkit-text-stroke: 0; }
.word-band-track span.fill em { font-style: normal; color: var(--accent); }

/* ── Stat row (MetroFlex) ── */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border-block: 1px solid var(--line);
}
.stats > div {
  padding: clamp(1.5rem, 3vw, 2.5rem) 1rem;
  text-align: center; border-right: 1px solid var(--line-soft);
}
.stats > div:last-child { border-right: 0; }
.stats b {
  display: block; font-stretch: 115%; font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stats .accent b { color: var(--accent); }
.stats span {
  display: block; margin-top: .6rem;
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted-deep);
}
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(even) { border-right: 0; }
  .stats > div { border-bottom: 1px solid var(--line-soft); }
}

/* ── Masonry (Alphaland) ── */
.masonry {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.5vw, 2.25rem);
  align-items: start;
}
.masonry > *:nth-child(even) { margin-top: clamp(2rem, 6vw, 5rem); }
.m-card { position: relative; overflow: hidden; background: var(--panel); }
.m-card img {
  width: 100%; height: clamp(320px, 46vw, 640px); object-fit: cover;
  filter: saturate(.6) contrast(1.04);
  transition: transform 1.2s cubic-bezier(.22, 1, .36, 1), filter .6s ease;
}
.m-card:hover img { transform: scale(1.04); filter: saturate(.85) contrast(1.04); }
.m-card figcaption {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone);
  background: linear-gradient(to bottom, rgba(12, 11, 10, .75), transparent);
}
.m-card figcaption i { font-style: normal; color: var(--accent); }
@media (max-width: 640px) {
  .masonry { grid-template-columns: 1fr; }
  .masonry > *:nth-child(even) { margin-top: 0; }
  .m-card img { height: 380px; }
}

/* ── Bone band (Ethos inversion) ── */
.bone-band { background: var(--bone-band); color: var(--ink); }
.bone-band .eyebrow, .bone-band .lede, .bone-band .body-copy { color: #5D584E; }
.bone-band .lede strong, .bone-band .body-copy strong { color: var(--ink); }
.bone-band .rule { background: var(--line-ink); }
.amenity-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0 3rem; margin: 0; padding: 0; list-style: none;
}
.amenity-list li {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line-ink);
  font-stretch: 108%; font-weight: 560; text-transform: uppercase;
  font-size: .92rem; letter-spacing: .05em;
}
.bone-band .step::before { color: #4A6488; }

/* ── Plan rows (Ethos) ── */
.plan-row {
  display: grid; grid-template-columns: minmax(200px, 1.1fr) 1.6fr minmax(220px, .9fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.plan-row:last-of-type { border-bottom: 1px solid var(--line); }
.plan-row h3 { margin: 0; }
.plan-row .plan-tag {
  display: inline-block; margin-top: .9rem;
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
  border: 1px dashed rgba(94, 155, 255, .45); padding: .4rem .7rem;
}
.plan-bullets { margin: 0; padding: 0; list-style: none; }
.plan-bullets li {
  position: relative; padding: .55rem 0 .55rem 1.4rem;
  color: var(--muted); font-weight: 390; font-size: .97rem;
}
.plan-bullets li::before {
  content: "●"; position: absolute; left: 0; top: .68rem;
  font-size: .5rem; color: var(--accent);
}
.plan-cta { display: grid; gap: .8rem; justify-items: stretch; }
@media (max-width: 900px) {
  .plan-row { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ── Steps ── */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.step {
  counter-increment: step;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border-left: 1px solid var(--line-soft);
}
.step:first-child { border-left: 0; padding-left: 0; }
.step::before {
  content: "0" counter(step);
  display: block; margin-bottom: 1.4rem;
  font-family: 'IBM Plex Mono', monospace; font-size: .85rem; font-weight: 500;
  letter-spacing: .2em; color: var(--accent);
}
.step h3 { margin: 0 0 .8rem; }
.step p { margin: 0; color: var(--muted); font-weight: 390; font-size: .97rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-soft); padding-top: 1.5rem; }
  .step:first-child { border-top: 0; }
}

/* ── Reviews (MetroFlex) ── */
.review-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.review-card {
  background: var(--panel); border: 1px solid var(--line-soft);
  padding: 1.75rem 1.6rem;
  display: flex; flex-direction: column; gap: 1.1rem;
}
.review-card .stars { color: var(--accent); letter-spacing: .2em; font-size: .8rem; }
.review-card blockquote {
  margin: 0; color: var(--bone); font-weight: 390;
  font-size: .97rem; line-height: 1.65; flex: 1;
}
.review-card .src {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted-deep);
}
.review-card .src b { color: var(--accent); font-weight: 500; }
.reviews-meta {
  display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: baseline;
  margin-bottom: 2.5rem;
}
.reviews-meta .score {
  font-stretch: 115%; font-weight: 820; font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums;
}
.reviews-status { min-height: 1.4rem; margin-top: 1.25rem; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: baseline; gap: 1.5rem;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 1.5rem 0; color: var(--bone);
}
.faq-q .qt {
  flex: 1; font-stretch: 110%; font-weight: 620; text-transform: uppercase;
  font-size: clamp(1rem, 1.8vw, 1.35rem); letter-spacing: .02em; line-height: 1.25;
}
.faq-q .qx {
  font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--accent);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.faq-q:hover .qt { color: var(--accent); }
.faq-item.open .qx { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .45s cubic-bezier(.22, 1, .36, 1);
}
.faq-a p {
  margin: 0; padding: 0 0 1.75rem calc(16px + 1.5rem);
  color: var(--muted); font-weight: 390; max-width: 68ch;
}
.faq-item.open .faq-a { max-height: 400px; }
@media (max-width: 640px) { .faq-a p { padding-left: 0; } }

/* ── Form section ── */
.form-wrap {
  border: 1px solid var(--line);
  background: var(--ground-deep);
  padding: clamp(.4rem, 1vw, .8rem);
}
.form-wrap iframe { display: block; width: 100%; min-height: 640px; border: 0; }

/* ── Native forms (Netlify Forms — no third-party vendor) ── */
.gform { display: grid; gap: 1.15rem; padding: clamp(1.4rem, 3vw, 2rem); }
.gform-row { display: grid; gap: .5rem; }
.gform-row.two { grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 480px) { .gform-row.two { grid-template-columns: 1fr; } }
.gform label {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted-deep);
}
.gform label .opt { text-transform: none; letter-spacing: 0; font-size: 9px; }
.gform input, .gform select, .gform textarea {
  background: var(--ground); border: 1px solid var(--line); color: var(--bone);
  font-family: 'Archivo', system-ui, sans-serif; font-size: .95rem; font-weight: 410;
  padding: .85rem 1rem; width: 100%; border-radius: 0;
}
.gform select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted-deep) 50%), linear-gradient(135deg, var(--muted-deep) 50%, transparent 50%); background-position: calc(100% - 1.3rem) center, calc(100% - 1rem) center; background-size: 5px 5px; background-repeat: no-repeat; }
.gform input:focus, .gform select:focus, .gform textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.gform textarea { resize: vertical; min-height: 96px; }
.gform-check { display: flex; align-items: flex-start; gap: .7rem; font-size: .85rem; color: var(--muted); font-weight: 390; }
.gform-check input { width: 16px; height: 16px; margin-top: .2rem; accent-color: var(--accent); flex-shrink: 0; }
.hp-field { position: absolute; left: -9999px; }
.gform-status { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .04em; color: var(--muted); min-height: 1.2rem; margin-top: .8rem; }
.gform-status.err { color: #E27272; }
.next-steps { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.next-steps li {
  display: flex; gap: 1rem; align-items: baseline;
  padding: .85rem 0; border-bottom: 1px solid var(--line-soft);
  color: var(--muted); font-weight: 390; font-size: .97rem;
}
.next-steps li::before {
  content: "→"; color: var(--accent);
  font-family: 'IBM Plex Mono', monospace; font-size: .85rem;
}

/* ── Page-title block (subpages) ── */
.page-head {
  padding-top: calc(var(--ticker-h) + var(--header-h) + clamp(3rem, 8vh, 6rem));
  padding-bottom: clamp(1.5rem, 4vh, 3rem);
  background: var(--ground-deep);
}
.page-head .crumb-nav { margin-bottom: 1.25rem; }
.page-head .t-page { margin-left: -0.04em; }
.page-head .head-meta {
  display: flex; flex-wrap: wrap; gap: 1rem 3rem;
  justify-content: space-between; align-items: end;
  margin-top: 2rem; padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

/* ── Story elements ── */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.figure { position: relative; overflow: hidden; background: var(--panel); }
.figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65) contrast(1.03); }
.figure figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2.5rem 1.25rem 1rem;
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  background: linear-gradient(to top, rgba(12, 11, 10, .85), transparent);
}
.cred-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.cred {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); padding: .55rem .8rem;
}

/* ── CTA band ── */
.cta-band {
  background: var(--ground-deep);
  border-block: 1px solid var(--line-soft);
}
.cta-band .inner {
  display: flex; flex-wrap: wrap; gap: 2rem 4rem;
  align-items: center; justify-content: space-between;
}

/* ── Footer ── */
.footer {
  position: relative; overflow: hidden;
  background: var(--ground-deep);
  border-top: 1px solid var(--line-soft);
  padding: var(--space) 0 8rem;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.5rem 3rem; position: relative; z-index: 2;
}
.footer h4 {
  margin: 0 0 1.1rem;
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}
.footer a, .footer p {
  display: block; margin: 0 0 .55rem; color: var(--muted);
  font-weight: 390; font-size: .95rem;
}
.footer a:hover { color: var(--accent); }
.footer .loc-open { color: var(--bone); }
.footer-legal {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 1rem 3rem; justify-content: space-between;
  margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft);
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted-deep);
}
.footer-legal a { display: inline; color: var(--muted-deep); }
.footer-legal a:hover { color: var(--accent); }
.footer-watermark {
  position: absolute; bottom: -4vw; left: 50%; transform: translateX(-50%);
  font-stretch: 80%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(6rem, 22vw, 22rem); line-height: .75; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(241, 237, 228, .07);
  pointer-events: none; user-select: none;
}
.footer-mark { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.footer-mark img { width: 44px; height: 44px; }

/* ── Floating pill + sticky bar ── */
.pill {
  position: fixed; left: 1.5rem; bottom: 1.5rem; z-index: 70;
  display: none; align-items: center; gap: .7rem;
  padding: .95rem 1.6rem;
  background: var(--accent); color: var(--ink);
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  opacity: 0; transform: translateY(14px);
  transition: opacity .3s ease, transform .35s cubic-bezier(.22, 1, .36, 1), background-color .2s;
}
.pill::after { content: "→"; }
.pill:hover { background: var(--bone); }
@media (min-width: 1024px) {
  .pill { display: inline-flex; }
  .pill.show { opacity: 1; transform: none; }
}
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: flex; padding: .65rem .8rem calc(.65rem + env(safe-area-inset-bottom));
  background: rgba(12, 11, 10, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.sticky-bar.show { transform: none; }
.sticky-bar .btn { flex: 1; }
@media (min-width: 1024px) { .sticky-bar { display: none; } }

/* ── Service rows ── */
.svc-row {
  display: grid;
  grid-template-columns: minmax(60px, .25fr) minmax(220px, 1fr) 1.4fr;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: baseline;
  padding: clamp(1.6rem, 3vw, 2.6rem) 0;
  border-top: 1px solid var(--line);
}
.svc-row:last-of-type { border-bottom: 1px solid var(--line); }
.svc-row h3 { margin: 0; }
.svc-row p { margin: 0; color: var(--muted); font-weight: 390; max-width: 52ch; }
.svc-row .sv-tag {
  display: inline-block; margin-top: .7rem;
  font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted-deep);
}
.svc-row.primary { background: var(--panel); padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1.2rem, 3vw, 2rem); border-top-color: var(--accent); }
.svc-row.primary h3 { font-size: clamp(1.8rem, 3.6vw, 2.8rem) !important; }
a.svc-row { display: grid; color: inherit; transition: background-color .25s ease, padding-left .25s ease; }
a.svc-row:hover { background: var(--panel); }
@media (max-width: 820px) {
  .svc-row { grid-template-columns: 1fr; gap: .6rem; }
}

/* ── Legal prose ── */
.legal-copy { max-width: 760px; }
.legal-copy h2 {
  font-stretch: 112%; font-weight: 660; text-transform: uppercase;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem); letter-spacing: .02em;
  margin: 3rem 0 1rem; line-height: 1.2;
}
.legal-copy h3 {
  font-stretch: 108%; font-weight: 620; text-transform: uppercase;
  font-size: 1.02rem; letter-spacing: .04em; margin: 2rem 0 .7rem;
}
.legal-copy p { color: var(--muted); font-weight: 390; margin: 0 0 1rem; line-height: 1.7; }
.legal-copy ul { margin: 0 0 1.2rem; padding-left: 1.3rem; color: var(--muted); font-weight: 390; }
.legal-copy li { margin-bottom: .45rem; line-height: 1.6; }
.legal-copy li::marker { color: var(--accent); }
.legal-copy strong { color: var(--bone); font-weight: 600; }
.legal-copy a { color: var(--accent); }
.legal-copy .effective {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted-deep);
  margin-bottom: 2.5rem;
}

/* ── Contact page ── */
.contact-hero { min-height: 46svh; display: flex; flex-direction: column; justify-content: end; }
.contact-list a {
  display: block; padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  font-stretch: 112%; font-weight: 640; text-transform: uppercase;
  font-size: clamp(1.2rem, 2.6vw, 2rem); letter-spacing: .01em;
  transition: color .2s, padding-left .3s cubic-bezier(.22, 1, .36, 1);
}
.contact-list a:first-of-type { border-top: 1px solid var(--line); }
.contact-list a:hover { color: var(--accent); padding-left: .75rem; }
.contact-list a .mono { color: var(--muted-deep); display: block; margin-bottom: .3rem; }

/* ── Confirmation ── */
.confirm {
  min-height: 100svh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 6rem var(--gutter);
  background: var(--ground-deep);
}

/* ── Countdown (flag-gated) ── */
.countdown { display: none; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 2rem; }
.countdown.on { display: inline-flex; }
.countdown div { background: var(--ground-deep); padding: 1rem 1.4rem; text-align: center; min-width: 88px; }
.countdown b {
  display: block; font-stretch: 115%; font-weight: 800; font-size: 1.9rem;
  line-height: 1; font-variant-numeric: tabular-nums; color: var(--accent);
}
.countdown span {
  font-family: 'IBM Plex Mono', monospace; font-size: 9px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted-deep);
}

/* ── Reduced motion / no-JS ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .word-band-track { animation: none; }
  [data-reveal], [data-mask] > span, [data-wipe] img {
    opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important;
  }
  .rotor > span { transition: none; transform: none; }
  .rotor > span:not(.on) { visibility: hidden; }
  .loader { display: none; }
  .menu, .menu-link { transition: none; }
  .pill, .sticky-bar { transition: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Mobile compositing economy */
@media (max-width: 767px) {
  .header, .sticky-bar { -webkit-backdrop-filter: none; backdrop-filter: none; }
  html.scrolled .header { background: rgba(12, 11, 10, .97); }
  section { content-visibility: auto; contain-intrinsic-size: auto 700px; }
  .hero, .page-head { content-visibility: visible; }
}
