/* Yessayi Group: design tokens first, every component built from them. */
:root {
  --navy: #0d1828;        /* dark ground: header, hero, bands */
  --navy-2: #15243a;      /* dark surface */
  --paper: #f2f4f7;       /* light ground */
  --white: #ffffff;       /* light surface */
  --ink: #0d1828;         /* text on light */
  --muted: #4a5566;       /* secondary text on light */
  --on-dark: #ffffff;     /* text on navy */
  --on-dark-muted: #b3bdcc; /* secondary text on navy */
  --line: #d7dce4;        /* hairlines on light */
  --line-dark: #2a3a52;   /* hairlines on navy */
  --accent: #ee8b23;      /* primary action only (from the Yessayi mark) */
  --accent-hover: #f3a046;
  --mark-red: #d64223;
  --mark-blue: #362d7a;
  --mark-orange: #ee8b23;
  --focus-light: #362d7a;
  --focus-dark: #ee8b23;
  --error: #b42318;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Source Serif 4", Georgia, "Times New Roman", serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --r1: 2px; --r2: 6px; --r3: 12px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1200px;
  --gutter: 20px;
}
@media (min-width: 768px) { :root { --gutter: 40px; } }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s4);
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.9vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.2; }
p { margin: 0 0 var(--s4); }
p, li, dd, dt, figcaption, blockquote { text-wrap: pretty; }
.lede, .kicker, .section-head p, .cta-band p, .triad p, .triad-note p, .pillar p, .record dd, .define, .form-note, .facts dd { text-wrap: balance; }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-color: currentColor; }
::selection { background: var(--accent); color: var(--navy); }
:focus-visible { outline: 3px solid var(--focus-light); outline-offset: 3px; border-radius: var(--r1); }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--focus-dark); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ui { font-family: var(--font-display); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s4); top: -100px; z-index: 100; background: var(--accent); color: var(--navy); padding: var(--s2) var(--s4); font-family: var(--font-display); font-weight: 700; border-radius: var(--r2); }
.skip:focus { top: var(--s4); }

