/* ==========================================================================
   BODYFIX99 RECOVERY | ROOM 410 — Design System
   styles.css — Step 1
   ========================================================================== */

/* --------------------------------------------------------------------------
  
0. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Colour */
  --ivory: #F7F3EC;
  --ivory-alt: #EFE9DF;
  --black: #141414;
  --charcoal: #232323;
  --text: #1C1C1C;
  --text-muted: #5A554D;
  --text-on-dark: #EDE7DB;
  --text-on-dark-muted: #B9B2A5;
  --gold: #B8975A;
  --gold-light: #C8A96E;
  --red-glow: #8E2A2A;
  /* ONLY for the Red/NIR light glow effect */

  /* Typography */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --container: 1140px;
  --section-pad: clamp(64px, 10vw, 128px);
  --header-h: 72px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   1. MODERN RESET
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

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

/* --------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 1024px) {
  body {
    font-size: 17px;
  }
}

/* Skip-link (visible on focus) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--black);
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
}

.skip-link:focus {
  top: 12px;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.6rem, 8vw, 6rem);
}

h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
}

h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

p {
  max-width: 62ch;
}

/* Eyebrow — small uppercase label */
.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Lead — larger intro paragraph */
.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.65;
}

/* Gold rule — 48px decorative line */
.gold-rule {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  border: none;
}

.gold-rule--center {
  margin-inline: auto;
}

.text-center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section {
  padding-block: var(--section-pad);
}

/* Section colour variants */
.section--light {
  background: var(--ivory);
}

.section--alt {
  background: var(--ivory-alt);
}

.section--dark {
  background: var(--black);
  color: var(--text-on-dark);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--text-on-dark);
}

.section--dark .eyebrow {
  color: var(--gold);
}

.section--charcoal {
  background: var(--charcoal);
  color: var(--text-on-dark);
}

.section--charcoal h1,
.section--charcoal h2,
.section--charcoal h3 {
  color: var(--text-on-dark);
}

.section--charcoal .eyebrow {
  color: var(--gold);
}

/* Grid helpers */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 56px);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 56px);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Stack — vertical spacing */
.stack>*+* {
  margin-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 17px 32px;
  border-radius: 2px;
  min-height: 48px;
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1;
}

/* Gold filled button */
.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* Ghost button (outlined) */
.btn-ghost {
  background: transparent;
  border-color: var(--gold);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(184, 151, 90, .15);
}

/* Ghost on dark backgrounds */
.section--dark .btn-ghost,
.section--charcoal .btn-ghost,
.btn-ghost--light {
  color: var(--text-on-dark);
}

/* Visible focus state for all interactive elements */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   6. IMAGE SLOT COMPONENT (.media)
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--ratio, 16/9);
  background: linear-gradient(135deg, #1a1a1a, #232323);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modifier: hero (full-viewport height) */
.media--hero {
  min-height: 100svh;
  aspect-ratio: auto;
}

/* Modifier: portrait */
.media--portrait {
  --ratio: 4/5;
}

/* Modifier: wide (explicit 16:9) */
.media--wide {
  --ratio: 16/9;
}

/* Modifier: landscape */
.media--landscape {
  --ratio: 4/3;
}

/* Modifier: cover (absolute background fill) */
.media--cover {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}

/* Hero slideshow — crossfade stack */
.hero-slideshow { position: absolute; inset: 0; }
.hero-slide { transition: opacity var(--hero-fade, 1200ms) ease; opacity: 0; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide:not(.is-active) { display: none; }
  .hero-slide { transition: none !important; }
}

/* Dark overlay veil for readability over images */
.media__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(20, 20, 20, .55),
      rgba(20, 20, 20, .85));
  pointer-events: none;
}

/* Missing-image placeholder (injected by JS) */
.media.is-missing img {
  display: none;
}

.media__placeholder {
  position: absolute;
  inset: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px dashed rgba(184, 151, 90, .45);
  text-align: center;
  padding: 24px 16px;
}

.media__placeholder-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.media__placeholder-file {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
}

.media__placeholder-desc {
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
  max-width: 36ch;
  line-height: 1.5;
}

.media__placeholder-hint {
  font-size: 0.65rem;
  color: var(--text-on-dark-muted);
  opacity: .6;
}

