@font-face { font-family: "Instrument Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/instrument-sans-400.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/instrument-sans-700.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --ink: #17130f;
  --muted: #3f4440;
  --paper: #e6e8e5;
  --card: #f7f8f5;
  --shade: #d1d5d0;
  --verm: #b9301a;
  --verm-dark: #8f2210;
  --indigo: #232c6b;
  --gold: #e8a91e;
  --line: #17130f;
  --accent: #b9301a;
  --accent-dark: #8f2210;
  --sans: "Instrument 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(--paper); font: 400 17px/1.6 var(--sans); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 4px solid var(--indigo); outline-offset: 3px; box-shadow: 0 0 0 7px var(--gold); }

/* ---------- home stage: planes on a quiet grid ---------- */
.stage { position: relative; overflow: hidden; background: var(--paper); }
.plates { position: absolute; z-index: 0; top: 20px; right: max(2vw, calc((100vw - 1180px) / 2 + 8px)); width: min(34vw, 400px); pointer-events: none; }
.plates svg { display: block; width: 100%; height: auto; }
.rows { position: relative; z-index: 1; height: 28px; margin-top: 36px; }
.rows svg { display: block; width: 100%; height: 100%; }

.site-header { position: relative; z-index: 2; background: transparent; }
.header-inner { max-width: 1180px; margin: auto; padding: 26px 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.2; font-weight: 400; }
.brand strong { display: block; font-size: 19px; font-weight: 700; }
.brand-mark { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--verm); color: #fff; font-weight: 700; font-size: 23px; }
.header-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; background: var(--ink); color: #fff; white-space: nowrap; font-weight: 700; text-decoration: none; }
.header-link:hover { background: var(--indigo); }

.minimal-shell { position: relative; z-index: 1; width: min(100% - 40px, 1180px); margin: auto; padding: clamp(26px, 5vh, 64px) 0 0; display: flex; flex-direction: column; }
.minimal-shell h1 { max-width: 7.5em; margin: 0 0 clamp(36px, 7vw, 92px); font-size: clamp(46px, 8.4vw, 118px); line-height: .94; letter-spacing: -.045em; font-weight: 700; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choice-grid a { position: relative; overflow: hidden; min-height: 168px; padding: 24px 88px 24px 24px; display: flex; align-items: flex-end; border: 0; background: var(--card); color: var(--ink); font-size: clamp(20px, 2.1vw, 26px); font-weight: 700; line-height: 1.16; letter-spacing: -.02em; text-decoration: none; }
.choice-grid a::before { content: ""; position: absolute; top: 0; right: 0; width: 76px; height: 76px; background: var(--verm); border-radius: 0 0 0 100%; transition: transform .35s cubic-bezier(.2, .7, .2, 1); transform-origin: top right; }
.choice-grid a:hover::before, .choice-grid a:focus-visible::before { transform: scale(1.6); }
.choice-grid a:nth-child(1) { background: var(--gold); }
.choice-grid a:nth-child(1)::before { background: var(--ink); border-radius: 0 0 0 100%; }
.choice-grid a:nth-child(2) { background: var(--indigo); color: #fff; }
.choice-grid a:nth-child(2)::before { background: var(--gold); border-radius: 100% 0 0 0; top: auto; bottom: 0; transform-origin: bottom right; }
.choice-grid a:nth-child(3) { background: var(--verm); color: #fff; }
.choice-grid a:nth-child(3)::before { background: var(--ink); border-radius: 100% 100% 0 0; top: 0; width: 84px; height: 42px; }
.choice-grid a:nth-child(4) { background: var(--ink); color: #fff; }
.choice-grid a:nth-child(4)::before { background: var(--gold); border-radius: 50%; width: 52px; height: 52px; top: 22px; right: 22px; transform-origin: center; }
.choice-grid a:nth-child(5) { background: var(--card); }
.choice-grid a:nth-child(5)::before { background: var(--indigo); border-radius: 0; width: 60px; height: 100%; }
.choice-grid a:nth-child(5):hover::before, .choice-grid a:nth-child(5):focus-visible::before { transform: scaleX(1.5); }
.choice-grid a:nth-child(6) { background: var(--shade); align-items: flex-end !important; justify-content: flex-start !important; text-align: left !important; }
.choice-grid a:nth-child(6)::before { background: var(--verm); border-radius: 0 100% 0 0; top: auto; bottom: 0; left: 0; right: auto; transform-origin: bottom left; }
.choice-grid a:nth-child(6) { padding-left: 96px; padding-right: 24px; }
.choice-grid a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.agency-line { margin: 26px 0 0; padding: 0; color: var(--muted); font-size: 16px; font-weight: 700; }
.agency-line a { text-underline-offset: 4px; }

/* ---------- local board ---------- */
.local-board { border-top: 0; background: var(--paper); color: var(--ink); }
.local-wrap { max-width: 1180px; margin: auto; padding: 72px 32px 96px; }
.local-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 0 0 34px; border-bottom: 10px solid var(--ink); }
.local-kicker, .local-card-kicker, .local-section-heading > span, .local-small-label { color: var(--verm-dark); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.local-kicker { margin: 0 0 16px; }
.local-kicker span { padding: 0 7px; color: var(--indigo); }
.local-intro h2 { margin: 0; font: 700 clamp(42px, 6.4vw, 88px)/.95 var(--sans); letter-spacing: -.045em; }
.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: end; gap: 20px; margin: 64px 0 20px; }
.local-section-heading h3 { margin: 0; font: 700 clamp(30px, 3.6vw, 46px)/1 var(--sans); letter-spacing: -.035em; }
.local-section-heading > span { color: var(--muted); }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.local-card { min-width: 0; padding: 26px 28px 28px; border: 0; border-top: 12px solid var(--gold); border-radius: 0; background: var(--card); box-shadow: none; }
.local-grid > .local-card:nth-child(4n+2) { border-top-color: var(--indigo); }
.local-grid > .local-card:nth-child(4n+3) { border-top-color: var(--verm); }
.local-grid > .local-card:nth-child(4n) { border-top-color: var(--ink); }
.local-card h4 { margin: 8px 0 20px; font: 700 clamp(26px, 3vw, 34px)/1.08 var(--sans); letter-spacing: -.03em; }
.local-card-kicker { margin: 0; }
.local-card .local-copy { margin: 10px 0; color: var(--ink); font-size: 17px; }
.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: 3px solid var(--ink); color: var(--muted); font-size: 14px; font-weight: 700; }
.local-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; color: var(--indigo); 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: 12px 0 26px; border-bottom: 3px solid var(--ink); }
.local-weather-lead > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px 22px; }
.local-big-temp { color: var(--verm-dark); font: 700 clamp(84px, 12vw, 142px)/.82 var(--sans); letter-spacing: -.07em; }
.local-weather-condition { max-width: 190px; color: var(--ink); font-size: 19px; font-weight: 700; }
.local-weather-note { padding-bottom: 7px; display: flex; flex-direction: column; gap: 5px; color: var(--ink); font-size: 16px; }
.local-weather-note strong { font-size: 18px; }
.local-day-strip, .local-hour-strip { display: flex; overflow-x: auto; scrollbar-width: thin; }
.local-day-strip { gap: 0; padding: 22px 0; border-bottom: 3px solid var(--ink); }
.local-day { flex: 0 0 150px; padding: 0 14px; border-left: 3px solid var(--shade); display: flex; flex-direction: column; gap: 5px; font-size: 15px; 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(--verm-dark); font-size: 24px; font-weight: 700; }
.local-small-label { margin: 22px 0 12px; }
.local-hour-strip { gap: 8px; }
.local-hour { flex: 0 0 96px; padding: 12px 10px; border-radius: 0; background: var(--shade); display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--ink); }
.local-hour strong { color: var(--ink); font-size: 22px; }
.local-big-number { margin: 14px 0 8px; color: var(--indigo); font: 700 78px/.95 var(--sans); letter-spacing: -.06em; }
.local-radar { margin: 19px 0 0; overflow: hidden; border: 0; border-radius: 0; background: var(--indigo); padding: 8px 8px 0; }
.local-radar img { display: block; width: 100%; height: auto; }
.local-radar figcaption { padding: 8px 4px; color: #fff; font-size: 14px; }
.local-alert, .local-advisory { display: flex; gap: 19px; padding: 24px 27px; margin-top: 20px; border: 0; border-radius: 0; background: var(--verm-dark); color: #fff; }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 700; }
.local-alert h3, .local-advisory h3 { margin: 6px 0 9px; font-size: 21px; line-height: 1.3; }
.local-alert p, .local-advisory p { margin-bottom: 0; }
.local-advisory { align-items: center; background: var(--gold); color: var(--ink); }
.local-advisory-mark { flex: none; color: var(--ink); font-size: 42px; line-height: 1; }
.local-advisory h3 { font: 700 clamp(22px, 2.6vw, 30px)/1.15 var(--sans); letter-spacing: -.02em; }
.local-advisory-alert { background: var(--verm-dark); color: #fff; }
.local-advisory-alert .local-advisory-mark { color: #fff; }
.local-row { padding: 13px 0; border-bottom: 2px solid var(--shade); }
.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.3; text-decoration-color: var(--verm); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.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(--shade); display: flex; flex-direction: column; gap: 5px; }
.local-lottery strong { font-size: 21px; letter-spacing: .03em; }

/* ---------- inner pages: quote and question ---------- */
.page-shell { max-width: 1180px; margin: auto; padding: 56px 32px 92px; }
.eyebrow { margin: 0 0 14px; color: var(--verm-dark); font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.intro h1 { margin: 0; max-width: 11em; font-size: clamp(44px, 7.4vw, 100px); line-height: .95; letter-spacing: -.045em; font-weight: 700; }
.intro-copy { margin: 24px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); max-width: 640px; }

.options { margin-top: 52px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.option { min-width: 0; min-height: 247px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; border: 0; border-top: 12px solid var(--gold); background: var(--card); }
.option:hover { border-top-color: var(--verm); }
.option-number { color: var(--verm-dark); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.option h2 { margin: 18px 0 8px; font-size: clamp(25px, 2.7vw, 32px); line-height: 1.1; letter-spacing: -.03em; }
.option p { margin: 0; color: var(--muted); font-size: 16px; max-width: 30ch; }
.option .option-action { margin-top: auto; padding: 12px 16px; min-height: 48px; width: 100%; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; border-radius: 0; color: #fff; background: var(--indigo); font-weight: 700; font-size: 16px; line-height: 1.25; text-decoration: none; text-align: left; cursor: pointer; }
.option-action:hover { background: var(--ink); }
.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: 56px; padding: 44px; border: 0; border-left: 28px solid var(--indigo); border-radius: 0; background: var(--card); }
.question-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -.035em; }
.question-heading > p:last-child { margin: 13px 0 0; color: var(--muted); }
.question-form { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 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: 2px solid var(--ink); border-radius: 0; 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 { background: #fff6d6; }
.form-grid .message-field { grid-column: 1 / -1; }
.form-grid .checkbox-row, .quote-form > fieldset > .checkbox-row { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 400; }
.form-grid .checkbox-row { grid-column: 1 / -1; }
.form-grid .checkbox-row input, .quote-form > fieldset > .checkbox-row input { width: 24px; min-width: 24px; height: 24px; min-height: 24px; margin: 2px 0 0; accent-color: var(--indigo); }
.quote-form > fieldset > .checkbox-row { margin-top: 22px; }
.honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.form-bottom { margin-top: 28px; }
.form-bottom button { min-height: 54px; display: inline-flex; align-items: center; gap: 12px; border: 0; border-radius: 0; padding: 13px 22px; color: #fff; background: var(--verm-dark); font-weight: 700; font-size: 18px; cursor: pointer; }
.form-bottom button:hover { background: var(--ink); }
.submit-note { max-width: 610px; margin: 17px 0 0; color: var(--muted); font-size: 15px; }
.form-status { min-height: 22px; margin: 13px 0 0; color: var(--verm-dark); font-weight: 700; font-size: 16px; }

.product-switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 20px; }
.product-switch a { min-height: 48px; display: inline-flex; align-items: center; border: 0; border-radius: 0; padding: 0 18px; background: var(--shade); font-weight: 700; text-decoration: none; }
.product-switch a:hover { background: var(--gold); }
.product-switch a[aria-current="page"] { color: #fff; background: var(--indigo); }
.quote-form fieldset { min-width: 0; margin: 14px 0; padding: 30px; border: 0; border-top: 12px solid var(--gold); border-radius: 0; background: var(--card); }
.quote-form fieldset:nth-of-type(2n) { border-top-color: var(--verm); }
.quote-form fieldset:nth-of-type(3n) { border-top-color: var(--indigo); }
.quote-form legend { padding: 0 10px 0 0; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.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: 0; border-radius: 0; padding: 13px 24px; color: #fff; background: var(--verm-dark); font-weight: 700; font-size: 18px; cursor: pointer; }
.quote-submit button:hover, .quote-results button:hover { background: var(--ink); }
.quote-submit button:disabled, .quote-results button:disabled { cursor: wait; opacity: .6; }
#quote-status { color: var(--verm-dark); font-weight: 700; }
.quote-results { margin: 30px 0 70px; padding: 28px; border: 0; border-left: 28px solid var(--gold); border-radius: 0; background: var(--card); }
.quote-results h2 { margin: 0 0 16px; }
.quote-results article { border-top: 3px solid var(--ink); padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; }
.quote-results article p { margin: 4px 0 13px; }

.site-footer { border-top: 12px solid var(--ink); max-width: none; margin: 0; padding: 26px max(32px, calc((100vw - 1180px) / 2 + 32px)) 36px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 15px; background: var(--shade); }
.site-footer p { margin: 0; }
.site-footer > p:first-child { color: var(--ink); font-weight: 700; }
.site-footer a { text-underline-offset: 4px; }
.site-footer .footer-note { flex-basis: 100%; }

@media (max-width: 980px) {
  .plates { width: 31vw; top: 70px; }
  .minimal-shell h1 { max-width: 6.6em; }
}

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

@media (max-width: 590px) {
  .header-inner { padding: 18px 20px; flex-wrap: wrap; gap: 10px 16px; }
  .brand { font-size: 14px; gap: 10px; }
  .brand strong { font-size: 17px; }
  .brand-mark { width: 42px; height: 42px; font-size: 20px; }
  .header-link { margin-left: 0; font-size: 15px; white-space: normal; }
  .stage { display: flex; flex-direction: column; }
  .site-header { order: 0; }
  .plates { order: 1; position: relative; top: auto; right: auto; width: 54%; margin: 0 0 0 auto; padding: 0 20px 0 0; }
  .minimal-shell { order: 2; padding-top: 8px; width: calc(100% - 40px); }
  .rows { order: 3; width: 100%; }
  .minimal-shell h1 { max-width: 100%; margin-bottom: 30px; font-size: clamp(44px, 14vw, 64px); }
  .choice-grid { grid-template-columns: 1fr; gap: 10px; }
  .choice-grid a { min-height: 104px; padding: 20px 80px 20px 20px; }
  .choice-grid a:nth-child(6) { padding-left: 90px; padding-right: 20px; }
  .page-shell { padding: 40px 20px 65px; }
  .options { margin-top: 36px; grid-template-columns: 1fr; gap: 10px; }
  .option { min-height: 0; padding: 22px; }
  .option .option-action { margin-top: 20px; }
  .question-section { margin-top: 40px; padding: 26px 20px; border-left-width: 12px; }
  .form-grid { grid-template-columns: 1fr; gap: 19px; }
  .quote-form fieldset { padding: 22px 18px; }
  .quote-results { padding: 22px 18px; border-left-width: 12px; }
  .site-footer { padding: 24px 20px 34px; }
  .local-wrap { padding: 52px 20px 70px; }
  .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 20px; }
  .local-weather-lead { gap: 14px; }
  .local-alert, .local-advisory { padding: 22px 19px; gap: 12px; }
  .local-day { flex-basis: 128px; }
}

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