/* San Francisco Insurance: a WPA-style silkscreen city poster. Four flat inks (bay teal, International Orange, pine, ochre) on cream stock;
   the Painted Ladies under Golden Gate fog sit above one block-caps caption bar. Plane edges never move; inks reshuffle on hover. */
@font-face { font-family: "Archivo Black"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/archivo-black-400.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: 700; font-style: normal; font-display: swap; src: url(/fonts/public-sans-700.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --ink: #173a2e;
  --muted: #2a6049;
  --line: #173a2e;
  --paper: #f2e6c6;
  --paper-hi: #faf2dc;
  --pine: #173a2e;
  --teal: #1b6a71;
  --sky: #2a9399;
  --orange: #d2481a;
  --orange-deep: #a93212;
  --ochre: #e8a93a;
  --accent: #a93212;
  --accent-dark: #a93212;
  --display: "Archivo Black", Impact, "Arial Black", sans-serif;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

/* ---------- masthead strip (all pages) ---------- */
.site-header { border-bottom: 3px solid var(--pine); background: var(--paper-hi); }
.header-inner { width: min(100% - 32px, 1240px); max-width: none; margin: auto; padding: 8px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; color: var(--pine); text-decoration: none; font-size: 1rem; line-height: 1.15; letter-spacing: 0; }
.brand:hover { color: var(--pine); }
.brand strong { display: block; font: 400 1.05rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.brand-mark { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--orange-deep); color: var(--paper-hi); font: 400 1.5rem/1 var(--display); box-shadow: 0 0 0 3px var(--paper-hi), 0 0 0 5px var(--pine); }
.header-link { display: inline-flex; align-items: center; min-height: 44px; border: 0; padding: 0; background: transparent; color: var(--pine); white-space: nowrap; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .9375rem; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 4px; text-underline-offset: .25em; cursor: pointer; }
.header-link:hover { color: var(--orange-deep); }
.header-link span { color: var(--orange-deep); }

/* ---------- home: the poster sheet ---------- */
.sheet { padding: clamp(8px, 2.2vw, 28px); }
.poster { width: min(100%, 1240px); margin: 0 auto; padding: 18px; border: 3px solid var(--pine); background: var(--paper-hi); box-shadow: 10px 10px 0 var(--teal); }
.poster .site-header { border-bottom: 0; background: transparent; }
.poster .site-header .header-inner { width: auto; margin: 0; padding: 0 4px 10px; }
.scene { position: relative; height: clamp(230px, 36vw, 450px); overflow: hidden; background: var(--sky); border: 3px solid var(--pine); border-bottom: 0; }
.scene-art { display: block; width: 100%; height: 100%; }

/* the caption bar: one imperative, block caps */
.minimal-shell { width: auto; min-height: 0; margin: 0; padding: 0; display: block; }
.poster .minimal-shell { border: 3px solid var(--pine); border-top: 0; }
.minimal-shell h1 { padding: 18px 16px 16px; padding: clamp(16px, 2.6vw, 28px) clamp(14px, 2.4vw, 28px) clamp(14px, 2.2vw, 22px); background: var(--pine); color: var(--paper-hi); font: 400 clamp(2rem, 6.3vw, 4.6rem)/1.02 var(--display); text-transform: uppercase; letter-spacing: .02em; border-top: 6px solid var(--paper-hi); border-bottom: 10px solid var(--ochre); }

/* the six buttons: flat ink blocks; on hover the inks swap, the edges stay */
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 0; }
.choice-grid a { position: relative; min-width: 0; min-height: 124px; padding: 20px clamp(14px, 2vw, 24px) 22px; display: flex; align-items: flex-end; border: 0; border-radius: 0; background: var(--orange-deep); color: var(--paper-hi); font: 700 clamp(1.1875rem, 1.9vw, 1.4375rem)/1.2 var(--text); letter-spacing: 0; text-decoration: none; box-shadow: inset 0 0 0 0 transparent; transition: background-color .35s, color .35s, box-shadow .35s; }
.choice-grid a::after { content: ""; position: absolute; top: 20px; right: clamp(14px, 2vw, 24px); width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent currentColor; }
.choice-grid a:nth-child(3n+2) { background: var(--teal); }
.choice-grid a:nth-child(3n) { background: var(--pine); }
.choice-grid a:nth-child(4) { background: var(--ochre); color: var(--pine); }
.choice-grid a:nth-child(5) { background: var(--orange-deep); }
.choice-grid a:nth-child(6) { background: var(--teal); }
.choice-grid a:hover, .choice-grid a:focus-visible { background: var(--paper-hi); color: var(--pine); box-shadow: inset 0 0 0 6px var(--pine); transform: none; border-color: transparent; }
.choice-grid a:nth-child(1):hover, .choice-grid a:nth-child(5):hover, .choice-grid a:nth-child(1):focus-visible, .choice-grid a:nth-child(5):focus-visible { color: var(--orange-deep); box-shadow: inset 0 0 0 6px var(--orange-deep); }
.choice-grid a:nth-child(2):hover, .choice-grid a:nth-child(6):hover, .choice-grid a:nth-child(2):focus-visible, .choice-grid a:nth-child(6):focus-visible { color: var(--teal); box-shadow: inset 0 0 0 6px var(--teal); }
.choice-grid a:nth-child(4):hover, .choice-grid a:nth-child(4):focus-visible { box-shadow: inset 0 0 0 6px var(--ochre); }
.choice-grid a:focus-visible { outline: 3px solid var(--pine); outline-offset: -9px; }
.agency-line { margin: 0; padding: 18px 16px 20px; padding: 18px clamp(14px, 2.4vw, 28px) 20px; border-top: 3px solid var(--pine); color: var(--muted); font-size: 1rem; font-weight: 700; }
.agency-line a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; color: var(--orange-deep); }

