/* ==========================================================================
   NORTHRIDGE ADDICTION TREATMENT CENTER (northridgeaddiction.com)
   "Rehabilitation House" Editorial Sanctuary Design System
   Light Airy Ivory Canvas · Deep Forest Olive · Warm Sage · Organic Masks
   ========================================================================== */

:root {
  /* Luxury Dark Architectural Sanctuary Palette — Warm Obsidian, Espresso & Champagne Gold */
  --bg-canvas: #0E1115;
  --bg-travertine: #14181E;
  --bg-surface: #181D24;
  --bg-estate-dark: #141210;
  --bg-estate-deeper: #090A0B;
  --bg-estate-card: #1F252D;
  --bg-sage-tint: rgba(212, 175, 135, 0.12);
  --bg-gold-tint: rgba(212, 175, 135, 0.16);

  /* Typography Ink (High-Contrast Warm Ivory & Champagne Silver — WCAG 2.1 AA Verified) */
  --text-primary: #F5F3EE;
  --text-secondary: #C8CDD4;
  --text-muted: #9BA2AC;
  --text-on-dark: #F7F5F0;
  --text-on-dark-muted: #D5D0C8;

  /* Brand & Architectural Accents (Zero Olive Green — Pure Champagne Gold & Bronze) */
  --accent-emerald: #D4AF87;
  --accent-emerald-hover: #E5C49F;
  --accent-sage: #D4AF87;
  --accent-sage-light: #FFE4B8;
  --accent-bronze: #D4AF87;
  --accent-bronze-light: #F3D8B6;
  --accent-gold-star: #E8B249;
  --status-live: #D4AF87;

  /* Hairlines & Soft Editorial Elevation */
  --border-hairline: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(212, 175, 135, 0.28);
  --border-dark-hairline: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.32);
  --shadow-md: 0 16px 40px -8px rgba(0, 0, 0, 0.48);
  --shadow-lg: 0 26px 64px -12px rgba(0, 0, 0, 0.65);
  --shadow-pill: 0 12px 34px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 8px 24px -4px rgba(212, 175, 135, 0.28);

  /* Radii & Spacing */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --container-max: 1480px;

  /* Typography Families */
  --font-condensed: 'Antonio', 'Oswald', Impact, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   0. Strict Reset & Viewport Containment
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  background-image:
    radial-gradient(ellipse at 80% 5%, rgba(212, 165, 93, 0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 15% 30%, rgba(56, 82, 110, 0.12) 0%, transparent 50%);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  width: 100%;
  position: relative;
}

/* Prevent CSS Grid & Flex children from blowing out viewport width */
.hero__grid > *,
.who-we-are-grid > *,
.location-split > *,
.clinical-layout > *,
.section-header--split > *,
.rehab-split > *,
.need-talk-grid > * {
  min-width: 0;
  max-width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

ul, ol {
  list-style: none;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent-emerald);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus {
  top: 1rem;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.container--narrow {
  max-width: 920px;
}

.section {
  padding-block: clamp(3.5rem, 6vw, 5.75rem);
  position: relative;
}

.section--travertine {
  background-color: var(--bg-travertine);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.section--surface {
  background-color: var(--bg-surface);
}

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

/* Decorative Dot Matrix Accents (From Dribbble Rehabilitation House Template) */
.dot-matrix-decor {
  width: 56px;
  height: 96px;
  background-image: radial-gradient(rgba(132, 148, 110, 0.36) 2.5px, transparent 2.5px);
  background-size: 14px 14px;
  pointer-events: none;
}

/* Scroll-Triggered Reveal Animations */
.reveal-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.68s var(--ease-out), transform 0.68s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

.reveal-up.reveal-pending {
  opacity: 0;
  transform: translateY(22px);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up,
  .reveal-up.reveal-pending {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Typography Helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-sage);
  margin-bottom: 0.55rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-sage);
  flex-shrink: 0;
}

.section--estate-dark .eyebrow {
  color: var(--accent-bronze-light);
}
.section--estate-dark .eyebrow::before {
  background-color: var(--accent-bronze-light);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3.15rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.section--estate-dark .section-title {
  color: var(--text-on-dark);
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.1vw, 1.04rem);
  color: var(--text-secondary);
  max-width: 62ch;
  line-height: 1.65;
}

.section--estate-dark .section-subtitle {
  color: var(--text-on-dark-muted);
}

.section-serif-sub {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 600;
  color: var(--accent-sage);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.section-header {
  margin-bottom: clamp(1.75rem, 3.2vw, 2.5rem);
}

.section-header--center {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.section-header--center .eyebrow {
  justify-content: center;
}
.section-header--center .section-subtitle {
  margin-inline: auto;
}

.section-header--split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
}

/* ==========================================================================
   1. Subtle Credentials Topbar & Floating White Pill Navigation Bar
   ========================================================================== */
.trust-topbar {
  background-color: transparent;
  color: var(--text-muted);
  font-size: 0.74rem;
  padding: 0.55rem 0 0.15rem;
}

.trust-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
  overflow: hidden;
  padding-inline: clamp(1.25rem, 4vw, 2.75rem);
}

.trust-topbar__items {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  overflow: hidden;
}

.trust-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.trust-topbar__item strong {
  color: var(--text-primary);
  font-weight: 600;
}

.trust-topbar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--status-live);
  box-shadow: 0 0 0 3px rgba(78, 159, 110, 0.2);
  display: inline-block;
}

.trust-topbar__right {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.74rem;
  flex-shrink: 0;
}

.trust-topbar__phone {
  color: var(--accent-emerald);
  font-weight: 700;
}

/* Floating Pill Header (Exact Match to Rehabilitation House Dribbble Shot) */
.site-header {
  position: sticky;
  top: 0.65rem;
  z-index: 1000;
  padding: 0.35rem 0;
  transition: transform var(--transition);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid rgba(61, 76, 56, 0.1);
  border-radius: 999px;
  padding: 0.42rem 0.55rem 0.42rem 0.42rem;
  box-shadow: var(--shadow-pill);
  min-height: 64px;
  gap: 0.75rem;
}

.site-header.is-scrolled .site-header__inner {
  box-shadow: 0 16px 40px rgba(45, 58, 42, 0.14);
  border-color: rgba(61, 76, 56, 0.18);
}

/* Dark Forest-Olive Brand Block on Left of White Pill Navbar */
.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo__crest {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-estate-dark);
  padding: 0.62rem 1.35rem;
  border-radius: 999px 14px 14px 999px;
  transition: background-color var(--transition);
}

.brand-logo:hover .brand-logo__crest {
  background-color: var(--bg-estate-deeper);
}

.brand-logo__img {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.72rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: 999px;
  white-space: nowrap;
  position: relative;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--accent-emerald);
  background-color: var(--bg-sage-tint);
}

.nav-link svg {
  width: 13px;
  height: 13px;
  opacity: 0.65;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 245px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.55rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1100;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background-color: var(--bg-sage-tint);
  color: var(--accent-emerald);
  padding-left: 1.05rem;
}

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

/* Pill Buttons (Rehabilitation House Style) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.45rem;
  font-size: 0.87rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}

.btn--primary {
  background-color: var(--accent-emerald);
  color: #FFFFFF;
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  background-color: var(--accent-emerald-hover);
  transform: translateY(-2px);
}

.btn--bronze,
.btn--sage {
  background-color: var(--accent-sage);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(132, 148, 110, 0.28);
}

.btn--bronze:hover,
.btn--sage:hover {
  background-color: #73835D;
  transform: translateY(-2px);
}

.btn--outline {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn--outline:hover {
  background-color: rgba(212, 175, 135, 0.16);
  border-color: #FFE4B8;
  color: #FFFFFF;
}

.btn--outline:hover {
  border-color: var(--accent-emerald);
  background-color: var(--bg-sage-tint);
}

.btn--outline-light {
  background-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline-light:hover {
  background-color: #FFFFFF;
  color: var(--accent-emerald);
}

/* Header Action Specific Overrides inside White Pill Navbar */
.site-header .header-actions .btn--outline-light {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.site-header .header-actions .btn--outline-light:hover {
  background-color: var(--bg-sage-tint);
}

.btn--sm {
  padding: 0.58rem 1.15rem;
  font-size: 0.81rem;
}

.btn--lg {
  padding: 0.9rem 1.7rem;
  font-size: 0.92rem;
}

/* Sleek Menu Pill Button (Hidden on Desktop > 940px) */
.mobile-nav-toggle {
  display: none;
  background: var(--bg-sage-tint);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.48rem 0.9rem;
  cursor: pointer;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.79rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all var(--transition);
}

.mobile-nav-toggle:hover {
  background: var(--accent-sage);
  color: #fff;
}

.nav-toggle-bars {
  width: 16px;
  height: 12px;
  position: relative;
  display: inline-block;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.8px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.26s ease, opacity 0.2s ease, top 0.26s ease;
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }

.mobile-nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}
.mobile-nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

.nav-drawer-header,
.nav-drawer-footer {
  display: none;
}

.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 18, 15, 0.72);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.nav-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Progressive Disclosure / Expandable Copy Drawer (.inline-expand) */
.inline-expand {
  margin-top: 0.65rem;
}

.inline-expand summary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-emerald);
  cursor: pointer;
  list-style: none;
  padding: 0.36rem 0.9rem;
  border-radius: 999px;
  background: var(--bg-sage-tint);
  border: 1px solid rgba(61, 76, 56, 0.14);
  transition: all var(--transition);
  user-select: none;
}

.inline-expand summary::-webkit-details-marker {
  display: none;
}

.inline-expand summary:hover {
  background: var(--accent-emerald);
  color: #fff;
}

.inline-expand summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.inline-expand[open] summary::after {
  content: "−";
}

.inline-expand__body {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--border-strong);
  animation: fadeExpand 0.25s ease;
}

.inline-expand--subtle summary {
  background: transparent;
  border: none;
  padding: 0.15rem 0;
  font-size: 0.76rem;
  color: var(--text-muted);
  text-decoration: underline;
}

.inline-expand--subtle summary:hover {
  background: transparent;
  color: var(--accent-emerald);
}

@keyframes fadeExpand {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   2. Hero Section — Light Airy Editorial Left + Organic Blob-Masked Estate Right
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(2rem, 4.5vw, 3.75rem) 0 clamp(3rem, 5.5vw, 4.75rem);
  overflow: hidden;
}

.hero__dots {
  position: absolute;
  left: 1.25rem;
  top: 28%;
  width: 44px;
  height: 112px;
  background-image: radial-gradient(rgba(132, 148, 110, 0.34) 2.5px, transparent 2.5px);
  background-size: 14px 14px;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.hero__badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.estate-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-sage-tint);
  border: 1px solid rgba(61, 76, 56, 0.14);
  color: var(--text-primary);
  padding: 0.34rem 0.85rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
}

.estate-pill--gold {
  background: #EFECE2;
  color: var(--accent-emerald);
}

.hero__h1 {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-sage);
  margin-bottom: 0.55rem;
}

.hero__h2 {
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 4.7vw, 4.25rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.hero__subheadline {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  font-weight: 600;
  color: var(--accent-sage);
  line-height: 1.2;
  margin-bottom: 1.15rem;
}

.hero__lead {
  font-size: clamp(0.95rem, 1.08vw, 1.04rem);
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 1.5rem;
  max-width: 54ch;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero__highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.hero__highlight-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-sage);
  flex-shrink: 0;
}

/* Organic Blob-Masked Estate Showcase on Right of Hero (Exact Dribbble Match) */
.hero-visual {
  position: relative;
  padding: 1rem 0.5rem 1.5rem;
}

/* Decorative Sage Organic Blob Shapes Behind Main Photo */
.hero-visual__blob-back-1 {
  position: absolute;
  top: -2%;
  right: 8%;
  width: 54%;
  height: 54%;
  background-color: rgba(132, 148, 110, 0.42);
  border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%;
  z-index: 0;
  pointer-events: none;
}

.hero-visual__blob-back-2 {
  position: absolute;
  bottom: 4%;
  left: 2%;
  width: 52%;
  height: 52%;
  background-color: rgba(132, 148, 110, 0.45);
  border-radius: 48% 52% 62% 38% / 45% 58% 42% 55%;
  z-index: 0;
  pointer-events: none;
}

