/* Fremont Insurance: the Bay-edge salt ponds seen from the air, laid out as a Studio Dumbar module grid.
   Flat colour blocks (cyan, magenta, yellow, grass green) over cool grey; overlaps multiply into the secondaries. */
@font-face { font-family: "Familjen Grotesk"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/familjen-grotesk-700.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/hanken-grotesk-400.woff2) format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/hanken-grotesk-700.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --ink: #0f171c;
  --muted: #3b4a53;
  --line: #0f171c;
  --grey: #dfe5e8;
  --grey-hi: #eef2f4;
  --grey-lo: #b4bec4;
  --paper: #ffffff;
  --cyan: #12b0e6;
  --magenta: #e0187f;
  --magenta-deep: #b80f66;
  --yellow: #ffd400;
  --green: #4cb944;
  --accent: #b80f66;
  --accent-dark: #0f171c;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --module: 48px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--grey); font: 400 1.0625rem/1.55 var(--text); overflow-x: clip; }
::selection { background: var(--yellow); color: var(--ink); }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--magenta-deep); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--yellow); }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); }

/* ---------- masthead: four colour bands, then a plain businesslike line ---------- */
.site-header { border: 0; background: var(--grey-hi); border-top: 10px solid var(--ink); position: relative; }
.site-header::before { content: ""; position: absolute; inset: -10px 0 auto 0; height: 10px; background: linear-gradient(90deg, var(--cyan) 0 25%, var(--magenta) 25% 50%, var(--yellow) 50% 75%, var(--green) 75% 100%); }
.header-inner { width: min(100% - 40px, 1240px); max-width: none; margin: auto; padding: 8px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; font-size: .9375rem; line-height: 1.2; letter-spacing: 0; }
.brand strong { display: block; font: 700 1.0625rem/1.15 var(--display); }
.brand-mark { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 0; background: var(--magenta-deep); color: #fff; font: 700 1.5rem/1 var(--display); box-shadow: 5px 5px 0 var(--yellow); }
.brand:hover .brand-mark { box-shadow: 5px 5px 0 var(--cyan); }
.header-link { display: inline-flex; align-items: center; min-height: 48px; padding: 0; border: 0; background: transparent; color: var(--ink); white-space: nowrap; font-weight: 700; text-decoration: underline; text-decoration-color: var(--ink); cursor: pointer; }
.header-link:hover { text-decoration-color: var(--magenta-deep); }
.header-link span { color: var(--magenta-deep); }

/* ---------- home: the pond mosaic and the six cells ---------- */
.ponds { --px: 0px; --py: 0px; --pr: -2.5deg; position: relative; isolation: isolate; padding-bottom: 28px; background-color: var(--grey); background-image: linear-gradient(#cfd7db 1px, transparent 1px), linear-gradient(90deg, #cfd7db 1px, transparent 1px); background-size: var(--module) var(--module); background-position: 0 0; display: grid; grid-template-columns: minmax(0, 1fr) min(100% - 40px, 1240px) minmax(0, 1fr); }
.ponds > * { grid-column: 2; }
.ponds .site-header { grid-column: 1 / -1; grid-row: 1; }
.ponds-art { grid-column: 2; grid-row: 2; justify-self: end; align-self: start; width: 35%; margin-top: 40px; z-index: -1; aspect-ratio: 500 / 430; transform: translate(var(--px), var(--py)) rotate(var(--pr)); transition: transform .8s var(--ease); box-shadow: 10px 10px 0 var(--ink); }
.ponds-svg { display: block; width: 100%; height: 100%; }
.ponds .minimal-shell { grid-column: 2; grid-row: 2; position: relative; z-index: 1; width: auto; min-height: 0; margin: 0; padding: 44px 0 0; display: block; }

.minimal-shell h1 { position: relative; max-width: 7.2em; margin: 0 0 40px; font: 700 clamp(3.1rem, 8.2vw, 7.2rem)/.92 var(--display); letter-spacing: -.035em; }
.ponds .minimal-shell h1 { max-width: 60%; min-height: calc(1.84em + 28px); }
.minimal-shell h1::before, .minimal-shell h1::after { content: ""; position: absolute; z-index: -1; height: .24em; mix-blend-mode: multiply; }
.minimal-shell h1::before { left: -.18em; top: .12em; width: 1.9em; background: var(--yellow); }
.minimal-shell h1::after { left: .6em; top: .3em; width: 2.3em; background: var(--cyan); }

.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 6px; background: var(--grey-lo); border: 3px solid var(--ink); isolation: isolate; margin-top: 18px; }
.choice-grid a { --on: var(--ink); --cell: var(--cyan); --bar: var(--yellow); position: relative; z-index: 0; min-width: 0; min-height: 148px; padding: 18px 38% 18px 18px; display: flex; align-items: flex-end; overflow: hidden; border: 0; border-radius: 0; background: var(--cell); color: var(--on); font: 700 clamp(1.15rem, 1.7vw, 1.45rem)/1.15 var(--display); letter-spacing: -.01em; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.choice-grid a::before { content: ""; position: absolute; z-index: -1; right: 0; bottom: 0; width: 30%; height: 54%; background: var(--bar); mix-blend-mode: multiply; transition: width .5s var(--ease), height .5s var(--ease); }
.choice-grid a::after { content: ""; position: absolute; z-index: -1; right: 12%; top: 14px; width: 22px; height: 22px; background: var(--on); clip-path: polygon(0 0, 100% 0, 0 100%); opacity: .9; }
.choice-grid a:nth-child(1) { --cell: var(--cyan); --bar: var(--yellow); }
.choice-grid a:nth-child(2) { --cell: var(--yellow); --bar: var(--magenta); }
.choice-grid a:nth-child(3) { --cell: var(--magenta-deep); --bar: var(--cyan); --on: #fff; }
.choice-grid a:nth-child(4) { --cell: var(--green); --bar: var(--cyan); }
.choice-grid a:nth-child(5) { --cell: var(--ink); --bar: var(--magenta); --on: #fff; }
.choice-grid a:nth-child(6) { --cell: var(--paper); --bar: var(--yellow); padding-right: 18px; }
.choice-grid a:nth-child(6)::after { display: none; }
.choice-grid a:nth-child(5)::after { background: var(--yellow); }
.choice-grid a:hover, .choice-grid a:focus-visible { z-index: 2; transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.choice-grid a:hover::before, .choice-grid a:focus-visible::before { width: 46%; height: 70%; }
.choice-grid a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.choice-grid a:active { transform: translate(0, 0); box-shadow: none; }

/* choosing a band pushes the photo layer back with a parallax shift */
.ponds:has(.choice-grid a:nth-child(1):is(:hover, :focus-visible)) { --px: -14px; --py: 8px; --pr: -3.4deg; }
.ponds:has(.choice-grid a:nth-child(2):is(:hover, :focus-visible)) { --px: 4px; --py: 14px; --pr: -1.6deg; }
.ponds:has(.choice-grid a:nth-child(3):is(:hover, :focus-visible)) { --px: 16px; --py: 6px; --pr: -1deg; }
.ponds:has(.choice-grid a:nth-child(4):is(:hover, :focus-visible)) { --px: -10px; --py: -6px; --pr: -3.8deg; }
.ponds:has(.choice-grid a:nth-child(5):is(:hover, :focus-visible)) { --px: 8px; --py: -10px; --pr: -2deg; }
.ponds:has(.choice-grid a:nth-child(6):is(:hover, :focus-visible)) { --px: 0px; --py: 18px; --pr: 0deg; }

.agency-line { margin: 22px 0 0; padding: 0; color: var(--muted); font-size: .9375rem; font-weight: 700; }
.agency-line a { display: inline-block; padding: 10px 0; color: var(--ink); }
.levee { line-height: 0; border-block: 3px solid var(--ink); background: var(--grey-lo); }
.levee-svg { display: block; width: 100%; height: 40px; }

/* ---------- local board ---------- */
.local-board { border-top: 0; background: var(--grey-hi); color: var(--ink); }
.local-wrap { max-width: 1240px; margin: auto; padding: 72px 20px 96px; }
.local-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 40px; padding: 0 0 28px; border-bottom: 10px solid var(--ink); }
.local-kicker, .local-card-kicker, .local-section-heading > span, .local-small-label { color: var(--muted); font: 700 .8125rem/1.3 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.local-kicker { margin: 0 0 14px; }
.local-kicker span { padding: 0 6px; color: var(--magenta-deep); }
.local-intro h2 { max-width: 12ch; font: 700 clamp(2.6rem, 6.4vw, 5.2rem)/.94 var(--display); letter-spacing: -.035em; }
.local-intro > div > p:last-child { max-width: 36em; margin: 18px 0 0; color: var(--muted); font-size: 1.0625rem; }
.local-generated { flex: none; margin: 0; padding: 6px 10px; background: var(--yellow); color: var(--ink); font-size: .8125rem; font-weight: 700; }
.local-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px 20px; margin: 64px 0 20px; padding-top: 12px; border-top: 4px solid var(--ink); position: relative; }
.local-section-heading::before { content: ""; position: absolute; left: 0; top: -4px; width: 96px; height: 4px; background: var(--magenta-deep); }
.local-section-heading > span { color: var(--ink); }
.local-section-heading h3 { font: 700 clamp(1.9rem, 3.4vw, 2.7rem)/1.02 var(--display); letter-spacing: -.025em; text-align: right; }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 6px; background: var(--grey-lo); border: 3px solid var(--ink); }
.local-card { --tab: var(--cyan); min-width: 0; padding: 26px 26px 22px; border: 0; border-top: 12px solid var(--tab); border-radius: 0; background: var(--paper); box-shadow: none; }
.local-card:nth-child(4n+2) { --tab: var(--magenta); }
.local-card:nth-child(4n+3) { --tab: var(--yellow); }
.local-card:nth-child(4n+4) { --tab: var(--green); }
.local-card h4 { margin: 6px 0 18px; font: 700 clamp(1.6rem, 2.6vw, 2.1rem)/1.05 var(--display); letter-spacing: -.02em; }
.local-card-kicker { margin: 0; }
.local-card .local-copy { margin: 10px 0; color: var(--ink); }
.local-card .local-subtle, .local-subtle { display: block; color: var(--muted); font-size: .9375rem; }
.local-source { margin: 22px 0 0; padding-top: 12px; border-top: 2px solid var(--grey-lo); color: var(--muted); font-size: .8125rem; font-weight: 700; }
.local-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; color: var(--ink); font-size: .9375rem; font-weight: 700; text-decoration-color: var(--magenta-deep); text-underline-offset: 4px; }
.local-wide { grid-column: 1 / -1; }
.local-weather-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; padding: 10px 0 24px; border-bottom: 2px solid var(--grey-lo); }
.local-weather-lead > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 22px; }
.local-big-temp { font: 700 clamp(5rem, 11vw, 8.6rem)/.8 var(--display); letter-spacing: -.06em; }
.local-weather-condition { max-width: 12em; font-size: 1.125rem; font-weight: 700; }
.local-weather-note { padding-bottom: 6px; display: flex; flex-direction: column; gap: 5px; color: var(--ink); font-size: 1rem; }
.local-weather-note strong { font: 700 1.125rem/1.2 var(--display); }
.local-day-strip, .local-hour-strip { display: flex; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--ink) var(--grey); }
.local-day-strip { gap: 0; padding: 20px 0; border-bottom: 2px solid var(--grey-lo); }
.local-day { flex: 0 0 150px; padding: 0 14px; border-left: 2px solid var(--grey-lo); display: flex; flex-direction: column; gap: 5px; font-size: .875rem; color: var(--muted); line-height: 1.3; }
.local-day:first-child { padding-left: 0; border-left: 0; }
.local-day strong { color: var(--ink); font-size: .9375rem; }
.local-day-temp { color: var(--ink); font: 700 1.5rem/1.1 var(--display); box-shadow: inset 0 -.32em 0 var(--yellow); align-self: flex-start; }
.local-small-label { margin: 22px 0 12px; }
.local-hour-strip { gap: 6px; padding-bottom: 8px; }
.local-hour { flex: 0 0 96px; padding: 11px 10px; border-radius: 0; background: var(--grey); display: flex; flex-direction: column; gap: 3px; font-size: .8125rem; color: var(--muted); }
.local-hour:nth-child(3n+1) { border-top: 5px solid var(--cyan); }
.local-hour:nth-child(3n+2) { border-top: 5px solid var(--magenta); }
.local-hour:nth-child(3n+3) { border-top: 5px solid var(--yellow); }
.local-hour strong { color: var(--ink); font: 700 1.4rem/1.1 var(--display); }
.local-big-number { margin: 12px 0 6px; font: 700 clamp(4.4rem, 7vw, 5.6rem)/.9 var(--display); letter-spacing: -.05em; color: var(--ink); text-shadow: 5px 5px 0 var(--yellow); }
.local-radar { margin: 18px 0 0; overflow: hidden; border: 3px solid var(--ink); border-radius: 0; background: var(--paper); }
.local-radar img { display: block; width: 100%; height: auto; }
.local-radar figcaption { padding: 6px 9px; background: var(--paper); color: var(--muted); font-size: .8125rem; font-weight: 700; }
.local-alert, .local-advisory { display: flex; gap: 18px; padding: 22px 24px; margin-top: 18px; border: 3px solid var(--ink); border-left-width: 16px; border-radius: 0; background: var(--paper); }
.local-alert { border-left-color: var(--magenta); box-shadow: 8px 8px 0 var(--ink); }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 0; background: var(--magenta-deep); color: #fff; font: 700 1.4rem/1 var(--display); }
.local-alert h3, .local-advisory h3 { margin: 6px 0 8px; font: 700 1.3rem/1.25 var(--display); }
.local-alert p, .local-advisory p { margin-bottom: 0; }
.local-advisory { align-items: center; border-left-color: var(--green); }
.local-advisory-mark { flex: none; color: var(--ink); font-size: 2.4rem; line-height: 1; }
.local-advisory h3 { font: 700 clamp(1.25rem, 2.3vw, 1.7rem)/1.2 var(--display); }
.local-advisory-alert { border-left-color: var(--yellow); }
.local-row { padding: 12px 0; border-bottom: 2px solid var(--grey); }
.local-row:first-of-type { padding-top: 0; }
.local-row:last-of-type { border-bottom: 0; }
.local-row-title { display: block; color: var(--ink); font-size: 1.0625rem; font-weight: 700; line-height: 1.35; text-decoration-color: var(--magenta-deep); text-underline-offset: 4px; }
.local-row-detail { display: block; margin-top: 4px; color: var(--muted); font-size: .875rem; }
.local-news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.local-market-name { display: block; font-size: 1.0625rem; }
.local-lottery { padding: 12px 0; border-bottom: 2px solid var(--grey); display: flex; flex-direction: column; gap: 5px; }
.local-lottery strong { font: 700 1.3rem/1.2 var(--display); letter-spacing: .02em; }

