@font-face { font-family: "Spectral"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/spectral-400.woff2) format("woff2"); }
@font-face { font-family: "Spectral"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/spectral-700.woff2) format("woff2"); }
@font-face { font-family: "Sorts Mill Goudy"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/sorts-mill-goudy-400.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --ink: #14110c;
  --muted: #433d33;
  --stock: #dde4d6;
  --stock-lift: #eef2e8;
  --line: #14110c;
  --paper: #dde4d6;
  --accent: #14110c;
  --accent-dark: #14110c;
  --ultra: #1f3a9a;
  --plate-rose: #f1d6d0;
  --plate-leaf: #d5e6d2;
  --plate-chrome: #f4b807;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --display: "Sorts Mill Goudy", "Spectral", Georgia, serif;
  --shoulder: 56px;
  --gap: 36px;
  --pad: 32px;
  --offset: calc(var(--pad) + var(--shoulder) + var(--gap));
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--stock); font-family: var(--serif); font-weight: 400; font-size: 17px; line-height: 1.62; font-synthesis: none; text-rendering: optimizeLegibility; }
a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
a:visited { color: var(--ink); }
button, input, select, textarea { font: inherit; }
em, i, cite { font-style: normal; }
:focus-visible { outline: 3px solid var(--ultra); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--stock); }

