/* =========================================================
   CADENCE WELLNESS — DESIGN SYSTEM v2
   Clinical. Performance-oriented. Premium. Grounded.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ═══════════════════════════════════════════
   COLOR SYSTEM
   ═══════════════════════════════════════════ */
:root {
  /* Backgrounds */
  --bg:            #f4f1ec;
  --bg-surface:    #faf8f4;
  --bg-subtle:     #ede9e1;

  /* Dark surfaces */
  --navy:          #10202b;
  --navy-mid:      #172534;
  --navy-soft:     #1e3040;

  /* Gold accent (from logo) */
  --gold:          #c8a96e;
  --gold-light:    #d9bc88;
  --gold-muted:    #9e7f4a;
  --gold-subtle:   rgba(200, 169, 110, 0.13);

  /* Supporting green */
  --green:         #3b5c4d;
  --green-subtle:  rgba(59, 92, 77, 0.10);

  /* Text */
  --text-primary:  #10202b;
  --text-body:     #344048;
  --text-muted:    #6b7880;
  --text-faint:    #96a3aa;

  /* On dark */
  --ivory:         #f4f1ec;
  --ivory-mid:     #ddd5c4;
  --ivory-dim:     #a89f90;

  /* Borders */
  --border:             rgba(16, 32, 43, 0.10);
  --border-mid:         rgba(16, 32, 43, 0.18);
  --border-strong:      rgba(16, 32, 43, 0.28);
  --border-gold:        rgba(200, 169, 110, 0.28);
  --border-gold-strong: rgba(200, 169, 110, 0.52);
  --border-dark:        rgba(200, 169, 110, 0.13);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(16, 32, 43, 0.07);
  --shadow:    0 4px 20px rgba(16, 32, 43, 0.10);
  --shadow-md: 0 8px 32px rgba(16, 32, 43, 0.12);
  --shadow-lg: 0 16px 56px rgba(16, 32, 43, 0.16);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  /* Geometry */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;

  /* Layout */
  --transition:   0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --max-width:    1140px;
  --section-pad:  100px 24px;
}

/* ═══════════════════════════════════════════
   RESET
   ═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ═══════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h4 { font-size: 1.18rem; font-weight: 500; letter-spacing: 0; }
p  { color: var(--text-body); line-height: 1.82; font-size: 0.97rem; }
p + p { margin-top: 14px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}
.eyebrow-light { color: var(--gold) !important; }

/* ═══════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════ */
.container   { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.section     { padding: var(--section-pad); }
.text-center { text-align: center; }
.mx-auto     { margin: 0 auto; }
.max-600 { max-width: 600px; }
.max-700 { max-width: 700px; }
.max-860 { max-width: 860px; }

/* Section backgrounds */
.section-dark       { background: var(--navy);     color: var(--ivory); }
.section-dark p     { color: var(--ivory-mid); }
.section-sand       { background: var(--bg-subtle); }
.section-charcoal-mid   { background: var(--navy-mid); color: var(--ivory); }
.section-charcoal-mid p { color: var(--ivory-mid); }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Spacing */
.mt-8  { margin-top: 8px; }  .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; }
.mb-8  { margin-bottom: 8px; }  .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.30;
  margin: 0 auto;
  max-width: 400px;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}

/* Primary: deep navy → green on hover */
.btn-primary {
  background: var(--navy);
  color: var(--ivory);
  border: 1px solid var(--navy);
}
.btn-primary:hover {
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Outline: transparent with gold border → navy fill */
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-gold-strong);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}

/* Light outline (on dark bg) */
.btn-outline-light {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(244, 241, 236, 0.28);
}
.btn-outline-light:hover {
  background: rgba(244, 241, 236, 0.07);
  border-color: rgba(244, 241, 236, 0.60);
}

/* Gold button */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 1px solid var(--gold);
  font-weight: 600;
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(16, 32, 43, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 169, 110, 0.11);
  padding: 0 28px;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
  opacity: 0.90;
  transition: opacity var(--transition);
}
.nav-logo:hover .nav-logo-img { opacity: 0.93; }
.nav-logo-wordmark {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.06em;
  line-height: 1;
}
.nav-logo-wordmark span { color: var(--gold); font-weight: 400; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 0.70rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.58);
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--ivory); }

