@font-face { font-family: "Bungee"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/bungee-400.woff2) format("woff2"); }
@font-face { font-family: "Commissioner"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/commissioner-400.woff2) format("woff2"); }
@font-face { font-family: "Commissioner"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/commissioner-700.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --ink: #2b1f16;
  --muted: #5a4a3c;
  --line: #4a3524;
  --hair: #cdbfa9;
  --paper: #f4f7f5;
  --sheet: #ffffff;
  --azure: #1f3550;
  --mist: #dcebea;
  --slab: #3a4046;
  --slab-soft: #5d666e;
  --stone: #c9a877;
  --sun: #f4c238;
  --sun-soft: #fbe9a6;
  --pool: #33b1bf;
  --pool-deep: #0b5f6d;
  --paint: #b8431a;
  --paint-deep: #8f3010;
  --paint-soft: #fbdccd;
  --sage: #5e8a4e;
  --display: "Bungee", "Arial Black", Impact, sans-serif;
  --text: "Commissioner", "Trebuchet MS", Verdana, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 17px/1.6 var(--text); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--pool-deep); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; }

/* header: a flat charcoal band */
.site-header { border-bottom: 6px solid var(--sun); background: var(--slab); color: #fff; }
.header-inner { max-width: 1180px; margin: auto; padding: 16px 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-size: 17px; line-height: 1.25; }
.brand strong { display: block; font-size: 19px; font-weight: 700; }
.brand-mark { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border: 2px solid #fff; border-radius: 4px; background: var(--sun); color: var(--ink); font: 400 24px/1 var(--display); }
.header-link { border: 0; padding: 10px 0; background: transparent; color: #fff; white-space: nowrap; font-weight: 700; text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 6px; cursor: pointer; }
.header-link span { color: var(--sun); }
.brand:hover, .header-link:hover { color: var(--sun); }

/* home: the night-walk scene, then the plates */
.stage { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--paper); }
.stage > .site-header { grid-row: 1; }
.scene { grid-row: 2; grid-column: 1; background: var(--azure); }
.scene svg { display: block; width: 100%; height: clamp(300px, 36.7vw, 540px); }
.stage > main { display: contents; }
.stage > main > h1 { grid-row: 2; grid-column: 1; align-self: start; justify-self: center; z-index: 2; width: min(100% - 40px, 1180px); margin: 0; padding: clamp(18px, 2.6vw, 34px) 0 0; font: 400 clamp(32px, 5.2vw, 70px)/1.08 var(--display); color: #fff; background: var(--azure); box-shadow: -100vw 0 0 var(--azure), 100vw 0 0 var(--azure); clip-path: inset(0 -100vw); text-wrap: balance; }
.stage > main > .choice-grid { grid-row: 3; grid-column: 1; justify-self: center; width: min(100% - 40px, 1180px); margin: 44px 0 0; }
.stage > main > .agency-line { grid-row: 4; grid-column: 1; justify-self: center; width: min(100% - 40px, 1180px); margin: 26px 0 0; padding: 0 0 48px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 20px; }
.choice-grid a { position: relative; min-height: 124px; padding: 22px 20px 22px 98px; display: flex; align-items: center; border: 2px solid var(--line); border-top: 12px solid var(--slab); border-radius: 4px 4px 10px 10px; background: var(--sheet); color: var(--ink); font-size: clamp(19px, 1.9vw, 22px); font-weight: 700; line-height: 1.25; text-decoration: none; transition: background-color .2s, transform .2s; }
.choice-grid a::before { content: ""; position: absolute; left: 22px; top: 50%; width: 56px; height: 56px; margin-top: -28px; border: 3px solid var(--line); border-radius: 50%; background: radial-gradient(circle, #effff8 0 22%, #8cf2d0 23% 52%, #1f3550 53%); transition: transform .25s; }
.choice-grid a:nth-child(2)::before { background: radial-gradient(circle, #f6f2ff 0 22%, #c7b6ff 23% 52%, #1f3550 53%); }
.choice-grid a:nth-child(3)::before { background: radial-gradient(circle, #fff9e0 0 22%, #f4c238 23% 52%, #1f3550 53%); }
.choice-grid a:nth-child(4)::before { background: radial-gradient(circle, #e8fbfd 0 22%, #33b1bf 23% 52%, #1f3550 53%); }
.choice-grid a:nth-child(5)::before { background: radial-gradient(circle, #ffeee6 0 22%, #e0764a 23% 52%, #1f3550 53%); }
.choice-grid a:nth-child(6)::before { background: radial-gradient(circle, #ffffff 0 22%, #d6d0bd 23% 52%, #1f3550 53%); }
.choice-grid a:hover { background: var(--sun-soft); transform: translateY(-3px); }
.choice-grid a:hover::before { transform: scale(1.12); }
.agency-line { color: var(--muted); font-size: 16px; font-weight: 700; }
.agency-line a { color: var(--pool-deep); text-underline-offset: 4px; }

/* home: the local board */
.local-board { border-top: 4px solid var(--line); background: var(--mist); color: var(--ink); }
.local-wrap { max-width: 1180px; margin: auto; padding: 64px 32px 80px; }
.local-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 0 0 34px; border-bottom: 2px solid var(--line); }
.local-kicker, .local-card-kicker, .local-section-heading > span, .local-small-label { color: var(--paint-deep); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.local-kicker { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.local-kicker::before { content: ""; flex: none; width: 34px; height: 2px; background: var(--line); }
.local-kicker span { padding: 0 4px; }
.local-intro h2 { margin: 0; font: 400 clamp(32px, 5vw, 60px)/1.08 var(--display); }
.local-intro > div > p:last-child { max-width: 560px; 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: 56px 0 20px; }
.local-section-heading h3 { margin: 0; font: 400 clamp(24px, 3vw, 36px)/1.1 var(--display); }
.local-section-heading > span { color: var(--pool-deep); }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.local-card { min-width: 0; padding: 26px 28px 28px; border: 2px solid var(--line); border-top: 10px solid var(--slab); border-radius: 4px 4px 12px 12px; background: var(--sheet); }
.local-card h4 { margin: 8px 0 18px; font: 400 clamp(21px, 2.4vw, 28px)/1.15 var(--display); }
.local-card-kicker { margin: 0; display: flex; align-items: center; gap: 9px; }
.local-card-kicker::before { content: ""; flex: none; width: 9px; height: 9px; border: 2px solid var(--line); border-radius: 50%; background: #fff; box-shadow: 14px 0 0 -3px var(--line); margin-right: 14px; }
.local-card .local-copy { margin: 10px 0; max-width: 48ch; color: #3d2f23; }
.local-card .local-subtle, .local-subtle { display: block; color: var(--muted); font-size: 15px; }
.local-source { margin: 24px 0 0; padding-top: 14px; border-top: 2px dotted var(--hair); color: var(--muted); font-size: 14px; font-weight: 700; }
.local-link { display: inline-block; margin-top: 10px; padding: 8px 0; color: var(--pool-deep); font-size: 16px; font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.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: 2px dotted var(--hair); }
.local-weather-lead > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px 22px; }
.local-big-temp { font: 400 clamp(64px, 10vw, 112px)/.9 var(--display); color: var(--paint-deep); }
.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: 2px dotted var(--hair); }
.local-day { position: relative; flex: 0 0 150px; padding: 0 14px; display: flex; flex-direction: column; gap: 5px; font-size: 14px; color: var(--muted); line-height: 1.35; }
.local-day:first-child { padding-left: 0; }
.local-day + .local-day::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-left: 2px dotted var(--hair); }
.local-day strong { color: var(--ink); font-size: 15px; }
.local-day-temp { color: var(--paint-deep); font-size: 21px; font-weight: 700; }
.local-small-label { margin: 22px 0 12px; }
.local-hour-strip { gap: 10px; padding-bottom: 6px; }
.local-hour { flex: 0 0 96px; padding: 11px 10px; border-radius: 6px; background: var(--sun-soft); display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--muted); }
.local-hour strong { color: var(--ink); font-size: 21px; }
.local-big-number { margin: 14px 0 8px; color: var(--paint-deep); font: 400 64px/1 var(--display); }
.local-radar { margin: 18px 0 0; overflow: hidden; border-radius: 6px; background: #fff; outline: 2px solid var(--line); outline-offset: -0px; }
.local-radar img { display: block; width: 100%; height: auto; }
.local-radar figcaption { padding: 7px 10px; color: var(--muted); font-size: 13px; border-top: 2px solid var(--line); }
.local-alert, .local-advisory { display: flex; gap: 18px; padding: 22px 26px; margin-top: 20px; border: 2px solid var(--line); border-radius: 6px; background: var(--paint-soft); }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid var(--line); border-radius: 4px; background: var(--paint-deep); color: #fff; font-weight: 700; }
.local-alert h3, .local-advisory h3 { margin: 6px 0 8px; font: 700 20px/1.35 var(--text); }
.local-alert p, .local-advisory p { margin-bottom: 0; }
.local-advisory { align-items: center; background: var(--sun-soft); }
.local-advisory-mark { flex: none; color: var(--paint-deep); font-size: 40px; line-height: 1; }
.local-advisory h3 { font: 400 clamp(19px, 2.3vw, 26px)/1.2 var(--display); }
.local-advisory-alert { background: var(--paint-soft); }
.local-row { padding: 13px 0; border-bottom: 2px dotted var(--hair); }
.local-row:first-of-type { padding-top: 0; }
.local-row:last-of-type { border-bottom: 0; }
.local-row-title { display: block; padding: 2px 0; 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-deep); }
.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 dotted var(--hair); display: flex; flex-direction: column; gap: 5px; }
.local-lottery strong { font-size: 21px; letter-spacing: .04em; }

.wall-strip { background: var(--mist); line-height: 0; }
.wall-strip svg { display: block; width: 100%; height: clamp(54px, 7vw, 92px); }

/* inner pages */
.page-shell { max-width: 1180px; margin: auto; padding: 56px 32px 84px; }
.eyebrow { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; color: var(--paint-deep); font-size: 18px; font-weight: 700; }
.eyebrow::before { content: ""; flex: none; width: 34px; height: 2px; background: var(--line); }
.intro h1 { margin: 0; font: 400 clamp(32px, 5vw, 62px)/1.08 var(--display); text-wrap: balance; }
.intro-copy { margin: 20px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); max-width: 680px; }

.options { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.option { min-width: 0; min-height: 247px; padding: 24px 24px 26px; display: flex; flex-direction: column; align-items: flex-start; border: 2px solid var(--line); border-top: 10px solid var(--slab); border-radius: 4px 4px 12px 12px; background: var(--sheet); transition: background-color .2s, transform .2s; }
.option:hover { background: var(--sun-soft); transform: translateY(-3px); }
.option-number { color: var(--paint-deep); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.option h2 { margin: 16px 0 8px; font-size: clamp(22px, 2.5vw, 28px); line-height: 1.15; }
.option p { margin: 0; color: var(--muted); font-size: 16px; max-width: 32ch; }
.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: 2px solid var(--line); border-radius: 6px; color: #fff; background: var(--paint); font-weight: 700; font-size: 17px; line-height: 1.25; text-decoration: none; text-align: left; cursor: pointer; }
.option-action:hover { background: var(--paint-deep); }
.option-action span { font-size: 20px; line-height: 1; }
.option .option-note { margin-top: 8px; font-size: 14px; color: var(--muted); }

.question-section { scroll-margin-top: 25px; margin-top: 64px; padding: 40px; border: 2px solid var(--line); border-top: 12px solid var(--slab); border-radius: 4px 4px 14px 14px; background: var(--sheet); }
.question-heading h2 { margin: 0; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.12; }
.question-heading > p:last-child { margin: 12px 0 0; color: var(--muted); }
.question-form { margin-top: 34px; }
.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: 17px; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-width: 0; border: 2px solid var(--line); border-radius: 6px; padding: 12px 14px; color: var(--ink); background: #fff; font-weight: 400; }
.form-grid input, .form-grid select { min-height: 50px; }
.form-grid textarea { min-height: 140px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: 3px solid var(--pool-deep); outline-offset: 2px; background: #f3fbfc; }
.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(--paint); }
.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: 52px; display: inline-flex; align-items: center; gap: 12px; border: 2px solid var(--line); border-radius: 6px; padding: 12px 22px; color: #fff; background: var(--paint); font-weight: 700; font-size: 18px; cursor: pointer; }
.form-bottom button:hover { background: var(--paint-deep); }
.submit-note { max-width: 620px; margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.form-status { min-height: 24px; margin: 12px 0 0; color: var(--paint-deep); font-weight: 700; font-size: 16px; }

.product-switch { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 20px; }
.product-switch a { min-height: 46px; display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 6px; padding: 8px 16px; background: #fff; font-weight: 700; text-decoration: none; }
.product-switch a:hover { background: var(--sun-soft); }
.product-switch a[aria-current="page"] { border-color: var(--line); color: #fff; background: var(--slab); }
.quote-form fieldset { min-width: 0; margin: 20px 0; padding: 28px; border: 2px solid var(--line); border-top: 10px solid var(--slab); border-radius: 4px 4px 12px 12px; background: var(--sheet); }
.quote-form legend { padding: 0 10px; font: 400 21px/1.2 var(--display); }
.quote-form .form-grid { margin-top: 4px; }
.quote-submit { margin: 22px 0 55px; max-width: 720px; }
.quote-submit button, .quote-results button { min-height: 52px; border: 2px solid var(--line); border-radius: 6px; padding: 12px 22px; color: #fff; background: var(--paint); font-weight: 700; font-size: 18px; cursor: pointer; }
.quote-submit button:hover, .quote-results button:hover { background: var(--paint-deep); }
.quote-submit button:disabled, .quote-results button:disabled { cursor: wait; opacity: .65; }
#quote-status { color: var(--paint-deep); font-weight: 700; }
.quote-results { margin: 30px 0 70px; padding: 28px; border: 2px solid var(--line); border-top: 10px solid var(--slab); border-radius: 4px 4px 12px 12px; background: var(--sheet); }
.quote-results h2 { margin: 0 0 16px; font-size: clamp(24px, 3vw, 32px); }
.quote-results article { border-top: 2px dotted var(--hair); padding: 20px 0; }
.quote-results article h3 { margin: 0 0 6px; font: 700 20px/1.3 var(--text); }
.quote-results article p { margin: 4px 0 13px; }

.site-footer { border-top: 4px solid var(--line); max-width: 1180px; margin: auto; padding: 26px 32px 36px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 22px; 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 { color: var(--pool-deep); text-underline-offset: 4px; }
.site-footer .footer-note { flex-basis: 100%; }

@media (max-width: 960px) {
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .local-intro { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 720px) {
  .scene { padding-top: 84px; }
  .scene svg { height: 300px; }
  .stage > main > h1 { padding-top: 22px; }
}

@media (max-width: 590px) {
  .header-inner { padding: 14px 20px; flex-wrap: wrap; gap: 6px 16px; }
  .brand { font-size: 15px; gap: 10px; }
  .brand strong { font-size: 17px; }
  .brand-mark { width: 42px; height: 42px; font-size: 21px; }
  .header-link { margin-left: auto; font-size: 15px; white-space: normal; text-align: right; }
  .page-shell { padding: 40px 20px 60px; }
  .options { margin-top: 34px; grid-template-columns: 1fr; gap: 16px; }
  .option { min-height: 0; padding: 22px; }
  .option h2 { margin-top: 14px; }
  .option .option-action { margin-top: 20px; }
  .question-section { margin-top: 48px; padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .quote-form fieldset { padding: 22px 16px; }
  .site-footer { padding: 24px 20px 32px; }
  .stage > main > .choice-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; }
  .choice-grid a { min-height: 96px; padding: 18px 16px 18px 92px; }
    .local-wrap { padding: 48px 20px 60px; }
  .local-section-heading { margin-top: 44px; align-items: flex-start; flex-direction: column; gap: 7px; }
  .local-grid, .local-weather-lead, .local-news-list { grid-template-columns: 1fr; }
  .local-card { padding: 22px 18px 24px; }
  .local-weather-lead { gap: 14px; }
  .local-alert, .local-advisory { padding: 20px 16px; gap: 12px; }
  .local-day { flex-basis: 132px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .option, .choice-grid a, .choice-grid a::before { transition: none; }
  .choice-grid a:hover, .option:hover { transform: none; }
}
