/* =========================================================
   Paradigm Psychiatry — Attention-as-a-Service & Brain Fitness
   Dark · Apple-esque · Minimal
   ========================================================= */

:root {
  --bg: #000000;
  --bg-elevated: #0a0a0c;
  --bg-card: rgba(22, 22, 26, 0.72);
  --bg-card-solid: #121216;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --text-secondary: #c7c7cc;
  --text-tertiary: #8e8e93;
  --text-label: #d1d1d6;

  /* Brand accents from logos */
  --aaas: #eef3fc;
  --aaas-soft: #bcd2f4;
  --aaas-glow: rgba(188, 210, 244, 0.18);
  --fitness: #6f9fe8;
  --fitness-soft: #9bbef0;
  --fitness-glow: rgba(111, 159, 232, 0.22);
  --fitness-navy: #0d1f3a;
  --accent: #7eb6ff;
  --accent-soft: #a8d0ff;

  --radius: 20px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --radius-pill: 999px;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", "New York", Georgia, serif;
  --header-h: 84px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1120px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.011em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--accent-soft);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: #fff;
}

strong {
  font-weight: 600;
  color: #fff;
}

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

/* Bold italic emphasis
   Instrument Serif only has regular italic — light synthetic weight.
   Color matches hero "HOW" (aaas-soft). */
em.em-strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--aaas-soft);
  text-shadow:
    0.018em 0 0 currentColor,
    -0.018em 0 0 currentColor;
}

/* Brand names — bold only, no italic */
.brand-strong {
  font-family: var(--font);
  font-style: normal;
  font-weight: 700;
  color: var(--aaas-soft);
  letter-spacing: -0.01em;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

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

/* ---------- Ambient backdrop ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}

.bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  will-change: transform, opacity;
}

.ambient-glow-a {
  width: 55vw;
  height: 55vw;
  top: -15%;
  left: -10%;
  background: radial-gradient(circle, rgba(111, 159, 232, 0.28), transparent 65%);
  animation: drift-a 22s ease-in-out infinite alternate;
}

.ambient-glow-b {
  width: 45vw;
  height: 45vw;
  bottom: 5%;
  right: -12%;
  background: radial-gradient(circle, rgba(188, 210, 244, 0.16), transparent 65%);
  animation: drift-b 28s ease-in-out infinite alternate;
}

.ambient-glow-c {
  width: 35vw;
  height: 35vw;
  top: 40%;
  left: 40%;
  background: radial-gradient(circle, rgba(139, 124, 255, 0.12), transparent 65%);
  animation: drift-c 18s ease-in-out infinite alternate;
}

@keyframes drift-a {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.4; }
  50%  { transform: translate(8%, 12%) scale(1.12); opacity: 0.55; }
  100% { transform: translate(4%, -6%) scale(0.95); opacity: 0.38; }
}

@keyframes drift-b {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.35; }
  50%  { transform: translate(-10%, -8%) scale(1.15); opacity: 0.5; }
  100% { transform: translate(-4%, 6%) scale(1.05); opacity: 0.32; }
}

@keyframes drift-c {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.25; }
  100% { transform: translate(-12%, 10%) scale(1.2); opacity: 0.42; }
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
  animation: grid-shift 40s linear infinite;
}

@keyframes grid-shift {
  0%   { background-position: 0 0; opacity: 0.7; }
  50%  { opacity: 1; }
  100% { background-position: 72px 72px; opacity: 0.7; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(0, 0, 0, 0.78);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  width: min(1280px, calc(100% - 2.5rem));
}

.header-logos {
  display: flex;
  align-items: center;
  gap: 1rem 1.35rem;
  flex: 1 1 auto;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.header-pathway-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  opacity: 0.92;
  transition: opacity 0.2s var(--ease);
}

.header-pathway-link:hover {
  opacity: 1;
}

.header-pathway-logo {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.header-pathway-aaas,
.header-pathway-fitness {
  height: 48px;
}

@media (max-width: 1200px) {
  .header-pathway-aaas,
  .header-pathway-fitness {
    height: 40px;
  }

  .header-logos {
    gap: 0.75rem 1rem;
  }
}

@media (max-width: 900px) {
  /* Pathway marks still in footer; hide in header when space is tight */
  .header-pathway-link {
    display: none;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
}

.nav a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  color: #000 !important;
  background: var(--text) !important;
  margin-left: 0.35rem;
  padding: 0.55rem 1.1rem !important;
}

.nav-cta:hover {
  background: #fff !important;
  opacity: 0.92;
}