.nav-cta {
  color: var(--gold) !important;
  border: 1px solid rgba(200, 169, 110, 0.38);
  padding: 7px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.68rem !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
  border-color: var(--gold) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ivory);
  transition: all var(--transition);
}
.nav-mobile {
  display: none;
  background: var(--navy);
  border-top: 1px solid var(--border-dark);
  padding: 20px 28px 28px;
  flex-direction: column;
  gap: 0;
}
.nav-mobile a {
  font-size: 0.80rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(244, 241, 236, 0.60);
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--ivory); }
.nav-mobile.open { display: flex; }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}
.hero-dark { background: var(--navy); color: var(--ivory); }
.hero-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 85% 50%, rgba(59, 92, 77, 0.11) 0%, transparent 65%),
    radial-gradient(ellipse 45% 40% at 15% 80%, rgba(200, 169, 110, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 88px 28px 96px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Logo in hero */
.hero-logo-wrap { margin-bottom: 26px; }
.hero-logo-img {
  width: 116px;
  height: 116px;
  display: block;
  opacity: 0.95;
}

/* Eyebrow */
.hero-label {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0.88;
}
.hero-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.65;
}

/* Headline */
.hero h1 { color: var(--ivory); max-width: 840px; line-height: 1.08; }
.hero h1 em { font-style: italic; color: var(--gold-light); }

/* Sub */
.hero-sub {
  margin-top: 26px;
  max-width: 560px;
  font-size: 1.03rem;
  color: var(--ivory-mid);
  line-height: 1.88;
  font-weight: 300;
}

/* Doctrine line */
.hero-doctrine {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.70;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-rule {
  position: absolute;
  right: 10%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent 10%, var(--gold) 50%, transparent 90%);
  opacity: 0.08;
}

.hero-sm   { min-height: 44vh; padding-top: 68px; }
.hero-page { min-height: 52vh; }

/* ═══════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════ */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-dark {
  background: var(--navy-soft);
  border: 1px solid var(--border-dark);
  color: var(--ivory);
  box-shadow: none;
}
.card-dark p { color: var(--ivory-mid); }
.card-dark:hover {
  border-color: rgba(200, 169, 110, 0.28);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.card-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--gold);
  opacity: 0.32;
  line-height: 1;
  margin-bottom: 10px;
}
.card-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 18px; height: 18px; color: var(--gold-muted); }

/* ═══════════════════════════════════════════
   RCA CARDS (homepage feature)
   ═══════════════════════════════════════════ */
.rca-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 38px 44px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.rca-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold-muted), var(--gold-light));
  opacity: 0;
  transition: opacity var(--transition);
}
.rca-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.rca-card:hover::before { opacity: 1; }
.rca-number {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.10;
  position: absolute;
  bottom: 12px; right: 22px;
  pointer-events: none;
}
.rca-phase {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.21em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 12px;
}
.rca-card h3 {
  font-size: 2.1rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.rca-card p { font-size: 0.93rem; line-height: 1.84; color: var(--text-body); }
.rca-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-muted);
  border-bottom: 1px solid var(--border-gold-strong);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.rca-link:hover { color: var(--navy); border-color: var(--navy); }

/* ═══════════════════════════════════════════
   FRAMEWORK (used on system.html)
   ═══════════════════════════════════════════ */
.framework {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.framework-step {
  padding: 52px 38px;
  border-right: 1px solid var(--border-gold);
  position: relative;
  background: var(--bg-surface);
  transition: background var(--transition);
}
.framework-step:hover { background: var(--bg); }
.framework-step:last-child { border-right: none; }
.framework-number {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.12;
  position: absolute;
  top: 18px; right: 24px;
  pointer-events: none;
}
.framework-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 10px;
}
.framework-step h3 { color: var(--text-primary); margin-bottom: 14px; }
.framework-step p  { font-size: 0.92rem; }

/* ═══════════════════════════════════════════
   IS / ISN'T GRID
   ═══════════════════════════════════════════ */
.is-not-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-mid);
}
.is-block { padding: 44px 40px; }
.is-block-yes { background: var(--navy); }
.is-block-no  { background: var(--navy-mid); }
.is-block h4  {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ivory);
  margin-bottom: 20px;
  letter-spacing: 0;
}
.is-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 13px;
  color: var(--ivory-mid);
  font-size: 0.91rem;
  line-height: 1.6;
}
.is-item-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}
.is-item-dot-yes { background: var(--gold); }
.is-item-dot-no  { background: rgba(244,241,236,0.22); }

/* ═══════════════════════════════════════════
   PULL QUOTE
   ═══════════════════════════════════════════ */