/* running head */
.site-header { border-top: 10px solid var(--ink); border-bottom: 4px double var(--ink); background: var(--stock); }
.header-inner { max-width: 1240px; margin: auto; padding: 16px var(--pad); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 16px; min-height: 48px; text-decoration: none; font-family: var(--serif); font-weight: 400; font-size: 17px; line-height: 1.2; letter-spacing: .02em; }
.brand strong { display: block; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.1; letter-spacing: 0; }
.brand-mark { display: grid; place-items: center; flex: none; width: 48px; height: 48px; background: var(--ink); color: var(--stock); font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; border-radius: 0 24px 24px 0; padding-right: 6px; }
.header-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; border: 0; padding: 0; background: transparent; color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 16px; line-height: 1.2; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.header-link::after { content: ""; flex: none; border-left: 9px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.header-link:hover { background: var(--ink); color: var(--stock); }
.header-link:hover::after { border-left-color: var(--stock); }
.header-link:active::after { transform: rotate(90deg); }

/* the spread: shoulder, column of entries, plate */
.folio { max-width: 1240px; margin: auto; padding: 44px var(--pad) 40px; display: grid; grid-template-columns: var(--shoulder) minmax(0, 1fr) minmax(280px, 400px); gap: var(--gap); align-items: start; }
.shoulder { position: sticky; top: 24px; border-right: 1px solid var(--ink); padding-right: 0; }
.shoulder svg { display: block; width: var(--shoulder); height: auto; margin-left: 0; }
.column { min-width: 0; max-width: 40rem; }
.plate { position: sticky; top: 24px; margin: 0; padding: 7px; border: 2px solid var(--ink); background: var(--stock-lift); }
.plate svg { display: block; width: 100%; height: auto; aspect-ratio: 420 / 560; outline: 1px solid var(--ink); }

.minimal-shell { width: auto; min-height: 0; margin: 0; padding: 0; display: block; }
.minimal-shell h1 { margin: 0 0 26px; padding-top: 14px; border-top: 5px solid var(--ink); font-family: var(--display); font-weight: 400; font-size: clamp(42px, 5.4vw, 70px); line-height: 1.0; letter-spacing: -.01em; }
.choice-grid { display: block; counter-reset: entry; border-bottom: 1px solid var(--ink); }
.choice-grid a { counter-increment: entry; position: relative; display: flex; align-items: baseline; gap: 16px; min-height: 60px; padding: 16px 12px 16px 0; border: 0; border-top: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.3; letter-spacing: 0; text-decoration: none; transition: none; }
.choice-grid a::before { content: counter(entry, decimal-leading-zero); flex: none; width: 2.2em; font-family: var(--display); font-weight: 400; font-size: 17px; line-height: 1; letter-spacing: .04em; color: var(--muted); }
.choice-grid a::after { content: ""; flex: none; margin-left: auto; align-self: center; border-left: 14px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.choice-grid a:nth-child(-n+3) { border-top: 4px solid var(--ink); min-height: 76px; align-items: center; font-size: 24px; line-height: 1.2; padding: 18px 12px 18px 0; }
.choice-grid a:nth-child(-n+3)::before { font-size: 22px; color: var(--ink); }
.choice-grid a:nth-child(4), .choice-grid a:nth-child(5) { border-top: 2px solid var(--ink); font-size: 20px; }
.choice-grid a[style] { justify-content: flex-start !important; text-align: left !important; align-items: baseline !important; }
.choice-grid a:nth-child(6) { font-weight: 400; font-size: 19px; }
.choice-grid a:nth-child(6)::after { border-left-width: 11px; border-top-width: 7px; border-bottom-width: 7px; }
.choice-grid a:hover { background: var(--ink); color: var(--stock); transform: none; box-shadow: none; padding-left: 12px; }
.choice-grid a:hover::before { color: var(--stock); }
.choice-grid a:hover::after { border-left-color: var(--stock); }
.choice-grid a:active::after { transform: rotate(90deg); }
.agency-line { margin: 0; padding: 16px 0 0; color: var(--muted); font-family: var(--serif); font-weight: 400; font-size: 16px; line-height: 1.5; letter-spacing: .02em; }
.agency-line a { color: var(--ink); font-weight: 700; }
.tally { margin: 30px 0 0; padding-top: 14px; border-top: 1px solid var(--ink); }
.tally svg { display: block; width: min(100%, 330px); height: auto; }

/* local board: a lexicon page; colour lives only in plates */
.local-board { border-top: 5px double var(--ink); background: var(--stock); color: var(--ink); }
.local-wrap { max-width: 1240px; margin: auto; padding: 56px var(--pad) 90px var(--offset); }
.local-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 14px 0 28px; border-top: 5px solid var(--ink); border-bottom: 1px solid var(--ink); }
.local-kicker, .local-card-kicker, .local-section-heading > span, .local-small-label { color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 14px; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; }
.local-kicker { margin: 0 0 14px; }
.local-kicker span { padding: 0 6px; }
.local-intro h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5vw, 62px); line-height: 1.0; letter-spacing: -.01em; }
.local-intro > div > p:last-child { max-width: 36rem; margin: 16px 0 0; color: var(--muted); font-size: 17px; }
.local-generated { flex: none; margin: 0 0 3px; color: var(--muted); font-family: var(--serif); font-weight: 400; font-size: 14px; line-height: 1.4; }
.local-section-heading { display: block; margin: 54px 0 0; padding-top: 10px; border-top: 5px solid var(--ink); }
.local-section-heading h3 { margin: 6px 0 14px; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; letter-spacing: 0; }
.local-section-heading > span { display: block; color: var(--muted); }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); border-top: 1px solid var(--ink); }
.local-card { min-width: 0; padding: 20px 0 24px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; box-shadow: none; }
.local-card h4 { margin: 6px 0 16px; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.1; letter-spacing: 0; }
.local-card-kicker { margin: 0; }
.local-card .local-copy { margin: 10px 0; color: var(--ink); font-size: 17px; max-width: 40rem; }
.local-card .local-subtle, .local-subtle { display: block; color: var(--muted); font-size: 14.5px; }
.local-source { margin: 20px 0 0; padding-top: 12px; border-top: 1px dotted var(--ink); color: var(--muted); font-family: var(--serif); font-weight: 400; font-size: 14px; line-height: 1.45; letter-spacing: .01em; }
.local-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 6px; color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 16px; line-height: 1.3; text-decoration: none; border-bottom: 2px solid var(--ink); }
.local-link::after { content: ""; flex: none; border-left: 10px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.local-link:hover { background: var(--ink); color: var(--stock); }
.local-link:hover::after { border-left-color: var(--stock); }
.local-link:active::after { transform: rotate(90deg); }
.local-wide { grid-column: 1 / -1; }
.local-weather-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; padding: 10px 0 24px; border-bottom: 1px solid var(--ink); }
.local-weather-lead > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 22px; }
.local-big-temp { font-family: var(--display); font-weight: 400; font-size: clamp(84px, 12vw, 140px); line-height: .85; letter-spacing: -.02em; color: var(--ink); }
.local-weather-condition { max-width: 200px; color: var(--ink); font-size: 18px; }
.local-weather-note { padding-bottom: 6px; display: flex; flex-direction: column; gap: 5px; color: var(--ink); 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: 20px 0; border-bottom: 1px solid var(--ink); }
.local-day { flex: 0 0 148px; padding: 0 16px; border-left: 0; border-right: 1px solid var(--ink); display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; color: var(--muted); line-height: 1.35; }
.local-day:first-child { padding-left: 0; }
.local-day:last-child { border-right: 0; }
.local-day strong { color: var(--ink); font-size: 16px; }
.local-day-temp { color: var(--ink); font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.1; }
.local-small-label { margin: 22px 0 12px; }
.local-hour-strip { gap: 8px; }
.local-hour { flex: 0 0 96px; padding: 10px 10px; border: 1px solid var(--ink); border-radius: 0; background: transparent; display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--muted); }
.local-hour strong { color: var(--ink); font-family: var(--display); font-weight: 400; font-size: 25px; line-height: 1.1; }
.local-big-number { margin: 14px 0 8px; color: var(--ink); font-family: var(--display); font-weight: 400; font-size: 82px; line-height: .95; letter-spacing: -.02em; }
.local-radar { margin: 18px 0 0; padding: 6px; overflow: hidden; border: 2px solid var(--ink); border-radius: 0; background: var(--stock-lift); }
.local-radar img { display: block; width: 100%; height: auto; outline: 1px solid var(--ink); }
.local-radar figcaption { padding: 7px 2px 1px; color: var(--muted); font-size: 14px; }
.local-alert, .local-advisory { display: flex; gap: 18px; padding: 22px 24px; margin-top: 22px; border: 2px solid var(--ink); border-radius: 0; background: var(--plate-rose); box-shadow: 6px 6px 0 var(--ink); }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--ink); border-radius: 0; background: var(--plate-chrome); color: var(--ink); font-weight: 700; font-size: 22px; }
.local-alert h3, .local-advisory h3 { margin: 4px 0 8px; font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.35; }
.local-alert p, .local-advisory p { margin-bottom: 0; }
.local-advisory { align-items: center; background: var(--plate-leaf); }
.local-advisory-mark { flex: none; color: var(--ink); font-size: 40px; line-height: 1; }
.local-advisory h3 { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.5vw, 30px); line-height: 1.2; }
.local-advisory-alert { background: var(--plate-rose); }
.local-row { padding: 4px 0 8px; border-bottom: 1px dotted var(--ink); }
.local-row:first-of-type { padding-top: 0; }
.local-row:last-of-type { border-bottom: 0; }
.local-row-title { display: block; padding: 8px 0 0; color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.4; text-decoration-color: var(--ink); text-underline-offset: 4px; }
.local-row-detail { display: block; margin-top: 2px; color: var(--muted); font-size: 14.5px; }
.local-news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
.local-market-name { display: block; font-size: 18px; }
.local-lottery { padding: 12px 0; border-bottom: 1px dotted var(--ink); display: flex; flex-direction: column; gap: 5px; }
.local-lottery strong { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.2; letter-spacing: .04em; }

