@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 700;
  font-display: swap; src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201F, U+2022, U+2026; }

/* ------------------------------------------------------------------
   Greene Trial Law - site theme (retheme 2026-09-04)
   Light, polished, one motif. Every foreground/background pair below
   was computed for WCAG AA (>= 4.5:1) - see SITE_RETHEME_2026-09-04.md.
   Legacy variable names (--concrete*, --paper*, --safety*, --hair) are
   kept as aliases so inline style="" attributes in the HTML keep working.
   ------------------------------------------------------------------ */
:root {
  --bg: #fbfaf7;          /* page ground - warm paper white */
  --surface: #ffffff;     /* cards, form fields */
  --surface-2: #f2efe8;   /* bands, footer */
  --ink: #152119;         /* headings, body text        15.1:1 on --bg */
  --ink-2: #41544a;       /* secondary / running text    7.2:1 on --bg */
  --ink-3: #556358;       /* fine print                  5.5:1 on --bg, 5.1:1 on --surface-2 */
  --accent: #1f3d2b;      /* hunter green - links, eyebrows, the level-bubble mark  6.1:1 on --bg */
  --accent-hover: #152b1e;
  --gold: #b8860b;        /* DECORATION ONLY on light -- hairlines, the mark.
                             3.12:1 on --bg: fine for non-text, NEVER for text. */
  --gold-bright: #d4af37; /* TEXT ONLY on green grounds -- 5.67:1 on --accent.
                             On paper it collapses to 2.01:1. Do not use it there. */
  --accent-soft: rgba(31,61,43,0.10);
  --error: #a63d22;       /* form errors                 6.1:1 on --bg */
  --rule: #e3ded3;        /* hairlines */
  --rule-strong: #c7bfae; /* the level line under the bubble */
  --shadow: 0 8px 28px rgba(27,35,48,0.07);

  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Charter, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* legacy aliases - referenced by inline styles in the HTML; do not remove */
  --concrete-dark: var(--bg);
  --concrete: var(--surface);
  --concrete-light: var(--rule-strong);
  --paper: var(--ink);
  --paper-dim: var(--ink-2);
  --safety: var(--accent);
  --safety-dim: var(--accent);
  --hair: var(--rule);
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 0.15em; }
strong { color: var(--ink); }

/* top rule - formerly the caution-stripe band; demoted to a single hairline of the accent */
.stripe { height: 3px; background: var(--accent); }

header { position: sticky; top: 0; z-index: 10; background: rgba(251,250,247,0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { font-family: var(--serif); font-weight: 600; letter-spacing: 0.005em; font-size: 1.25rem; color: var(--ink); }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand .mark { color: var(--accent); font-weight: 400; }
.nav-links a { color: var(--ink-2); margin-left: 26px; font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav .btn { margin-left: 26px; }
.btn { display: inline-block; background: var(--ink); color: #ffffff; font-weight: 600;
  padding: 12px 22px; border-radius: 4px; font-size: 0.9rem; border: 1px solid var(--ink); cursor: pointer;
  font-family: var(--sans); line-height: 1.3; transition: background .15s, border-color .15s; }
.btn:hover { background: #2a3648; border-color: #2a3648; color: #ffffff; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--rule-strong); }
.btn.ghost:hover { background: var(--surface-2); border-color: var(--ink-2); color: var(--ink); }
.btn.lg { padding: 15px 28px; font-size: 1rem; }

.hero { position: relative; padding: 108px 0 88px; overflow: hidden;
  border-bottom: 1px solid var(--rule); background: var(--surface); }
/* blueprint-grid backdrop removed (demoted per the 07-11 research; David asked for less construction) */
.hero::before { content: none; }
.hero.compact { padding: 72px 0 56px; }
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
h1 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; font-weight: 600;
  letter-spacing: -0.012em; max-width: 18ch; color: var(--ink); }
.hero.compact h1 { max-width: 24ch; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.hero p.lede { margin-top: 26px; font-size: 1.15rem; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.hero .cta-row { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

section { padding: 84px 0; border-top: 1px solid var(--rule); }
h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600;
  letter-spacing: -0.01em; line-height: 1.2; color: var(--ink); }
h3 { font-weight: 650; color: var(--ink); line-height: 1.3; }
.section-intro { color: var(--ink-2); max-width: 62ch; margin-top: 16px; font-size: 1.02rem; }

.grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 40px; }
@media (max-width: 760px){ .grid3 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 30px 28px; }
.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 0.95rem; }
.card .ico { width: 34px; height: 34px; margin-bottom: 16px; }
/* THE motif: a spirit-level bubble. One line, one bubble. Pure CSS - the HTML still carries
   class="ico stripe" from the caution-stripe era; that class is overridden here. */
.card .ico, .card .ico.stripe { width: 52px; height: 18px; margin-bottom: 18px; border-radius: 0; opacity: 1;
  background:
    radial-gradient(circle at 36px 9px, var(--accent) 0 5.5px, transparent 6.5px),
    linear-gradient(var(--rule-strong), var(--rule-strong)) 0 8px / 100% 2px no-repeat; }

ol.process { margin-top: 40px; list-style: none; counter-reset: step; display: grid; gap: 22px; }
ol.process li { counter-increment: step; position: relative; padding-left: 62px; }
ol.process li::before { content: counter(step,decimal-leading-zero); position: absolute; left: 0; top: -1px;
  font-family: var(--mono); font-size: 0.9rem; color: var(--accent);
  border: 1px solid var(--rule-strong); background: var(--surface); border-radius: 4px; width: 42px; height: 42px;
  display: grid; place-items: center; }
ol.process li h3 { font-size: 1.05rem; }
ol.process li p { color: var(--ink-2); font-size: 0.95rem; margin-top: 4px; }

.why { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 40px; }
@media (max-width: 760px){ .why { grid-template-columns: 1fr; } }
.why div { padding-top: 18px; border-top: 2px solid var(--ink); }
.why div h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--ink); }
.why div p { color: var(--ink-2); font-size: 0.95rem; }

.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
@media (max-width: 760px){ .about { grid-template-columns: 1fr; } }
.about .portrait { aspect-ratio: 4/5; background: var(--surface-2);
  border: 1px solid var(--rule); border-radius: 8px; display: grid; place-items: center;
  color: var(--ink-2); font-size: 0.85rem; text-align: center; padding: 20px; }
.about .portrait .initials { font-family: var(--serif); font-size: 2.8rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--ink-2); }