/* The signature: the tricolor rule from the Yessayi mark */
.tri { display: flex; gap: 4px; margin: 0 0 var(--s5); }
.tri span { display: block; width: 28px; height: 4px; border-radius: 1px; }
.tri span:nth-child(1) { background: var(--mark-red); }
.tri span:nth-child(2) { background: var(--mark-blue); }
.tri span:nth-child(3) { background: var(--mark-orange); }
.dark .tri span:nth-child(2) { background: #756cd4; }

.kicker { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; color: var(--muted); margin: 0 0 var(--s3); }
.dark .kicker { color: var(--on-dark-muted); }
.lede { font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.55; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 52px; padding: 14px 24px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; line-height: 1.2;
  text-decoration: none; border-radius: var(--r2); border: 2px solid transparent; cursor: pointer;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.light .btn-ghost:hover, .btn-ghost.on-light:hover { background: rgba(13,24,40,0.06); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.text-link { font-family: var(--font-display); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.text-link svg { width: 18px; height: 18px; transition: transform 180ms var(--ease-out); }
.text-link:hover svg { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s4); align-items: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; color: var(--on-dark); }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand-name { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 1.12rem; letter-spacing: 0.06em; line-height: 1; text-transform: uppercase; }
.brand-name small { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.32em; color: var(--on-dark-muted); margin-top: 5px; }
.nav-toggle { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; min-width: 44px; padding: 0 var(--s3); background: transparent; color: var(--on-dark); border: 1px solid var(--line-dark); border-radius: var(--r2); font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { font-family: var(--font-display); font-weight: 600; text-decoration: none; color: var(--on-dark); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.site-nav a.btn-primary { color: var(--navy); }
.nav-open .site-nav { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-bottom: 1px solid var(--line-dark); padding: var(--s3) var(--gutter) var(--s6); }
.nav-open .site-nav li a { display: flex; align-items: center; min-height: 52px; font-size: 1.2rem; border-bottom: 1px solid var(--line-dark); }
.nav-open .site-nav .btn { margin-top: var(--s5); width: 100%; }
.no-js .site-nav { display: block; }
.no-js .nav-toggle { display: none; }
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .site-nav, .nav-open .site-nav { display: flex; position: static; padding: 0; border: 0; align-items: center; gap: var(--s6); }
  .site-nav ul { display: flex; gap: var(--s6); }
  .site-nav li a, .nav-open .site-nav li a { display: inline-flex; min-height: 44px; font-size: 1rem; border: 0; }
  .site-nav li a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 8px; }
  .site-nav .btn, .nav-open .site-nav .btn { margin: 0; width: auto; min-height: 44px; padding: 10px 18px; font-size: 0.95rem; }
}

/* Sections */
.section { padding: var(--s8) 0; }
@media (min-width: 768px) { .section { padding: var(--s9) 0; } }
.dark { background: var(--navy); color: var(--on-dark); }
.dark .muted, .dark p.muted { color: var(--on-dark-muted); }
.light { background: var(--white); }
.muted { color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: var(--s7); }
.section-head p { color: var(--muted); }
.dark .section-head p { color: var(--on-dark-muted); }

/* Hero */
.hero { padding: var(--s7) 0 0; overflow: hidden; }
.hero-grid { display: grid; gap: var(--s7); grid-template-columns: minmax(0, 1fr); align-items: end; }
.hero-copy { padding-bottom: var(--s2); }
.hero h1 { margin-bottom: var(--s5); }
.hero .lede { color: #dde3ec; max-width: 34em; margin-bottom: var(--s4); }
.define { font-size: 1rem; line-height: 1.55; color: var(--on-dark-muted); max-width: 36em; margin-bottom: var(--s6); padding-left: var(--s4); border-left: 2px solid var(--line-dark); }
.define b { font-family: var(--font-display); color: var(--on-dark); font-weight: 700; }
.hero-call { margin: var(--s5) 0 0; font-family: var(--font-display); color: var(--on-dark-muted); font-size: 1rem; }
.hero-call a { color: var(--on-dark); font-weight: 700; }
.hero-figure { margin: 0 calc(var(--gutter) * -1); position: relative; }
.hero-figure img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 12%; }
.hero-figure figcaption { position: absolute; left: var(--gutter); bottom: var(--s5); right: var(--gutter); }
.triad-tag { display: inline-grid; gap: 6px; background: rgba(13,24,40,0.86); padding: var(--s3) var(--s4); border-radius: var(--r2); font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--on-dark); }
.triad-tag span { display: flex; align-items: center; gap: 10px; }
.triad-tag span::before { content: ""; width: 4px; height: 16px; border-radius: 1px; background: var(--c); }
@media (min-width: 900px) {
  .hero { padding-top: var(--s9); }
  .hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: var(--s8); }
  .hero-copy { padding-bottom: var(--s9); }
  .hero-figure { margin: 0; }
  .hero-figure img { aspect-ratio: 720 / 1000; border-radius: var(--r3) var(--r3) 0 0; }
}

/* Page hero (inner pages) */
.page-hero { padding: var(--s8) 0; }
.page-hero-grid { display: grid; gap: var(--s7); grid-template-columns: minmax(0, 1fr); align-items: center; }
.page-hero .lede { color: #dde3ec; max-width: 36em; }
.page-hero figure { margin: 0; }
.page-hero figure img { width: 100%; aspect-ratio: 860 / 784; object-fit: cover; border-radius: var(--r3); }
@media (min-width: 900px) {
  .page-hero { padding: var(--s9) 0; }
  .page-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s8); }
}

/* Triad: The Connector / The Operator / The Standard */
.triad { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.triad > div { padding: var(--s6) 0; border-bottom: 1px solid var(--line); }
.triad h3 { display: flex; align-items: center; gap: var(--s3); font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: var(--s3); }
.triad h3::before { content: ""; width: 6px; height: 1.05em; border-radius: 1px; background: var(--c); flex: none; }
.triad p { margin: 0; color: var(--muted); max-width: 30em; }
.triad > div:last-child { border-bottom: 0; }
@media (min-width: 900px) {
  .triad { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; }
  .triad > div { padding: var(--s2) var(--s6) var(--s2) 0; border-bottom: 0; }
  .triad > div + div { border-left: 1px solid var(--line); padding-left: var(--s6); }
}
.triad-note { margin-top: var(--s7); display: flex; flex-wrap: wrap; gap: var(--s4) var(--s6); align-items: center; justify-content: space-between; padding-top: var(--s6); border-top: 1px solid var(--line); }
.triad-note p { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.4rem); max-width: 40em; }

/* Split (image + text) */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7); align-items: center; }
.split figure { margin: 0; }
.split figure img { width: 100%; aspect-ratio: 860 / 784; object-fit: cover; border-radius: var(--r3); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s9); }
  .split.flip figure { order: 2; }
}

/* Pillars */
.pillars { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7) var(--s6); }
.pillar img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 8%; border-radius: var(--r3); margin-bottom: var(--s5); }
.pillar h3 { margin-bottom: var(--s3); }
.pillar p { color: var(--muted); margin-bottom: var(--s2); max-width: 34em; }
.pillar .text-link { margin-top: var(--s1); }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s8) var(--s7); } }

