/* ChalkForge — design tokens per ../../design-system-README.md and ../brief.md.
   CTA color confirmed by owner as blue (#00AAEC), not the prototype's raw default. */

@font-face {
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/assistant/v19/2sDPZGJYnIjSi6H75xkZZE1I0yCmYzzQtuZnEGGf3qGuvM4.woff2) format('woff2');
}

:root {
  --ink: #020402;
  --paper: #FCFCFA;
  --alt-bg: #F4F4EE;
  --border: #E8E8E2;
  --body-copy: #44453F;
  --muted: #8A8A82;
  --nav-muted: #6B6C66;
  --footer-muted: #8A8A82;
  --footer-border: #2A2C28;

  --blue: #00AAEC;
  --green: #00C83E;
  --amber: #FFB000;
  --pink: #FE4EFF;
  --cta: #00AAEC;

  --radius-card: 14px;
  --radius-btn: 10px;
  --max-width: 1160px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--paper); }
body {
  font-family: 'Assistant', Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.5;
}
h1, h2, h3 { font-family: 'Assistant', Helvetica, Arial, sans-serif; font-weight: 900; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--blue); }
img { max-width: 100%; display: block; }
input, textarea, select, button { font-family: 'Assistant', Helvetica, Arial, sans-serif; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252,252,250,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 32px; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark {
  display: grid; grid-template-columns: repeat(2, 11px); grid-template-rows: repeat(2, 11px); gap: 3px;
}
.logo-mark span { width: 11px; height: 11px; border: 2.5px solid; }
.logo-mark span:nth-child(1) { border-color: var(--blue); }
.logo-mark span:nth-child(2) { border-color: var(--green); transform: translate(-3px, 3px); }
.logo-mark span:nth-child(3) { border-color: var(--amber); transform: translate(3px, -2px); }
.logo-mark span:nth-child(4) { border-color: var(--pink); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-word { font-size: 22px; letter-spacing: -0.01em; }
.logo-word .light { font-weight: 400; }
.logo-word .bold { font-weight: 900; }
.logo-tagline { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }
.logo-img { height: 44px; width: auto; max-width: 220px; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; row-gap: 10px; }
.nav-links a { font-weight: 700; font-size: 15px; color: var(--nav-muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

.btn {
  display: inline-block; text-decoration: none; font-weight: 800; border-radius: var(--radius-btn);
  border: none; cursor: pointer; white-space: nowrap; font-size: 15px;
}
.btn-primary { background: var(--cta); color: var(--ink); padding: 11px 22px; }
.btn-primary:hover { filter: brightness(1.06); color: var(--ink); }
.btn-primary.btn-lg { font-size: 17px; padding: 15px 30px; }
.btn-outline { background: transparent; border: 2px solid var(--ink); padding: 12px 24px; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-outline.btn-lg { padding: 13px 28px; font-size: 17px; }
.btn-dark { background: var(--ink); color: var(--paper); padding: 15px 26px; border: none; }
.btn-dark:hover { opacity: 0.85; color: var(--paper); }

/* ---------- Layout helpers ---------- */
.section { padding-top: 80px; padding-bottom: 80px; }
.section--tight { padding-top: 56px; padding-bottom: 56px; }
.section--alt { background: var(--alt-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--cta { background: var(--cta); }

.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.dots { display: flex; gap: 6px; }
.dots span { width: 12px; height: 12px; }
.dots span:nth-child(1) { background: var(--blue); }
.dots span:nth-child(2) { background: var(--green); }
.dots span:nth-child(3) { background: var(--amber); }
.dots span:nth-child(4) { background: var(--pink); }
.dots--sm span { width: 10px; height: 10px; }
.dots--xs span { width: 9px; height: 9px; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px;
}
.card--top-border { border-top: 5px solid var(--blue); padding: 30px; }
.card--top-blue { border-top-color: var(--blue); }
.card--top-pink { border-top-color: var(--pink); }
.card--top-green { border-top-color: var(--green); }
.card--top-amber { border-top-color: var(--amber); }
.card--link { display: block; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.card--link:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(2,4,2,0.08); color: var(--ink); }
.card-eyebrow-num { font-size: 14px; font-weight: 800; color: var(--muted); margin-bottom: 12px; }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { font-size: 16px; line-height: 1.55; color: var(--body-copy); }
.card-cta { font-weight: 800; font-size: 15px; display: inline-block; margin-top: 18px; }

.card--dark { background: var(--ink); color: var(--paper); }
.card--dark p { color: #B8B8B0; }

.tag-pill {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); background: var(--alt-bg); border: 1px solid var(--border); border-radius: 6px; padding: 4px 10px; margin-bottom: 14px;
}
.tag-pill--dark { color: var(--paper); background: transparent; border-color: #44453F; }

/* ---------- Hero ---------- */
.hero { padding-top: 88px; padding-bottom: 96px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero h1 { font-size: 62px; line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 24px; }
.hero .lede { font-size: 19px; line-height: 1.6; color: var(--body-copy); margin-bottom: 36px; max-width: 52ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo { width: 100%; aspect-ratio: 4/3; border-radius: 18px; overflow: hidden; background: var(--alt-bg); border: 1px dashed var(--border); display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-caption { font-size: 13px; color: var(--muted); margin-top: 10px; font-weight: 600; }
.img-slot { background: var(--alt-bg); border: 1px dashed var(--border); border-radius: 18px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; color: var(--muted); font-size: 14px; font-weight: 600; overflow: hidden; height: 100%; }
.img-slot img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Two-column page layouts (About, Contact) ---------- */
.bio-grid { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: start; }
.bio-photo { width: 360px; height: 440px; position: sticky; top: 108px; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }

/* ---------- Page header ---------- */
.page-header { padding-top: 80px; padding-bottom: 56px; }
.page-header h1 { font-size: 52px; letter-spacing: -0.025em; margin-bottom: 18px; max-width: 20ch; }
.page-header .lede { font-size: 19px; line-height: 1.6; color: var(--body-copy); max-width: 60ch; }
.page-header .lede a { font-weight: 800; }

/* ---------- Proof point ---------- */
.proof-point { text-align: center; }
.proof-point .inner { max-width: 960px; margin: 0 auto; padding-top: 96px; padding-bottom: 96px; }
.proof-point .setup { font-size: 17px; line-height: 1.6; color: #B8B8B0; margin: 28px auto; max-width: 62ch; }
.proof-point blockquote { font-size: 34px; font-weight: 900; line-height: 1.25; letter-spacing: -0.015em; margin: 0 auto 28px; max-width: 26ch; }
.proof-point .payoff { font-size: 19px; font-weight: 700; color: var(--amber); margin-bottom: 10px; }
.proof-point .disclaimer { font-size: 14px; color: var(--muted); }

/* ---------- Guide / About split ---------- */
.guide-grid { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: center; }
.guide-img { width: 320px; height: 380px; border-radius: 18px; }
.credential-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 0 0 28px; }
.credential-list li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
.credential-list li.full { grid-column: 1 / -1; }
.dot { width: 8px; height: 8px; flex-shrink: 0; }
.dot-blue { background: var(--blue); } .dot-green { background: var(--green); } .dot-amber { background: var(--amber); } .dot-pink { background: var(--pink); } .dot-ink { background: var(--ink); }
.underline-link { font-weight: 800; font-size: 16px; border-bottom: 3px solid var(--amber); padding-bottom: 2px; }
.underline-link:hover { color: var(--blue); }

/* ---------- Stakes ---------- */
.stakes-card { border-radius: var(--radius-card); padding: 36px; }
.stakes-card h3 { font-size: 22px; margin-bottom: 18px; }
.stakes-card ul { display: grid; gap: 10px; font-size: 16px; line-height: 1.5; padding-left: 20px; list-style: disc; }
.stakes-card--muted { border: 1px solid var(--border); background: var(--alt-bg); }
.stakes-card--muted h3 { color: var(--muted); }
.stakes-card--muted ul { color: var(--body-copy); }
.stakes-card--strong { border: 2px solid var(--ink); background: var(--paper); }

/* ---------- Lead / lead-capture form ---------- */
.lead-banner { border-radius: var(--radius-card); }
.lead-banner .inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.lead-banner.boxed .inner { padding: 52px; }
.lead-banner .eyebrow-alt { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); opacity: 0.6; margin-bottom: 12px; }
.lead-banner h2 { font-size: 36px; letter-spacing: -0.02em; margin-bottom: 12px; color: var(--ink); }
.lead-banner p { font-size: 17px; line-height: 1.55; color: var(--ink); max-width: 52ch; }
.lead-form { display: flex; gap: 10px; }
.lead-form input { flex: 1; padding: 15px 18px; border-radius: var(--radius-btn); border: 2px solid var(--ink); font-size: 16px; background: var(--paper); min-width: 0; }
.lead-confirm { background: var(--ink); color: var(--paper); border-radius: var(--radius-card); padding: 28px; font-size: 17px; font-weight: 700; }

/* ---------- VBG tenet rows ---------- */
.tenet-row { display: grid; grid-template-columns: 200px 1fr; gap: 40px; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 40px; border-left: 6px solid var(--blue); margin-bottom: 20px; }
.tenet-row:nth-of-type(2) { border-left-color: var(--pink); }
.tenet-row:nth-of-type(3) { border-left-color: var(--green); }
.tenet-num { font-size: 52px; font-weight: 900; color: var(--blue); line-height: 1; }
.tenet-row:nth-of-type(2) .tenet-num { color: var(--pink); }
.tenet-row:nth-of-type(3) .tenet-num { color: var(--green); }
.tenet-row h2 { font-size: 24px; letter-spacing: -0.015em; margin-top: 10px; }
.tenet-row .body { font-size: 17px; line-height: 1.65; color: var(--body-copy); }
.tenet-row .body p { margin-bottom: 12px; }
.tenet-row .body p:last-child { margin-bottom: 0; }
.tenet-row .body strong { color: var(--ink); }

.practice-card .kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.practice-card:nth-of-type(2) .kicker { color: var(--green); }
.practice-card h3 { font-size: 21px; margin-bottom: 10px; }
.practice-card p { font-size: 16px; line-height: 1.6; color: var(--body-copy); }

/* ---------- Services groups ---------- */
.service-group { padding-top: 0; padding-bottom: 40px; }
.service-group-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.service-group-header .swatch { width: 14px; height: 14px; }
.swatch-blue { background: var(--blue); } .swatch-pink { background: var(--pink); } .swatch-green { background: var(--green); }
.service-group-header h2 { font-size: 30px; letter-spacing: -0.02em; }
.service-group > .lede { font-size: 16px; color: var(--body-copy); margin-bottom: 24px; max-width: 60ch; }

/* ---------- Forms (contact/booking) ---------- */
.form-card { background: var(--paper); border: 1px solid var(--border); border-radius: 18px; padding: 40px; display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-card label { display: grid; gap: 6px; font-size: 14px; font-weight: 800; }
.form-card input, .form-card select, .form-card textarea {
  padding: 13px 16px; border-radius: var(--radius-btn); border: 1.5px solid #D8D8D0; font-size: 16px; background: #FFFFFF;
}
.form-card textarea { resize: vertical; }
.form-card button { justify-self: start; padding: 15px 26px; font-size: 17px; }
.form-confirm { background: var(--ink); color: var(--paper); border-radius: 18px; padding: 48px; }
.form-confirm h2 { font-size: 26px; margin-bottom: 12px; }
.form-confirm p { font-size: 17px; line-height: 1.6; color: #B8B8B0; }
.form-error { background: #FDECEC; border: 1px solid #E8A9A9; color: #7A1F1F; border-radius: 10px; padding: 16px 18px; font-size: 15px; font-weight: 700; margin-bottom: 18px; }

.reassurance { display: grid; gap: 14px; }
.reassurance li { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--body-copy); }
.reassurance .dot { margin-top: 7px; }
.reassurance a { font-weight: 800; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  padding: 64px 0 48px; border-bottom: 1px solid var(--footer-border);
}
.footer-brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand-row .dots span { width: 9px; height: 9px; }
.footer-brand-row .wordmark { font-size: 19px; line-height: 1; color: var(--paper); }
.footer-blurb { font-size: 15px; line-height: 1.6; color: var(--footer-muted); max-width: 34ch; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col-title { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--footer-muted); margin-bottom: 4px; }
.footer-col a { color: var(--paper); font-size: 15px; font-weight: 600; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--footer-muted); }

/* ---------- Book redirect ---------- */
.redirect-page { max-width: 640px; margin: 0 auto; padding: 140px 32px; text-align: center; }
.redirect-page h1 { font-size: 38px; letter-spacing: -0.02em; margin-bottom: 14px; }
.redirect-page p { font-size: 18px; line-height: 1.6; color: var(--body-copy); margin-bottom: 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-2, .guide-grid, .lead-banner .inner, .form-row, .bio-grid, .contact-grid { grid-template-columns: 1fr !important; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .tenet-row { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 16px 32px; row-gap: 12px; }
  .guide-img { width: 100%; height: 280px; }
  .bio-photo { width: 100%; height: 320px; position: static; }
  .lead-banner.boxed .inner { padding: 32px 24px; }
  .lead-banner h2 { font-size: 27px; }
  .lead-form { flex-direction: column; }
  .lead-form input, .lead-form button { width: 100%; }
}
@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .page-header h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .service-group-header { flex-wrap: wrap; }
}