.pull-quote {
  border-left: 3px solid var(--gold);
  padding: 22px 32px;
  margin: 48px 0;
  background: var(--gold-subtle);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════
   IMAGE PLACEHOLDER
   ═══════════════════════════════════════════ */
.img-placeholder {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}
.img-placeholder::after {
  content: attr(data-label);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: center;
  padding: 24px;
}
.img-placeholder-tall  { min-height: 500px; }
.img-placeholder-mid   { min-height: 360px; }
.img-placeholder-short { min-height: 260px; }

/* ═══════════════════════════════════════════
   STAT BLOCK
   ═══════════════════════════════════════════ */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.stat-item {
  padding: 44px 32px;
  border-right: 1px solid var(--border-dark);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin-top: 8px;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: var(--navy);
  color: var(--ivory-mid);
  padding: 80px 28px 44px;
  border-top: 1px solid var(--border-dark);
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer-logo-img {
  height: 68px;
  width: auto;
  display: block;
  opacity: 0.85;
  transition: opacity var(--transition);
}
.footer-logo:hover .footer-logo-img { opacity: 0.80; }
.footer-logo-wordmark {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--ivory);
  line-height: 1;
}
.footer-logo-wordmark span { color: var(--gold); font-weight: 400; }
.footer-tagline {
  font-size: 0.86rem;
  color: var(--ivory-dim);
  line-height: 1.78;
  max-width: 300px;
}
.footer-doctrine {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.60;
}
.footer-address {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  letter-spacing: 0.04em;
  color: var(--ivory-dim);
  line-height: 2.1;
  margin-top: 22px;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0.82;
}
.footer-col a {
  display: block;
  font-size: 0.84rem;
  color: var(--ivory-dim);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--ivory); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 32px;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-statement {
  font-size: 0.75rem;
  color: var(--text-faint);
  line-height: 1.65;
  max-width: 540px;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  padding-top: 2px;
}

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
.cta-section {
  background: var(--navy);
  padding: var(--section-pad);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(200, 169, 110, 0.07) 0%, transparent 68%);
  pointer-events: none;
}
.cta-section h2 { color: var(--ivory); position: relative; z-index: 1; }
.cta-section p  { color: var(--ivory-mid); max-width: 520px; margin: 0 auto; position: relative; z-index: 1; }
.cta-actions    { display: flex; gap: 14px; justify-content: center; margin-top: 40px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ═══════════════════════════════════════════
   CREDIT TABLE
   ═══════════════════════════════════════════ */
.credit-table { width: 100%; border-collapse: collapse; margin-top: 28px; }
.credit-table th {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-muted);
  text-align: left;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-gold-strong);
}
.credit-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
  font-size: 0.94rem;
}
.credit-table tr:last-child td { border-bottom: none; }
.credit-table tr:hover td { background: var(--gold-subtle); }
.credit-count {
  font-family: var(--font-mono);
  font-size: 0.83rem;
  color: var(--gold-muted);
  font-weight: 500;
}

/* ═══════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════ */
.form-group { margin-bottom: 22px; }
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.09);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* ═══════════════════════════════════════════
   TAGS
   ═══════════════════════════════════════════ */
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  color: var(--gold-muted);
  margin: 4px;
  background: var(--gold-subtle);
}

/* ═══════════════════════════════════════════
   MAP PLACEHOLDER
   ═══════════════════════════════════════════ */
.map-placeholder {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-mid);
}
.map-placeholder-inner {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.70rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════ */
.contact-info-block { display: flex; flex-direction: column; gap: 30px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gold-subtle);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; stroke: var(--gold-muted); fill: none; stroke-width: 1.5; }
.contact-detail-label {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 4px;
}
.contact-detail-value { font-size: 0.97rem; color: var(--text-primary); line-height: 1.65; }
.contact-detail-value a { color: var(--text-primary); transition: color var(--transition); }
.contact-detail-value a:hover { color: var(--gold-muted); }

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in         { animation: fadeUp 0.7s ease forwards; }
.animate-in-delay-1 { opacity: 0; animation: fadeUp 0.75s 0.15s ease forwards; }
.animate-in-delay-2 { opacity: 0; animation: fadeUp 0.75s 0.30s ease forwards; }
.animate-in-delay-3 { opacity: 0; animation: fadeUp 0.75s 0.45s ease forwards; }

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (960px)
   ═══════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (960px)
   ═══════════════════════════════════════════ */
