/* Upland Insurance: a January pre-dawn frost watch in the lemon grove, set as a Studio Dumbar module system.
   Night-indigo ground, hard colour bars (cyan, magenta, lemon, grass green), black smudge pots as the loose vector fragments. */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/bricolage-grotesque-700.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: #0c1038;
  --night: #141b6e;
  --night-line: #26307f;
  --muted: #39406b;
  --line: #0c1038;
  --mist: #eef1fb;
  --mist-lo: #d5daf0;
  --paper: #ffffff;
  --cyan: #19b5f0;
  --magenta: #e0107c;
  --magenta-deep: #b8005f;
  --lemon: #ffd60a;
  --green: #43b02a;
  --blue: #2a3fd6;
  --accent: #b8005f;
  --accent-dark: #0c1038;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --text: "Public Sans", "Helvetica Neue", Arial, sans-serif;
}

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

/* ---------- masthead: a night-ink band, the four colour bars laid under it ---------- */
.site-header { position: relative; border: 0; background: var(--ink); color: #fff; }
.site-header::after { content: ""; display: block; height: 8px; background: linear-gradient(90deg, var(--cyan) 0 38%, var(--magenta) 38% 63%, var(--lemon) 63% 83%, var(--green) 83% 100%); }
.header-inner { width: min(100% - 40px, 1200px); 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: 14px; min-height: 48px; color: #fff; text-decoration: none; font-size: .9375rem; line-height: 1.2; letter-spacing: 0; }
.brand strong { display: block; font: 700 1.125rem/1.15 var(--display); }
.brand-mark { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--lemon); color: var(--ink); font: 700 1.5rem/1 var(--display); box-shadow: -7px 0 0 var(--cyan), 7px 0 0 var(--magenta); margin: 0 7px; }
.brand:hover strong { text-decoration: underline; text-decoration-color: var(--lemon); text-decoration-thickness: 3px; }
.header-link { display: inline-flex; align-items: center; min-height: 48px; padding: 0; border: 0; background: transparent; color: #fff; white-space: nowrap; font-weight: 700; text-decoration: underline; text-decoration-color: var(--lemon); text-decoration-thickness: 3px; cursor: pointer; }
.header-link:hover { text-decoration-color: var(--cyan); }
.header-link span { color: var(--lemon); }
.site-header :focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px var(--magenta-deep); }

/* ---------- home: the grove strip, the title and the six bars ---------- */
.frost { --px: 0px; --lift: 0px; --spin: 0deg; position: relative; isolation: isolate; color: #fff; }
.frost .site-header::after { display: none; }
.frost::before { content: ""; position: absolute; z-index: 3; top: 0; bottom: 0; left: 0; width: 22px; background: linear-gradient(180deg, var(--cyan) 0 34%, var(--magenta) 34% 62%, var(--lemon) 62% 82%, var(--green) 82% 100%); }
.frost .site-header { padding-left: 22px; }
.frost .minimal-shell { padding-left: max(42px, calc((100% - 1240px) / 2 + 22px)); }
.frost .site-header { background: var(--ink); }
.frost-art { line-height: 0; border-block: 4px solid var(--ink); background: var(--night); }
.grove-svg { display: block; width: 100%; height: clamp(190px, 31vw, 420px); }
.grove-svg .fw-rows { transform: translateX(var(--px)); transition: transform .7s var(--ease); }
.grove-svg .fw-dawn { transform: translateY(var(--lift)); transition: transform .7s var(--ease); }
.grove-svg .fw-mast { transform-box: fill-box; transform-origin: 50% 100%; transform: rotate(var(--spin)); transition: transform .7s var(--ease); }

.minimal-shell { width: auto; min-height: 0; margin: 0; padding: 56px max(20px, calc((100% - 1240px) / 2)) 44px; background-color: var(--ink); background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px); background-size: 56px 56px; color: #fff; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; gap: 0 clamp(28px, 4.4vw, 64px); }
.minimal-shell h1 { position: relative; z-index: 0; grid-column: 1; grid-row: 1; align-self: start; margin: 0 0 28px; max-width: 6.4em; color: #fff; font: 700 clamp(3.2rem, 7.4vw, 6.9rem)/.9 var(--display); letter-spacing: -.035em; }
.minimal-shell h1::before, .minimal-shell h1::after { content: ""; position: absolute; z-index: -1; height: .27em; }
.minimal-shell h1::before { left: -.2em; top: .06em; width: 2.1em; background: var(--blue); }
.minimal-shell h1::after { left: .3em; bottom: .12em; width: 3.1em; background: var(--magenta-deep); }

.choice-grid { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }
.choice-grid a { --cell: var(--cyan); --on: var(--ink); --bar: var(--lemon); --stag: 0%; position: relative; z-index: 0; min-width: 0; min-height: 76px; margin-right: var(--stag); padding: 14px 76px 14px 22px; display: flex; align-items: center; overflow: hidden; border: 0; border-radius: 0; background: var(--cell); color: var(--on); font: 700 clamp(1.15rem, 1.9vw, 1.6rem)/1.15 var(--display); letter-spacing: -.01em; text-decoration: none; transition: transform .4s var(--ease), margin .4s var(--ease); }
.choice-grid a::before { content: ""; position: absolute; z-index: -1; right: 0; top: 0; bottom: 0; width: 16px; background: var(--bar); mix-blend-mode: multiply; transition: width .5s var(--ease); }
.choice-grid a::after { content: ""; position: absolute; right: 26px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); transition: transform .4s var(--ease); }
.choice-grid a:nth-child(1) { --cell: var(--cyan); --bar: var(--lemon); --stag: 0%; }
.choice-grid a:nth-child(2) { --cell: var(--magenta-deep); --on: #fff; --bar: var(--cyan); --stag: 7%; }
.choice-grid a:nth-child(3) { --cell: var(--lemon); --bar: var(--magenta); --stag: 3%; }
.choice-grid a:nth-child(4) { --cell: var(--green); --bar: var(--cyan); --stag: 12%; }
.choice-grid a:nth-child(5) { --cell: var(--blue); --on: #fff; --bar: var(--magenta); --stag: 5%; }
.choice-grid a:nth-child(6) { --cell: #fff; --bar: var(--lemon); --stag: 0%; justify-content: flex-start !important; text-align: left !important; align-items: center !important; }
.choice-grid a:hover, .choice-grid a:focus-visible { z-index: 2; transform: translateX(-14px); margin-right: calc(var(--stag) - 14px); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.choice-grid a:hover::before, .choice-grid a:focus-visible::before { width: 64px; }
.choice-grid a:hover::after, .choice-grid a:focus-visible::after { transform: translateX(6px); }
.choice-grid a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--magenta-deep); }
.choice-grid a:active { transform: none; margin-right: var(--stag); }

/* choosing a bar moves the grove layers: the rows slide, the dawn lifts, the wind machine tips */
.frost:has(.choice-grid a:nth-child(1):is(:hover, :focus-visible)) { --px: -26px; --lift: -8px; --spin: -3deg; }
.frost:has(.choice-grid a:nth-child(2):is(:hover, :focus-visible)) { --px: 18px; --lift: 6px; --spin: 2deg; }
.frost:has(.choice-grid a:nth-child(3):is(:hover, :focus-visible)) { --px: -12px; --lift: -14px; --spin: -1deg; }
.frost:has(.choice-grid a:nth-child(4):is(:hover, :focus-visible)) { --px: 30px; --lift: 10px; --spin: 3deg; }
.frost:has(.choice-grid a:nth-child(5):is(:hover, :focus-visible)) { --px: -34px; --lift: -4px; --spin: -2deg; }
.frost:has(.choice-grid a:nth-child(6):is(:hover, :focus-visible)) { --px: 8px; --lift: 12px; --spin: 1deg; }

.agency-line { grid-column: 1; grid-row: 2; align-self: end; margin: 0; padding: 0; max-width: 22em; color: #fff; font-size: 1rem; font-weight: 700; }
.agency-line a { display: inline-block; padding: 10px 0; color: var(--lemon); }
.agency-line a:focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px var(--magenta-deep); }

.embers { line-height: 0; background: var(--cyan); }
.embers-svg { display: block; width: 100%; height: 48px; }

/* ---------- local board ---------- */
.local-board { border-top: 0; background: var(--mist); 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 28px; border-bottom: 0; position: relative; }
.local-intro::before { content: ""; position: absolute; left: 0; top: 0; bottom: 28px; width: 14px; background: linear-gradient(180deg, var(--cyan) 0 40%, var(--magenta) 40% 72%, var(--lemon) 72% 100%); }
.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: 11ch; font: 700 clamp(2.6rem, 6.4vw, 5.4rem)/.92 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 12px; background: var(--ink); color: #fff; font-size: .8125rem; font-weight: 700; }
.local-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px 20px; margin: 64px 0 18px; padding-bottom: 12px; border-bottom: 4px solid var(--ink); position: relative; }
.local-section-heading::after { content: ""; position: absolute; right: 0; bottom: -4px; width: 140px; height: 4px; background: var(--magenta-deep); }
.local-section-heading h3 { grid-column: 1; grid-row: 1; font: 700 clamp(1.9rem, 3.6vw, 2.9rem)/1 var(--display); letter-spacing: -.025em; }
.local-section-heading > span { grid-column: 2; grid-row: 1; padding-bottom: 6px; color: var(--ink); }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; background: transparent; border: 0; }
.local-card { --tab: var(--cyan); --tab2: var(--lemon); position: relative; min-width: 0; padding: 26px 26px 22px 30px; border: 0; border-left: 16px solid var(--tab); border-radius: 0; background: var(--paper); box-shadow: none; }
.local-card::before { content: ""; position: absolute; left: 0; top: 0; width: 8px; height: 46%; background: var(--tab2); }
.local-card:nth-child(4n+2) { --tab: var(--magenta); --tab2: var(--cyan); }
.local-card:nth-child(4n+3) { --tab: var(--lemon); --tab2: var(--magenta); }
.local-card:nth-child(4n+4) { --tab: var(--green); --tab2: var(--lemon); }
.local-card h4 { margin: 6px 0 16px; font: 700 clamp(1.55rem, 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: 3px solid var(--mist-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: 3px solid var(--mist-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(--mist); }
.local-day-strip { gap: 0; padding: 20px 0; border-bottom: 3px solid var(--mist-lo); }
.local-day { flex: 0 0 150px; padding: 0 14px; border-left: 0; box-shadow: inset 3px 0 0 var(--mist-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; box-shadow: none; }
.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 -.3em 0 var(--cyan); 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(--mist); display: flex; flex-direction: column; gap: 3px; font-size: .8125rem; color: var(--muted); }
.local-hour:nth-child(3n+1) { border-left: 6px solid var(--cyan); }
.local-hour:nth-child(3n+2) { border-left: 6px solid var(--magenta); }
.local-hour:nth-child(3n+3) { border-left: 6px solid var(--lemon); }
.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); box-shadow: inset 0 -.14em 0 var(--lemon); display: inline-block; }
.local-radar { margin: 18px 0 0; overflow: hidden; border: 6px 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 22px 26px; margin-top: 16px; border: 0; border-left: 16px solid var(--magenta-deep); border-radius: 0; background: #fff; }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; 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(--lemon); }
.local-row { padding: 12px 0; border-bottom: 3px solid var(--mist); }
.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: 3px solid var(--mist); 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; }
.intro { display: flex; flex-direction: column; align-items: flex-start; }
.intro h1 { position: relative; z-index: 0; order: 0; margin: 0; max-width: 9em; font: 700 clamp(3rem, 7.2vw, 6.2rem)/.92 var(--display); letter-spacing: -.035em; }
.intro h1::before { content: ""; position: absolute; z-index: -1; left: -.14em; top: 62%; width: 2.6em; height: .26em; background: var(--cyan); }
.eyebrow { order: 1; margin: 22px 0 0; padding: 0 0 0 54px; position: relative; color: var(--ink); font: 700 .875rem/1.3 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.eyebrow::before { content: ""; position: absolute; left: 0; top: .2em; width: 40px; height: 10px; background: linear-gradient(90deg, var(--magenta) 0 50%, var(--lemon) 50% 100%); }
.intro-copy { order: 2; margin: 18px 0 0; color: var(--muted); font-size: clamp(1.0625rem, 2vw, 1.25rem); max-width: 40em; }

.options { margin-top: 48px; display: flex; flex-direction: column; gap: 10px; }
.option { --cell: var(--cyan); min-width: 0; min-height: 0; padding: 22px 24px 22px 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 15em); grid-template-areas: "num act" "h2 act" "p act" "note act"; column-gap: 28px; align-items: start; border: 0; border-left: 18px solid var(--cell); background: var(--paper); transition: transform .35s var(--ease); }
.option:nth-child(5n+2) { --cell: var(--magenta); }
.option:nth-child(5n+3) { --cell: var(--lemon); }
.option:nth-child(5n+4) { --cell: var(--green); }
.option:nth-child(5n+5) { --cell: var(--blue); }
.option:hover { transform: translateX(8px); }
.option > * { grid-column: 1; }
.option .option-action { grid-area: act; align-self: center; }
.option-number { color: var(--muted); font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.option h2 { margin: 6px 0 6px; font: 700 clamp(1.5rem, 2.6vw, 2rem)/1.08 var(--display); }
.option p { margin: 0; color: var(--muted); font-size: 1rem; max-width: 40ch; }
.option .option-action { margin: 0; padding: 12px 16px; min-height: 52px; width: 100%; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; border-radius: 0; color: #fff; background: var(--ink); border-bottom: 6px solid var(--magenta); 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); border-bottom-color: var(--lemon); }
.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; position: relative; padding: 40px 40px 40px 40px; border: 0; border-left: 18px solid var(--magenta-deep); border-radius: 0; background: var(--paper); }
.question-section::before { content: ""; position: absolute; left: 0; top: 0; width: 8px; height: 38%; background: var(--lemon); }
.question-heading h2 { font: 700 clamp(1.9rem, 4vw, 2.8rem)/1.02 var(--display); letter-spacing: -.02em; }
.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: 0; border-bottom: 5px solid var(--ink); border-radius: 0; padding: 11px 12px; color: var(--ink); background: var(--mist); font-weight: 400; }
.form-grid input, .form-grid select { min-height: 52px; }
.form-grid textarea { min-height: 140px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { background: #fff; border-bottom-color: var(--magenta-deep); 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: 26px; }
.form-bottom button { min-height: 54px; display: inline-flex; align-items: center; gap: 12px; border: 0; border-bottom: 6px solid var(--lemon); border-radius: 0; padding: 12px 22px; color: #fff; background: var(--magenta-deep); font: 700 1.0625rem/1.2 var(--text); cursor: pointer; transition: transform .25s var(--ease); }
.form-bottom button:hover { background: var(--ink); border-bottom-color: var(--cyan); transform: translateY(-2px); }
.submit-note { max-width: 610px; margin: 17px 0 0; color: var(--muted); font-size: .9375rem; }
.form-status { min-height: 22px; margin: 13px 0 0; color: var(--ink); font-weight: 700; font-size: 1rem; }

.product-switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 38px 0 20px; }
.product-switch a { display: inline-flex; align-items: center; min-height: 48px; border: 0; border-bottom: 6px solid var(--cyan); border-radius: 0; padding: 8px 18px; background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; }
.product-switch a:nth-child(2) { border-bottom-color: var(--magenta); }
.product-switch a:nth-child(3) { border-bottom-color: var(--lemon); }
.product-switch a:hover { background: var(--lemon); }
.product-switch a[aria-current="page"] { color: #fff; background: var(--ink); }
.quote-form fieldset { min-width: 0; margin: 16px 0; padding: 30px 30px 30px 34px; border: 0; border-left: 16px solid var(--cyan); border-radius: 0; background: #fff; }
.quote-form fieldset:nth-of-type(even) { border-left-color: var(--magenta-deep); }
.quote-form legend { float: left; width: 100%; margin: 0 0 14px; padding: 0; font: 700 1.4rem/1.2 var(--display); letter-spacing: -.01em; }
.quote-form .form-grid { margin-top: 4px; clear: both; }
.quote-submit { margin: 22px 0 55px; max-width: 720px; }
.quote-submit button, .quote-results button { min-height: 54px; border: 0; border-bottom: 6px solid var(--lemon); border-radius: 0; padding: 12px 22px; color: #fff; background: var(--magenta-deep); font: 700 1.0625rem/1.2 var(--text); cursor: pointer; }
.quote-submit button:hover, .quote-results button:hover { background: var(--ink); border-bottom-color: var(--cyan); }
.quote-submit button:disabled, .quote-results button:disabled { cursor: wait; opacity: .6; }
#quote-status { color: var(--ink); font-weight: 700; }
.quote-results { margin: 30px 0 70px; padding: 28px 28px 28px 32px; border: 0; border-left: 16px solid var(--green); background: #fff; }
.quote-results h2 { margin: 0 0 16px; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.05; }
.quote-results article { border-top: 3px solid var(--mist-lo); padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; font-size: 1.35rem; }
.quote-results article p { margin: 4px 0 13px; }

.site-footer { border: 0; max-width: none; margin: 0; padding: 28px max(20px, calc((100% - 1200px) / 2)) 36px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 22px; background: var(--ink); color: #fff; font-size: .9375rem; }
.site-footer p { margin: 0; }
.site-footer > p:first-child { color: #fff; font-weight: 700; }
.site-footer a { color: var(--lemon); text-underline-offset: 4px; }
.site-footer :focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px var(--magenta-deep); }
.site-footer .footer-note { flex-basis: 100%; }

/* ---------- narrower screens: the bars restack from rows to columns ---------- */
@media (max-width: 960px) {
  .minimal-shell { grid-template-columns: 1fr; grid-template-rows: auto; padding-top: 40px; }
  .minimal-shell h1 { grid-column: 1; grid-row: 1; max-width: 7em; margin-bottom: 30px; }
  .choice-grid { grid-column: 1; grid-row: 2; }
  .choice-grid a { --stag: 0%; margin-right: 0; }
  .choice-grid a:hover, .choice-grid a:focus-visible { margin-right: 0; transform: translateX(-8px); }
  .agency-line { grid-column: 1; grid-row: 3; margin-top: 26px; }
  .option { grid-template-columns: 1fr; grid-template-areas: none; }
  .option .option-action { grid-area: auto; grid-column: 1; margin-top: 18px; }
}

@media (max-width: 590px) {
  .header-inner { width: min(100% - 32px, 1240px); gap: 4px 12px; }
  .brand { font-size: .875rem; gap: 10px; }
  .brand strong { font-size: 1rem; }
  .brand-mark { width: 36px; height: 36px; font-size: 1.2rem; margin: 0 6px; box-shadow: -5px 0 0 var(--cyan), 5px 0 0 var(--magenta); }
  .header-link { margin-left: auto; font-size: .9375rem; white-space: normal; text-align: right; }
  .frost::before { top: 0; bottom: auto; left: 0; right: 0; width: auto; height: 12px; background: linear-gradient(90deg, var(--cyan) 0 34%, var(--magenta) 34% 62%, var(--lemon) 62% 82%, var(--green) 82% 100%); }
  .frost .site-header { padding-left: 0; }
  .frost .minimal-shell { padding-left: 16px; }
  .frost .site-header { padding-top: 12px; }
  .grove-svg { height: 170px; }
  .minimal-shell { padding: 32px 16px 36px; }
  .minimal-shell h1 { font-size: clamp(2.7rem, 15vw, 3.8rem); }
  .choice-grid { gap: 8px; }
  .choice-grid a { min-height: 68px; padding: 12px 60px 12px 16px; font-size: 1.1875rem; }
  .choice-grid a::after { right: 20px; }
  .page-shell { padding: 40px 16px 64px; }
  .option { padding: 20px 16px 20px 20px; }
  .question-section { margin-top: 44px; padding: 28px 16px 28px 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 19px; }
  .quote-form fieldset { padding: 24px 14px 24px 18px; }
  .quote-results { padding: 22px 14px 22px 18px; }
  .site-footer { padding: 24px 16px 32px; }
  .local-wrap { padding: 56px 16px 72px; }
  .local-intro { flex-direction: column; align-items: flex-start; padding-left: 24px; }
  .local-section-heading { margin-top: 48px; grid-template-columns: 1fr; }
  .local-section-heading h3 { grid-row: 2; }
  .local-section-heading > span { grid-column: 1; grid-row: 1; }
  .local-grid, .local-weather-lead, .local-news-list { grid-template-columns: 1fr; }
  .local-card { padding: 22px 16px 20px 20px; }
  .local-weather-lead { gap: 14px; }
  .local-alert, .local-advisory { padding: 20px 14px 20px 18px; gap: 12px; }
  .local-day { flex-basis: 128px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .choice-grid a, .choice-grid a::before, .choice-grid a::after, .option, .form-bottom button, .grove-svg .fw-rows, .grove-svg .fw-dawn, .grove-svg .fw-mast { transition: none; }
  .choice-grid a:hover, .choice-grid a:focus-visible, .option:hover { transform: none; }
}
