/* ============================================
   MICHAEL THOMAS — style.css
   Personal brand hub. Light / editorial / premium.
   Same brand family as The Vagal Method (Poppins,
   coral -> amber -> teal gradient) but bright, with
   the gradient used sparingly as an accent.
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

/* === DESIGN TOKENS === */
:root {
  /* Brand accent colors (shared with TVM) */
  --coral: #E8503A;
  --teal: #17A398;
  --teal-bright: #2ECFC4;
  --amber: #E8963A;
  --yellow: #F5C842;

  /* Light / editorial surfaces */
  --bg: #FBFAF7;            /* warm off-white page */
  --surface: #FFFFFF;       /* cards */
  --surface-2: #F4F1EB;     /* warm neutral panels */
  --surface-3: #ECE7DE;     /* deeper warm neutral */
  --ink: #16130F;           /* near-black warm charcoal */

  /* Text */
  --text-primary: #1C1A17;
  --text-secondary: #56524B;
  --text-muted: #8A857C;

  /* Hairlines */
  --line: rgba(22, 19, 15, 0.10);
  --line-soft: rgba(22, 19, 15, 0.06);

  /* Gradient */
  --gradient-brand: linear-gradient(135deg, #E8503A, #E8963A, #17A398);
  --gradient-brand-h: linear-gradient(90deg, #E8503A, #E8963A, #17A398);

  /* Type Scale */
  --text-xs: clamp(0.72rem, 0.69rem + 0.15vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.76rem + 0.2vw, 0.9rem);
  --text-base: clamp(0.92rem, 0.88rem + 0.2vw, 1.02rem);
  --text-lg: clamp(1.05rem, 0.98rem + 0.32vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.05rem + 0.9vw, 1.7rem);
  --text-2xl: clamp(1.6rem, 1.15rem + 1.9vw, 2.5rem);
  --text-3xl: clamp(2.1rem, 1.3rem + 3.4vw, 3.9rem);

  /* 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;

  /* Fonts */
  --font-body: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Poppins', 'Helvetica Neue', Arial, sans-serif;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.75rem;

  /* Transitions */
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows — soft, premium, light-mode */
  --shadow-sm: 0 1px 2px rgba(22,19,15,0.05);
  --shadow-md: 0 10px 30px -12px rgba(22,19,15,0.16);
  --shadow-lg: 0 30px 60px -22px rgba(22,19,15,0.22);

  /* Content widths */
  --content-narrow: 680px;
  --content-default: 980px;
  --content-wide: 1200px;
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--text-primary);
  background-color: var(--bg);
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p, li, figcaption {
  text-wrap: pretty;
  max-width: 72ch;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--coral); }

button { cursor: pointer; background: none; border: none; }

::selection {
  background: rgba(23, 163, 152, 0.18);
  color: var(--text-primary);
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

/* === LAYOUT HELPERS === */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
}
.container--narrow,
.container--tight {
  width: 100%;
  margin: 0 auto;
  padding-inline: var(--space-6);
}
.container--narrow { max-width: var(--content-default); }
.container--tight { max-width: var(--content-narrow); }

.section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.section--tight { padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }
.section--warm { background: var(--surface-2); }
.section--ink { background: var(--ink); color: #fff; }

/* Gradient rule line */
.gradient-rule {
  height: 2px;
  border: none;
  background: var(--gradient-brand-h);
  opacity: 0.7;
}

/* Small gradient bar above section headers */
.mini-gradient {
  width: 56px;
  height: 3px;
  background: var(--gradient-brand-h);
  border-radius: 2px;
  margin: 0 auto var(--space-5);
}

/* Gradient text */
.gradient-text {
  background: var(--gradient-brand-h);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* === NAVIGATION === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}
.nav--scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 8px 30px -20px rgba(22,19,15,0.35);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  font-size: var(--text-base);
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.nav__logo img { height: 2.1rem; width: auto; }
.nav__logo:hover { color: var(--text-primary); }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-7, 1.75rem);
  list-style: none;
}
.nav__links > li { display: flex; }
.nav__links a {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  position: relative;
}
.nav__links a:hover,
.nav__links a.active { color: var(--text-primary); }
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-brand-h);
  transition: width var(--transition-smooth);
}
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.nav__links .nav__cta {
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}
.nav__links .nav__cta::after { display: none; }
.nav__links .nav__cta:hover { color: #fff; filter: brightness(1.15); }

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  z-index: 110;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    top: 0; right: -100%;
    width: 78%; max-width: 340px;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-8);
    background: rgba(251, 250, 247, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--line);
    transition: right var(--transition-smooth);
    padding: var(--space-8);
  }
  .nav__links.open { right: 0; }
  .nav__links a { font-size: var(--text-lg); }
  .nav__hamburger { display: flex; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.95rem 2rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

/* Primary — solid ink, the premium default */
.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 28px -14px rgba(22,19,15,0.55);
}
.btn--primary:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 18px 36px -14px rgba(22,19,15,0.6);
  filter: brightness(1.12);
}

