:root {
  --ink: #17212b;
  --muted: #526477;
  --green-950: #071b2f;
  --green-800: #075985;
  --green-600: #0b83e6;
  --green-100: #e5f4fc;
  --lime: #78c8f2;
  --cream: #f4f8fb;
  --red: #b52a24;
  --white: #ffffff;
  --border: #d4e1ea;
  --shadow: 0 22px 55px rgb(7 27 47 / 15%);
  --radius: 1.15rem;
  --shell: min(1180px, calc(100% - 2rem));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
a { color: var(--green-800); text-underline-offset: .2em; }
a:hover { color: var(--green-600); }
button, input, select, textarea { font: inherit; }

h1, h2, h3 {
  margin: 0 0 .7em;
  color: var(--green-950);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 850;
  line-height: 1.06;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.65rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 3.15rem); letter-spacing: -.03em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.25rem; }

.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 1000; transform: translateY(-160%); padding: .75rem 1rem; background: var(--white); border: 2px solid var(--green-950); border-radius: .5rem; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 97%); border-top: 5px solid var(--green-600); border-bottom: 1px solid var(--border); box-shadow: 0 8px 26px rgb(7 27 47 / 8%); backdrop-filter: blur(12px); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--green-950); text-decoration: none; }
.brand-logo { display: block; width: 58px; height: 58px; flex: 0 0 58px; object-fit: contain; }
.brand-copy { display: grid; gap: .08rem; line-height: 1.05; }
.brand-copy strong { font-size: clamp(1.02rem, 1.8vw, 1.32rem); font-weight: 900; letter-spacing: -.025em; }
.brand-copy small { color: var(--muted); font-size: .72rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.primary-nav { margin-left: auto; display: flex; gap: .25rem; }
.primary-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: .55rem .8rem; color: var(--ink); border-radius: .5rem; text-decoration: none; font-weight: 650; }
.primary-nav a:hover, .primary-nav a:focus-visible { background: var(--green-100); }
.header-call { min-height: 46px; display: inline-flex; align-items: center; padding: .7rem 1.1rem; color: var(--white); background: var(--red); border-radius: 999px; box-shadow: 0 8px 18px rgb(181 42 36 / 22%); text-decoration: none; font-weight: 800; }
.menu-toggle { display: none; min-width: 48px; min-height: 48px; margin-left: auto; color: var(--green-950); background: var(--green-100); border: 0; border-radius: .65rem; font-weight: 700; }