/* --------------------------------------------------------------------------
   7. REVEAL ANIMATION
   -------------------------------------------------------------------------- */

/* Only hide elements when JS is running */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Gentle load-in animation */
.fade-in-load {
  animation: fadeInLoad 1.4s var(--ease) both;
}

@keyframes fadeInLoad {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   8. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   9. UTILITIES
   -------------------------------------------------------------------------- */
.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   10. MOBILE BAR BODY PADDING (bar built in Step 2)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  body.has-mobile-bar {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
}

/* --------------------------------------------------------------------------
   12. SITE HEADER
   -------------------------------------------------------------------------- */

/* Default: solid near-black (safe for all pages) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--black);
  transition: background 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

/* When body has hero-dark, header starts transparent at top */
.hero-dark .site-header {
  background: transparent;
}

/* After scrolling 40px (class added by JS) */
.site-header.is-scrolled {
  background: rgba(20, 20, 20, .92);
  border-bottom-color: rgba(184, 151, 90, .18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Fallback: if backdrop-filter unsupported, use solid colour */
@supports not (backdrop-filter: blur(10px)) {
  .site-header.is-scrolled {
    background: #141414;
  }
}

/* Main gets padding-top to clear fixed header */
main {
  padding-top: var(--header-h);
}

/* When hero-dark, hero sits under header so remove padding */
.hero-dark main {
  padding-top: 0;
}

/* Header inner container */
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

/* Logo link */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-img {
  display: block;
  height: 36px;
  width: 140px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  white-space: nowrap;
}

.logo-brand {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-on-dark);
}

.logo-room {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Desktop nav */
.nav-desktop {
  display: none;
}

.nav-desktop ul {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 24px);
}

.nav-desktop a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  text-decoration: none;
  transition: color 0.3s var(--ease);
  padding: 4px 0;
  white-space: nowrap;
}

.nav-desktop a:hover {
  color: var(--gold);
}

.nav-desktop a[aria-current="page"] {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}

/* Header CTA (desktop only) */
.header__cta {
  display: none;
}

.header__cta .btn {
  padding: 13px 24px;
  min-height: 44px;
  white-space: nowrap;
}

/* Hamburger toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
  position: relative;
}

.menu-toggle__line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: rgba(184, 151, 90, .85);
  transition: transform 0.35s var(--ease);
  transform-origin: center;
}

/* X state when menu is open */
.menu-toggle[aria-expanded="true"] .menu-toggle__line:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

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

@media (min-width: 1180px) {
  .nav-desktop {
    display: block;
  }

  .header__cta {
    display: block;
  }

  .menu-toggle {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   13. MOBILE MENU
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px;
  padding-top: calc(var(--header-h) + 28px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease), transform 0.4s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* 100dvh with 100vh fallback */
.mobile-menu {
  height: 100vh;
  height: 100dvh;
}

.mobile-menu__nav ul {
  list-style: none;
  padding: 0;
}

.mobile-menu__nav li {
  border-bottom: 1px solid rgba(184, 151, 90, .25);
}

.mobile-menu__nav li:first-child {
  border-top: 1px solid rgba(184, 151, 90, .25);
}

/* Staggered link entrance animation */
.mobile-menu__nav a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7vw, 2.6rem);
  font-weight: 500;
  color: var(--text-on-dark);
  text-decoration: none;
  padding: 16px 0;
  transition: color 0.3s var(--ease), opacity 0.4s var(--ease), transform 0.4s var(--ease);
  opacity: 0;
  transform: translateY(10px);
}

.mobile-menu.is-open .mobile-menu__nav a {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for each list item (up to 8 links) */
.mobile-menu.is-open .mobile-menu__nav li:nth-child(1) a { transition-delay: 0.06s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(2) a { transition-delay: 0.12s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(3) a { transition-delay: 0.18s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(4) a { transition-delay: 0.24s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(5) a { transition-delay: 0.30s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(6) a { transition-delay: 0.36s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(7) a { transition-delay: 0.42s; }
.mobile-menu.is-open .mobile-menu__nav li:nth-child(8) a { transition-delay: 0.48s; }

.mobile-menu__nav a:hover {
  color: var(--gold);
}

.mobile-menu__nav a[aria-current="page"] {
  color: var(--gold);
}

.mobile-menu__footer {
  margin-top: 40px;
}

.mobile-menu__footer .btn {
  width: 100%;
  text-align: center;
}

.mobile-menu__location {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
}

/* Header floats above the open menu so the X is always visible */
html.menu-open .site-header {
  z-index: 120;
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* On very short screens, shrink link text and padding so BOOK is reachable */
@media (max-height: 760px) {
  .mobile-menu__nav a {
    font-size: clamp(1.5rem, 6vw, 2rem);
    padding: 12px 0;
  }
}

@media (min-width: 1180px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Body scroll lock when menu is open */
html.menu-open,
html.menu-open body {
  overflow: hidden;
}

/* Reduced motion: skip slide and stagger, use instant change */
@media (prefers-reduced-motion: reduce) {
  .mobile-menu {
    transform: none !important;
    transition: opacity 0.01ms, visibility 0.01ms !important;
  }

  .mobile-menu__nav a {
    transition: color 0.3s var(--ease) !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .mobile-menu.is-open .mobile-menu__nav li:nth-child(n) a {
    transition-delay: 0s !important;
  }
}

/* --------------------------------------------------------------------------
   14. SITE FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--charcoal);
  color: var(--text-on-dark);
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 48px);
}

@media (min-width: 700px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

/* Footer brand column */
.footer__brand-name {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-on-dark);
}

.footer__brand-room {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-top: 2px;
}

.footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-on-dark);
  margin-top: 16px;
  line-height: 1.5;
}

.footer__sub-tagline {
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
  margin-top: 8px;
}

/* Footer column heading */
.footer__heading {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* Footer links */
.footer__links {
  list-style: none;
  padding: 0;
}

.footer__links li+li {
  margin-top: 10px;
}

.footer__links a {
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.footer__links a:hover {
  color: var(--gold);
}

/* Footer visit column text */
.footer__address {
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  line-height: 1.8;
  font-style: normal;
}

/* Footer book column */
.footer__book-text {
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer__pelvic-note {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.3s var(--ease);
}

.footer__pelvic-note:hover {
  color: var(--gold);
}

/* Footer bottom bar */
.footer__bottom {
  border-top: 1px solid rgba(184, 151, 90, .2);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
}

@media (min-width: 700px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* --------------------------------------------------------------------------
   15. STICKY MOBILE BOOK BAR
   -------------------------------------------------------------------------- */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(20, 20, 20, .95);
  border-top: 1px solid rgba(184, 151, 90, .25);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}

.mobile-bar .btn {
  width: 100%;
  text-align: center;
}

/* Hide on desktop */
@media (min-width: 768px) {
  .mobile-bar {
    display: none;
  }
}

/* Hide while mobile menu is open */
html.menu-open .mobile-bar {
  display: none;
}

/* --------------------------------------------------------------------------
   16. PRINT STYLES
   -------------------------------------------------------------------------- */
@media print {
  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .site-header,
  .mobile-bar,
  .mobile-menu {
    display: none;
  }

  main {
    padding-top: 0;
  }

  .section--dark,
  .section--charcoal {
    background: #fff;
    color: #000;
  }

  .section--dark h1,
  .section--dark h2,
  .section--dark h3,
  .section--charcoal h1,
  .section--charcoal h2,
  .section--charcoal h3 {
    color: #000;
  }

  .btn {
    border: 1px solid #000;
  }

  .media {
    break-inside: avoid;
  }
}

/* --------------------------------------------------------------------------
   17. HOME: HERO + INTRO
   -------------------------------------------------------------------------- */

/* SECTION 1: HERO */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, #232323 0%, #141414 65%, #0d0d0d 100%);
}

.hero .media--cover.is-missing .media__placeholder {
  position: absolute;
  inset: auto 20px 70px auto;
  border-radius: 4px;
  background: rgba(20, 20, 20, .85);
  padding: 8px 12px;
  border: 1px dashed rgba(184, 151, 90, .45);
}

.hero .media--cover.is-missing .media__placeholder-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: none;
  font-family: var(--font-body);
}

.hero .media--cover.is-missing .media__placeholder-file {
  display: none;
}

.hero .media--cover.is-missing .media__placeholder-desc {
  display: none;
}

.hero .media--cover.is-missing .media__placeholder-hint {
  display: none;
}

.stations {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.hero--has-photo .stations {
  opacity: 0.35;
}

.station {
  position: absolute;
  top: 18%;
  bottom: 22%;
  width: 4px;
  border-radius: 6px;
  background: linear-gradient(to bottom, transparent, rgba(255, 120, 110, .95) 18%, rgba(255, 150, 140, 1) 50%, rgba(255, 120, 110, .95) 82%, transparent);
  opacity: 0;
  animation: loadGlow 2.6s var(--ease) 0.4s forwards, breathGlow 8s ease-in-out 3s infinite;
}

.station--left {
  left: 5%;
}

.station--right {
  right: 5%;
  animation: loadGlow 2.6s var(--ease) 0.4s forwards, breathGlow 8s ease-in-out 4.2s infinite;
}

@media (min-width: 768px) {
  .station {
    top: 14%;
    bottom: 14%;
    width: 6px;
  }

  .station--left {
    left: 7%;
  }

  .station--right {
    right: 7%;
  }
}

.station::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(142, 42, 42, .55) 0%, rgba(142, 42, 42, .18) 40%, transparent 70%);
  box-shadow: 0 0 30px 6px rgba(142, 42, 42, .55), 0 0 90px 24px rgba(142, 42, 42, .25);
  pointer-events: none;
}

@media (min-width: 768px) {
  .station::before {
    width: 320px;
  }
}

@keyframes loadGlow {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes breathGlow {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  .station {
    opacity: 1 !important;
    animation: none !important;
  }
}

.hero-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(142, 42, 42, .12), transparent);
  pointer-events: none;
  z-index: 11;
}

.hero__content {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 24px);
  padding-bottom: 120px;
  max-width: 900px;
  margin-inline: auto;
}

.hero__content .eyebrow {
  margin-bottom: 16px;
}

.hero__title {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
}

.hero__room {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 13vw, 8rem);
  letter-spacing: 0.06em;
  line-height: 0.95;
  color: var(--text-on-dark);
  text-shadow: 0 0 40px rgba(142, 42, 42, .35);
  white-space: nowrap;
}

.hero__sub {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 3.2vw, 2rem);
  line-height: 1.25;
  margin-top: 18px;
  color: var(--text-on-dark);
  max-width: 22ch;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .hero__sub {
    max-width: 34ch;
  }
}

.hero__tech {
  color: var(--gold);
  font-size: clamp(0.68rem, 1.6vw, 0.82rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-block: 22px;
}

.hero__tech span {
  white-space: nowrap;
}

.hero__tech-separator {
  margin-inline: 4px;
}

@media (max-width: 480px) {
  .hero__tech-separator {
    display: inline-block;
    padding-inline: 4px;
  }
}

.hero__content .gold-rule {
  margin-bottom: 24px;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
}

@media (max-width: 360px) {
  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    width: 100%;
  }
}

.hero__line {
  color: var(--text-on-dark-muted);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  margin-top: 28px;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  z-index: 20;
  color: var(--gold);
  animation: pulseOpacity 3s infinite ease-in-out;
}

.scroll-cue__text {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
}

.scroll-cue__line {
  width: 1px;
  height: 40px;
  background: var(--gold);
}

@media (max-width: 767px) {
  .scroll-cue {
    display: none;
  }
}

@keyframes pulseOpacity {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

/* SECTION 2: INTRO */
.max-w-760 {
  max-width: 760px;
  margin-inline: auto;
}

#intro .eyebrow {
  margin-bottom: 12px;
}

#intro h2 {
  margin-bottom: 32px;
}

#intro .gold-rule {
  margin-bottom: 32px;
}

#intro .lead {
  margin-bottom: 24px;
}

#intro>p:not(.eyebrow, .lead, .pillars-note) {
  margin-bottom: 24px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-block: 48px;
  text-align: center;
}

