/* EstateSettlement.co canonical homepage system.
   Editorial reference design derived from the approved 2026-08-27 handoff,
   implemented on top of the verified EstateSettlement.co content model. */

.estate-home-v4 *,
.estate-home-v4 *::before,
.estate-home-v4 *::after { box-sizing: border-box; }

.estate-home-v4 {
  --esh-ink: #14202b;
  --esh-text: #313d47;
  --esh-muted: #5d6a75;
  --esh-line: #d7dbdf;
  --esh-line-soft: #e7eaec;
  --esh-bg: #ffffff;
  --esh-bg-soft: #f4f6f7;
  --esh-link: #14487f;
  --esh-link-hover: #0d2f55;
  --esh-ok: #1c6343;
  --esh-warn: #7d5310;
  --esh-stop: #93291f;
  margin: 0;
  color: var(--esh-text);
  background: var(--esh-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

.estate-home-v4 .estate-shell { width: min(1080px, 100% - 40px); }

.estate-home-v4 h1,
.estate-home-v4 h2,
.estate-home-v4 h3,
.estate-home-v4 h4 {
  color: var(--esh-ink);
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -.011em;
}

.estate-home-v4 h1 { max-width: 20ch; margin: 0 0 18px; font-size: clamp(2rem, 3.4vw, 2.55rem); line-height: 1.16; }
.estate-home-v4 h2 { max-width: 36ch; margin: 0; font-size: clamp(1.42rem, 2.1vw, 1.66rem); line-height: 1.26; }
.estate-home-v4 h3 { margin: 0 0 8px; font-size: 1.06rem; line-height: 1.35; }
.estate-home-v4 h4 { margin: 0 0 6px; font-size: .97rem; }
.estate-home-v4 p { max-width: 74ch; }
.estate-home-v4 a { color: var(--esh-link); text-underline-offset: 3px; }
.estate-home-v4 a:hover { color: var(--esh-link-hover); }
.estate-home-v4 :focus-visible { outline: 2px solid var(--esh-link); outline-offset: 2px; }
.estate-home-v4 button,
.estate-home-v4 input,
.estate-home-v4 select,
.estate-home-v4 textarea { font: inherit; }

/* ---------- header ---------- */

.esh-header {
  color: var(--esh-ink);
  background: var(--esh-bg);
  border-bottom: 1px solid var(--esh-line);
}

.esh-header-row { min-height: 64px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.esh-header .estate-logo { font-size: 1rem; font-weight: 700; letter-spacing: -.02em; gap: 9px; }
.esh-header .estate-logo img { width: 30px; height: 30px; border-radius: 0; }
.esh-header .estate-logo b { color: inherit; font-weight: 700; }
.esh-home-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; font-size: .9rem; }
.esh-home-nav a,
.esh-header-actions a { color: var(--esh-ink); text-decoration: none; }
.esh-home-nav a:hover,
.esh-state-link:hover { text-decoration: underline; }
.esh-header-actions { display: flex; gap: 16px; align-items: center; font-size: .9rem; }

/* ---------- buttons ---------- */

.esh-button {
  display: inline-flex;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: var(--esh-ink);
  border: 1px solid var(--esh-ink);
  border-radius: 0;
  font-size: .97rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.esh-button:hover { background: #24333f; }
.esh-button:disabled { opacity: .55; cursor: wait; }
.esh-button--small { min-height: 36px; padding-inline: 14px; font-size: .9rem; }

.esh-link-button { padding: 0; color: var(--esh-link); background: none; border: 0; font-size: .92rem; text-decoration: underline; cursor: pointer; }
.esh-text-link { color: var(--esh-link); font-size: .95rem; }

/* ---------- hero ---------- */

.esh-hero { padding: 40px 0 34px; border-bottom: 1px solid var(--esh-line); }
.esh-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 48px; align-items: start; }
.esh-deck { max-width: 60ch; margin: 0; font-size: 1.09rem; }
.esh-meta { margin: 20px 0 0; color: var(--esh-muted); font-size: .87rem; }
.esh-meta a { color: var(--esh-link); }

.esh-entry-sheet { margin: 0; }
.esh-entry-sheet fieldset { margin: 0; padding: 20px; border: 1px solid var(--esh-line); border-radius: 0; background: var(--esh-bg-soft); }
.esh-entry-sheet legend { padding: 0 6px; margin-left: -6px; font-size: .97rem; font-weight: 700; color: var(--esh-ink); }
.esh-entry-sheet .esh-field { margin-top: 14px; }
.esh-entry-sheet .esh-button { width: 100%; margin-top: 18px; }
.esh-entry-sheet > fieldset > p { max-width: none; margin: 12px 0 0; color: var(--esh-muted); font-size: .84rem; }

/* ---------- form primitives ---------- */

.esh-field { display: grid; gap: 5px; }
.esh-field + .esh-field { margin-top: 14px; }
.esh-field label,
.esh-help-grid > label { font-size: .93rem; font-weight: 600; color: var(--esh-ink); }
.esh-field label span { font-weight: 400; color: var(--esh-muted); }
.esh-field small { color: var(--esh-muted); font-size: .84rem; line-height: 1.45; }

.esh-field input,
.esh-field select,
.esh-field textarea,
.esh-help-grid select,
.esh-search input {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  color: var(--esh-ink);
  background: #fff;
  border: 1px solid #9aa4ad;
  border-radius: 0;
}

.esh-field textarea { min-height: 120px; resize: vertical; }
.esh-field input:focus,
.esh-field select:focus,
.esh-field textarea:focus,
.esh-help-grid select:focus,
.esh-search input:focus { border-color: var(--esh-link); }

.esh-check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: .93rem; line-height: 1.5; }
.esh-check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--esh-ink); }
.esh-form > .esh-check { margin-top: 16px; }
.esh-privacy-note,
.esh-fine { max-width: 70ch; color: var(--esh-muted); font-size: .84rem; }

