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

:root {
  color-scheme: light;
  --ink: #15201d;
  --muted: #3f4c48;
  --line: #98a5a1;
  --fog: #e4e9e8;
  --fog-light: #eef2f1;
  --mulch: #171c1a;
  --night: #1b2220;
  --berry: #a3112b;
  --berry-dark: #86081f;
  --leaf: #355f2f;
  --paper: #f5f8f7;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --accent: var(--berry);
  --accent-dark: var(--berry-dark);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: linear-gradient(var(--fog-light) 0, var(--fog) 520px) var(--fog); font: 17px/1.58 var(--sans); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--berry-dark); outline-offset: 3px; }

/* ---------- home: fog hero over hoop-tunnel plates ---------- */
.field { position: relative; }
.plate-wrap { position: absolute; z-index: 1; top: 128px; right: max(32px, calc((100% - 1180px) / 2 + 32px)); width: min(46%, 540px); pointer-events: none; }
.plates { display: block; width: 100%; height: auto; }
.rows { display: block; width: 100%; height: 84px; }
.row-band { line-height: 0; background: var(--night); }

.minimal-shell { position: relative; z-index: 2; width: min(100% - 64px, 1116px); margin: auto; padding: 54px 0 50px; display: flex; flex-direction: column; }
.minimal-shell h1 { max-width: 44%; min-height: 300px; margin: 0 0 30px; font: italic 500 clamp(46px, 7.2vw, 100px)/.98 var(--serif); letter-spacing: -.025em; color: var(--ink); }
.choice-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; padding-top: 6px; }
.choice-grid a { position: relative; min-height: 244px; margin-bottom: 14px; padding: 82px 14px 24px; display: flex; align-items: flex-end !important; justify-content: center !important; text-align: center !important; border: 1.5px solid #6d7b77; border-bottom: 0; border-radius: 999px 999px 0 0; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .5), inset 0 0 0 7px #b4bfbc; color: var(--ink); font: 700 18px/1.25 var(--sans); letter-spacing: -.005em; text-decoration: none; transition: border-color .2s, background-color .2s, transform .2s; }
.choice-grid a::before { content: ""; position: absolute; left: 50%; top: 30px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 1px rgba(21, 32, 29, .25); }
.choice-grid a::after { content: ""; position: absolute; left: -5px; right: -5px; bottom: -14px; height: 14px; background: var(--mulch); }
.choice-grid a:nth-child(2)::before { background: #fff; box-shadow: 0 0 0 2px #7b8985, inset 0 0 0 5px #d4b13a; }
.choice-grid a:nth-child(3)::before { background: var(--berry); }
.choice-grid a:nth-child(4)::before { background: #2a1519; }
.choice-grid a:nth-child(5)::before { background: #aab4b1; }
.choice-grid a:nth-child(6)::before { background: #7a5a3c; }
.choice-grid a:hover { border-color: var(--berry); background: #fff; transform: translateY(-4px); }
.choice-grid a:hover::after { background: var(--berry-dark); }
.agency-line { margin: 34px 0 0; padding: 0; color: var(--muted); font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.agency-line a { display: inline-block; padding: 12px 2px; margin: -12px 0; text-underline-offset: 4px; text-decoration-color: var(--berry); }

@media (min-width: 981px) {
  .home-shell { min-height: 0; }
}

/* ---------- local board: the night field ---------- */
.local-board { border-top: 0; background: var(--night); color: #e6edeb; }
.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 36px; border-bottom: 1px solid #44524e; }
.local-kicker, .local-card-kicker, .local-section-heading > span, .local-small-label { font: 700 12px/1.4 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: #b9c8c3; }
.local-kicker { margin: 0 0 18px; }
.local-kicker span { padding: 0 7px; color: #e58b99; }
.local-intro h2 { margin: 0; font: italic 500 clamp(42px, 6vw, 78px)/1 var(--serif); letter-spacing: -.025em; color: #f2f6f5; }
.local-intro > div > p:last-child { max-width: 540px; margin: 20px 0 0; color: #ccd8d4; font-size: 17px; }
.local-generated { flex: none; margin: 0 0 3px; color: #b9c8c3; font-size: 13px; font-weight: 700; }
.local-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 64px 0 20px; padding-bottom: 12px; border-bottom: 1px solid #44524e; }
.local-section-heading h3 { margin: 0; font: italic 500 clamp(30px, 3.5vw, 42px)/1.06 var(--serif); letter-spacing: -.015em; color: #f2f6f5; text-align: right; }
.local-section-heading > span { color: #b9c8c3; }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.local-card { min-width: 0; padding: 34px 32px 28px; border: 0; border-radius: 34px 34px 6px 6px; background: #f3f6f5; color: var(--ink); box-shadow: none; }
.local-card h4 { margin: 7px 0 20px; font: italic 500 clamp(27px, 3vw, 35px)/1.12 var(--serif); letter-spacing: -.01em; }
.local-card-kicker { margin: 0; color: var(--berry-dark); }
.local-card .local-copy { margin: 10px 0; color: #34413d; }
.local-card .local-subtle, .local-subtle { display: block; color: var(--muted); font-size: 14px; }
.local-source { margin: 27px 0 0; padding-top: 16px; border-top: 1px solid #c2cbc8; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.local-link { display: inline-block; margin-top: 11px; padding: 10px 0; color: var(--berry-dark); 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: 13px 0 27px; border-bottom: 1px solid #c2cbc8; }
.local-weather-lead > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px 22px; }
.local-big-temp { font: italic 500 clamp(80px, 12vw, 136px)/.86 var(--serif); letter-spacing: -.05em; color: var(--ink); }
.local-weather-condition { max-width: 190px; color: #34413d; font-size: 17px; }
.local-weather-note { padding-bottom: 7px; display: flex; flex-direction: column; gap: 5px; color: #34413d; font-size: 15px; }
.local-weather-note strong { color: var(--ink); font-size: 17px; }
.local-day-strip, .local-hour-strip { display: flex; overflow-x: auto; scrollbar-width: thin; }
.local-day-strip { gap: 0; padding: 22px 0; border-bottom: 1px solid #c2cbc8; }
.local-day { flex: 0 0 150px; padding: 0 14px; border-left: 1px solid #c2cbc8; display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); line-height: 1.3; }
.local-day:first-child { border-left-color: transparent; }
.local-day strong { color: var(--ink); font-size: 14px; }
.local-day-temp { color: var(--berry); font-size: 21px; font-weight: 700; }
.local-small-label { margin: 23px 0 14px; color: var(--muted); }
.local-hour-strip { gap: 9px; }
.local-hour { flex: 0 0 91px; padding: 11px 10px; border-radius: 40px 40px 4px 4px; background: #e2e9e7; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 12px; color: var(--muted); }
.local-hour strong { color: var(--ink); font-size: 21px; }
.local-big-number { margin: 16px 0 8px; color: var(--berry); font: italic 500 78px/.95 var(--serif); letter-spacing: -.04em; }
.local-radar { margin: 19px 0 0; overflow: hidden; border: 3px solid var(--mulch); border-radius: 4px; background: #fff; }
.local-radar img { display: block; width: 100%; height: auto; }
.local-radar figcaption { padding: 6px 9px; color: var(--muted); font-size: 12px; }
.local-alert, .local-advisory { display: flex; gap: 19px; padding: 24px 27px; margin-top: 21px; border: 2px solid var(--berry); border-radius: 4px; background: #fbeaed; color: var(--ink); }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--berry-dark); color: #fff; font-weight: 800; }
.local-alert h3, .local-advisory h3 { margin: 7px 0 9px; color: var(--ink); font-size: 20px; line-height: 1.35; }
.local-alert p, .local-advisory p { margin-bottom: 0; color: var(--ink); }
.local-advisory { align-items: center; border-color: var(--leaf); background: #e6eee0; }
.local-advisory-mark { flex: none; color: var(--leaf); font-size: 41px; line-height: 1; }
.local-advisory h3 { font: italic 500 clamp(21px, 2.5vw, 29px)/1.2 var(--serif); }
.local-advisory-alert { border-color: var(--berry); background: #fbeaed; }
.local-advisory-alert .local-advisory-mark { color: var(--berry-dark); }
.local-row { padding: 13px 0; border-bottom: 1px solid #d0d8d5; }
.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: 16px; font-weight: 700; line-height: 1.35; text-decoration-color: #8b9894; text-underline-offset: 4px; }
.local-row-detail { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.local-news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 35px; }
.local-market-name { display: block; font-size: 17px; }
.local-lottery { padding: 12px 0; border-bottom: 1px solid #d0d8d5; display: flex; flex-direction: column; gap: 5px; }
.local-lottery strong { font-size: 20px; letter-spacing: .03em; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 3; border-bottom: 1px solid var(--line); background: rgba(250, 252, 251, .86); }
.header-inner { max-width: 1180px; margin: auto; padding: 18px 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; text-decoration: none; font-size: 16px; letter-spacing: 0; line-height: 1.25; }
.brand strong { display: block; font-size: 18px; }
.brand-mark { display: grid; place-items: end center; flex: none; width: 44px; height: 48px; padding-bottom: 3px; border: 1.5px solid var(--ink); border-bottom-width: 4px; border-radius: 22px 22px 0 0; font: italic 500 26px/1 var(--serif); }
.header-link { display: inline-flex; align-items: center; min-height: 44px; border: 0; padding: 0; background: transparent; color: var(--ink); white-space: nowrap; font-weight: 700; text-decoration: underline; text-decoration-color: var(--berry); text-decoration-thickness: 2px; text-underline-offset: 6px; cursor: pointer; }
.header-link span { color: var(--berry-dark); }

/* ---------- inner pages ---------- */
.page-shell { max-width: 1180px; margin: auto; padding: 64px 32px 90px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--berry-dark); font: 700 13px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--berry-dark); }
.intro h1 { margin: 0; font: italic 500 clamp(44px, 6vw, 84px)/1 var(--serif); letter-spacing: -.025em; }
.intro-copy { margin: 22px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 21px); max-width: 670px; }

.options { margin-top: 55px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.option { min-width: 0; min-height: 247px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; border: 1.5px solid #6d7b77; border-radius: 4px; background: #fff; transition: border-color .2s, transform .2s; }
.option:hover { border-color: var(--berry); transform: translateY(-2px); }
.option-number { color: var(--berry-dark); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.option h2 { margin: 19px 0 7px; font: italic 500 clamp(24px, 2.7vw, 30px)/1.12 var(--serif); }
.option p { margin: 0; color: var(--muted); font-size: 15px; 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-bottom: 4px solid var(--berry); border-radius: 4px; color: #fff; background: var(--mulch); font-weight: 700; font-size: 15px; line-height: 1.25; text-decoration: none; text-align: left; cursor: pointer; }
.option-action:hover { background: var(--berry-dark); }
.option-action span { font-size: 19px; line-height: 1; }
.option .option-note { margin-top: 7px; font-size: 13px; color: var(--muted); }

.question-section { scroll-margin-top: 25px; margin-top: 70px; padding: 46px; border: 0; border-radius: 6px; background: var(--paper); box-shadow: 0 0 0 1px #8f9d99; }
.question-heading h2 { margin: 0; font: italic 500 clamp(30px, 4vw, 44px)/1.12 var(--serif); }
.question-heading > p:last-child { margin: 13px 0 0; color: var(--muted); }
.question-form { margin-top: 38px; }
.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: 15px; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-width: 0; border: 1.5px solid #6d7b77; border-radius: 4px; 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: 132px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--berry-dark); }
.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: 22px; min-width: 22px; height: 22px; min-height: 22px; margin: 2px 0 0; accent-color: var(--mulch); }
.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: 0; border-bottom: 4px solid var(--berry); border-radius: 4px; padding: 12px 22px; color: #fff; background: var(--mulch); font-weight: 700; cursor: pointer; }
.form-bottom button:hover { background: var(--berry-dark); }
.submit-note { max-width: 610px; margin: 17px 0 0; color: var(--muted); font-size: 14px; }
.form-status { min-height: 22px; margin: 13px 0 0; color: var(--berry-dark); font-weight: 700; font-size: 15px; }

.product-switch { display: flex; flex-wrap: wrap; gap: 9px; margin: 38px 0 22px; padding-bottom: 14px; background: linear-gradient(var(--mulch), var(--mulch)) bottom / 100% 12px no-repeat; }
.product-switch a { display: inline-flex; align-items: center; min-height: 48px; border: 1.5px solid #6d7b77; border-bottom: 0; border-radius: 26px 26px 0 0; padding: 10px 24px; background: rgba(255, 255, 255, .75); font-weight: 700; text-decoration: none; }
.product-switch a:hover { border-color: var(--berry); background: #fff; }
.product-switch a[aria-current="page"] { border-color: var(--mulch); color: #fff; background: var(--mulch); }
.quote-form fieldset { min-width: 0; margin: 18px 0; padding: 29px; border: 0; border-radius: 6px; background: var(--paper); box-shadow: 0 0 0 1px #8f9d99; }
.quote-form legend { padding: 0 10px; background: var(--paper); font: italic 500 27px/1.2 var(--serif); }
.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-bottom: 4px solid var(--berry); border-radius: 4px; padding: 12px 22px; color: #fff; background: var(--mulch); font-weight: 700; cursor: pointer; }
.quote-submit button:hover, .quote-results button:hover { background: var(--berry-dark); }
.quote-submit button:disabled, .quote-results button:disabled { cursor: wait; opacity: .6; }
#quote-status { color: var(--berry-dark); font-weight: 700; }
.quote-results { margin: 30px 0 70px; padding: 28px; border: 0; border-radius: 6px; background: var(--paper); box-shadow: 0 0 0 1px #8f9d99; }
.quote-results h2 { margin: 0 0 16px; font: italic 500 32px/1.15 var(--serif); }
.quote-results article { border-top: 1px solid #b4bfbc; padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; }
.quote-results article p { margin: 4px 0 13px; }

.site-footer { border-top: 4px solid var(--mulch); max-width: 1180px; margin: auto; padding: 27px 32px 38px; 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 { display: inline-block; padding: 8px 0; text-underline-offset: 4px; }
.site-footer .footer-note { flex-basis: 100%; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px; }
  .choice-grid a { min-height: 232px; }
}

@media (max-width: 980px) {
  .field { display: flex; flex-direction: column; }
  .plate-wrap { position: static; width: min(100% - 40px, 440px); margin: 26px auto 0; }
  .minimal-shell { padding-top: 26px; }
  .minimal-shell h1 { max-width: none; min-height: 0; margin-bottom: 34px; }
}

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

@media (max-width: 590px) {
  .header-inner { padding: 14px 20px; flex-wrap: wrap; gap: 8px 16px; }
  .brand { font-size: 14px; gap: 10px; }
  .brand strong { font-size: 16px; }
  .brand-mark { width: 38px; height: 42px; font-size: 22px; border-radius: 19px 19px 0 0; }
  .header-link { margin-left: auto; font-size: 14px; white-space: normal; text-align: right; }
  .page-shell { padding: 44px 20px 64px; }
  .options { margin-top: 37px; grid-template-columns: 1fr; gap: 12px; }
  .option { min-height: 0; padding: 23px; }
  .option h2 { margin-top: 15px; }
  .option .option-action { margin-top: 20px; }
  .question-section { margin-top: 50px; padding: 27px 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 19px; }
  .quote-form fieldset { padding: 22px 18px; }
  .product-switch a { padding: 10px 16px; }
  .site-footer { padding: 25px 20px 34px; }
  .minimal-shell { width: min(100% - 40px, 1180px); padding-bottom: 38px; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; row-gap: 28px; }
  .choice-grid a { min-height: 214px; padding: 68px 10px 20px; font-size: 17px; }
  .choice-grid a::before { top: 24px; }
  .local-wrap { padding: 56px 20px 72px; }
  .local-section-heading { margin-top: 48px; align-items: flex-start; flex-direction: column; gap: 7px; }
  .local-section-heading h3 { text-align: left; }
  .local-grid, .local-weather-lead, .local-news-list { grid-template-columns: 1fr; }
  .local-card { padding: 24px 21px; }
  .local-weather-lead { gap: 14px; }
  .local-alert, .local-advisory { padding: 22px 19px; gap: 12px; }
  .local-day { flex-basis: 126px; }
}

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