.page-hero { position: relative; padding: clamp(4.5rem, 8vw, 7rem) 0; color: var(--white); background: radial-gradient(circle at 78% 15%, rgb(11 131 230 / 34%), transparent 32%), linear-gradient(132deg, #06172a 0%, #073b5c 58%, #075985 100%); overflow: hidden; }
.page-hero::after { position: absolute; right: -7rem; bottom: -10rem; width: 28rem; height: 28rem; content: ""; border: 1px solid rgb(255 255 255 / 14%); border-radius: 50%; box-shadow: 0 0 0 4rem rgb(255 255 255 / 3%), 0 0 0 8rem rgb(255 255 255 / 2%); pointer-events: none; }
.page-hero h1 { color: var(--white); }
.compact-hero { padding-block: clamp(3.5rem, 7vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero-image { position: relative; z-index: 1; width: 100%; max-height: 520px; object-fit: cover; border: 7px solid rgb(255 255 255 / 15%); border-radius: 1.5rem; box-shadow: 0 28px 75px rgb(0 0 0 / 34%); }
.hero-image-landmark { aspect-ratio: 3 / 2; }
.eyebrow { margin-bottom: .8rem; color: var(--green-600); font-size: .82rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.page-hero .eyebrow { color: #9ddcff; }
.lede { max-width: 62ch; color: #334b5c; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.page-hero .lede { color: #e4f3fb; }
.hero-points { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.4rem 0 1.6rem; padding: 0; list-style: none; }
.hero-points li { padding: .45rem .75rem; color: #eef9ff; background: rgb(255 255 255 / 9%); border: 1px solid rgb(255 255 255 / 18%); border-radius: 999px; font-size: .88rem; font-weight: 750; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.25rem; border: 2px solid transparent; border-radius: .7rem; text-decoration: none; font-weight: 850; cursor: pointer; }
.button-primary { color: var(--white); background: var(--red); box-shadow: 0 10px 24px rgb(181 42 36 / 22%); }
.button-primary:hover { color: var(--white); background: #92211c; }
.button-secondary { color: var(--green-950); background: var(--white); }
.button-light { color: var(--green-950); background: var(--white); }
.button-outline-light { color: var(--white); border-color: rgb(255 255 255 / 70%); }
.full-width { width: 100%; }
.text-link { font-weight: 800; }

.content-section { padding: clamp(3.75rem, 7vw, 6.5rem) 0; }
.section-tint { background: linear-gradient(145deg, #f5f9fc, #eaf4fa); }
.section-dark { color: var(--white); background: var(--green-950); }
.section-dark h2, .section-dark h3, .section-dark a { color: var(--white); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.prose > * { max-width: 72ch; }
.prose h2 { margin-top: 1.5em; }
.side-panel { position: sticky; top: 112px; padding: 1.6rem; background: var(--white); border: 1px solid var(--border); border-top: 5px solid var(--green-600); border-radius: var(--radius); box-shadow: 0 16px 40px rgb(7 27 47 / 9%); }
.check-list { padding-left: 1.2rem; }
.check-list li { margin-bottom: .65rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; margin-top: 2rem; counter-reset: service-card; }
.service-card { position: relative; min-height: 100%; padding: 1.65rem; background: linear-gradient(155deg, #fff 55%, #f1f8fc); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 13px 34px rgb(7 27 47 / 8%); overflow: hidden; }
.service-card::before { display: block; width: 2.2rem; height: .32rem; margin-bottom: 1.15rem; content: ""; background: linear-gradient(90deg, var(--green-600), var(--red)); border-radius: 999px; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 20px 46px rgb(7 27 47 / 14%); }
.service-card h3 a { color: inherit; }
.review-card { display: flex; flex-direction: column; gap: .7rem; padding: 1.8rem; }
.review-card::before { display: none; }
.review-stars { margin: 0; color: #f2a900; font-size: 1.1rem; letter-spacing: .08em; }
.review-card blockquote { margin: 0; color: #263b4c; font-size: 1.08rem; line-height: 1.7; }
.review-card figcaption { display: grid; gap: .15rem; margin-top: auto; padding-top: .65rem; border-top: 1px solid var(--border); }
.review-card figcaption span { color: var(--muted); font-size: .88rem; }

.breadcrumbs { padding-block: 1rem; font-size: .9rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .4rem; color: var(--muted); }

.article-shell { padding-block: clamp(3rem, 7vw, 6rem); }
.article-header { max-width: 850px; margin-bottom: 2rem; }
.article-image { display: block; width: min(960px, 100%); margin: 0 auto 3rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-date { color: var(--muted); font-size: .9rem; }

.local-landmarks { background: var(--white); }
.landmark-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.landmark-card { margin: 0; overflow: hidden; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 16px 38px rgb(7 27 47 / 10%); }
.landmark-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.landmark-card figcaption { display: grid; gap: .35rem; padding: 1.15rem 1.25rem 1.3rem; }
.landmark-card figcaption strong { color: var(--green-950); font-size: 1.08rem; }
.landmark-card figcaption span { color: var(--muted); line-height: 1.5; }
.flood-list li::before { background: var(--red); }
.flood-panel { color: var(--ink); background: var(--white); }
.flood-panel h2 { color: var(--green-950); }

.cta-band { padding: clamp(3rem, 6vw, 5rem) 0; color: var(--white); background: radial-gradient(circle at 85% 15%, rgb(11 131 230 / 38%), transparent 30%), linear-gradient(120deg, #071b2f, #075985); }
.cta-band h2 { color: var(--white); }
.cta-band .eyebrow { color: var(--lime); }
.cta-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
.cta-inner .button-row { justify-content: flex-end; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .8rem; color: var(--ink); background: var(--white); border: 1px solid #879892; border-radius: .5rem; }
.field textarea { min-height: 170px; resize: vertical; }
.checkbox-field { display: flex; align-items: flex-start; gap: .6rem; }
.checkbox-field input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; }
.form-note { color: var(--muted); font-size: .92rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1rem; border-left: 4px solid var(--green-600); background: var(--green-100); }
.notice-error { border-color: #a33636; background: #fff0f0; }

.site-footer { padding-top: 3.5rem; color: #dceaf4; background: #06172a; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 2rem; }
.footer-title { color: var(--white); font-size: 1.65rem; font-weight: 850; }
.footer-heading { color: var(--lime); font-weight: 800; }
.site-footer ul { padding: 0; list-style: none; }
.site-footer li { margin-bottom: .4rem; }
.footer-bottom { margin-top: 2rem; padding-block: 1rem; border-top: 1px solid rgb(255 255 255 / 18%); }

.consent-banner { position: fixed; z-index: 100; right: 1rem; bottom: 1rem; left: 1rem; width: min(920px, calc(100% - 2rem)); margin-left: auto; padding: 1.25rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 20px 70px rgb(0 0 0 / 22%); }
.consent-banner:not([hidden]) { display: grid; grid-template-columns: 1.3fr .7fr; gap: 1rem; align-items: center; }
.consent-banner h2 { font-size: 1.3rem; }
.consent-banner p { margin-bottom: 0; }

:focus-visible { outline: 3px solid #e5a900; outline-offset: 3px; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-call { display: none; }
  .primary-nav { position: absolute; top: 88px; right: 1rem; left: 1rem; display: none; flex-direction: column; padding: .75rem; background: var(--white); border: 1px solid var(--border); border-radius: .75rem; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: flex; }
  .hero-grid, .content-grid, .cta-inner { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .cta-inner .button-row { justify-content: flex-start; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consent-banner:not([hidden]) { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --shell: min(100% - 1.25rem, 1120px); }
  .header-inner { min-height: 76px; }
  .primary-nav { top: 76px; }
  .brand-logo { width: 48px; height: 48px; flex-basis: 48px; }
  .brand-copy small { display: none; }
  .page-hero { padding-block: 3.25rem; }
  .hero-grid { gap: 1.5rem; }
  .hero-image { max-height: 340px; }
  .card-grid, .footer-grid, .form-grid, .landmark-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .button-row .button { width: 100%; }
  .consent-banner { right: .5rem; bottom: .5rem; left: .5rem; width: calc(100% - 1rem); max-height: calc(100vh - 1rem); overflow: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
