@font-face { font-family: "Roboto Slab"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/roboto-slab-500.woff2) format("woff2"); }
@font-face { font-family: "Roboto Slab"; font-weight: 800; font-style: normal; font-display: swap; src: url(/fonts/roboto-slab-800.woff2) format("woff2"); }
@font-face { font-family: "Assistant"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/assistant-400.woff2) format("woff2"); }
@font-face { font-family: "Assistant"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/assistant-700.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --ink: #1b1b1b;
  --muted: #4b4536;
  --line: #1b1b1b;
  --paper: #e9ddba;
  --tissue: #f3ead0;
  --sheet: #fcf7e8;
  --accent: #a3191d;
  --accent-dark: #8c1418;
  --sage: #b7cdb4;
  --azure: #a9c6d6;
  --blush: #ebbfb2;
  --butter: #ebd38a;
  --lilac: #cfc6dd;
  --display: "Roboto Slab", Rockwell, "Courier New", serif;
  --text: "Assistant", "Trebuchet MS", Verdana, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font: 17px/1.55 var(--text);
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, transparent calc(33.333% - 1px), rgba(70,50,10,.10) calc(33.333% - 1px), rgba(70,50,10,.10) 33.333%, rgba(255,255,255,.35) 33.333%, rgba(255,255,255,.35) calc(33.333% + 1px), transparent calc(33.333% + 1px)),
    linear-gradient(90deg, transparent calc(66.666% - 1px), rgba(70,50,10,.10) calc(66.666% - 1px), rgba(70,50,10,.10) 66.666%, rgba(255,255,255,.35) 66.666%, rgba(255,255,255,.35) calc(66.666% + 1px), transparent calc(66.666% + 1px));
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* envelope front */
.envelope { width: min(100% - 40px, 1180px); margin: 22px auto 0; background: var(--tissue); border: 2.5px solid var(--ink); }
.env-top { border-bottom: 2.5px dashed var(--ink); position: relative; }
.env-top::before { content: ""; display: block; height: 10px; background: repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 12px); opacity: .85; }
.env-front { padding: 0 0 6px; }
.env-plate { margin: 24px 24px 0; border: 0; height: clamp(150px, 22vw, 290px); }
.env-art { display: block; width: 100%; height: 100%; }

.minimal-shell { width: auto; max-width: none; min-height: 0; margin: 0; padding: clamp(26px, 4vw, 46px) 24px 28px; display: flex; flex-direction: column; }
.minimal-shell h1 { margin: 0 0 30px; font: 800 clamp(40px, 6vw, 78px)/1.04 var(--display); letter-spacing: -.02em; max-width: 14ch; position: relative; padding-left: 26px; }
.minimal-shell h1::before { content: ""; position: absolute; left: 0; top: .16em; bottom: .16em; width: 8px; background: var(--accent); }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: piece; }
.choice-grid a {
  position: relative; min-height: 138px; padding: 22px 22px 22px 22px; display: flex; align-items: flex-end;
  border: 2px solid var(--ink); border-radius: 0; background: var(--sage); color: var(--ink);
  font: 600 clamp(20px, 2.1vw, 25px)/1.2 var(--text); text-decoration: none;
  outline: 1.5px dashed var(--ink); outline-offset: -9px;
  transition: transform .18s ease-out, background-color .18s;
}
.choice-grid a:nth-child(6n+2) { background: var(--azure); }
.choice-grid a:nth-child(6n+3) { background: var(--blush); }
.choice-grid a:nth-child(6n+4) { background: var(--butter); }
.choice-grid a:nth-child(6n+5) { background: var(--lilac); }
.choice-grid a:nth-child(6n+6) { background: var(--sheet); }
.choice-grid a::before { content: ""; position: absolute; top: 18px; right: 18px; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 50%; background: var(--sheet); }
.choice-grid a::after { content: ""; position: absolute; left: -2px; top: 38px; border: 8px solid transparent; border-left: 12px solid var(--ink); border-right: 0; }
.choice-grid a:hover, .choice-grid a:focus-visible { outline: 2px solid var(--accent); outline-offset: -9px; transform: translateY(3px); }
.choice-grid a:hover::before, .choice-grid a:focus-visible::before { background: var(--accent); border-color: var(--accent); }
.agency-line { margin: 28px 0 0; padding-top: 14px; border-top: 1.5px dashed var(--ink); color: var(--muted); font-size: 16px; font-weight: 600; }
.agency-line a { text-underline-offset: 4px; font-weight: 700; color: var(--ink); }

