/* Lyman Hughes Associates — site styles */

@font-face { font-family: "Libre Caslon Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/libre-caslon-text-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Caslon Text"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/libre-caslon-text-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Libre Caslon Text"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/libre-caslon-text-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/public-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/public-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --green: #1F3D2E;
  --green-deep: #13231C;
  --ink: #17241D;
  --ink-strong: #13231C;
  --body: #3E4E44;
  --muted: #5B6B61;
  --line: #DCE1D8;
  --field: #A9B4AC;
  --bg: #F5F6F2;
  --panel: #EEF1EC;
  --white: #FFFFFF;
  --on-green: #E9EFE9;
  --on-green-muted: #C9D6CC;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-deep); }
:focus-visible { outline: 3px solid #B08A3E; outline-offset: 2px; }
input, textarea, select, button { font: inherit; }
h1, h2, h3 { color: var(--ink-strong); }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--white { background: var(--white); }
.section--rule { border-top: 1px solid var(--line); }
.section--tight { padding: 64px 0; }

/* Type */
.eyebrow { margin: 0 0 16px; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.display { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5vw, 64px); line-height: 1.08; letter-spacing: -0.015em; }
.display em { color: var(--green); }
.h2 { margin: 0 0 24px; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; }
.h3 { margin: 0 0 8px; font-size: 20px; }
.lead { font-size: 19px; color: var(--body); max-width: 600px; }
.muted { color: var(--muted); }
.body { color: var(--body); }
.small { font-size: 14px; }
.link-arrow { font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 4px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; line-height: 1.2; }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-deep); color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink-strong); }
.btn--light:hover { background: var(--panel); color: var(--ink-strong); }
.btn--ghost-light { border-color: var(--white); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--ink-strong); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar + header */
.topbar { background: var(--green); color: var(--on-green); font-size: 14px; }
.topbar .container { display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: var(--white); font-weight: 600; text-decoration: none; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; }
.site-header .container { display: flex; gap: 16px 32px; justify-content: space-between; align-items: center; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; flex-direction: column; line-height: 1.1; text-decoration: none; color: var(--ink); }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 28px; letter-spacing: -0.01em; }
.brand__sub { margin-top: 4px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.brand:hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__list a { text-decoration: none; font-weight: 500; padding: 10px 0; display: inline-block; }
.nav__list a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; background: transparent; border: 1.5px solid var(--ink); border-radius: 4px; color: var(--ink); font-weight: 600; cursor: pointer; }

@media (max-width: 900px) {
  .site-header .container { flex-wrap: wrap; }
  .nav { width: 100%; flex-direction: column; align-items: stretch; gap: 12px; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { width: 100%; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); padding: 4px 24px 24px; box-shadow: 0 12px 24px rgba(19,35,28,0.08); }
  .js .nav.is-open { display: flex; }
  .brand__name { font-size: 24px; }
  .js .site-header .container { flex-wrap: nowrap; column-gap: 12px; }
  .brand { min-width: 0; }
}
@media (max-width: 420px) {
  .brand__sub { font-size: 11px; letter-spacing: 0.14em; }
  .nav-toggle { padding: 8px 12px; }
  .topbar .container { font-size: 13px; }
}

/* Breadcrumb + page head */
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.page-head { background: var(--white); border-bottom: 1px solid var(--line); padding: 56px 0 64px; }
.page-head--green { background: var(--green); color: var(--on-green); border-bottom: 0; padding-bottom: 88px; }
.page-head--green .breadcrumb, .page-head--green .eyebrow { color: var(--on-green-muted); }
.page-head--green .breadcrumb a { color: var(--white); }
.page-head--green .display { color: var(--white); max-width: 880px; }
.page-head--green .lead { color: var(--on-green); max-width: 680px; }
.split-head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: end; }
.split-head > :first-child { flex: 1 1 520px; min-width: 0; }
.split-head > :last-child { flex: 1 1 380px; min-width: 0; margin: 0; }

/* Layout helpers */
.split { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.section-head { display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: space-between; align-items: end; margin-bottom: 48px; }
.section-head .h2 { margin: 0; }
.section-head > div { max-width: 520px; }

/* Hero */
.hero { background: var(--white); }
.hero__inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 72px; }
.hero__text { flex: 1 1 480px; min-width: 0; }
.hero__text .lead { margin: 28px 0 36px; }
.framed { flex: 1 1 420px; min-width: 0; margin: 0; position: relative; padding: 0 0 20px 20px; }
.framed::before { content: ""; position: absolute; left: 0; bottom: 0; width: calc(100% - 20px); height: calc(100% - 20px); border: 1.5px solid var(--green); }
.framed img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% center; }

.stats { border-top: 1px solid var(--line); background: var(--white); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stat { padding: 28px 24px 28px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__big { font-family: var(--serif); font-size: 32px; color: var(--ink-strong); }
.stat__small { font-size: 15px; color: var(--muted); }
@media (max-width: 960px) { .stat + .stat { border-left: 0; padding-left: 0; } .stat { border-bottom: 1px solid var(--line); } }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); padding: 32px 28px; }
.card h3 { margin: 20px 0 12px; font-family: var(--serif); font-weight: 700; font-size: 22px; }
.card ul { margin: 0; padding: 0 0 0 18px; color: var(--body); font-size: 16px; line-height: 1.9; }
.icon { width: 32px; height: 32px; stroke: var(--green); }