@media (min-width: 900px) {
  .pillars {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 500;
}

.pillars-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px !important;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A6D35;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.3s var(--ease);
}

.text-link:hover {
  opacity: 0.7;
}

/* Footer contact links */
.footer__email-link,
.footer__phone-link {
  color: var(--text-on-dark-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
  transition: color 0.3s var(--ease);
}

.footer__email-link:hover,
.footer__phone-link:hover {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   18. HOME: ROOM + LOCATION + FINAL CTA
   -------------------------------------------------------------------------- */

/* --- Grid flip: image left, text right (desktop) --- */
.grid-2--flip {
  align-items: start;
}

@media (min-width: 768px) {
  .grid-2--flip {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Section 6: The Room --- */
.room-points {
  list-style: none;
  padding: 0;
}

.room-points li {
  padding: 10px 0 10px 18px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.45;
  color: var(--text-on-dark);
}

.room-points li+li {
  margin-top: 8px;
}

.text-link--light {
  color: var(--gold);
}

.text-link--light:hover {
  opacity: 0.7;
}

/* --- Section 7: Location --- */
.location-address {
  font-style: normal;
  line-height: 1.7;
}

.info-list {
  margin: 0;
  padding: 0;
}

.info-list__row {
  display: flex;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.info-list__row dt {
  flex-shrink: 0;
  width: 70px;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.info-list__row dd {
  margin: 0;
  word-break: break-word;
}

.info-list__row dd a {
  color: #8A6D35;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.3s var(--ease);
}

.info-list__row dd a:hover {
  opacity: 0.7;
}

.location-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.visit-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
}

.visit-steps li {
  counter-increment: step;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
}

.visit-steps li::before {
  content: counter(step);
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

.location-pelvic-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.location-pelvic-note a {
  color: #8A6D35;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.location-pelvic-note a:hover {
  opacity: 0.7;
}

/* --- Section 8: Final CTA --- */
.section--final {
  position: relative;
  overflow: hidden;
  padding-bottom: calc(var(--section-pad) + 60px);
}

.section--final::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(142, 42, 42, .10), transparent 70%);
  pointer-events: none;
  opacity: 1;
}

.max-w-720 {
  max-width: 720px;
  margin-inline: auto;
}

.section--final .eyebrow {
  margin-bottom: 12px;
}

.section--final h2 {
  margin-bottom: 24px;
}

.section--final .gold-rule {
  margin-bottom: 28px;
}

.section--final .lead {
  margin-bottom: 32px;
}

.final__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-on-dark-muted);
  margin-top: 28px;
  margin-bottom: 16px;
}

@media (max-width: 767px) {
  .section--final {
    padding-bottom: calc(var(--section-pad) + 80px);
  }
}

/* --------------------------------------------------------------------------
   19. PAGE: TOTAL RECOVERY 410
   -------------------------------------------------------------------------- */

/* Hero Page */
.hero--page {
  min-height: 520px;
  min-height: 72svh;
}

.hero--page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  line-height: 1.05;
  color: var(--text-on-dark);
  margin-bottom: 24px;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(142, 42, 42, .18), transparent 60%);
  pointer-events: none;
  opacity: 0.5;
  animation: slowPulse 8s ease-in-out infinite;
}

