/* ==========================================================================
   Blueberry Network Consulting — Design Tokens & Components
   ========================================================================== */

: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.15rem + 2.5vw, 3.25rem);
  --text-3xl: clamp(2.4rem, 1.2rem + 3.6vw, 4.5rem);
  --text-hero: clamp(2.75rem, 1rem + 5vw, 6rem);

  /* Spacing (4px base) */
  --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 — cool slate, near-white */
  --color-bg: #f6f7fa;
  --color-surface: #ffffff;
  --color-surface-2: #f1f2f6;
  --color-surface-offset: #e8eaf0;
  --color-surface-offset-2: #dee1e9;
  --color-surface-dynamic: #d3d7e2;
  --color-divider: #e1e3ea;
  --color-border: #d6d9e2;

  /* Text — deep ink navy */
  --color-text: #171a21;
  --color-text-muted: #565f70;
  --color-text-faint: #9aa1af;
  --color-text-inverse: #fafafc;

  /* Primary accent — Blueberry plum */
  --color-primary: #5c2a54;
  --color-primary-hover: #46203f;
  --color-primary-active: #33172e;
  --color-primary-highlight: #e9dce6;

  /* Supporting semantic colors */
  --color-warning: #92601b;
  --color-warning-highlight: #ecdfc9;
  --color-error: #9c3b3b;
  --color-error-highlight: #ecd6d6;
  --color-success: #3c6f45;
  --color-success-highlight: #d8e5da;

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

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows — tone-matched to cool slate */
  --shadow-sm: 0 1px 2px oklch(0.16 0.02 300 / 0.06);
  --shadow-md: 0 4px 16px oklch(0.16 0.02 300 / 0.08);
  --shadow-lg: 0 16px 40px oklch(0.16 0.02 300 / 0.14);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 980px;
  --content-wide: 1240px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'General Sans', 'Segoe UI', sans-serif;
  --font-body: 'Satoshi', 'General Sans', 'Segoe UI', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #131319;
  --color-surface: #191a22;
  --color-surface-2: #1d1f29;
  --color-surface-offset: #23252f;
  --color-surface-offset-2: #2a2c38;
  --color-surface-dynamic: #33364399;
  --color-surface-dynamic: #333643;
  --color-divider: #2b2d38;
  --color-border: #383b48;

  --color-text: #e5e6ec;
  --color-text-muted: #9ea2b3;
  --color-text-faint: #6c7082;
  --color-text-inverse: #171a21;

  --color-primary: #d29bc7;
  --color-primary-hover: #dfb2d6;
  --color-primary-active: #ecc9e4;
  --color-primary-highlight: #3a2e3b;

  --color-warning: #d0a05a;
  --color-warning-highlight: #3d341f;
  --color-error: #d17a7a;
  --color-error-highlight: #3a2626;
  --color-success: #7fb389;
  --color-success-highlight: #223a27;

  --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 20px 48px oklch(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #131319;
    --color-surface: #191a22;
    --color-surface-2: #1d1f29;
    --color-surface-offset: #23252f;
    --color-surface-offset-2: #2a2c38;
    --color-surface-dynamic: #333643;
    --color-divider: #2b2d38;
    --color-border: #383b48;
    --color-text: #e5e6ec;
    --color-text-muted: #9ea2b3;
    --color-text-faint: #6c7082;
    --color-text-inverse: #171a21;
    --color-primary: #d29bc7;
    --color-primary-hover: #dfb2d6;
    --color-primary-active: #ecc9e4;
    --color-primary-highlight: #3a2e3b;
    --color-warning: #d0a05a;
    --color-warning-highlight: #3d341f;
    --color-error: #d17a7a;
    --color-error-highlight: #3a2626;
    --color-success: #7fb389;
    --color-success-highlight: #223a27;
    --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 20px 48px oklch(0 0 0 / 0.5);
  }
}

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

.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--wide {
  max-width: var(--content-wide);
}
.container--narrow {
  max-width: var(--content-narrow);
}

main {
  display: block;
}

section {
  padding-block: clamp(var(--space-12), 7vw, var(--space-24));
}
.section--tight {
  padding-block: clamp(var(--space-8), 5vw, var(--space-16));
}
.section--offset {
  background: var(--color-surface-offset);
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  z-index: 200;
  transition: top var(--transition-interactive);
}
.skip-link:focus {
  top: var(--space-4);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}