.hero-visual__mask {
  position: relative;
  z-index: 1;
  aspect-ratio: 1.12 / 1;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(45, 58, 42, 0.16);
  border: 5px solid #FFFFFF;
  background: var(--bg-travertine);
}

.hero-visual__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.65s var(--ease-out);
}

.hero-visual__mask:hover .hero-visual__img {
  transform: scale(1.03);
}

/* Interactive Scene Switcher Pills Under Organic Estate Mask */
.hero-scene-switcher {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.15rem;
}

.hero-scene-switcher__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.hero-scene-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  padding: 0.34rem 0.78rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.hero-scene-btn:hover,
.hero-scene-btn.is-active {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #FFFFFF;
}

/* ==========================================================================
   3. Staggered Empathy Callout Pills & Organic Split ("That's okay, we know...")
   ========================================================================== */
.staggered-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 960px;
  margin: 1.75rem auto 0;
}

.staggered-pill {
  padding: 1.15rem 1.6rem;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.staggered-pill:hover {
  transform: translateY(-3px) rotate(0deg) !important;
  box-shadow: var(--shadow-md);
}

.staggered-pill--light {
  flex: 1 1 380px;
  background-color: #E7E9E2;
  color: var(--text-primary);
  transform: rotate(-1.1deg);
}

.staggered-pill--sage {
  flex: 1 1 380px;
  background-color: #9AA984;
  color: #1F291C;
  transform: rotate(1.2deg);
}

.staggered-pill--dark {
  flex: 1 1 680px;
  max-width: 780px;
  background-color: var(--bg-estate-dark);
  color: #FFFFFF;
  transform: rotate(-0.6deg);
}

.staggered-pill strong {
  font-weight: 700;
}

/* Organic Blob Split ("We listen and build trust with everyone") */
.rehab-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

.rehab-split__media {
  position: relative;
}

.rehab-split__blob {
  aspect-ratio: 1.25 / 1;
  border-radius: 56% 44% 52% 48% / 44% 56% 44% 56%;
  overflow: hidden;
  border: 2px solid rgba(212, 165, 93, 0.35);
  box-shadow: var(--shadow-md);
  background: var(--bg-travertine);
}

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

/* ==========================================================================
   4. Shared Horizontal Scroll Carousel System (Insurance, Facility, Team, Reviews)
   ========================================================================== */
.carousel-header-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.carousel-hint {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-right: 0.25rem;
  font-weight: 500;
}

.carousel-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.carousel-nav-btn:hover {
  background: var(--accent-emerald);
  color: #fff;
  border-color: var(--accent-emerald);
  transform: translateY(-1px);
}

.carousel-nav-btn svg {
  width: 16px;
  height: 16px;
}

.carousel-progress {
  width: 100%;
  height: 3px;
  background: rgba(51, 65, 47, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 1rem;
}

.carousel-progress__bar {
  height: 100%;
  width: 28%;
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-sage));
  border-radius: 999px;
  transition: width 0.18s ease, transform 0.18s ease;
}

/* Horizontal Scroll Track Base */
.insurance-logos-grid,
.estate-gallery-grid,
.team-grid,
.reviews-grid,
.day-timeline-track,
.carrier-detail-track,
.programs-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}

.insurance-logos-grid::-webkit-scrollbar,
.estate-gallery-grid::-webkit-scrollbar,
.team-grid::-webkit-scrollbar,
.reviews-grid::-webkit-scrollbar,
.day-timeline-track::-webkit-scrollbar,
.carrier-detail-track::-webkit-scrollbar,
.programs-track::-webkit-scrollbar {
  display: none;
}

.insurance-logos-grid.is-dragging,
.estate-gallery-grid.is-dragging,
.team-grid.is-dragging,
.reviews-grid.is-dragging,
.day-timeline-track.is-dragging,
.carrier-detail-track.is-dragging,
.programs-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

/* ==========================================================================
   5. Insurance Carrier Strip (Side-to-Side Scrollable)
   ========================================================================== */
.insurance-band {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: 1.85rem 0;
}

.insurance-band__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.insurance-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 700;
  color: var(--text-primary);
}

.insurance-logos-grid {
  gap: 0.85rem;
  padding: 0.2rem 0.1rem;
}

.insurance-logo-card {
  flex: 0 0 165px;
  scroll-snap-align: start;
  background-color: #181D24;
  border: 1px solid rgba(212, 165, 93, 0.25);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  transition: all var(--transition);
}

.insurance-logo-card:hover {
  border-color: #FFE4B8;
  background-color: #1F2630;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.insurance-logo-card img {
  max-height: 36px;
  max-width: 125px;
  width: auto;
  object-fit: contain;
  pointer-events: none;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.carrier-detail-track {
  gap: 1rem;
  padding: 0.25rem 0.1rem 0.75rem;
}

.carrier-detail-track .spec-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

.carrier-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 40px;
  margin-bottom: 0.15rem;
}

.carrier-logo-wrap img,
.carrier-detail-track .spec-card img {
  height: 34px;
  max-width: 145px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* ==========================================================================
   6. "What Recovery Looks Like Here" — Rounded Forest-Olive Feature Card & Estate Tour
   ========================================================================== */
.recovery-feature-box {
  background-color: var(--bg-estate-dark);
  color: var(--text-on-dark);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4.5vw, 3.5rem);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.recovery-feature-box__top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: center;
  margin-bottom: 2.25rem;
}

.recovery-feature-box .eyebrow {
  color: #DCE6D3;
}
.recovery-feature-box .eyebrow::before {
  background-color: #DCE6D3;
}

.recovery-feature-box .section-title {
  color: #FFFFFF;
}

.recovery-feature-box p,
.recovery-feature-box .prose p {
  color: rgba(247, 248, 244, 0.92);
  font-size: 0.96rem;
  line-height: 1.68;
}

.recovery-feature-box .carousel-hint {
  color: rgba(247, 248, 244, 0.8);
}

.recovery-feature-box .carousel-progress {
  background: rgba(255, 255, 255, 0.16);
}

.recovery-feature-box .carousel-progress__bar {
  background: #DCE6D3;
}

.recovery-feature-box .inline-expand summary {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.28);
}
.recovery-feature-box .inline-expand summary:hover {
  background: var(--accent-sage);
}
.recovery-feature-box .inline-expand__body {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.estate-intro-clean {
  max-width: 860px;
  margin-bottom: 1.75rem;
}

.estate-highlights-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

.estate-highlight-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--text-primary);
}

.estate-highlight-chip strong {
  color: var(--accent-emerald);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.mobile-filter-select {
  display: none;
}

.gallery-filter-btn {
  padding: 0.42rem 0.92rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.is-active {
  background: var(--accent-sage);
  color: #fff;
  border-color: var(--accent-sage);
}

.recovery-feature-box .gallery-filter-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.88);
}
.recovery-feature-box .gallery-filter-btn:hover,
.recovery-feature-box .gallery-filter-btn.is-active {
  background: var(--accent-sage);
  border-color: var(--accent-sage-light);
  color: #FFFFFF;
}

/* Horizontal Scroll Estate Photo Cards */
.estate-gallery-grid {
  gap: 1.1rem;
  padding: 0.25rem 0.1rem;
}

.estate-photo-card {
  flex: 0 0 clamp(280px, 31vw, 370px);
  scroll-snap-align: start;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-estate-deeper);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.estate-photo-card--wide {
  flex: 0 0 clamp(310px, 38vw, 450px);
}

.estate-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.65s var(--ease-out);
}

.estate-photo-card:hover img {
  transform: scale(1.05);
}

.estate-photo-card__caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 38, 26, 0.88) 0%, rgba(28, 38, 26, 0.2) 48%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.15rem 1.25rem;
  color: #fff;
}

.estate-photo-card__tag {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-bronze-light);
  margin-bottom: 0.15rem;
}

.estate-photo-card__title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.2;
}

/* Daily Rhythm Timeline Track (On /about-us/life-at-natc/) */
.day-timeline-track {
  gap: 1rem;
  padding: 0.25rem 0.1rem;
}

.day-step-card {
  flex: 0 0 clamp(265px, 28vw, 325px);
  scroll-snap-align: start;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.day-step-card__time {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-emerald);
  background: var(--bg-sage-tint);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.day-step-card__title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.day-step-card__desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.58;
}

/* ==========================================================================
   7. Who We Are & Founder's Message + Metrics Band
   ========================================================================== */
.who-we-are-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.85rem, 4vw, 3.25rem);
  align-items: start;
}

.prose p {
  font-size: 0.97rem;
  color: var(--text-secondary);
  margin-bottom: 0.95rem;
  line-height: 1.72;
}

.founder-letter-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.8vw, 2.25rem);
  box-shadow: var(--shadow-md);
  position: relative;
}

.founder-letter-card__heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.18;
}

.founder-letter-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 0.75rem;
}

.founder-signature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-hairline);
}

.founder-signature__img {
  height: 46px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.founder-signature__meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-primary);
}

.founder-signature__meta span {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-sage);
  font-weight: 600;
}

/* Metrics Counter Row */
.metrics-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 2.5rem;
}

.metric-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.metric-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.metric-box__num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.2vw, 2.85rem);
  font-weight: 700;
  color: var(--accent-emerald);
  line-height: 1.05;
  margin-bottom: 0.25rem;
}

.metric-box__label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.metric-box__desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   8. "Meet Our Team" — Exact Dribbble Rehabilitation House Portrait Cards
   ========================================================================== */
.team-grid {
  gap: 1.25rem;
  padding: 0.25rem 0.1rem;
}

.team-card {
  flex: 0 0 265px;
  scroll-snap-align: start;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-card__media {
  aspect-ratio: 4 / 4.6;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-travertine);
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-hairline);
}

.team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;
  transition: transform 0.5s var(--ease-out);
}

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

.team-card__action-pill {
  position: absolute;
  bottom: 0.7rem;
  left: 0.7rem;
  background: rgba(14, 15, 18, 0.9);
  border: 1px solid rgba(212, 175, 135, 0.45);
  color: #FFE4B8;
  border-radius: 999px;
  padding: 0.26rem 0.68rem;
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(4px);
  transition: all var(--transition);
}

.team-card:hover .team-card__action-pill {
  opacity: 1;
  transform: translateY(0);
}

.team-card__body {
  padding: 0.85rem 0.2rem 0.25rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 0.5rem;
}

.team-card__role {
  grid-column: 1;
  grid-row: 2;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.team-card__name {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.12;
}

/* Circular ↗ Arrow Button on Right of Name/Role */
.team-card__cta {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(212, 175, 135, 0.16);
  border: 1px solid rgba(212, 175, 135, 0.45);
  color: #FFE4B8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.team-card__cta::after {
  content: "↗";
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
}

.team-card:hover .team-card__cta {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #FFFFFF;
}

/* Interactive Staff Bio Modal (Click Any Staff Card to Open Full Bio) */
.staff-bio-modal {
  position: fixed;
  inset: 0;
  z-index: 9200;
  background: rgba(34, 44, 32, 0.72);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.staff-bio-modal.is-open {
  display: flex;
}

.staff-bio-modal__card {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 270px 1fr;
  align-items: stretch;
  animation: modalPopIn 0.26s var(--ease-out);
}

@keyframes modalPopIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.staff-bio-modal__media {
  background: var(--bg-travertine);
  min-height: 320px;
}

.staff-bio-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.staff-bio-modal__content {
  padding: clamp(1.4rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.staff-bio-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  background: var(--bg-travertine);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 2;
  transition: all var(--transition);
}

.staff-bio-modal__close:hover {
  background: var(--accent-emerald);
  color: #fff;
}

.staff-bio-modal__role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-sage);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.staff-bio-modal__name {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.6vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
  line-height: 1.15;
}

.staff-bio-modal__bio {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-height: 42vh;
  overflow-y: auto;
}

.staff-bio-modal__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-hairline);
}

.staff-bio-modal__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.staff-bio-modal__nav-btn {
  background: var(--bg-travertine);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.staff-bio-modal__nav-btn:hover {
  background: var(--accent-emerald);
  color: #fff;
  border-color: var(--accent-emerald);
}

/* ==========================================================================
   9. "We Support People" / Comprehensive Treatment Programs Track (Light Bento Cards)
   ========================================================================== */
.program-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.program-filter-btn {
  padding: 0.44rem 0.98rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.program-filter-btn:hover,
.program-filter-btn.is-active {
  background: var(--accent-emerald);
  color: #fff;
  border-color: var(--accent-emerald);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.programs-track {
  gap: 1.15rem;
  padding: 0.25rem 0.1rem;
}

.programs-track .program-card {
  flex: 0 0 clamp(290px, 30vw, 355px);
  scroll-snap-align: start;
}

.program-card {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-sage);
}

.program-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-travertine);
}