@keyframes slowPulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow {
    animation: none;
    opacity: 0.6;
  }
}

.hero__location {
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  margin-top: 24px;
}

/* Overview Stats */
.stat-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 600px) {
  .stat-blocks {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: #8A6D35;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Timeline */
.timeline-bar {
  display: grid;
  width: 100%;
  height: 28px;
  margin-bottom: 48px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(20, 20, 20, 0.4);
}

.timeline-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.timeline-seg--1 {
  background: rgba(184, 151, 90, 0.2);
  color: var(--gold);
}

.timeline-seg--2 {
  background: rgba(184, 151, 90, 0.4);
  color: var(--text-on-dark);
}

.timeline-seg--3 {
  background: rgba(184, 151, 90, 0.6);
  color: var(--text-on-dark);
}

@media (max-width: 700px) {
  .timeline-bar {
    display: none;
  }
}

/* Phase row */
.phase-row {
  margin-bottom: 80px;
}

.phase-row+.phase-row {
  padding-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.phase-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.phase-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
}

.phase-pre {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--text-on-dark-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phase-text h3 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 8px;
}

.phase-tech {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.grid-2--reverse {
  direction: rtl;
}

.grid-2--reverse>* {
  direction: ltr;
}

@media (max-width: 899px) {
  .grid-2--reverse {
    direction: ltr;
  }
}

.section-glow {
  position: absolute;
  top: -50px;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at top right, rgba(142, 42, 42, .1), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.phase-text>* {
  z-index: 1;
}

/* FAQ */
.max-w-800 {
  max-width: 800px;
  margin-inline: auto;
}

.faq-list {
  border-top: 1px solid rgba(184, 151, 90, 0.3);
}

.faq-item {
  border-bottom: 1px solid rgba(184, 151, 90, 0.3);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--text);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding-bottom: 24px;
  padding-right: 40px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   20. PAGE: TECHNOLOGY
   -------------------------------------------------------------------------- */

/* Tech nav grid */
.tech-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

@media (max-width: 600px) {
  .tech-nav {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.tech-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 16px;
  border: 1px solid rgba(138, 109, 53, 0.25);
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.tech-nav__item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.tech-nav__phase {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
}

.tech-nav__name {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A6D35;
}

.tech-nav__time {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Tech list heading */
.tech-list-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  color: var(--gold);
}

/* Tech muted note */
.tech-muted {
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
  margin-top: 16px;
}

.section--alt .tech-muted,
.section--light .tech-muted {
  color: var(--text-muted);
}

/* Room points dark variant */
.room-points--dark li {
  border-left-color: #8A6D35;
  color: var(--text);
}

/* Station panel (Red+NIR decorative) */
.station-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.station-panel__inner {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  background: #1a1a1a;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  overflow: hidden;
}

@media (max-width: 899px) {
  .station-panel__inner {
    aspect-ratio: 16 / 9;
    gap: 40px;
  }
}

.station-panel__bar {
  width: 18px;
  height: 55%;
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(180, 40, 40, 0.6), rgba(180, 40, 40, 0.25));
  box-shadow: 0 0 30px 10px rgba(180, 40, 40, 0.15),
    0 0 60px 20px rgba(180, 40, 40, 0.08);
  animation: stationPulse 4s ease-in-out infinite;
}

.station-panel__bar:nth-child(2) {
  animation-delay: 2s;
}

@keyframes stationPulse {

  0%,
  100% {
    opacity: 0.65;
  }

  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .station-panel__bar {
    animation: none;
    opacity: 0.8;
  }
}

/* Tech links row */
.tech-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

/* Max width helper */


/* --------------------------------------------------------------------------
   21. STEP 8: KinoStretch page
   -------------------------------------------------------------------------- */

/* Kino facts small list */
.kino-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  list-style: none;
  padding: 0;
}

.kino-facts li {
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 20px;
}

.kino-facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background-color: var(--gold);
  border-radius: 50%;
}

@media (max-width: 600px) {
  .kino-facts {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}

/* Compact phase row for KinoStretch fit section */
.phase-row--compact {
  margin-bottom: 24px !important;
  display: flex;
  align-items: center;
  gap: 24px;
}

.phase-row--compact+.phase-row--compact {
  padding-top: 24px !important;
  border-top: none !important;
}

.phase-row--compact .phase-row__num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
}

.phase-row--compact .phase-row__title {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--text-on-dark);
}

.phase-row--compact .phase-row__desc {
  display: block;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
}

.phase-row--compact.phase-row--active {
  padding-left: 24px;
  margin-left: -2px;
  border-left: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.03);
}

/* --------------------------------------------------------------------------
   22. STEP 9: Pelvic Chair page
   -------------------------------------------------------------------------- */

/* Service Cards (Section 7) */
.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 700px) {
  .service-cards {
    grid-template-columns: 1fr;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
  border: 1px solid rgba(138, 109, 53, 0.2);
  padding: 32px 24px;
  border-radius: 4px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-card--highlight {
  background: var(--bg);
  border-color: var(--gold);
}

/* --------------------------------------------------------------------------
   23. STEP 10: Pricing & Contact page
   -------------------------------------------------------------------------- */

/* Large Email Link */
.contact-email {
  margin-top: 16px;
  margin-bottom: 48px;
}

.contact-email a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.75rem);
  color: var(--text);
  overflow-wrap: anywhere;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.contact-email a:hover,
.contact-email a:focus {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Info List Grid */
.info-list {
  gap: 32px 24px;
}

/* Pricing Grid */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-inline: auto;
  }
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid rgba(138, 109, 53, 0.15);
  padding: 32px 24px;
  border-radius: 4px;
  position: relative;
}

