/* ==========================================================================
   Modern Wellness Coaching — Design Tokens
   Palette derived from the brand logo (dusty rose #C9BCB4 / espresso #463337)
   ========================================================================== */

:root,
[data-theme='light'] {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.75rem);
  --text-hero: clamp(2.75rem, 0.6rem + 6vw, 6.5rem);

  /* 4px spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Surfaces (warm ivory, from logo bg family) */
  --color-bg: #faf6f2;
  --color-surface: #ffffff;
  --color-surface-2: #fdfbf9;
  --color-surface-offset: #f1e7df;
  --color-surface-offset-2: #e7d8cd;
  --color-surface-dynamic: #c9bcb4; /* exact logo background */
  --color-divider: #e4d5cb;
  --color-border: #dbc9bd;

  /* Text (espresso, from logo mark) */
  --color-text: #3a2a2f;
  --color-text-muted: #7c6863;
  --color-text-faint: #b7a6a0;
  --color-text-inverse: #f7f1ec;

  /* Accent (warm terracotta-rose, derived from logo bg) */
  --color-primary: #a9765f;
  --color-primary-hover: #8f614f;
  --color-primary-active: #79503f;
  --color-primary-highlight: #eee0d7;

  /* Fixed brand-dark "espresso band" — used for hero/CTA sections, does not
     change with the light/dark toggle (intentional brand statement) */
  --espresso-bg: #2b1e24;
  --espresso-surface: #372832;
  --espresso-surface-2: #40302f;
  --espresso-text: #f5ece6;
  --espresso-text-muted: #c7b3ac;
  --espresso-accent: #d9ae8f;
  --espresso-accent-hover: #e5c4ad;
  --espresso-divider: rgb(245 236 230 / 0.14);
  --espresso-border: rgb(245 236 230 / 0.2);

  /* Semantic (kept for form states) */
  --color-success: #4d7a4a;
  --color-error: #a1442c;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px oklch(0.25 0.02 30 / 0.08);
  --shadow-md: 0 4px 16px oklch(0.25 0.02 30 / 0.1);
  --shadow-lg: 0 16px 40px oklch(0.25 0.02 30 / 0.16);

  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  --font-display: 'Cormorant', 'Iowan Old Style', 'Georgia', serif;
  --font-body: 'Switzer', 'Inter', -apple-system, sans-serif;
}

[data-theme='dark'] {
  --color-bg: #201720;
  --color-surface: #291e28;
  --color-surface-2: #2e222c;
  --color-surface-offset: #362930;
  --color-surface-offset-2: #40312f;
  --color-surface-dynamic: #4a3a3c;
  --color-divider: #40323a;
  --color-border: #4a3a42;

  --color-text: #ede3dd;
  --color-text-muted: #b29e96;
  --color-text-faint: #7c6862;
  --color-text-inverse: #291e28;

  --color-primary: #d9ae8f;
  --color-primary-hover: #e5c4ad;
  --color-primary-active: #efd4c1;
  --color-primary-highlight: #40312b;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #201720;
    --color-surface: #291e28;
    --color-surface-2: #2e222c;
    --color-surface-offset: #362930;
    --color-surface-offset-2: #40312f;
    --color-surface-dynamic: #4a3a3c;
    --color-divider: #40323a;
    --color-border: #4a3a42;
    --color-text: #ede3dd;
    --color-text-muted: #b29e96;
    --color-text-faint: #7c6862;
    --color-text-inverse: #291e28;
    --color-primary: #d9ae8f;
    --color-primary-hover: #e5c4ad;
    --color-primary-active: #efd4c1;
    --color-primary-highlight: #40312b;
  }
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-10));
}

.container--default {
  max-width: var(--content-default);
}

section {
  position: relative;
}

.section-pad {
  padding-block: clamp(var(--space-16), 9vw, var(--space-24));
}

.section-pad-lg {
  padding-block: clamp(var(--space-20), 12vw, var(--space-32));
}

.band-light {
  background: var(--color-bg);
  color: var(--color-text);
}