/* ---------- sections ---------- */

.esh-section { padding: 48px 0; border-top: 1px solid var(--esh-line); }
.esh-section--tool { background: var(--esh-bg-soft); }
.esh-section-head { margin: 0 0 26px; }
.esh-section-head > p { max-width: 74ch; margin: 10px 0 0; color: var(--esh-text); }

/* the triage script still emits this label; keep it plain */
.esh-eyebrow { margin: 0 0 4px; color: var(--esh-muted); font-size: .88rem; font-weight: 600; }

/* ---------- on this page ---------- */

.esh-toc { padding: 22px 0 24px; border-bottom: 1px solid var(--esh-line); }
.esh-toc-title { margin: 0 0 10px; color: var(--esh-ink); font-size: .93rem; font-weight: 700; }
.esh-toc ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 4px 28px; margin: 0; padding: 0 0 0 20px; font-size: .93rem; }
.esh-toc li { margin: 0; }

/* ---------- definition block ---------- */

.esh-define { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; margin: 22px 0 0; }
.esh-define > div { padding: 14px 0; border-top: 1px solid var(--esh-line-soft); }
.esh-define dt { margin: 0 0 4px; color: var(--esh-ink); font-weight: 700; font-size: .95rem; }
.esh-define dd { margin: 0; font-size: .95rem; }

/* ---------- triage ---------- */

.esh-triage-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.esh-result { padding: 20px; background: #fff; border: 1px solid var(--esh-line); border-radius: 0; }
.esh-result[data-state="ready"] { border-left: 3px solid var(--esh-ok); }
.esh-result[data-state="error"] { border-left: 3px solid var(--esh-stop); }
.esh-result h3 { margin-top: 0; }
.esh-result dl { margin: 14px 0 0; }
.esh-result dt { margin-top: 12px; color: var(--esh-ink); font-weight: 700; font-size: .93rem; }
.esh-result dd { margin: 2px 0 0; font-size: .94rem; }
.esh-plan-columns { display: grid; gap: 18px; margin-top: 16px; }
.esh-plan-column h4 { color: var(--esh-ink); }
.esh-plan-column ul { margin: 0; padding-left: 20px; font-size: .94rem; }
.esh-plan-column li + li { margin-top: 5px; }
.esh-triage-escalation { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--esh-line-soft); }
.esh-triage-escalation ul { margin: 6px 0 0; padding-left: 20px; font-size: .94rem; }
.esh-result-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 18px; }

/* ---------- ordered operational list ---------- */

.esh-ledger { margin: 0; padding: 0; list-style: none; }
.esh-ledger li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 150px;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--esh-line-soft);
}
.esh-ledger li:last-child { border-bottom: 1px solid var(--esh-line-soft); }
.esh-ledger li > span { color: var(--esh-ink); font-weight: 700; font-size: .93rem; }
.esh-ledger strong { display: block; color: var(--esh-ink); font-size: .97rem; }
.esh-ledger p { margin: 4px 0 0; font-size: .94rem; }
.esh-ledger em { color: var(--esh-muted); font-size: .87rem; font-style: normal; text-align: right; }

/* ---------- process (details) ---------- */

.esh-process { border-top: 1px solid var(--esh-line-soft); }
.esh-process-step { border-bottom: 1px solid var(--esh-line-soft); }
.esh-process-step summary { position: relative; display: grid; grid-template-columns: 34px 1fr 24px; gap: 12px; align-items: baseline; padding: 14px 0; cursor: pointer; list-style: none; }
.esh-process-step summary::-webkit-details-marker { display: none; }
.esh-process-step summary::after { content: "+"; grid-column: 3; color: var(--esh-muted); font-size: 1.1rem; text-align: right; }
.esh-process-step[open] summary::after { content: "\2212"; }
.esh-process-step summary span { color: var(--esh-muted); font-size: .93rem; font-variant-numeric: tabular-nums; }
.esh-process-step summary strong { color: var(--esh-ink); font-size: 1.02rem; }
.esh-process-step > div { padding: 0 0 18px 46px; }
.esh-process-step p { margin: 0; font-size: .96rem; }
.esh-process-step dl { margin: 10px 0 0; display: grid; grid-template-columns: 130px 1fr; gap: 4px 14px; font-size: .93rem; }
.esh-process-step dt { color: var(--esh-muted); }
.esh-process-step dd { margin: 0; }
.esh-process-step a { display: inline-block; margin-top: 12px; font-size: .93rem; }

/* ---------- tables ---------- */

.esh-table-wrap { overflow-x: auto; margin: 0; }
.esh-table-wrap table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.esh-table-wrap caption { margin-bottom: 10px; color: var(--esh-muted); font-size: .88rem; text-align: left; }
.esh-table-wrap thead th { padding: 9px 12px; color: var(--esh-ink); background: var(--esh-bg-soft); border: 1px solid var(--esh-line); font-weight: 700; text-align: left; vertical-align: bottom; }
.esh-table-wrap tbody th { padding: 9px 12px; color: var(--esh-ink); border: 1px solid var(--esh-line); font-weight: 700; text-align: left; vertical-align: top; }
.esh-table-wrap td { padding: 9px 12px; border: 1px solid var(--esh-line); vertical-align: top; }
.esh-table-wrap tbody tr:nth-child(even) th,
.esh-table-wrap tbody tr:nth-child(even) td { background: #fbfcfc; }

/* ---------- transfer paths ---------- */

.esh-path-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 30px; margin-bottom: 22px; }
.esh-path-grid article { padding: 16px 0; border-top: 2px solid var(--esh-ink); }
.esh-path-grid article h3 { font-size: 1rem; }
.esh-path-grid article p { margin: 0; font-size: .94rem; }
.esh-path-grid dl { margin: 10px 0 0; font-size: .9rem; }
.esh-path-grid dt { color: var(--esh-muted); }
.esh-path-grid dd { margin: 0; }