.site-header--scrolled {
  box-shadow: var(--shadow-sm);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand:hover {
  color: var(--color-primary);
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: var(--color-primary);
}
.brand-word strong {
  display: block;
  font-size: var(--text-base);
}
.brand-word span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  padding-block: var(--space-2);
  position: relative;
}
.nav-links a:hover {
  color: var(--color-text);
}
.nav-links a[aria-current='page'] {
  color: var(--color-text);
  font-weight: 600;
}
.nav-links a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

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

.theme-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}
.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
}

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

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 64px var(--space-4) auto var(--space-4);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-5);
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity var(--transition-interactive),
      transform var(--transition-interactive),
      visibility var(--transition-interactive);
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    width: 100%;
  }
  .nav-links a {
    width: 100%;
    padding: var(--space-3);
    border-radius: var(--radius-md);
  }
  .nav-links a:hover {
    background: var(--color-surface-offset);
  }
  .header-actions {
    width: 100%;
    justify-content: space-between;
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-divider);
  }
  .nav-toggle {
    display: inline-flex;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  text-decoration: none;
  min-height: 44px;
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive),
    border-color var(--transition-interactive);
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn-primary:active {
  background: var(--color-primary-active);
  transform: translateY(0);
}
.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-highlight);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  padding-inline: var(--space-3);
}
.btn-ghost:hover {
  color: var(--color-text);
}
.btn svg {
  width: 16px;
  height: 16px;
}

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

.hero {
  position: relative;
  padding-block: clamp(var(--space-16), 10vw, var(--space-32)) clamp(var(--space-12), 6vw, var(--space-20));
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-16);
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}
.hero-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--color-text);
  max-width: 16ch;
}
.hero p.lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-top: var(--space-6);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    aspect-ratio: 16/10;
    order: -1;
  }
}

/* ==========================================================================
   Page header (interior pages)
   ========================================================================== */

.page-header {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20)) var(--space-10);
}
.page-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 650;
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.page-header p.lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 62ch;
  margin-top: var(--space-5);
}

/* ==========================================================================
   Section headings, eyebrows
   ========================================================================== */

.section-head {
  max-width: 62ch;
  margin-bottom: var(--space-12);
}
.section-head .eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 650;
  letter-spacing: -0.01em;
}
.section-head p {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

/* ==========================================================================
   Prose
   ========================================================================== */

.prose {
  max-width: 70ch;
}
.prose p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.prose p:last-child {
  margin-bottom: 0;
}
.prose strong {
  color: var(--color-text);
}

/* ==========================================================================
   Value narrative (asymmetric two-column, home page)
   ========================================================================== */

.narrative {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-16);
  align-items: start;
}
.narrative-figure {
  position: sticky;
  top: calc(64px + var(--space-8));
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.narrative-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.narrative-item {
  padding-block: var(--space-6);
  border-top: 1px solid var(--color-divider);
}
.narrative-item:first-child {
  border-top: none;
  padding-top: 0;
}
.narrative-item .index {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.narrative-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-top: var(--space-2);
  margin-bottom: var(--space-2);
}
.narrative-item p {
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .narrative {
    grid-template-columns: 1fr;
  }
  .narrative-figure {
    position: static;
    aspect-ratio: 16/10;
  }
}

/* ==========================================================================
   Audience list (who we serve)
   ========================================================================== */

.audience-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-divider);
}
.audience-row {
  display: grid;
  grid-template-columns: minmax(0, 320px) 1fr;
  gap: var(--space-8);
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
  align-items: baseline;
}
.audience-row h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
}
.audience-row p {
  color: var(--color-text-muted);
}
@media (max-width: 760px) {
  .audience-row {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
}

/* ==========================================================================
   Process rail (Assess -> Align -> Prepare -> Execute -> Review)
   ========================================================================== */

.process-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
  counter-reset: step;
}
.process-step {
  position: relative;
  padding-top: var(--space-8);
  border-top: 2px solid var(--color-border);
}
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -0.8px;
  left: 0;
  transform: translateY(-50%);
  background: var(--color-bg);
  padding-right: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-primary);
  font-weight: 700;
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 650;
  margin-bottom: var(--space-2);
}
.process-step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
@media (max-width: 900px) {
  .process-rail {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .process-rail {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Service list (services page — asymmetric rows, not 3-col cards)
   ========================================================================== */

.service-rows {
  display: flex;
  flex-direction: column;
}
.service-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-10);
  padding-block: var(--space-10);
  border-top: 1px solid var(--color-divider);
}
.service-row:first-child {
  border-top: none;
  padding-top: 0;
}
.service-row .tag {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.service-row h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 650;
  margin-bottom: var(--space-3);
}
.service-row p {
  color: var(--color-text-muted);
  max-width: 62ch;
}
.service-row ul {
  margin-top: var(--space-4);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-6);
}
.service-row li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-left: var(--space-5);
  position: relative;
}
.service-row li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  opacity: 0.6;
}
@media (max-width: 760px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  .service-row ul {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Engagement models (pill row)
   ========================================================================== */

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.model-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.model-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 650;
  margin-bottom: var(--space-2);
}
.model-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
@media (max-width: 800px) {
  .model-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Credential list (about page)
   ========================================================================== */

.credential-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.credential-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.credential-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.15em;
}
.credential-item h3 {
  font-size: var(--text-base);
  font-weight: 650;
  margin-bottom: var(--space-1);
}
.credential-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding-block: var(--space-8);
}
.stat-row .stat {
  border-left: 1px solid var(--color-divider);
  padding-left: var(--space-6);
}
.stat-row .stat:first-child {
  border-left: none;
  padding-left: 0;
}
.stat .num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 650;
  color: var(--color-primary);
  display: block;
  line-height: 1.1;
}
.stat .label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}
@media (max-width: 700px) {
  .stat-row {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .stat-row .stat {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--color-divider);
    padding-top: var(--space-6);
  }
  .stat-row .stat:first-child {
    border-top: none;
    padding-top: 0;
  }
}

