@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/barlow-condensed-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/barlow-condensed-700.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/atkinson-hyperlegible-400.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/atkinson-hyperlegible-700.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --ink: #1b2630;
  --muted: #424f58;
  --line: #8f9aa0;
  --paper: #fbf8f0;
  --granite: #d3cabc;
  --slate: #1f2b34;
  --rust: #8f3b1c;
  --rust-dark: #75300f;
  --lake: #1b5a7a;
  --sage: #476345;
  --accent: #8f3b1c;
  --accent-dark: #75300f;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --text: "Atkinson Hyperlegible", Verdana, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font: 17px/1.6 var(--text);
  background:
    radial-gradient(circle at 10% 14%, transparent 0 70px, rgba(143,59,28,.17) 70px 86px, transparent 86px 118px, rgba(27,90,122,.15) 118px 134px, transparent 134px 176px, rgba(71,99,69,.16) 176px 194px, transparent 194px),
    radial-gradient(circle at 92% 72%, transparent 0 60px, rgba(27,90,122,.15) 60px 76px, transparent 76px 110px, rgba(143,59,28,.15) 110px 128px, transparent 128px 170px, rgba(71,99,69,.15) 170px 188px, transparent 188px),
    var(--granite);
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--lake); outline-offset: 3px; }
.site-header :focus-visible, .comb-band :focus-visible { outline-color: #f6d27a; }

/* header: slate bar with a strip of coloured tape along its foot */
.site-header { position: relative; background: var(--slate); color: #f6f1e6; border-bottom: 0; }
.site-header::after { content: ""; display: block; height: 8px; background: linear-gradient(90deg, #b4532a 0 22%, #e0a93f 22% 44%, #7f9a74 44% 66%, #3d86a8 66% 88%, #c98a86 88%); }
.header-inner { max-width: 1180px; margin: auto; padding: 16px 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px 20px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; text-decoration: none; color: #f6f1e6; font-size: 17px; line-height: 1.2; }
.brand strong { display: block; font: 700 25px/1.05 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.brand-mark { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: #f6f1e6; color: var(--slate); font: 700 27px/1 var(--display); box-shadow: 0 0 0 3px var(--slate), 0 0 0 5px #e0a93f; }
.header-link { display: inline-flex; align-items: center; min-height: 44px; border: 0; padding: 0; background: transparent; color: #f6f1e6; white-space: nowrap; font-weight: 700; text-decoration: underline; text-decoration-color: #e0a93f; text-decoration-thickness: 2px; text-underline-offset: 6px; cursor: pointer; }
.header-link:hover { color: #f6d27a; }
.header-link span { color: #f6d27a; }

/* the bath: floated, combed pigment; the page is the sheet lifted off it */
.bath { position: relative; isolation: isolate; overflow: hidden; background: var(--slate); }
.bath > svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.bath::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(211,202,188,.5), rgba(211,202,188,.25) 55%, rgba(31,43,52,.35)); }
.comb-band { height: clamp(58px, 9vw, 110px); overflow: hidden; background: var(--slate); border-top: 6px solid var(--slate); border-bottom: 6px solid var(--slate); }
.comb-band svg { display: block; width: 100%; height: 100%; }

.minimal-shell { position: relative; width: min(100% - 40px, 1060px); margin: clamp(28px, 6vw, 76px) auto; padding: clamp(26px, 4.5vw, 58px); display: flex; flex-direction: column; background: var(--paper); border-radius: 3px; box-shadow: 0 0 0 1px #6f7a80, 0 2px 0 3px #efe9db, 0 24px 48px rgba(20,28,34,.45); }
.minimal-shell h1 { margin: 0 0 clamp(26px, 4vw, 44px); font: 700 clamp(50px, 9.4vw, 118px)/.92 var(--display); letter-spacing: .005em; text-transform: uppercase; color: var(--slate); }
.minimal-shell h1::after { content: ""; display: block; width: clamp(110px, 18vw, 220px); height: 10px; margin-top: 20px; background: linear-gradient(90deg, #b4532a 0 25%, #e0a93f 25% 50%, #7f9a74 50% 75%, #3d86a8 75%); }

/* choice cards: foam crash-pad panels with a taped route tag on the edge */
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 20px; }
.choice-grid a { position: relative; min-height: 132px; padding: 38px 22px 20px; display: flex; align-items: flex-end; border: 2px solid var(--slate); border-radius: 12px; background: #fff; color: var(--ink); font: 700 clamp(20px, 2vw, 23px)/1.2 var(--text); text-decoration: none; transition: transform .18s, box-shadow .18s, background-color .18s; }
.choice-grid a::before { content: ""; position: absolute; inset: 6px; border: 2px dashed #a9b1b4; border-radius: 7px; pointer-events: none; }
.choice-grid a::after { content: ""; position: absolute; top: -13px; left: 20px; width: 74px; height: 24px; background: var(--tape, #b4532a); transform: rotate(-2.2deg); clip-path: polygon(0 0, 4% 30%, 0 60%, 3% 100%, 97% 100%, 100% 62%, 96% 32%, 100% 0); box-shadow: 0 1px 0 rgba(0,0,0,.25); }
.choice-grid a:nth-child(1) { --tape: #b4532a; }
.choice-grid a:nth-child(2) { --tape: #e0a93f; }
.choice-grid a:nth-child(3) { --tape: #3d86a8; }
.choice-grid a:nth-child(4) { --tape: #7f9a74; }
.choice-grid a:nth-child(5) { --tape: #c98a86; }
.choice-grid a:nth-child(6) { --tape: #25323c; }
.choice-grid a:hover { background: #f3ecdd; transform: translateY(-3px); box-shadow: 5px 6px 0 var(--slate); }
.choice-grid a:hover::before { border-color: var(--rust); }
.agency-line { margin: 34px 0 0; padding-top: 18px; border-top: 3px double #8f9aa0; color: var(--muted); font-size: 16px; font-weight: 700; }
.agency-line a { display: inline-block; padding: 8px 0; text-underline-offset: 4px; }

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

/* local board */
.local-board { border-top: 0; background: #ece5d7; color: var(--ink); }
.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 34px; border-bottom: 4px solid var(--slate); }
.local-kicker, .local-card-kicker, .local-section-heading > span, .local-small-label { color: var(--rust); font: 700 15px/1.3 var(--text); letter-spacing: .08em; text-transform: uppercase; }
.local-kicker { margin: 0 0 14px; }
.local-kicker span { padding: 0 7px; }
.local-intro h2 { margin: 0; font: 700 clamp(46px, 7vw, 92px)/.94 var(--display); letter-spacing: .005em; text-transform: uppercase; color: var(--slate); }
.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: 15px; font-weight: 700; }
.local-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 64px 0 22px; padding-bottom: 10px; border-bottom: 2px dashed #7d8a90; }
.local-section-heading h3 { margin: 0; font: 700 clamp(32px, 4vw, 48px)/1 var(--display); letter-spacing: .01em; text-transform: uppercase; color: var(--slate); }
.local-section-heading > span { color: var(--rust); }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.local-card { position: relative; min-width: 0; padding: 30px 30px 28px; border: 2px solid var(--slate); border-radius: 12px; background: #fffdf8; box-shadow: 4px 5px 0 rgba(31,43,52,.85); }
.local-card h4 { margin: 6px 0 20px; font: 700 clamp(28px, 3vw, 36px)/1.05 var(--display); letter-spacing: .015em; text-transform: uppercase; color: var(--slate); }
.local-card-kicker { margin: 0; }
.local-card .local-copy { margin: 10px 0; color: #2c3842; }
.local-card .local-subtle, .local-subtle { display: block; color: var(--muted); font-size: 15px; }
.local-source { margin: 26px 0 0; padding-top: 14px; border-top: 2px dotted #8f9aa0; color: var(--muted); font-size: 14px; font-weight: 700; }
.local-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; color: var(--rust); font-size: 16px; font-weight: 700; text-underline-offset: 4px; }
.local-link:hover { color: var(--rust-dark); }
.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: 2px dotted #8f9aa0; }
.local-weather-lead > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px 22px; }
.local-big-temp { font: 700 clamp(84px, 12vw, 140px)/.82 var(--display); letter-spacing: -.01em; color: var(--rust); }
.local-weather-condition { max-width: 210px; color: #2c3842; font-size: 19px; }
.local-weather-note { padding-bottom: 7px; display: flex; flex-direction: column; gap: 5px; color: #2c3842; 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 dotted #8f9aa0; }
.local-day { flex: 0 0 150px; padding: 0 14px; border-left: 2px dotted #8f9aa0; display: flex; flex-direction: column; gap: 5px; font-size: 14px; color: var(--muted); line-height: 1.35; }
.local-day:first-child { padding-left: 0; border-left: 0; }
.local-day strong { color: var(--ink); font-size: 16px; }
.local-day-temp { color: var(--rust); font: 700 28px/1 var(--display); }
.local-small-label { margin: 23px 0 14px; }
.local-hour-strip { gap: 9px; }
.local-hour { flex: 0 0 96px; padding: 11px 10px; border: 2px solid #b9b2a4; border-radius: 8px; background: #f3ecdd; display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--muted); }
.local-hour strong { color: var(--ink); font: 700 28px/1 var(--display); }
.local-big-number { margin: 14px 0 8px; color: var(--rust); font: 700 84px/.92 var(--display); letter-spacing: -.01em; }
.local-radar { margin: 19px 0 0; overflow: hidden; border: 4px solid var(--slate); border-radius: 6px; background: #fff; }
.local-radar img { display: block; width: 100%; height: auto; }
.local-radar figcaption { padding: 8px 10px; background: var(--paper); color: var(--muted); font-size: 13px; }
.local-alert, .local-advisory { display: flex; gap: 19px; padding: 24px 27px; margin-top: 21px; border: 2px solid #8f3b1c; border-radius: 12px; background: #fbe8dc; color: var(--ink); }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #8c2f1b; color: #fff; font-weight: 700; }
.local-alert h3, .local-advisory h3 { margin: 7px 0 9px; font-size: 21px; line-height: 1.3; }
.local-alert p, .local-advisory p { margin-bottom: 0; }
.local-advisory { align-items: center; border-color: var(--sage); background: #e3ecd9; }
.local-advisory-mark { flex: none; color: #6a4410; font-size: 41px; line-height: 1; }
.local-advisory h3 { font: 700 clamp(25px, 2.8vw, 33px)/1.1 var(--display); letter-spacing: .015em; text-transform: uppercase; }
.local-advisory-alert { border-color: #8f3b1c; background: #fbe8dc; }
.local-row { padding: 13px 0; border-bottom: 2px dotted #b4ad9f; }
.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: #b4532a; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.local-row-title:hover { color: var(--rust-dark); }
.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 dotted #b4ad9f; display: flex; flex-direction: column; gap: 5px; }
.local-lottery strong { font: 700 26px/1.1 var(--display); letter-spacing: .06em; }

/* inner pages: the same sheet on the same granite ground */
.page-shell { position: relative; width: min(100% - 40px, 1120px); max-width: none; margin: clamp(26px, 5vw, 60px) auto clamp(34px, 6vw, 72px); padding: clamp(26px, 4.5vw, 58px); background: var(--paper); border-radius: 3px; box-shadow: 0 0 0 1px #6f7a80, 0 2px 0 3px #efe9db, 0 22px 44px rgba(20,28,34,.35); }
.eyebrow { margin: 0 0 12px; display: flex; align-items: center; gap: 12px; color: var(--rust); font: 700 18px/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; flex: none; width: 34px; height: 8px; background: linear-gradient(90deg, #b4532a 0 33%, #e0a93f 33% 66%, #3d86a8 66%); }
.intro h1 { margin: 0; font: 700 clamp(46px, 8vw, 96px)/.95 var(--display); letter-spacing: .005em; text-transform: uppercase; color: var(--slate); }
.intro-copy { margin: 22px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); max-width: 680px; }

.options { margin-top: 50px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.option { min-width: 0; min-height: 247px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; border: 2px solid var(--slate); border-radius: 12px; background: #fff; transition: transform .18s, box-shadow .18s; }
.option:hover { transform: translateY(-3px); box-shadow: 5px 6px 0 var(--slate); }
.option-number { color: var(--rust); font: 700 18px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.option h2 { margin: 18px 0 8px; font: 700 clamp(28px, 3vw, 36px)/1.05 var(--display); 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: 8px; color: #fff; background: var(--rust-dark); font-weight: 700; font-size: 16px; line-height: 1.25; text-decoration: none; text-align: left; cursor: pointer; }
.option-action:hover { background: #4f2008; }
.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: 54px; padding: clamp(22px, 4vw, 44px); border: 2px solid var(--slate); border-radius: 12px; background: #fff; position: relative; }
.question-section::before { content: ""; position: absolute; inset: 6px; border: 2px dashed #a9b1b4; border-radius: 7px; pointer-events: none; }
.question-section > * { position: relative; }
.question-heading h2 { margin: 0; font: 700 clamp(34px, 4.4vw, 52px)/1 var(--display); 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 22px; }
.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 #4d5961; border-radius: 6px; 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(--lake); outline: 3px solid #9cc7dc; outline-offset: 0; }
.form-grid input, .form-grid select { min-height: 52px; }
.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: 2px 0 0; accent-color: var(--rust-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: 0; border-radius: 8px; padding: 13px 24px; color: #fff; background: var(--rust-dark); font-weight: 700; font-size: 18px; cursor: pointer; box-shadow: 4px 5px 0 var(--slate); }
.form-bottom button:hover { background: #4f2008; }
.submit-note { max-width: 640px; margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.form-status { min-height: 22px; margin: 13px 0 0; color: var(--rust-dark); font-weight: 700; font-size: 16px; }

.product-switch { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 20px; }
.product-switch a { display: inline-flex; align-items: center; min-height: 46px; border: 2px solid var(--slate); border-radius: 8px; padding: 8px 18px; background: #fff; font-weight: 700; text-decoration: none; }
.product-switch a:hover { background: #f3ecdd; }
.product-switch a[aria-current="page"] { border-color: var(--slate); color: #fff; background: var(--slate); }
.quote-form fieldset { position: relative; min-width: 0; margin: 26px 0; padding: 34px 26px 28px; border: 2px dashed #5d6a72; border-radius: 12px; background: #fff; }
.quote-form legend { padding: 4px 14px; border-radius: 4px; background: var(--slate); color: #f6f1e6; font: 700 24px/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.quote-form .form-grid { margin-top: 4px; }
.quote-submit { margin: 22px 0 50px; max-width: 740px; }
.quote-submit button, .quote-results button { min-height: 54px; border: 0; border-radius: 8px; padding: 13px 24px; color: #fff; background: var(--rust-dark); font-weight: 700; font-size: 18px; cursor: pointer; box-shadow: 4px 5px 0 var(--slate); }
.quote-submit button:hover, .quote-results button:hover { background: #4f2008; }
.quote-submit button:disabled, .quote-results button:disabled { cursor: wait; opacity: .65; }
#quote-status { color: var(--rust-dark); font-weight: 700; }
.quote-results { margin: 30px 0 60px; padding: 28px; border: 2px solid var(--slate); border-radius: 12px; background: #fff; }
.quote-results h2 { margin: 0 0 16px; font: 700 36px/1.05 var(--display); text-transform: uppercase; }
.quote-results article { border-top: 2px dotted #8f9aa0; padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; }
.quote-results article p { margin: 4px 0 13px; }

.site-footer { max-width: none; margin: 0; padding: 28px max(20px, calc((100% - 1120px) / 2)) 36px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; background: var(--slate); color: #e8e2d4; font-size: 16px; border-top: 8px solid #b4532a; }
.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; text-underline-offset: 4px; }
.site-footer a:hover { color: #f6d27a; }
.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; }
  .header-inner { padding: 14px 16px; flex-wrap: wrap; gap: 4px 14px; }
  .brand { font-size: 14px; gap: 10px; }
  .brand strong { font-size: 22px; }
  .brand-mark { width: 42px; height: 42px; font-size: 24px; }
  .header-link { margin-left: auto; font-size: 15px; white-space: normal; text-align: right; }
  .minimal-shell, .page-shell { width: calc(100% - 24px); margin-top: 18px; padding: 24px 18px 26px; }
  .page-shell { margin-bottom: 30px; }
  .options { margin-top: 37px; grid-template-columns: 1fr; gap: 14px; }
  .option { min-height: 0; padding: 23px; }
  .option .option-action { margin-top: 20px; }
  .question-section { margin-top: 40px; padding: 26px 16px; }
  .form-grid { grid-template-columns: 1fr; gap: 19px; }
  .quote-form fieldset { padding: 30px 16px 22px; }
  .site-footer { padding: 24px 16px 30px; }
  .choice-grid { grid-template-columns: 1fr; gap: 26px; }
  .choice-grid a { min-height: 92px; padding: 34px 18px 16px; }
  .comb-band { height: 56px; }
  .local-wrap { padding: 54px 16px 70px; }
  .local-section-heading { margin-top: 48px; align-items: flex-start; flex-direction: column; gap: 6px; }
  .local-grid, .local-weather-lead, .local-news-list { grid-template-columns: 1fr; }
  .local-card { padding: 24px 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; }
  .option, .choice-grid a { transition: none; }
  .choice-grid a:hover, .option:hover { transform: none; }
}