.program-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}

.program-card:hover .program-card__media img {
  transform: scale(1.05);
}

.program-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(14, 15, 18, 0.9);
  border: 1px solid rgba(212, 175, 135, 0.45);
  color: #FFE4B8;
  padding: 0.26rem 0.68rem;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.program-card__body {
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-card__title {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
  line-height: 1.2;
}

.program-card__desc {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

.program-card__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFFFFF;
  background-color: var(--accent-sage);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

.program-card:hover .program-card__link {
  background-color: var(--accent-emerald);
}

/* ==========================================================================
   10. "Need to talk?" Concierge Intake Form & Split Section (Exact Dribbble Match)
   ========================================================================== */
.need-talk-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 4.5vw, 3.75rem);
  align-items: center;
}

.concierge-card {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.8vw, 2.25rem);
  box-shadow: var(--shadow-md);
}

.vob-form-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--border-hairline);
}

.vob-form-header__copy {
  flex: 1 1 380px;
  max-width: 680px;
}

.vob-coverage-list {
  font-size: 0.82rem;
  color: var(--text-primary);
  margin: 0.65rem 0 0;
  line-height: 1.5;
}

.vob-dest-badge {
  flex: 0 0 auto;
  background: #0B0E13;
  border: 1px solid rgba(212, 165, 93, 0.38);
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 240px;
}

.vob-dest-badge__kicker {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #E3B770;
}

.vob-dest-badge__name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
}

.vob-dest-badge__loc {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.clinical-sidebar .vob-form-header {
  flex-direction: column;
}

.clinical-sidebar .vob-dest-badge {
  width: 100%;
}

.clinical-sidebar .intake-form__row {
  grid-template-columns: 1fr;
}

.concierge-card__header {
  margin-bottom: 1rem;
}

.concierge-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
  line-height: 1.15;
}

.concierge-card__subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.58;
}

.req-star {
  color: #E57368;
  font-weight: 700;
}

.field-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.28rem;
  line-height: 1.35;
}

.vob-confirm-box {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  cursor: pointer;
  margin-top: 0.25rem;
}

.vob-confirm-box strong {
  color: var(--text-primary);
}

.vob-confirm-box input[type="checkbox"] {
  margin-top: 0.22rem;
  width: 16px;
  height: 16px;
  accent-color: var(--accent-emerald);
  flex-shrink: 0;
}

.vob-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.35rem;
}

.vob-submit-btn {
  padding: 0.82rem 1.65rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.clinical-sidebar .vob-submit-btn {
  width: 100%;
}

.concierge-intent-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  background: var(--bg-canvas);
  padding: 0.28rem;
  border-radius: 999px;
  border: 1px solid var(--border-hairline);
  margin-bottom: 0.65rem;
}

.concierge-intent-btn {
  padding: 0.46rem 0.65rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.concierge-intent-btn.is-active {
  background: var(--accent-emerald);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.concierge-reassurance-note {
  font-size: 0.77rem;
  color: var(--accent-emerald);
  background: var(--bg-sage-tint);
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.intake-form {
  display: grid;
  gap: 0.7rem;
}

.intake-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.form-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.22rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.68rem 0.95rem;
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-primary);
  transition: border-color var(--transition), background-color var(--transition);
}

.form-field textarea {
  resize: vertical;
  min-height: 68px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid #FFE4B8;
  outline-offset: 1px;
  border-color: #D4AF87;
  background-color: #161B22;
  color: #FFFFFF;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.45;
  cursor: pointer;
}

.form-consent input[type="checkbox"] {
  margin-top: 0.18rem;
  accent-color: var(--accent-emerald);
  flex-shrink: 0;
}

.confidential-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-emerald);
  padding-top: 0.25rem;
}

/* ==========================================================================
   11. Verified Google Reviews (4.9 Rating Side-to-Side Scroll)
   ========================================================================== */
.reviews-grid {
  gap: 1.15rem;
  padding: 0.25rem 0.1rem;
}

.review-card {
  flex: 0 0 clamp(290px, 33vw, 385px);
  scroll-snap-align: start;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.review-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
}

.review-card__name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.review-card__verified {
  font-size: 0.7rem;
  color: var(--accent-sage);
  font-weight: 600;
}

.review-card__stars {
  color: var(--accent-gold-star);
  font-size: 0.88rem;
  letter-spacing: 1.5px;
  flex-shrink: 0;
}

.review-card__text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.64;
}

.review-card__text.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-expand-btn {
  align-self: flex-start;
  background: transparent;
  border: none;
  padding: 0.1rem 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-emerald);
  cursor: pointer;
}

.review-expand-btn:hover {
  color: var(--accent-sage);
}

/* ==========================================================================
   12. Dual-Track Interactive FAQs & Spec Ledgers
   ========================================================================== */
.faq-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--bg-travertine);
  padding: 0.3rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  margin-bottom: 1.75rem;
  gap: 0.25rem;
}

.faq-tab-btn {
  padding: 0.56rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.faq-tab-btn.is-active {
  background: var(--accent-emerald);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.faq-panel {
  display: none;
}

.faq-panel.is-active {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item[open] {
  border-color: var(--accent-sage);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 1.05rem 1.3rem;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--accent-emerald);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-sage-tint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), background-color var(--transition);
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--accent-emerald);
  color: #fff;
}

.faq-item__answer {
  padding: 0 1.3rem 1.2rem;
  font-size: 0.91rem;
  color: var(--text-secondary);
  line-height: 1.68;
  border-top: 1px solid var(--border-hairline);
  padding-top: 0.9rem;
}

/* Spec & Ledger Cards */
.spec-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.spec-card__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-sage);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.spec-card__value {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-primary);
}

.estate-ledger {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-sm);
}

.estate-ledger__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.65rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-hairline);
}

.estate-ledger__tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-sage);
  font-weight: 700;
}

.estate-ledger__rows {
  display: grid;
  gap: 0.6rem;
}

.estate-ledger__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px dashed var(--border-hairline);
  font-size: 0.85rem;
}

.estate-ledger__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.estate-ledger__key {
  color: var(--text-muted);
  font-weight: 500;
}

.estate-ledger__val {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

/* ==========================================================================
   13. Estate Location & Google Maps Section
   ========================================================================== */
.location-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(212, 165, 93, 0.32);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10.5;
  background: var(--bg-travertine);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   14. Articles & Resources Grid + Deep Forest-Olive Footer (Exact Dribbble Match)
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.site-footer {
  background-color: var(--bg-estate-dark);
  color: var(--text-on-dark);
  padding: clamp(3.25rem, 5.5vw, 4.75rem) 0 2.25rem;
  margin-top: 2rem;
  border-radius: 36px 36px 0 0;
}

.footer-action-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.footer-action-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all var(--transition);
}

.footer-action-card:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.footer-action-card__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-bronze-light);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.footer-action-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1fr 0.9fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-dark-hairline);
}

.footer-brand p {
  color: var(--text-on-dark-muted);
  font-size: 0.88rem;
  margin: 0.85rem 0 1.1rem;
  max-width: 38ch;
}

.footer-license-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark-hairline);
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 1.15rem;
}

.footer-license-box strong {
  color: #fff;
  display: block;
  margin-bottom: 0.1rem;
}

.footer-seals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.footer-seals img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* Compact Horizontal Rectangular findingrehab.io Verified Badge */
.fr-vbadge-wrap {
  display: inline-block !important;
  vertical-align: middle !important;
  max-width: 100% !important;
  line-height: 1.15 !important;
}

.fr-vbadge-card {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  width: auto !important;
  min-width: 176px !important;
  max-width: 215px !important;
  height: 44px !important;
  padding: 5px 11px 5px 8px !important;
  border-radius: 9px !important;
  background: #0F241D;
  border: 1.5px solid #D4A44C;
  box-shadow: inset 0 0 0 1px #1E4436, 0 3px 10px rgba(10, 25, 20, 0.22);
  text-decoration: none !important;
}

.fr-vbadge-wrap[data-fr-theme="dark"] a.fr-vbadge-card,
.fr-vbadge-wrap[data-fr-theme="dark"] a.fr-vbadge-card:link,
.fr-vbadge-wrap[data-fr-theme="dark"] a.fr-vbadge-card:visited,
.fr-vbadge-wrap[data-fr-theme="dark"] a.fr-vbadge-card:hover {
  background: #0F241D !important;
  border: 1.5px solid #D4A44C !important;
  color: #F8FAFC !important;
  text-decoration: none !important;
  box-shadow: inset 0 0 0 1px #1E4436, 0 3px 10px rgba(10, 25, 20, 0.22) !important;
}

.fr-vbadge-wrap[data-fr-theme="light"] a.fr-vbadge-card,
.fr-vbadge-wrap[data-fr-theme="light"] a.fr-vbadge-card:link,
.fr-vbadge-wrap[data-fr-theme="light"] a.fr-vbadge-card:visited,
.fr-vbadge-wrap[data-fr-theme="light"] a.fr-vbadge-card:hover {
  background: #FFFFFF !important;
  border: 1.5px solid #17382C !important;
  color: #0F241D !important;
  text-decoration: none !important;
  box-shadow: inset 0 0 0 1px #E2E8F0, 0 4px 12px rgba(0, 0, 0, 0.24) !important;
}

.fr-vbadge-wrap[data-fr-theme="light"] .fr-vbadge-seal {
  background: #F0FDF4 !important;
  border: 1.25px solid #17382C !important;
}

.fr-vbadge-wrap[data-fr-theme="light"] .fr-vbadge-eyebrow {
  color: #065F46 !important;
}

.fr-vbadge-wrap[data-fr-theme="light"] .fr-vbadge-brand {
  color: #0F241D !important;
}

.fr-vbadge-wrap[data-fr-theme="light"] .fr-vbadge-brand .fr-tld {
  color: #8A5A10 !important;
}

.fr-vbadge-wrap[data-fr-theme="light"] .fr-vbadge-meta {
  color: #334155 !important;
}

.fr-verified-badge img {
  height: 44px;
  width: auto;
  display: block;
}

.eeat-ver-item--badge .fr-verified-badge {
  margin-top: 0.25rem;
}

.eeat-ver-item a.fr-vbadge-card {
  text-decoration: none !important;
}

.fr-vbadge-seal {
  width: 28px !important;
  height: 28px !important;
  border-radius: 6px !important;
  flex-shrink: 0 !important;
}

.fr-vbadge-seal svg {
  width: 16px !important;
  height: 16px !important;
}

.fr-vbadge-body {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 1px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
}

.fr-vbadge-eyebrow {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 7.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
}

.fr-vbadge-dot {
  width: 4.5px !important;
  height: 4.5px !important;
  box-shadow: none !important;
  flex-shrink: 0 !important;
}

.fr-vbadge-brand {
  font-size: 13.5px !important;
  line-height: 1.08 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.fr-vbadge-meta {
  font-size: 8px !important;
  line-height: 1.05 !important;
  gap: 3px !important;
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
}

.footer-col h3,
.footer-col h4 {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-bronze-light);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.footer-col ul {
  display: grid;
  gap: 0.5rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
}

.footer-col a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.79rem;
  color: var(--text-on-dark-muted);
}

/* Mobile Sticky Bottom Concierge Bar (Opaque Luxury Surface — Zero Backdrop-Filter GPU Lag Over Canvas) */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: #0c0b0a;
  border-top: 1px solid rgba(212, 175, 135, 0.35);
  padding: 0.55rem 0.85rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  gap: 0.55rem;
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.48);
}

/* ==========================================================================
   15. Lightbox Modal & Inner Page Layouts (Light Rehabilitation House Style)
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(34, 44, 32, 0.92);
  backdrop-filter: blur(10px);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-modal.is-open {
  display: flex;
}

.lightbox-modal__content {
  max-width: 1060px;
  width: 100%;
  position: relative;
  text-align: center;
}

.lightbox-modal__img {
  max-height: 78vh;
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-modal__caption {
  color: #fff;
  margin-top: 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.lightbox-modal__close {
  position: absolute;
  top: -2.6rem;
  right: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Inner Page Hero — Full-Bleed Warm Luxury Obsidian & Champagne Gold Banner (Never Cut Off By Fixed Header) */