.header-phone {
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--text-label);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), opacity 0.2s, background 0.2s, border-color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--text);
  color: #000;
}

.btn-primary:hover {
  background: #fff;
  color: #000;
  opacity: 0.95;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn-block {
  width: 100%;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-label);
  margin: 0 0 1rem;
}

.eyebrow-hero {
  flex-wrap: nowrap;
  max-width: 100%;
  line-height: 1.35;
  margin-bottom: 1.25rem;
  font-size: clamp(0.62rem, 1.35vw, 0.85rem);
  letter-spacing: 0.045em;
  gap: 0.45rem;
}

.eyebrow-hero-text {
  white-space: nowrap;
  min-width: 0;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fitness);
  box-shadow: 0 0 0 0 var(--fitness-glow);
  animation: pulse 2.4s ease infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(111, 159, 232, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(111, 159, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 159, 232, 0); }
}

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1rem;
  color: var(--text);
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.lead,
.section-lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 38em;
}

.section-lead {
  margin: 0 auto 0;
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-head .section-lead {
  margin-top: 1rem;
}

.section {
  padding: 7rem 0;
  position: relative;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }

/* ---------- Hero ---------- */
.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0 2.5rem;
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-wrong {
  color: var(--text-secondary);
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.hero-reframe {
  font-size: clamp(2.35rem, 6.5vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0.75rem 0 1.75rem;
  color: var(--text);
}

.hero-reframe em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--aaas-soft);
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-lead .lead {
  margin: 0;
  max-width: 38em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Video frame */
.hero-media {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.video-heading {
  display: block;
  width: 100%;
  margin: 0 0 0.15rem;
  text-align: center !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--text-label) !important;
  line-height: 1.35;
}

.video-caption {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-secondary);
  text-align: center;
  max-width: 36em;
  margin-inline: auto;
}

.video-caption-tags {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-label);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(160deg, #12141a 0%, #0a0c10 100%);
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    var(--shadow);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.video-frame.has-video video {
  display: block;
}

/* Transparent-background demos: fit whole frame on dark stage */
.video-frame.has-transparent-video {
  background:
    radial-gradient(ellipse at 50% 45%, rgba(111, 159, 232, 0.14), transparent 60%),
    linear-gradient(160deg, #0c0e14 0%, #050508 100%);
}

.video-frame.has-transparent-video video {
  object-fit: contain;
  object-position: center;
  background: transparent;
  opacity: 0.77;
}

.video-frame.has-video .video-placeholder {
  display: none;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(111, 159, 232, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.play-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), background 0.3s;
}

.video-frame:hover .play-ring {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.12);
}

.video-label {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.video-hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ---------- Framing ---------- */
.framing {
  padding-top: 3rem;
}

.solution-eyebrow {
  display: block;
  text-align: center;
  margin: 0 0 1rem;
}

.solution-head {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.solution-head h2 {
  text-align: center;
}

/* Full site width — matches pathways container (var(--max) = 1120px) */
.framing-story {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1.25rem 1.5rem;
  align-items: stretch;
  width: 100%;
  margin: 0 0 3rem;
}

.story-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2.25rem 2rem;
  backdrop-filter: blur(12px);
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.story-num {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--fitness-soft);
  margin-bottom: 1rem;
}

.story-card h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  letter-spacing: -0.02em;
}

.story-card p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.story-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 1.5rem;
  opacity: 0.55;
  padding: 0 0.15rem;
}

.framing-close {
  text-align: center;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 42em;
  margin: 0.5rem auto 0;
  line-height: 1.65;
}

@media (min-width: 961px) {
  .framing-story {
    /* Three equal cards spanning the same total width as the dual pathway row */
    gap: 1.5rem 1.75rem;
  }

  .story-card {
    min-height: 240px;
    padding: 2.5rem 2.15rem;
  }
}

/* ---------- Pathways ---------- */
.pathways {
  background: linear-gradient(180deg, transparent, rgba(13, 31, 58, 0.25) 40%, transparent);
}

.pathway-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.pathway {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2.25rem 2rem 2rem;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.pathway:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.pathway-aaas {
  box-shadow: 0 0 60px -20px var(--aaas-glow);
}

.pathway-fitness {
  box-shadow: 0 0 60px -20px var(--fitness-glow);
}

/* Shared vertical rhythm so both cards (and their icons) align */
.pathway-header {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  margin-bottom: 1.75rem;
}

.pathway-logo-wrap {
  height: 148px;
  margin-bottom: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.pathway-logo,
.pathway-logo-aaas,
.pathway-logo-fitness {
  display: block;
  height: 128px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.pathway-kicker {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fitness-soft);
  margin: 0 0 0.85rem;
  min-height: 1.4em;
  line-height: 1.4;
}

.pathway-aaas .pathway-kicker {
  color: #d4e4fc;
}

.pathway-intro {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
  /* ~4 sentences / lines — keeps benefit lists (and icons) aligned across cards */
  min-height: 6.8em;
}

.benefit-list {
  --benefit-icon-col: 60px;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  /* Four equal rows → icon columns line up left-to-right across both cards */
  grid-template-rows: repeat(4, minmax(4.75em, auto));
  gap: 1.1rem;
  flex: 1;
  align-content: start;
}

.benefit-list li {
  display: grid;
  grid-template-columns: var(--benefit-icon-col) minmax(0, 1fr);
  column-gap: 1rem;
  align-items: start;
  min-height: 0;
}

.benefit-icon {
  position: relative;
  width: var(--benefit-icon-col);
  height: var(--benefit-icon-col);
  border-radius: 14px;
  display: block;
  background: linear-gradient(145deg, rgba(111, 159, 232, 0.18), rgba(111, 159, 232, 0.05));
  border: 1px solid rgba(111, 159, 232, 0.35);
  box-shadow: 0 0 24px rgba(111, 159, 232, 0.12);
  color: var(--fitness-soft);
  box-sizing: border-box;
  flex-shrink: 0;
  overflow: visible;
}

/* Force true center of glyph inside the square */
.benefit-icon svg,
.benefit-icon .benefit-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  transform: translate(-50%, -50%);
  display: block;
  overflow: visible;
}

.pathway-aaas .benefit-icon {
  color: var(--aaas-soft);
  background: linear-gradient(145deg, rgba(188, 210, 244, 0.2), rgba(188, 210, 244, 0.05));
  border-color: rgba(188, 210, 244, 0.4);
  box-shadow: 0 0 24px rgba(188, 210, 244, 0.12);
}

.pathway-fitness .benefit-icon {
  color: var(--fitness-soft);
  background: linear-gradient(145deg, rgba(111, 159, 232, 0.22), rgba(13, 31, 58, 0.45));
  border-color: rgba(111, 159, 232, 0.4);
  box-shadow: 0 0 24px rgba(111, 159, 232, 0.14);
}

.benefit-list strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.benefit-list span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.pathway-cta {
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--text);
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.pathway-cta:hover {
  color: var(--accent-soft);
}

@media (max-width: 960px) {
  .pathway-logo-wrap {
    height: 120px;
  }

  .pathway-logo,
  .pathway-logo-aaas,
  .pathway-logo-fitness {
    height: 100px;
  }

  .pathway-intro {
    min-height: 0;
  }

  .benefit-list {
    grid-template-rows: none;
  }
}

/* ---------- Traditional insurance ---------- */
.traditional-panel {
  background: linear-gradient(135deg, rgba(18, 22, 32, 0.95), rgba(13, 31, 58, 0.55));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.traditional-panel .section-lead {
  margin: 0 auto 2rem;
}

.traditional-copy h2 {
  max-width: 16em;
  margin-left: auto;
  margin-right: auto;
}

.indication-pills {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.indication-pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  font-size: 0.95rem;
  font-weight: 500;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fitness);
  box-shadow: 0 0 8px var(--fitness-glow);
}

.traditional-note {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  margin: 0 0 1.75rem;
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding-bottom: 5rem;
}

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

.testimonial-slot {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  transition: border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.testimonial-slot:hover {
  border-color: var(--border-strong);
}

.testimonial-media {
  aspect-ratio: 4 / 3;
  background: #0c0c10;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.testimonial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.testimonial-slot blockquote {
  margin: 0;
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.testimonial-slot blockquote p {
  margin: 0 0 1rem;
  font-family: var(--font);
  font-style: normal;
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.testimonial-slot footer {
  font-style: normal;
  font-family: var(--font);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: auto;
}

.testimonial-attr {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--aaas-soft);
  letter-spacing: 0.01em;
}

.testimonial-context {
  display: block;
  font-size: 0.78rem;
  color: var(--text-tertiary);
  line-height: 1.4;
}

/* ---------- Intake ---------- */
.intake {
  padding-top: 5rem;
  padding-bottom: 7rem;
}

.intake-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.intake-copy .section-lead {
  margin: 0 0 2.5rem;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.contact-line {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.25s, background 0.25s;
}

.contact-line:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
}

.contact-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-label);
}

.contact-value {
  font-size: 1.05rem;
  font-weight: 550;
  color: var(--text);
  letter-spacing: -0.01em;
}

.clinic-address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-tertiary);
}

.intake-form {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2rem 1.85rem 1.85rem;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.intake-form button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.form-title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.intake-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--text-label);
}

