/* Damon Amato · site styles
   Palette: deep navy, warm white, white, muted gold, charcoal. Light-first (about 75% light surfaces).
   Contrast (WCAG AA) checked for every text/background pair in the token notes below.
   Gold #B89B63 is decorative only on light backgrounds (2.7:1); text-sized gold on light uses --gold-ink (6.2:1). */
:root {
  /* Brand palette */
  --navy: #142638;          /* headlines, primary buttons, footer, dark bands — 15.4:1 on white */
  --warm: #FAF8F4;          /* page background */
  --white: #FFFFFF;         /* cards, forms, panels */
  --gold: #B89B63;          /* decorative rules, corner marks, icons; text only on navy (5.8:1) */
  --charcoal: #28323C;      /* body text — 13.0:1 on white, 12.3:1 on warm */

  /* Functional tokens derived from the palette */
  --navy-hover: #213D59;    /* primary hover — white text 11.6:1 */
  --navy-active: #0C1824;   /* primary pressed */
  --navy-tint: #EDF1F5;     /* tags, selected nav, light navy fills */
  --gold-ink: #7A5C28;      /* small gold-toned labels on light surfaces — 6.2:1 white, 5.8:1 warm */
  --muted: #5A6470;         /* secondary text — 6.0:1 white, 5.7:1 warm */
  --line: #E5E0D6;          /* subtle dividers and card borders (decorative) */
  --field: #7B8592;         /* form control borders — 3.7:1 on white (non-text contrast) */
  --on-navy: #E8EDF2;       /* body text on navy — 12.6:1 */
  --on-navy-muted: #C8CED6; /* secondary text on navy — 9.7:1 */
  --error: #B42318;         /* 6.6:1 on white */
  --error-bg: #FDECEA;
  --success: #1E6B45;       /* 6.5:1 on white */
  --success-bg: #E7F3EC;
  --disabled-bg: #E3E6EA;
  --disabled-ink: #5A6470;

  --radius: 6px;
  --wrap: 1180px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --shadow-sm: 0 1px 2px rgba(20, 38, 56, .06);
  --shadow: 0 1px 2px rgba(20, 38, 56, .05), 0 10px 30px rgba(20, 38, 56, .07);
  --focus: 0 0 0 3px var(--white), 0 0 0 5px var(--navy);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--warm); color: var(--charcoal); font: 400 1.0625rem/1.7 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.55rem; }
h4 { font: 700 1rem/1.4 var(--sans); margin: 0 0 .4em; color: var(--navy); }
p { margin: 0 0 1em; }
.h3 { font-size: clamp(1.6rem, 3vw, 2rem); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--navy); padding: 10px 16px; z-index: 100; border-radius: var(--radius); }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font: 500 .78rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 14px; }
.lede { font-size: 1.2rem; color: var(--charcoal); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.mono { font-family: var(--mono); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius); font: 700 .98rem/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s; }
.btn:hover { text-decoration: none; }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn--primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--primary:hover { background: var(--navy-hover); border-color: var(--navy-hover); color: var(--white); }
.btn--primary:active { background: var(--navy-active); border-color: var(--navy-active); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy-tint); color: var(--navy); }
.btn--ghost:active { background: #DCE3EA; }
/* On navy bands: inverse primary (white) and light outline secondary */
.btn--white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--white:hover { background: var(--warm); border-color: var(--gold); color: var(--navy); }
.btn--white:active { background: #EDE8DD; }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .75); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); color: var(--white); }
.section--navy .btn:focus-visible, .cta-panel .btn:focus-visible, .site-footer a:focus-visible { box-shadow: 0 0 0 3px var(--navy), 0 0 0 5px var(--gold); outline: none; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--disabled-bg); border-color: var(--disabled-bg); color: var(--disabled-ink); cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.textlink { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); color: var(--navy); padding-bottom: 1px; }
.textlink:hover { border-bottom-color: var(--navy); color: var(--navy); }
.textlink::after { content: " →"; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand:hover { color: var(--navy); }
.brand b { font: 600 1.7rem/1 var(--serif); letter-spacing: -.01em; }
.brand span { font: 500 .66rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 12px; font-weight: 600; font-size: .96rem; color: var(--charcoal); text-decoration: none; border-radius: var(--radius); border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--navy); background: var(--navy-tint); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); border-radius: var(--radius) var(--radius) 0 0; }
.header-phone { display: none; font: 500 .95rem var(--mono); color: var(--navy); text-decoration: none; }
.header-phone:hover { text-decoration: underline; }
.header-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 8px 14px; border: 2px solid var(--navy); border-radius: var(--radius); background: var(--white); color: var(--navy); font: 700 .9rem var(--sans); cursor: pointer; }
.menu-btn[aria-expanded="true"] { background: var(--navy); color: var(--white); }
.drawer { display: none; border-top: 1px solid var(--line); background: var(--white); }
.drawer.is-open { display: block; }
.drawer ul { list-style: none; margin: 0; padding: 8px 16px 12px; }
.drawer li a { display: block; padding: 14px 4px; min-height: 48px; border-bottom: 1px solid var(--line); font: 600 1.12rem var(--sans); color: var(--navy); text-decoration: none; }
.drawer li a:hover, .drawer li a:active { background: var(--navy-tint); }
.site-header .drawer .wrap { display: block; min-height: 0; padding-bottom: 20px; }
.drawer .btn { width: 100%; margin-top: 10px; }
@media (min-width: 1000px) {
  .nav, .header-cta, .header-phone { display: block; }
  .menu-btn, .drawer, .drawer.is-open { display: none; }
}

