/* Butcher & Associates — V3
   Boutique benefits brokerage. Quietly premium. Editorial restraint.
   Palette pulled from real logo: wine burgundy + royal blue + warm off-white.
   Brief design dials: density 55, motion 20, whitespace 70.
*/

:root {
  /* BRAND */
  --primary: #6B1E3D;
  --primary-deep: #4A1428;
  --primary-tint: rgba(107, 30, 61, 0.08);

  --secondary: #1E3A8C;
  --secondary-deep: #14275E;
  --secondary-tint: rgba(30, 58, 140, 0.08);

  --accent: #C49A4A;
  --accent-deep: #9C7831;
  --accent-tint: rgba(196, 154, 74, 0.12);

  /* SURFACES */
  --bg: #EFE7D6;
  --bg-tinted: #E5DBC4;
  --bg-accent: #D9CDB2;
  --surface: #FFFFFF;

  /* INK */
  --ink: #0F2540;
  --ink-muted: #5A6470;
  --ink-soft: #8A95A1;

  /* BORDERS */
  --border: #CFC4AC;
  --border-strong: #B7AC93;

  /* LEGACY ALIASES (keep V2 markup working until rewritten) */
  --bg-primary: var(--bg);
  --bg-secondary: var(--bg-tinted);
  --bg-tertiary: var(--bg-accent);
  --surface-paper: var(--bg);
  --surface-card: var(--surface);
  --surface-tinted: var(--bg-tinted);
  --surface-accent: var(--bg-accent);
  --text-primary: var(--ink);
  --text-secondary: var(--ink-muted);
  --text-muted: var(--ink-soft);
  --accent-primary: var(--primary);
  --accent-warm: var(--primary);
  --accent-warm-hover: var(--primary-deep);
  --accent-trust: var(--secondary);
  --accent-positive: #3A7A4F;
  --border-soft: rgba(15, 37, 64, 0.08);
  --border-medium: rgba(15, 37, 64, 0.16);
  --border-subtle: var(--border-soft);
  --navy-900: var(--ink);
  --navy-700: var(--ink);
  --navy-500: var(--ink-muted);
  --navy-300: var(--ink-soft);
  --navy-100: var(--border-strong);
  --gold-700: var(--accent-deep);
  --gold-500: var(--accent);
  --gold-300: var(--accent);
  --gold-100: var(--accent-tint);

  /* TYPE */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(15, 37, 64, 0.05), 0 1px 3px rgba(15, 37, 64, 0.06);
  --shadow-md: 0 4px 10px rgba(15, 37, 64, 0.06), 0 2px 4px rgba(15, 37, 64, 0.05);
  --shadow-lg: 0 16px 32px rgba(15, 37, 64, 0.08), 0 4px 10px rgba(15, 37, 64, 0.06);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-14: 6rem;
  --space-16: 7.5rem;
  --space-20: 9rem;

  --max-content: 1180px;
  --max-narrow: 760px;
  --max-prose: 680px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Soft paper-grain across the whole page so the warm sand bg never reads flat */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.18  0 0 0 0 0.12  0 0 0 0 0.08  0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  mix-blend-mode: multiply;
}

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

a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(107, 30, 61, 0.4);
  transition: color 160ms ease, text-decoration-color 160ms ease;
}
a:hover { color: var(--primary-deep); text-decoration-color: var(--primary-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.012em;
  margin: 0 0 var(--space-5);
}
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.22rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 var(--space-4); }
p.lead { font-size: 1.18rem; line-height: 1.55; color: var(--ink-muted); }

/* FOCUS */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}
.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--primary-tint);
}

/* SKIP LINK */
.skip-link {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  top: 12px; left: 12px;
  width: auto; height: auto;
  padding: 10px 16px;
  background: var(--primary);
  color: var(--bg);
  border-radius: var(--radius-sm);
  z-index: 1000;
  text-decoration: none;
  font-weight: 600;
}

/* LAYOUT */
.container { max-width: var(--max-content); margin: 0 auto; padding: 0 var(--space-6); }
.container-narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 var(--space-6); }
.container-prose { max-width: var(--max-prose); margin: 0 auto; padding: 0 var(--space-6); }

section { padding: var(--space-16) 0; position: relative; }
section.tight { padding: var(--space-10) 0; }

