@font-face{font-family:"Libre Caslon Text";font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/libre-caslon-text-400.woff2) format("woff2")}
@font-face{font-family:"Libre Caslon Text";font-weight:700;font-style:normal;font-display:swap;src:url(/fonts/libre-caslon-text-700.woff2) format("woff2")}
@font-face{font-family:"Schibsted Grotesk";font-weight:500;font-style:normal;font-display:swap;src:url(/fonts/schibsted-grotesk-500.woff2) format("woff2")}
@font-face{font-family:"Schibsted Grotesk";font-weight:700;font-style:normal;font-display:swap;src:url(/fonts/schibsted-grotesk-700.woff2) format("woff2")}

/* A boxed-software manual open at a chrome-yellow divider board: milk acetate leaves punched at the bound edge, a stepped tab rail down the fore edge. */
:root {
  color-scheme: light;
  --board: #f2b705;
  --leaf: #fffbe6;
  --paper: #ffffff;
  --ink: #17140a;
  --muted: #4a4430;
  --link: #1b2fa0;
  --errata: #b3260a;
  --oxide: #d9541e;
  --grass: #277236;
  --teal: #0f7c7a;
  --ultra: #2438a8;
  --violet: #6a2fa0;
  --sienna: #7a4a2a;
  --cast: rgba(23, 20, 10, .3);
  --head: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --text: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --step: 90ms steps(2);
  --rail: 34px;
  --w1: 14px; --w2: 14px; --w3: 14px; --w4: 14px; --w5: 14px; --w6: 14px; --w7: 14px;
}
body:has(.minimal-shell) { --w1: 34px; }
body:has(.quote-form) { --w3: 34px; }
body:has(.question-form) { --w6: 34px; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--board); }
body { margin: 0; padding-right: var(--rail); color: var(--ink); background: var(--board); font: 400 17px/26px var(--text); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--ultra); outline-offset: 3px; }

/* fore-edge tab rail: seven tabs, height follows extent, the current division is the long one */
body::after { content: ""; position: fixed; z-index: 5; right: 0; top: 0; bottom: 0; width: var(--rail); pointer-events: none;
  background:
    linear-gradient(var(--oxide), var(--oxide)) right 0 top 3% / var(--w1) 17% no-repeat,
    linear-gradient(var(--ultra), var(--ultra)) right 0 top 21% / var(--w2) 8% no-repeat,
    linear-gradient(var(--teal), var(--teal)) right 0 top 30% / var(--w3) 15% no-repeat,
    linear-gradient(var(--grass), var(--grass)) right 0 top 46% / var(--w4) 11% no-repeat,
    linear-gradient(var(--sienna), var(--sienna)) right 0 top 58% / var(--w5) 20% no-repeat,
    linear-gradient(var(--violet), var(--violet)) right 0 top 79% / var(--w6) 9% no-repeat,
    linear-gradient(var(--ink), var(--ink)) right 0 top 89% / var(--w7) 8% no-repeat; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 2; border: 0; background: transparent; }
.header-inner { max-width: 1120px; margin: auto; padding: 22px 24px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; text-decoration: none; color: var(--ink); font: 500 17px/1.25 var(--head); }
.brand strong { display: block; font: 700 21px/1.2 var(--head); letter-spacing: -.01em; }
.brand-mark { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--leaf); color: var(--ink); box-shadow: inset 0 0 0 5px var(--board), inset 0 0 0 7px var(--ink); font: 700 22px/1 var(--head); }
.header-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; border: 0; background: transparent; color: var(--ink); font: 700 17px/1.2 var(--head); white-space: nowrap; text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--ink); text-underline-offset: 6px; cursor: pointer; }
.header-link:hover { background: var(--ink); color: var(--board); }
.header-link span { color: inherit; }

/* ---------- home: one punched leaf on the divider board ---------- */
.desk { max-width: 1168px; margin: 0 auto; padding: 0 24px 56px 24px; }
.desk .header-inner { padding-left: 0; padding-right: 0; }
.leaf { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--leaf); border: 3px solid var(--ink); box-shadow: 8px 0 0 var(--cast); isolation: isolate; }
.leaf::before { content: ""; position: absolute; z-index: 0; left: 0; top: 0; bottom: 0; width: 44px; pointer-events: none;
  background:
    radial-gradient(circle at 22px 56px, var(--board) 0 9px, var(--ink) 9.5px 11.5px, transparent 12px),
    radial-gradient(circle at 22px calc(100% - 56px), var(--board) 0 9px, var(--ink) 9.5px 11.5px, transparent 12px); }
