/* San Jose Insurance: Winchester Mystery House leaded glass, every pane a basin of suminagashi ink.
   Indigo and sumi carbon on paper-white water; ruby and amber glass as the only other dyes. The page darkens as it goes: the newest drop is the darkest. */
@font-face { font-family: "Abril Fatface"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/abril-fatface-400.woff2) format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/alegreya-sans-400.woff2) format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/alegreya-sans-700.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --paper: #f3f6fa;
  --paper-hi: #fafcfe;
  --indigo: #1f2a7a;
  --indigo-deep: #161e5a;
  --sumi: #16171d;
  --muted: #4a4f63;
  --thin: #aeb2c9;
  --ruby: #a3263a;
  --amber-lit: #f2c14e;
  --amber: #e3a72f;
  --on-indigo: #c7cbe6;
  --ink: #16171d;
  --line: #1f2a7a;
  --accent: #1f2a7a;
  --accent-dark: #1f2a7a;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: "Abril Fatface", Didot, Georgia, "Times New Roman", serif;
  --text: "Alegreya Sans", "Gill Sans", "Trebuchet MS", system-ui, sans-serif;
}

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

/* ---------- masthead (all pages) ---------- */
.site-header { border: 0; background: none; }
.header-inner { width: min(100% - 40px, 1240px); max-width: none; margin: auto; padding: 14px 0; display: flex; justify-content: space-between; align-items: center; gap: 6px 24px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-height: 48px; color: var(--indigo); text-decoration: none; font-size: 1.1rem; line-height: 1.12; letter-spacing: 0; }
.brand strong { display: block; font-size: 1.25rem; font-weight: 700; }
.brand-mark { position: relative; display: grid; place-items: center; flex: none; width: 52px; height: 52px; border: 0; color: var(--paper); font: 400 1.3rem/1 var(--display); background: var(--indigo); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.header-link { display: inline-flex; align-items: center; min-height: 48px; border: 0; padding: 0; background: none; color: var(--sumi); white-space: nowrap; font-size: 1.15rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--ruby); text-decoration-thickness: 3px; text-underline-offset: .22em; cursor: pointer; }
.header-link:hover { color: var(--indigo); }
.header-link span { color: var(--ruby); }

/* ---------- home: the window ---------- */
.casement { padding: 8px 20px 0; }
.label { width: min(100%, 1240px); margin: 0 auto; border: 5px solid var(--sumi); border-radius: 88px 88px 6px 6px; background: var(--paper-hi); box-shadow: inset 0 0 0 7px var(--paper-hi), inset 0 0 0 9px var(--sumi); overflow: hidden; }
.label-head { padding: 22px 30px 0; }
.label-head .header-inner { width: auto; padding: 14px 8px 12px; border-bottom: 2px solid var(--indigo); }
.label-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: 20px 56px; align-items: center; padding: 34px 38px 42px; }
.minimal-shell { width: auto; min-height: 0; margin: 0; padding: 0; display: block; }
.minimal-shell h1 { margin: 0 0 30px; max-width: 13ch; font: 400 clamp(2.7rem, 5.4vw, 4.7rem)/1.02 var(--display); letter-spacing: 0; color: var(--indigo); }

/* six panes of glass: a touch floods the pane with dye and lights its lozenge */
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.choice-grid a { --rg: var(--paper); --rl: rgba(31, 42, 122, .55); position: relative; isolation: isolate; overflow: hidden; min-width: 0; min-height: 104px; padding: 16px 100px 16px 22px; display: flex; align-items: flex-end; border: 3px solid var(--sumi); border-radius: 4px; background: var(--paper); color: var(--indigo-deep); font-size: 1.3rem; font-weight: 700; line-height: 1.15; letter-spacing: 0; text-decoration: none; transition: background-color .5s var(--ease), color .5s var(--ease); }
.choice-grid a::before { content: ""; position: absolute; z-index: -1; right: 38px; top: 36px; width: 14px; height: 14px; background: var(--ruby); transform: rotate(45deg) scale(1); box-shadow: 0 0 0 5px var(--rg), 0 0 0 7px var(--rl), 0 0 0 13px var(--rg), 0 0 0 15px var(--rl), 0 0 0 21px var(--rg), 0 0 0 23px var(--rl); transition: transform .7s var(--ease); }
.choice-grid a:hover, .choice-grid a:focus-visible { --rg: var(--indigo); --rl: rgba(199, 203, 230, .6); background: var(--indigo); color: var(--paper); transform: none; box-shadow: none; }
.choice-grid a:hover::before, .choice-grid a:focus-visible::before { background: var(--amber-lit); transform: rotate(45deg) scale(1.3); }
.choice-grid a:focus-visible { outline: 3px solid var(--ruby); outline-offset: 4px; }
.choice-grid a:active { background: var(--sumi); }
.agency-line { margin: 30px 0 0; padding: 14px 0 0; border-top: 2px solid var(--indigo); color: var(--muted); font-size: 1.125rem; font-weight: 700; }
.agency-line a { display: inline-block; padding-block: 10px; color: var(--indigo); }