.band-espresso {
  background: var(--espresso-bg);
  color: var(--espresso-text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.band-espresso .eyebrow {
  color: var(--espresso-accent);
}

.eyebrow::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: currentColor;
  flex-shrink: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
}

em,
.italic-accent {
  font-style: italic;
  color: var(--color-primary);
}

.band-espresso em,
.band-espresso .italic-accent {
  color: var(--espresso-accent);
}

.section-title {
  font-size: var(--text-3xl);
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 18ch;
}

.section-title--md {
  font-size: var(--text-2xl);
  line-height: 1.08;
  max-width: 22ch;
}

.eyebrow-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: clamp(var(--space-10), 6vw, var(--space-16));
}

.eyebrow-block-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.eyebrow-block-row p {
  max-width: 34ch;
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

.band-espresso .eyebrow-block-row p {
  color: var(--espresso-text-muted);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: clamp(var(--space-3), 2vw, var(--space-5));
  z-index: 100;
  display: flex;
  justify-content: center;
  padding-inline: var(--space-4);
}

.nav-pill {
  width: 100%;
  max-width: 1180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  background: rgb(243 217 214 / 0.96); /* blush pink, matches buttons */
  backdrop-filter: blur(16px);
  border: 1px solid #e8c3be;
  box-shadow: var(--shadow-md);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-inline-start: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
}

.nav-brand svg,
.nav-brand img {
  width: 34px;
  height: 34px;
  color: var(--color-text);
  object-fit: contain;
  flex-shrink: 0;
}

.nav-brand span {
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.92rem + 0.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}

.theme-toggle:hover {
  background: var(--color-surface-offset-2);
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text);
}

/* Header pill stays blush pink in both themes, so keep its text espresso */
.nav-pill .nav-brand,
.nav-pill .nav-brand img,
.nav-pill .nav-toggle {
  color: #3a2a2f;
}
.nav-pill .nav-links a,
.nav-pill .theme-toggle {
  color: #5e4a4f;
}
.nav-pill .nav-links a:hover,
.nav-pill .theme-toggle:hover {
  color: #3a2a2f;
}
.nav-pill .theme-toggle:hover {
  background: rgb(58 42 47 / 0.08);
}
/* Header CTA: lighter blush so it still reads as a button on the pink pill */
.nav-pill .btn-primary {
  background: #fcefed;
  border-color: #dfb2ab;
}
.nav-pill .btn-primary:hover {
  background: #ffffff;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.btn-primary {
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-6);
  background: var(--color-text);
  color: var(--color-text-inverse);
}

.btn-primary:hover {
  background: var(--color-primary-active);
}

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

.band-espresso .btn-primary {
  background: var(--espresso-accent);
  color: var(--espresso-bg);
}

.band-espresso .btn-primary:hover {
  background: var(--espresso-accent-hover);
}

.band-espresso .btn-primary .btn-icon {
  background: var(--espresso-bg);
  color: var(--espresso-accent);
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

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

.btn-outline {
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-6);
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-text);
  background: var(--color-surface-hover, rgba(0, 0, 0, 0.04));
}

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

.band-espresso .btn-outline {
  color: var(--espresso-text);
  border-color: var(--espresso-border);
}

.band-espresso .btn-outline:hover {
  border-color: var(--espresso-accent);
  background: rgba(217, 174, 143, 0.08);
}

.band-espresso .btn-outline .btn-icon {
  color: var(--espresso-accent);
  border-color: var(--espresso-border);
}

.btn-secondary {
  padding: var(--space-3) 0;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-text);
}

.band-espresso .btn-secondary {
  color: var(--espresso-text);
  border-bottom-color: var(--espresso-border);
}

.band-espresso .btn-secondary:hover {
  border-color: var(--espresso-text);
}

.btn-secondary svg {
  width: 14px;
  height: 14px;
  margin-inline-start: var(--space-2);
  vertical-align: -2px;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding-block: clamp(7rem, 16vw, 11rem) clamp(var(--space-16), 8vw, var(--space-24));
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('./assets/hero-botanical.jpg');
  background-size: cover;
  background-position: right center;
  opacity: 0.16;
  mix-blend-mode: luminosity;
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 82% 28%,
    oklch(from var(--espresso-accent) l c h / 0.16),
    transparent 55%
  );
  z-index: -1;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.hero-eyebrow {
  font-size: var(--text-xs);
}

.hero-heading {
  font-size: var(--text-hero);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 20ch;
}

.hero-heading .line {
  display: block;
}