/* Track record */
.record { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line-dark); }
.record > div { padding: var(--s5) 0; border-bottom: 1px solid var(--line-dark); display: grid; gap: var(--s1); }
.record dt { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.15; }
.record dd { margin: 0; color: var(--on-dark-muted); }
@media (min-width: 768px) {
  .record { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s7); }
}


/* Quotes */
.quotes { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7); } }
.quote { margin: 0; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 var(--s5); font-size: 1.12rem; line-height: 1.55; }
.quote blockquote p::before { content: "\201C"; }
.quote blockquote p::after { content: "\201D"; }
.who { display: flex; align-items: center; gap: var(--s4); margin-top: auto; font-family: var(--font-display); font-size: 0.98rem; line-height: 1.35; }
.who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.who b { display: block; font-weight: 700; }
.who span { color: var(--muted); }

/* Steps (first 90 days) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; padding: var(--s5) 0 var(--s6); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 var(--s4); }
.steps li::before { content: counter(step); grid-row: span 3; font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--mark-blue); }
.steps h3 { margin: 0 0 var(--s1); }
.steps .when { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--muted); margin: 0 0 var(--s2); }
.steps p { margin: 0; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps li { grid-template-columns: minmax(0, 1fr); padding: var(--s5) var(--s5) 0 0; border-bottom: 0; }
  .steps li + li { border-left: 1px solid var(--line); padding-left: var(--s5); }
  .steps li::before { grid-row: auto; margin-bottom: var(--s4); font-size: 3rem; }
}

/* Pull quote */
.pull { margin: 0; max-width: 900px; }
.pull blockquote { margin: 0 0 var(--s5); font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: clamp(1.55rem, 3.2vw, 2.4rem); line-height: 1.2; letter-spacing: -0.01em; }
.pull figcaption { font-family: var(--font-display); color: var(--muted); font-size: 1rem; }
.dark .pull figcaption { color: var(--on-dark-muted); }

/* CTA band */
.cta-band { padding: var(--s8) 0; }
@media (min-width: 768px) { .cta-band { padding: var(--s9) 0; } }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); align-items: end; }
.cta-band h2 { max-width: 16em; }
.cta-band p { color: var(--on-dark-muted); max-width: 38em; margin: 0; }
.cta-contact { margin-top: var(--s5); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); font-family: var(--font-display); }
.cta-contact a { color: var(--on-dark); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 900px) { .cta-grid { grid-template-columns: minmax(0, 1.4fr) auto; gap: var(--s8); } }

/* Bio */
.facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6) var(--s7); margin: 0; }
.facts > div { border-top: 2px solid var(--ink); padding-top: var(--s4); }
.facts dt { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: var(--s2); }
.facts dd { margin: 0; color: var(--muted); }
.facts ul { margin: 0; padding-left: 1.1em; }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.prose { max-width: 680px; }
.prose p { font-size: 1.12rem; }
.prose p.big { font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.3; letter-spacing: -0.01em; }
.namesake { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); align-items: center; }
.namesake svg { width: 120px; height: 120px; }
@media (min-width: 768px) { .namesake { grid-template-columns: 200px minmax(0, 1fr); gap: var(--s8); } .namesake svg { width: 200px; height: 200px; } }
.social-links { list-style: none; margin: var(--s4) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); font-family: var(--font-display); font-weight: 600; }
.social-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* Testimonials */
.testimonials { display: grid; gap: 0; }
.testimonial:first-child { border-top: 1px solid var(--line); }
.testimonial { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5) var(--s7); padding: var(--s7) 0; border-bottom: 1px solid var(--line); }
.testimonial .person { display: flex; gap: var(--s4); align-items: center; font-family: var(--font-display); line-height: 1.35; }
.testimonial .person img { width: 88px; height: 88px; border-radius: var(--r3); object-fit: cover; flex: none; }
.testimonial .person b { display: block; font-size: 1.1rem; }
.testimonial .person span { display: block; color: var(--muted); font-size: 0.98rem; }
.testimonial blockquote { margin: 0; font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.5; }
.testimonial blockquote > p:first-child::before { content: "\201C"; }
.testimonial blockquote > p:first-child::after { content: "\201D"; }
.letter { margin-top: var(--s5); }
.letter summary { font-family: var(--font-display); font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; list-style: none; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.letter summary::-webkit-details-marker { display: none; }
.letter summary svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.letter[open] summary svg { transform: rotate(180deg); }
.letter .letter-body { margin-top: var(--s4); padding: var(--s5); background: var(--paper); border-radius: var(--r2); font-size: 1.05rem; }
.letter .letter-body p:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .testimonial { grid-template-columns: 300px minmax(0, 1fr); }
  .testimonial .person { flex-direction: column; align-items: flex-start; }
  .testimonial .person img { width: 120px; height: 120px; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s8); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s9); } }