.cta-band { background: var(--surface-2); text-align: center; }
.cta-band h2 { max-width: 24ch; margin: 0 auto; }
.cta-band p { color: var(--ink-2); margin: 16px auto 24px; max-width: 56ch; }

.approach { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 760px){ .approach { grid-template-columns: 1fr; } }
.approach .steps3 { display: grid; gap: 20px; }
.approach .steps3 > div { padding-left: 20px; border-left: 2px solid var(--accent); }
.approach .steps3 h3 { font-size: 1rem; }
.approach .steps3 p { color: var(--ink-2); font-size: 0.94rem; margin-top: 4px; }
.refer-note { margin-top: 22px; font-size: 0.84rem; line-height: 1.6; color: var(--ink-3); border: 1px solid var(--rule);
  background: var(--surface); border-radius: 6px; padding: 14px 16px; }

/* intake form */
.intake { max-width: 560px; margin: 0 auto; text-align: left; background: var(--surface);
  border: 1px solid var(--rule); border-radius: 10px; padding: 30px; box-shadow: var(--shadow); }
.intake .row { margin-bottom: 16px; }
.intake label { display: block; font-size: 0.84rem; color: var(--ink); margin-bottom: 6px; font-weight: 600; }
.intake input, .intake select { width: 100%; padding: 12px 14px; border-radius: 6px; font-family: var(--sans);
  border: 1px solid var(--rule-strong); background: var(--surface); color: var(--ink); font-size: 16px; }
.intake input::placeholder { color: var(--ink-3); opacity: 1; }
.intake input:focus, .intake select:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.intake .req { color: var(--accent); }
.intake .form-note { font-size: 0.78rem; color: var(--ink-3); line-height: 1.6; margin: 6px 0 18px; }
.intake .btn { width: 100%; }
.intake .field-err { color: var(--error); font-size: 0.78rem; margin-top: 5px; display: none; }
.intake .row.invalid .field-err { display: block; }
.intake .row.invalid input, .intake .row.invalid select { border-color: var(--error); }
.call-bar { margin: 0 auto 26px; display: inline-flex; align-items: center; gap: 12px;
  font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.call-bar a { color: var(--accent); }

/* intake confirmation (test-mode funnel end state) */
.intake-confirm { max-width: 560px; margin: 0 auto; text-align: left; background: var(--surface);
  border: 1px solid var(--rule-strong); border-radius: 10px; padding: 32px; display: none; box-shadow: var(--shadow); }
.intake-confirm.show { display: block; }
.intake-confirm .check { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft);
  border: 1px solid var(--accent); display: grid; place-items: center; color: var(--accent);
  font-size: 1.4rem; margin-bottom: 16px; }
.intake-confirm h3 { font-size: 1.25rem; margin-bottom: 10px; }
.intake-confirm p { color: var(--ink-2); font-size: 0.95rem; margin-bottom: 12px; }
.intake-confirm ol { margin: 14px 0 4px 20px; color: var(--ink-2); font-size: 0.92rem; }
.intake-confirm ol li { margin-bottom: 6px; }
/* intake failure state */
.intake-error { max-width: 560px; margin: 24px auto 0; text-align: left; background: var(--surface);
  border: 1px solid var(--error); border-radius: 10px; padding: 32px; display: none; }