.pricing-card--highlight {
  border-top: 2px solid var(--gold);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--text);
}

.pricing-card p {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.pricing-cta {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* Price Tags and Notes */
.price-tag {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8A6D35;
  font-weight: 500;
  margin-bottom: 12px;
}

.price-note {
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
  font-style: italic;
  margin-bottom: 0 !important;
}

/* --------------------------------------------------------------------------
   24. STEP 10b: Map embed
   -------------------------------------------------------------------------- */

.map-embed {
  margin-top: clamp(32px, 6vw, 64px);
  text-align: center;
}

.map-embed__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 24px;
  color: var(--text);
}

.map-embed__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background: var(--ivory-alt);
}

.map-embed__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 600px) {
  .map-embed__frame {
    aspect-ratio: 4 / 3;
  }
}

.map-embed__address {
  color: var(--text-muted);
  margin: 16px 0 20px;
  overflow-wrap: anywhere;
}










/* ==========================================================================
   FIX-02: centred headers, spacing, numerals, pelvic section, phases
   ========================================================================== */
:root {
  --bg: #F7F3EC;
  --bg-alt: #EFE9DF;
}

/* Centre every block inside .text-center (not only the text inside it) */
.text-center>p,
.text-center>.eyebrow,
.text-center>.lead {
  margin-inline: auto;
}

