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

:root {
  color-scheme: light;
  --ink: #14231f;
  --muted: #3c4f49;
  --line: #14231f;
  --paper: #e8eeea;
  --tube-dark: #0f211d;
  --tube: #1b3a34;
  --tile: #fbfdfa;
  --grout: #cbd7d0;
  --concrete: #c4cfc8;
  --green: #1a5a4f;
  --label: #1a5a4f;
  --amber: #f0a81c;
  --amber-pale: #fbe8b8;
  --amber-ink: #7a4a00;
  --course: #5e2a86;
  --course-dark: #3f1a63;
  --accent: var(--course);
  --accent-dark: var(--course-dark);
  --display: "Antonio", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --text: "Public Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --wall: linear-gradient(var(--grout) 1px, transparent 1px) 0 0 / 100% 52px, linear-gradient(90deg, var(--grout) 1px, transparent 1px) 0 0 / 104px 100%;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); background-image: var(--wall); font-family: var(--text); font-size: 17px; line-height: 1.55; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--course); outline-offset: 3px; }
.portal :focus-visible, .site-footer :focus-visible { outline-color: var(--amber); }

/* ---------- header: the portal's lintel ---------- */
.site-header { background: var(--tube-dark); border-bottom: 5px solid var(--amber); color: #f4f1e6; }
.header-inner { max-width: 1240px; margin: auto; padding: 14px 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; text-decoration: none; font-size: 16px; line-height: 1.2; color: #f4f1e6; }
.brand strong { display: block; font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: .06em; text-transform: uppercase; color: #ffffff; }
.brand-mark { display: grid; place-items: center; flex: none; width: 44px; height: 50px; border: 3px solid var(--amber); border-bottom-width: 0; border-radius: 22px 22px 0 0; background: var(--tube); color: #fff; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1; }
.header-link { display: inline-flex; align-items: center; min-height: 44px; border: 0; padding: 0 2px; background: transparent; color: #f4f1e6; white-space: nowrap; font-weight: 700; text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 6px; cursor: pointer; }
.header-link:hover { color: var(--amber); }

/* ---------- home: the portal elevation ---------- */
.portal { position: relative; overflow: hidden; color: #f4f1e6; background-color: var(--tube); background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.055) 0 1px, transparent 1px 64px); }
.portal .site-header { position: relative; z-index: 2; }
.portal-stage { position: relative; max-width: 1240px; margin: auto; padding: 0 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 520px); gap: 12px 40px; align-items: end; }
.portal-art { grid-column: 2; grid-row: 1; align-self: end; margin: 28px 0 0; line-height: 0; }
.portal-art svg { display: block; width: 100%; height: auto; max-height: 640px; }
.portal-stage .minimal-shell { grid-column: 1; grid-row: 1; align-self: center; width: auto; margin: 0; padding: 54px 0 46px; display: flex; flex-direction: column; }
.minimal-shell h1 { margin: 0 0 32px; font-family: var(--display); font-weight: 700; font-size: clamp(60px, 8.4vw, 118px); line-height: .9; letter-spacing: .012em; text-transform: uppercase; color: #fffdf6; }
.minimal-shell h1::after { content: ""; display: block; width: 132px; height: 14px; margin-top: 22px; border-top: 4px solid var(--amber); border-bottom: 4px solid var(--amber); }

.choice-grid { display: grid; grid-template-columns: 1fr; gap: 8px; counter-reset: ctl; max-width: 640px; }
.choice-grid a { counter-increment: ctl; position: relative; min-height: 60px; padding: 10px 56px 10px 14px; display: flex; align-items: center !important; justify-content: flex-start !important; text-align: left !important; gap: 16px; border: 0; border-left: 8px solid var(--amber); border-radius: 0; background: var(--tile); color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.25; text-decoration: none; transition: background .15s, border-color .15s; }
.choice-grid a::before { content: counter(ctl, decimal-leading-zero); flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 3px solid var(--course); border-radius: 50%; color: var(--course); font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .02em; line-height: 1; }
.choice-grid a::after { content: ""; position: absolute; right: 18px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-top: 4px solid var(--course); border-right: 4px solid var(--course); transform: rotate(45deg); transition: right .15s; }
.choice-grid a:hover { background: var(--amber-pale); border-left-color: var(--course); }
.choice-grid a:hover::after { right: 12px; }
.choice-grid a:hover::before { background: var(--course); color: #fff; }
.agency-line { margin: 24px 0 0; padding-top: 16px; border-top: 2px solid rgba(244,241,230,.35); max-width: 640px; color: #e9e4d2; font-size: 15px; font-weight: 700; }
.agency-line a { display: inline-block; min-height: 24px; color: var(--amber); text-underline-offset: 4px; }

.lamp-run { height: 38px; border-top: 4px solid var(--tube-dark); background-color: var(--tube-dark); background-image: radial-gradient(ellipse 22px 7px at 50% 50%, var(--amber) 0 62%, rgba(240,168,28,.0) 100%), repeating-linear-gradient(90deg, transparent 0 55px, rgba(244,241,230,.12) 55px 56px); background-size: 112px 38px, 56px 38px; background-repeat: repeat-x; }

/* ---------- inner pages ---------- */
.page-shell { max-width: 1180px; margin: auto; padding: 60px 32px 84px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: var(--label); font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; flex: none; width: 22px; height: 22px; border: 3px solid var(--course); border-radius: 50%; box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px var(--course); margin-right: 6px; }
.intro h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(52px, 7vw, 92px); line-height: .94; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.intro h1::after { content: ""; display: block; width: 120px; height: 14px; margin-top: 18px; border-top: 4px solid var(--amber); border-bottom: 4px solid var(--amber); }
.intro-copy { margin: 24px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 680px; }

.options { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.option { min-width: 0; min-height: 247px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; border: 2px solid var(--ink); border-radius: 0; background: var(--tile); }
.option:hover { border-color: var(--course); }
.option-number { color: var(--label); font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .14em; text-transform: uppercase; }
.option h2 { margin: 16px 0 8px; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3vw, 36px); line-height: 1.05; text-transform: uppercase; }
.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(--course); font-weight: 700; font-size: 16px; line-height: 1.25; text-decoration: none; text-align: left; cursor: pointer; }
.option-action:hover { background: var(--course-dark); }
.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: 56px; padding: 40px; border: 2px solid var(--ink); border-top-width: 10px; border-radius: 0; background: var(--tile); }
.question-heading h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4vw, 48px); line-height: 1.05; text-transform: uppercase; }
.question-heading > p:last-child { margin: 13px 0 0; color: var(--muted); }
.question-form { margin-top: 30px; }
.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 #3d554f; border-radius: 2px; padding: 12px 14px; color: var(--ink); background: #fff; font-weight: 400; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--course); }
.form-grid input, .form-grid select { min-height: 50px; }
.form-grid textarea { min-height: 140px; resize: vertical; }
.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(--course); }
.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: 54px; display: inline-flex; align-items: center; gap: 12px; border: 0; border-radius: 0; padding: 13px 24px; color: #fff; background: var(--course); font-weight: 700; font-size: 17px; cursor: pointer; border-bottom: 5px solid var(--course-dark); }
.form-bottom button:hover { background: var(--course-dark); }
.submit-note { max-width: 640px; margin: 17px 0 0; color: var(--muted); font-size: 15px; }
.form-status { min-height: 22px; margin: 13px 0 0; color: var(--course-dark); font-weight: 700; font-size: 16px; }

.product-switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 20px; }
.product-switch a { display: inline-flex; align-items: center; min-height: 48px; border: 2px solid var(--ink); border-radius: 0; padding: 8px 20px; background: var(--tile); font-weight: 700; text-decoration: none; }
.product-switch a:hover { background: var(--amber-pale); }
.product-switch a[aria-current="page"] { border-color: var(--course); color: #fff; background: var(--course); }
.quote-form fieldset { min-width: 0; margin: 22px 0; padding: 30px 28px 28px; border: 2px solid var(--ink); border-radius: 0; background: var(--tile); }
.quote-form legend { padding: 4px 16px; background: var(--tube-dark); color: #fff; font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: .08em; text-transform: uppercase; }
.quote-form .form-grid { margin-top: 4px; }
.quote-submit { margin: 22px 0 55px; max-width: 720px; }
.quote-submit button, .quote-results button { min-height: 54px; border: 0; border-bottom: 5px solid var(--course-dark); border-radius: 0; padding: 12px 24px; color: #fff; background: var(--course); font-weight: 700; font-size: 17px; cursor: pointer; }
.quote-submit button:hover, .quote-results button:hover { background: var(--course-dark); }
.quote-submit button:disabled, .quote-results button:disabled { cursor: wait; opacity: .7; }
#quote-status { color: var(--course-dark); font-weight: 700; }
.quote-results { margin: 30px 0 70px; padding: 28px; border: 2px solid var(--ink); border-top-width: 10px; border-radius: 0; background: var(--tile); }
.quote-results h2 { margin: 0 0 16px; font-family: var(--display); font-weight: 700; font-size: 36px; text-transform: uppercase; }
.quote-results article { border-top: 2px solid var(--grout); padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: .03em; text-transform: uppercase; }
.quote-results article p { margin: 4px 0 13px; }

.site-footer { border-top: 5px solid var(--amber); max-width: none; margin: 0; padding: 28px max(32px, calc((100% - 1176px) / 2)) 36px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 26px; background: var(--tube-dark); color: #e9e4d2; font-size: 15px; }
.site-footer p { margin: 0; }
.site-footer > p:first-child { color: #fff; font-weight: 700; }
.site-footer a { display: inline-block; min-height: 24px; color: var(--amber); text-underline-offset: 4px; }
.site-footer .footer-note { flex-basis: 100%; }

/* ---------- local board: the glazed-tile wall ---------- */
.local-board { color: var(--ink); background: var(--paper); background-image: var(--wall); border-top: 0; }
.local-wrap { max-width: 1240px; margin: auto; padding: 72px 32px 96px; }
.local-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 0 0 30px; border-bottom: 4px solid var(--ink); }
.local-kicker, .local-card-kicker, .local-small-label { color: var(--label); font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .14em; text-transform: uppercase; }
.local-kicker { margin: 0 0 14px; }
.local-kicker span { padding: 0 7px; color: var(--amber-ink); }
.local-intro h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(50px, 7vw, 92px); line-height: .92; letter-spacing: .01em; text-transform: uppercase; }
.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: end; gap: 20px; margin: 64px 0 20px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); flex-direction: row-reverse; }
.local-section-heading > span { flex: none; display: inline-flex; align-items: center; gap: 10px; color: var(--label); font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .12em; text-transform: uppercase; }
.local-section-heading > span::before { content: ""; width: 18px; height: 18px; border: 3px solid var(--course); border-radius: 50%; }
.local-section-heading h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4vw, 50px); line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.local-card { position: relative; min-width: 0; padding: 36px 28px 28px; border: 2px solid var(--ink); border-radius: 0; background: var(--tile); box-shadow: 6px 6px 0 var(--concrete); }
.local-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(90deg, var(--amber) 0 22px, var(--ink) 22px 25px); }
.local-card h4 { margin: 6px 0 20px; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3vw, 38px); line-height: 1.04; letter-spacing: .01em; text-transform: uppercase; }
.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: 15px; }
.local-source { margin: 24px 0 0; padding-top: 14px; border-top: 2px solid var(--grout); 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(--label); font-size: 16px; 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: 10px 0 26px; border-bottom: 2px solid var(--grout); }
.local-weather-lead > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px 22px; }
.local-big-temp { font-family: var(--display); font-weight: 700; font-size: clamp(92px, 12vw, 148px); line-height: .8; letter-spacing: 0; color: var(--ink); }
.local-weather-condition { max-width: 200px; color: var(--muted); font-size: 18px; }
.local-weather-note { padding-bottom: 7px; 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: 22px 0; border-bottom: 2px solid var(--grout); }
.local-day { flex: 0 0 150px; padding: 0 14px; border-left: 2px solid var(--grout); display: flex; flex-direction: column; gap: 5px; font-size: 14px; color: var(--muted); line-height: 1.35; }
.local-day:first-child { padding-left: 14px; }
.local-day strong { color: var(--ink); font-size: 16px; }
.local-day-temp { color: var(--label); font-family: var(--display); font-size: 28px; font-weight: 700; }
.local-small-label { margin: 22px 0 12px; }
.local-hour-strip { gap: 8px; }
.local-hour { flex: 0 0 96px; padding: 11px 10px; border: 2px solid var(--grout); border-radius: 0; background: #f6f3e7; display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--muted); }
.local-hour strong { color: var(--ink); font-family: var(--display); font-size: 28px; line-height: 1.1; }
.local-big-number { margin: 16px 0 8px; color: var(--label); font-family: var(--display); font-weight: 700; font-size: 92px; line-height: .9; letter-spacing: 0; }
.local-radar { margin: 19px 0 0; overflow: hidden; border: 3px solid var(--ink); border-radius: 0; background: var(--tile); }
.local-radar img { display: block; width: 100%; height: auto; }
.local-radar figcaption { padding: 7px 10px; border-top: 3px solid var(--amber); color: var(--muted); font-size: 14px; }
.local-alert, .local-advisory { display: flex; gap: 19px; padding: 24px 27px; margin-top: 21px; border: 2px solid #8a3320; border-left-width: 12px; border-radius: 0; background: #fbeee6; color: var(--ink); }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #8a3320; color: #fff; font-weight: 800; }
.local-alert h3, .local-advisory h3 { margin: 7px 0 9px; 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(--amber-ink); background: var(--amber-pale); }
.local-advisory-mark { flex: none; color: var(--amber-ink); font-size: 41px; line-height: 1; }
.local-advisory h3 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.7vw, 32px); line-height: 1.15; letter-spacing: .02em; text-transform: uppercase; }
.local-advisory-alert { border-color: #8a3320; background: #fbeee6; }
.local-row { padding: 13px 0; border-bottom: 2px solid var(--grout); }
.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(--green); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.local-row-title:hover { color: var(--label); }
.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: 35px; }
.local-market-name { display: block; font-size: 18px; }
.local-lottery { padding: 12px 0; border-bottom: 2px solid var(--grout); display: flex; flex-direction: column; gap: 5px; }
.local-lottery strong { font-family: var(--display); font-size: 28px; letter-spacing: .02em; }