/* ==========================================================================
   Callouts / disclaimers
   ========================================================================== */

.callout {
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-7);
  display: flex;
  gap: var(--space-4);
}
.callout svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-text-muted);
  margin-top: 0.2em;
}
.callout p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}
.callout strong {
  color: var(--color-text);
}
.callout--warning {
  background: var(--color-warning-highlight);
  border-color: oklch(from var(--color-warning) l c h / 0.35);
}
.callout--warning svg {
  color: var(--color-warning);
}

/* ==========================================================================
   Readiness path (partner-readiness page)
   ========================================================================== */

.path-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.path-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--space-5);
  padding-block: var(--space-6);
  border-top: 1px solid var(--color-divider);
}
.path-item:first-child {
  border-top: none;
  padding-top: 0;
}
.path-item .dot {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-primary);
}
.path-item h3 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
}
.path-item p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  background: var(--color-text);
  color: var(--color-text-inverse);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 6vw, var(--space-16));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}
[data-theme='dark'] .cta-band {
  background: var(--color-surface-offset-2);
  color: var(--color-text);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 650;
  max-width: 24ch;
}
.cta-band p {
  color: oklch(from var(--color-text-inverse) l c h / 0.7);
  margin-top: var(--space-3);
  max-width: 44ch;
}
[data-theme='dark'] .cta-band p {
  color: var(--color-text-muted);
}
.cta-band .btn-primary {
  background: var(--color-text-inverse);
  color: var(--color-text);
}
.cta-band .btn-primary:hover {
  background: oklch(from var(--color-text-inverse) l c h / 0.85);
}
[data-theme='dark'] .cta-band .btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
[data-theme='dark'] .cta-band .btn-primary:hover {
  background: var(--color-primary-hover);
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  text-decoration: none;
  color: inherit;
}
.contact-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.contact-card svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.1em;
}
.contact-card h3 {
  font-size: var(--text-base);
  font-weight: 650;
  margin-bottom: var(--space-1);
}
.contact-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

.intake-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.intake-list li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.intake-list li svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.1em;
}

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

.site-footer {
  border-top: 1px solid var(--color-divider);
  background: var(--color-surface-2);
  padding-block: var(--space-16) var(--space-10);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-12);
}
.footer-brand .brand {
  margin-bottom: var(--space-4);
}
.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 38ch;
}
.footer-col h3 {
  font-size: var(--text-xs);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--color-primary);
}
.footer-disclaimer {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}
.footer-disclaimer p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.7;
  max-width: 90ch;
}
.footer-bottom {
  margin-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 1;
}
@supports (animation-timeline: scroll()) {
  .reveal {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
}
@keyframes reveal-fade {
  to {
    opacity: 1;
  }
}

/* Utility */
.text-muted {
  color: var(--color-text-muted);
}
.mt-0 {
  margin-top: 0 !important;
}

/* Standalone figure frame for interior-page visuals */
.figure-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.figure-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure-frame--wide {
  aspect-ratio: 21/9;
}
.figure-frame--square {
  aspect-ratio: 16/10;
}

/* Theme toggle icon swap */
.theme-toggle .icon-sun {
  display: none;
}
.theme-toggle .icon-moon {
  display: block;
}
[data-theme='dark'] .theme-toggle .icon-sun {
  display: block;
}
[data-theme='dark'] .theme-toggle .icon-moon {
  display: none;
}