.page-hero {
  background: linear-gradient(145deg, #161412 0%, #1F1B18 100%);
  color: var(--text-on-dark);
  padding: clamp(7.25rem, 9.2vw, 8.85rem) 0 clamp(2.75rem, 4.2vw, 3.75rem);
  margin: 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(212, 175, 135, 0.22);
}

/* Ensure anchor jumps and cards always clear the fixed floating header */
section,
[id],
.concierge-card,
.clinical-article {
  scroll-margin-top: 6.5rem;
}

.page-hero .eyebrow {
  color: #FFE4B8;
}
.page-hero .eyebrow::before {
  background-color: #D4AF87;
}

.page-hero .display-title {
  color: #FFFFFF;
}

.page-hero .section-subtitle {
  color: var(--text-on-dark-muted);
}

.display-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-bronze-light);
  margin-bottom: 0.75rem;
}

.clinical-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: clamp(1.75rem, 3.8vw, 3rem);
  align-items: start;
}

.clinical-article {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.2vw, 2.75rem);
  box-shadow: var(--shadow-sm);
}

.clinical-article h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  color: var(--text-primary);
  margin: 1.75rem 0 0.7rem;
  line-height: 1.2;
}

.clinical-article h2:first-child {
  margin-top: 0;
}

.clinical-article h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: var(--text-primary);
  margin: 1.35rem 0 0.5rem;
}

.clinical-article p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: 1rem;
}

.clinical-article ul {
  margin: 0.65rem 0 1.2rem 1.2rem;
  display: grid;
  gap: 0.4rem;
  list-style: disc;
  color: var(--text-secondary);
}

.clinical-sidebar {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 1.15rem;
}

/* ==========================================================================
   16. Responsive Breakpoints (Full Horizontal Pill Nav Down to 940px)
   ========================================================================== */
@media (max-width: 1260px) {
  .nav-link {
    padding: 0.44rem 0.48rem;
    font-size: 0.8rem;
  }

  .brand-logo__crest {
    padding: 0.54rem 1.05rem;
  }

  .brand-logo__img {
    height: 26px;
  }

  .header-actions .btn--outline-light {
    display: none;
  }

  .header-actions .btn--bronze {
    padding: 0.5rem 0.95rem;
    font-size: 0.78rem;
  }

  .trust-topbar__item--hide-tablet {
    display: none;
  }
}

@keyframes drawerSlideIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 940px) {
  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    height: 100dvh;
    background: #12151B;
    border-left: 1px solid rgba(212, 175, 135, 0.32);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.72);
    z-index: 1050;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 1.25rem;
    overflow-y: auto;
  }

  .primary-nav.is-open {
    display: flex;
    animation: drawerSlideIn 0.26s var(--ease-out);
  }

  .nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.9rem;
    margin-bottom: 0.55rem;
    border-bottom: 1px solid var(--border-hairline);
  }

  .nav-drawer-header__title {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-sage);
    font-weight: 700;
  }

  .nav-drawer-close {
    background: var(--bg-sage-tint);
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
  }

  .primary-nav .nav-item {
    border-bottom: 1px solid var(--border-hairline);
    padding-bottom: 0.2rem;
  }

  .primary-nav .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0.68rem 0.55rem;
    font-size: 0.94rem;
    border-radius: var(--radius-xs);
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--accent-sage);
    border-radius: 0;
    background: var(--bg-canvas);
    margin: 0 0 0.45rem 0.5rem;
    padding: 0.3rem 0.6rem;
    display: none;
  }

  .nav-item.is-submenu-open .nav-dropdown,
  .nav-item:focus-within .nav-dropdown {
    display: block;
  }

  .nav-dropdown a {
    color: var(--text-secondary);
    padding: 0.45rem 0.5rem;
    font-size: 0.84rem;
  }

  .nav-drawer-footer {
    display: grid;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 1.25rem;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .hero__grid,
  .who-we-are-grid,
  .location-split,
  .clinical-layout,
  .rehab-split,
  .need-talk-grid,
  .recovery-feature-box__top {
    grid-template-columns: 1fr;
  }

  .programs-grid,
  .articles-grid,
  .footer-action-cards,
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }

  .trust-topbar__inner {
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .trust-topbar__right,
  .trust-topbar__item--hide-mobile,
  .hero__dots {
    display: none;
  }

  .site-header__inner {
    min-height: 56px;
    padding: 0.32rem 0.45rem 0.32rem 0.32rem;
  }

  .brand-logo__crest {
    padding: 0.48rem 0.9rem;
  }

  .brand-logo__img {
    height: 24px;
    max-width: 138px;
  }

  .header-actions .btn {
    display: none;
  }

  .estate-pill {
    white-space: normal;
    font-size: 0.66rem;
    padding: 0.3rem 0.65rem;
    line-height: 1.35;
  }

  .carousel-hint {
    display: none;
  }

  .intake-form__row,
  .metrics-band,
  .programs-grid,
  .articles-grid,
  .footer-action-cards,
  .staff-bio-modal__card {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
    gap: 1.4rem 0.9rem;
    align-items: start;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col--facility {
    grid-column: 1;
  }

  .footer-col--treatments {
    grid-column: 2;
  }

  .footer-col--facility ul,
  .footer-col--treatments ul {
    gap: 0.42rem;
  }

  .footer-col--facility a,
  .footer-col--treatments a {
    font-size: 0.78rem;
    line-height: 1.35;
    display: inline-block;
  }

  .footer-col--quick-links {
    grid-column: 1 / -1;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-col--quick-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem 0.48rem;
  }

  .footer-col--quick-links a {
    display: inline-flex;
    align-items: center;
    padding: 0.36rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(244, 242, 237, 0.9);
  }

  .footer-col--quick-links a:hover {
    padding-left: 0.72rem;
    background: rgba(212, 175, 135, 0.18);
    border-color: rgba(212, 175, 135, 0.45);
  }

  .staff-bio-modal__media {
    min-height: 210px;
    max-height: 230px;
  }

  .staggered-pill {
    transform: none !important;
  }

  .estate-photo-card,
  .estate-photo-card--wide {
    flex: 0 0 82vw;
  }

  .estate-photo-card__caption {
    padding: 0.75rem 0.88rem;
  }

  .estate-photo-card__tag {
    font-size: 0.54rem;
    letter-spacing: 0.07em;
    margin-bottom: 0.1rem;
  }

  .estate-photo-card__title {
    font-size: 0.88rem;
    line-height: 1.22;
    max-width: 95%;
  }

  .gallery-filters,
  .program-filters {
    width: 100%;
  }

  .gallery-filters .gallery-filter-btn,
  .program-filters .program-filter-btn {
    display: none !important;
  }

  .mobile-filter-select {
    display: block;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    padding: 0.68rem 2.4rem 0.68rem 0.95rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 135, 0.45);
    background-color: #161A20;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23FFE4B8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 14px;
    color: #F5F2EC;
    font-family: var(--font-sans);
    font-size: 0.84rem;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    cursor: pointer;
  }

  .need-talk-grid,
  .location-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .need-talk-grid > *,
  .location-split > * {
    min-width: 0;
    max-width: 100%;
  }

  .map-frame {
    width: 100%;
    max-width: 100%;
    min-height: 0 !important;
    height: 225px;
    aspect-ratio: auto;
    border-radius: 16px;
    box-sizing: border-box;
  }

  .map-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
  }

  .estate-ledger {
    padding: 1rem 1.05rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .estate-ledger__row {
    flex-wrap: wrap;
    gap: 0.22rem 0.65rem;
    font-size: 0.79rem;
  }

  .estate-ledger__val {
    text-align: left;
  }

  .team-card {
    flex: 0 0 70vw;
  }

  .programs-track .program-card {
    flex: 0 0 84vw;
  }

  .review-card {
    flex: 0 0 85vw;
  }

  .day-step-card {
    flex: 0 0 80vw;
  }

  .insurance-logo-card {
    flex: 0 0 148px;
    height: 64px;
  }

  .mobile-sticky-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}


/* ==========================================================================
   17. NIXTIO LUXURY REAL ESTATE WEBSITE DAY & NIGHT ANIMATION (SHOT 27576346)
   Full-Bleed Architectural Hero · Monumental Condensed Sky-Text Behind Roofline
   Interactive Day/Night Lighting Crossfade · Inverting CAD Blueprint & Spec Bar
   ========================================================================== */

html[data-theme="night"] {
  --bg-canvas: #0E1115;
  --bg-travertine: #14181E;
  --bg-surface: #1A1F26;
  --bg-estate-dark: #090A0B;
  --bg-estate-deeper: #050607;
  --bg-estate-card: #1F252D;
  --bg-sage-tint: rgba(255, 255, 255, 0.08);
  --bg-gold-tint: rgba(217, 155, 38, 0.14);
  --text-primary: #F3F2EE;
  --text-secondary: #C2C7CE;
  --text-muted: #8E959E;
  --border-hairline: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --accent-emerald: #D4A55D;
  --accent-emerald-hover: #E3B770;
  --accent-sage: #C89B54;
}