.leaf .cairn { grid-area: 1 / 1; z-index: 0; align-self: end; justify-self: start; width: 210px; height: auto; margin: 0 0 30px 64px; pointer-events: none; }
.minimal-shell { position: relative; z-index: 1; grid-area: 1 / 1; width: auto; min-height: 0; margin: 0; padding: 48px 48px 44px 64px; display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: 44px; align-content: start; }
.minimal-shell h1 { grid-column: 1; grid-row: 1; margin: 0; align-self: start; font: 700 clamp(38px, 4.4vw, 56px)/1.02 var(--head); letter-spacing: -.025em; color: var(--ink); }
.choice-grid { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 640px; }
.choice-grid a { position: relative; display: flex; align-items: center; justify-content: flex-start !important; text-align: left !important; min-height: 72px; padding: 14px 20px 14px 66px; border: 3px solid var(--ink); border-radius: 0; background: var(--paper); box-shadow: 8px 8px 0 var(--hue, var(--oxide)); color: var(--ink); font: 700 clamp(19px, 2vw, 22px)/1.2 var(--head); letter-spacing: -.005em; text-decoration: none; transition: none; }
.choice-grid a::before { content: ""; position: absolute; left: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--hue, var(--oxide)); box-shadow: inset 0 0 0 3px var(--paper), 0 0 0 3px var(--ink); }
.choice-grid a:nth-child(1) { --hue: var(--oxide); }
.choice-grid a:nth-child(2) { --hue: var(--board); }
.choice-grid a:nth-child(3) { --hue: var(--grass); }
.choice-grid a:nth-child(4) { --hue: var(--teal); }
.choice-grid a:nth-child(5) { --hue: var(--ultra); }
.choice-grid a:nth-child(6) { --hue: var(--violet); }
.choice-grid a:hover, .choice-grid a:focus-visible { background: var(--ink); color: var(--leaf); animation: hinge var(--step) 1 both; }
.choice-grid a:hover::before, .choice-grid a:focus-visible::before { background: var(--ink); box-shadow: inset 0 0 0 9px var(--board), 0 0 0 3px var(--leaf); }
.choice-grid a:focus-visible { outline: 3px solid var(--ultra); outline-offset: 5px; }
.agency-line { grid-column: 2; grid-row: 3; margin: 30px 0 0; padding-top: 14px; border-top: 3px solid var(--ink); max-width: 640px; color: var(--muted); font: 500 15px/1.5 var(--head); letter-spacing: .02em; }
.agency-line a { color: var(--ink); font-weight: 700; text-underline-offset: 4px; }
@keyframes hinge { from { transform: translate(-3px, -3px); } to { transform: none; } }

/* ---------- local board: a second division on its own board hue ---------- */
.local-board { position: relative; padding: 44px 24px 52px; color: var(--ink); background: var(--ultra); border-top: 3px solid var(--ink); }
#city-notes { background: var(--oxide); }
.local-wrap { position: relative; max-width: 1120px; margin: 0 auto; padding: 56px 44px 64px 76px; background: var(--leaf); border: 3px solid var(--ink); box-shadow: 8px 0 0 var(--cast); }
.local-wrap::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 44px; pointer-events: none;
  background:
    radial-gradient(circle at 22px 56px, var(--ultra) 0 9px, var(--ink) 9.5px 11.5px, transparent 12px),
    radial-gradient(circle at 22px calc(100% - 56px), var(--ultra) 0 9px, var(--ink) 9.5px 11.5px, transparent 12px); }
#city-notes .local-wrap::before {
  background:
    radial-gradient(circle at 22px 56px, var(--oxide) 0 9px, var(--ink) 9.5px 11.5px, transparent 12px),
    radial-gradient(circle at 22px calc(100% - 56px), var(--oxide) 0 9px, var(--ink) 9.5px 11.5px, transparent 12px); }
