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

:root {
  color-scheme: light;
  --ink: #1b2620;
  --muted: #46524a;
  --line: #1b2620;
  --paper: #e4eadb;
  --cream: #fafbf4;
  --bloom: #b3125f;
  --bloom-dark: #8e0c4a;
  --jade: #2f5d43;
  --jade-pale: #dde7cf;
  --asphalt: #26282b;
  --gold: #f2c230;
  --rail: #a9afab;
  --rule: #d2dcc6;
  --accent: var(--bloom);
  --accent-dark: var(--bloom-dark);
  --display: "Gloock", Georgia, "Times New Roman", serif;
  --text: "Albert Sans", system-ui, -apple-system, "Segoe UI", 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.55 var(--text); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--bloom); outline-offset: 3px; }

/* ---------- header and footer: the road edge ---------- */
.site-header { position: relative; z-index: 2; color: #fff; background: var(--asphalt); border-bottom: 0; }
.site-header::after { content: ""; display: block; height: 6px; background: linear-gradient(90deg, var(--gold) 34px, transparent 34px) 0 0 / 62px 100% repeat-x; }
.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; min-height: 44px; text-decoration: none; color: #fff; font: 400 16px/1.25 var(--text); letter-spacing: .01em; }
.brand strong { display: block; font: 400 21px/1.15 var(--display); letter-spacing: 0; }
.brand-mark { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border: 2px solid #fff; border-radius: 50%; background: var(--bloom); color: #fff; font: 400 24px/1 var(--display); }
.header-link { display: inline-flex; align-items: center; min-height: 44px; border: 0; padding: 0; background: transparent; color: #fff; white-space: nowrap; font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; cursor: pointer; }
.header-link span { color: var(--gold); }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.site-footer { margin: 0; padding: 30px max(32px, calc((100% - 1116px) / 2)) 38px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 26px; color: #f4efe0; background: var(--asphalt); border-top: 6px solid var(--bloom); font-size: 15px; }
.site-footer p { margin: 0; }
.site-footer > p:first-child { color: #fff; font-weight: 700; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-underline-offset: 5px; text-decoration-color: var(--gold); }
.site-footer .footer-note { flex-basis: 100%; color: #d9d3c0; }

/* ---------- home: the embankment ---------- */
.bank { position: relative; overflow: hidden; background: linear-gradient(180deg, #dcecec 0, #eaf0d8 46%, #e9dfa8 100%); }
.bank-art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: min(100%, 600px); z-index: 0; pointer-events: none; }
.bank-wrap { position: relative; z-index: 1; }
.minimal-shell { width: min(100% - 40px, 1120px); margin: auto; padding: clamp(36px, 6vh, 64px) 0 0; display: flex; flex-direction: column; }
.minimal-shell h1 { margin: 6px 0 clamp(30px, 5vh, 48px); max-width: 12ch; color: var(--ink); font: 400 clamp(46px, 8vw, 104px)/.96 var(--display); letter-spacing: -.02em; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; padding-top: 6px; }
.choice-grid a {
  --pk: var(--jade); --fl: var(--bloom); --fc: var(--gold);
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 190px; padding: 108px 20px 20px;
  border: 2px solid var(--ink); border-radius: 3px 3px 14px 14px; background: var(--cream);
  color: var(--ink); font: 700 clamp(19px, 1.9vw, 22px)/1.22 var(--text); text-decoration: none;
  background-image: linear-gradient(180deg, transparent 25px, var(--rule) 25px);
  background-size: 100% 26px; background-position: 0 100px; background-repeat: repeat-y;
  box-shadow: 4px 6px 0 rgba(27, 38, 32, .22);
  transition: transform .18s ease, box-shadow .18s ease;
}
.choice-grid a::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px; border-bottom: 2px solid var(--ink); border-radius: 1px 1px 0 0;
  background-color: var(--pk);
  background-image:
    radial-gradient(circle at 12% 62%, var(--fc) 0 3px, transparent 3.5px),
    radial-gradient(circle at 12% 62%, var(--fl) 0 13px, transparent 13.5px),
    radial-gradient(circle at 31% 36%, var(--fc) 0 2.5px, transparent 3px),
    radial-gradient(circle at 31% 36%, var(--fl) 0 10px, transparent 10.5px),
    radial-gradient(circle at 52% 70%, var(--fc) 0 3.5px, transparent 4px),
    radial-gradient(circle at 52% 70%, var(--fl) 0 15px, transparent 15.5px),
    radial-gradient(circle at 73% 40%, var(--fc) 0 3px, transparent 3.5px),
    radial-gradient(circle at 73% 40%, var(--fl) 0 12px, transparent 12.5px),
    radial-gradient(circle at 90% 72%, var(--fc) 0 2.5px, transparent 3px),
    radial-gradient(circle at 90% 72%, var(--fl) 0 10px, transparent 10.5px);
}
.choice-grid a:nth-child(2n)::before { transform: scaleX(-1); }
.choice-grid a::after { content: ""; position: absolute; left: -12px; right: -12px; top: -9px; height: 12px; border: 1px solid #6c726e; border-radius: 6px; background: linear-gradient(180deg, #e3e6e3, var(--rail) 55%, #858c88); }
.choice-grid a:nth-child(2) { --pk: #e5b73c; }
.choice-grid a:nth-child(3) { --pk: var(--asphalt); --fl: #e8689f; }
.choice-grid a:nth-child(4) { --pk: #4e7c58; --fl: #d4297a; }
.choice-grid a:nth-child(5) { --pk: #d8c98f; }
.choice-grid a:nth-child(6) { --pk: var(--bloom); --fl: #f6a3c6; --fc: #fff; }
.choice-grid a:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 6px 10px 0 rgba(27, 38, 32, .26); }
.choice-grid a:hover { color: var(--bloom-dark); }
.agency-line { margin: 70px 0 0; padding: 0; color: #fff; font-size: 16px; font-weight: 600; }
.agency-line { align-self: flex-start; display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; min-height: 52px; padding: 4px 18px; margin-bottom: 34px; border: 2px solid #fff; border-radius: 3px; background: var(--asphalt); }
.agency-line a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); font-weight: 700; text-underline-offset: 5px; }

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

/* ---------- local board: the almanac back ---------- */
.local-board { color: var(--ink); background: var(--paper); border-top: 8px solid var(--jade); background-image: linear-gradient(180deg, transparent 31px, #d6dfca 31px); background-size: 100% 32px; }
.local-wrap { max-width: 1180px; margin: auto; padding: 78px 32px 100px; }
.local-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 0 0 30px; border-bottom: 3px double var(--ink); }
.local-kicker, .local-card-kicker, .local-small-label { color: var(--bloom-dark); font: 700 13px/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; }
.local-kicker { margin: 0 0 16px; }
.local-kicker span { padding: 0 7px; color: var(--jade); }
.local-intro h2 { margin: 0; font: 400 clamp(42px, 6vw, 78px)/1 var(--display); letter-spacing: -.015em; }
.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: 600; }
.local-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 62px 0 20px; padding: 10px 16px; border: 2px solid var(--ink); border-radius: 3px; background: var(--jade); color: #fff; }
.local-section-heading h3 { margin: 0; font: 400 clamp(26px, 3vw, 36px)/1.1 var(--display); letter-spacing: 0; }
.local-section-heading > span { flex: none; padding: 4px 10px; border: 1.5px solid #fff; border-radius: 2px; color: #fff; font: 700 13px/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.local-card { min-width: 0; padding: 26px 28px; border: 2px solid var(--ink); border-radius: 3px 3px 14px 14px; background: var(--cream); box-shadow: 4px 6px 0 rgba(27, 38, 32, .18); }
.local-card h4 { margin: 8px 0 18px; font: 400 clamp(26px, 2.8vw, 33px)/1.12 var(--display); letter-spacing: 0; }
.local-card-kicker { display: inline-block; margin: 0; padding: 3px 9px; border: 1.5px solid var(--bloom-dark); border-radius: 2px; }
.local-card .local-copy { margin: 10px 0; color: #2c3830; 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: 1px solid var(--ink); color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.local-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; color: var(--bloom-dark); 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: 12px 0 26px; border-bottom: 1px 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(--bloom-dark); font: 400 clamp(80px, 12vw, 136px)/.84 var(--display); letter-spacing: -.03em; }
.local-weather-condition { max-width: 200px; color: #2c3830; font-size: 18px; }
.local-weather-note { padding-bottom: 7px; display: flex; flex-direction: column; gap: 5px; color: #2c3830; 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: 1px solid var(--ink); }
.local-day { flex: 0 0 150px; padding: 0 14px; border-left: 1px dashed var(--ink); display: flex; flex-direction: column; gap: 5px; font-size: 14px; color: var(--muted); line-height: 1.3; }
.local-day strong { color: var(--ink); font-size: 15px; }
.local-day-temp { color: var(--bloom-dark); font: 400 24px/1.1 var(--display); }
.local-small-label { margin: 22px 0 14px; }
.local-hour-strip { gap: 9px; padding-bottom: 6px; }
.local-hour { flex: 0 0 96px; padding: 11px 10px; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--jade-pale); display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--muted); }
.local-hour strong { color: var(--ink); font: 400 24px/1.1 var(--display); }
.local-big-number { margin: 16px 0 8px; color: var(--bloom-dark); font: 400 80px/.95 var(--display); letter-spacing: -.02em; }
.local-radar { margin: 18px 0 0; overflow: hidden; border: 2px solid var(--ink); border-radius: 3px; background: #fff; }
.local-radar img { display: block; width: 100%; height: auto; }
.local-radar figcaption { padding: 7px 10px; border-top: 2px solid var(--ink); color: var(--muted); background: var(--cream); font-size: 13px; }
.local-alert, .local-advisory { display: flex; gap: 18px; padding: 22px 26px; margin-top: 22px; border: 2px solid var(--bloom-dark); border-radius: 3px; background: #fbe4ee; color: var(--ink); }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bloom-dark); color: #fff; font-weight: 800; }
.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; border-color: var(--jade); background: var(--jade-pale); }
.local-advisory-mark { flex: none; color: var(--jade); font-size: 41px; line-height: 1; }
.local-advisory h3 { font: 400 clamp(21px, 2.5vw, 28px)/1.2 var(--display); }
.local-advisory-alert { border-color: var(--bloom-dark); background: #fbe4ee; }
.local-advisory-alert .local-advisory-mark { color: var(--bloom-dark); }
.local-row { padding: 13px 0; border-bottom: 1px dashed var(--ink); }
.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(--bloom); text-underline-offset: 4px; }
.local-row-detail { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }
.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: 1px dashed var(--ink); display: flex; flex-direction: column; gap: 5px; }
.local-lottery strong { font-size: 20px; letter-spacing: .03em; }

/* ---------- quote and question pages ---------- */
.page-shell { max-width: 1180px; margin: auto; padding: 60px 32px 90px; }
.eyebrow { display: inline-block; margin: 0 0 16px; padding: 4px 11px; border: 2px solid var(--ink); border-radius: 2px; background: var(--gold); color: var(--ink); font: 700 13px/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; }
.intro h1 { margin: 0; max-width: 14ch; font: 400 clamp(44px, 7vw, 92px)/.98 var(--display); letter-spacing: -.02em; }
.intro-copy { margin: 22px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); max-width: 680px; }

.options { margin-top: 55px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.option { min-width: 0; min-height: 247px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; border: 2px solid var(--ink); border-radius: 3px 3px 14px 14px; background: var(--cream); box-shadow: 4px 6px 0 rgba(27, 38, 32, .2); }
.option-number { color: var(--bloom-dark); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.option h2 { margin: 18px 0 8px; font: 400 clamp(24px, 2.7vw, 30px)/1.12 var(--display); }
.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: 2px solid var(--ink); border-radius: 3px; color: #fff; background: var(--bloom-dark); 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: 19px; line-height: 1; }
.option .option-note { margin-top: 7px; font-size: 14px; color: var(--muted); }

.question-section { scroll-margin-top: 25px; margin-top: 56px; padding: 44px; border: 2px solid var(--ink); border-radius: 3px 3px 18px 18px; background: var(--cream); box-shadow: 5px 8px 0 rgba(27, 38, 32, .2); }
.question-heading h2 { margin: 0; font: 400 clamp(30px, 4vw, 44px)/1.12 var(--display); }
.question-heading > p:last-child { margin: 13px 0 0; color: var(--muted); }
.question-form { margin-top: 10px; }
.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: 3px; 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(--bloom); outline-offset: 2px; }
.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(--bloom-dark); }
.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: 2px solid var(--ink); border-radius: 3px; padding: 12px 22px; color: #fff; background: var(--bloom-dark); font-weight: 700; font-size: 17px; cursor: pointer; box-shadow: 3px 4px 0 rgba(27, 38, 32, .3); }
.form-bottom button:hover { background: var(--ink); }
.submit-note { max-width: 620px; margin: 17px 0 0; color: var(--muted); font-size: 15px; }
.form-status { min-height: 22px; margin: 13px 0 0; color: var(--bloom-dark); font-weight: 700; font-size: 16px; }

.product-switch { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 22px; }
.product-switch a { display: inline-flex; align-items: center; min-height: 46px; border: 2px solid var(--ink); border-radius: 3px; padding: 8px 18px; background: var(--cream); font-weight: 700; text-decoration: none; }
.product-switch a:hover { background: var(--jade-pale); }
.product-switch a[aria-current="page"] { border-color: var(--ink); color: #fff; background: var(--jade); }
.quote-form fieldset { min-width: 0; margin: 26px 0; padding: 30px 28px 28px; border: 2px solid var(--ink); border-radius: 3px 3px 14px 14px; background: var(--cream); box-shadow: 4px 6px 0 rgba(27, 38, 32, .16); }
.quote-form legend { padding: 4px 14px; border: 2px solid var(--ink); border-radius: 2px; background: var(--bloom-dark); color: #fff; font: 400 21px/1.3 var(--display); }
.quote-form .form-grid { margin-top: 6px; }
.quote-submit { margin: 22px 0 55px; max-width: 720px; }
.quote-submit button, .quote-results button { min-height: 54px; border: 2px solid var(--ink); border-radius: 3px; padding: 12px 22px; color: #fff; background: var(--bloom-dark); font-weight: 700; font-size: 17px; cursor: pointer; box-shadow: 3px 4px 0 rgba(27, 38, 32, .3); }
.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(--bloom-dark); font-weight: 700; }
.quote-results { margin: 30px 0 70px; padding: 28px; border: 2px solid var(--ink); border-radius: 3px 3px 14px 14px; background: var(--cream); }
.quote-results h2 { margin: 0 0 16px; font: 400 32px/1.15 var(--display); }
.quote-results article { border-top: 1px dashed var(--ink); padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; font: 400 24px/1.2 var(--display); }
.quote-results article p { margin: 4px 0 13px; }

@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: 12px 20px; flex-wrap: wrap; gap: 4px 16px; }
  .brand { font-size: 14px; gap: 10px; }
  .brand strong { font-size: 18px; }
  .brand-mark { width: 40px; height: 40px; font-size: 20px; }
  .header-link { margin-left: auto; font-size: 15px; white-space: normal; text-align: right; }
  .page-shell { padding: 40px 20px 60px; }
  .options { margin-top: 37px; grid-template-columns: 1fr; gap: 16px; }
  .option { min-height: 0; padding: 23px; }
  .option h2 { margin-top: 15px; }
  .option .option-action { margin-top: 20px; }
  .question-section { margin-top: 40px; padding: 26px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 19px; }
  .quote-form fieldset { padding: 26px 16px 22px; }
  .site-footer { padding: 24px 20px 32px; }
  .minimal-shell { padding-top: 30px; }
  .minimal-shell h1 { margin-bottom: 30px; }
  .choice-grid { grid-template-columns: 1fr; gap: 26px; }
  .choice-grid a { min-height: 92px; padding: 16px 16px 16px 108px; justify-content: center; background-position: 0 0; background-image: none; font-size: 19px; }
  .choice-grid a::before { right: auto; bottom: 0; width: 88px; height: auto; border-bottom: 0; border-right: 2px solid var(--ink); background-size: 100% 100%; }
  .choice-grid a:nth-child(2n)::before { transform: none; }
  .agency-line { margin-top: 44px; }
  .local-wrap { padding: 56px 20px 70px; }
  .local-section-heading { margin-top: 46px; align-items: flex-start; flex-direction: column; gap: 8px; }
  .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-day { flex-basis: 130px; }
}

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