/* Studio Woodlark Pro — v6 chrome.
 *
 * Static chrome CSS extracted from agents/site_builder_p3a.py (Python
 * helpers) in the parent repo's pre-revert-2026-05-08-p3a-branch tag.
 * The Python helpers concatenated this CSS into <style> on every render;
 * this repo's Builder will reference chrome.css as a self-contained asset
 * and override prospect-specific tokens (--brand, --brand-strong,
 * --brand-tint) by emitting a small per-prospect <style> block that
 * comes AFTER this file.
 *
 * Defaults below are the v6 forest-green register (FOR PREVIEW ONLY —
 * builder always emits a per-prospect override for --brand). Accent
 * mustard is constant (Studio Woodlark house colour).
 */

:root {
  --brand:        #0E3B2E;
  --brand-strong: #082821;
  --brand-tint:   #DCE7E0;
  --accent:       #C8842A;
  --accent-soft:  #F5E9D2;
  --bg:           #F7F3EC;
  --panel:        #FFFFFF;
  --surface-2:    #EFE9DD;
  --ink:          #131614;
  --ink-2:        #3A3F3C;
  --mute:         #6B6F6C;
  --line:         #DDD6C6;
  --line-strong:  #C5BCA8;
  --on-brand:        #F7F3EC;
  --on-brand-mute:   rgba(247,243,236,0.72);
  --on-brand-line:   rgba(247,243,236,0.18);
  --s-1:4px;--s-2:8px;--s-3:12px;--s-4:16px;--s-5:20px;--s-6:24px;
  --s-7:32px;--s-8:40px;--s-9:56px;--s-10:72px;--s-11:96px;--s-12:128px;
  --radius-sm:4px;--radius-md:10px;--radius-lg:18px;--radius-pill:999px;
  --shadow-card: 0 1px 0 rgba(19,22,20,0.04), 0 8px 24px -12px rgba(19,22,20,0.08);
  --shadow-lift: 0 1px 0 rgba(19,22,20,0.04), 0 24px 48px -20px rgba(19,22,20,0.18);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01";
}
a { color: inherit; }
img, picture { max-width: 100%; display: block; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Type */
.eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); font-weight: 500; }
.eyebrow--on-brand { color: var(--accent); }
.h1 { font-weight: 600; font-size: clamp(40px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -0.025em; margin: 0; }
.h2 { font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.018em; margin: 0; }
.h3 { font-weight: 600; font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; margin: 0; }
.lead { font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 58ch; margin-top: 16px; }
.serif-italic { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 400; font-optical-sizing: auto; }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: var(--radius-pill); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-strong); }
.btn-ghost { color: var(--brand); border-color: var(--line-strong); background: var(--panel); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-on-brand-primary { background: var(--accent); color: #1a1408; }
.btn-on-brand-primary:hover { background: #B5751F; }
.btn-on-brand-ghost { color: var(--on-brand); border-color: var(--on-brand-line); background: transparent; }
.btn-on-brand-ghost:hover { border-color: var(--on-brand); background: rgba(247,243,236,0.06); }

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; gap: 24px; flex-wrap: wrap; }
.wordmark { font-size: 22px; font-weight: 600; color: var(--brand); letter-spacing: -0.02em; text-decoration: none; }
.wordmark__amp { font-family: "Fraunces", serif; font-style: italic; color: var(--accent); font-weight: 400; }
.wordmark__logo { height: 36px; width: auto; max-width: 220px; display: block; }
.header-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--ink-2); font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 1.5px solid transparent; text-decoration: none; }
.nav a:hover { color: var(--ink); }
body[data-active-page="home"]      .nav a[data-page="home"],
body[data-active-page="services"]  .nav a[data-page="services"],
body[data-active-page="about"]     .nav a[data-page="about"],
body[data-active-page="resources"] .nav a[data-page="resources"],
body[data-active-page="contact"]   .nav a[data-page="contact"] {
  color: var(--ink); border-bottom-color: var(--accent);
}
.phone-pill { background: transparent; color: var(--brand); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); padding: 8px 14px 8px 12px; font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.phone-pill:hover { border-color: var(--brand); background: var(--panel); }
.phone-pill svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.phone-pill__num { letter-spacing: -0.005em; }