#city-notes .local-wrap { padding-top: 44px; padding-bottom: 48px; }
.local-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 30px; padding: 0 0 30px; border-bottom: 3px solid var(--ink); }
.local-kicker, .local-card-kicker, .local-small-label { margin: 0 0 12px; color: var(--muted); font: 700 13px/1.3 var(--head); letter-spacing: .12em; text-transform: uppercase; }
.local-kicker span { padding: 0 6px; color: var(--oxide); }
.local-intro h2 { margin: 0; font: 700 clamp(36px, 4.6vw, 58px)/1.02 var(--head); letter-spacing: -.025em; }
.local-intro > div > p:last-child { max-width: 62ch; margin: 18px 0 0; color: var(--ink); font-size: 17px; line-height: 26px; }
.local-generated { flex: none; margin: 0; padding: 6px 10px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font: 700 13px/1.3 var(--head); letter-spacing: .04em; }
.local-generated:empty { display: none; }
.local-section-heading { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 16px 20px; flex-wrap: wrap; margin: 58px 0 22px; }
.local-section-heading > span { flex: none; padding: 7px 14px 7px 12px; border: 2px solid var(--ink); background: var(--chip, var(--board)); color: var(--chipink, var(--ink)); font: 700 13px/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase; box-shadow: 4px 4px 0 var(--cast); }
.local-section-heading h3 { margin: 0; font: 700 clamp(28px, 3.2vw, 38px)/1.06 var(--head); letter-spacing: -.02em; }
.local-wrap > :nth-child(4) { --chip: var(--board); }
.local-wrap > :nth-child(6) { --chip: var(--oxide); }
.local-wrap > :nth-child(8) { --chip: var(--grass); --chipink: #fff; }
.local-wrap > :nth-child(10) { --chip: var(--teal); --chipink: #fff; }
.local-wrap > :nth-child(12) { --chip: var(--ultra); --chipink: #fff; }
#city-notes .local-section-heading { --chip: var(--oxide); margin-top: 0; }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.local-card { min-width: 0; padding: 28px 30px; border: 3px solid var(--ink); background: var(--paper); box-shadow: 7px 7px 0 var(--cast); color: var(--ink); }
.local-card h4 { margin: 6px 0 20px; font: 700 clamp(24px, 2.6vw, 30px)/1.1 var(--head); letter-spacing: -.015em; }
.local-card .local-copy, .local-copy { margin: 10px 0; color: var(--ink); font-size: 17px; line-height: 26px; max-width: 62ch; }
.local-card .local-subtle, .local-subtle { display: block; margin: 6px 0; color: var(--muted); font: 500 15px/1.45 var(--head); }
.local-source { margin: 24px 0 0; padding-top: 14px; border-top: 2px solid var(--ink); color: var(--muted); font: 500 14px/1.4 var(--head); letter-spacing: .01em; }
.local-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; color: var(--link); font: 700 16px/1.3 var(--head); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.local-link:hover { background: var(--ink); color: var(--leaf); text-decoration-color: var(--leaf); }
.local-wide { grid-column: 1 / -1; }
.local-weather-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; align-items: end; padding: 8px 0 26px; border-bottom: 2px solid var(--ink); }
.local-weather-lead > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 22px; }
.local-big-temp { font: 700 clamp(76px, 11vw, 124px)/.86 var(--head); letter-spacing: -.05em; color: var(--ink); }
.local-weather-condition { max-width: 220px; color: var(--ink); font: 500 18px/1.3 var(--head); }
.local-weather-note { display: flex; flex-direction: column; gap: 5px; padding-bottom: 6px; color: var(--ink); font-size: 16px; line-height: 24px; }
.local-weather-note strong { color: var(--ink); font: 700 19px/1.3 var(--head); }
.local-day-strip, .local-hour-strip { display: flex; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--ink) var(--leaf); }
.local-day-strip { gap: 0; padding: 22px 0 18px; border-bottom: 2px solid var(--ink); }
.local-day { flex: 0 0 156px; display: flex; flex-direction: column; gap: 5px; padding: 0 16px; border-left: 2px solid var(--ink); color: var(--muted); font: 500 14px/1.35 var(--head); }
.local-day:first-child { padding-left: 16px; }
.local-day strong { color: var(--ink); font: 700 15px/1.3 var(--head); }
.local-day-temp { color: var(--ink); font: 700 24px/1.1 var(--head); }
.local-small-label { margin: 24px 0 12px; }
.local-hour-strip { gap: 8px; padding-bottom: 10px; }
.local-hour { flex: 0 0 96px; display: flex; flex-direction: column; gap: 3px; padding: 10px 10px 12px; border: 2px solid var(--ink); background: var(--leaf); color: var(--muted); font: 500 14px/1.3 var(--head); }
.local-hour strong { color: var(--ink); font: 700 23px/1.1 var(--head); }
.local-big-number { margin: 14px 0 8px; color: var(--ink); font: 700 76px/.95 var(--head); letter-spacing: -.04em; }
.local-radar { margin: 18px 0 0; overflow: hidden; border: 3px solid var(--ink); background: var(--paper); box-shadow: 5px 5px 0 var(--cast); }
.local-radar img { display: block; width: 100%; height: auto; }
.local-radar figcaption { padding: 7px 10px; border-top: 3px solid var(--ink); color: var(--muted); font: 500 14px/1.35 var(--head); }