section.surface,
section.section-tinted { background: var(--bg-tinted); }
section.tertiary,
section.section-accent { background: var(--bg-accent); }
section.section-paper { background: var(--bg); }
section.section-surface { background: var(--surface); }

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  margin: 0;
  border: 0;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(107, 30, 61, 0.08);
}
.site-header__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.site-header__brand {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-3);
}
.site-header__brand:hover { color: var(--primary-deep); text-decoration: none; }
.site-header__brand-sub {
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-nav { display: flex; gap: var(--space-5); align-items: center; }
.site-nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  padding: var(--space-2) 0;
  position: relative;
}
.site-nav a:hover { color: var(--primary); }
.site-nav a.is-current { color: var(--primary); }
.site-nav a.is-current::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--primary);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.005em;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease, color 180ms ease, border-color 180ms ease;
  will-change: transform;
}
.btn-primary {
  background: var(--primary);
  color: var(--bg);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--primary-deep); color: var(--bg); transform: translateY(-1px); box-shadow: var(--shadow-md); text-decoration: none; }

.btn-warm {
  background: var(--primary);
  color: var(--bg);
}
.btn-warm:hover { background: var(--primary-deep); color: var(--bg); transform: translateY(-1px); text-decoration: none; }

.btn-secondary {
  background: var(--secondary);
  color: var(--bg);
}
.btn-secondary:hover { background: var(--secondary-deep); color: var(--bg); transform: translateY(-1px); text-decoration: none; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-tinted); color: var(--ink); text-decoration: none; }

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: var(--space-16) 0 var(--space-14);
  background: #1a0f17;
  color: #F4EFE6;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) { .hero { min-height: 560px; } }

/* Layer 1 — hazy photographic background */
.hero__bg {
  position: absolute;
  inset: -8% 0 0 0;
  z-index: 0;
  overflow: hidden;
}
.hero__bg img {
  width: 100%;
  height: 108%;
  object-fit: cover;
  filter: saturate(0.70) brightness(0.78) contrast(1.05); opacity: 0.78;
  transform: translate3d(0, 0, 0) scale(1.08);
  will-change: transform;
}

/* Layer 2 — dim wash: burgundy + navy multiplied over the image; fades to page bg at the bottom */
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 22% 30%, rgba(74, 20, 40, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 82% 75%, rgba(20, 39, 94, 0.50) 0%, transparent 55%),
    linear-gradient(180deg,
      rgba(42, 14, 29, 0.62) 0%,
      rgba(20, 18, 38, 0.40) 35%,
      rgba(20, 39, 94, 0.22) 65%,
      rgba(239, 231, 214, 0.92) 100%);
  pointer-events: none;
}