/* Mobile action bar */
.actionbar { position: fixed; inset: auto 0 0 0; z-index: 45; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--navy); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 16px rgba(20, 38, 56, .15); }
.actionbar a, .actionbar button { display: flex; align-items: center; justify-content: center; min-height: 56px; color: var(--white); font: 700 .98rem var(--sans); text-decoration: none; background: none; border: 0; border-right: 1px solid rgba(255,255,255,.18); cursor: pointer; }
.actionbar a:active { background: var(--navy-hover); }
.actionbar > :last-child { border-right: 0; background: var(--white); color: var(--navy); box-shadow: inset 0 3px 0 var(--gold); }
body { padding-bottom: 56px; }
@media (min-width: 1000px) { .actionbar { display: none; } body { padding-bottom: 0; } }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(36px, 5vw, 56px) 0; }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .eyebrow { color: var(--gold); }
.section--navy .lede, .section--navy p { color: var(--on-navy); }
.section--navy a:not(.btn) { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* Survey "monuments": small gold corner marks on framed elements */
.plat { position: relative; background: var(--white); border: 1px solid var(--line); padding: 28px; border-radius: 2px; }
.plat::before, .plat::after { content: ""; position: absolute; width: 16px; height: 16px; border-color: var(--gold); border-style: solid; pointer-events: none; }
.plat::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.plat::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.05fr .95fr; } }
.hero h1 em { font-style: italic; color: var(--gold-ink); }
.hero__photo { position: relative; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 2px; }
.paths { display: grid; gap: 10px; margin-top: 28px; }
@media (min-width: 560px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; min-height: 64px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: var(--radius); text-decoration: none; color: var(--charcoal); box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s, transform .15s; }
.path:hover { border-left-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-1px); color: var(--charcoal); }
.path:active { transform: none; }
.path:focus-visible { outline: none; box-shadow: var(--focus); }
.path b { font-size: 1.05rem; color: var(--navy); }
.path span { font-size: .9rem; color: var(--muted); }

/* Deed-record caption: a small label below-left of the photo, not an overlay across it */
.deed { position: absolute; left: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 2px 10px; padding: 6px 10px; background: rgba(20, 38, 56, .88); color: var(--white); font: 500 .68rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; border-left: 3px solid var(--gold); width: fit-content; max-width: calc(100% - 24px); border-radius: 2px; }
.deed b { color: var(--white); font-weight: 500; }

/* ---------- Three numbers ledger ---------- */
.ledger { display: grid; border-top: 2px solid var(--navy); }
@media (min-width: 820px) { .ledger { grid-template-columns: repeat(3, 1fr); } }
.ledger__col { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 820px) { .ledger__col { padding: 32px 28px; border-bottom: 0; border-right: 1px solid var(--line); } .ledger__col:first-child { padding-left: 0; } .ledger__col:last-child { border-right: 0; } }
.ledger__n { font: 500 .8rem var(--mono); color: var(--gold-ink); letter-spacing: .1em; }
.ledger__col h3 { margin: 6px 0 10px; font-size: 1.9rem; }
.ledger__col p { margin: 0; color: var(--charcoal); }
.section--navy .ledger { border-top-color: var(--gold); }
.section--navy .ledger__col { border-color: rgba(255,255,255,.16); }
.section--navy .ledger__n { color: var(--gold); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--white); padding: 22px 20px; border-top: 3px solid transparent; }
.stat:first-child { border-top-color: var(--gold); }
.stat b { display: block; font: 600 2.1rem/1 var(--serif); color: var(--navy); margin-bottom: 6px; }
.stat span { font-size: .9rem; color: var(--muted); }