/* errata slips */
.local-alert, .local-advisory { display: flex; gap: 20px; margin-top: 22px; padding: 22px 26px; border: 3px solid var(--ink); border-left-width: 14px; border-left-color: var(--errata); background: var(--paper); box-shadow: 6px 6px 0 var(--cast); color: var(--ink); }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--errata); color: #fff; font: 700 20px/1 var(--head); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.local-alert h3, .local-advisory h3 { margin: 6px 0 10px; font: 700 21px/1.3 var(--head); }
.local-alert p, .local-advisory p { margin-bottom: 0; }
.local-advisory { align-items: center; border-left-color: var(--grass); }
.local-advisory-alert { border-left-color: var(--errata); }
.local-advisory-mark { flex: none; color: var(--ink); font-size: 38px; line-height: 1; }
.local-advisory h3 { font: 700 clamp(20px, 2.3vw, 25px)/1.25 var(--head); }

.local-row { padding: 13px 0; border-bottom: 2px solid var(--ink); }
.local-row:first-of-type { padding-top: 0; }
.local-row:last-of-type { border-bottom: 0; }
.local-row-title { display: block; color: var(--link); font: 700 17px/1.35 var(--head); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.local-row-title:hover { background: var(--ink); color: var(--leaf); }
.local-row-detail { display: block; margin-top: 4px; color: var(--muted); font: 500 14px/1.4 var(--head); }
.local-news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.local-market-name { display: block; font: 700 18px/1.3 var(--head); }
.local-lottery { display: flex; flex-direction: column; gap: 5px; padding: 12px 0; border-bottom: 2px solid var(--ink); }
.local-lottery strong { font: 700 21px/1.2 var(--head); letter-spacing: .03em; }

/* ---------- quote and question pages ---------- */
.page-shell { position: relative; width: min(100% - 48px, 1120px); margin: 14px auto 52px; padding: 56px 48px 64px 76px; background: var(--leaf); border: 3px solid var(--ink); box-shadow: 8px 0 0 var(--cast); }
.page-shell::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 44px; pointer-events: none;
  background:
    radial-gradient(circle at 22px 56px, var(--board) 0 9px, var(--ink) 9.5px 11.5px, transparent 12px),
    radial-gradient(circle at 22px calc(100% - 56px), var(--board) 0 9px, var(--ink) 9.5px 11.5px, transparent 12px); }
.eyebrow { margin: 0 0 14px; color: var(--muted); font: 700 13px/1.3 var(--head); letter-spacing: .12em; text-transform: uppercase; }
.intro h1 { margin: 0; max-width: 14ch; font: 700 clamp(40px, 5.2vw, 68px)/1 var(--head); letter-spacing: -.03em; }
.intro-copy { max-width: 62ch; margin: 22px 0 0; color: var(--ink); font-size: 17px; line-height: 26px; }