/* Layer 3 — golden sun haze, slow breath */
.hero__sunhaze {
  position: absolute;
  top: 4%; right: 4%;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(244, 196, 132, 0.55) 0%, rgba(244, 196, 132, 0.18) 35%, rgba(244, 196, 132, 0) 70%);
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: hero-breathe 14s ease-in-out infinite;
  filter: blur(8px);
}
@keyframes hero-breathe {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
  50%      { transform: translate(-18px, 12px) scale(1.06); opacity: 0.78; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__sunhaze { animation: none; }
  .hero__bg img  { transform: none !important; }
}

/* Layer 4 — film-grain texture for tactility */
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 3;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.10 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.30;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Content sits above all four layers */
.hero .container { position: relative; z-index: 5; }

/* Light-on-dark text treatment to read on the hazy bg */
.hero .hero__eyebrow { color: #E8C887; }
.hero .hero__h1      { color: #FBF5EA; text-shadow: 0 1px 24px rgba(0,0,0,0.35); }
.hero .hero__sub     { color: rgba(251, 245, 234, 0.92); text-shadow: 0 1px 12px rgba(0,0,0,0.30); }
.hero .hero__phoneline   { color: rgba(251, 245, 234, 0.92); }
.hero .hero__phoneline a { color: #E8C887; }
.hero .hero__phoneline a:hover { color: #F3D9A3; }
.hero .hero__meta        { border-top-color: rgba(251, 245, 234, 0.18); color: rgba(251, 245, 234, 0.80); }
.hero .hero__meta strong { color: #F3D9A3; }
.hero .btn-primary       { background: #E8C887; color: #2A0E1D; box-shadow: 0 4px 20px rgba(0,0,0,0.28); }
.hero .btn-primary:hover { background: #F3D9A3; color: #2A0E1D; }


.hero.hero-image { min-height: 560px; padding: var(--space-20) 0 var(--space-16); }
.hero .hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 37, 64, 0.55) 0%, rgba(15, 37, 64, 0.78) 100%);
}
.hero.hero-image .container { position: relative; z-index: 2; }
.hero.hero-image .hero__h1,
.hero.hero-image .hero__sub,
.hero.hero-image .hero__meta strong,
.hero.hero-image .hero__meta span { color: var(--bg); }

.hero .container { position: relative; z-index: 2; }

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-5);
}
.hero__h1 {
  max-width: 18ch;
  margin-bottom: var(--space-5);
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 500;
}
.hero__sub {
  max-width: 62ch;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink-muted);
  margin-bottom: var(--space-6);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.hero__phoneline {
  font-family: var(--font-body);
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.hero__phoneline a { color: var(--secondary); font-weight: 600; text-decoration: none; }
.hero__phoneline a:hover { color: var(--secondary-deep); text-decoration: underline; }

.hero__meta {
  margin-top: var(--space-8);
  font-size: 0.88rem;
  color: var(--ink-soft);
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}
.hero__meta strong { color: var(--ink-muted); font-weight: 600; }

.hero-narrow {
  padding: var(--space-12) 0 var(--space-8);
  background: linear-gradient(180deg, var(--bg-tinted) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.hero-narrow::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), transparent);
}
.hero-narrow.hero-narrow-image { padding: var(--space-16) 0 var(--space-12); overflow: hidden; position: relative; }
.hero-narrow .hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-narrow .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-narrow .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 37, 64, 0.62) 0%, rgba(15, 37, 64, 0.82) 100%);
}
.hero-narrow.hero-narrow-image .container { position: relative; z-index: 2; }
.hero-narrow.hero-narrow-image h1,
.hero-narrow.hero-narrow-image p { color: var(--bg); }
.hero-narrow.hero-narrow-image p { color: rgba(250, 248, 244, 0.85); }
.hero-narrow.hero-narrow-image .hero-narrow__eyebrow { color: var(--accent); }

.hero-narrow__eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-3);
  display: block;
}
.hero-narrow h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: var(--space-3); }
.hero-narrow p { color: var(--ink-muted); font-size: 1.05rem; max-width: 60ch; }

/* GULF COAST PARALLAX SVG */
.coastline {
  z-index: 2;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 220%;
  max-width: none;
  height: 80px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.42;
  color: var(--ink-muted);
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.coastline path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }

@media (max-width: 768px) {
  .coastline { width: 140%; height: 60px; opacity: 0.18; }
}

@media (prefers-reduced-motion: reduce) {
  .coastline { transform: none !important; }
}

/* TRUST STRIP */
.trust-strip {
  padding: var(--space-6) 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.trust-strip__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.trust-strip__item { display: flex; align-items: center; gap: var(--space-2); }
.trust-strip__label {
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

/* SECTION HEADS */
.section-head { max-width: 60ch; margin: 0 auto var(--space-10); text-align: center; }
.section-head.left { margin: 0 0 var(--space-10); text-align: left; }
.section-head__eyebrow {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-3);
  display: inline-block;
}
.section-head p { color: var(--ink-muted); font-size: 1.05rem; }

/* CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}
.card-grid.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid.four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 220ms ease, transform 220ms ease, border-color 220ms ease;
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card.featured { border-left: 3px solid var(--primary); }
.card h3 { margin-bottom: var(--space-3); font-size: 1.15rem; }
.card p { color: var(--ink-muted); font-size: 0.98rem; margin-bottom: var(--space-3); }
.card__meta {
  font-family: var(--font-body);
  font-size: 0.74rem;
  color: var(--ink-soft);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.card__link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.card__link:hover { color: var(--primary-deep); text-decoration: underline; }

/* FEATURE ROW */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}
.feature-row.reverse > :first-child { order: 2; }
.feature-row__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--bg-tinted);
}
.feature-row__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-row__media::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(15, 37, 64, 0.08);
  pointer-events: none;
}
.feature-row h2 { margin-top: 0; }
.feature-row p { color: var(--ink-muted); }

/* PAGE IMAGE */
.page-image {
  position: relative;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 0 var(--space-8);
  box-shadow: var(--shadow-md);
}
.page-image img { width: 100%; height: 100%; object-fit: cover; }
.page-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 37, 64, 0.06) 0%, rgba(15, 37, 64, 0.22) 100%);
  pointer-events: none;
}