/* Green band */
.band { background: var(--green); color: var(--on-green); }
.band .eyebrow { color: var(--on-green-muted); }
.band .h2 { color: var(--white); }
.band__inner { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.band__inner > * { flex: 1 1 420px; min-width: 0; }
.years { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 24px; padding: 0; list-style: none; }
.years li { border-top: 2px solid var(--on-green-muted); padding-top: 12px; font-size: 15px; }
.years strong { display: block; color: var(--white); font-size: 18px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.steps li { border-top: 1px solid var(--ink); padding-top: 20px; }
.steps__num { font-family: var(--serif); font-size: 40px; color: var(--green); }
.steps h3 { margin: 8px 0; font-size: 20px; }
.steps p { margin: 0; color: var(--body); }

/* Illustration panel */
.illustration { background: var(--panel); border: 1px solid var(--line); padding: 40px 32px 28px; color: var(--green); }
.illustration figcaption { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--muted); text-align: center; }

/* Service groups */
.service-group { display: flex; flex-wrap: wrap; gap: 24px 64px; padding: 48px 0; border-top: 1px solid var(--ink); }
.service-group:last-child { border-bottom: 1px solid var(--ink); }
.service-group__intro { flex: 1 1 280px; min-width: 0; }
.service-group__num { font-family: var(--serif); font-size: 18px; color: var(--green); }
.service-group__intro h2 { margin: 6px 0 10px; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.15; }
.service-group__intro p { margin: 0; color: var(--muted); font-size: 16px; }
.service-group__list { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; }
.service-group__list h3 { margin: 0 0 6px; font-size: 19px; }
.service-group__list p { margin: 0; color: var(--body); font-size: 16px; }
.banner img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: 55% 40%; }
@media (max-width: 700px) { .banner img { aspect-ratio: 4 / 3; } }

/* CTA panel */
.cta { background: var(--green); color: var(--on-green); padding: 48px; display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: center; }
.cta > div:first-child { flex: 1 1 420px; min-width: 0; }
.cta h2 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; color: var(--white); }
.cta p { margin: 0; }
@media (max-width: 600px) { .cta { padding: 32px 24px; } }

/* Definition list (at a glance) */
.glance { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--ink); }
.glance > div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.glance dt { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.glance dd { margin: 8px 0 0; font-family: var(--serif); font-size: 26px; color: var(--ink-strong); }

/* Threshold cards */
.threshold { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green); padding: 28px; }
.threshold__when { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.threshold__amount { margin: 8px 0; font-family: var(--serif); font-size: 36px; color: var(--ink-strong); }
.threshold__note { color: var(--body); font-size: 16px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
.table caption { text-align: left; padding: 20px 24px; font-family: var(--serif); font-size: 22px; color: var(--ink-strong); background: var(--bg); border-bottom: 1px solid var(--line); }
.table th, .table td { text-align: left; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.table thead th { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.table tbody th { font-weight: 600; }
.table td.strong { font-weight: 700; }
.table tr.highlight { background: var(--panel); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }

.checklist { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist svg { flex: none; margin-top: 3px; width: 22px; height: 22px; stroke: var(--green); }
.side-img { max-width: 440px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 42% center; border: 1px solid var(--line); }

/* Contact */
.contact-grid { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.contact-grid > :first-child { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-grid > :last-child { flex: 1 1 520px; min-width: 0; }
.details { background: var(--white); border: 1px solid var(--line); padding: 32px; }
.details__label { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.details__phone { display: block; margin: 4px 0 20px; font-family: var(--serif); font-size: 34px; color: var(--ink-strong); text-decoration: none; }
.details address { font-style: normal; margin-top: 4px; }
.details a.email { display: block; margin: 4px 0 20px; word-break: break-word; }
.hours { width: 100%; background: var(--white); border: 1px solid var(--line); border-collapse: collapse; font-size: 16px; }
.hours caption { text-align: left; padding: 0 0 10px; font-family: var(--serif); font-size: 22px; color: var(--ink-strong); }
.hours th { text-align: left; font-weight: 500; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.hours td { text-align: right; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

.form { background: var(--white); border: 1px solid var(--line); padding: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.form h2 { grid-column: 1 / -1; margin: 0; font-family: var(--serif); font-weight: 700; font-size: 26px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea { padding: 12px 14px; border: 1px solid var(--field); border-radius: 4px; background: var(--white); color: var(--ink); min-height: 46px; font-weight: 400; }
.field textarea { resize: vertical; min-height: 140px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; }
.form legend { font-size: 15px; font-weight: 600; padding: 0; margin-bottom: 4px; }
.choice { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; }
.choice input { width: 20px; height: 20px; accent-color: var(--green); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--body); }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--green); }
.form .btn { justify-self: start; border: 0; }
.hidden-field { display: none; }
@media (max-width: 600px) { .form { padding: 28px 20px; } }

.map { width: 100%; min-height: 360px; border: 1px solid var(--line); display: block; }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 48px 0 12px; }
.prose p, .prose li { color: var(--body); }

/* Footer */
.site-footer { background: var(--green-deep); color: var(--on-green-muted); font-size: 14px; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.site-footer__name { font-family: var(--serif); font-size: 20px; color: var(--white); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.site-footer a { color: var(--white); }
.bridge-mark { width: 140px; height: 65px; color: var(--on-green-muted); margin-bottom: 12px; }
.yell { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--on-green-muted); border-radius: 4px; text-decoration: none; font-weight: 600; line-height: 1.25; }
.yell small { display: block; font-size: 12px; font-weight: 400; color: var(--on-green-muted); }
.yell:hover { background: rgba(255,255,255,0.08); color: var(--white); }