/* the window: thirteen spokes, leaded panes, dye thinning outward */
.basin-wrap { min-width: 0; display: grid; place-items: center; }
.basin-art { display: block; width: min(100%, 440px); height: auto; border-radius: 50%; }
.basin-art .ring { transition: opacity .6s var(--ease); }
.casement:has(.choice-grid a:hover, .choice-grid a:focus-visible) .ring { opacity: .45; }
.casement:has(.choice-grid a:nth-child(1):is(:hover, :focus-visible)) .ring-1,
.casement:has(.choice-grid a:nth-child(2):is(:hover, :focus-visible)) .ring-2,
.casement:has(.choice-grid a:nth-child(3):is(:hover, :focus-visible)) .ring-3,
.casement:has(.choice-grid a:nth-child(4):is(:hover, :focus-visible)) .ring-4,
.casement:has(.choice-grid a:nth-child(5):is(:hover, :focus-visible)) .ring-5,
.casement:has(.choice-grid a:nth-child(6):is(:hover, :focus-visible)) .ring-5 { opacity: 1; }

/* diamond-paned transom between window and board */
.rain-wrap { margin: 56px 0 0; height: 96px; overflow: hidden; }
.rain-art { display: block; width: 100%; height: 100%; }

/* ---------- local board ---------- */
.local-board { position: relative; isolation: isolate; border-top: 0; background: var(--paper); color: var(--sumi); }
#local-board { overflow-x: clip; }
.local-wrap { max-width: 1240px; margin: auto; padding: 56px 20px 80px; }
.local-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px 40px; padding: 0 0 28px; border-bottom: 3px double var(--indigo); }
.local-kicker, .local-card-kicker, .local-section-heading > span, .local-small-label { color: var(--muted); font-size: 1rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.local-kicker { margin: 0 0 14px; }
.local-kicker span { padding: 0 7px; color: var(--ruby); }
.local-intro h2 { font: 400 clamp(2.6rem, 6.4vw, 5rem)/1.02 var(--display); letter-spacing: 0; color: var(--indigo); }
.local-intro > div > p:last-child { max-width: 44ch; margin: 18px 0 0; color: var(--sumi); font-size: 1.3rem; }
.local-generated { flex: none; margin: 0; color: var(--muted); font-size: 1rem; font-weight: 700; text-align: right; }
.local-section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 24px; margin: 76px 0 30px; }
.local-section-heading h3 { order: 1; font: 400 clamp(1.9rem, 4vw, 2.8rem)/1.05 var(--display); letter-spacing: 0; color: var(--indigo); }
.local-section-heading > span { order: 2; }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 56px; align-items: start; }
.local-grid:empty { display: none; }
.local-card { position: relative; min-width: 0; padding: 22px 0 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.local-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 7px; border-top: 4px double var(--sumi); -webkit-mask: linear-gradient(90deg, #000 40%, transparent); mask: linear-gradient(90deg, #000 40%, transparent); }
.local-card h4 { margin: 4px 0 20px; font: 400 clamp(1.6rem, 3vw, 2rem)/1.1 var(--display); letter-spacing: 0; color: var(--indigo); }
.local-card-kicker { margin: 0; }
.local-card .local-copy { margin: 10px 0; max-width: 42ch; color: var(--sumi); }
.local-card .local-subtle, .local-subtle { display: block; color: var(--muted); font-size: 1.05rem; }
.local-source { margin: 22px 0 0; padding-top: 12px; border-top: 1px solid var(--thin); color: var(--muted); font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.local-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; color: var(--indigo); font-size: 1.1rem; font-weight: 700; text-underline-offset: .22em; }
.local-link:hover { color: var(--sumi); }
.local-wide { grid-column: 1 / -1; }

/* weather: forecast beside rain and UV on wide screens */
#local-now { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
#local-now > .local-wide { grid-column: 1; grid-row: 1 / span 2; }
.local-weather-lead { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 44px; padding: 0 0 28px; border: 0; }
.local-weather-lead > div:first-child { display: block; }
.local-big-temp { font: 400 clamp(4.6rem, 10vw, 7rem)/.9 var(--display); letter-spacing: 0; color: var(--sumi); }
.local-weather-condition { margin-left: 12px; max-width: none; color: var(--indigo); font-size: 1.4rem; font-weight: 700; }
.local-weather-note { max-width: 36ch; padding: 0; display: block; color: var(--sumi); font-size: 1.2rem; }
.local-weather-note strong { display: block; color: var(--indigo); font-size: 1.25rem; }
.local-day-strip, .local-hour-strip { display: grid; gap: 0 16px; overflow: visible; }
.local-day-strip { grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 0; border: 0; margin-bottom: 28px; }
.local-hour-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: 18px; }
.local-day, .local-hour { flex: none; display: flex; flex-direction: column; gap: 2px; padding: 14px 0 12px; border: 0; border-top: 3px solid var(--indigo); border-radius: 0; background: none; font-size: 1.05rem; line-height: 1.3; color: var(--muted); }
.local-day:first-child { padding-left: 0; border-left: 0; }
.local-day strong { color: var(--sumi); font-size: 1.05rem; }
.local-day-temp { color: var(--ruby); font: 400 1.5rem/1.15 var(--display); }
.local-hour strong { color: var(--indigo); font: 400 1.5rem/1.15 var(--display); }
.local-small-label { margin: 0 0 6px; color: var(--indigo); }
.local-big-number { margin: 0 0 8px; color: var(--ruby); font: 400 4.2rem/.95 var(--display); letter-spacing: 0; }
.local-radar { margin: 22px 0 14px; overflow: hidden; border: 3px solid var(--sumi); border-radius: 4px; background: #fff; }
.local-radar img { display: block; width: 100%; height: auto; }
.local-radar figcaption { padding: 8px 14px; background: var(--paper); border-top: 2px solid var(--indigo); color: var(--muted); font-size: 1rem; }

/* alerts and advisory (filled at runtime) */
.local-alert, .local-advisory { display: flex; gap: 19px; padding: 22px 26px; margin: 28px 0 0; border: 3px solid var(--sumi); border-radius: 4px; background: var(--paper-hi); }
.local-alert { border-color: var(--ruby); }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--sumi); color: var(--paper); font-weight: 700; }
.local-alert h3, .local-advisory h3 { margin: 6px 0 9px; font: 400 1.5rem/1.2 var(--display); letter-spacing: 0; color: var(--indigo); }
.local-alert p, .local-advisory p { margin-bottom: 0; }
.local-advisory { align-items: center; }
.local-advisory-mark { flex: none; color: var(--ruby); font-size: 41px; line-height: 1; }
.local-advisory-alert { border-color: var(--sumi); }
.local-advisory-alert h3 { color: var(--sumi); }