/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
}
.step { padding-top: var(--space-3); border-top: 2px solid var(--primary); }
.step__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
}
.step h3 { margin: 0 0 var(--space-2); font-size: 1.08rem; }
.step p { color: var(--ink-muted); font-size: 0.95rem; margin: 0; }

.step-detailed {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--space-8);
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--border);
}
.step-detailed:last-child { border-bottom: 0; }
.step-detailed__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.step-detailed__body h2 { font-size: 1.6rem; margin-bottom: var(--space-3); }
.step-detailed__body h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: var(--space-5) 0 var(--space-2);
}
.step-detailed__body p { color: var(--ink-muted); }
.step-detailed__body ul { color: var(--ink-muted); padding-left: 1.2rem; margin: 0 0 var(--space-4); }
.step-detailed__body ul li { margin-bottom: var(--space-2); }

/* CALLOUT */
.callout {
  background: var(--surface);
  border-left: 3px solid var(--primary);
  padding: var(--space-6) var(--space-6);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
}
.callout h3 { margin-bottom: var(--space-3); }
.callout p { color: var(--ink); margin-bottom: var(--space-4); }

/* FAQ */
.faq-list { max-width: var(--max-prose); margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: var(--space-4) 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  padding-right: var(--space-6);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform 200ms ease;
  font-family: var(--font-body);
  font-weight: 400;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { color: var(--ink-muted); margin-top: var(--space-3); font-size: 1rem; line-height: 1.65; }

/* FORMS */
.form-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-grid > .full { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; gap: var(--space-2); }
.form-field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.form-field label .required-mark { color: var(--primary); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--surface);
  transition: border-color 160ms ease, box-shadow 160ms ease;
  font-family: var(--font-body);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-tint);
}
.form-field__hint { font-size: 0.82rem; color: var(--ink-soft); }
.form-field textarea { resize: vertical; min-height: 96px; }
.form-status { margin-top: var(--space-3); font-size: 0.92rem; }
.form-status--success { color: var(--accent-positive); font-weight: 600; }
.form-status--error { color: var(--primary); font-weight: 600; }

/* BIOS */
.bio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
}
.bio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 220ms ease, transform 220ms ease;
}
.bio-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.bio-card__portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-tinted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 2.4rem;
  overflow: hidden;
}
.bio-card__portrait img { width: 100%; height: 100%; object-fit: cover; }
.bio-card__portrait-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: var(--space-3);
  background: linear-gradient(180deg, transparent 50%, rgba(15, 37, 64, 0.7) 100%);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.bio-card__body { padding: var(--space-5); flex: 1; display: flex; flex-direction: column; }
.bio-card h3 { margin-bottom: var(--space-1); font-size: 1.1rem; }
.bio-card__role {
  font-family: var(--font-body);
  font-size: 0.74rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.bio-card__body p { color: var(--ink-muted); font-size: 0.92rem; margin-bottom: var(--space-3); }
.bio-card__contact {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.bio-card__contact a { color: var(--secondary); text-decoration: none; }
.bio-card__contact a:hover { text-decoration: underline; color: var(--secondary-deep); }

.bio {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-8);
  align-items: start;
}
.bio__portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--bg-tinted);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 2.4rem;
  border: 1px solid var(--border);
  overflow: hidden;
}
.bio__portrait img { width: 100%; height: 100%; object-fit: cover; }
.bio h3 { margin-bottom: var(--space-1); }
.bio__role { font-size: 0.9rem; color: var(--primary); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: var(--space-4); }
.bio__credentials {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

/* TIMELINE */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-6);
}
.timeline__item { border-left: 2px solid var(--primary); padding-left: var(--space-4); }
.timeline__year {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-2);
}
.timeline__item p { color: var(--ink-muted); font-size: 0.95rem; margin: 0; }

/* TRANSPARENCY */
.transparency {
  background: var(--bg-tinted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-8);
}
.transparency h3 { margin-bottom: var(--space-3); font-size: 1.2rem; }
.transparency p { color: var(--ink); font-size: 1rem; margin-bottom: var(--space-3); }
.transparency p:last-child { margin-bottom: 0; }