/* ---------- Project (property) cards ---------- */
.projects { display: grid; gap: 28px; }
@media (min-width: 720px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .projects--3 { grid-template-columns: repeat(3, 1fr); } }
.project { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: box-shadow .15s; }
.project:hover { box-shadow: var(--shadow); }
.project__img { position: relative; aspect-ratio: 3 / 2; background: var(--navy-tint); overflow: hidden; }
.project__img img { width: 100%; height: 100%; object-fit: cover; }
.project__img--drawn { display: grid; place-items: center; color: var(--gold); }
.project__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.project__town { font: 500 .74rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.project h3 { font-size: 1.5rem; margin: 0; }
.project dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 8px 0 0; font-size: .93rem; }
.project dt { color: var(--muted); }
.project dd { margin: 0; font-weight: 600; color: var(--charcoal); }
.project__note { font-size: .93rem; color: var(--charcoal); margin: 6px 0 0; }
.project__src { margin-top: auto; padding-top: 12px; font: 400 .74rem/1.45 var(--mono); color: var(--muted); }
.tag { display: inline-block; align-self: flex-start; font: 500 .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; background: var(--navy-tint); color: var(--navy); border-radius: 3px; }

/* ---------- Cards / lists ---------- */
.card { background: var(--white); border: 1px solid var(--line); padding: 26px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-sm); }
.card h3 { font-size: 1.45rem; margin: 0; }
.card p { margin: 0; color: var(--charcoal); }
.card .textlink { margin-top: auto; padding-top: 10px; align-self: flex-start; }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
a.card:hover { border-color: var(--gold); box-shadow: var(--shadow); color: inherit; }
a.card:focus-visible { outline: none; box-shadow: var(--focus); }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--gold-ink); border-bottom: 2px solid var(--gold-ink); transform: rotate(-45deg); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 18px 18px 18px 64px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 18px; top: 18px; font: 500 .95rem var(--mono); color: var(--gold-ink); }
.steps b { color: var(--navy); }
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } .split--wide { grid-template-columns: 1.3fr .7fr; } }

/* Town lists */
.counties { display: grid; gap: 24px; }
@media (min-width: 900px) { .counties { grid-template-columns: repeat(3, 1fr); } }
.county h3 { font-size: 1.4rem; padding-bottom: 8px; border-bottom: 2px solid var(--navy); }
.county ul { list-style: none; padding: 0; margin: 0; }
.county li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.county li a { font-weight: 700; text-decoration: none; }
.county li a:hover { text-decoration: underline; }
.county li span { font-size: .85rem; color: var(--muted); text-align: right; }

/* Facts table */
.facts { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.facts th, .facts td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { font-weight: 600; color: var(--muted); width: 55%; }
.facts td { font: 500 1.05rem var(--mono); color: var(--navy); }
.source { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.table-scroll { overflow-x: auto; }
.data { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--white); border: 1px solid var(--line); }
.data th, .data td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data thead th { background: var(--navy); color: var(--white); font-weight: 700; }
.data td.num, .data th.num { text-align: right; font-family: var(--mono); white-space: nowrap; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; position: relative; font-weight: 700; font-size: 1.06rem; color: var(--navy); border-radius: 2px; }
.faq summary:hover { color: var(--navy-hover); text-decoration: underline; text-underline-offset: 3px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 12px; font: 400 1.6rem var(--sans); color: var(--navy); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 18px; color: var(--charcoal); }

/* Breadcrumbs */
.crumbs { font-size: .85rem; color: var(--muted); padding-top: 20px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--navy); }