/* Gradient — reserved for the single standout CTA */
.btn--gradient {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(232, 80, 58, 0.5);
}
.btn--gradient:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 18px 38px -12px rgba(232, 80, 58, 0.6);
  filter: brightness(1.04);
}

/* Ghost — bordered on light */
.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--line);
}
.btn--ghost:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: rgba(22,19,15,0.03);
}

.btn--on-ink {
  background: #fff;
  color: var(--ink);
}
.btn--on-ink:hover { color: var(--ink); transform: translateY(-2px); }

.btn--small { padding: 0.65rem 1.4rem; font-size: var(--text-xs); }

/* === EYEBROW / LABELS === */
.eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
}

/* === HERO === */
.hero {
  position: relative;
  padding: clamp(var(--space-16), 9vw, var(--space-24)) 0 clamp(var(--space-12), 7vw, var(--space-20));
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
}
.hero__eyebrow {
  font-size: var(--text-sm);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}
.hero__headline {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.03;
  margin-bottom: var(--space-6);
}
.hero__sub {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 46ch;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}
.hero__ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.hero__trust {
  margin-top: var(--space-8);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Hero portrait */
.hero__portrait {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--surface-3);
}
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero__portrait::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--gradient-brand-h);
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__ctas { justify-content: center; }
  .hero__portrait { max-width: 380px; margin: 0 auto; order: -1; }
}

/* === CREDENTIAL BADGES === */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}
.badge__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gradient-brand);
  flex-shrink: 0;
}

/* === LOGO BAR === */
.logobar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(var(--space-6), 5vw, var(--space-16));
}
.logobar__item {
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  opacity: 0.85;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}
.logobar__item:hover { color: var(--text-primary); opacity: 1; }
.logobar__label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}

/* === SECTION HEADER === */
.section-header {
  text-align: center;
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}
.section-header__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-3);
}
.section-header__title {
  font-size: var(--text-2xl);
  font-weight: 700;
}
.section-header__sub {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 52ch;
  margin: var(--space-4) auto 0;
  line-height: 1.7;
}
.section-header--left { text-align: left; }
.section-header--left .mini-gradient { margin-inline: 0; }

/* === OFFER CARDS === */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 960px) { .offer-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}
.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
}
.offer-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-brand-h);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}
.offer-card--featured { border-color: rgba(23,163,152,0.4); }
.offer-card--featured::before { opacity: 1; }
.offer-card__price {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-1);
}
.offer-card__price small { font-size: var(--text-sm); font-weight: 400; color: var(--text-muted); }
.offer-card__name {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.offer-card__desc {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: var(--space-6);
}
.offer-card__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap var(--transition-fast), color var(--transition-fast);
}
.offer-card__link:hover { gap: var(--space-3); color: var(--coral); }