/* ---------- local board ---------- */
.local-board { padding: 0 16px; border: 0; background: var(--paper); color: var(--pine); }
.local-wrap { width: auto; max-width: 1180px; margin: auto; padding: 72px 0 84px; }
.local-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 32px; padding: 32px; background: var(--teal); color: var(--paper-hi); border: 3px solid var(--pine); box-shadow: 10px 10px 0 var(--ochre); }
.local-kicker, .local-card-kicker, .local-small-label { margin: 0; color: var(--orange-deep); font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.local-kicker { color: var(--paper-hi); margin-bottom: 14px; }
.local-kicker span { padding: 0 6px; }
.local-intro h2 { font: 400 clamp(2.1rem, 5.6vw, 4.2rem)/1.02 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.local-intro > div > p:last-child { max-width: 540px; margin: 16px 0 0; font-size: 1.1875rem; }
.local-generated { flex: none; margin: 0; color: var(--paper-hi); font-size: .9375rem; font-weight: 700; }
.local-section-heading { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 10px 20px; margin: clamp(52px, 7vw, 80px) 0 26px; padding-bottom: 12px; border-bottom: 10px solid var(--ochre); }
.local-section-heading h3 { font: 400 clamp(1.6rem, 3.6vw, 2.5rem)/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--pine); order: 1; }
.local-section-heading > span { order: 2; padding: 5px 11px; background: var(--pine); color: var(--paper-hi); font-size: .875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 30px; }
.local-card { --shade: var(--teal); min-width: 0; padding: 24px; padding: clamp(20px, 2.6vw, 30px); border: 3px solid var(--pine); border-radius: 0; background: var(--paper-hi); box-shadow: 8px 8px 0 var(--shade); }
.local-grid > :nth-child(3n+2) { --shade: var(--ochre); }
.local-grid > :nth-child(3n) { --shade: var(--orange); }
.local-card h4 { margin: 8px 0 18px; font: 400 clamp(1.3rem, 2.5vw, 1.75rem)/1.12 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--pine); }
.local-card .local-copy { margin: 10px 0; color: var(--pine); }
.local-card .local-subtle, .local-subtle { display: block; color: var(--muted); font-size: .9375rem; }
.local-source { margin: 24px 0 0; padding-top: 14px; border-top: 3px solid var(--pine); color: var(--muted); font-size: .875rem; font-weight: 700; }
.local-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; color: var(--orange-deep); font-size: 1rem; font-weight: 700; text-underline-offset: .2em; }
.local-wide { grid-column: 1 / -1; }
.local-weather-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; padding: 12px 0 24px; border-bottom: 3px solid var(--pine); }
.local-weather-lead > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 22px; }
.local-big-temp { color: var(--orange-deep); font: 400 clamp(4.6rem, 11vw, 8rem)/.9 var(--display); letter-spacing: -.02em; }
.local-weather-condition { max-width: 210px; color: var(--pine); font-size: 1.1875rem; font-weight: 700; }
.local-weather-note { padding-bottom: 6px; display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: 1rem; }
.local-weather-note strong { color: var(--pine); font-size: 1.1875rem; }
.local-day-strip, .local-hour-strip { display: flex; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--pine) var(--paper); }
.local-day-strip { padding: 22px 0; border-bottom: 3px solid var(--pine); }
.local-day { flex: 0 0 150px; padding: 0 14px; border-left: 3px solid var(--pine); display: flex; flex-direction: column; gap: 5px; font-size: .9375rem; color: var(--muted); line-height: 1.3; }
.local-day:first-child { padding-left: 0; border-left: 0; }
.local-day strong { color: var(--pine); font-size: 1rem; }
.local-day-temp { color: var(--orange-deep); font: 400 1.5rem/1.1 var(--display); }
.local-small-label { margin: 22px 0 12px; }
.local-hour-strip { gap: 10px; padding-bottom: 8px; }
.local-hour { flex: 0 0 96px; padding: 10px; border: 2px solid var(--pine); background: var(--paper); display: flex; flex-direction: column; gap: 3px; font-size: .875rem; color: var(--muted); }
.local-hour strong { color: var(--pine); font: 400 1.4rem/1.1 var(--display); }
.local-big-number { margin: 14px 0 8px; color: var(--orange-deep); font: 400 4.6rem/.95 var(--display); }
.local-radar { margin: 18px 0 0; overflow: hidden; border: 3px solid var(--pine); background: #fff; }
.local-radar img { display: block; width: 100%; height: auto; }
.local-radar figcaption { padding: 7px 10px; background: var(--pine); color: var(--paper-hi); font-size: .875rem; }
.local-alert, .local-advisory { display: flex; gap: 18px; padding: 22px 26px; margin-top: 26px; border: 3px solid var(--orange-deep); background: var(--paper-hi); box-shadow: 8px 8px 0 var(--orange); color: var(--pine); }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange-deep); color: var(--paper-hi); font-weight: 700; }
.local-alert h3, .local-advisory h3 { margin: 6px 0 8px; font: 400 1.25rem/1.25 var(--display); text-transform: uppercase; }
.local-alert p, .local-advisory p { margin-bottom: 0; }
.local-advisory { align-items: center; border-color: var(--pine); background: var(--ochre); box-shadow: 8px 8px 0 var(--teal); }
.local-advisory-mark { flex: none; color: var(--pine); font-size: 2.5rem; line-height: 1; }
.local-advisory h3 { font-size: clamp(1.15rem, 2.4vw, 1.6rem); }
.local-advisory-alert { border-color: var(--orange-deep); background: var(--paper-hi); box-shadow: 8px 8px 0 var(--orange); }
.local-row { padding: 13px 0; border-bottom: 2px dotted var(--pine); }
.local-row:first-of-type { padding-top: 0; }
.local-row:last-of-type { border-bottom: 0; }
.local-row-title { display: block; color: var(--pine); font-size: 1.0625rem; font-weight: 700; line-height: 1.35; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a.local-row-title:hover { color: var(--orange-deep); }
.local-row-detail { display: block; margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.local-news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 34px; }
.local-market-name { display: block; font-size: 1.125rem; font-weight: 700; }
.local-lottery { padding: 12px 0; border-bottom: 2px dotted var(--pine); display: flex; flex-direction: column; gap: 5px; }
.local-lottery strong { font: 400 1.4rem/1.2 var(--display); letter-spacing: .04em; }

/* city notes: the last sheet is pine stock */
#city-notes { background: var(--pine); color: var(--paper-hi); }
#city-notes .local-wrap { padding: 60px 0 72px; }
#city-notes .local-section-heading { margin-top: 0; border-bottom-color: var(--ochre); }
#city-notes .local-section-heading h3 { color: var(--paper-hi); }
#city-notes .local-section-heading > span { background: var(--ochre); color: var(--pine); }
#city-notes .local-card { box-shadow: 8px 8px 0 var(--ochre); }
#city-notes :focus-visible { outline-color: var(--ochre); }

/* the foot of the poster: a cable car climbing Powell Street */
.foot { border-top: 3px solid var(--pine); border-bottom: 3px solid var(--pine); background: var(--sky); overflow: hidden; }
.foot-art { display: block; width: 100%; height: clamp(110px, 15vw, 190px); }

/* ---------- inner pages ---------- */
.page-shell { width: min(100% - 32px, 1040px); max-width: none; margin: 0 auto; padding: clamp(32px, 5vw, 60px) 0 clamp(52px, 7vw, 84px); }
.eyebrow { margin: 0 0 8px; color: var(--orange-deep); font-size: .9375rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.intro h1 { padding: 20px 18px; padding: clamp(16px, 2.6vw, 26px) clamp(16px, 2.6vw, 28px); background: var(--pine); color: var(--paper-hi); font: 400 clamp(2rem, 5.6vw, 3.9rem)/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; border-bottom: 10px solid var(--ochre); }
.intro-copy { margin: 20px 0 0; max-width: 680px; color: var(--pine); font-size: clamp(1.0625rem, 1.9vw, 1.25rem); }

.options { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.option { min-width: 0; min-height: 240px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; border: 3px solid var(--pine); background: var(--paper-hi); box-shadow: 8px 8px 0 var(--teal); }
.option-number { color: var(--orange-deep); font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.option h2 { margin: 16px 0 8px; font: 400 clamp(1.4rem, 2.6vw, 1.75rem)/1.1 var(--display); text-transform: uppercase; }
.option p { margin: 0; color: var(--muted); 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(--paper-hi); background: var(--orange-deep); font-weight: 700; line-height: 1.25; text-decoration: none; text-align: left; cursor: pointer; }
.option-action:hover { background: var(--pine); color: var(--paper-hi); }
.option .option-note { margin-top: 8px; font-size: .875rem; color: var(--muted); }

.question-section { scroll-margin-top: 25px; margin-top: 44px; padding: 28px; padding: clamp(22px, 4vw, 44px); border: 3px solid var(--pine); background: var(--paper-hi); box-shadow: 10px 10px 0 var(--teal); }
.question-heading h2 { font: 400 clamp(1.6rem, 3.6vw, 2.4rem)/1.1 var(--display); text-transform: uppercase; }
.question-heading > p:last-child { margin: 12px 0 0; color: var(--muted); }
.question-form { margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 22px; }
.form-grid label, .quote-form label { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 1rem; color: var(--pine); }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-width: 0; border: 2px solid var(--pine); border-radius: 0; padding: 12px 14px; color: var(--pine); background: #fff; font-weight: 400; }
.form-grid input, .form-grid select { min-height: 50px; }
.form-grid textarea { min-height: 140px; resize: vertical; }
.form-grid input:focus-visible, .form-grid select:focus-visible, .form-grid textarea:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 2px; background: var(--paper-hi); }
.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: 22px; min-width: 22px; height: 22px; min-height: 22px; margin: 2px 0 0; accent-color: var(--orange-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, .quote-submit button, .quote-results button { min-height: 52px; display: inline-flex; align-items: center; gap: 12px; border: 0; border-radius: 0; padding: 13px 22px; color: var(--paper-hi); background: var(--orange-deep); font-weight: 700; font-size: 1.0625rem; letter-spacing: .02em; cursor: pointer; box-shadow: inset 0 0 0 0 transparent; transition: background-color .3s, color .3s, box-shadow .3s; }
.form-bottom button:hover, .quote-submit button:hover, .quote-results button:hover { background: var(--paper-hi); color: var(--orange-deep); box-shadow: inset 0 0 0 4px var(--orange-deep); }
.submit-note { max-width: 620px; margin: 18px 0 0; color: var(--muted); font-size: .9375rem; }
.form-status { min-height: 22px; margin: 13px 0 0; color: var(--orange-deep); font-weight: 700; }

.product-switch { display: flex; flex-wrap: wrap; gap: 0; margin: 34px 0 26px; border: 3px solid var(--pine); width: fit-content; max-width: 100%; }
.product-switch a { display: inline-flex; align-items: center; min-height: 48px; border: 0; border-right: 3px solid var(--pine); padding: 10px 20px; background: var(--paper-hi); color: var(--pine); font-weight: 700; text-decoration: none; }
.product-switch a:last-child { border-right: 0; }
.product-switch a:hover { background: var(--ochre); color: var(--pine); }
.product-switch a[aria-current="page"] { background: var(--pine); color: var(--paper-hi); }
.quote-form fieldset { min-width: 0; margin: 28px 0; padding: 24px; padding: clamp(20px, 3vw, 32px); border: 3px solid var(--pine); border-radius: 0; background: var(--paper-hi); box-shadow: 8px 8px 0 var(--ochre); }
.quote-form fieldset:nth-of-type(even) { box-shadow: 8px 8px 0 var(--teal); }
.quote-form legend { padding: 6px 14px; background: var(--pine); color: var(--paper-hi); font: 400 1.25rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.quote-form .form-grid { margin-top: 10px; }
.quote-submit { margin: 26px 0 56px; max-width: 720px; }
.quote-submit button:disabled, .quote-results button:disabled { cursor: wait; opacity: .6; }
#quote-status { color: var(--orange-deep); font-weight: 700; }
.quote-results { margin: 34px 0 70px; padding: 28px; border: 3px solid var(--pine); background: var(--paper-hi); box-shadow: 8px 8px 0 var(--teal); }
.quote-results h2 { margin: 0 0 16px; font: 400 clamp(1.6rem, 3.4vw, 2.2rem)/1.1 var(--display); text-transform: uppercase; }
.quote-results article { border-top: 3px solid var(--pine); padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; font: 400 1.35rem/1.15 var(--display); text-transform: uppercase; }
.quote-results article p { margin: 4px 0 13px; }

.site-footer { max-width: none; margin: 0; padding: 26px max(16px, calc((100% - 1240px) / 2)) 36px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 28px; border-top: 10px solid var(--ochre); background: var(--pine); color: var(--paper-hi); font-size: 1rem; }
.site-footer p { margin: 0; }
.site-footer > p:first-child { color: var(--paper-hi); font-weight: 700; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ochre); text-underline-offset: .2em; }
.site-footer a:hover { color: var(--paper-hi); }
.site-footer :focus-visible { outline-color: var(--ochre); }
.site-footer .footer-note { flex-basis: 100%; }

/* motion: the planes drift a little as the page scrolls (where supported) */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .pl-far { animation: drift-far linear both; animation-timeline: scroll(root); animation-range: 0 600px; }
    .pl-fog { animation: drift-fog linear both; animation-timeline: scroll(root); animation-range: 0 600px; }
    .pl-near { animation: drift-near linear both; animation-timeline: scroll(root); animation-range: 0 600px; }
    @keyframes drift-far { to { transform: translateY(-12px); } }
    @keyframes drift-fog { to { transform: translateX(26px); } }
    @keyframes drift-near { to { transform: translateY(14px); } }
  }
}

@media (max-width: 900px) {
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice-grid a:nth-child(n) { background: var(--orange-deep); color: var(--paper-hi); }
  .choice-grid a:nth-child(4n+2), .choice-grid a:nth-child(4n+3) { background: var(--teal); }
  .choice-grid a:nth-child(4n+3) { background: var(--pine); }
  .choice-grid a:nth-child(4n+4) { background: var(--ochre); color: var(--pine); }
  .choice-grid a:nth-child(4n+1) { background: var(--orange-deep); }
  .choice-grid a:nth-child(4n+2) { background: var(--teal); }
  .choice-grid a:hover, .choice-grid a:focus-visible { background: var(--paper-hi); color: var(--pine); box-shadow: inset 0 0 0 6px var(--pine); }
  .options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .local-intro { align-items: flex-start; flex-direction: column; }
  .local-grid, .local-weather-lead, .local-news-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 590px) {
  body { font-size: 1.0625rem; }
  .brand { font-size: .9375rem; gap: 10px; }
  .brand strong { font-size: .95rem; }
  .brand-mark { width: 40px; height: 40px; font-size: 1.3rem; }
  .header-inner { gap: 0 14px; }
  .header-link { white-space: normal; font-size: .875rem; }
  .poster { box-shadow: 6px 6px 0 var(--teal); }
  .scene { height: 230px; }
  .poster { padding: 10px; }
  .local-wrap { padding: 52px 0 60px; }
  #city-notes .local-wrap { padding: 48px 0 56px; }
  .local-intro { padding: 22px 18px; }
  .choice-grid { grid-template-columns: minmax(0, 1fr); }
  .choice-grid a:nth-child(n) { min-height: 76px; padding: 16px 46px 16px 16px; align-items: center; }
  .choice-grid a:nth-child(6n+1) { background: var(--orange-deep); color: var(--paper-hi); }
  .choice-grid a:nth-child(6n+2) { background: var(--teal); color: var(--paper-hi); }
  .choice-grid a:nth-child(6n+3) { background: var(--pine); color: var(--paper-hi); }
  .choice-grid a:nth-child(6n+4) { background: var(--ochre); color: var(--pine); }
  .choice-grid a:nth-child(6n+5) { background: var(--orange-deep); color: var(--paper-hi); }
  .choice-grid a:nth-child(6n+6) { background: var(--teal); color: var(--paper-hi); }
  .choice-grid a:nth-child(n):hover, .choice-grid a:nth-child(n):focus-visible { background: var(--paper-hi); color: var(--pine); box-shadow: inset 0 0 0 5px var(--pine); }
  .choice-grid a::after { top: 50%; margin-top: -9px; }
  .page-shell { padding: 30px 0 56px; }
  .options { margin-top: 36px; grid-template-columns: 1fr; gap: 24px; }
  .option { min-height: 0; padding: 22px; }
  .question-section { margin-top: 34px; padding: 22px 16px; box-shadow: 6px 6px 0 var(--teal); }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .quote-form fieldset { padding: 22px 16px; }
  .product-switch a { padding: 10px 14px; }
  .local-card { box-shadow: 6px 6px 0 var(--shade); }
  .local-intro { box-shadow: 6px 6px 0 var(--ochre); }
  .local-alert, .local-advisory-alert { box-shadow: 6px 6px 0 var(--orange); }
  .local-advisory { box-shadow: 6px 6px 0 var(--teal); }
  .local-advisory-alert { box-shadow: 6px 6px 0 var(--orange); }
  .local-section-heading { margin-top: 48px; align-items: flex-start; flex-direction: column; gap: 10px; }
  .local-section-heading > span { order: 0; }
  .local-section-heading h3 { order: 1; }
  .local-grid { gap: 28px; }
  .local-card { padding: 20px 18px; }
  .local-alert, .local-advisory { padding: 20px 16px; gap: 12px; }
  .local-day { flex-basis: 132px; }
  .site-footer { padding: 24px 16px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .choice-grid a, .form-bottom button, .quote-submit button, .quote-results button { transition: none; }
}