/* quote and question pages: the same page, one column of entries after the shoulder */
.page-shell { position: relative; max-width: 1240px; margin: auto; padding: 48px var(--pad) 90px var(--offset); }
.page-shell::before { content: ""; position: absolute; left: var(--pad); top: 52px; width: 44px; height: 360px; background-image: linear-gradient(to bottom, var(--ink) 24px, transparent 24px); background-size: 100% 30px; background-repeat: repeat-y; }
.eyebrow { margin: 0 0 14px; padding-top: 10px; border-top: 5px solid var(--ink); color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 1.3; letter-spacing: .01em; text-transform: none; }
.intro { max-width: 46rem; }
.intro h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(42px, 5.4vw, 70px); line-height: 1.0; letter-spacing: -.01em; }
.intro-copy { margin: 20px 0 0; color: var(--muted); font-size: 19px; max-width: 40rem; }

.question-section { scroll-margin-top: 25px; margin-top: 46px; padding: 30px 32px 34px; border: 2px solid var(--ink); border-radius: 0; background: var(--stock-lift); max-width: 52rem; }
.question-form { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.form-grid label { display: flex; flex-direction: column; gap: 8px; font-family: var(--serif); font-weight: 700; font-size: 16px; line-height: 1.35; }
.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: #f6f9f1; font-family: var(--serif); font-weight: 400; font-size: 17px; line-height: 1.4; }
.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; font-size: 17px; 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: 3px 0 0; accent-color: var(--ink); }
.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, .quote-submit button, .quote-results button { min-height: 54px; display: inline-flex; align-items: center; gap: 14px; border: 2px solid var(--ink); border-radius: 0; padding: 12px 22px; color: var(--stock); background: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 1.2; letter-spacing: .02em; cursor: pointer; }
.form-bottom button:hover, .quote-submit button:hover, .quote-results button:hover { background: var(--stock-lift); color: var(--ink); }
.form-bottom button:active, .quote-submit button:active, .quote-results button:active { transform: translateY(2px); }
.quote-submit button:disabled, .quote-results button:disabled { cursor: wait; opacity: .6; }
.submit-note { max-width: 40rem; margin: 18px 0 0; color: var(--muted); font-size: 16px; }
.form-status, #quote-status { min-height: 24px; margin: 14px 0 0; color: var(--ink); font-weight: 700; font-size: 16px; }