/* Rhythm: eyebrow > heading > rule > text */
.text-center>.eyebrow {
  margin-bottom: 16px;
}

.text-center>h2,
.text-center>h3 {
  margin-bottom: 28px;
  line-height: 1.15;
}

.text-center>.gold-rule {
  margin-top: 0;
  margin-bottom: 32px;
}

.text-center>p+p {
  margin-top: 20px;
}

.text-center>.lead+p {
  color: var(--text-muted);
}

/* Gold eyebrow readable on light sections */
.section--light .eyebrow,
.section--alt .eyebrow {
  color: #8A6D35;
}

/* Lining numerals (70, 410, 01) */
.stat-num,
.phase-num,
.hero--page h1 {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

/* Overview stats */
.stat-blocks {
  margin-top: 56px;
}

.stat-label {
  text-align: center;
  line-height: 1.5;
}

/* Sequence + FAQ headers: remove the huge gap (beats inline style) */
#phases .text-center,
#faq .text-center {
  margin-bottom: clamp(40px, 6vw, 72px) !important;
}

/* Hero subtitle: fewer awkward line breaks on desktop */
@media (min-width: 1024px) {
  .hero--page .hero__sub {
    max-width: 52ch;
  }
}

/* Phase rows */
.phase-text>.text-link {
  align-self: flex-start;
  margin-top: 8px;
}

