/* San Mateo Insurance: one matte sheet folded along a Miura grid; mountain creases scored warm gray, valley creases pale blue, gold foil for the active facet. */
@font-face { font-family: "Chivo Mono"; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/chivo-mono-600.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/public-sans-400.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/public-sans-600.woff2) format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/public-sans-700.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --ink: #12202a;
  --muted: #3f505b;
  --line: #8a8178;
  --valley: #a6c8d9;
  --valley-deep: #1d5671;
  --paper: #f5f7f6;
  --paper-deep: #e8eef0;
  --paper-fold: #dde7eb;
  --foil: #d8a634;
  --foil-pale: #f6e4b0;
  --foil-ink: #6b4900;
  --accent: #1d5671;
  --accent-dark: #12202a;
  --t: 14px;
  --mono: "Chivo Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--text); font-weight: 400; font-size: 17px; line-height: 1.55;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='64'><path d='M0 32L24 24L48 32L72 24L96 32' fill='none' stroke='%23a6c8d9' stroke-opacity='.38' stroke-dasharray='5 5'/><path d='M24 0V24M72 0V24M48 32V64M0 32V64M96 32V64' fill='none' stroke='%238a8178' stroke-opacity='.16'/></svg>");
  overflow-x: clip;
}
::selection { background: var(--foil); color: var(--ink); }
a { color: var(--valley-deep); text-decoration-thickness: 2px; text-underline-offset: .2em; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--foil); }
h1, h2, h3, h4 { margin: 0; }

/* ---------- header (all pages) ---------- */
.site-header { border: 0; border-bottom: 2px solid var(--line); background: var(--paper); position: relative; z-index: 3; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 5px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='5'><path d='M0 2.5H9' stroke='%23a6c8d9' stroke-width='5'/></svg>") repeat-x; }
.header-inner { width: min(100% - 40px, 1180px); max-width: none; margin: auto; padding: 10px 0; display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-height: 48px; color: var(--ink); text-decoration: none; font-size: 16px; line-height: 1.2; letter-spacing: 0; }
.brand strong { display: block; font-size: 17px; font-weight: 700; }
.brand:hover { color: var(--ink); }
.brand-mark { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 0; border-radius: 0; background: var(--foil); color: var(--ink); font-family: var(--mono); font-weight: 600; font-size: 24px; line-height: 1; clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 0 100%); }
.header-link { display: inline-flex; align-items: center; min-height: 48px; border: 0; padding: 0; background: transparent; color: var(--valley-deep); white-space: nowrap; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .22em; cursor: pointer; }
.header-link:hover { color: var(--ink); }
.header-link span { color: var(--valley-deep); }