.hero-copy {
  max-width: 46ch;
  font-size: var(--text-lg);
  color: var(--espresso-text-muted);
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
  padding-top: var(--space-8);
  border-top: 1px solid var(--espresso-divider);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.hero-stat strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
}

.hero-stat span {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--espresso-text-muted);
}

/* ==========================================================================
   Triple concept cards
   ========================================================================== */

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.programs-note {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 60ch;
}

.concept-card {
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: 220px;
}

.concept-card h3 {
  font-size: var(--text-xl);
  font-weight: 500;
}

.concept-card p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

/* Unified light blush-pink style for every pill button on the site */
.btn-pink,
.btn-primary,
.btn-outline,
.band-espresso .btn-primary,
.band-espresso .btn-outline {
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-6);
  background: #f3d9d6;
  color: #3a2a2f;
  border: 1px solid #e8c3be;
  transition: background 180ms ease, border-color 180ms ease;
}

.btn-pink:hover,
.btn-primary:hover,
.btn-outline:hover,
.band-espresso .btn-primary:hover,
.band-espresso .btn-outline:hover {
  background: #ecc9c4;
  border-color: #dfb2ab;
}

.btn-pink .btn-icon,
.btn-primary .btn-icon,
.btn-outline .btn-icon,
.band-espresso .btn-primary .btn-icon,
.band-espresso .btn-outline .btn-icon {
  background: #3a2a2f;
  color: #f3d9d6;
  border: none;
}

.concept-card-cta {
  margin-top: auto;
  align-self: flex-start;
}

.concept-card--accent {
  background: var(--espresso-bg);
  color: var(--espresso-text);
  border-color: var(--espresso-border);
  justify-content: center;
}

.concept-card--accent h3 {
  font-style: italic;
  color: var(--espresso-accent);
  font-size: var(--text-xl);
}

.concept-card--accent p {
  color: var(--espresso-text-muted);
}

/* ==========================================================================
   Numbered rows (programs / sourcing)
   ========================================================================== */

.row-list {
  border-top: 1px solid var(--color-divider);
}

.band-espresso .row-list {
  border-top-color: var(--espresso-divider);
}

.row-item {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-6);
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
  text-decoration: none;
  color: inherit;
}

.band-espresso .row-item {
  border-bottom-color: var(--espresso-divider);
}

.row-num {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}

.band-espresso .row-num {
  color: var(--espresso-text-muted);
}

.row-main h4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-1);
}

.row-main p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 46ch;
}

.band-espresso .row-main p {
  color: var(--espresso-text-muted);
}

.row-price {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  white-space: nowrap;
  text-align: right;
}

.band-espresso .row-price {
  color: var(--espresso-text-muted);
}

.row-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  flex-shrink: 0;
  transition: transform var(--transition-interactive), background var(--transition-interactive);
}

.band-espresso .row-arrow {
  border-color: var(--espresso-border);
  color: var(--espresso-text);
}

.row-item:hover .row-arrow {
  transform: rotate(45deg);
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.band-espresso .row-item:hover .row-arrow {
  background: var(--espresso-accent);
  color: var(--espresso-bg);
}

.row-arrow svg {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   About / editorial split
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: center;
}

.split-copy h2 {
  margin-bottom: var(--space-6);
}

.split-copy p + p {
  margin-top: var(--space-4);
}

.split-copy p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 56ch;
}

.split-quote {
  margin-top: var(--space-8);
  padding-left: var(--space-6);
  border-left: 2px solid var(--color-primary);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-text);
}

.split-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface-dynamic);
  aspect-ratio: 3 / 4;
}

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

.split-media img.dana-portrait {
  object-position: 50% 30%;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: clamp(var(--space-10), 5vw, var(--space-16));
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
}

.stat-item span {
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ==========================================================================
   How it works steps
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: clamp(var(--space-10), 6vw, var(--space-16));
}

.step-card {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--espresso-border);
  background: var(--espresso-surface);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: 200px;
}

.step-num {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--espresso-accent);
}

.step-card h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
}

.step-card p {
  font-size: var(--text-sm);
  color: var(--espresso-text-muted);
}

.portal-callout {
  margin-top: clamp(var(--space-10), 5vw, var(--space-14));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  background: var(--espresso-surface);
  border: 1px solid var(--espresso-border);
}