html[data-theme="night"] body {
  background-color: #0E1115;
  background-image:
    radial-gradient(ellipse at 80% 5%, rgba(212, 165, 93, 0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 15% 30%, rgba(56, 82, 110, 0.12) 0%, transparent 50%);
  color: #F3F2EE;
}

html[data-theme="night"] .btn--primary {
  background-color: #F2F1ED;
  color: #090A0B;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

html[data-theme="night"] .btn--primary:hover {
  background-color: #FFFFFF;
  color: #090A0B;
}

html[data-theme="night"] .btn--outline {
  background-color: rgba(255, 255, 255, 0.06);
  color: #F3F2EE;
  border-color: rgba(255, 255, 255, 0.22);
}

html[data-theme="night"] .btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: #FFFFFF;
}

html[data-theme="night"] .staggered-pill--light {
  background-color: #1C222A;
  color: #F3F2EE;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

html[data-theme="night"] .staggered-pill--sage {
  background-color: #262E38;
  color: #F3F2EE;
  border: 1px solid rgba(212, 165, 93, 0.28);
}

html[data-theme="night"] .staggered-pill--dark {
  background-color: #090A0B;
  color: #F3F2EE;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

html[data-theme="night"] .insurance-logo-card {
  background: #181D24;
  border-color: rgba(212, 165, 93, 0.25);
}

html[data-theme="night"] .insurance-logo-card:hover {
  background: #202731;
  border-color: #FFE4B8;
}

html[data-theme="night"] .program-card,
html[data-theme="night"] .review-card,
html[data-theme="night"] .faq-item,
html[data-theme="night"] .concierge-card,
html[data-theme="night"] .clinical-article,
html[data-theme="night"] .day-step-card,
html[data-theme="night"] .team-card,
html[data-theme="night"] .rehab-feature-item,
html[data-theme="night"] .location-card {
  background-color: #181D24;
  border-color: rgba(255, 255, 255, 0.1);
  color: #F3F2EE;
}

html[data-theme="night"] .form-field input,
html[data-theme="night"] .form-field select,
html[data-theme="night"] .form-field textarea {
  background-color: #101419;
  border-color: rgba(255, 255, 255, 0.16);
  color: #F3F2EE;
}

html[data-theme="night"] .mobile-sticky-bar {
  background: rgba(9, 10, 11, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

html[data-theme="night"] .mobile-sticky-bar .btn--outline {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.24);
}

/* Hide old topbar visually so the Nixtio floating glass header sits right at top of hero */
.trust-topbar {
  display: none;
}

/* Nixtio Floating Two-Pill Glassmorphic Header */
.site-header.nixtio-header {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  pointer-events: none;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.65s ease, top 0.35s ease;
}

.site-header.nixtio-header.is-scrolled {
  top: 0.75rem;
}

body.is-hero-preloading .site-header.nixtio-header {
  opacity: 0;
  transform: translate3d(0, -28px, 0);
}

.nixtio-header__bar {
  max-width: 2320px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 3.8vw, 4.25rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Left Glass Pill (Browse Properties / Our Story / Contact -> Northridge Nav) */
.nixtio-glass-pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(14, 18, 23, 0.46);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.42rem 1.15rem;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.nixtio-header.is-scrolled .nixtio-glass-pill {
  background: rgba(10, 13, 17, 0.84);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
}

.nixtio-brand {
  display: inline-flex;
  align-items: center;
  padding-right: 0.75rem;
  margin-right: 0.35rem;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.nixtio-brand img {
  height: 24px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nixtio-header .primary-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nixtio-header .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.83rem;
  font-weight: 500;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.nixtio-header .nav-link:hover,
.nixtio-header .nav-link[aria-current="page"] {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.14);
}

.nixtio-header .nav-dropdown {
  background: rgba(14, 18, 23, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.48);
}

.nixtio-header .nav-dropdown a {
  color: rgba(255, 255, 255, 0.84);
}

.nixtio-header .nav-dropdown a:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

/* Right Glass Pill (Book a Viewing / Verify Insurance + Call CTA) */
.nixtio-glass-pill--right {
  padding: 0.42rem 0.55rem 0.42rem 1.15rem;
  gap: 0.65rem;
}

.nixtio-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #FFFFFF;
  font-size: 0.84rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.32rem 0.35rem;
}

.nixtio-cta-link:hover {
  color: #E5C17B;
}

.nixtio-cta-link svg {
  width: 17px;
  height: 17px;
  opacity: 0.92;
  flex-shrink: 0;
}

.nixtio-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #FFFFFF;
  font-size: 0.79rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.nixtio-phone-pill:hover {
  background: #FFFFFF;
  color: #090A0B;
}

.nixtio-header .mobile-nav-toggle {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   NIXTIO HERO STAGE (68vh Visual + 32vh Inverting Split Bar)
   ========================================================================== */
.nixtio-hero {
  position: relative;
  width: 100%;
  min-height: min(100vh, 980px);
  max-height: 1040px;
  display: flex;
  flex-direction: column;
  background-color: #090A0B;
  overflow: hidden;
  padding: 0;
}

.nixtio-hero__stage {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  height: clamp(520px, 68vh, 710px);
  min-height: 520px;
  max-height: 720px;
  overflow: hidden;
  background-color: #0B1117;
  transition: min-height 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Layer 1: Background Sky & Estate Photograph (Day & Night Crossfade) */
.nixtio-hero__bg-stack {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.nixtio-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html[data-theme="night"] .nixtio-hero__bg--night {
  opacity: 1;
}
html[data-theme="night"] .nixtio-hero__bg--day {
  opacity: 0;
}
html[data-theme="day"] .nixtio-hero__bg--night {
  opacity: 0;
}
html[data-theme="day"] .nixtio-hero__bg--day {
  opacity: 1;
}

.nixtio-hero.is-preloading .nixtio-hero__bg,
.nixtio-hero.is-preloading .nixtio-hero__fg {
  transform: scale(1.045);
}

/* Layer 2: Monumental Condensed Display Wordmark ("NORTHRIDGE") Behind Roofline */
.nixtio-hero__sky-layer {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(4.1rem, 9.2vh, 6.8rem);
  z-index: 2;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: visible;
  padding-inline: 1.5vw;
}

.nixtio-hero__sky-text {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: clamp(4.4rem, 16.3vw, 15.8rem);
  line-height: 0.82;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
  white-space: nowrap;
  text-align: center;
  width: 100%;
  user-select: none;
  transform: translate3d(0, 0%, 0);
  opacity: 1;
  transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.75s ease;
  will-change: transform, opacity;
  text-shadow: 0 8px 36px rgba(0, 0, 0, 0.14);
}

/* During preloader or scene switch, sky text tucks down behind the roofline */
.nixtio-hero.is-preloading .nixtio-hero__sky-text,
.nixtio-hero.is-sky-rising .nixtio-hero__sky-text {
  transform: translate3d(0, 62%, 0);
  opacity: 0;
}

/* Layer 3: RGBA Foreground Cutout (Roofline, Gable Peak, Trees & Courtyard Occlude Bottom of Sky-Text) */
.nixtio-hero__fg-stack {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.nixtio-hero__fg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html[data-theme="night"] .nixtio-hero__fg--night {
  opacity: 1;
}
html[data-theme="night"] .nixtio-hero__fg--day {
  opacity: 0;
}
html[data-theme="day"] .nixtio-hero__fg--night {
  opacity: 0;
}
html[data-theme="day"] .nixtio-hero__fg--day {
  opacity: 1;
}

/* Layer 4: Subtle Architectural Gradient Vignette for Caption Readability */
.nixtio-hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 9, 13, 0.38) 0%, rgba(6, 9, 13, 0) 24%, rgba(6, 9, 13, 0.08) 58%, rgba(6, 9, 13, 0.78) 100%),
    radial-gradient(ellipse at 20% 90%, rgba(0, 0, 0, 0.52) 0%, transparent 60%);
}

/* Layer 5: Bottom-Left Editorial Caption & Bottom-Right Interactive Day/Night Switcher */
.nixtio-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  max-width: 1440px;
  margin-inline: auto;
  width: 100%;
  padding: 6.5rem clamp(1.25rem, 3.5vw, 3.25rem) clamp(1.35rem, 2.6vw, 2.15rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  pointer-events: none;
  transition: opacity 0.65s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.nixtio-hero.is-preloading .nixtio-hero__overlay {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

.nixtio-hero__caption {
  pointer-events: auto;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.92);
}

.nixtio-hero__h1 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nixtio-hero__h1::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4E9F6E;
  box-shadow: 0 0 0 3px rgba(78, 159, 110, 0.28);
}

.nixtio-hero__statement {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.18vw, 1.12rem);
  font-weight: 400;
  line-height: 1.52;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  margin-bottom: 0.85rem;
}

.nixtio-hero__quick-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.nixtio-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.44rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #FFFFFF;
}

.nixtio-action-pill--solid {
  background: #FFFFFF;
  color: #090A0B;
  border-color: #FFFFFF;
}

.nixtio-action-pill:hover {
  background: #FFFFFF;
  color: #090A0B;
  transform: translateY(-1px);
}

.nixtio-hero__expand {
  margin-top: 0.55rem;
}

.nixtio-hero__expand summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.nixtio-hero__expand summary::-webkit-details-marker {
  display: none;
}

.nixtio-hero__expand summary:hover {
  color: #FFFFFF;
}

.nixtio-hero__expand-card {
  margin-top: 0.55rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(10, 14, 18, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  max-height: 170px;
  overflow-y: auto;
}

/* Interactive Day / Night Pill Toggle (Exact Match to Nixtio Bottom-Right Switcher) */
.nixtio-daynight-wrap {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.nixtio-daynight-hint {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.nixtio-daynight-switch {
  position: relative;
  width: 92px;
  height: 44px;
  border-radius: 999px;
  background: rgba(18, 22, 28, 0.48);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  transition: background-color 0.35s ease, border-color 0.35s ease, transform 0.25s ease;
}

.nixtio-daynight-switch:hover {
  border-color: rgba(255, 255, 255, 0.55);
  transform: scale(1.03);
}

.nixtio-daynight-switch__thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

html[data-theme="day"] .nixtio-daynight-switch__thumb {
  transform: translate3d(48px, 0, 0);
}

.nixtio-daynight-switch__icon {
  position: relative;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.4s ease;
}

.nixtio-daynight-switch__icon svg {
  width: 16px;
  height: 16px;
}

html[data-theme="night"] .nixtio-daynight-switch__icon--moon {
  color: #090A0B;
}
html[data-theme="night"] .nixtio-daynight-switch__icon--sun {
  color: rgba(255, 255, 255, 0.78);
}

html[data-theme="day"] .nixtio-daynight-switch__icon--moon {
  color: rgba(255, 255, 255, 0.78);
}
html[data-theme="day"] .nixtio-daynight-switch__icon--sun {
  color: #090A0B;
}

/* Layer 6: Nixtio Preloader Progress Line & Percentage Counter (0% -> 100%) */
.nixtio-preloader {
  position: absolute;
  left: clamp(1.5rem, 4vw, 3.5rem);
  right: clamp(1.5rem, 4vw, 3.5rem);
  bottom: 1.75rem;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.nixtio-hero.is-preloading .nixtio-preloader {
  opacity: 1;
  visibility: visible;
}

.nixtio-preloader__top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.55rem;
}

.nixtio-preloader__pct {
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.02em;
}

.nixtio-preloader__track {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  overflow: hidden;
}

.nixtio-preloader__bar {
  width: 0%;
  height: 100%;
  background: #FFFFFF;
  transition: width 0.12s linear;
}

/* ==========================================================================
   INVERTING BOTTOM ARCHITECTURAL SPLIT BAR (nixtio_frame_01 vs nixtio_frame_02)
   Left: CAD Floorplan Blueprint | Right: 3 Odometer Specs + Scene Switcher
   ========================================================================== */
.nixtio-hero__bottom-bar {
  position: relative;
  z-index: 6;
  width: 100%;
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 268px;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease;
}

.nixtio-hero.is-preloading .nixtio-hero__bottom-bar {
  transform: translate3d(0, 100%, 0);
  opacity: 0;
}

/* Left Panel: Architectural CAD Blueprint
   Night Mode = Off-White (#F2F1ED) with Black CAD lines
   Day Mode   = Obsidian Black (#090A0B) with White CAD lines */
.nixtio-blueprint-panel {
  position: relative;
  padding: clamp(1.35rem, 2.5vw, 2.2rem) clamp(1.5rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: background-color 0.75s cubic-bezier(0.22, 1, 0.36, 1), color 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="night"] .nixtio-blueprint-panel {
  background-color: #F2F1ED;
  color: #141619;
}

html[data-theme="day"] .nixtio-blueprint-panel {
  background-color: #090A0B;
  color: #F2F1ED;
}

.nixtio-blueprint-svg {
  width: 100%;
  max-width: 470px;
  height: auto;
  max-height: 215px;
  stroke: currentColor;
  fill: none;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.nixtio-blueprint-panel:hover .nixtio-blueprint-svg {
  transform: scale(1.03);
}

.nixtio-blueprint-caption {
  margin-top: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.62;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Right Panel: 3 Spec Columns + Scene Arrows + Overlapping Circular Thumbnails
   Night Mode = Obsidian Black (#090A0B) with White text
   Day Mode   = Off-White (#F2F1ED) with Black text */
.nixtio-specs-panel {
  padding: clamp(1.5rem, 2.8vw, 2.35rem) clamp(1.75rem, 3.8vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  transition: background-color 0.75s cubic-bezier(0.22, 1, 0.36, 1), color 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="night"] .nixtio-specs-panel {
  background-color: #090A0B;
  color: #FFFFFF;
}

html[data-theme="day"] .nixtio-specs-panel {
  background-color: #F2F1ED;
  color: #090A0B;
}

.nixtio-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2.5rem);
}

.nixtio-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.nixtio-spec__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.83rem;
  font-weight: 500;
  opacity: 0.64;
}

.nixtio-spec__label svg {
  width: 15px;
  height: 15px;
  opacity: 0.85;
  flex-shrink: 0;
}

.nixtio-spec__value {
  font-family: var(--font-condensed);
  font-size: clamp(2.1rem, 3.5vw, 3.35rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.nixtio-spec__value sup {
  font-size: 0.52em;
  vertical-align: super;
  margin-left: 1px;
}

/* Bottom Row inside Right Panel: < > Arrows on Left, Scene Name + Overlapping Thumbs on Right */
.nixtio-specs-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
}

.nixtio-scene-arrows {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.nixtio-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  opacity: 0.65;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

html[data-theme="night"] .nixtio-arrow-btn {
  border-color: rgba(255, 255, 255, 0.24);
}

html[data-theme="day"] .nixtio-arrow-btn {
  border-color: rgba(9, 10, 11, 0.2);
}

.nixtio-arrow-btn:hover {
  opacity: 1;
  transform: scale(1.06);
}

.nixtio-arrow-btn svg {
  width: 16px;
  height: 16px;
}

.nixtio-scene-selector {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nixtio-scene-meta {
  text-align: right;
  font-size: 0.86rem;
  line-height: 1.32;
}

.nixtio-scene-meta__title {
  font-weight: 500;
  opacity: 0.72;
}

.nixtio-scene-meta__sub {
  font-weight: 500;
  opacity: 0.62;
}

.nixtio-scene-thumbs {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.nixtio-thumb-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: #090A0B;
  cursor: pointer;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.nixtio-thumb-btn--night {
  z-index: 2;
}

.nixtio-thumb-btn--day {
  z-index: 1;
  margin-left: -20px;
}

html[data-theme="day"] .nixtio-thumb-btn--day {
  z-index: 3;
  border-color: #090A0B;
}

.nixtio-thumb-btn:hover {
  transform: scale(1.08);
  z-index: 4;
}

.nixtio-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Inner pages top spacing for fixed Nixtio header */
.page-hero {
  padding-top: clamp(7.25rem, 9.2vw, 8.85rem);
}

/* Responsive Nixtio Hero Breakpoints */
@media (max-width: 1024px) {
  .nixtio-hero__bottom-bar {
    grid-template-columns: 1fr;
  }

  .nixtio-blueprint-panel {
    order: 2;
    padding: 1.5rem;
  }

  .nixtio-specs-panel {
    order: 1;
  }
}

@media (max-width: 1340px) {
  .nixtio-header__bar {
    padding-inline: 1.15rem;
    gap: 0.5rem;
  }
  .nixtio-glass-pill {
    padding: 0.36rem 0.75rem;
    gap: 0.15rem;
  }
  .nixtio-header .primary-nav {
    gap: 0.05rem;
  }
  .nixtio-header .nav-link {
    padding: 0.34rem 0.42rem;
    font-size: 0.75rem;
  }
  .nixtio-brand {
    padding-right: 0.45rem;
    margin-right: 0.15rem;
  }
  .nixtio-brand img {
    height: 19px;
  }
  .nixtio-cta-link {
    font-size: 0.76rem;
    gap: 0.35rem;
  }
  .nixtio-phone-pill {
    font-size: 0.74rem;
    padding: 0.36rem 0.7rem;
  }
}

@media (max-width: 940px) {
  .nixtio-glass-pill {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(12, 16, 21, 0.88);
  }

  .nixtio-header .primary-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(340px, 86vw);
    height: 100dvh;
    background: #101419;
    color: #FFFFFF;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    z-index: 1100;
  }

  .nixtio-header .primary-nav.is-open {
    display: flex;
  }

  .nixtio-header .primary-nav .nav-link {
    color: #FFFFFF;
    font-size: 0.92rem;
    padding: 0.65rem 0.5rem;
  }

  .nixtio-header .nav-dropdown {
    background: rgba(255, 255, 255, 0.05);
  }

  .nixtio-cta-link {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header.nixtio-header {
    top: 0.65rem;
  }

  .nixtio-header__bar {
    padding-inline: 0.85rem;
  }

  .nixtio-brand {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
  }

  .nixtio-phone-pill {
    display: none;
  }

  .nixtio-hero__stage {
    min-height: 540px;
  }

  .nixtio-hero__sky-layer {
    top: 5.2rem;
  }

  .nixtio-hero__sky-text {
    font-size: clamp(3.3rem, 16.5vw, 5.5rem);
  }

  .nixtio-hero__overlay {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 5.5rem 1.1rem 1.25rem;
    gap: 1rem;
  }

  .nixtio-daynight-wrap {
    align-items: flex-start;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .nixtio-specs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .nixtio-spec__value {
    font-size: 1.65rem;
  }

  .nixtio-spec__label {
    font-size: 0.7rem;
  }

  .nixtio-thumb-btn {
    width: 50px;
    height: 50px;
  }
}

/* ==========================================================================
   20. AURAL-72 SCROLL-TRIGGERED ESTATE DRONE VIDEO THEATER & HUD OVERLAYS
   ========================================================================== */
:root {
  --aural-bg: #0c0b0a;
  --aural-ink: #f7f4ef;
  --aural-muted: #c8c2b8;
  --aural-faint: #8e887f;
  --aural-bronze: #d4af87;
  --aural-bronze-2: #f3d8b6;
  --aural-glass: rgba(16, 15, 14, 0.88);
  --aural-glass-strong: rgba(12, 11, 10, 0.93);
  --aural-edge: linear-gradient(140deg, rgba(255, 255, 255, 0.42), rgba(212, 175, 135, 0.38) 28%, rgba(255, 255, 255, 0.08) 55%, rgba(223, 227, 232, 0.24) 100%);
  --aural-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shine: 18%;
}

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

.aural-theater {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--aural-bg);
  color: var(--aural-ink);
  isolation: isolate;
}

.aural-scroll-anchors,
#estate-canvas,
.aural-hud-top,
.aural-reel,
#stage-grounds,
#stage-culinary,
#stage-sanctuary,
#stage-clinical {
  display: none !important;
}

.estate-mobile-video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  background: #08090b url('/assets/videos/frames/f_001.jpg') center 52% / cover no-repeat;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 820px) {
  .estate-mobile-video {
    object-position: center;
    background-image: url('/assets/videos/frames-m/f_001.jpg');
    background-position: center;
  }
}

/* Full-Bleed Looping Video Hero Stage */
.aural-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  background: #08090b;
}

/* Giant Parallax Italic Display Wordmarks Behind Foreground UI */
.aural-backdrop {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.aural-bd {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, calc(-50% + var(--p, 0px)), 0);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(6.5rem, 18vw, 17rem);
  letter-spacing: -0.03em;
  line-height: 0.85;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 241, 236, 0.13);
  opacity: 0;
  transition: opacity 0.65s var(--aural-ease);
  user-select: none;
}

.aural-bd.on {
  opacity: 1;
}

/* Full-Viewport Smooth Cinema Vignette (Zero Box Edges, High Text Contrast Top & Bottom) */
.aural-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.56) 0%, rgba(8, 8, 10, 0.28) 32%, rgba(8, 8, 10, 0.14) 54%, rgba(8, 8, 10, 0.68) 100%);
}

.aural-grain {
  display: none;
  opacity: 0;
  pointer-events: none;
}

/* Dynamic SVG Callout Leader Lines & Pulsing Halos */
.aural-callouts {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

.aural-callouts line {
  stroke: rgba(227, 196, 168, 0.58);
  stroke-width: 1.15;
  stroke-dasharray: 3 3;
}

.aural-callouts circle.dot {
  fill: var(--aural-bronze-2);
}

.aural-callouts circle.halo {
  fill: none;
  stroke: rgba(227, 196, 168, 0.62);
  stroke-width: 1.1;
  transform-box: fill-box;
  transform-origin: center;
  animation: auralHaloPulse 2.4s infinite ease-out;
}

@keyframes auralHaloPulse {
  0% {
    transform: scale(0.75);
    opacity: 0.95;
  }
  100% {
    transform: scale(1.95);
    opacity: 0;
  }
}

/* Luxury Obsidian Surface + Gradient Edge (.gb) — Zero Backdrop Blur Lag Over Canvas */
.gb {
  position: relative;
  background: var(--aural-glass);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.gb::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--aural-edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.gb[data-spot]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(227, 196, 168, 0.16), transparent 65%);
  opacity: var(--spot, 0);
  transition: opacity 0.3s ease;
}

/* Top-Right Telemetry Pill — Aligned to Architectural Container Right Edge */
.aural-hud-top {
  position: absolute;
  top: 5.35rem;
  right: max(clamp(1.25rem, 3.8vw, 4.25rem), calc((100vw - 2320px) / 2 + clamp(1.25rem, 3.8vw, 4.25rem)));
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 241, 236, 0.92);
}

.aural-hud-top__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aural-bronze);
  box-shadow: 0 0 10px rgba(212, 175, 135, 0.85);
}

.aural-hud-top__sep {
  opacity: 0.32;
}

.aural-hud-top__frame {
  color: var(--aural-bronze-2);
  font-weight: 600;
}

/* Bottom Docked Aural-72 Film Reel Timeline HUD — Aligned to Architectural Container Bounds */
.aural-reel {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 6;
  width: min(calc(2320px - 2 * clamp(1.25rem, 3.8vw, 4.25rem)), calc(100vw - 2 * clamp(1.25rem, 3.8vw, 4.25rem)));
  padding: 0.52rem 0.68rem 0.52rem 0.75rem;
  border-radius: 999px;
  display: grid;
  grid-template-columns: auto minmax(140px, 195px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  background: var(--aural-glass-strong);
  box-sizing: border-box;
}

.reel-play {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 165, 135, 0.45);
  background: rgba(201, 165, 135, 0.16);
  color: #f6eadc;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.reel-play:hover {
  background: rgba(201, 165, 135, 0.3);
  transform: translateY(-1px);
}

.reel-play svg {
  width: 11px;
  height: 11px;
}

.reel-play .ic-pause {
  display: none;
}

.reel-play.playing .ic-play {
  display: none;
}

.reel-play.playing .ic-pause {
  display: inline-block;
}

.reel-head {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}

.reel-name {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reel-lens {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--aural-bronze-2);
  letter-spacing: 0.06em;
}

.reel-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
  min-width: 0;
}

.reel-track a {
  display: flex;
  flex-direction: column;
  gap: 0.26rem;
  padding: 0.25rem 0.4rem;
  border-radius: 6px;
  text-decoration: none;
  color: rgba(243, 241, 236, 0.62);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  min-width: 0;
  overflow: hidden;
  transition: color 0.25s ease, background 0.25s ease;
}

.reel-track a:hover,
.reel-track a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.reel-track a span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reel-track a span em {
  font-style: normal;
}

.reel-track a i {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  position: relative;
  overflow: hidden;
}

.reel-track a i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(var(--fill, 0));
  will-change: transform;
  background: linear-gradient(90deg, var(--aural-bronze), #f6eadc);
  border-radius: inherit;
}

.reel-tc {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(243, 241, 236, 0.78);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.reel-skip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--aural-bronze-2);
  text-decoration: none;
  padding: 0.36rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 165, 135, 0.35);
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}

.reel-skip:hover {
  background: rgba(201, 165, 135, 0.2);
  color: #fff;
}

/* Hero Overlay Container Over Looping 1080p Banner Video (Desktop & Mobile) */
.aural-chapters {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  z-index: 4;
  margin-top: 0;
  pointer-events: auto;
  overflow: visible;
  display: flex;
  align-items: flex-end;
}

.aural-chapter {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  pointer-events: auto;
  display: flex;
  align-items: flex-end;
}

.aural-frame {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  max-width: 2320px;
  margin: 0 auto;
  padding: clamp(6.75rem, 11vh, 8.75rem) clamp(1.25rem, 3.8vw, 4.25rem) clamp(3.25rem, 6.2vh, 4.75rem);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: clamp(1.25rem, 2vw, 2.25rem);
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.aural-frame.in {
  opacity: 1;
  transform: none;
}

.aural-frame.in a,
.aural-frame.in button,
.aural-frame.in .gb,
.aural-frame.in details {
  pointer-events: auto;
}

/* Kicker with Pulsing Dot & Scramble Support */
.aural-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFE4B8;
  margin-bottom: 0.85rem;
  padding: 0.36rem 0.85rem;
  border-radius: 999px;
  background: rgba(14, 13, 12, 0.86);
  border: 1px solid rgba(212, 175, 135, 0.45);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.aural-kicker .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aural-bronze);
  box-shadow: 0 0 10px var(--aural-bronze);
}