/* ---------- home: the sheet deployed ---------- */
.deck { background: var(--paper); border-bottom: 2px solid var(--line); }
.vista { height: clamp(150px, 22vw, 270px); overflow: hidden; border-bottom: 2px solid var(--line); background: #eaf0f2; }
.vista svg { display: block; width: 100%; height: 100%; }
.pleat { height: 30px; line-height: 0; background: var(--paper-deep); }
.pleat svg { display: block; width: 100%; height: 100%; }

.minimal-shell { position: relative; width: min(100% - 40px, 1080px); min-height: 0; margin: -46px auto 0; padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 52px) 30px; display: flex; flex-direction: column; background: #fff; border: 2px solid var(--line); border-bottom: 0; border-top: 6px solid var(--foil); }
.minimal-shell h1 { align-self: flex-start; margin: 0 0 clamp(24px, 3.4vw, 40px); padding: 6px 18px 8px 0; color: var(--ink); font-family: var(--mono); font-weight: 600; font-size: clamp(33px, 5.4vw, 66px); line-height: 1.08; letter-spacing: -.04em; background: linear-gradient(112deg, transparent 0 74%, var(--paper-fold) 74% 100%); }

.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 3px; background: var(--line); }
.choice-grid a { position: relative; min-height: 132px; padding: calc(var(--t) + 12px) 24px calc(var(--t) + 14px); display: flex; align-items: flex-end; border: 0; border-radius: 0; color: var(--ink); font-family: var(--text); font-weight: 700; font-size: clamp(18px, 2vw, 22px); line-height: 1.22; letter-spacing: -.01em; text-decoration: none; background: linear-gradient(135deg, #fff 0 58%, var(--paper-fold) 58% 100%); clip-path: polygon(0 0, 100% var(--t), 100% 100%, 0 calc(100% - var(--t))); transition: background-color .2s, color .2s; }
.choice-grid a:nth-child(3n+2) { background: linear-gradient(45deg, var(--paper-fold) 0 42%, #fff 42% 100%); clip-path: polygon(0 var(--t), 100% 0, 100% calc(100% - var(--t)), 0 100%); }
.choice-grid a:nth-child(n+4) { margin-top: calc(var(--t) * -1); }
.choice-grid a::before { content: ""; position: absolute; top: calc(var(--t) + 10px); left: 24px; width: 28px; height: 3px; background: var(--valley); }
.choice-grid a:nth-child(3n+2)::before { top: 22px; }
.choice-grid a:hover { background: linear-gradient(135deg, var(--foil-pale) 0 58%, var(--foil) 58% 100%); color: var(--ink); }
.choice-grid a:nth-child(3n+2):hover { background: linear-gradient(45deg, var(--foil) 0 42%, var(--foil-pale) 42% 100%); }
.choice-grid a:focus-visible { clip-path: none; z-index: 2; outline: 3px solid var(--ink); outline-offset: -7px; box-shadow: none; }
.agency-line { margin: 0; padding: 22px 0 0; color: var(--muted); font-size: 16px; font-weight: 600; }
.agency-line a { color: var(--valley-deep); }

@media (min-width: 851px) {
  .home-shell { min-height: 0; padding-bottom: 28px; }
  .home-shell .agency-line { margin: 0; padding-top: 22px; }
  .home-shell + .local-board .local-wrap { padding-top: 40px; }
}

/* ---------- the local board: pleated field of cards ---------- */
.local-board { border-top: 2px solid var(--line); background: var(--paper-deep); color: var(--ink); }
.local-wrap { max-width: 1180px; margin: auto; padding: 70px 32px 96px; }
.local-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 0 0 34px; border-bottom: 2px solid var(--line); }
.local-kicker, .local-card-kicker, .local-section-heading > span, .local-small-label { color: var(--foil-ink); font-family: var(--mono); font-weight: 600; font-size: 14px; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; }
.local-kicker { margin: 0 0 16px; }
.local-kicker span { padding: 0 7px; color: var(--valley-deep); }
.local-intro h2 { font-family: var(--mono); font-weight: 600; font-size: clamp(36px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -.05em; color: var(--ink); }
.local-intro > div > p:last-child { max-width: 560px; margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.local-generated { flex: none; margin: 0 0 3px; color: var(--muted); font-family: var(--mono); font-weight: 600; font-size: 14px; line-height: 1.4; }
.local-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 62px 0 22px; padding-bottom: 12px; background: linear-gradient(var(--valley), var(--valley)) left bottom / 100% 2px no-repeat; }
.local-section-heading h3 { font-family: var(--mono); font-weight: 600; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.1; letter-spacing: -.04em; color: var(--ink); }
.local-section-heading > span { color: var(--valley-deep); text-align: right; }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.local-card { position: relative; min-width: 0; padding: 28px 28px 26px; border: 2px solid var(--line); border-radius: 0; background: linear-gradient(180deg, #fff 0 100%); box-shadow: 6px 6px 0 var(--paper-fold); }
.local-card::after { content: ""; position: absolute; top: -2px; right: -2px; width: 30px; height: 30px; background: linear-gradient(225deg, var(--paper-deep) 0 50%, var(--valley) 50% 100%); border-left: 2px solid var(--line); border-bottom: 2px solid var(--line); pointer-events: none; }
.local-card h4 { margin: 8px 0 20px; font-family: var(--mono); font-weight: 600; font-size: clamp(23px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -.04em; color: var(--ink); }
.local-card-kicker { margin: 0; }
.local-card .local-copy { margin: 10px 0; color: #2a3a45; }
.local-card .local-subtle, .local-subtle { display: block; color: var(--muted); font-size: 15px; }
.local-source { margin: 26px 0 0; padding-top: 14px; border-top: 2px dashed var(--valley); color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.local-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; color: var(--valley-deep); font-size: 16px; font-weight: 700; 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: 12px 0 26px; border-bottom: 2px dashed var(--valley); }
.local-weather-lead > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px 22px; }
.local-big-temp { font-family: var(--mono); font-weight: 600; font-size: clamp(76px, 11vw, 124px); line-height: .86; letter-spacing: -.08em; color: var(--ink); }
.local-weather-condition { max-width: 210px; color: var(--muted); font-size: 18px; }
.local-weather-note { padding-bottom: 7px; display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: 16px; }
.local-weather-note strong { color: var(--ink); font-size: 18px; }
.local-day-strip, .local-hour-strip { display: flex; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line) var(--paper-fold); }
.local-day-strip { gap: 0; padding: 22px 0; border-bottom: 2px dashed var(--valley); }
.local-day { flex: 0 0 150px; padding: 0 14px; border-left: 2px solid var(--paper-fold); display: flex; flex-direction: column; gap: 5px; font-size: 14px; color: var(--muted); line-height: 1.35; }
.local-day:first-child { border-left-color: transparent; }
.local-day strong { color: var(--ink); font-size: 15px; }
.local-day-temp { color: var(--valley-deep); font-family: var(--mono); font-weight: 600; font-size: 22px; line-height: 1.2; }
.local-small-label { margin: 22px 0 14px; }
.local-hour-strip { gap: 9px; padding-bottom: 6px; }
.local-hour { flex: 0 0 96px; padding: 11px 10px; border-radius: 0; background: var(--paper-fold); clip-path: polygon(0 0, 100% 8px, 100% 100%, 0 calc(100% - 8px)); padding-top: 16px; padding-bottom: 18px; display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--muted); }
.local-hour strong { color: var(--ink); font-family: var(--mono); font-weight: 600; font-size: 21px; line-height: 1.2; }
.local-big-number { margin: 16px 0 8px; color: var(--valley-deep); font-family: var(--mono); font-weight: 600; font-size: 74px; line-height: .95; letter-spacing: -.07em; }
.local-radar { margin: 19px 0 0; overflow: hidden; border: 2px solid var(--line); border-radius: 0; background: #fff; }
.local-radar img { display: block; width: 100%; height: auto; }
.local-radar figcaption { padding: 7px 10px; color: var(--muted); font-size: 13px; background: var(--paper-fold); }
.local-alert, .local-advisory { display: flex; gap: 19px; padding: 24px 27px; margin-top: 21px; border: 2px solid var(--foil-ink); border-left-width: 10px; border-radius: 0; background: var(--foil-pale); color: var(--ink); }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 0; background: var(--ink); color: var(--foil-pale); font-family: var(--mono); font-weight: 600; font-size: 20px; line-height: 1; clip-path: polygon(0 0, 72% 0, 100% 28%, 100% 100%, 0 100%); }
.local-alert h3, .local-advisory h3 { margin: 7px 0 9px; font-size: 20px; line-height: 1.35; }
.local-alert p, .local-advisory p { margin-bottom: 0; }
.local-alert .local-subtle, .local-alert .local-source, .local-alert .local-copy, .local-advisory-alert .local-subtle, .local-advisory-alert .local-source, .local-advisory-alert .local-copy, .local-alert .local-card-kicker, .local-advisory-alert .local-card-kicker { color: var(--ink); }
.local-advisory { align-items: center; background: #fff; border-color: var(--line); border-left-color: var(--valley-deep); }
.local-advisory-mark { flex: none; color: var(--valley-deep); font-size: 38px; line-height: 1; }
.local-advisory h3 { font-family: var(--mono); font-weight: 600; font-size: clamp(20px, 2.4vw, 27px); line-height: 1.22; letter-spacing: -.03em; }
.local-advisory-alert { border-color: var(--foil-ink); border-left-color: var(--foil-ink); background: var(--foil-pale); }
.local-row { padding: 13px 0; border-bottom: 2px solid var(--paper-fold); }
.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: 17px; font-weight: 700; line-height: 1.35; text-decoration-color: var(--valley); text-underline-offset: 4px; }
.local-row-detail { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.local-news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 35px; }
.local-market-name { display: block; font-size: 18px; }
.local-lottery { padding: 12px 0; border-bottom: 2px solid var(--paper-fold); display: flex; flex-direction: column; gap: 5px; }
.local-lottery strong { font-family: var(--mono); font-weight: 600; font-size: 20px; line-height: 1.3; letter-spacing: .02em; }

/* ---------- inner pages: quote and question ---------- */
.page-shell { width: min(100% - 40px, 1180px); max-width: none; margin: auto; padding: 56px 0 90px; }
.eyebrow { margin: 0 0 14px; padding-left: 14px; border-left: 6px solid var(--foil); color: var(--ink); font-family: var(--text); font-weight: 600; font-size: 17px; line-height: 1.3; }
.intro h1 { margin: 0; padding-right: 20px; font-family: var(--mono); font-weight: 600; font-size: clamp(36px, 5.6vw, 68px); line-height: 1.06; letter-spacing: -.05em; background: linear-gradient(112deg, transparent 0 76%, var(--paper-fold) 76% 100%); display: inline-block; max-width: 100%; }
.intro-copy { margin: 22px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); max-width: 680px; }

.options { margin-top: 55px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.option { min-width: 0; min-height: 247px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; border: 2px solid var(--line); border-radius: 0; background: #fff; transition: background-color .2s; }
.option:hover { background: var(--paper-fold); }
.option-number { color: var(--foil-ink); font-family: var(--mono); font-weight: 600; font-size: 14px; line-height: 1.3; text-transform: uppercase; letter-spacing: .08em; }
.option h2 { margin: 19px 0 7px; font-family: var(--mono); font-weight: 600; font-size: clamp(22px, 2.5vw, 28px); line-height: 1.15; letter-spacing: -.04em; }
.option p { margin: 0; color: var(--muted); font-size: 16px; 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: var(--ink); background: var(--foil); font-weight: 700; font-size: 16px; line-height: 1.25; text-decoration: none; text-align: left; cursor: pointer; }
.option-action:hover { background: var(--foil-pale); }
.option-action span { font-size: 19px; line-height: 1; }
.option .option-note { margin-top: 7px; font-size: 14px; color: var(--muted); }

.question-section { scroll-margin-top: 25px; margin-top: 56px; padding: clamp(24px, 4vw, 46px); border: 2px solid var(--line); border-top: 6px solid var(--foil); border-radius: 0; background: #fff; }
.question-heading h2 { font-family: var(--mono); font-weight: 600; font-size: clamp(28px, 4vw, 42px); line-height: 1.12; letter-spacing: -.045em; }
.question-heading > p:last-child { margin: 13px 0 0; color: var(--muted); }
.question-form { margin-top: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.form-grid label { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 16px; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-width: 0; border: 2px solid var(--line); border-radius: 0; padding: 12px 14px; color: var(--ink); background: var(--paper); font-weight: 400; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { background: #fff; }
.form-grid input, .form-grid select { min-height: 50px; }
.form-grid textarea { min-height: 140px; resize: vertical; }
.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; }
.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; accent-color: var(--valley-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: 26px; }
.form-bottom button { min-height: 54px; display: inline-flex; align-items: center; gap: 12px; border: 0; border-radius: 0; padding: 13px 24px; color: var(--ink); background: var(--foil); font-weight: 700; font-size: 17px; cursor: pointer; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); }
.form-bottom button:hover { background: var(--foil-pale); }
.submit-note { max-width: 640px; margin: 17px 0 0; color: var(--muted); font-size: 15px; }
.form-status { min-height: 22px; margin: 13px 0 0; color: var(--valley-deep); font-weight: 700; font-size: 16px; }

.product-switch { display: flex; flex-wrap: wrap; gap: 0; margin: 36px 0 22px; }
.product-switch a { display: inline-flex; align-items: center; min-height: 48px; border: 2px solid var(--line); margin-right: -2px; border-radius: 0; padding: 10px 20px; background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; }
.product-switch a:hover { background: var(--paper-fold); }
.product-switch a[aria-current="page"] { border-color: var(--ink); color: var(--ink); background: var(--foil); position: relative; z-index: 1; }
.quote-form fieldset { min-width: 0; margin: 18px 0; padding: 29px; border: 2px solid var(--line); border-radius: 0; background: #fff; }
.quote-form legend { padding: 0 10px; font-family: var(--mono); font-weight: 600; font-size: 22px; line-height: 1.3; letter-spacing: -.03em; background: var(--paper); }
.quote-form .form-grid { margin-top: 4px; }
.quote-submit { margin: 22px 0 55px; max-width: 720px; }
.quote-submit button, .quote-results button { min-height: 54px; border: 0; border-radius: 0; padding: 13px 24px; color: var(--ink); background: var(--foil); font-weight: 700; font-size: 17px; cursor: pointer; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); }
.quote-submit button:hover, .quote-results button:hover { background: var(--foil-pale); }
.quote-submit button:disabled, .quote-results button:disabled { cursor: wait; opacity: .6; }
#quote-status { color: var(--valley-deep); font-weight: 700; }
.quote-results { margin: 30px 0 70px; padding: 28px; border: 2px solid var(--line); border-radius: 0; background: #fff; }
.quote-results h2 { margin: 0 0 16px; font-family: var(--mono); font-weight: 600; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; letter-spacing: -.04em; }
.quote-results article { border-top: 2px dashed var(--valley); padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; }
.quote-results article p { margin: 4px 0 13px; }

.site-footer { border-top: 2px solid var(--line); max-width: none; margin: 0; padding: 27px max(20px, calc((100% - 1180px) / 2)) 35px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 15px; background: var(--paper-deep); }
.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; text-underline-offset: 4px; }
.site-footer .footer-note { flex-basis: 100%; }

@media (max-width: 850px) {
  .options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice-grid a:nth-child(3n+2) { background: linear-gradient(135deg, #fff 0 58%, var(--paper-fold) 58% 100%); clip-path: polygon(0 0, 100% var(--t), 100% 100%, 0 calc(100% - var(--t))); }
  .choice-grid a:nth-child(3n+2)::before { top: calc(var(--t) + 10px); }
  .choice-grid a:nth-child(3n+2):hover { background: linear-gradient(135deg, var(--foil-pale) 0 58%, var(--foil) 58% 100%); }
  .choice-grid a:nth-child(2n) { background: linear-gradient(45deg, var(--paper-fold) 0 42%, #fff 42% 100%); clip-path: polygon(0 var(--t), 100% 0, 100% calc(100% - var(--t)), 0 100%); }
  .choice-grid a:nth-child(2n)::before { top: 22px; }
  .choice-grid a:nth-child(2n):hover { background: linear-gradient(45deg, var(--foil) 0 42%, var(--foil-pale) 42% 100%); }
  .choice-grid a:nth-child(n+3) { margin-top: calc(var(--t) * -1); }
  .choice-grid a:nth-child(3) { margin-top: calc(var(--t) * -1); }
  .choice-grid a:focus-visible { clip-path: none; }
  .local-intro { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 590px) {
  .header-inner { width: min(100% - 32px, 1180px); }
  .brand { font-size: 15px; gap: 10px; }
  .brand strong { font-size: 16px; }
  .brand-mark { width: 40px; height: 40px; font-size: 22px; }
  .header-link { margin-left: 0; font-size: 15px; white-space: normal; min-height: 44px; }
  .page-shell { width: min(100% - 32px, 1180px); padding: 40px 0 64px; }
  .options { margin-top: 37px; grid-template-columns: 1fr; gap: 12px; }
  .option { min-height: 0; padding: 23px; }
  .option h2 { margin-top: 15px; }
  .option .option-action { margin-top: 20px; }
  .question-section { margin-top: 40px; padding: 26px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 19px; }
  .quote-form fieldset { padding: 22px 16px; }
  .site-footer { padding: 25px 16px 34px; }
  .minimal-shell { width: min(100% - 24px, 1080px); margin-top: -28px; padding: 24px 14px 24px; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-grid a, .choice-grid a:nth-child(2n), .choice-grid a:nth-child(3n+2) { min-height: 96px; padding: calc(var(--t) + 12px) 20px calc(var(--t) + 12px); background: linear-gradient(135deg, #fff 0 58%, var(--paper-fold) 58% 100%); clip-path: polygon(0 0, 100% var(--t), 100% 100%, 0 calc(100% - var(--t))); }
  .choice-grid a::before, .choice-grid a:nth-child(2n)::before, .choice-grid a:nth-child(3n+2)::before { top: calc(var(--t) + 10px); left: 20px; }
  .choice-grid a:hover, .choice-grid a:nth-child(2n):hover, .choice-grid a:nth-child(3n+2):hover { background: linear-gradient(135deg, var(--foil-pale) 0 58%, var(--foil) 58% 100%); }
  .choice-grid a:nth-child(n+2) { margin-top: calc(var(--t) * -1); }
  .choice-grid a:focus-visible { clip-path: none; }
  .local-wrap { padding: 54px 16px 70px; }
  .local-section-heading { margin-top: 48px; align-items: flex-start; flex-direction: column; gap: 7px; }
  .local-section-heading > span { text-align: left; }
  .local-grid, .local-weather-lead, .local-news-list { grid-template-columns: 1fr; }
  .local-card { padding: 24px 18px; }
  .local-weather-lead { gap: 14px; }
  .local-alert, .local-advisory { padding: 20px 16px; gap: 12px; }
  .local-day { flex-basis: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .choice-grid a, .option { transition: none; }
}