.intake-form input,
.intake-form textarea {
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}

.intake-form input::placeholder,
.intake-form textarea::placeholder {
  color: var(--text-tertiary);
}

.intake-form input:focus,
.intake-form textarea:focus {
  border-color: rgba(111, 159, 232, 0.55);
  box-shadow: 0 0 0 3px rgba(111, 159, 232, 0.15);
}

.interest-field {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.interest-field legend {
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--text-label);
  margin-bottom: 0.5rem;
  padding: 0;
}

.interest-field .req-note {
  font-weight: 400;
  color: var(--text-tertiary);
  font-size: 0.85em;
}

.check {
  flex-direction: row !important;
  align-items: center;
  gap: 0.65rem !important;
  font-size: 0.92rem !important;
  color: var(--text) !important;
  font-weight: 400 !important;
  cursor: pointer;
}

.check input {
  width: 16px;
  height: 16px;
  accent-color: var(--fitness);
  cursor: pointer;
}

.form-status {
  min-height: 1.25em;
  margin: 0;
  font-size: 0.9rem;
  color: var(--fitness-soft);
}

.form-status.error {
  color: #ff7b7b;
}

/* Netlify Forms honeypot — hidden from people, visible to bots */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-fine {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  text-align: center;
  line-height: 1.5;
}