.book-card { background: var(--navy); color: var(--on-dark); border-radius: var(--r3); padding: var(--s6); margin-bottom: var(--s6); }
.book-card h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.book-card p { color: var(--on-dark-muted); }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--s3); padding: var(--s4) 0; border-bottom: 1px solid var(--line); align-items: start; }
.contact-list svg { width: 22px; height: 22px; margin-top: 4px; color: var(--mark-blue); }
.contact-list b { display: block; font-family: var(--font-display); font-size: 0.95rem; color: var(--muted); font-weight: 600; }
.contact-list a { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r3); padding: var(--s6) var(--s5); }
@media (min-width: 768px) { .form { padding: var(--s7); } }
.form h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.field { margin-bottom: var(--s5); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--s4); }
@media (min-width: 600px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; margin-bottom: var(--s2); }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid #8c96a6; border-radius: var(--r2); padding: 12px 14px; min-height: 50px;
  caret-color: var(--mark-blue); transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--mark-blue); box-shadow: 0 0 0 3px rgba(54,45,122,0.25); }
.field .err { display: none; color: var(--error); font-family: var(--font-display); font-size: 0.92rem; margin-top: var(--s2); }
.field.invalid input, .field.invalid textarea { border-color: var(--error); }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.95rem; color: var(--muted); margin-top: var(--s4); margin-bottom: 0; }

/* Footer */
.site-footer { background: #091220; color: var(--on-dark); padding: var(--s8) 0 var(--s6); font-family: var(--font-display); font-size: 0.98rem; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.footer-about { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s7); } .footer-about { grid-column: auto; } }
.site-footer h2 { font-size: 0.95rem; font-stretch: 100%; letter-spacing: 0.04em; color: var(--on-dark-muted); font-weight: 600; margin-bottom: var(--s3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a, .site-footer address a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.site-footer li a:hover, .site-footer address a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.site-footer address { font-style: normal; color: var(--on-dark-muted); line-height: 1.6; }
.site-footer address a { color: var(--on-dark); }
.footer-about p { color: var(--on-dark-muted); max-width: 30em; }
.footer-about .brand { margin-bottom: var(--s4); }
.powers { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line-dark); }
.powers a { color: var(--on-dark); font-weight: 600; }
.footer-base { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: 0.9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); }
.footer-base p { margin: 0; }

/* Simple centered page (thanks, 404) */
.simple { min-height: 60vh; display: flex; align-items: center; padding: var(--s9) 0; }
.simple .wrap > div { max-width: 640px; }

/* Motion: one quiet entrance on the hero, visible without JS */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 700ms var(--ease-out) both; }
  .hero-copy > *:nth-child(2) { animation-delay: 60ms; }
  .hero-copy > *:nth-child(3) { animation-delay: 120ms; }
  .hero-copy > *:nth-child(4) { animation-delay: 180ms; }
  .hero-copy > *:nth-child(5) { animation-delay: 240ms; }
}
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }

/* Spacing helpers */
.after { margin-top: var(--s7); margin-bottom: 0; }
.after-sm { margin-top: var(--s6); margin-bottom: 0; }
.actions.spaced { margin-top: var(--s6); margin-bottom: var(--s6); }

.pillar img.pos-face { object-position: 50% 42%; }
/* Centered page hero (Client Impact) */
.page-hero.center .wrap { text-align: center; }
.page-hero.center .tri { justify-content: center; }
.page-hero.center h1 { max-width: 15em; margin-left: auto; margin-right: auto; }
.page-hero.center .lede { max-width: 32em; margin: 0 auto; }
.nw { white-space: nowrap; }
.btn { text-wrap: balance; }
@media (max-width: 420px) { .btn { font-size: 0.94rem; padding: 14px 14px; gap: 6px; letter-spacing: -0.005em; } .btn svg { width: 18px; height: 18px; } }
@media (max-width: 420px) { .book-card { padding: var(--s5) var(--s4); } }
.who > span > span, .testimonial .person span, .prose p.big, .pull blockquote, .book-card p, .form p.muted, .facts dt { text-wrap: balance; }
.who > span > span { display: block; }
.steps li { align-content: start; }
.record > div { align-content: start; }