.intake-error.show { display: block; }
.intake-error .mark { width: 46px; height: 46px; border-radius: 50%; background: rgba(166,61,34,0.10);
  border: 1px solid var(--error); display: grid; place-items: center; color: var(--error);
  font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; }
.intake-error h3 { font-size: 1.25rem; margin-bottom: 10px; }
.intake-error p { color: var(--ink-2); font-size: 0.95rem; margin-bottom: 12px; }
.intake-error a { color: var(--error); }

/* practice-area article pages */
.article { max-width: 740px; margin: 0 auto; }
.article h2 { margin-top: 44px; font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.article h3 { margin-top: 28px; font-size: 1.12rem; }
.article p { color: var(--ink-2); margin-top: 14px; font-size: 1.02rem; line-height: 1.7; }
.article ul { margin: 16px 0 0 22px; color: var(--ink-2); font-size: 1.02rem; line-height: 1.7; }
.article ul li { margin-bottom: 8px; }
.breadcrumb { font-size: 0.82rem; color: var(--ink-3); margin-bottom: 10px; }
.breadcrumb a { color: var(--ink-3); }
.byline { margin-top: 24px; font-family: var(--mono);
  font-size: 0.74rem; letter-spacing: 0.06em; color: var(--ink-3); }

/* insights section listing */
.insight-list { display: grid; gap: 18px; margin-top: 40px; }
.insight-item { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px;
  padding: 26px 28px; transition: border-color .2s, box-shadow .2s; }
.insight-item:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); }
.insight-item .tag { font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.insight-item h3 { font-size: 1.15rem; margin: 8px 0 8px; }
.insight-item h3 a { color: var(--ink); }
.insight-item h3 a:hover { color: var(--accent); }
.insight-item p { color: var(--ink-2); font-size: 0.95rem; }
.insight-item.flagship { border-left: 3px solid var(--accent); }
.state-note { margin-top: 26px; border-left: 3px solid var(--accent); background: var(--surface-2);
  padding: 14px 18px; border-radius: 0 6px 6px 0;
  font-size: 0.92rem; line-height: 1.65; color: var(--ink-2); }
.mini-cta { margin-top: 44px; background: var(--surface-2); border: 1px solid var(--rule);
  border-radius: 8px; padding: 30px; text-align: center; }
.mini-cta h3 { margin-top: 0; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.mini-cta p { margin: 10px auto 20px; max-width: 46ch; }

footer { padding: 56px 0 40px; border-top: 1px solid var(--rule); background: var(--surface-2);
  font-size: 0.88rem; color: var(--ink-2); }
footer .brand { font-size: 1rem; }
.foot-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-powered { display: flex; align-items: center; gap: 10px; }
.foot-powered img { height: 30px; }
.disclaimer { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--rule-strong);
  font-size: 0.8rem; line-height: 1.7; color: var(--ink-3); max-width: 90ch; }
.disclaimer strong { color: var(--ink-2); }
.placeholder { color: var(--accent); font-style: italic; }

/* clickable practice cards */
a.card { text-decoration: none; color: inherit; display: block; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.card:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); text-decoration: none; color: inherit; }
a.card::after { content: ' \2192'; color: var(--accent); font-weight: 600; }

/* click-to-call tap-target fix (2026-09-04 mobile pass): every tel: link on the site
   (call-bar, intake-confirm/intake-error states, and inline mentions in 5 insights
   articles) was a plain inline link with no padding, ~27px measured tall on a live
   iPhone-width render -- well under the ~44px minimum. Vertical-only padding + matching
   negative margin expands the tap target without shifting surrounding text/layout. */
a[href^="tel:"] { padding: 10px 0; margin: -10px 0; display: inline-block; border-radius: 4px; }

/* nav responsive fix (2026-09-04 mobile pass): .nav had a fixed height with
   align-items:center and no wrap handling anywhere for .nav/.nav-links/header/.brand.
   Measured live at 375/390/430px: nav-links content ran 98px tall inside a 66-70px
   container, so align-items:center centered the overflow -- the top row rendered at a
   negative offset (clipped above the header) and the CTA button overlapped the last
   link. Same defect on all three nav variants (6/5/5 items). Fix: below the site's own
   existing 760px breakpoint, let .nav wrap onto two rows (brand, then the full-width
   link row), let .nav-links wrap internally with gap-based spacing instead of relying on
   inline text wrap, and pad each link for a real tap target. Desktop (>760px) is
   completely untouched by this block. */
@media (max-width: 760px) {
  .nav { flex-wrap: wrap; height: auto; padding-top: 16px; padding-bottom: 16px; row-gap: 10px; }
  .nav-links { display: flex; flex-wrap: wrap; align-items: center; width: 100%; gap: 4px 20px; }
  .nav-links a { margin-left: 0; padding: 12px 0; }
  .nav .btn { margin-left: 0; }
}