/* Hero — green panel (home) */
.hero { background: var(--bg); position: relative; }
.hero__panel { background: var(--brand); color: var(--on-brand); padding: var(--s-12) 0 var(--s-11); position: relative; }
.hero__grid { display: grid; gap: var(--s-9); grid-template-columns: 1fr; align-items: end; }
.hero__title { color: var(--on-brand); max-width: 16ch; }
.hero__title-em { font-family: "Fraunces", serif; font-style: italic; color: var(--accent); display: block; font-weight: 400; }
.hero__lead { color: var(--on-brand-mute); font-size: 19px; max-width: 52ch; margin-top: var(--s-5); line-height: 1.5; }
.hero__cta { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-8); }
.hero__media { position: relative; }
.hero__photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); filter: saturate(0.9) contrast(1.02); }
.hero__address { position: absolute; left: -16px; bottom: 28px; background: var(--bg); color: var(--ink); border-radius: var(--radius-md); padding: var(--s-4) var(--s-5); box-shadow: var(--shadow-lift); font-size: 14px; display: flex; flex-direction: column; gap: 2px; }
.hero__address-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--mute); }
.hero__address strong { font-weight: 600; }
@media (min-width: 860px) { .hero__grid { grid-template-columns: 1.2fr 0.8fr; gap: var(--s-11); align-items: center; } .hero__address { left: -32px; } }

/* Inner-page hero — same green panel, no photo, copy only */
.inner-hero { background: var(--brand); color: var(--on-brand); padding: var(--s-11) 0 var(--s-10); }
.inner-hero .h1 { color: var(--on-brand); max-width: 22ch; }
.inner-hero .lead { color: var(--on-brand-mute); }

/* Credential strip */
.cred-strip { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--s-7) 0 var(--s-8); }
.cred-strip__lead { text-align: center; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin: 0 0 var(--s-7); font-weight: 500; }
.cred-strip__row { display: flex; flex-wrap: wrap; gap: 0; justify-content: center; align-items: center; }
.cred-block { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 var(--s-7); border-right: 1px solid var(--line); }
.cred-block:last-child { border-right: 0; }
.cred-tier { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.cred-mark svg { height: 36px; width: auto; display: block; }
@media (max-width: 720px) { .cred-block { padding: var(--s-3) var(--s-5); border-right: 0; } }

/* Editorial intro */
.section { padding: var(--s-11) 0; }
.section--tight { padding: var(--s-9) 0; }

/* Services — numbered editorial list (v6 register) */
.svc-list { margin-top: var(--s-9); }
.svc-row { display: grid; grid-template-columns: 56px 1fr auto; gap: var(--s-5); padding: var(--s-7) 0; border-top: 1px solid var(--line); align-items: baseline; transition: padding-left 200ms ease; text-decoration: none; color: inherit; }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row:hover { padding-left: var(--s-3); }
.svc-row__num { font-family: "Fraunces", serif; font-style: italic; font-size: 22px; color: var(--accent); font-weight: 500; }
.svc-row__head { font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: -0.012em; color: var(--ink); }
.svc-row__head em { font-family: "Fraunces", serif; font-style: italic; font-weight: 400; }
.svc-row__body { color: var(--ink-2); font-size: 15px; margin-top: var(--s-2); max-width: 60ch; }
.svc-row__more { font-size: 14px; font-weight: 600; color: var(--brand); white-space: nowrap; }
.svc-row__more::after { content: " →"; }

/* Sectors flow — full-bleed dark band, editorial list */
.sectors-flow { background: var(--brand); color: var(--on-brand); padding: var(--s-12) 0; }
.sectors-flow .h2, .sectors-flow .eyebrow { color: var(--on-brand); }
.sectors-flow__list { margin-top: var(--s-9); }
.sector-row { display: grid; grid-template-columns: 56px 1fr auto auto; gap: var(--s-5); padding: var(--s-6) 0; border-top: 1px solid var(--on-brand-line); align-items: center; }
.sector-row:last-child { border-bottom: 1px solid var(--on-brand-line); }
.sector-row__icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(247,243,236,0.10); display: flex; align-items: center; justify-content: center; color: var(--on-brand); }
.sector-row__icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sector-row__label { font-weight: 600; font-size: 18px; }
.sector-row__hint { color: var(--on-brand-mute); font-size: 13px; margin-top: 2px; }
.sector-row__stat { font-family: "Fraunces", serif; font-style: italic; font-size: 17px; font-weight: 500; color: var(--accent); white-space: nowrap; }

/* Reviews — pull-quote feature */
.reviews { padding: var(--s-12) 0; }
.review-pull { font-family: "Fraunces", serif; font-style: italic; font-size: clamp(28px, 4vw, 40px); font-weight: 400; line-height: 1.25; color: var(--ink); max-width: 22ch; margin: var(--s-9) auto 0; text-align: center; letter-spacing: -0.01em; }
.review-pull__attribution { font-style: normal; font-family: inherit; font-size: 14px; color: var(--mute); margin-top: var(--s-5); display: block; letter-spacing: 0; }
.review-supporting { display: grid; gap: var(--s-5); grid-template-columns: 1fr; margin-top: var(--s-9); }
@media (min-width: 720px) { .review-supporting { grid-template-columns: 1fr 1fr; } }
.review-card { padding: var(--s-6) 0; border-top: 1px solid var(--line); }
.review-card__quote { font-size: 17px; line-height: 1.5; color: var(--ink); margin: 0; }
.review-card__author { font-size: 13px; color: var(--mute); margin-top: var(--s-3); }
.review-aggregate-strip { display: flex; flex-wrap: wrap; gap: var(--s-7); justify-content: center; margin-top: var(--s-9); padding-top: var(--s-7); border-top: 1px solid var(--line); }
.review-platform { display: flex; align-items: center; gap: var(--s-3); }
.review-platform__name { font-weight: 600; font-size: 14px; color: var(--ink); }
.review-platform__score { font-size: 14px; color: var(--mute); }
.review-platform__score strong { color: var(--ink); }