/* Line-by-Line Reveal & Luminous Champagne Gold Accent (No Overflow Clipping!) */
[data-lines] .ln {
  display: block;
  overflow: visible;
  padding-bottom: 0.04em;
}

[data-lines] .ln > span {
  display: inline-block;
  transform: translateY(22px);
  opacity: 0;
  transition: transform 0.65s var(--aural-ease), opacity 0.55s var(--aural-ease);
}

.aural-frame.in [data-lines] .ln:nth-child(1) > span {
  transform: none;
  opacity: 1;
  transition-delay: 0.03s;
}

.aural-frame.in [data-lines] .ln:nth-child(2) > span {
  transform: none;
  opacity: 1;
  transition-delay: 0.1s;
}

.aural-frame.in [data-lines] .ln:nth-child(3) > span {
  transform: none;
  opacity: 1;
  transition-delay: 0.17s;
}

em.shine {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #FFE4B8;
  -webkit-text-fill-color: #FFE4B8;
  padding-right: 0.06em;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.96), 0 6px 22px rgba(0, 0, 0, 0.88), 0 14px 36px rgba(0, 0, 0, 0.72);
}

/* Chapter 1 Hero Copy (Elevated Upper-Left) & Right Glass Card (Anchored Lower-Right) */
.aural-hero-copy {
  grid-column: 1 / span 8;
  grid-row: 1;
  align-self: start;
  margin-top: clamp(0.65rem, 2.5vh, 2.15rem);
  max-width: 840px;
  background: none;
}