.esh-boundary { max-width: 74ch; margin: 20px 0 0; padding: 12px 14px; background: var(--esh-bg-soft); border-left: 3px solid var(--esh-warn); font-size: .94rem; }
.esh-boundary strong { color: var(--esh-ink); }

/* ---------- filters, search, states ---------- */

.esh-filter { display: grid; gap: 5px; max-width: 340px; margin: 28px 0 18px; }
.esh-filter label { font-size: .93rem; font-weight: 600; color: var(--esh-ink); }
.esh-filter select { min-height: 42px; padding: 8px 10px; border: 1px solid #9aa4ad; border-radius: 0; background: #fff; }

.esh-search { display: grid; gap: 6px; max-width: 420px; margin-bottom: 18px; }
.esh-search label { font-size: .93rem; font-weight: 600; color: var(--esh-ink); }
.esh-search p { max-width: none; margin: 4px 0 0; color: var(--esh-muted); font-size: .86rem; }

.esh-state-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.esh-state-list li { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--esh-line-soft); }
.esh-state-list li[hidden] { display: none; }
.esh-state-list li > div { display: flex; gap: 8px; align-items: baseline; }
.esh-state-list li strong { color: var(--esh-ink); font-size: .99rem; }
.esh-state-list li span { color: var(--esh-muted); font-size: .84rem; }
.esh-state-list li p { margin: 0; font-size: .9rem; }
.esh-state-list li a { font-size: .9rem; }
.esh-status { display: inline-block; font-size: .84rem; }
.esh-status--limited { color: var(--esh-muted); }

/* ---------- county finder ---------- */

.esh-county-finder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 16px; align-items: end; max-width: 760px; }
.esh-county-finder .esh-field { margin-top: 0; }
.esh-county-result { margin-top: 22px; padding: 16px; background: #fff; border: 1px solid var(--esh-line); border-left: 3px solid var(--esh-muted); border-radius: 0; font-size: .95rem; }
.esh-county-result[data-state="verified"] { border-left-color: var(--esh-ok); }
.esh-county-result[data-state="unsupported"] { border-left-color: var(--esh-warn); }
.esh-county-result p { margin: 0 0 8px; }

/* ---------- document register ---------- */

.esh-document-progress { display: flex; flex-wrap: wrap; gap: 16px; align-items: baseline; margin-bottom: 16px; font-size: .95rem; }
.esh-document-progress strong { color: var(--esh-ink); }

.esh-register { margin: 0; border-top: 1px solid var(--esh-line-soft); font-size: .93rem; }
.esh-register > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1.3fr); gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--esh-line-soft); }
.esh-register-head { color: var(--esh-muted); font-size: .86rem; font-weight: 600; }
.esh-register strong { color: var(--esh-ink); }
.esh-register span { display: block; }

/* ---------- tax calendar ---------- */

.esh-calendar { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 30px; }
.esh-calendar article { padding: 16px 0; border-top: 1px solid var(--esh-line-soft); }
.esh-calendar article > span { display: block; margin-bottom: 4px; color: var(--esh-muted); font-size: .86rem; }
.esh-calendar h3 { font-size: 1rem; }
.esh-calendar p { margin: 0; font-size: .94rem; }

/* ---------- readiness ---------- */

.esh-readiness { margin: 0; padding-left: 22px; }
.esh-readiness li { padding: 10px 0; border-bottom: 1px solid var(--esh-line-soft); }
.esh-readiness li:first-child { border-top: 1px solid var(--esh-line-soft); }
.esh-readiness strong { display: block; color: var(--esh-ink); font-size: .99rem; }
.esh-readiness span { font-size: .94rem; }

/* ---------- planning model ---------- */

.esh-model-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.esh-model fieldset { margin: 0; padding: 0; border: 0; }
.esh-model legend { padding: 0; margin-bottom: 12px; color: var(--esh-ink); font-size: .97rem; font-weight: 700; }
.esh-model .esh-check { padding: 9px 0; border-bottom: 1px solid var(--esh-line-soft); }
.esh-model-output { padding: 18px; background: #fff; border: 1px solid var(--esh-line); border-radius: 0; }
.esh-model-output h3 { margin-top: 0; }
.esh-model-output ul { margin: 10px 0 0; padding-left: 20px; font-size: .94rem; }
.esh-model-output p { font-size: .94rem; }
.esh-model-output small { display: block; margin-top: 12px; color: var(--esh-muted); font-size: .85rem; }

/* ---------- capability table ---------- */

.esh-capability-table { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 32px; }
.esh-capability-table > div { padding: 16px 0; border-top: 1px solid var(--esh-line-soft); }
.esh-capability-table strong { display: block; margin-bottom: 6px; color: var(--esh-ink); }
.esh-capability-table ul { margin: 0; padding-left: 20px; font-size: .94rem; }
.esh-capability-table .esh-button { margin-top: 18px; }

/* ---------- professional help ---------- */

.esh-help-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 12px 40px; align-items: start; }
.esh-help-grid > label { grid-column: 1; }
.esh-help-grid select { grid-column: 1; }
.esh-help-output { grid-column: 2; grid-row: 1 / span 2; padding: 16px 18px; background: #fff; border: 1px solid var(--esh-line); border-left: 3px solid var(--esh-ink); border-radius: 0; }
.esh-help-output strong { display: block; margin-bottom: 6px; color: var(--esh-ink); font-size: 1rem; }
.esh-help-output p { margin: 0 0 8px; font-size: .94rem; }

/* ---------- decision library ---------- */

.esh-decision-library { margin-top: 34px; }
.esh-decision-library h3 { font-size: 1.02rem; }
.esh-decision-library details { border-bottom: 1px solid var(--esh-line-soft); }
.esh-decision-library details:first-of-type { border-top: 1px solid var(--esh-line-soft); }
.esh-decision-library summary { padding: 12px 0; color: var(--esh-ink); font-size: .97rem; font-weight: 600; cursor: pointer; }
.esh-decision-library details p { margin: 0 0 14px; font-size: .94rem; }
.esh-decision-library details[open] summary { padding-bottom: 6px; }

/* ---------- contact ---------- */

.esh-contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: start; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--esh-line); }
.esh-contact h3 { font-size: 1.15rem; }
.esh-contact p { font-size: .95rem; }
.esh-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 14px; }
.esh-form-grid .esh-field + .esh-field { margin-top: 0; }
.esh-contact .esh-button { margin-top: 18px; }