@media (min-width: 851px) {
  .home-shell { min-height: 0; padding-bottom: 28px; }
  .home-shell + .local-board .local-wrap { padding-top: 40px; }
}

/* instruction sheet: the local board */
.local-board { margin-top: 26px; border-top: 2.5px dashed var(--ink); background: var(--tissue); 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: 2.5px solid var(--ink); }
.local-kicker, .local-card-kicker, .local-section-heading > span, .local-small-label { color: var(--accent); font: 700 14px/1.3 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.local-kicker { margin: 0 0 16px; }
.local-kicker span { padding: 0 7px; }
.local-intro h2 { margin: 0; font: 800 clamp(38px, 5.4vw, 66px)/1.04 var(--display); letter-spacing: -.02em; }
.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: 15px; font-weight: 600; }
.local-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 58px 0 20px; padding-bottom: 10px; border-bottom: 1.5px dashed var(--ink); }
.local-section-heading h3 { margin: 0; font: 800 clamp(28px, 3.3vw, 40px)/1.1 var(--display); letter-spacing: -.01em; }
.local-section-heading > span { color: var(--muted); display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.local-section-heading > span::before { content: ""; width: 18px; height: 18px; flex: none; border: 2px solid var(--accent); border-radius: 50%; }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.local-card { position: relative; min-width: 0; padding: 28px 30px; border: 2px solid var(--ink); border-radius: 0; background: var(--sheet); outline: 1.5px dashed var(--ink); outline-offset: -8px; }
.local-card h4 { margin: 7px 0 20px; font: 800 clamp(25px, 2.8vw, 33px)/1.12 var(--display); letter-spacing: -.01em; }
.local-card-kicker { margin: 0; }
.local-card .local-copy { margin: 10px 0; color: var(--ink); }
.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: 1.5px dashed var(--ink); color: var(--muted); font-size: 14px; font-weight: 600; }
.local-link { display: inline-block; margin-top: 11px; padding: 10px 0; min-height: 44px; color: var(--accent-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: 13px 0 26px; border-bottom: 1.5px dashed var(--ink); }
.local-weather-lead > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px 22px; }
.local-big-temp { font: 800 clamp(76px, 11vw, 124px)/.86 var(--display); letter-spacing: -.04em; color: var(--accent-dark); }
.local-weather-condition { max-width: 200px; color: var(--ink); font-size: 18px; font-weight: 600; }
.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: 1.5px dashed var(--ink); }
.local-day { flex: 0 0 150px; padding: 0 14px; border-left: 1.5px dashed var(--ink); display: flex; flex-direction: column; gap: 5px; font-size: 14px; color: var(--muted); line-height: 1.3; }
.local-day:first-child { border-left: 0; }
.local-day strong { color: var(--ink); font-size: 15px; }
.local-day-temp { color: var(--accent-dark); font: 800 22px/1.2 var(--display); }
.local-small-label { margin: 22px 0 14px; }
.local-hour-strip { gap: 9px; }
.local-hour { flex: 0 0 94px; padding: 11px 10px; border: 1.5px solid var(--ink); background: var(--tissue); display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--muted); }
.local-hour strong { color: var(--ink); font: 800 21px/1.2 var(--display); }
.local-big-number { margin: 16px 0 8px; color: var(--accent-dark); font: 800 74px/.98 var(--display); letter-spacing: -.04em; }
.local-radar { margin: 19px 0 0; overflow: hidden; border: 2px solid var(--ink); background: #fff; }
.local-radar img { display: block; width: 100%; height: auto; }
.local-radar figcaption { padding: 6px 9px; color: var(--muted); font-size: 13px; border-top: 1.5px dashed var(--ink); background: var(--tissue); }
.local-alert, .local-advisory { display: flex; gap: 19px; padding: 24px 27px; margin-top: 21px; border: 3px solid var(--accent); border-radius: 0; background: var(--blush); }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-dark); color: #fff; font-weight: 800; }
.local-alert h3, .local-advisory h3 { margin: 7px 0 9px; font-size: 21px; line-height: 1.35; }
.local-alert p, .local-advisory p { margin-bottom: 0; }
.local-advisory { align-items: center; border: 2px solid var(--ink); background: var(--butter); }
.local-advisory-mark { flex: none; color: var(--ink); font-size: 41px; line-height: 1; }
.local-advisory h3 { font: 800 clamp(21px, 2.5vw, 28px)/1.2 var(--display); }
.local-advisory-alert { border: 3px solid var(--accent); background: var(--blush); }
.local-row { padding: 13px 0; border-bottom: 1.5px 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(--accent); 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: 35px; }
.local-market-name { display: block; font-size: 18px; }
.local-lottery { padding: 12px 0; border-bottom: 1.5px dashed var(--ink); display: flex; flex-direction: column; gap: 5px; }
.local-lottery strong { font: 800 21px/1.3 var(--display); letter-spacing: .03em; }