.aural-hero-copy h1,
.aural-copy-left h2,
.aural-copy-right h2 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.45vw, 5.15rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.96), 0 6px 22px rgba(0, 0, 0, 0.88), 0 14px 38px rgba(0, 0, 0, 0.72);
}

.aural-lead,
.aural-copy-left p,
.aural-copy-right p {
  font-size: clamp(0.96rem, 1.12vw, 1.08rem);
  font-weight: 500;
  line-height: 1.64;
  color: #ffffff;
  max-width: 540px;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.98), 0 4px 16px rgba(0, 0, 0, 0.92), 0 10px 28px rgba(0, 0, 0, 0.78);
}

.aural-card {
  grid-column: 8 / span 5;
  grid-row: 2;
  align-self: end;
  padding: 1.35rem 1.5rem;
}

.aural-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aural-bronze-2);
  margin-bottom: 0.85rem;
}

.aural-card__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aural-bronze);
  box-shadow: 0 0 10px var(--aural-bronze);
}

.aural-card__drums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 0.85rem;
}

.aural-mini-drum .num {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}

.aural-mini-drum .unit {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--aural-bronze-2);
}

.aural-mini-drum .lbl {
  display: block;
  font-size: 0.7rem;
  color: rgba(243, 241, 236, 0.72);
  margin-top: 0.2rem;
}

.aural-card__text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(243, 241, 236, 0.82);
  margin-bottom: 0.95rem;
}

.aural-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Chapter Copy Left & Copy Right Blocks — Zero Background Boxes Behind Text */
.aural-copy-left {
  grid-column: 1 / span 6;
  grid-row: 1;
  align-self: end;
  background: none;
}

.aural-copy-right {
  grid-column: 7 / span 6;
  grid-row: 1 / span 2;
  align-self: end;
  background: none;
}

.aural-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

/* Chapter 2 Drum Counter Stat Row */
.aural-stat-row {
  grid-column: 1 / span 7;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.aural-stat {
  padding: 1rem 1.15rem;
}

.aural-stat .num {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.8vw, 2.65rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.aural-stat .unit {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--aural-bronze-2);
}

.aural-stat .lbl {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.76rem;
  color: rgba(243, 241, 236, 0.78);
}

/* Odometer Rolling Drum Digit Strips */
.drum {
  display: inline-flex;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
}

.drum-d {
  display: inline-block;
  height: 1.14em;
  overflow: hidden;
  line-height: 1.14;
  vertical-align: bottom;
}

.drum-strip {
  display: flex;
  flex-direction: column;
  transform: translateY(0%);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.drum-strip span {
  height: 1.14em;
  line-height: 1.14;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Chapter 3 Facts Grid & Layer Labels */
.aural-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.aural-facts > div {
  padding: 0.85rem 1rem;
}

.aural-facts .k {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--aural-bronze-2);
  margin-bottom: 0.2rem;
}

.aural-facts .v {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
}

/* Floating SVG Callout Pills & Ordered Layer Pills */
.aural-callout-labels,
.aural-layer-labels {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.aural-callout-labels li {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.78rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #f3f1ec;
  white-space: nowrap;
}

.aural-callout-labels li .tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--aural-bronze-2);
  padding: 0.1rem 0.38rem;
  border-radius: 999px;
  background: rgba(201, 165, 135, 0.18);
}

.aural-layer-labels li {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  font-size: 0.76rem;
  color: #ffffff;
  white-space: nowrap;
}

.aural-layer-labels li b {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--aural-bronze-2);
}

.aural-layer-labels li em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(243, 241, 236, 0.64);
  padding-left: 0.45rem;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

/* Chapter 4: 4-Row Interactive Scroll Progress Panel (ol.aural-moves) */
.aural-moves {
  grid-column: 7 / span 6;
  grid-row: 1 / span 2;
  align-self: end;
  list-style: none;
  margin: 0;
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.aural-moves li {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.aural-moves li.on {
  background: rgba(201, 165, 135, 0.12);
  border-color: rgba(201, 165, 135, 0.42);
}

.mv-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 0.65rem;
}

.mv-n {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--aural-bronze-2);
}

.mv-name {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
}

.mv-val {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

.mv-val .unit {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--aural-bronze-2);
  margin-left: 0.2rem;
}

.mv-note {
  font-size: 0.78rem;
  line-height: 1.48;
  color: rgba(243, 241, 236, 0.78);
  margin: 0.35rem 0 0.45rem;
}

.mv-bar {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.mv-bar i {
  display: block;
  height: 100%;
  width: calc(var(--m, 0.25) * 100%);
  background: linear-gradient(90deg, var(--aural-bronze), #f6eadc);
  border-radius: inherit;
  transition: width 0.2s linear;
}

/* Chapter 5: Clinical Specification & Licensing Ledger (div.aural-specs) */
.aural-specs {
  grid-column: 8 / span 5;
  grid-row: 1 / span 2;
  align-self: end;
  padding: 1.35rem 1.5rem;
}

.specs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
}

.specs-head .sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--aural-bronze-2);
}

.aural-spec-table {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.aural-spec-table > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

.aural-spec-table > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.aural-spec-table dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(243, 241, 236, 0.68);
}

.aural-spec-table dd {
  margin: 0;
  font-weight: 600;
  color: #ffffff;
  text-align: right;
}

.aural-spec-table dd a {
  color: var(--aural-bronze-2);
  text-decoration: none;
}

/* ==========================================================================
   21. MID-PAGE CLINICAL GOVERNANCE, MEDICAL REVIEW & E-E-A-T SECTION
   ========================================================================== */
.eeat-review-banner {
  background: linear-gradient(145deg, #181512 0%, #231E1A 100%);
  color: #F6F2EC;
  border: 1px solid rgba(212, 175, 135, 0.42);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 2.8vw, 2.15rem);
  box-shadow: 0 20px 48px rgba(12, 10, 8, 0.22);
}

.eeat-review-banner__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.eeat-review-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(212, 175, 135, 0.16);
  border: 1px solid rgba(212, 175, 135, 0.45);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F3D8B6;
}

.eeat-review-banner__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D4AF87;
  box-shadow: 0 0 10px rgba(212, 175, 135, 0.85);
}

.eeat-review-banner__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(244, 240, 234, 0.8);
}

.eeat-review-banner__meta strong {
  color: #ffffff;
}

.eeat-review-banner__intro {
  font-size: clamp(0.95rem, 1.15vw, 1.06rem);
  line-height: 1.62;
  color: rgba(246, 242, 236, 0.9);
  margin: 0 0 1.25rem;
  max-width: 880px;
}

.eeat-reviewers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.eeat-reviewer-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.eeat-reviewer-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #C9A587;
  flex-shrink: 0;
}

.eeat-reviewer-card__kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #E3C4A8;
  margin-bottom: 0.15rem;
}

.eeat-reviewer-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.15rem;
  line-height: 1.15;
}

.eeat-reviewer-card__role {
  font-size: 0.76rem;
  color: rgba(244, 240, 234, 0.78);
  margin: 0;
  line-height: 1.35;
}

.eeat-verification-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.eeat-ver-item {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  min-width: 0;
}

.eeat-ver-item .fr-vbadge-card {
  max-width: 100% !important;
}

.eeat-ver-item__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(244, 240, 234, 0.64);
  margin-bottom: 0.2rem;
}

.eeat-ver-item__val {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
}

.eeat-ver-item__val a {
  color: #E3C4A8;
  text-decoration: underline;
}

/* ==========================================================================
   22. WIDESCREEN, SHORT-VIEWPORT & MOBILE RESPONSIVE ARCHITECTURE
   ========================================================================== */

/* Large Computer Monitor & Full-Screen Widescreen Scaling (1620px - 2560px+) */
@media (min-width: 1620px) {
  .container {
    width: min(1780px, calc(100% - 6rem));
  }

  .container--narrow {
    width: min(1060px, calc(100% - 6rem));
  }

  .nixtio-glass-pill {
    padding: 0.52rem 1.35rem;
    gap: 0.45rem;
  }

  .nixtio-brand img {
    height: 28px;
  }

  .nixtio-header .nav-link {
    font-size: 0.92rem;
    padding: 0.48rem 0.92rem;
  }

  .nixtio-cta-link {
    font-size: 0.92rem;
  }

  .nixtio-phone-pill {
    font-size: 0.9rem;
    padding: 0.52rem 1.15rem;
  }

  .aural-hud-top {
    top: 5.85rem;
    padding: 0.5rem 1.15rem;
    font-size: 0.76rem;
  }

  .aural-frame {
    padding: clamp(6.75rem, 9.5vh, 8.75rem) clamp(2rem, 4.2vw, 4.75rem) clamp(7.25rem, 12.5vh, 10.5rem);
    gap: 2rem;
  }

  .aural-hero-copy {
    max-width: 920px;
  }

  .aural-kicker {
    font-size: 0.8rem;
    padding: 0.44rem 1rem;
    margin-bottom: 1.05rem;
  }

  .aural-hero-copy h1,
  .aural-copy-left h2,
  .aural-copy-right h2 {
    font-size: clamp(3.3rem, 4.4vw, 5.15rem);
    margin-bottom: 1.15rem;
  }

  .aural-lead,
  .aural-copy-left p,
  .aural-copy-right p {
    font-size: clamp(1.08rem, 1.2vw, 1.32rem);
    line-height: 1.66;
    max-width: 680px;
  }

  .aural-cta-row {
    margin-top: 1.45rem;
    gap: 0.95rem;
  }

  .aural-cta-row .btn,
  .aural-card__actions .btn {
    padding: 0.88rem 1.6rem;
    font-size: 0.94rem;
  }

  .aural-card {
    padding: 1.75rem 1.95rem;
  }

  .aural-card__eyebrow {
    font-size: 0.74rem;
    margin-bottom: 1rem;
  }

  .aural-card__drums {
    padding: 0.95rem 0;
    margin-bottom: 1rem;
    gap: 1rem;
  }

  .aural-mini-drum .num {
    font-size: 2.25rem;
  }

  .aural-mini-drum .unit {
    font-size: 0.8rem;
  }

  .aural-mini-drum .lbl {
    font-size: 0.8rem;
  }

  .aural-card__text {
    font-size: 0.94rem;
    line-height: 1.56;
    margin-bottom: 1.15rem;
  }

  .aural-stat-row {
    gap: 1.15rem;
  }

  .aural-stat {
    padding: 1.3rem 1.5rem;
  }

  .aural-stat .num {
    font-size: clamp(2.35rem, 2.9vw, 3.1rem);
  }

  .aural-stat .lbl {
    font-size: 0.86rem;
  }

  .aural-facts {
    gap: 0.95rem;
    margin-top: 1.35rem;
  }

  .aural-facts > div {
    padding: 1.1rem 1.3rem;
  }

  .aural-facts .k {
    font-size: 0.74rem;
  }

  .aural-facts .v {
    font-size: 1.48rem;
  }

  .aural-moves {
    padding: 1.5rem 1.75rem;
    gap: 0.88rem;
  }

  .aural-moves li {
    padding: 0.85rem 1rem;
    border-radius: 12px;
  }

  .mv-n {
    font-size: 0.78rem;
  }

  .mv-name {
    font-size: 1.04rem;
  }

  .mv-val {
    font-size: 1.65rem;
  }

  .mv-val .unit {
    font-size: 0.76rem;
  }

  .mv-note {
    font-size: 0.9rem;
    line-height: 1.54;
    margin: 0.42rem 0 0.55rem;
  }

  .mv-bar {
    height: 4px;
  }

  .aural-specs {
    padding: 1.75rem 1.95rem;
  }

  .specs-head {
    font-size: 1.6rem;
    padding-bottom: 0.95rem;
    margin-bottom: 0.95rem;
  }

  .specs-head .sub {
    font-size: 0.76rem;
  }

  .aural-spec-table {
    gap: 0.72rem;
  }

  .aural-spec-table > div {
    padding-bottom: 0.65rem;
    font-size: 0.94rem;
  }

  .aural-spec-table dt {
    font-size: 0.76rem;
  }

  .aural-reel {
    bottom: 1.45rem;
    padding: 0.65rem 0.85rem 0.65rem 0.95rem;
    grid-template-columns: auto minmax(165px, 225px) minmax(0, 1fr) auto;
    gap: 1rem;
  }

  .reel-play {
    padding: 0.5rem 0.98rem;
    font-size: 0.76rem;
  }

  .reel-name {
    font-size: 0.88rem;
  }

  .reel-lens {
    font-size: 0.72rem;
  }

  .reel-track a {
    font-size: 0.74rem;
    padding: 0.32rem 0.5rem;
  }

  .reel-skip {
    font-size: 0.76rem;
    padding: 0.45rem 0.88rem;
  }
}

