@font-face { font-family: "Hanken Grotesk"; src: url(/fonts/hanken-grotesk-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(/fonts/hanken-grotesk-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --bar: #1b1a17;
  --glass: #f7faf6;
  --seed: #e4ece7;
  --frost: #eef3ef;
  --pool: #0a4f94;
  --pool-lit: #1a66b8;
  --pool-wash: #dce9f7;
  --ledge: #e8a42e;
  --ledge-lit: #f4bd55;
  --ox: #6f2418;
  --ox-lit: #8d3222;
  --ink: #1b1a17;
  --muted: #3f4742;
  --line: #1b1a17;
  --paper: #e4ece7;
  --accent: #0a4f94;
  --accent-dark: #0a4f94;
  --font: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --b: 4px;
  --bh: 8px;
  --lit: .6s cubic-bezier(.3, .1, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--seed); font: 400 17px/1.6 var(--font); }
a { color: var(--pool); text-underline-offset: .2em; text-decoration-thickness: 2px; }
a:hover { color: var(--ox); }
button, input, select, textarea { font: inherit; }
::selection { background: var(--pool); color: #fff; }
:focus-visible { outline: 4px solid var(--ledge); outline-offset: 2px; box-shadow: 0 0 0 7px var(--bar); }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; color: var(--ink); text-wrap: balance; }
strong { font-weight: 700; }

/* ---- the wall: header, frieze, and the home panes ---- */
.wall-top { background: var(--bar); }
.wall-frieze { display: block; width: 100%; height: 64px; }

.site-header { background: var(--glass); border-bottom: var(--bh) solid var(--bar); }
.header-inner { max-width: 1244px; margin: auto; padding: 14px 32px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; color: var(--ink); text-decoration: none; font-size: 17px; line-height: 1.2; }
.brand strong { display: block; font-size: 19px; }
.brand-mark { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border: 0; border-radius: 0; background: var(--pool); color: #fff; font-weight: 700; font-size: 24px; box-shadow: 0 0 0 4px var(--bar); margin: 4px; }
.brand:hover { color: var(--ink); }
.brand:hover .brand-mark { background: var(--pool-lit); }
.header-link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 4px; border: 0; background: transparent; color: var(--ink); white-space: nowrap; font-weight: 700; text-decoration: underline; text-decoration-color: var(--pool); text-decoration-thickness: 3px; text-underline-offset: 6px; cursor: pointer; }
.header-link:hover { color: var(--pool); }
.header-link span { color: var(--pool); }

.minimal-shell { width: min(100% - 32px, 1244px); margin: 28px auto 0; padding: 6px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: 1fr auto; gap: 6px; background: var(--bar); }
.minimal-shell h1 { grid-column: 1; grid-row: 1; margin: 0; padding: clamp(28px, 4vw, 52px) clamp(24px, 3.4vw, 46px); display: flex; flex-direction: column; justify-content: space-between; gap: 36px; background: var(--glass); font-size: clamp(42px, 5.4vw, 78px); line-height: 1.02; letter-spacing: -.02em; }
.minimal-shell h1::after { content: ""; display: block; height: 18px; flex: none; background: linear-gradient(90deg, var(--pool) 0 58%, var(--bar) 58% 59.5%, var(--ledge) 59.5% 82%, var(--bar) 82% 83.5%, var(--ox) 83.5% 100%); }
.choice-grid { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--b); background: var(--bar); }
.choice-grid a { position: relative; min-height: 150px; padding: 24px 24px 28px; display: flex; align-items: flex-end; background: var(--glass); color: var(--ink); border-radius: 0; font-size: clamp(20px, 2vw, 25px); font-weight: 700; line-height: 1.18; text-decoration: none; transition: background-color var(--lit), color var(--lit); }
.choice-grid a::before { content: ""; position: absolute; left: 24px; top: 24px; width: 34px; height: 8px; background: var(--bar); transition: background-color var(--lit), width var(--lit); }
.choice-grid a:hover::before { width: 56px; }
.choice-grid a:nth-child(1) { background: var(--pool); color: #fff; }
.choice-grid a:nth-child(1)::before { background: var(--ledge); }
.choice-grid a:nth-child(2) { background: var(--frost); }
.choice-grid a:nth-child(6) { background: #dfe8e2; }
.choice-grid a:nth-child(1):hover, .choice-grid a:nth-child(1):focus-visible { background: var(--pool-lit); color: #fff; }
.choice-grid a:nth-child(2):hover, .choice-grid a:nth-child(2):focus-visible { background: var(--pool-lit); color: #fff; }
.choice-grid a:nth-child(2):hover::before, .choice-grid a:nth-child(2):focus-visible::before { background: var(--ledge); }
.choice-grid a:nth-child(3):hover, .choice-grid a:nth-child(3):focus-visible { background: var(--ledge-lit); color: var(--ink); }
.choice-grid a:nth-child(4):hover, .choice-grid a:nth-child(4):focus-visible { background: var(--ox-lit); color: #fff; }
.choice-grid a:nth-child(4):hover::before, .choice-grid a:nth-child(4):focus-visible::before { background: var(--ledge); }
.choice-grid a:nth-child(5):hover, .choice-grid a:nth-child(5):focus-visible { background: var(--ledge-lit); color: var(--ink); }
.choice-grid a:nth-child(6):hover, .choice-grid a:nth-child(6):focus-visible { background: var(--pool-lit); color: #fff; }
.choice-grid a:nth-child(6)::before { display: none; }
.agency-line { grid-column: 1; grid-row: 2; margin: 0; padding: 14px clamp(24px, 3.4vw, 46px); background: var(--seed); color: var(--ink); font-size: 16px; font-weight: 700; }
.agency-line a { display: inline-flex; align-items: center; min-height: 44px; color: var(--pool); }

/* ---- local board: panes in a black grid, heavier mullions between sections ---- */
.local-board { margin-top: 44px; border-top: 10px solid var(--bar); background: var(--seed); color: var(--ink); }
.local-wrap { max-width: 1244px; margin: auto; padding: 64px 32px 96px; }
.local-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 0 0 6px; }
.local-kicker, .local-card-kicker, .local-section-heading > span, .local-small-label { color: var(--pool); font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.local-kicker { margin: 0 0 16px; }
.local-kicker span { padding: 0 7px; color: var(--ox); }
.local-intro h2 { margin: 0; font-size: clamp(40px, 5.6vw, 70px); line-height: 1.02; letter-spacing: -.02em; }
.local-intro > div > p:last-child { max-width: 540px; margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.local-generated { flex: none; margin: 0 0 3px; color: var(--muted); font-size: 14px; font-weight: 700; }
.local-section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 64px 0 20px; padding-top: 18px; border-top: var(--bh) solid var(--bar); }
.local-section-heading h3 { margin: 0; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.06; letter-spacing: -.015em; }
.local-section-heading > span { color: var(--ox); }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 2px; background: var(--bar); }
.local-grid:empty { display: none; }
.local-grid > * { margin: 2px; }
.local-card { min-width: 0; padding: 26px 28px; border: 0; border-radius: 0; background: var(--glass); box-shadow: none; transition: background-color var(--lit); }
.local-card:hover { background: var(--frost); }
.local-card h4 { margin: 8px 0 20px; font-size: clamp(25px, 2.8vw, 32px); line-height: 1.1; letter-spacing: -.01em; }
.local-card-kicker { margin: 0; }
.local-card .local-copy { margin: 10px 0; color: var(--muted); }
.local-card .local-subtle, .local-subtle { display: block; color: var(--muted); font-size: 14px; }
.local-source { margin: 26px 0 0; padding-top: 14px; border-top: var(--b) solid var(--bar); color: var(--muted); font-size: 14px; font-weight: 700; }
.local-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; color: var(--pool); font-size: 15px; font-weight: 700; text-underline-offset: 4px; }
.local-wide { grid-column: 1 / -1; }
.local-weather-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; padding: 12px 0 26px; border-bottom: var(--b) solid var(--bar); }
.local-weather-lead > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 22px; }
.local-big-temp { font-size: clamp(76px, 11vw, 124px); font-weight: 700; line-height: .84; letter-spacing: -.05em; color: var(--pool); }
.local-weather-condition { max-width: 200px; color: var(--muted); font-size: 18px; }
.local-weather-note { padding-bottom: 6px; display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: 16px; }
.local-weather-note strong { color: var(--ink); font-size: 18px; }
.local-day-strip, .local-hour-strip { display: flex; overflow-x: auto; scrollbar-width: thin; }
.local-day-strip { gap: 0; padding: 20px 0; border-bottom: var(--b) solid var(--bar); }
.local-day { flex: 0 0 150px; padding: 0 14px; border-left: var(--b) solid var(--bar); display: flex; flex-direction: column; gap: 5px; font-size: 14px; color: var(--muted); line-height: 1.3; }
.local-day:first-child { padding-left: 0; border-left: 0; }
.local-day strong { color: var(--ink); font-size: 15px; }
.local-day-temp { color: var(--pool); font-size: 22px; font-weight: 700; }
.local-small-label { margin: 22px 0 12px; color: var(--ox); }
.local-hour-strip { gap: var(--b); padding: var(--b); background: var(--bar); }
.local-hour { flex: 0 0 96px; padding: 11px 10px; background: var(--frost); display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--muted); }
.local-hour strong { color: var(--ink); font-size: 22px; }
.local-big-number { margin: 14px 0 8px; color: var(--ox); font-size: 78px; font-weight: 700; line-height: .95; letter-spacing: -.04em; }
.local-radar { margin: 18px 0 0; overflow: hidden; border: var(--b) solid var(--bar); border-radius: 0; background: var(--bar); }
.local-radar img { display: block; width: 100%; height: auto; }
.local-radar figcaption { padding: 7px 10px; background: var(--seed); color: var(--muted); font-size: 14px; }
.local-alert, .local-advisory { display: flex; gap: 18px; padding: 22px 26px; margin-top: 20px; border: var(--b) solid var(--bar); border-radius: 0; background: var(--ledge-lit); color: var(--ink); }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 0; background: var(--ox); color: #fff; font-weight: 700; }
.local-alert h3, .local-advisory h3 { margin: 6px 0 8px; font-size: 21px; line-height: 1.3; }
.local-alert p, .local-advisory p { margin-bottom: 0; }
.local-advisory { align-items: center; border-left-width: 16px; background: var(--pool-wash); }
.local-advisory-mark { flex: none; color: var(--pool); font-size: 40px; line-height: 1; }
.local-advisory h3 { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.2; }
.local-advisory-alert { border-color: var(--bar); border-left-color: var(--ox); background: var(--ledge-lit); }
.local-advisory-alert .local-advisory-mark { color: var(--ox); }
.local-row { padding: 12px 0; border-bottom: 2px solid var(--bar); }
.local-row:first-of-type { padding-top: 0; }
.local-row:last-of-type { border-bottom: 0; }
.local-row-title { display: block; color: var(--ink); font-size: 17px; font-weight: 700; line-height: 1.35; text-decoration-color: var(--pool); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.local-row-title:hover { color: var(--pool); }
.local-row-detail { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.local-news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 34px; }
.local-market-name { display: block; font-size: 18px; }
.local-lottery { padding: 12px 0; border-bottom: 2px solid var(--bar); display: flex; flex-direction: column; gap: 5px; }
.local-lottery strong { font-size: 21px; letter-spacing: .03em; }

/* ---- quote and question pages ---- */
.page-shell { width: min(100% - 32px, 1244px); margin: 28px auto 0; padding: 0 0 80px; }
.intro { padding: clamp(26px, 4vw, 48px) clamp(28px, 9vw, 140px) clamp(26px, 4vw, 48px) clamp(22px, 3.4vw, 44px); border: 6px solid var(--bar); background: var(--glass); }
.eyebrow { margin: 0 0 14px; padding-left: 14px; border-left: 10px solid var(--ledge); color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.2; }
.intro h1 { margin: 0; font-size: clamp(40px, 5.4vw, 74px); line-height: 1.03; letter-spacing: -.02em; }
.intro h1::after { content: ""; display: block; width: min(100%, 360px); height: 14px; margin-top: 24px; background: linear-gradient(90deg, var(--pool) 0 58%, var(--bar) 58% 60%, var(--ledge) 60% 82%, var(--bar) 82% 84%, var(--ox) 84% 100%); }
.intro-copy { margin: 20px 0 0; color: var(--muted); font-size: clamp(17px, 1.8vw, 20px); max-width: 680px; }

.options { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--b); padding: var(--b); background: var(--bar); }
.option { min-width: 0; min-height: 247px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; border: 0; border-radius: 0; background: var(--glass); transition: background-color var(--lit); }
.option:hover { background: var(--frost); }
.option-number { color: var(--ox); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.option h2 { margin: 16px 0 8px; font-size: clamp(24px, 2.7vw, 30px); line-height: 1.12; }
.option p { margin: 0; color: var(--muted); font-size: 16px; max-width: 30ch; }
.option .option-action { margin-top: auto; padding: 12px 15px; min-height: 48px; width: 100%; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; border-radius: 0; color: #fff; background: var(--pool); font-weight: 700; font-size: 16px; line-height: 1.25; text-decoration: none; text-align: left; cursor: pointer; transition: background-color var(--lit); }
.option-action:hover { background: var(--pool-lit); color: #fff; }
.option-action span { font-size: 19px; line-height: 1; }
.option .option-note { margin-top: 8px; font-size: 14px; color: var(--muted); }

.question-section { scroll-margin-top: 25px; margin-top: 28px; padding: clamp(24px, 4vw, 46px); border: 6px solid var(--bar); border-radius: 0; background: var(--glass); }
.question-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
.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: 8px; font-weight: 700; font-size: 16px; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-width: 0; border: 3px solid var(--bar); border-radius: 0; padding: 11px 14px; color: var(--ink); background: #fff; font-weight: 400; transition: background-color var(--lit); }
.form-grid input, .form-grid select { min-height: 50px; }
.form-grid textarea { min-height: 140px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { background: var(--pool-wash); border-color: var(--pool); outline-color: var(--ledge); }
.form-grid .message-field { grid-column: 1 / -1; }
.form-grid .checkbox-row, .quote-form > fieldset > .checkbox-row { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 400; }
.form-grid .checkbox-row { grid-column: 1 / -1; }
.form-grid .checkbox-row input, .quote-form > fieldset > .checkbox-row input { width: 24px; min-width: 24px; height: 24px; min-height: 24px; margin: 1px 0 0; accent-color: var(--pool); }
.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 { min-height: 54px; display: inline-flex; align-items: center; gap: 12px; border: 0; border-radius: 0; padding: 13px 24px; color: #fff; background: var(--pool); font-weight: 700; font-size: 17px; cursor: pointer; box-shadow: 0 0 0 4px var(--bar); margin: 4px; transition: background-color var(--lit); }
.form-bottom button:hover, .quote-submit button:hover, .quote-results button:hover { background: var(--pool-lit); }
.quote-submit button:disabled, .quote-results button:disabled, .form-bottom button:disabled { cursor: wait; background: var(--frost); color: #4a524d; box-shadow: 0 0 0 4px #aeb8b2; }
.submit-note { max-width: 640px; margin: 20px 0 0; color: var(--muted); font-size: 15px; }
.form-status { min-height: 24px; margin: 13px 0 0; color: var(--ox); font-weight: 700; font-size: 16px; }

.product-switch { display: flex; flex-wrap: wrap; gap: var(--b); width: fit-content; max-width: 100%; margin: 28px 0 20px; padding: var(--b); background: var(--bar); }
.product-switch a { display: inline-flex; align-items: center; min-height: 48px; border: 0; border-radius: 0; padding: 8px 20px; background: var(--glass); color: var(--ink); font-weight: 700; text-decoration: none; transition: background-color var(--lit), color var(--lit); }
.product-switch a:hover { background: var(--ledge-lit); color: var(--ink); }
.product-switch a[aria-current="page"] { background: var(--pool); color: #fff; }
.quote-form fieldset { min-width: 0; margin: 20px 0; padding: 28px; border: 6px solid var(--bar); border-radius: 0; background: var(--glass); }
.quote-form legend { padding: 6px 16px; background: var(--bar); color: #fff; font-size: 20px; font-weight: 700; }
.quote-form .form-grid { margin-top: 4px; }
.quote-submit { margin: 26px 0 55px; max-width: 720px; }
#quote-status { color: var(--ox); font-weight: 700; }
.quote-results { margin: 30px 0 70px; padding: 28px; border: 6px solid var(--bar); border-radius: 0; background: var(--glass); }
.quote-results h2 { margin: 0 0 16px; }
.quote-results article { border-top: var(--b) solid var(--bar); padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; }
.quote-results article p { margin: 4px 0 13px; }

.site-footer { margin-top: 0; border-top: 10px solid var(--bar); background: var(--seed); padding: 0; }
.site-footer { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 24px; max-width: none; padding: 26px max(16px, calc((100% - 1244px) / 2 + 32px)) 36px; color: var(--muted); font-size: 15px; }
.site-footer p { margin: 0; }
.site-footer > p:first-child { color: var(--ink); font-weight: 700; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.site-footer .footer-note { flex-basis: 100%; }

@media (max-width: 850px) {
  .minimal-shell { grid-template-columns: 1fr; grid-template-rows: auto; }
  .minimal-shell h1 { grid-column: 1; grid-row: auto; }
  .choice-grid { grid-column: 1; grid-row: auto; }
  .agency-line { grid-column: 1; grid-row: auto; }
  .options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .local-intro { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 590px) {
  body { font-size: 17px; }
  .wall-frieze { height: 44px; }
  .header-inner { padding: 12px 16px; flex-wrap: wrap; gap: 6px 16px; }
  .brand { font-size: 15px; gap: 10px; }
  .brand strong { font-size: 17px; }
  .brand-mark { width: 40px; height: 40px; font-size: 20px; }
  .header-link { margin-left: auto; font-size: 15px; white-space: normal; text-align: right; }
  .minimal-shell { margin-top: 16px; }
  .minimal-shell h1 { padding: 26px 20px; gap: 26px; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-grid a { min-height: 84px; padding: 22px 20px 22px 20px; align-items: center; }
  .choice-grid a::before { display: none; }
  .agency-line { padding: 12px 20px; }
  .page-shell { margin-top: 16px; padding-bottom: 56px; }
  .options { grid-template-columns: 1fr; }
  .option { min-height: 0; padding: 22px; }
  .option .option-action { margin-top: 20px; }
  .question-section { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 19px; }
  .quote-form fieldset { padding: 22px 16px; }
  .local-wrap { padding: 48px 16px 64px; }
  .local-section-heading { margin-top: 48px; align-items: flex-start; flex-direction: column; gap: 6px; }
  .local-grid, .local-weather-lead, .local-news-list { grid-template-columns: 1fr; }
  .local-card { padding: 22px 18px; }
  .local-weather-lead { gap: 14px; }
  .local-alert, .local-advisory { padding: 20px 16px; gap: 12px; }
  .local-advisory { border-left-width: 12px; }
  .local-day { flex-basis: 128px; }
  .site-footer { padding: 22px 16px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .choice-grid a, .choice-grid a::before, .local-card, .option, .option-action, .product-switch a, .form-grid input, .form-grid select, .form-grid textarea, .form-bottom button, .quote-submit button { transition: none; }
}