/* === PROJECT CARDS === */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 960px) { .project-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.project-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.project-card__tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
.project-card__name { font-size: var(--text-lg); font-weight: 700; }
.project-card__desc { font-size: var(--text-sm); font-weight: 300; color: var(--text-secondary); line-height: 1.7; flex-grow: 1; }
.project-card__link { font-size: var(--text-sm); font-weight: 600; margin-top: var(--space-2); }

/* === TESTIMONIALS / QUOTE === */
.quote-block {
  text-align: center;
  max-width: var(--content-default);
  margin: 0 auto;
  padding-inline: var(--space-6);
}
.quote-block__text {
  font-size: var(--text-xl);
  font-weight: 300;
  font-style: italic;
  color: var(--text-primary);
  max-width: 30ch;
  margin: 0 auto var(--space-6);
  line-height: 1.5;
}
.quote-block__attr { font-size: var(--text-sm); font-weight: 600; color: var(--teal); letter-spacing: 0.03em; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 960px) { .testimonial-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

.testimonial {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.testimonial__text { font-size: var(--text-base); font-weight: 300; color: var(--text-secondary); line-height: 1.7; font-style: italic; }
.testimonial__attr { font-size: var(--text-sm); }
.testimonial__name { font-weight: 700; color: var(--text-primary); }
.testimonial__role { color: var(--text-muted); font-size: var(--text-xs); }

/* === STATS === */
.stats-row {
  display: flex;
  justify-content: center;
  gap: clamp(var(--space-8), 6vw, var(--space-20));
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat__number {
  font-size: var(--text-2xl);
  font-weight: 700;
  background: var(--gradient-brand-h);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat__label { font-size: var(--text-xs); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: var(--space-2); }

/* === SPLIT / EDITORIAL BLOCK === */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}
.split__media {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
  background: var(--surface-3);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body h2 { font-size: var(--text-2xl); margin-bottom: var(--space-5); }
.split__body p {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}
.split__body p strong { color: var(--text-primary); font-weight: 600; }

/* === IMAGE PLACEHOLDER (for future shoot) === */
.img-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(232,80,58,0.06), rgba(23,163,152,0.06)),
    var(--surface-3);
  color: var(--text-muted);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: 100%; height: 100%;
  padding: var(--space-6);
}

/* === LIST WITH GRADIENT DOTS === */
.check-list { list-style: none; padding: 0; margin: var(--space-6) 0; }
.check-list li {
  position: relative;
  padding: var(--space-2) 0 var(--space-2) var(--space-8);
  font-weight: 300;
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: 1.6;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.85em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gradient-brand);
}
.check-list li strong { color: var(--text-primary); font-weight: 600; }

/* === CTA SECTION === */
.cta-section {
  text-align: center;
  padding: clamp(var(--space-16), 10vw, var(--space-32)) var(--space-6);
}
.cta-section__headline { font-size: var(--text-2xl); font-weight: 700; margin-bottom: var(--space-4); }
.cta-section__sub {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 46ch;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}
.cta-section--ink .cta-section__sub { color: rgba(255,255,255,0.72); }

/* === FAQ === */
.faq { max-width: var(--content-default); margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid var(--line);
  padding: var(--space-6) 0;
}
.faq__q { font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-3); }
.faq__a { font-size: var(--text-base); font-weight: 300; color: var(--text-secondary); line-height: 1.75; }

/* === CONTENT (prose) === */
.prose { max-width: var(--content-narrow); margin: 0 auto; }
.prose h2 { font-size: var(--text-2xl); margin: var(--space-10) 0 var(--space-5); }
.prose h3 { font-size: var(--text-xl); margin: var(--space-8) 0 var(--space-4); }
.prose p { font-size: var(--text-base); font-weight: 300; color: var(--text-secondary); line-height: 1.85; margin-bottom: var(--space-5); }
.prose p strong { color: var(--text-primary); font-weight: 600; }

/* === FORM === */
.form { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form__group { display: flex; flex-direction: column; gap: var(--space-2); }
.form__label { font-size: var(--text-sm); font-weight: 500; color: var(--text-secondary); }
.form__input, .form__select, .form__textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.85rem var(--space-4);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}
.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(23,163,152,0.12);
}
.form__textarea { min-height: 150px; resize: vertical; }
.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238A857C' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(var(--space-12), 6vw, var(--space-20)) var(--space-6) var(--space-10);
  background: var(--surface-2);
}
.footer__inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-10);
}
@media (max-width: 768px) { .footer__inner { grid-template-columns: 1fr; gap: var(--space-8); } }
.footer__brand-logo { height: 2.2rem; width: auto; margin-bottom: var(--space-4); }
.footer__tagline { font-size: var(--text-sm); font-weight: 300; color: var(--text-secondary); max-width: 34ch; margin-bottom: var(--space-5); }
.footer__col-title { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--space-4); }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer__links a { font-size: var(--text-sm); font-weight: 400; color: var(--text-secondary); }
.footer__links a:hover { color: var(--text-primary); }
.footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-secondary);
  transition: color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.footer__social a:hover { color: var(--text-primary); border-color: var(--text-primary); transform: translateY(-2px); }
.footer__bottom {
  max-width: var(--content-wide);
  margin: var(--space-12) auto 0;
  padding-top: var(--space-6);
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.footer__copy, .footer__signature { font-size: var(--text-xs); color: var(--text-muted); }
.footer__signature { font-style: italic; }

/* === SCROLL REVEAL === */
.js-loaded .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-loaded .reveal.visible { opacity: 1; transform: translateY(0); }

.js-loaded .reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.js-loaded .reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.js-loaded .reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.13s; }
.js-loaded .reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.21s; }
.js-loaded .reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.29s; }
.js-loaded .reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.37s; }
.js-loaded .reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.45s; }

/* === PAGE HEADER (interior pages) === */
.page-header {
  text-align: center;
  padding: clamp(var(--space-16), 9vw, var(--space-24)) var(--space-6) clamp(var(--space-8), 5vw, var(--space-12));
}
.page-header__eyebrow { font-size: var(--text-sm); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--space-4); }
.page-header__title { font-size: var(--text-3xl); font-weight: 700; margin-bottom: var(--space-5); }
.page-header__sub { font-size: var(--text-lg); font-weight: 300; color: var(--text-secondary); max-width: 54ch; margin: 0 auto; line-height: 1.7; }

/* === UTILITIES === */
.text-center { text-align: center; }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.stack-ctas { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.stack-ctas--center { justify-content: center; }