/* EDUCATION BLOCK */
.education {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--secondary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-8);
}
.education__eyebrow {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  display: block;
  margin-bottom: var(--space-3);
}
.education h2 { color: var(--ink); }
.education h4 { margin-top: var(--space-4); font-size: 1.1rem; }
.education p { color: var(--ink-muted); }
.education__detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-6);
}
.education__detail h4 { margin: 0 0 var(--space-2); }
.education__detail p { font-size: 0.95rem; margin: 0; }

/* TESTIMONIAL */
.testimonial {
  background: var(--bg);
  border-left: 3px solid var(--accent);
  padding: var(--space-6) var(--space-8);
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.45;
  color: var(--ink);
  font-style: italic;
  font-weight: 400;
}
.testimonial::before {
  content: '\201C';
  font-size: 3rem;
  line-height: 0;
  color: var(--accent);
  vertical-align: -0.2em;
  margin-right: 0.1em;
}
.testimonial__attribution {
  display: block;
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: normal;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* NEED-FROM-CLIENT marker */
[data-need-from-client] {
  position: relative;
  outline: 1px dashed rgba(196, 154, 74, 0.55);
  outline-offset: 4px;
}
[data-need-from-client]::before {
  content: 'NEEDS CLIENT INPUT';
  position: absolute;
  top: -10px;
  left: 8px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 2px 7px;
  border-radius: 2px;
  z-index: 5;
  text-transform: uppercase;
}
.need-from-client {
  color: var(--ink-soft);
  font-style: italic;
}

/* FOOTER */
.site-footer {
  background: var(--ink);
  color: rgba(250, 248, 244, 0.78);
  padding: var(--space-10) 0 var(--space-6);
  margin-top: var(--space-12);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
}
.site-footer a { color: rgba(250, 248, 244, 0.85); text-decoration-color: transparent; }
.site-footer a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}
.site-footer h4 {
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--space-2); font-size: 0.93rem; }
.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--bg);
  margin-bottom: var(--space-3);
  font-weight: 600;
}
.site-footer__tagline { font-size: 0.92rem; color: rgba(250, 248, 244, 0.7); max-width: 38ch; margin-bottom: var(--space-4); }
.site-footer__license { font-family: var(--font-body); font-size: 0.82rem; color: rgba(250, 248, 244, 0.65); }
.site-footer__address { font-style: normal; line-height: 1.5; color: rgba(250, 248, 244, 0.78); font-size: 0.92rem; }
.site-footer__address a { color: rgba(250, 248, 244, 0.85); text-decoration: none; }
.site-footer__bottom {
  border-top: 1px solid rgba(250, 248, 244, 0.12);
  padding-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(250, 248, 244, 0.55);
}

/* ERROR / THANK YOU */
.error-block { text-align: center; padding: var(--space-20) 0; }
.error-block__code { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 7rem); color: var(--primary); line-height: 1; margin-bottom: var(--space-4); font-weight: 500; }
.error-block h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: var(--space-4); }
.error-block p { color: var(--ink-muted); max-width: 50ch; margin: 0 auto var(--space-6); }
.error-block__links { display: flex; justify-content: center; gap: var(--space-3); flex-wrap: wrap; }

/* REVEAL ON SCROLL */
[data-reveal] {
  transition: opacity 600ms ease, transform 600ms ease;
  will-change: opacity, transform;
}
body.js-loaded [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}
body.js-loaded [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
body:not(.js-loaded) [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  body.js-loaded [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* MOBILE */
@media (max-width: 860px) {
  .site-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: var(--space-3);
    align-items: stretch;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: var(--space-3) 0; border-bottom: 1px solid var(--border); }
  .site-nav a:last-child { border-bottom: 0; }
  .nav-toggle { display: inline-flex; }
  .site-header { position: relative; }

  .form-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .bio { grid-template-columns: 1fr; gap: var(--space-4); }
  .bio__portrait { max-width: 200px; }
  .feature-row { grid-template-columns: 1fr; gap: var(--space-6); }
  .feature-row.reverse > :first-child { order: 0; }
  .step-detailed { grid-template-columns: 1fr; gap: var(--space-3); }
  .step-detailed__num { font-size: 2.4rem; }
  section { padding: var(--space-10) 0; }
  .hero { padding: var(--space-10) 0 var(--space-10); }
  .hero.hero-image { min-height: 460px; padding: var(--space-12) 0 var(--space-10); }
  .page-image { height: 220px; }
}

@media (max-width: 480px) {
  .hero__ctas { width: 100%; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }
}

/* Phase B: anchors used as card containers */
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { transform: translateY(-2px); }