.phase-text>.section-glow+* {
  margin-top: 0;
}

/* Pelvic Chair note: bigger content, less empty space */
#separate-service {
  padding-block: clamp(64px, 8vw, 104px);
}

#separate-service .container {
  max-width: 820px;
}

#separate-service h2,
#separate-service h3 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  margin-bottom: 24px;
}

#separate-service p {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.65;
  max-width: 60ch;
}

#separate-service p+p {
  margin-top: 20px;
}

#separate-service .text-link {
  font-size: 0.9rem;
  margin-top: 12px;
}

/* ==========================================================================
   FIX-03: rounded corners for images
   ========================================================================== */
.media {
  border-radius: 16px;
  isolation: isolate;
  /* keeps the rounded clip smooth while animating */
}

.media img {
  border-radius: inherit;
}

/* Full-bleed hero backgrounds stay square */
.media--cover,
.media--hero {
  border-radius: 0;
}

@media (max-width: 600px) {
  .media {
    border-radius: 12px;
  }
}

/* ==========================================================================
   FIX-04: steps list alignment + feature cards
   ========================================================================== */
.grid-2--center {
  align-items: center;
}

/* Aligned lining numbers (also fixes Total Recovery "What to expect") */
.visit-steps li::before {
  flex: 0 0 2.2rem;
  font-size: 1.7rem;
  text-align: left;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

.visit-steps li {
  line-height: 1.5;
}

/* Row style */
.visit-steps--cards {
  max-width: none;
}

.visit-steps--cards li {
  align-items: center;
  padding: 20px 4px;
  border-bottom: 1px solid rgba(138, 109, 53, .25);
}

.visit-steps--cards li:first-child {
  border-top: 1px solid rgba(138, 109, 53, .25);
}

/* Option cards (.feature-card had no styles) */
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 28px;
  border: 1px solid rgba(184, 151, 90, .35);
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
}