.mud-band { background: var(--tissue); overflow: hidden; padding: 0 20px; }
.mud-band + .local-board { margin-top: 0; }
.mud-art { display: block; width: 100%; max-width: 1180px; height: auto; margin: 0 auto; }

/* header strip on every page */
.site-header { border-bottom: 0; background: transparent; }
.header-inner { max-width: 1180px; margin: auto; padding: 14px 24px; 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: 600 17px/1.25 var(--text); }
.brand strong { display: block; font: 800 20px/1.2 var(--display); }
.brand-mark { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 50%; background: var(--accent); color: #fff; font: 800 22px/1 var(--display); outline: 1.5px dashed var(--ink); outline-offset: 3px; }
.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(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; cursor: pointer; }
.header-link span { color: var(--accent); }

/* inner pages: the pattern sheet */
.page-shell { max-width: 1180px; margin: 22px auto 60px; padding: 0 32px 70px; }
.page-shell { background: var(--tissue); border: 2.5px solid var(--ink); width: min(100% - 40px, 1180px); padding: 46px 32px 70px; }
.eyebrow { margin: 0 0 13px; color: var(--accent); font: 700 14px/1.3 var(--text); letter-spacing: .1em; text-transform: uppercase; }
.intro h1 { margin: 0; font: 800 clamp(38px, 5.2vw, 66px)/1.06 var(--display); letter-spacing: -.02em; position: relative; padding-left: 24px; }
.intro h1::before { content: ""; position: absolute; left: 0; top: .14em; bottom: .14em; width: 8px; background: var(--accent); }
.intro-copy { margin: 22px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); max-width: 670px; }