.product-switch { display: flex; flex-wrap: wrap; gap: 0; margin: 36px 0 22px; }
.product-switch a { display: inline-flex; align-items: center; min-height: 48px; border: 2px solid var(--ink); border-left-width: 0; border-radius: 0; padding: 10px 20px; background: transparent; color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; }
.product-switch a:first-child { border-left-width: 2px; }
.product-switch a:hover { background: var(--ink); color: var(--stock); }
.product-switch a[aria-current="page"] { border-color: var(--ink); color: var(--stock); background: var(--ink); }
.product-switch a[aria-current="page"]::after { content: ""; margin-left: 12px; border-top: 7px solid var(--stock); border-left: 5px solid transparent; border-right: 5px solid transparent; }
.quote-form { max-width: 52rem; }
.quote-form fieldset { min-width: 0; margin: 20px 0; padding: 26px 28px 30px; border: 2px solid var(--ink); border-radius: 0; background: var(--stock-lift); }
.quote-form legend { padding: 0 10px; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.15; letter-spacing: 0; background: var(--stock); border: 0; }
.quote-form .form-grid { margin-top: 4px; }
.quote-submit { margin: 24px 0 55px; max-width: 46rem; }
.quote-results { margin: 30px 0 70px; max-width: 52rem; padding: 26px 28px; border: 2px solid var(--ink); border-radius: 0; background: var(--stock-lift); box-shadow: 6px 6px 0 var(--ink); }
.quote-results h2 { margin: 0 0 16px; font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.1; }
.quote-results article { border-top: 1px solid var(--ink); padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.3; }
.quote-results article p { margin: 4px 0 13px; }

.site-footer { border-top: 5px double var(--ink); max-width: 1240px; margin: auto; padding: 26px var(--pad) 40px var(--offset); display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 26px; color: var(--muted); font-family: var(--serif); font-weight: 400; font-size: 16px; line-height: 1.5; }
.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%; }

@media (min-width: 1100px) {
  .home-shell .agency-line { max-width: 40rem; }
}

@media (max-width: 1000px) {
  :root { --pad: 24px; --shoulder: 40px; --gap: 26px; }
  .folio { grid-template-columns: var(--shoulder) minmax(0, 1fr); }
  .plate { grid-column: 1 / -1; grid-row: 1; position: static; max-width: 560px; justify-self: center; width: 100%; margin-bottom: 14px; }
  .plate svg { aspect-ratio: 420 / 340; }
  .shoulder { grid-row: 2; }
  .column { grid-row: 2; max-width: none; }
  .local-intro { align-items: flex-start; flex-direction: column; gap: 14px; }
}

@media (max-width: 700px) {
  :root { --pad: 20px; --shoulder: 0px; --gap: 18px; --offset: 20px; }
  .header-inner { padding: 14px var(--pad); flex-wrap: wrap; gap: 8px 16px; }
  .brand { font-size: 15px; gap: 12px; }
  .brand strong { font-size: 21px; }
  .brand-mark { width: 44px; height: 44px; font-size: 26px; }
  .header-link { margin-left: 0; font-size: 14px; letter-spacing: .04em; white-space: normal; }
  .folio { grid-template-columns: minmax(0, 1fr); padding: 26px var(--pad) 30px; }
  .shoulder { display: none; }
  .plate { max-width: none; }
  .plate svg { aspect-ratio: 420 / 300; }
  .column { grid-row: 2; }
  .choice-grid a { gap: 12px; padding-right: 6px; font-size: 18px; }
  .choice-grid a:nth-child(-n+3) { font-size: 21px; min-height: 68px; }
  .choice-grid a::before { width: 1.9em; }
  .page-shell { padding: 34px var(--pad) 64px; }
  .page-shell::before { display: none; }
  .question-section { padding: 22px 18px 26px; margin-top: 34px; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .quote-form fieldset { padding: 20px 16px 24px; }
  .quote-form legend { font-size: 25px; }
  .local-wrap { padding: 44px var(--pad) 64px; }
  .local-grid, .local-weather-lead, .local-news-list { grid-template-columns: 1fr; }
  .local-section-heading { margin-top: 40px; }
  .local-alert, .local-advisory { padding: 18px 16px; gap: 12px; box-shadow: 4px 4px 0 var(--ink); }
  .local-day { flex-basis: 132px; }
  .site-footer { padding: 22px var(--pad) 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