.feature-card .eyebrow {
  margin-bottom: 12px;
}

.feature-card h3 {
  margin-bottom: 16px;
}

.feature-card .gold-rule {
  margin-bottom: 20px;
}

.feature-card p+p {
  margin-top: 14px;
}

.feature-card .text-link {
  margin-top: auto;
  padding-top: 20px;
  align-self: flex-start;
}

.feature-card .text-link {
  margin-top: 24px;
}

/* ==========================================================================
   FIX-05: pelvic page - compare card, comfort cards, stats on dark
   ========================================================================== */
:root {
  --text-dark: #1C1C1C;
}



/* Compare card (right column of "Booked as a separate service") */
.notice-card {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(138, 109, 53, .3);
  border-radius: 16px;
  background: rgba(255, 255, 255, .55);
}

.notice-card p {
  max-width: none;
}

.notice-card h3 {
  line-height: 1.3;
}

.notice-card .gold-rule {
  margin: 16px 0 24px;
}

.notice-card p+p {
  padding-top: 20px;
  border-top: 1px solid rgba(138, 109, 53, .2);
}

/* Privacy & Comfort cards */
.comfort-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(40px, 6vw, 64px);
  text-align: center;
}

@media (max-width: 760px) {
  .comfort-points {
    grid-template-columns: 1fr;
  }
}

.comfort-point {
  padding: 32px 20px;
  border: 1px solid rgba(138, 109, 53, .25);
  border-radius: 16px;
  background: rgba(255, 255, 255, .5);
}

.comfort-point h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.comfort-point p {
  font-size: .95rem;
  color: var(--text-muted);
  margin-inline: auto;
}

/* Stats on dark sections: readable gold + compact in half-width column */
.section--dark .stat-num,
.section--charcoal .stat-num {
  color: var(--gold);
}

.section--dark .stat-label,
.section--charcoal .stat-label {
  color: var(--text-on-dark-muted);
}

.phase-text .stat-blocks {
  gap: 16px;
}

.phase-text .stat-num {
  font-size: clamp(2.2rem, 4vw, 3rem);
}

.phase-text .stat-label {
  font-size: .72rem;
  text-align: center;
}


#pricing .pricing-card .pricing-price {
  margin: 0 0 28px;
  max-width: none;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold) !important;
  opacity: 1;
}


/* ==========================================================================
   FIX-06: header layout - logo far left, menu centred, button far right
   ========================================================================== */
.header__inner {
  max-width: 1680px;
  padding-inline: clamp(20px, 3.2vw, 56px);
}

@media (min-width: 1180px) {
  .header__inner {
    display: grid;
    grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
    align-items: center;
    column-gap: clamp(24px, 3vw, 56px);
  }

  .logo { justify-self: start; }
  .nav-desktop { justify-self: center; }
  .header__cta { justify-self: end; }
}




/* FIX-07: header logo not clickable */
.site-header .logo {
  pointer-events: none;
  cursor: default;
  user-select: none;
}


/* ==========================================================================
   FIX-03: PREMIUM SCROLLBAR (near-black track, red-to-gold thumb)
   ========================================================================== */

/* Chrome, Edge, Safari: gradient thumb */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #141414;
  border-left: 1px solid rgba(184, 151, 90, .15);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #B8975A 0%, #8E2A2A 100%);
  border-radius: 10px;
  border: 3px solid #141414;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #C8A96E 0%, #A83232 100%);
}

::-webkit-scrollbar-corner {
  background: #141414;
}

/* Firefox only (it supports a single colour, not a gradient).
   Skipped in Chrome/Edge so the gradient above stays. */
@supports not selector(::-webkit-scrollbar) {
  html {
    scrollbar-width: thin;
    scrollbar-color: #8E2A2A #141414;
  }
}




/* ==========================================================================
   FIX-03: HERO TECH LINE + SOFTER STATION GLOW
   ========================================================================== */

/* Tech line: no 62ch cap, one line on desktop, balanced wrap on mobile */
.hero__tech {
  max-width: none;
  text-wrap: balance;
}

@media (min-width: 900px) {
  .hero__tech { white-space: nowrap; }
}

/* Station glow: remove the hard-edged rectangle, keep the soft red light */
.station::before {
  box-shadow: none;
  border-radius: 50%;
}