.options { margin-top: 55px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.option { min-width: 0; min-height: 247px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; border: 2px solid var(--ink); background: var(--sheet); outline: 1.5px dashed var(--ink); outline-offset: -8px; transition: transform .18s ease-out; }
.option:hover { transform: translateY(3px); }
.option-number { color: var(--accent); font: 700 14px/1.3 var(--text); text-transform: uppercase; letter-spacing: .1em; }
.option h2 { margin: 19px 0 7px; font: 800 clamp(24px, 2.7vw, 30px)/1.15 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: 0; color: #fff; background: var(--accent-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: 50px; padding: 40px; border: 2px solid var(--ink); background: var(--sheet); outline: 1.5px dashed var(--ink); outline-offset: -9px; }
.question-heading h2 { margin: 0; font: 800 clamp(30px, 4vw, 42px)/1.12 var(--display); }
.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 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 input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-grid textarea { min-height: 132px; 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: 600; min-height: 44px; }
.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(--accent-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: 52px; display: inline-flex; align-items: center; gap: 12px; border: 2px solid var(--ink); border-radius: 0; padding: 13px 22px; color: #fff; background: var(--accent-dark); font-weight: 700; font-size: 17px; 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(--accent-dark); font-weight: 700; font-size: 16px; }

.product-switch { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 20px; }
.product-switch a { display: inline-flex; align-items: center; min-height: 46px; border: 2px solid var(--ink); border-radius: 0; padding: 8px 18px; background: var(--sheet); font-weight: 700; text-decoration: none; }
.product-switch a:nth-child(1) { background: var(--sage); }
.product-switch a:nth-child(2) { background: var(--azure); }
.product-switch a:nth-child(3) { background: var(--butter); }
.product-switch a[aria-current="page"] { border-color: var(--accent-dark); color: #fff; background: var(--accent-dark); outline: 2px solid var(--ink); outline-offset: 3px; }
.quote-form fieldset { min-width: 0; margin: 20px 0; padding: 28px; border: 2px solid var(--ink); border-radius: 0; background: var(--sheet); outline: 1.5px dashed var(--ink); outline-offset: -8px; }
.quote-form legend { padding: 4px 12px; background: var(--butter); border: 2px solid var(--ink); font: 800 21px/1.25 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: 52px; border: 2px solid var(--ink); border-radius: 0; padding: 13px 22px; color: #fff; background: var(--accent-dark); font-weight: 700; font-size: 17px; 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(--accent-dark); font-weight: 700; }
.quote-results { margin: 30px 0 70px; padding: 28px; border: 2px solid var(--ink); background: var(--sheet); outline: 1.5px dashed var(--ink); outline-offset: -8px; }
.quote-results h2 { margin: 0 0 16px; font: 800 30px/1.15 var(--display); }
.quote-results article { border-top: 1.5px dashed var(--ink); padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; font: 800 22px/1.2 var(--display); }
.quote-results article p { margin: 4px 0 13px; }

.site-footer { max-width: 1180px; margin: 0 auto; padding: 22px 32px 38px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 15px; border-top: 0; }
.site-footer p { margin: 0; }
.site-footer > p:first-child { color: var(--ink); font-weight: 700; }
.site-footer a { text-underline-offset: 4px; display: inline-block; padding: 8px 0; color: var(--ink); font-weight: 600; }
.site-footer .footer-note { flex-basis: 100%; }

@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) {
  body { font-size: 17px; }
  .envelope, .page-shell { width: calc(100% - 20px); }
  .mud-band { padding: 0 10px; }
  .envelope { margin-top: 10px; }
  .header-inner { padding: 12px 14px; flex-wrap: wrap; gap: 6px 14px; }
  .brand { font-size: 15px; gap: 10px; }
  .brand strong { font-size: 17px; }
  .brand-mark { width: 42px; height: 42px; font-size: 19px; }
  .header-link { margin-left: auto; font-size: 15px; white-space: normal; text-align: right; }
  .env-plate { margin: 14px 12px 0; height: 128px; }
  .minimal-shell { padding: 24px 14px 22px; }
  .minimal-shell h1 { margin-bottom: 22px; padding-left: 20px; }
  .choice-grid { grid-template-columns: 1fr; gap: 12px; }
  .choice-grid a { min-height: 84px; padding: 18px 46px 18px 20px; }
  .page-shell { padding: 30px 14px 46px; }
  .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: 36px; padding: 26px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 19px; }
  .quote-form fieldset { padding: 22px 16px; }
  .site-footer { padding: 18px 16px 30px; }
  .local-wrap { padding: 46px 16px 56px; }
  .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: 24px 20px; }
  .local-weather-lead { gap: 14px; }
  .local-alert, .local-advisory { padding: 22px 18px; gap: 12px; }
  .local-day { flex-basis: 128px; }
}

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