@media (max-width: 960px) {
  .grid-2      { grid-template-columns: 1fr; gap: 40px; }
  .grid-3      { grid-template-columns: 1fr 1fr; }
  .grid-4      { grid-template-columns: 1fr 1fr; }
  .framework   { grid-template-columns: 1fr; }
  .framework-step { border-right: none; border-bottom: 1px solid var(--border-gold); }
  .framework-step:last-child { border-bottom: none; }
  .footer-top  { grid-template-columns: 1fr 1fr; }
  .is-not-grid { grid-template-columns: 1fr; }
  .stat-grid   { grid-template-columns: 1fr; }
  .stat-item   { border-right: none; border-bottom: 1px solid var(--border-dark); }
  .stat-item:last-child { border-bottom: none; }

  /* Schedule/pricing blocks that use inline flex */
  .schedule-block,
  .price-card,
  .contact-block { flex-direction: column; }

  /* Hero text scales down for tablets */
  .hero-inner { padding: 64px 24px 72px; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (720px)
   ═══════════════════════════════════════════ */
@media (max-width: 720px) {
  :root { --section-pad: 60px 20px; }

  /* Navigation */
  .nav          { padding: 0 20px; }
  .nav-links    { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo-wordmark { display: none; }
  .nav-logo-img { height: 36px; }

  /* Hero */
  .hero-inner   { padding: 56px 20px 64px; }
  .hero-logo-img { width: 100px; height: 100px; }
  .hero h1      { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-sub     { font-size: 0.96rem; max-width: 100%; }
  .hero-doctrine { font-size: 0.58rem; letter-spacing: 0.12em; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .hero-rule    { display: none; }

  /* Grids */
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .is-not-grid     { grid-template-columns: 1fr; }
  .form-grid       { grid-template-columns: 1fr; }

  /* RCA cards */
  .rca-card     { padding: 32px 24px 28px; }
  .rca-card h3  { font-size: 1.8rem; }
  .rca-number   { font-size: 3.5rem; }

  /* Framework steps */
  .framework-step { padding: 32px 24px; }

  /* Cards */
  .card { padding: 28px 24px; }

  /* CTA section */
  .cta-actions  { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .cta-section  { padding: 64px 20px; }

  /* Footer */
  .footer       { padding: 60px 20px 36px; }
  .footer-top   { grid-template-columns: 1fr; gap: 32px; }
  .footer-logo  { flex-direction: row; align-items: center; }
  .footer-logo-img { height: 48px; }
  .footer-logo-wordmark { font-size: 1.3rem; }
  .footer-tagline { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .footer-statement { font-size: 0.72rem; }

  /* Is/Isn't grid */
  .is-block     { padding: 32px 24px; }

  /* Pull quote */
  .pull-quote   { padding: 18px 22px; margin: 32px 0; }
  .pull-quote p { font-size: 1.2rem; }

  /* Contact page */
  .contact-info-block { gap: 24px; }
  .map-placeholder    { min-height: 260px; }

  /* Facility photo strip on contact */
  .facility-strip { grid-template-columns: 1fr !important; }
  .facility-strip img { height: 200px !important; }

  /* Modality grid on recovery page */
  .modality-grid { grid-template-columns: 1fr !important; }

  /* Session flow on recovery page */
  .session-flow { flex-direction: column !important; }
  .session-step { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .session-step:last-child { border-bottom: none !important; }
  .session-step::after { display: none !important; }

  /* Membership price card */
  .price-card   { padding: 36px 28px; }
  .price-main   { font-size: 4rem; }

  /* Typography scale-down for small screens */
  h2 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  h3 { font-size: clamp(1.3rem, 5vw, 1.7rem); }

  /* Buttons full-width on mobile where appropriate */
  .btn { padding: 14px 28px; }

  /* Tags wrap cleanly */
  .tag { font-size: 0.58rem; padding: 4px 10px; }

  /* Container padding */
  .container { padding: 0 20px; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — SMALL PHONES (400px)
   ═══════════════════════════════════════════ */
@media (max-width: 400px) {
  .hero h1       { font-size: 2rem; }
  .hero-logo-img { width: 84px; height: 84px; }
  .hero-label    { font-size: 0.55rem; }
  .rca-card h3   { font-size: 1.6rem; }
  .price-main    { font-size: 3.4rem; }
  .nav-inner     { height: 60px; }
  .hero          { padding-top: 60px; }
  .hero-sm       { padding-top: 60px; }
}

/* ═══════════════════════════════════════════
   TOUCH & TAP IMPROVEMENTS
   ═══════════════════════════════════════════ */
@media (hover: none) {
  /* Remove hover effects on touch devices — prevents sticky hover states */
  .card:hover, .rca-card:hover, .card-dark:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }
  .btn-primary:hover, .btn-outline:hover, .btn-gold:hover {
    transform: none;
  }
  /* Increase tap targets */
  .nav-links a    { padding: 8px 4px; }
  .nav-mobile a   { min-height: 48px; display: flex; align-items: center; }
  .footer-col a   { min-height: 40px; display: flex; align-items: center; }
  .btn            { min-height: 48px; }
  .nav-hamburger  { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
}