.portal-callout h4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.portal-callout p {
  color: var(--espresso-text-muted);
  max-width: 44ch;
}

/* ==========================================================================
   Partner / trust section
   ========================================================================== */

.trust-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

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

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.partner-badge strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ==========================================================================
   Closing CTA + contact
   ========================================================================== */

.closing {
  text-align: left;
}

.closing-heading {
  font-size: var(--text-3xl);
  max-width: 20ch;
  line-height: 1.05;
}

.closing-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(var(--space-10), 6vw, var(--space-16));
  align-items: end;
}

.contact-card {
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  background: var(--espresso-surface);
  border: 1px solid var(--espresso-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
  border-top: 1px solid var(--espresso-divider);
  font-size: var(--text-sm);
}

.contact-row:first-child {
  border-top: none;
}

.contact-row span:first-child {
  color: var(--espresso-text-muted);
}

.contact-row a {
  color: var(--espresso-text);
  text-decoration: none;
}

.contact-row a:hover {
  color: var(--espresso-accent);
}

.disclaimer {
  font-size: var(--text-xs);
  color: var(--espresso-text-muted);
  max-width: 60ch;
  margin-top: clamp(var(--space-10), 5vw, var(--space-16));
  padding-top: var(--space-6);
  border-top: 1px solid var(--espresso-divider);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--espresso-bg);
  color: var(--espresso-text);
  padding-block: var(--space-10);
  border-top: 1px solid var(--espresso-divider);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--espresso-text);
  text-decoration: none;
}

.footer-brand svg {
  width: 26px;
  height: 26px;
}

.footer-brand-mark-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f6efe6;
  flex-shrink: 0;
}

.footer-brand-mark {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.footer-brand span {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: var(--space-6);
  list-style: none;
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--espresso-text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--espresso-text);
}

.footer-copy {
  font-size: var(--text-xs);
  color: var(--espresso-text-muted);
}

/* ==========================================================================
   Reveal-on-scroll (minimal, functional motion)
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .nav-actions .btn-primary {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .concept-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .split,
  .closing-grid {
    grid-template-columns: 1fr;
  }
  .split-media {
    order: -1;
    aspect-ratio: 16 / 10;
  }
  .row-item {
    grid-template-columns: 2.5rem 1fr auto;
  }
  .row-price {
    display: none;
  }
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--space-8);
  }
  .hero-heading {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
  .portal-callout {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .row-item {
    grid-template-columns: 2rem 1fr auto;
    gap: var(--space-4);
  }
  .stat-row {
    grid-template-columns: 1fr 1fr;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--espresso-bg);
  color: var(--espresso-text);
  display: flex;
  flex-direction: column;
  padding: clamp(var(--space-8), 8vw, var(--space-16)) var(--space-6);
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  visibility: hidden;
}

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

.mobile-nav-top {
  display: flex;
  justify-content: flex-end;
}

.mobile-nav-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--espresso-text);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-10);
  list-style: none;
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--espresso-text);
  text-decoration: none;
}

.mobile-nav-cta {
  margin-top: var(--space-10);
  align-self: flex-start;
}

/* Keep the larger header brand text fitting on small phones */
@media (max-width: 420px) {
  .nav-pill {
    gap: var(--space-2);
    padding-inline: var(--space-2);
  }
  .nav-brand img {
    width: 30px;
    height: 30px;
  }
  .nav-brand span {
    font-size: 1rem;
  }
  .nav-actions {
    gap: 0;
  }
}

/* About Dana: portrait floats left, bio wraps beside it, then runs full width */
.about-copy {
  display: flow-root; /* contain the float */
}
.about-copy .about-photo {
  float: left;
  width: min(400px, 46%);
  aspect-ratio: 4 / 5;
  margin: 0 clamp(var(--space-8), 4vw, var(--space-12)) var(--space-6) 0;
}
.about-copy .about-photo img.dana-portrait {
  object-position: 50% 22%;
}
.about-copy h2,
.about-copy p {
  max-width: none;
}
.about-copy .split-quote {
  display: flow-root; /* keep the quote's left rule from running under the photo */
}
@media (max-width: 640px) {
  .about-copy .about-photo {
    float: none;
    width: 100%;
    max-width: 460px;
    margin: 0 auto var(--space-8);
  }
}