.options { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.option { min-width: 0; min-height: 240px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; border: 3px solid var(--ink); background: var(--paper); box-shadow: 6px 6px 0 var(--cast); }
.option-number { color: var(--muted); font: 700 13px/1.3 var(--head); text-transform: uppercase; letter-spacing: .12em; }
.option h2 { margin: 16px 0 8px; font: 700 clamp(23px, 2.5vw, 28px)/1.12 var(--head); }
.option p { margin: 0; color: var(--ink); font-size: 16px; line-height: 24px; 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: 3px solid var(--ink); background: var(--ink); color: var(--board); font: 700 16px/1.25 var(--head); text-decoration: none; text-align: left; cursor: pointer; }
.option-action:hover { background: var(--ultra); color: #fff; }
.option-action span { font-size: 19px; line-height: 1; }
.option .option-note { margin-top: 8px; color: var(--muted); font-size: 15px; }

.question-section { scroll-margin-top: 25px; margin-top: 64px; padding: 0; border: 0; background: transparent; }
.question-heading h2 { margin: 0; font: 700 clamp(30px, 4vw, 44px)/1.08 var(--head); letter-spacing: -.02em; }
.question-heading > p:last-child { max-width: 62ch; margin: 14px 0 0; color: var(--ink); }
.question-form { margin-top: 34px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 22px; }
.form-grid label { display: flex; flex-direction: column; gap: 8px; color: var(--ink); font: 700 16px/1.3 var(--head); }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-width: 0; border: 3px solid var(--ink); border-radius: 0; padding: 11px 13px; color: var(--ink); background: var(--paper); font: 400 17px/1.4 var(--text); }
.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(--ultra); outline-offset: 2px; }
.form-grid input:disabled, .form-grid select:disabled { background: repeating-linear-gradient(135deg, #e9e2c4 0 6px, #d6cfae 6px 12px); color: var(--muted); }
.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; min-height: 44px; font: 400 17px/26px var(--text); }
.form-grid .checkbox-row { grid-column: 1 / -1; }
.form-grid .checkbox-row input, .quote-form > fieldset > .checkbox-row input { flex: none; width: 24px; min-width: 24px; height: 24px; min-height: 24px; margin: 1px 0 0; padding: 0; accent-color: var(--ink); }
.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, .quote-submit button, .quote-results button { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 22px; border: 3px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--board); font: 700 17px/1.25 var(--head); cursor: pointer; box-shadow: 6px 6px 0 var(--hue-btn, var(--oxide)); }
.form-bottom button:hover, .quote-submit button:hover, .quote-results button:hover { background: var(--ultra); color: #fff; }
.quote-submit button:disabled, .quote-results button:disabled, .form-bottom button:disabled { cursor: wait; border-style: dashed; background: repeating-linear-gradient(135deg, #e9e2c4 0 6px, #d6cfae 6px 12px); color: var(--muted); box-shadow: none; transform: translate(6px, 6px); }
.submit-note { max-width: 62ch; margin: 18px 0 0; color: var(--muted); font-size: 16px; line-height: 24px; }
.form-status, #quote-status { min-height: 24px; margin: 14px 0 0; color: var(--errata); font: 700 16px/1.4 var(--head); }

.product-switch { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 22px; }
.product-switch a { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 8px 16px 8px 16px; border: 3px solid var(--ink); background: var(--paper); color: var(--ink); font: 700 17px/1.2 var(--head); text-decoration: none; box-shadow: 4px 4px 0 var(--cast); }
.product-switch a:hover { background: var(--ink); color: var(--leaf); }
.product-switch a[aria-current="page"] { padding-left: 46px; background: var(--ink); color: var(--board); box-shadow: 4px 4px 0 var(--oxide); }
.product-switch a[aria-current="page"]::before { content: ""; position: absolute; left: 13px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: var(--board); box-shadow: 0 0 0 2px var(--leaf); }
.quote-form fieldset { min-width: 0; margin: 26px 0; padding: 30px 28px 30px; border: 3px solid var(--ink); background: var(--paper); box-shadow: 6px 6px 0 var(--cast); }
.quote-form legend { padding: 6px 14px; border: 3px solid var(--ink); background: var(--board); color: var(--ink); font: 700 20px/1.2 var(--head); letter-spacing: -.005em; }
.quote-form .form-grid { margin-top: 6px; }
.quote-submit { margin: 26px 0 8px; max-width: 760px; }
.quote-results { margin: 30px 0 20px; padding: 28px; border: 3px solid var(--ink); background: var(--paper); box-shadow: 6px 6px 0 var(--cast); }
.quote-results h2 { margin: 0 0 16px; font: 700 28px/1.15 var(--head); }
.quote-results article { border-top: 2px solid var(--ink); padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; font: 700 21px/1.25 var(--head); }
.quote-results article p { margin: 4px 0 13px; }

.site-footer { max-width: 1120px; margin: 0 auto; padding: 10px 24px 40px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 26px; border: 0; color: var(--ink); font: 500 15px/1.5 var(--head); }
.site-footer p { margin: 0; }
.site-footer > p:first-child { font-weight: 700; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.site-footer a:hover { background: var(--ink); color: var(--board); }
.site-footer .footer-note { flex-basis: 100%; }

/* ---------- width deals fewer leaves ---------- */
@media (max-width: 1000px) {
  .minimal-shell { grid-template-columns: minmax(0, 1fr); padding: 40px 32px 40px 60px; }
  .minimal-shell h1 { max-width: 12ch; margin-bottom: 30px; }
  .choice-grid, .agency-line { grid-column: 1; grid-row: auto; max-width: none; }
  .leaf .cairn { display: none; }
  .options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .local-grid, .local-weather-lead, .local-news-list { grid-template-columns: 1fr; }
  .local-intro { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 590px) {
  :root { --rail: 16px; --w1: 8px; --w2: 8px; --w3: 8px; --w4: 8px; --w5: 8px; --w6: 8px; --w7: 8px; }
  body:has(.minimal-shell) { --w1: 16px; }
  body:has(.quote-form) { --w3: 16px; }
  body:has(.question-form) { --w6: 16px; }
  body { font-size: 17px; }
  .header-inner { padding: 16px 16px 14px; flex-wrap: wrap; gap: 6px 14px; }
  .desk { padding: 0 14px 36px 14px; }
  .desk .header-inner { padding-left: 2px; padding-right: 2px; }
  .brand { gap: 10px; font-size: 15px; }
  .brand strong { font-size: 18px; }
  .brand-mark { width: 44px; height: 44px; font-size: 20px; }
  .header-link { margin-left: auto; font-size: 16px; white-space: normal; text-align: right; }
  .leaf { box-shadow: 5px 0 0 var(--cast); }
  .leaf::before, .local-wrap::before, .page-shell::before { width: 30px; background-position: -4px 0; }
  .minimal-shell { padding: 30px 18px 30px 40px; }
  .minimal-shell h1 { font-size: 38px; }
  .choice-grid { gap: 14px; }
  .choice-grid a { min-height: 68px; padding: 12px 14px 12px 58px; box-shadow: 5px 5px 0 var(--hue, var(--oxide)); font-size: 18px; }
  .choice-grid a::before { left: 14px; width: 26px; height: 26px; margin-top: -13px; }
  .local-board { padding: 28px 12px 34px; }
  .local-wrap { padding: 36px 16px 40px 40px; box-shadow: 5px 0 0 var(--cast); }
  #city-notes .local-wrap { padding: 32px 16px 36px 40px; }
  .local-card { padding: 22px 18px; box-shadow: 5px 5px 0 var(--cast); }
  .local-section-heading { margin: 44px 0 18px; }
  .local-alert, .local-advisory { padding: 18px 16px; gap: 14px; border-left-width: 10px; }
  .local-day { flex-basis: 136px; }
  .page-shell { width: min(100% - 28px, 1120px); margin: 8px auto 36px; padding: 36px 16px 44px 40px; box-shadow: 5px 0 0 var(--cast); }
  .options { grid-template-columns: 1fr; gap: 16px; }
  .option { min-height: 0; padding: 20px; }
  .option .option-action { margin-top: 20px; }
  .question-section { margin-top: 48px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .quote-form fieldset { padding: 26px 16px 24px; margin: 22px 0; }
  .quote-form legend { font-size: 18px; }
  .site-footer { padding: 6px 16px 34px; }
}
@media (prefers-reduced-motion: reduce) { .choice-grid a:hover, .choice-grid a:focus-visible { animation: none; } }
