/* =====================================================================
   J.T. Barnes & Associates, PLLC  |  jtbarnespllc.com
   Design system: MLA web standard + Barnes PLLC identity layer
   Zones: .zone-firm (client-facing)  .zone-lab (insights, newsletter, tools)
   Token source of truth: brand/mla-palette-barnes-pllc.json
   ===================================================================== */

/* ---------- Self-hosted fonts (no third-party requests) ---------- */
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* Barnes PLLC identity layer */
  --charcoal: #1C1C1C;      /* firm ground: header, hero, footer */
  --charcoal-2: #262626;    /* raised surface on charcoal */
  --logo-blue: #0066CC;     /* LOGO ONLY. Never used in UI */
  --on-dark: #F4F1EB;       /* primary text on charcoal (15.1:1) */
  --on-dark-muted: #B9B4AB; /* secondary text on charcoal (7.3:1) */

  /* Shared accent (MLA Ochre) */
  --gold: #C8922A;          /* gold on charcoal (6.2:1), button fill */
  --gold-ink: #7A5C10;      /* gold text on light grounds (5.5:1) */

  /* Firm light surfaces */
  --paper: #FBFAF7;
  --stone: #F4F1EB;
  --line: #DDD8CE;
  --ink: #1F2023;           /* body text on light (15.6:1) */
  --ink-soft: #4A4F57;      /* secondary text on light (7.9:1) */

  /* MLA Lab palette (unchanged MLA constants) */
  --bark: #3B2F2F;
  --deep-ochre: #8B6914;
  --teal: #2A7068;
  --rust: #A64B2A;
  --parchment: #F5EFE0;
  --bark-soft: #5C4A40;

  /* Type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", "Segoe UI", Helvetica, Arial, sans-serif;

  /* Layout */
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 3px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.zone-lab { background: var(--parchment); color: var(--bark); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.18; margin: 0 0 .5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
h4 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; letter-spacing: .01em; }
em { font-style: italic; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--charcoal); padding: 8px 14px; z-index: 200; font-weight: 600; }
.skip-link:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Labels echo the spaced capitals on the business card */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 14px;
}
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--gold); }
.zone-lab .eyebrow { color: var(--teal); }
.lede { font-size: 1.15rem; line-height: 1.75; color: var(--ink-soft); max-width: 64ch; }
.zone-lab .lede { color: var(--bark-soft); }
.muted { color: var(--ink-soft); }
.small { font-size: .86rem; line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: .82rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  padding: 14px 24px; border-radius: var(--radius); border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  cursor: pointer; line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--charcoal); }
.btn-gold:hover { background: #D6A23F; }
.btn-ghost { border-color: rgba(244,241,235,.45); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--on-dark); }
.btn-dark { background: var(--charcoal); color: var(--on-dark); }
.btn-dark:hover { background: #333; }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #235e57; }
.text-link { font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--gold-ink); }
.text-link::after { content: " \2192"; }
.text-link:hover { text-decoration: underline; }
.zone-lab .text-link { color: var(--rust); }
.on-dark .text-link { color: var(--gold); }