/* ---------- footer ---------- */

.esh-footer { padding: 34px 0 44px; border-top: 1px solid var(--esh-line); }
.esh-footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; align-items: start; }
.esh-footer .estate-logo--footer { font-size: .97rem; font-weight: 700; gap: 9px; }
.esh-footer .estate-logo--footer img { width: 28px; height: 28px; border-radius: 0; }
.esh-footer .estate-logo--footer b { color: inherit; }
.esh-footer p { margin: 12px 0 0; color: var(--esh-muted); font-size: .88rem; }
.esh-footer nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.esh-footer nav > div { display: grid; gap: 6px; align-content: start; font-size: .91rem; }
.esh-footer nav strong { color: var(--esh-ink); font-size: .88rem; }
.esh-footer nav a { color: var(--esh-link); text-decoration: none; }
.esh-footer nav a:hover { text-decoration: underline; }

/* subheads that sit directly in a section, not inside a card */
.esh-section > .estate-shell > h3 { margin: 34px 0 10px; font-size: 1.16rem; }
.esh-section > .estate-shell > h3 + p { margin-top: 0; }

/* ---------- responsive ---------- */

@media (max-width: 1050px) {
  .esh-header-row { grid-template-columns: auto auto; row-gap: 12px; }
  .esh-home-nav { grid-column: 1 / -1; justify-content: flex-start; }
  .esh-hero-grid,
  .esh-triage-grid,
  .esh-model-grid,
  .esh-contact,
  .esh-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .esh-county-finder { grid-template-columns: minmax(0, 1fr); }
  .esh-help-grid { grid-template-columns: minmax(0, 1fr); }
  .esh-help-output { grid-column: 1; grid-row: auto; }
}

@media (max-width: 760px) {
  .estate-home-v4 { font-size: 16px; }
  .estate-home-v4 h1 { font-size: 1.8rem; }
  .estate-home-v4 h2 { font-size: 1.3rem; }
  .esh-hero { padding: 30px 0 26px; }
  .esh-section { padding: 34px 0; }
  .esh-ledger li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .esh-ledger em { text-align: left; }
  .esh-process-step > div { padding-left: 0; }
  .esh-process-step dl { grid-template-columns: minmax(0, 1fr); }
  .esh-register > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .esh-register-head { display: none; }
  .esh-form-grid { grid-template-columns: minmax(0, 1fr); }
  .esh-toc ol { grid-template-columns: minmax(0, 1fr); }
}