@media (max-width: 960px) {
  .portal-stage { grid-template-columns: minmax(0, 1fr); }
  .portal-art { grid-column: 1; grid-row: 2; margin: 0 auto; width: min(100%, 420px); align-self: end; }
  .portal-stage .minimal-shell { grid-row: 1; padding: 40px 0 34px; }
  .options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .local-intro { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 590px) {
  .header-inner { padding: 12px 20px; flex-wrap: wrap; gap: 6px 16px; }
  .brand { font-size: 14px; gap: 10px; }
  .brand strong { font-size: 21px; }
  .brand-mark { width: 38px; height: 44px; font-size: 22px; }
  .header-link { margin-left: auto; font-size: 15px; white-space: normal; text-align: right; }
  .portal-stage { padding: 0 20px; }
  .minimal-shell h1 { margin-bottom: 24px; }
  .choice-grid a { padding: 10px 44px 10px 10px; gap: 12px; font-size: 17px; border-left-width: 6px; }
  .choice-grid a::before { width: 40px; height: 40px; font-size: 18px; }
  .choice-grid a::after { right: 14px; }
  .portal-art { width: min(100%, 340px); }
  .page-shell { padding: 40px 20px 60px; }
  .options { margin-top: 37px; grid-template-columns: 1fr; gap: 12px; }
  .option { min-height: 0; padding: 22px; }
  .question-section { margin-top: 40px; padding: 26px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 19px; }
  .quote-form fieldset { padding: 26px 16px 22px; }
  .quote-form legend { font-size: 21px; }
  .site-footer { padding: 25px 20px 34px; }
  .local-wrap { padding: 52px 20px 70px; }
  .local-section-heading { margin-top: 48px; align-items: flex-start; flex-direction: column-reverse; gap: 7px; }
  .local-grid, .local-weather-lead, .local-news-list { grid-template-columns: 1fr; }
  .local-card { padding: 34px 20px 24px; box-shadow: 4px 4px 0 var(--concrete); }
  .local-weather-lead { gap: 14px; }
  .local-alert, .local-advisory { padding: 22px 18px; gap: 12px; }
  .local-day { flex-basis: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .choice-grid a, .choice-grid a::after { transition: none; }
}