/* ---------- quote and question pages ---------- */
.page-shell { max-width: 1240px; margin: auto; padding: 56px 20px 88px; }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 5px 10px; background: var(--yellow); color: var(--ink); font: 700 .8125rem/1.2 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.intro { position: relative; isolation: isolate; }
.intro h1 { position: relative; margin: 0; font: 700 clamp(3rem, 7.4vw, 6.2rem)/.94 var(--display); letter-spacing: -.035em; }
.intro h1::before, .intro h1::after { content: ""; position: absolute; z-index: -1; height: .22em; mix-blend-mode: multiply; }
.intro h1::before { left: -.15em; top: .14em; width: 2.2em; background: var(--cyan); }
.intro h1::after { left: .5em; top: .3em; width: 2.6em; background: var(--yellow); }
.intro-copy { margin: 22px 0 0; color: var(--muted); font-size: clamp(1.0625rem, 2vw, 1.25rem); max-width: 40em; }

.options { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 6px; background: var(--grey-lo); border: 3px solid var(--ink); }
.option { min-width: 0; min-height: 240px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; border: 0; border-top: 12px solid var(--cyan); background: var(--paper); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.option:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.option-number { color: var(--muted); font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.option h2 { margin: 16px 0 8px; font: 700 clamp(1.5rem, 2.6vw, 2rem)/1.08 var(--display); }
.option p { margin: 0; color: var(--muted); font-size: 1rem; max-width: 30ch; }
.option .option-action { margin-top: auto; padding: 12px 15px; min-height: 48px; width: 100%; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; border-radius: 0; color: #fff; background: var(--ink); font-weight: 700; font-size: 1rem; line-height: 1.25; text-decoration: none; text-align: left; cursor: pointer; }
.option-action:hover { background: var(--magenta-deep); }
.option-action span { font-size: 1.2rem; line-height: 1; }
.option .option-note { margin-top: 8px; font-size: .875rem; color: var(--muted); }

.question-section { scroll-margin-top: 25px; margin-top: 56px; padding: 40px; border: 3px solid var(--ink); border-top: 14px solid var(--magenta); border-radius: 0; background: var(--paper); box-shadow: 10px 10px 0 var(--ink); }
.question-heading h2 { font: 700 clamp(1.9rem, 4vw, 2.8rem)/1.05 var(--display); }
.question-heading > p:last-child { margin: 12px 0 0; color: var(--muted); }
.question-form { margin-top: 32px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.form-grid label { display: flex; flex-direction: column; gap: 7px; font-weight: 700; font-size: 1rem; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-width: 0; border: 3px solid var(--ink); border-radius: 0; padding: 11px 12px; color: var(--ink); background: var(--grey-hi); font-weight: 400; }
.form-grid input, .form-grid select { min-height: 50px; }
.form-grid textarea { min-height: 140px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { background: #fff; box-shadow: 6px 6px 0 var(--cyan); outline: 3px solid var(--ink); outline-offset: 2px; }
.form-grid .message-field { grid-column: 1 / -1; }
.form-grid .checkbox-row, .quote-form > fieldset > .checkbox-row { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 400; min-height: 44px; }
.form-grid .checkbox-row { grid-column: 1 / -1; }
.form-grid .checkbox-row input, .quote-form > fieldset > .checkbox-row input { width: 24px; min-width: 24px; height: 24px; min-height: 24px; margin: 1px 0 0; padding: 0; accent-color: var(--magenta-deep); }
.quote-form > fieldset > .checkbox-row { margin-top: 22px; }
.honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.form-bottom { margin-top: 28px; }
.form-bottom button { min-height: 54px; display: inline-flex; align-items: center; gap: 12px; border: 3px solid var(--ink); border-radius: 0; padding: 12px 22px; color: var(--ink); background: var(--yellow); font: 700 1.0625rem/1.2 var(--display); cursor: pointer; box-shadow: 6px 6px 0 var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.form-bottom button:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.form-bottom button:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.submit-note { max-width: 40em; margin: 18px 0 0; color: var(--muted); font-size: .9375rem; }
.form-status { min-height: 24px; margin: 12px 0 0; color: var(--ink); font-weight: 700; }

.product-switch { display: flex; flex-wrap: wrap; gap: 6px; margin: 36px 0 22px; }
.product-switch a { display: inline-flex; align-items: center; min-height: 48px; border: 3px solid var(--ink); border-radius: 0; padding: 8px 18px; background: var(--paper); color: var(--ink); font: 700 1.0625rem/1.2 var(--display); text-decoration: none; }
.product-switch a:hover { background: var(--cyan); }
.product-switch a[aria-current="page"] { border-color: var(--ink); color: #fff; background: var(--ink); box-shadow: 5px 5px 0 var(--magenta); }
.quote-form fieldset { min-width: 0; margin: 20px 0; padding: 28px; border: 3px solid var(--ink); border-radius: 0; background: var(--paper); box-shadow: 8px 8px 0 var(--grey-lo); }
.quote-form fieldset:nth-of-type(4n+1) { border-top: 14px solid var(--cyan); }
.quote-form fieldset:nth-of-type(4n+2) { border-top: 14px solid var(--magenta); }
.quote-form fieldset:nth-of-type(4n+3) { border-top: 14px solid var(--yellow); }
.quote-form fieldset:nth-of-type(4n+4) { border-top: 14px solid var(--green); }
.quote-form legend { padding: 0 8px; font: 700 1.5rem/1.2 var(--display); letter-spacing: -.01em; }
.quote-form .form-grid { margin-top: 4px; }
.quote-submit { margin: 24px 0 56px; max-width: 760px; }
.quote-submit button, .quote-results button { min-height: 54px; border: 3px solid var(--ink); border-radius: 0; padding: 12px 22px; color: var(--ink); background: var(--yellow); font: 700 1.0625rem/1.2 var(--display); cursor: pointer; box-shadow: 6px 6px 0 var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.quote-submit button:hover, .quote-results button:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.quote-submit button:active, .quote-results button:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.quote-submit button:disabled, .quote-results button:disabled { cursor: wait; opacity: .6; transform: none; box-shadow: 6px 6px 0 var(--ink); }
#quote-status { color: var(--ink); font-weight: 700; }
.quote-results { margin: 30px 0 70px; padding: 28px; border: 3px solid var(--ink); border-top: 14px solid var(--green); border-radius: 0; background: var(--paper); box-shadow: 8px 8px 0 var(--ink); }
.quote-results h2 { margin: 0 0 16px; font: 700 clamp(1.8rem, 3.4vw, 2.5rem)/1.05 var(--display); }
.quote-results article { border-top: 3px solid var(--grey-lo); padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; font: 700 1.4rem/1.2 var(--display); }
.quote-results article p { margin: 4px 0 13px; }

.site-footer { max-width: 1240px; margin: auto; padding: 24px 20px 36px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 24px; border-top: 6px solid var(--ink); color: var(--muted); font-size: .9375rem; }
.site-footer p { margin: 0; }
.site-footer > p:first-child { color: var(--ink); font-weight: 700; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-underline-offset: 4px; }
.site-footer .footer-note { flex-basis: 100%; }
.site-footer > p:first-child a { min-height: 0; display: inline; }

/* ---------- tablet: art becomes a band above the headline, bars restack ---------- */
@media (max-width: 960px) {
  .ponds-art { grid-row: 2; grid-column: 2; justify-self: stretch; width: auto; aspect-ratio: auto; height: 150px; margin-top: 28px; overflow: hidden; transform: translate(0, var(--py)) rotate(0deg); }
  .ponds .minimal-shell { grid-row: 3; padding-top: 36px; }
  .ponds .minimal-shell h1 { max-width: 7.2em; min-height: 0; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .local-intro { align-items: flex-start; flex-direction: column; }
  .local-section-heading h3 { text-align: left; }
  .options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- phone: one column, every cell a row ---------- */
@media (max-width: 590px) {
  .header-inner { width: min(100% - 32px, 1240px); }
  .brand { font-size: .875rem; gap: 10px; }
  .brand strong { font-size: 1rem; }
  .brand-mark { width: 36px; height: 36px; font-size: 1.3rem; }
  .header-link { min-height: 44px; white-space: normal; }
  .ponds { grid-template-columns: 16px minmax(0, 1fr) 16px; }
  .ponds-art { height: 112px; margin-top: 22px; box-shadow: 6px 6px 0 var(--ink); }
  .ponds .minimal-shell { padding-top: 30px; }
  .minimal-shell h1 { margin-bottom: 26px; font-size: clamp(2.7rem, 15vw, 3.6rem); }
  .choice-grid { grid-template-columns: 1fr; margin-top: 8px; }
  .choice-grid a { min-height: 92px; padding: 16px 34% 16px 16px; font-size: 1.2rem; }
  .choice-grid a:nth-child(6) { padding-right: 16px; }
  .page-shell { padding: 40px 16px 64px; }
  .options { grid-template-columns: 1fr; margin-top: 36px; }
  .option { min-height: 0; padding: 22px; }
  .option .option-action { margin-top: 20px; }
  .question-section { margin-top: 44px; padding: 24px 18px; box-shadow: 6px 6px 0 var(--ink); }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .quote-form fieldset { padding: 20px 16px; box-shadow: 5px 5px 0 var(--grey-lo); }
  .site-footer { padding: 22px 16px 32px; }
  .local-wrap { padding: 52px 16px 68px; }
  .local-section-heading { margin-top: 48px; align-items: flex-start; flex-direction: column; }
  .local-grid, .local-weather-lead, .local-news-list { grid-template-columns: 1fr; }
  .local-card { padding: 22px 18px; }
  .local-weather-lead { gap: 14px; }
  .local-alert, .local-advisory { padding: 18px 14px; gap: 12px; border-left-width: 12px; box-shadow: 5px 5px 0 var(--ink); }
  .local-day { flex-basis: 128px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ponds-art, .choice-grid a, .choice-grid a::before, .option, .form-bottom button, .quote-submit button { transition: none; }
  .ponds:has(.choice-grid a:is(:hover, :focus-visible)) { --px: 0px; --py: 0px; --pr: -2.5deg; }
}