@media print {
  .esh-link-button, .esh-header-actions { display: none; }
  .esh-section, .esh-hero { border-color: #999; }
  .esh-table-wrap table { font-size: 10pt; }
}

/* ---------- canonical editorial layer ---------- */

.estate-home-v4 {
  --esh-ink: #14161a;
  --esh-text: #3a3e45;
  --esh-muted: #5e6470;
  --esh-line: #14161a;
  --esh-line-soft: #e3e7eb;
  --esh-bg: #fff;
  --esh-bg-soft: #f4f6f8;
  --esh-link: #1b44a8;
  --esh-link-hover: #0f2a6b;
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16.5px;
  text-wrap: pretty;
}

.estate-home-v4 .estate-shell { width: min(1320px, 100% - 80px); }
.estate-home-v4 h1,
.estate-home-v4 h2,
.estate-home-v4 h3,
.estate-home-v4 h4,
.estate-home-v4 .estate-logo { font-family: Newsreader, Georgia, "Times New Roman", serif; font-weight: 400; }
.estate-home-v4 h1 { max-width: 8ch; font-size: clamp(4rem, 7vw, 6.8rem); line-height: .91; letter-spacing: -.045em; }
.estate-home-v4 h2 { max-width: 24ch; font-size: clamp(2.25rem, 3.5vw, 3.45rem); line-height: 1.04; letter-spacing: -.032em; }
.estate-home-v4 h3 { font-size: 1.55rem; line-height: 1.12; letter-spacing: -.022em; }

.esh-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .97); border-bottom-color: #14161a; }
.esh-header-row { min-height: 70px; }
.esh-header .estate-logo { color: #1b44a8; font-size: 1.38rem; font-weight: 400; }
.esh-header .estate-logo img,
.esh-footer .estate-logo img { border-radius: 0; object-fit: contain; }
.esh-home-nav { justify-content: flex-start; margin-left: 18px; gap: 26px; }
.esh-button { color: #fff !important; background: #1b44a8; border-color: #1b44a8; border-radius: 0; font-weight: 500; }
.esh-button:hover { background: #0f2a6b; }

.esh-hero { padding: 62px 0 72px; border-bottom: 0; }
.esh-hero-grid { grid-template-columns: minmax(320px, .72fr) minmax(560px, 1.28fr); gap: 72px; align-items: center; }
.esh-hero-copy { padding-block: 20px; }
.esh-deck { max-width: 35ch; margin-top: 28px; font-family: Newsreader, Georgia, "Times New Roman", serif; font-size: 1.36rem; line-height: 1.48; color: #14161a; }
.esh-meta { max-width: 48ch; margin-top: 28px; padding-top: 20px; border-top: 1px solid #14161a; }
.esh-hero-visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .66fr); gap: 2px; align-items: stretch; background: #14161a; }
.esh-hero-visual figure { position: relative; min-height: 540px; margin: 0; overflow: hidden; background: #edf1fa; }
.esh-hero-visual figure img { width: 100%; height: 100%; object-fit: cover; }
.esh-hero-visual figcaption { position: absolute; inset: auto 0 0; padding: 18px 20px; color: #fff; background: rgb(20 22 26 / .78); font-size: .78rem; }
.esh-entry-sheet { background: #fff; }
.esh-entry-sheet fieldset { height: 100%; min-height: 540px; display: flex; flex-direction: column; justify-content: center; padding: 30px; border: 0; border-radius: 0; background: #f4f6f8; }
.esh-entry-sheet legend { font-family: Newsreader, Georgia, serif; font-size: 1.55rem; font-weight: 400; }

.esh-toc { padding-block: 24px; border-block: 1px solid #14161a; }
.esh-toc ol { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px 30px; }
.esh-section { padding: 88px 0; border-top: 0; border-bottom: 1px solid #e3e7eb; }
.esh-section--tool { background: #f4f6f8; }
.esh-section-head { display: grid; grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr); gap: 70px; align-items: end; margin-bottom: 42px; }
.esh-section-head > p { max-width: 58ch; margin: 0; }

.esh-form,
.esh-result,
.esh-model-output,
.esh-help-output,
.esh-county-result { border-radius: 0; box-shadow: none; }
.esh-triage-grid { gap: 2px; background: #14161a; }
.esh-triage-grid > * { min-height: 100%; padding: 34px; background: #fff; border: 0; }
.esh-path-grid { gap: 2px; background: #14161a; }
.esh-path-grid article { padding: 28px; background: #fff; border-top: 0; }
.esh-boundary { padding: 20px 22px; background: #edf1fa; border-left-color: #1b44a8; }
.esh-table-wrap table { background: #fff; }
.esh-table-wrap thead th { color: #fff; background: #14161a; }
.esh-table-wrap tbody tr:nth-child(even) th,
.esh-table-wrap tbody tr:nth-child(even) td { background: #f4f6f8; }

.esh-editorial-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: 72px; align-items: start; }
.esh-editorial-split .esh-section-head { display: block; }
.esh-editorial-image { position: sticky; top: 102px; margin: 0; }
.esh-editorial-image img { display: block; width: 100%; min-height: 520px; object-fit: cover; }
.esh-editorial-image figcaption { padding: 12px 0; color: #5e6470; border-bottom: 1px solid #14161a; font-size: .8rem; }

.esh-section--ink { color: #c7cace; background: #14161a; border: 0; }
.esh-section--ink h2,
.esh-section--ink h3,
.esh-section--ink strong { color: #fff; }
.esh-section--ink .esh-section-head > p,
.esh-section--ink .esh-ledger p { color: #c7cace; }
.esh-ledger-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 72px; align-items: start; }
.esh-ledger-layout figure { position: sticky; top: 102px; margin: 0; }
.esh-ledger-layout figure img { display: block; width: 100%; min-height: 580px; object-fit: cover; }
.esh-section--ink .esh-ledger li { border-color: #3a3e45; }
.esh-section--ink .esh-ledger li > span { color: #8e9ac4; }
.esh-section--ink .esh-ledger em { color: #9aaab8; }

.esh-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; border: 0; background: #14161a; }
.esh-process-step { background: #fff; border: 0; }
.esh-process-step summary { min-height: 100px; padding: 22px; }
.esh-process-step > div { padding: 0 22px 24px; }

.esh-tool-heading { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; align-items: end; margin-bottom: 42px; }
.esh-tool-heading .esh-section-head { display: block; margin: 0; }
.esh-tool-heading .esh-section-head p { margin-top: 16px; }
.esh-tool-heading img { width: 100%; height: 210px; object-fit: cover; }

.esh-photo-rack { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 2px; margin-top: 68px; background: #14161a; }
.esh-photo-rack figure { height: 270px; margin: 0; overflow: hidden; }
.esh-photo-rack figure:nth-child(2) { height: 340px; margin-top: -35px; }
.esh-photo-rack img { width: 100%; height: 100%; object-fit: cover; }
.esh-contact { margin-top: 0; padding: 48px; color: #fff; background: #14161a; border: 0; }
.esh-contact h3 { color: #fff; font-size: 2.2rem; }
.esh-contact p { color: #c7cace; }
.esh-contact a { color: #b3c1e8; }
.esh-contact .esh-form { color: #3a3e45; background: #fff; }

.esh-footer { padding: 58px 0; color: #fff; background: #14161a; border: 0; }
.esh-footer .estate-logo--footer,
.esh-footer nav strong { color: #fff; }
.esh-footer p { color: #9aaab8; }
.esh-footer nav a { color: #c7cace; }

@media (max-width: 1120px) {
  .estate-home-v4 .estate-shell { width: min(100% - 48px, 1320px); }
  .esh-hero-grid,
  .esh-editorial-split,
  .esh-ledger-layout { grid-template-columns: 1fr; }
  .esh-hero-visual { grid-template-columns: 1.15fr .85fr; }
  .esh-editorial-image,
  .esh-ledger-layout figure { position: static; }
  .esh-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .estate-home-v4 .estate-shell { width: min(100% - 28px, 1320px); }
  .estate-home-v4 h1 { font-size: clamp(3.4rem, 18vw, 5.2rem); }
  .estate-home-v4 h2 { font-size: 2.2rem; }
  .esh-header { position: static; }
  .esh-header-row { grid-template-columns: 1fr auto; }
  .esh-home-nav { display: none; }
  .esh-hero { padding: 42px 0 54px; }
  .esh-hero-visual,
  .esh-section-head,
  .esh-process,
  .esh-tool-heading,
  .esh-photo-rack { grid-template-columns: 1fr; }
  .esh-hero-visual figure { min-height: 360px; }
  .esh-entry-sheet fieldset { min-height: 0; }
  .esh-toc ol { grid-template-columns: 1fr 1fr; }
  .esh-section { padding: 58px 0; }
  .esh-section-head { gap: 16px; }
  .esh-ledger-layout figure img { min-height: 360px; }
  .esh-tool-heading img { height: 240px; }
  .esh-photo-rack figure,
  .esh-photo-rack figure:nth-child(2) { height: 230px; margin: 0; }
  .esh-contact { padding: 30px 22px; }
}

/* V4 faithful layer — the supplied handoff, not the rejected utility interpretation. */
.estate-home-v4 {
  --esh-ink: #14161a;
  --esh-text: #3a3e45;
  --esh-muted: #5e6470;
  --esh-line: #d9dee4;
  --esh-line-soft: #e3e7eb;
  --esh-bg: #fff;
  --esh-bg-soft: #f4f6f8;
  --esh-link: #1b44a8;
  --esh-link-hover: #0f2a6b;
  --esh-ok: #1b44a8;
  --esh-warn: #0f2a6b;
  --esh-stop: #14161a;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.66;
}

.estate-home-v4 .estate-shell { width: min(1400px, 100% - 80px); }
.estate-home-v4 h1,
.estate-home-v4 h2,
.estate-home-v4 h3,
.estate-home-v4 h4 { font-family: Newsreader, Georgia, serif; font-weight: 400; }
.estate-home-v4 h1 { font-size: clamp(52px, 5.6vw, 86px); line-height: .94; letter-spacing: -.034em; }
.estate-home-v4 h2 { font-size: clamp(38px, 3.2vw, 44px); line-height: 1.06; letter-spacing: -.028em; }
.estate-home-v4 h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.02em; }
.estate-home-v4 p { max-width: 70ch; }

.esh-header { position: sticky; top: 0; z-index: 60; border-color: #14161a; }
.esh-header-row { height: 70px; min-height: 70px; grid-template-columns: auto 1fr auto; gap: 34px; }
.esh-header .estate-logo { color: #1b44a8; gap: 11px; font-family: Newsreader, serif; font-size: 23px; font-weight: 400; }
.esh-header .estate-logo svg { flex: none; }
.esh-home-nav { justify-content: flex-start; gap: 2px; height: 100%; overflow: hidden; }
.esh-home-nav a { display: flex; align-items: center; height: 100%; padding: 0 13px; border-bottom: 2px solid transparent; color: #3a3e45; font-size: 14px; }
.esh-home-nav a:hover { color: #14161a; border-bottom-color: #1b44a8; text-decoration: none; }
.esh-button { min-height: 0; padding: 14px 26px; color: #fff !important; background: #1b44a8; border-color: #1b44a8; font-size: 15px; font-weight: 500; }
.esh-button:hover { background: #0f2a6b; }
.esh-button--small { min-height: 0; padding: 10px 18px; font-size: 13.5px; }
.esh-button--light { color: #0f2a6b !important; background: #fff; border-color: #fff; }

.esh-hero { padding: 60px 0 44px; border-bottom: 0; }
.esh-hero-grid { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; align-items: center; }
.esh-hero-copy { padding: 0; }
.esh-hero-copy h1 { max-width: none; margin: 18px 0 0; }
.esh-deck { margin-top: 24px; color: #14161a; font-family: Newsreader, serif; font-size: 22px; line-height: 1.44; }
.esh-meta { margin-top: 26px; padding-top: 20px; border-top: 1px solid #14161a; color: #5e6470; font-size: 15px; line-height: 1.6; }
.esh-hero-actions { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; margin-top: 28px; }
.esh-hero-actions > a:last-child { padding-bottom: 2px; border-bottom: 1px solid rgba(27,68,168,.3); font-size: 14.5px; text-decoration: none; }
.esh-hero-visual { margin: 0; }
.esh-hero-visual img { display: block; width: 100%; height: auto; }

/* Neutralize legacy image-grid and crop rules that predate the V4 handoff. */
.estate-home-v4 .esh-hero-visual { display: block; grid-template-columns: none; background: transparent; }
.estate-home-v4 .esh-hero-visual img,
.estate-home-v4 .esh-editorial-image img,
.estate-home-v4 .esh-ledger-layout figure img,
.estate-home-v4 .esh-tool-heading img,
.estate-home-v4 .esh-photo-rack img { display: block; width: 100%; height: auto; min-height: 0; object-fit: contain; }
.estate-home-v4 .esh-editorial-image,
.estate-home-v4 .esh-ledger-layout figure { position: static; }
.estate-home-v4 .esh-photo-rack { align-items: start; background: transparent; }
.estate-home-v4 .esh-photo-rack figure,
.estate-home-v4 .esh-photo-rack figure:nth-child(2) { height: auto; margin: 0; overflow: visible; }

.esh-v4-map { padding: 88px 0 0; }
.esh-v4-map-head { display: flex; justify-content: space-between; align-items: end; gap: 56px; }
.esh-v4-map-head > div { max-width: 620px; }
.esh-v4-map-head > p { max-width: 28em; margin: 0; color: #5e6470; font-size: 15.5px; }
.esh-kicker { margin: 0 0 14px; color: #1b44a8; font-size: 12px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.esh-map-enhancement { margin-top: 36px; min-height: 380px; }
.esh-map-enhancement us-map { width: 100%; }
.esh-map-fallback { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 2px; margin-top: 24px; }
.esh-map-fallback button { display: grid; gap: 2px; padding: 9px 7px; color: #14161a; background: #f4f6f8; border: 0; cursor: pointer; }
.esh-map-fallback button[data-map-state="CA"] { color: #fff; background: #1b44a8; }
.esh-map-fallback strong { font-family: "IBM Plex Mono", monospace; font-size: 12px; }
.esh-map-fallback span { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.esh-map-legend { display: flex; flex-wrap: wrap; gap: 26px; margin: 14px 0 0; color: #3a3e45; font-size: 13px; }
.esh-map-legend span { display: flex; align-items: center; gap: 9px; }
.esh-map-legend i { width: 16px; height: 16px; background: #e4e7f2; }
.esh-map-legend span:first-child i { background: #1b44a8; }

.esh-state-readout { margin-top: 28px; color: #fff; background: #14161a; }
.esh-state-readout > .estate-shell { padding-top: 34px; padding-bottom: 42px; }
.esh-state-readout-head { display: flex; align-items: baseline; gap: 18px; }
.esh-state-readout h2 { color: #fff; font-size: 40px; }
.esh-state-readout a { margin-left: auto; color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); text-decoration: none; }
.esh-state-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 30px; }
.esh-state-facts > div { padding: 22px 26px 24px; }
.esh-state-facts > div:nth-child(2) { background: #1b2026; }
.esh-state-facts small { display: block; color: #9aaab8; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.esh-state-facts strong { display: block; margin-top: 8px; color: #fff; font-family: Newsreader, serif; font-size: 28px; font-weight: 400; }
.esh-state-facts span { display: block; margin-top: 9px; color: #9aaab8; font-size: 13px; }

.esh-section { padding: 96px 0 0; border-top: 0; }
.esh-section--tool { background: #fff; }
.esh-section-head { margin-bottom: 30px; }
.esh-section-head > p { margin-top: 14px; color: #5e6470; font-size: 16px; }
.esh-section--ink { margin-top: 96px; padding: 70px 0 76px; color: #fff; background: #14161a; }
.esh-section--ink h2,
.esh-section--ink h3,
.esh-section--ink strong { color: #fff; }
.esh-section--ink p { color: #c3cdea; }
.esh-section--ink figure img { display: block; width: 100%; height: auto; }

.esh-permission > .estate-shell { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); gap: 56px; }
.esh-permission-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2px; align-items: start; }
.esh-permission-grid article { padding: 26px; background: #f4f6f8; }
.esh-permission-grid article:nth-child(2) { background: #edf1fa; }
.esh-permission-grid article:nth-child(3) { color: #fff; background: #1b44a8; }
.esh-permission-grid article:nth-child(3) strong,
.esh-permission-grid article:nth-child(3) p { color: #fff; }
.esh-permission-grid strong { font-family: Newsreader, serif; font-size: 22px; font-weight: 400; }

.esh-call-script { margin-top: 96px; padding: 72px 0; background: #edf1fa; }
.esh-v4-split { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: 56px; }
.esh-call-script blockquote { margin: 28px 0 0; padding: 28px; color: #fff; background: #1b44a8; }
.esh-call-script blockquote p { margin: 0; color: #fff; font-family: Newsreader, serif; font-size: 24px; line-height: 1.4; }
.esh-script-notes { padding: 30px; background: #fff; }
.esh-script-notes strong { font-family: Newsreader, serif; font-size: 26px; font-weight: 400; }
.esh-script-notes li + li { margin-top: 8px; }

.esh-question-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px; }
.esh-question-grid article { padding: 30px; background: #f4f6f8; }
.esh-question-grid article:nth-child(2),
.esh-question-grid article:nth-child(3) { background: #edf1fa; }
.esh-question-grid p { color: #3a3e45; }

.esh-what-expect { padding-top: 96px; }
.esh-expect-panel { padding: 66px 60px 70px; color: #fff; background: #0f2a6b; }
.esh-expect-panel h2,
.esh-expect-panel h3 { color: #fff; }
.esh-expect-rows { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.2); }
.esh-expect-rows article { display: grid; grid-template-columns: 44px minmax(0,1.15fr) minmax(0,1fr); gap: 40px; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.esh-expect-rows i { width: 13px; height: 13px; margin-top: 12px; background: #8fa7dc; }
.esh-expect-rows h3 { font-size: 34px; }
.esh-expect-rows p { margin: 0; padding-top: 5px; color: #c3cdea; }
.esh-expect-panel > .esh-button { display: flex; width: max-content; margin: 52px auto 0; }
.esh-expect-note { margin: 14px auto 0; color: #c3cdea; text-align: center; }

.estate-home-v4 .esh-contact {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 0;
  align-items: stretch;
  margin-top: 56px;
  padding: 0;
  color: #fff;
  background: #14161a;
}
.estate-home-v4 .esh-contact > div { padding: 44px 40px; }
.estate-home-v4 .esh-contact h3 { margin-bottom: 20px; color: #fff; font-size: clamp(1.75rem, 3vw, 2.2rem); }
.estate-home-v4 .esh-contact p { color: #c7cace; }
.estate-home-v4 .esh-contact a { color: #b9caff; }
.estate-home-v4 .esh-contact .esh-form {
  margin: 0;
  padding: 40px;
  color: #3a3e45;
  background: #f4f6f8;
}
.estate-home-v4 .esh-contact .esh-form label { color: #14161a; }
.estate-home-v4 .esh-contact .esh-form input,
.estate-home-v4 .esh-contact .esh-form select,
.estate-home-v4 .esh-contact .esh-form textarea { background: #fff; }
.estate-home-v4 .esh-contact .esh-privacy-note { color: #5b6169; }
.esh-footer { margin-top: 96px; background: #14161a; }
.estate-home-v4 .estate-footer--canonical .estate-logo,
.estate-home-v4 .estate-footer--canonical .estate-logo span { color: #fff; }
.estate-home-v4 .estate-footer--canonical a { color: #c7cace; }
.estate-home-v4 .estate-footer--canonical a:hover { color: #fff; }

@media (max-width: 960px) {
  .estate-home-v4 .esh-contact { grid-template-columns: minmax(0, 1fr); }
  .estate-home-v4 .esh-contact > div,
  .estate-home-v4 .esh-contact .esh-form { padding: 34px 30px; }
}

@media (max-width: 560px) {
  .estate-home-v4 .esh-contact > div,
  .estate-home-v4 .esh-contact .esh-form { padding: 28px 20px; }
}

/* Koraynese root-document structure: one jurisdiction layer, an explicit
   main/supplementary border, and a standalone final action. */
.esh-county-compact {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr);
  gap: 28px 44px;
  align-items: start;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.esh-county-compact h3 { margin: 0 0 10px; color: #fff; font-size: 1.35rem; }
.esh-county-compact p { margin-top: 0; color: #d9deea; }
.esh-county-compact .esh-county-finder { align-self: start; }
.esh-county-compact .esh-county-result {
  grid-column: 2;
  margin: 0;
  color: #d9deea;
  background: transparent;
  border-color: rgba(255, 255, 255, .22);
}
.esh-county-compact .esh-county-result a { color: #fff; }

.esh-call-script--embedded {
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid #cfd4da;
}
.esh-call-script--embedded h3 { margin-top: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); }

.esh-decision-line {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  gap: 28px;
  margin: 0 0 28px;
  padding: 22px 0;
  border-top: 1px solid #cfd4da;
  border-bottom: 1px solid #cfd4da;
}
.esh-decision-line strong { color: #14161a; font-size: 1.05rem; }
.esh-decision-line span { color: #5b6169; }

.esh-table-disclosure { margin-top: 24px; border-top: 1px solid #14161a; border-bottom: 1px solid #cfd4da; }
.esh-table-disclosure > summary {
  position: relative;
  padding: 20px 48px 20px 0;
  color: #14161a;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.esh-table-disclosure > summary::-webkit-details-marker { display: none; }
.esh-table-disclosure > summary::after { content: "+"; position: absolute; right: 4px; font-size: 1.4rem; font-weight: 400; }
.esh-table-disclosure[open] > summary::after { content: "\2212"; }
.esh-table-disclosure > .esh-table-wrap,
.esh-table-disclosure > .esh-filter { margin-top: 0; }
.esh-table-disclosure > .esh-filter { padding: 18px 0; border-top: 1px solid #e0e4e8; }

.esh-trust-section { background: #f4f6f8; }
.esh-trust-section > .estate-shell {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(320px, 1.14fr);
  gap: 72px;
  align-items: start;
}
.esh-trust-section h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.8rem); }
.esh-trust-section p { margin-top: 0; }
.esh-trust-section a { display: inline-block; margin-top: 8px; }
.esh-trust-section small { display: block; margin-top: 18px; color: #6c727a; }

.esh-context-border {
  padding: 68px 0;
  color: #fff;
  background: #1b44a8;
}
.esh-context-border .estate-shell {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 72px;
  align-items: start;
}
.esh-context-border h2 { max-width: 16ch; margin: 0; color: #fff; font-size: clamp(2.35rem, 4.7vw, 4.4rem); }
.esh-context-border p { max-width: 58ch; margin-top: 0; color: #dce4ff; font-size: 1.05rem; }
.esh-context-border p + p { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .28); }
.esh-context-border .esh-kicker { margin-bottom: 18px; color: #bdcaff; }

.estate-home-v4 .esh-contact-section .esh-contact { margin-top: 0; }
.esh-contact-section .esh-section-head { margin-bottom: 34px; }

@media (max-width: 960px) {
  .esh-county-compact,
  .esh-context-border .estate-shell { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .esh-county-compact .esh-county-result { grid-column: 1; }
  .esh-context-border h2 { max-width: 20ch; }
  .esh-decision-line,
  .esh-trust-section > .estate-shell { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

@media (max-width: 960px) {
  .esh-home-nav { display: none; }
  .esh-hero-grid,
  .esh-permission > .estate-shell,
  .esh-v4-split { grid-template-columns: 1fr; }
  .esh-map-enhancement { min-height: 260px; }
  .esh-map-fallback { grid-template-columns: repeat(6,minmax(0,1fr)); }
}

@media (max-width: 700px) {
  .estate-home-v4 .estate-shell { width: min(100% - 32px, 1400px); }
  .esh-header-row { height: 62px; min-height: 62px; }
  .esh-header .estate-logo { font-size: 19px; }
  .esh-header-actions { display: none; }
  .esh-hero { padding: 42px 0 0; }
  .esh-hero-grid { gap: 38px; }
  .esh-hero-actions { align-items: flex-start; flex-direction: column; }
  .esh-v4-map { padding-top: 72px; }
  .esh-v4-map-head { align-items: start; flex-direction: column; gap: 20px; }
  .esh-map-fallback { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .esh-state-readout-head { align-items: flex-start; flex-direction: column; }
  .esh-state-readout a { margin-left: 0; }
  .esh-state-facts,
  .esh-permission-grid,
  .esh-question-grid { grid-template-columns: 1fr; }
  .esh-section { padding-top: 72px; }
  .esh-section--ink { margin-top: 72px; padding: 56px 0; }
  .esh-expect-panel { padding: 44px 24px 48px; }
  .esh-expect-rows article { grid-template-columns: 26px 1fr; gap: 18px; }
  .esh-expect-rows p { grid-column: 2; }
  .esh-expect-rows h3 { font-size: 28px; }
}