@media (min-width: 2050px) {
  .container {
    width: min(2040px, calc(100% - 8rem));
  }

  .aural-frame {
    padding: clamp(7.5rem, 10vh, 9.5rem) clamp(2.5rem, 4.5vw, 5.25rem) clamp(8.25rem, 13.5vh, 11.75rem);
    gap: 2.5rem;
  }

  .aural-hero-copy {
    max-width: 1040px;
  }

  .aural-hero-copy h1,
  .aural-copy-left h2,
  .aural-copy-right h2 {
    font-size: clamp(3.85rem, 4.5vw, 5.65rem);
  }

  .aural-lead,
  .aural-copy-left p,
  .aural-copy-right p {
    font-size: clamp(1.18rem, 1.25vw, 1.42rem);
    max-width: 760px;
  }

  .aural-moves {
    padding: 1.75rem 2.1rem;
    gap: 1rem;
  }

  .aural-moves li {
    padding: 1rem 1.2rem;
  }

  .mv-name {
    font-size: 1.14rem;
  }

  .mv-val {
    font-size: 1.85rem;
  }

  .mv-note {
    font-size: 0.96rem;
  }

  .aural-card,
  .aural-specs {
    padding: 2rem 2.25rem;
  }
}

@media (max-height: 830px) and (min-width: 1101px) {
  .aural-frame {
    padding: 5.75rem clamp(1.25rem, 3.5vw, 3.25rem) 3rem;
    gap: 1rem;
  }

  .aural-hero-copy {
    margin-top: 0.35rem;
  }

  .aural-hero-copy h1,
  .aural-copy-left h2,
  .aural-copy-right h2 {
    font-size: clamp(2.75rem, 4.5vw, 4.1rem);
    margin-bottom: 0;
  }

  .aural-lead,
  .aural-copy-left p,
  .aural-copy-right p {
    font-size: 0.94rem;
    line-height: 1.54;
  }

  .aural-moves {
    padding: 0.9rem 1.15rem;
    gap: 0.5rem;
  }

  .aural-moves li {
    padding: 0.5rem 0.65rem;
  }

  .mv-note {
    font-size: 0.74rem;
    margin: 0.2rem 0 0.3rem;
  }

  .aural-specs,
  .aural-card {
    padding: 1.05rem 1.25rem;
  }
}

@media (max-width: 1100px) {
  .aural-callout-labels,
  .aural-layer-labels,
  .aural-callouts,
  .aural-backdrop {
    display: none !important;
  }

  .aural-frame {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding: 6.25rem 1.35rem 3.25rem;
    gap: 0.85rem;
  }

  .aural-hero-copy {
    margin-top: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
  }

  .aural-hero-copy h1 {
    font-size: clamp(2.5rem, 5.8vw, 3.35rem);
    margin-bottom: 0;
  }

  .aural-hero-copy,
  .aural-copy-left,
  .aural-copy-right,
  .aural-card,
  .aural-moves,
  .aural-specs,
  .aural-stat-row {
    width: 100%;
    max-width: 100%;
    align-self: stretch;
  }

  .aural-reel {
    grid-template-columns: auto 1fr auto;
  }

  .reel-head,
  .reel-tc {
    display: none;
  }

  .eeat-reviewers-grid {
    grid-template-columns: 1fr;
  }

  .eeat-verification-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  body {
    background-image: none;
  }

  .aural-hud-top,
  .aural-reel,
  #stage-grounds,
  #stage-culinary,
  #stage-sanctuary,
  #stage-clinical {
    display: none !important;
  }

  /* Looping 1080p video hero banner on mobile with elevated upper headline & lower credentials card */
  .aural-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .aural-chapters {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    margin-top: 0;
    overflow: visible;
    pointer-events: auto;
    display: flex;
    align-items: stretch;
  }

  #stage-arrival {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    pointer-events: auto;
    display: flex;
    align-items: stretch;
  }

  .aural-vignette {
    background:
      linear-gradient(180deg, rgba(8, 8, 10, 0.38) 0%, rgba(8, 8, 10, 0.06) 22%, rgba(8, 8, 10, 0.08) 45%, rgba(8, 8, 10, 0.56) 66%, rgba(8, 8, 10, 0.78) 100%);
  }

  #stage-arrival .aural-frame {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    padding: 5.65rem 0.95rem 4.85rem;
    gap: 0.72rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
  }

  [data-lines] .ln > span {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  /* Hardware-fast border & shadow on mobile */
  .gb {
    background: rgba(14, 13, 12, 0.92);
    border: 1px solid rgba(212, 175, 135, 0.34);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.48);
    transition: none;
  }

  .gb::before,
  .gb[data-spot]::after {
    display: none !important;
  }

  .aural-kicker {
    font-size: 0.56rem;
    padding: 0.24rem 0.66rem;
    margin-bottom: 0.48rem;
    letter-spacing: 0.09em;
    box-shadow: none;
  }

  .aural-hero-copy {
    margin-top: 0;
  }

  .aural-hero-copy h1 {
    font-size: clamp(2.15rem, 8.2vw, 2.58rem);
    line-height: 1.03;
    margin-bottom: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.94);
  }

  em.shine {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.94);
  }

  .aural-lead {
    font-size: 0.78rem;
    line-height: 1.42;
    display: block;
    overflow: visible;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95);
    margin: 0;
  }

  /* Full Credentials & Admissions Card on Mobile Looping Video Banner */
  .aural-card {
    padding: 0.78rem 0.88rem;
    border-radius: 14px;
  }

  .aural-card__eyebrow {
    font-size: 0.56rem;
    margin-bottom: 0.38rem;
  }

  .aural-card__drums {
    padding: 0.42rem 0 0.52rem;
    margin-bottom: 0.52rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    gap: 0.42rem;
  }

  .aural-mini-drum .num {
    font-size: 1.18rem;
  }

  .aural-mini-drum .unit {
    font-size: 0.6rem;
  }

  .aural-mini-drum .lbl {
    font-size: 0.56rem;
    margin-top: 0.12rem;
  }

  .aural-card__text {
    display: block !important;
    font-size: 0.72rem;
    line-height: 1.42;
    color: rgba(243, 241, 236, 0.78);
    margin-bottom: 0.62rem;
  }

  .aural-card__actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.48rem;
  }

  .aural-card__actions .btn {
    padding: 0.52rem 0.62rem;
    font-size: 0.72rem;
    justify-content: center;
    white-space: nowrap;
  }

  .eeat-verification-strip {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 5.5rem 0 2.15rem;
  }
}

/* ==========================================================================
   23. ADA TITLE III, CALIFORNIA UNRUH ACT & WCAG 2.1 AA ACCESSIBILITY SYSTEM
   ========================================================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #FFE4B8 !important;
  outline-offset: 3px !important;
}

.a11y-widget {
  position: fixed;
  bottom: 5.1rem;
  left: 0.85rem;
  z-index: 9500;
  font-family: var(--font-sans);
}

@media (min-width: 1620px) {
  .a11y-widget {
    bottom: 5.25rem;
    left: max(clamp(2rem, 4.2vw, 4.75rem), calc((100vw - 2320px) / 2 + clamp(2rem, 4.2vw, 4.75rem)));
  }
}

@media (max-width: 1820px) and (min-width: 721px) {
  .a11y-trigger {
    padding: 0.52rem;
  }
  .a11y-trigger__label {
    display: none;
  }
}

@media (max-width: 720px) {
  .a11y-widget {
    top: 4.35rem;
    right: 0.85rem;
    bottom: auto;
    left: auto;
  }
}

.a11y-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.88rem;
  border-radius: 999px;
  background: rgba(14, 13, 12, 0.94);
  border: 1px solid rgba(212, 175, 135, 0.55);
  color: #FFE4B8;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.a11y-trigger:hover {
  background: #1D1A17;
  border-color: #FFE4B8;
  transform: translateY(-1px);
}

.a11y-trigger svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .a11y-trigger {
    padding: 0.48rem;
  }
  .a11y-trigger__label {
    display: none;
  }
}

.a11y-panel {
  position: fixed;
  bottom: 4.25rem;
  left: 1.15rem;
  width: min(370px, calc(100vw - 1.5rem));
  max-height: calc(100dvh - 6rem);
  overflow-y: auto;
  background: #141210;
  border: 1px solid rgba(212, 175, 135, 0.55);
  border-radius: 18px;
  padding: 1.15rem;
  color: #F6F3EE;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.78);
  display: none;
  z-index: 9501;
}

@media (max-width: 720px) {
  .a11y-panel {
    bottom: 7.4rem;
    left: 0.75rem;
  }
}

.a11y-panel.is-open {
  display: block;
}

.a11y-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.a11y-panel__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFE4B8;
  margin: 0;
}

.a11y-panel__close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.a11y-panel__desc {
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(246, 243, 238, 0.8);
  margin-bottom: 0.85rem;
}

.a11y-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.a11y-opt-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.22rem;
  padding: 0.62rem 0.7rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #F6F3EE;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.a11y-opt-btn:hover {
  background: rgba(212, 175, 135, 0.12);
}

.a11y-opt-btn[aria-pressed="true"] {
  background: rgba(212, 175, 135, 0.22);
  border-color: #FFE4B8;
  color: #FFE4B8;
}

.a11y-opt-btn__state {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(246, 243, 238, 0.62);
}

.a11y-opt-btn[aria-pressed="true"] .a11y-opt-btn__state {
  color: #FFE4B8;
}

.a11y-panel__footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.74rem;
}

.a11y-reset-btn {
  width: 100%;
  padding: 0.48rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
}

.a11y-panel__links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.a11y-panel__links a {
  color: #FFE4B8;
  text-decoration: underline;
  font-weight: 600;
}

/* Assistive Mode Overrides (WCAG 2.1 AA / AAA) */
html.a11y-large-text {
  font-size: 18.5px !important;
}

html.a11y-high-contrast body,
html.a11y-high-contrast .section,
html.a11y-high-contrast .clinical-article,
html.a11y-high-contrast .concierge-card,
html.a11y-high-contrast .program-card,
html.a11y-high-contrast .review-card,
html.a11y-high-contrast .faq-item,
html.a11y-high-contrast .gb {
  background: #000000 !important;
  color: #FFFFFF !important;
  border-color: #FFE4B8 !important;
}

html.a11y-high-contrast p,
html.a11y-high-contrast li,
html.a11y-high-contrast dd,
html.a11y-high-contrast dt,
html.a11y-high-contrast span {
  color: #FFFFFF !important;
}

html.a11y-readable-font body,
html.a11y-readable-font h1,
html.a11y-readable-font h2,
html.a11y-readable-font h3,
html.a11y-readable-font em.shine,
html.a11y-readable-font .display-title,
html.a11y-readable-font .section-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-style: normal !important;
  letter-spacing: 0.03em !important;
  word-spacing: 0.08em !important;
  line-height: 1.5 !important;
}

html.a11y-highlight-links a,
html.a11y-highlight-links button {
  text-decoration: underline !important;
  outline: 2px solid #FFE4B8 !important;
  outline-offset: 2px !important;
}

html.a11y-pause-motion *,
html.a11y-pause-motion *::before,
html.a11y-pause-motion *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

html.a11y-focus-ring *:focus,
html.a11y-focus-ring *:focus-visible {
  outline: 4px solid #FFE4B8 !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.9) !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