/* ---------- Header ---------- */
.site-header { background: var(--charcoal); color: var(--on-dark); position: sticky; top: 0; z-index: 100; }
.utility { background: #141414; font-size: .78rem; color: var(--on-dark-muted); }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.utility nav { display: flex; gap: 22px; }
.utility a { text-decoration: none; color: var(--on-dark-muted); letter-spacing: .04em; }
.utility a:hover, .utility a[aria-current="page"] { color: var(--gold); }
.mainbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 128px; height: auto; }
.brand-name { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); border-left: 1px solid #3a3a3a; padding-left: 14px; line-height: 1.35; }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.primary-nav a { text-decoration: none; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); padding: 6px 0; border-bottom: 1.5px solid transparent; }
.primary-nav ul a:hover, .primary-nav ul a[aria-current="page"] { border-bottom-color: var(--gold); }
.primary-nav .btn { padding: 11px 18px; }
.nav-toggle { display: none; background: none; border: 1px solid #444; color: var(--on-dark); border-radius: var(--radius); padding: 8px 12px; font: 600 .78rem var(--font-sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }

@media (max-width: 1020px) {
  .brand-name { display: none; }
  .nav-toggle { display: inline-block; }
  .js .primary-nav { display: none; }
  .js .site-header.nav-open .primary-nav { display: flex; }
  .mainbar .wrap { flex-wrap: wrap; }
  .primary-nav { flex-direction: column; align-items: stretch; width: 100%; gap: 14px; padding: 4px 0 20px; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul a { display: block; padding: 12px 0; border-bottom: 1px solid #333; }
  .primary-nav .btn { justify-content: center; }
  .utility .loc { display: none; }
  .utility nav { gap: 16px; }
}

/* ---------- Hero (firm) ---------- */
.hero {
  position: relative; color: var(--on-dark);
  background: var(--charcoal) url("../img/texture-dark.webp") center/cover no-repeat;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,20,.94) 0%, rgba(20,20,20,.80) 48%, rgba(20,20,20,.45) 100%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: 56px; align-items: center; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.hero h1 { color: #fff; max-width: 18ch; }
.hero h1 em { color: var(--gold); }
.hero .lede { color: var(--on-dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-card { justify-self: end; text-align: center; max-width: 300px; }
.hero-card img { width: 240px; height: 240px; border-radius: 50%; margin: 0 auto 18px; object-fit: cover; box-shadow: 0 24px 60px rgba(0,0,0,.45); border: 3px solid rgba(200,146,42,.55); }
.hero-card .name { font-family: var(--font-sans); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; color: #fff; }
.hero-card .title { color: var(--gold); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }

.page-hero { position: relative; color: var(--on-dark); background: var(--charcoal) url("../img/texture-dark.webp") center/cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,.86); }
.page-hero .wrap { position: relative; padding-top: clamp(52px, 7vw, 92px); padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero .lede { color: var(--on-dark-muted); }
.crumbs { font-size: .8rem; letter-spacing: .06em; margin-bottom: 18px; color: var(--on-dark-muted); }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* Lab hero: MLA parchment over the gold texture */
.lab-hero { position: relative; background: var(--parchment) url("../img/texture-gold.webp") center/cover no-repeat; color: var(--bark); border-bottom: 1px solid #E3D8C2; }
.lab-hero::before { content: ""; position: absolute; inset: 0; background: rgba(245,239,224,.86); }
.lab-hero .wrap { position: relative; padding-top: clamp(52px, 7vw, 92px); padding-bottom: clamp(48px, 6vw, 80px); }
.lab-hero h1 em { color: var(--rust); }
.lab-hero .crumbs, .lab-hero .crumbs a { color: var(--bark-soft); }
.lab-badge { display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bark); margin-bottom: 16px; }
.lab-badge::before { content: ""; width: 26px; height: 2px; background: var(--rust); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-stone { background: var(--stone); }
.section-dark { background: var(--charcoal); color: var(--on-dark); }
.section-dark h2 { color: #fff; }
.section-parchment { background: var(--parchment); color: var(--bark); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split-wide { grid-template-columns: 1.4fr .9fr; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 30px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; color: var(--ink); margin-bottom: 10px; }
.stat .num small { font-size: .5em; }
.stat .lbl { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.footnote { font-size: .8rem; color: var(--ink-soft); margin-top: 16px; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; position: relative; transition: border-color .2s, transform .2s, box-shadow .2s; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-soft); font-size: .96rem; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(28,28,28,.08); }
a.card .text-link { display: inline-block; margin-top: 6px; }
.card .index { font-family: var(--font-display); font-style: italic; color: var(--gold-ink); font-size: 1.1rem; margin-bottom: 14px; display: block; }
.card-top-rule { border-top: 3px solid var(--gold); }
.zone-lab .card { background: #FBF7EE; border-color: #E3D8C2; }
.zone-lab .card p { color: var(--bark-soft); }
.zone-lab a.card:hover { border-color: var(--teal); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-live { color: var(--teal); }
.status-dev { color: var(--rust); }
.status-soon { color: var(--bark-soft); }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); position: relative; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.zone-lab .check-list li { border-bottom-color: #E3D8C2; }
.zone-lab .check-list li::before { background: var(--teal); }

.audience { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.audience div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.audience h4 { margin-bottom: 4px; }
.audience p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { border-top: 2px solid var(--ink); padding-top: 18px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--gold-ink); display: block; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .95rem; }

/* Practice detail layout */
.detail { display: grid; grid-template-columns: 1fr 320px; gap: clamp(32px, 6vw, 72px); align-items: start; }
.detail h2 { font-size: 1.6rem; margin-top: 1.6em; }
.detail h2:first-child { margin-top: 0; }
.aside-card { position: sticky; top: 140px; background: var(--charcoal); color: var(--on-dark); border-radius: var(--radius); padding: 28px; }
.aside-card h3 { color: #fff; font-size: 1.25rem; }
.aside-card p { color: var(--on-dark-muted); font-size: .94rem; }
.aside-card .contact-line { font-size: .92rem; margin: 6px 0; }
.aside-card .contact-line a { color: var(--on-dark); text-decoration: none; }
.aside-card .contact-line a:hover { color: var(--gold); }
.aside-card .btn { width: 100%; justify-content: center; margin-top: 16px; }
.related { margin-top: 28px; }
.related a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: .95rem; }
.related a:hover { color: var(--gold-ink); }
.note-box { background: var(--stone); border-left: 3px solid var(--gold); padding: 18px 22px; font-size: .94rem; color: var(--ink-soft); margin-top: 28px; }

/* About */
.bio-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.bio-photo img { width: 100%; max-width: 300px; border-radius: 50%; border: 3px solid var(--gold); }
.facts dt { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; margin-top: 22px; }
.facts dd { margin: 4px 0 0; }

/* Forms */
.form { display: grid; gap: 18px; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; color: var(--ink); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; font: 400 1rem var(--font-sans); color: var(--ink); background: #fff; border: 1px solid #C9C3B8; border-radius: var(--radius); padding: 12px 14px;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.form .check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--charcoal); flex-shrink: 0; }
.form .hint { font-size: .84rem; color: var(--ink-soft); margin-top: 6px; }
.form-status { font-size: .92rem; min-height: 1.4em; }
.zone-lab .form input, .zone-lab .form textarea { border-color: #CDBF9F; }

.contact-card { background: var(--stone); border: 1px solid var(--line); padding: 30px; border-radius: var(--radius); }
.contact-card dl { margin: 0; }
.contact-card dt { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; margin-top: 18px; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 4px 0 0; font-size: 1.02rem; }
.contact-card a { text-decoration: none; }
.contact-card a:hover { color: var(--gold-ink); text-decoration: underline; }

/* CTA band */
.cta-band { background: var(--charcoal) url("../img/texture-dark.webp") center/cover no-repeat; position: relative; color: var(--on-dark); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,.88); }
.cta-band .wrap { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 64px; padding-bottom: 64px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .3em; }
.cta-band p { color: var(--on-dark-muted); margin: 0; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Lab gateway band on the firm home page */
.lab-band { background: var(--parchment) url("../img/texture-gold.webp") center/cover no-repeat; position: relative; color: var(--bark); }
.lab-band::before { content: ""; position: absolute; inset: 0; background: rgba(245,239,224,.9); }
.lab-band .wrap { position: relative; }
.lab-band .card { background: rgba(251,247,238,.95); border-color: #E3D8C2; }
.lab-band .card p { color: var(--bark-soft); }
.lab-band a.card:hover { border-color: var(--teal); }
.lab-band .eyebrow { color: var(--teal); }
.lab-band .text-link { color: var(--rust); }

/* Mock UI (Lab) */
.mock { background: #1E1A19; border-radius: 8px; box-shadow: 0 24px 60px rgba(59,47,47,.28); overflow: hidden; color: #EDE6D6; font-size: .86rem; }
.mock-bar { display: flex; gap: 6px; align-items: center; padding: 10px 14px; background: #2A2423; }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: #5a504c; }
.mock-bar em { margin-left: auto; font-style: normal; font-size: .72rem; color: #B9AE9A; letter-spacing: .04em; }
.mock-body { padding: 18px; }
.mock-row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 12px; border: 1px solid #3a3230; border-radius: 4px; margin-bottom: 8px; }
.mock-row small { display: block; color: #B9AE9A; font-size: .74rem; }
.mock-row b { font-family: var(--font-display); font-weight: 500; color: #F2C46D; white-space: nowrap; }
.mock-total { display: flex; justify-content: space-between; padding: 12px 4px 0; border-top: 1px solid #3a3230; margin-top: 10px; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: #B9AE9A; }
.mock-total b { font-family: var(--font-display); font-size: 1.2rem; color: #F2C46D; letter-spacing: 0; text-transform: none; font-weight: 500; }
.bubble { background: #2A2423; border: 1px solid #3a3230; border-radius: 6px; padding: 10px 12px; margin-bottom: 10px; }
.bubble.user { background: #33291A; border-color: #4d3c22; }
.bubble small { display: block; color: #B9AE9A; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.event { border: 1px dashed #5a4a2a; border-radius: 4px; padding: 10px 12px; margin-top: 8px; font-size: .8rem; }
.event div { display: flex; gap: 10px; }
.event span { color: #B9AE9A; min-width: 52px; }

/* Principles (Lab) */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid #E3D8C2; border-radius: var(--radius); overflow: hidden; }
.flow div { padding: 22px 18px; background: #FBF7EE; border-right: 1px solid #E3D8C2; }
.flow div:last-child { border-right: 0; }
.flow b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--bark); margin-bottom: 6px; }
.flow span { font-size: .88rem; color: var(--bark-soft); }

/* Prose (legal pages, articles) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .5em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--on-dark-muted); font-size: .9rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 36px; padding: 64px 0 44px; border-bottom: 1px solid #333; }
.footer-brand img { width: 150px; margin-bottom: 18px; }
.footer-brand p { margin: 0 0 8px; }
.site-footer h4 { color: var(--gold); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-legal { padding: 26px 0 36px; font-size: .8rem; line-height: 1.6; display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; }
.footer-legal p { margin: 0 0 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow div { border-bottom: 1px solid #E3D8C2; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero .wrap, .split, .split-wide, .detail, .bio-grid { grid-template-columns: 1fr; }
  .hero-card { justify-self: start; text-align: left; display: flex; align-items: center; gap: 18px; max-width: none; }
  .hero-card img { width: 96px; height: 96px; margin: 0; }
  .grid-3, .grid-2, .audience { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .aside-card { position: static; }
  .bio-photo img { max-width: 200px; }
  .footer-legal { grid-template-columns: 1fr; }
  .form .row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps, .flow { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .utility .wrap { justify-content: flex-end; }
  .utility .phone { display: none; }
  .btn { padding: 13px 18px; }
}

/* Utilities (no inline styles: the CSP blocks them) */
.mt-sm { margin-top: 24px; }
.section-tight { padding: clamp(44px, 5vw, 64px) 0; }
.aside-card .btn { text-align: center; }
.zone-lab .section-parchment { background: #EEE4CF; border-top: 1px solid #E3D8C2; }
@media (max-width: 560px) {
  .stat { padding: 22px 14px; }
  .stat .num { font-size: 1.7rem; }
  .stat .lbl { font-size: .68rem; letter-spacing: .1em; }
}
.form label.check { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 1020px) {
  .mainbar .wrap { padding-top: 12px; padding-bottom: 12px; min-height: 0; }
  .brand img { width: 112px; }
}