/* Articles */
.article { padding-bottom: 72px; }
.article h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.article h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 1.6em; }
.article h3 { font-size: 1.35rem; margin-top: 1.4em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: .4em; }
.byline { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-block: 1px solid var(--line); margin: 20px 0 28px; font-size: .92rem; color: var(--muted); }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.answer-box { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); padding: 20px 24px; margin: 0 0 28px; border-radius: var(--radius); }
.answer-box p:last-child { margin: 0; }
.callout { background: var(--navy-tint); padding: 18px 22px; border-radius: var(--radius); margin: 24px 0; border-left: 4px solid var(--navy); }
.draft-note { background: #FFF6E0; border: 1px dashed var(--gold-ink); color: var(--charcoal); padding: 14px 18px; font-size: .92rem; margin: 18px 0; border-radius: var(--radius); }
.sources { font-size: .9rem; }
.sources li { word-break: break-word; }
.cta-panel { background: var(--navy); color: var(--on-navy); padding: 32px; margin: 40px 0 0; border-radius: var(--radius); }
.cta-panel h2, .cta-panel h3 { color: var(--white); margin-top: 0; }
.cta-panel p { color: var(--on-navy); }
.related { display: grid; gap: 12px; padding: 0; list-style: none; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; font: 400 1rem var(--sans); color: var(--charcoal); background: var(--white); border: 1.5px solid var(--field); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(20, 38, 56, .18); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid, .field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.field input:disabled, .field select:disabled, .field textarea:disabled { background: var(--disabled-bg); color: var(--disabled-ink); cursor: not-allowed; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--navy); }
.hp { position: absolute; left: -5000px; }
.form-status { padding: 14px 16px; border-radius: var(--radius); font-weight: 600; border-left: 4px solid currentColor; }
.form-status[data-state="ok"] { background: var(--success-bg); color: var(--success); }
.form-status[data-state="error"] { background: var(--error-bg); color: var(--error); }
.form-status:focus { outline: none; box-shadow: var(--focus); }
.form-panel { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: clamp(20px, 4vw, 36px); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-panel h2, .form-panel h3 { margin-top: 0; }
.fineprint { font-size: .82rem; color: var(--muted); margin: 0; }

/* About */
.portrait { position: relative; }
.portrait img { width: 100%; max-width: 440px; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 2px; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.creds span { font: 500 .75rem var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--line); background: var(--white); color: var(--navy); border-radius: 3px; }
.brokerage-logo { width: 132px; height: auto; aspect-ratio: 1340.11 / 529.59; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding: 64px 0 32px; font-size: .93rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font: 500 .75rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand b { font: 600 1.8rem/1 var(--serif); color: var(--white); display: block; margin-bottom: 10px; }
.footer-brokerage { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.footer-brokerage p { margin: 0; max-width: 60ch; }
.legal { margin-top: 24px; display: grid; gap: 10px; font-size: .82rem; color: var(--on-navy-muted); }
.eho { display: inline-flex; align-items: center; gap: 8px; }
.eho svg { width: 22px; height: 22px; }

/* ---------- Site assistant ---------- */
.assist-launch { position: fixed; right: 20px; bottom: 24px; z-index: 44; display: none; align-items: center; gap: 8px; min-height: 48px; padding: 12px 18px; border-radius: 999px; background: var(--white); color: var(--navy); border: 2px solid var(--navy); font: 700 .92rem var(--sans); box-shadow: var(--shadow); cursor: pointer; }
.assist-launch:hover { background: var(--navy); color: var(--white); }
.assist-launch:focus-visible { outline: none; box-shadow: var(--focus); }
@media (min-width: 1000px) { .assist-launch { display: inline-flex; } }
.assist { position: fixed; z-index: 60; inset: auto 0 0 0; max-height: 86vh; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); box-shadow: 0 -8px 40px rgba(20, 38, 56, .2); }
@media (min-width: 640px) { .assist { inset: auto 20px 20px auto; width: 380px; max-height: min(640px, 86vh); border-radius: 10px; overflow: hidden; } }
.assist[hidden] { display: none; }
.assist__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--navy); color: var(--white); border-bottom: 3px solid var(--gold); }
.assist__head b { display: block; font-size: .98rem; }
.assist__head small { color: var(--on-navy-muted); font-size: .78rem; }
.assist__close { background: none; border: 0; color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; min-width: 44px; min-height: 44px; border-radius: var(--radius); }
.assist__close:hover { background: rgba(255,255,255,.12); }
.assist__close:focus-visible { outline: 2px solid var(--gold); outline-offset: 0; }
.assist__log { flex: 1; overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; font-size: .95rem; background: var(--warm); }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 12px; }
.msg--bot { background: var(--white); border: 1px solid var(--line); color: var(--charcoal); justify-self: start; }
.msg--me { background: var(--navy); color: var(--white); justify-self: end; }
.msg--me a { color: var(--white); }
.msg a { font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; min-height: 44px; border-radius: 999px; border: 2px solid var(--navy); background: var(--white); color: var(--navy); font: 600 .88rem var(--sans); cursor: pointer; }
.chip:hover { background: var(--navy-tint); }
.chip:active, .chip[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.chip:focus-visible { outline: none; box-shadow: var(--focus); }
.assist__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.assist__form input { flex: 1; min-height: 48px; padding: 8px 12px; border: 1.5px solid var(--field); border-radius: var(--radius); font: 1rem var(--sans); color: var(--charcoal); }
.assist__form input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(20, 38, 56, .18); }
.assist__form button { min-height: 48px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .actionbar, .assist-launch, .site-footer { display: none; } }
.section--navy .ledger__col p { color: var(--on-navy); }