/* ---------- About ---------- */
.about {
  padding-top: 5rem;
  padding-bottom: 6rem;
}

.about .section-head {
  margin-bottom: 2rem;
}

.about-logo {
  display: block;
  height: 96px;
  width: auto;
  max-width: min(320px, 80%);
  margin: 0.5rem auto 0;
  object-fit: contain;
}

.about-body {
  max-width: 40em;
  margin: 0 auto;
  text-align: center;
}

.about-body p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.about-body strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
  background: #000;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  margin-bottom: 0.85rem;
}

.footer-brand .footer-logo {
  display: block;
  height: 64px; /* match header .brand-logo */
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  opacity: 0.95;
}

.footer-pathway-link {
  display: inline-flex;
  align-items: center;
  opacity: 0.92;
  transition: opacity 0.2s var(--ease);
  flex-shrink: 0;
}

.footer-pathway-link:hover {
  opacity: 1;
}

.footer-pathway-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.footer-pathway-aaas,
.footer-pathway-fitness {
  height: 60px;
}

@media (max-width: 960px) {
  .footer-brand .footer-logo {
    height: 52px; /* match header mobile */
  }

  .footer-pathway-aaas,
  .footer-pathway-fitness {
    height: 48px;
  }
}

@media (max-width: 540px) {
  .footer-logos {
    gap: 1rem 1.25rem;
  }

  .footer-pathway-aaas,
  .footer-pathway-fitness {
    height: 40px;
  }
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

.footer-meta {
  text-align: right;
  font-size: 0.88rem;
  color: var(--text-tertiary);
}

.footer-meta p {
  margin: 0 0 0.4rem;
}

.footer-meta a {
  color: var(--text-secondary);
}

.disclaimer {
  max-width: 28em;
  margin-left: auto !important;
  margin-top: 1rem !important;
  font-size: 0.75rem !important;
  line-height: 1.55;
  color: var(--text-tertiary);
  opacity: 0.85;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero {
    padding: 2rem 0 1.75rem;
  }

  .brand-logo {
    height: 52px;
  }

  .pathway-grid,
  .intake-layout {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .framing-story {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .story-arrow {
    justify-content: center;
    transform: rotate(90deg);
    padding: 0.15rem 0;
  }

  .header-phone {
    display: none;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(0, 0, 0, 0.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease-out), opacity 0.3s;
  }

  body.nav-open .nav {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .nav-cta {
    margin-left: 0 !important;
    text-align: center;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-meta {
    text-align: left;
  }

  .disclaimer {
    margin-left: 0 !important;
  }
}

@media (max-width: 540px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .pathway {
    padding: 1.75rem 1.35rem;
  }

  .intake-form {
    padding: 1.5rem 1.25rem;
  }

  .container {
    width: calc(100% - 1.75rem);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pulse,
  .ambient-glow-a,
  .ambient-glow-b,
  .ambient-glow-c,
  .ambient-grid {
    animation: none;
  }
}