/* Partners — three-up portrait row (home) */
.partners-row { padding: var(--s-11) 0; }
.partners-row__grid { display: grid; gap: var(--s-7); grid-template-columns: 1fr; margin-top: var(--s-8); }
@media (min-width: 720px) { .partners-row__grid { grid-template-columns: repeat(3, 1fr); } }
.partner-fig { margin: 0; }
.partner-fig__photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 28%; background: var(--brand-tint); border-radius: var(--radius-md); filter: saturate(0.92); }
.partner-fig__name { font-family: "Fraunces", serif; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin-top: var(--s-4); }
.partner-fig__quals { color: var(--mute); font-weight: 400; font-style: italic; }
.partner-fig__role { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-top: var(--s-2); font-weight: 600; }
.partner-fig__bio { color: var(--ink-2); font-size: 15px; line-height: 1.55; margin-top: var(--s-3); }

/* Closing CTA */
.closing-cta { background: var(--brand); color: var(--on-brand); padding: var(--s-11) 0; }
.closing-cta__title { color: var(--on-brand); max-width: 22ch; margin: 0 auto; text-align: center; }
.closing-cta__title em { font-family: "Fraunces", serif; font-style: italic; color: var(--accent); font-weight: 400; }
.closing-cta__lead { color: var(--on-brand-mute); max-width: 50ch; margin: var(--s-5) auto 0; text-align: center; font-size: 18px; line-height: 1.5; }
.closing-cta__actions { display: flex; gap: var(--s-3); justify-content: center; margin-top: var(--s-7); flex-wrap: wrap; }

/* Calculator (resources page) */
.calc-section { background: var(--brand-tint); padding: var(--s-12) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calc-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-9); max-width: 640px; margin: 0 auto; box-shadow: var(--shadow-card); }
.calc-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-5); }
.calc-row label { font-size: 14px; font-weight: 600; color: var(--ink); }
.calc-row input, .calc-row select { padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); font-family: inherit; font-size: 17px; }
.calc-row input:focus, .calc-row select:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--brand); }
.calc-result { background: var(--brand); color: var(--on-brand); padding: var(--s-7) var(--s-8); border-radius: var(--radius-md); margin-top: var(--s-5); }
.calc-result__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.calc-result__value { font-family: "Fraunces", serif; font-size: 56px; font-weight: 600; line-height: 1; margin-top: var(--s-3); letter-spacing: -0.025em; color: var(--on-brand); }

/* Footer */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--line); padding: var(--s-10) 0 0; font-size: 14px; color: var(--ink-2); }
.site-footer__grid { display: grid; gap: var(--s-7); grid-template-columns: 1fr; padding-bottom: var(--s-9); }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 2.2fr 1fr 1fr; } }
.footer-brand__name { font-family: "Fraunces", serif; font-size: 18px; font-weight: 600; color: var(--brand); margin-bottom: var(--s-3); }
.footer-brand__addr { font-style: normal; line-height: 1.7; }
.footer-col__head { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin: 0 0 var(--s-3); font-weight: 600; }
.regnums { display: grid; gap: 4px 12px; grid-template-columns: max-content 1fr; margin: 0; }
.regnums dt { color: var(--mute); }
.site-footer__bar { border-top: 1px solid var(--line); padding: var(--s-5) 0; }
.site-footer__bar ul { display: flex; gap: var(--s-5); list-style: none; padding: 0; margin: 0; font-size: 13px; }
.site-footer__bar a { color: var(--mute); text-decoration: none; }
.site-footer__bar a:hover { color: var(--ink); }

.skipto { position: absolute; left: -9999px; }
.skipto:focus { left: 12px; top: 12px; background: var(--brand); color: var(--on-brand); padding: 8px 12px; border-radius: 4px; z-index: 100; }

/* Contact page */
.contact-grid { display: grid; gap: var(--s-9); grid-template-columns: 1fr; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--s-11); } }
.contact-aside .contact-block { padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.contact-aside .contact-block:first-child { border-top: 0; padding-top: 0; }
.contact-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-8); }
.contact-form__pledge { font-size: 13px; color: var(--mute); margin: 0 0 var(--s-5); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); font-family: inherit; font-size: 16px; margin-bottom: var(--s-4); }
.contact-form button { width: 100%; }