/* rows, lists */
.local-row { padding: 10px 0 14px; border-bottom: 1px solid var(--thin); }
.local-row:first-of-type { padding-top: 0; }
.local-row:last-of-type { border-bottom: 0; }
.local-row-title { display: block; padding-top: 4px; color: var(--indigo); font-size: 1.2rem; font-weight: 700; line-height: 1.25; text-decoration-color: var(--ruby); text-decoration-thickness: 2px; text-underline-offset: .22em; }
strong.local-row-title { text-decoration: none; }
.local-row-detail { display: block; margin-top: 2px; color: var(--muted); font-size: 1.05rem; line-height: 1.4; }
.local-news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 35px; }
.local-market-name { display: block; font-size: 1.2rem; }
.local-lottery { padding: 14px 0 10px; border-top: 3px solid var(--indigo); display: flex; flex-direction: column; gap: 4px; }
.local-lottery a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.local-lottery strong { color: var(--indigo); font: 400 1.6rem/1.15 var(--display); font-variant-numeric: tabular-nums; letter-spacing: .03em; }
#local-practical .local-card { max-width: 640px; }

/* indigo pool: Closer to home. The dye has spread; its edge feathers upward. */
.local-section-heading:has(+ #local-safety) { position: relative; margin: 130px 0 0; padding: 64px 0 30px; align-items: baseline; }
.local-section-heading:has(+ #local-safety)::before { content: ""; position: absolute; z-index: -1; top: -14px; bottom: -1px; left: -100vmax; right: -100vmax; background:
    conic-gradient(from 135deg at 50% 0, var(--indigo) 0 90deg, transparent 0) 0 0 / 28px 14px repeat-x,
    linear-gradient(var(--indigo), var(--indigo)) 0 13px / 100% calc(100% - 13px) no-repeat; }
.local-section-heading:has(+ #local-safety)::after { content: ""; position: absolute; z-index: -1; top: -28px; height: 14px; left: -100vmax; right: -100vmax; opacity: .4; pointer-events: none; background: conic-gradient(from 135deg at 50% 0, var(--indigo) 0 90deg, transparent 0) 14px 0 / 28px 14px repeat-x; }
#local-safety { position: relative; margin: 0; padding: 0 0 84px; }
#local-safety::before { content: ""; position: absolute; z-index: -1; top: -1px; bottom: 0; left: -100vmax; right: -100vmax; background: var(--indigo); }
.local-section-heading:has(+ #local-safety) h3, #local-safety .local-card h4 { color: var(--paper); }
.local-section-heading:has(+ #local-safety) > span, #local-safety .local-card-kicker, #local-safety .local-row-detail, #local-safety .local-source, #local-safety .local-subtle { color: var(--on-indigo); }
#local-safety .local-copy { color: var(--paper); }
#local-safety a, #local-safety .local-row-title, #local-safety .local-link, #local-safety strong.local-row-title { color: var(--paper); }
#local-safety .local-row-title { text-decoration-color: var(--amber-lit); }
#local-safety a:hover { color: var(--amber-lit); }
#local-safety .local-card::before { border-top-color: var(--on-indigo); }
#local-safety .local-source { border-top-color: rgba(199, 203, 230, .5); }
#local-safety .local-row { border-bottom-color: rgba(199, 203, 230, .4); }
#local-safety .local-alert, #local-safety .local-advisory { color: var(--sumi); }
.local-section-heading:has(+ #local-safety) ~ .local-section-heading { margin-top: 88px; }

/* sumi pool: the city note. The newest drop is the darkest. */
#city-notes { margin: 0; background: var(--sumi); color: var(--paper); overflow-x: clip; }
#city-notes::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; pointer-events: none; background: conic-gradient(from 135deg at 50% 0, var(--sumi) 0 90deg, transparent 0) 0 0 / 28px 14px repeat-x; }
#city-notes .local-wrap { padding: 68px 20px 84px; }
#city-notes .local-section-heading { margin: 0 0 30px !important; }
#city-notes .local-section-heading h3 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02; color: var(--amber-lit); }
#city-notes .local-section-heading > span, #city-notes .local-card-kicker { color: var(--on-indigo); }
#city-notes .local-card::before { border-top-color: var(--amber-lit); }
#city-notes .local-wide { padding-top: 22px; }
#city-notes .local-copy { max-width: 60ch; margin: 8px 0 0; color: var(--paper); font-size: 1.35rem; line-height: 1.55; }

/* ---------- subpages: quote and question forms ---------- */
.page-shell { width: min(100% - 40px, 1240px); max-width: none; margin: auto; padding: 44px 0 90px; }
.eyebrow { margin: 0 0 12px; color: var(--muted); font-size: 1rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.intro { position: relative; isolation: isolate; padding: 8px 0 34px; border-bottom: 3px double var(--indigo); }
.intro::after { content: ""; position: absolute; z-index: -1; right: 96px; top: 70px; width: 20px; height: 20px; background: var(--ruby); transform: rotate(45deg); box-shadow: 0 0 0 8px var(--paper), 0 0 0 10px var(--sumi), 0 0 0 20px var(--paper), 0 0 0 22px var(--indigo), 0 0 0 32px var(--paper), 0 0 0 35px var(--sumi), 0 0 0 46px var(--paper), 0 0 0 48px var(--indigo), 0 0 0 58px var(--paper), 0 0 0 61px var(--sumi); }
.intro h1 { max-width: 14ch; font: 400 clamp(2.8rem, 7vw, 5rem)/1.02 var(--display); letter-spacing: 0; color: var(--indigo); }
.intro-copy { margin: 20px 0 0; max-width: 56ch; color: var(--sumi); font-size: clamp(1.2rem, 2vw, 1.4rem); }

.options { margin-top: 55px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.option { min-width: 0; min-height: 247px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; border: 2px solid var(--sumi); border-radius: 4px; background: var(--paper-hi); }
.option-number { color: var(--muted); font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.option h2 { margin: 18px 0 8px; font: 400 1.7rem/1.1 var(--display); color: var(--indigo); }
.option p { margin: 0; color: var(--muted); max-width: 30ch; }
.option .option-action { margin-top: auto; padding: 12px 16px; min-height: 48px; width: 100%; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; border-radius: 4px; color: var(--paper); background: var(--indigo); font-weight: 700; font-size: 1.1rem; text-decoration: none; text-align: left; cursor: pointer; }
.option-action:hover { background: var(--sumi); color: var(--paper); }
.option-action span { font-size: 19px; line-height: 1; }
.option .option-note { margin-top: 7px; font-size: 1rem; color: var(--muted); }

.question-section { scroll-margin-top: 25px; margin-top: 44px; padding: 40px; border: 2px solid var(--sumi); border-radius: 4px; background: var(--paper-hi); box-shadow: inset 0 0 0 7px var(--paper-hi), inset 0 0 0 9px var(--sumi); }
.question-heading h2 { font: 400 clamp(2rem, 4vw, 2.8rem)/1.05 var(--display); color: var(--indigo); }
.question-heading > p:last-child { margin: 13px 0 0; color: var(--muted); }
.question-form { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 22px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 1.1rem; color: var(--sumi); }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-width: 0; border: 2px solid var(--indigo); border-radius: 4px; padding: 11px 14px; color: var(--sumi); background: #fff; font-weight: 400; font-size: 1.1rem; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: 3px solid var(--ruby); outline-offset: 2px; }
.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: 2px 0 0; accent-color: var(--indigo); }
.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: 30px; }
.form-bottom button, .quote-submit button, .quote-results button { display: inline-flex; align-items: center; gap: 12px; min-height: 54px; border: 0; border-radius: 4px; padding: 12px 28px; color: var(--paper); background: var(--indigo); font-weight: 700; font-size: 1.2rem; cursor: pointer; box-shadow: 0 0 0 0 var(--paper-hi), 0 0 0 0 var(--indigo); transition: box-shadow .5s var(--ease), background-color .3s; }
.form-bottom button:hover, .quote-submit button:hover, .quote-results button:hover, .form-bottom button:focus-visible, .quote-submit button:focus-visible, .quote-results button:focus-visible { background: var(--sumi); box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--sumi), 0 0 0 10px var(--paper), 0 0 0 12px var(--indigo); }
.form-bottom button:active, .quote-submit button:active, .quote-results button:active { box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--sumi); }
.quote-submit button:disabled, .quote-results button:disabled { cursor: wait; opacity: .6; }
.submit-note { max-width: 610px; margin: 28px 0 0; color: var(--muted); font-size: 1.05rem; }
.form-status { min-height: 22px; margin: 13px 0 0; color: var(--indigo); font-weight: 700; font-size: 1.1rem; }

.product-switch { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 20px; }
.product-switch a { display: inline-flex; align-items: center; min-height: 48px; border: 2px solid var(--indigo); border-radius: 4px; padding: 8px 22px; background: var(--paper-hi); color: var(--indigo); font-size: 1.15rem; font-weight: 700; text-decoration: none; transition: background-color .3s, color .3s; }
.product-switch a:hover { background: var(--thin); color: var(--sumi); }
.product-switch a[aria-current="page"] { border-color: var(--indigo); color: var(--paper); background: var(--indigo); }
.quote-form fieldset { min-width: 0; margin: 26px 0; padding: 28px 30px 32px; border: 2px solid var(--sumi); border-radius: 4px; background: var(--paper-hi); }
.quote-form legend { padding: 0 12px; font: 400 1.7rem/1.1 var(--display); letter-spacing: 0; color: var(--indigo); }
.quote-form .form-grid { margin-top: 4px; }
.quote-submit { margin: 22px 0 55px; max-width: 720px; }
#quote-status { color: var(--indigo); font-weight: 700; }
.quote-results { margin: 40px 0 70px; padding: 28px; border: 3px solid var(--sumi); border-radius: 4px; background: var(--paper-hi); }
.quote-results h2 { margin: 0 0 16px; font: 400 2rem/1.1 var(--display); color: var(--indigo); }
.quote-results article { border-top: 2px solid var(--thin); padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; font: 400 1.4rem/1.15 var(--display); color: var(--indigo); }
.quote-results article p { margin: 4px 0 13px; }

.site-footer { width: min(100% - 40px, 1240px); max-width: none; margin: 0 auto; border-top: 3px double var(--indigo); padding: 24px 0 40px; display: flex; align-items: center; flex-wrap: wrap; gap: 2px 28px; color: var(--muted); font-size: 1.1rem; }
.site-footer p { margin: 0; }
.site-footer > p:first-child { color: var(--sumi); font-weight: 700; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .22em; }
.site-footer .footer-note { flex-basis: 100%; }

@media (max-width: 960px) {
  .label-body { grid-template-columns: minmax(0, 1fr); padding: 28px 24px 34px; }
  .minimal-shell h1 { max-width: none; }
  .basin-art { width: min(100%, 360px); }
  .options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .local-intro { align-items: flex-start; flex-direction: column; }
  .local-generated { text-align: left; }
  #local-now, .local-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  #local-now > .local-wide { grid-column: 1; grid-row: auto; }
  .local-day-strip, .local-hour-strip { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 128px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; scrollbar-width: thin; }
  .local-day, .local-hour { scroll-snap-align: start; }
  .local-weather-lead, .local-news-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 590px) {
  body { font-size: 1.2rem; }
  .casement { padding: 4px 10px 0; }
  .label { border-radius: 52px 52px 6px 6px; }
  .label-head { padding: 18px 14px 0; }
  .label-head .header-inner { padding: 10px 4px 10px; }
  .header-inner { gap: 2px 16px; }
  .brand { font-size: 1rem; gap: 10px; }
  .brand strong { font-size: 1.1rem; }
  .brand-mark { width: 42px; height: 42px; font-size: 1.3rem; }
  .header-link { white-space: normal; font-size: 1.05rem; }
  .label-body { padding: 24px 16px 30px; gap: 28px; }
  .choice-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .choice-grid a { min-height: 80px; padding: 14px 96px 14px 18px; align-items: center; font-size: 1.25rem; }
  .page-shell { width: min(100% - 32px, 1240px); padding: 32px 0 64px; }
  .intro::after { right: 52px; top: 52px; transform: rotate(45deg) scale(.6); opacity: .7; }
  .options { margin-top: 37px; grid-template-columns: 1fr; gap: 18px; }
  .option { min-height: 0; padding: 23px; }
  .question-section { margin-top: 36px; padding: 26px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .quote-form fieldset { padding: 22px 16px 26px; border-radius: 4px; }
  .local-wrap { padding: 40px 16px 56px; }
  .local-section-heading { margin-top: 56px; align-items: flex-start; flex-direction: column; }
  .local-section-heading:has(+ #local-safety) { margin-top: 110px; padding-top: 56px; }
  #local-safety { padding-bottom: 64px; }
  #city-notes .local-wrap { padding: 56px 16px 64px; }
  .local-alert, .local-advisory { padding: 20px 18px; gap: 12px; border-radius: 4px; }
  .rain-wrap { height: 72px; margin-top: 40px; }
  .site-footer { width: min(100% - 32px, 1240px); padding: 22px 0 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .basin-art .ring, .choice-grid a, .choice-grid a::before, .form-bottom button, .quote-submit button, .quote-results button { transition: none; }
  .choice-grid a:hover::before, .choice-grid a:focus-visible::before { transform: rotate(45deg); }
}
