@font-face { font-family: "Bowlby One"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/bowlby-one-400.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/atkinson-hyperlegible-400.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/atkinson-hyperlegible-700.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --table: #5e2616;
  --table-lift: #6c2e1b;
  --paper: #e8edf7;
  --paper-2: #f7f9fd;
  --ghost: #a9b6cf;
  --ghost-line: #8796b6;
  --ink: #15203b;
  --muted: #44506b;
  --rust: #b5391c;
  --rust-deep: #8e2a12;
  --cobalt: #1d45c8;
  --cobalt-deep: #16349a;
  --mustard: #f3b61f;
  --sage: #2e7658;
  --azure: #8ec5f0;
  --plum: #6b2d8b;
  --on-table: #f7ece6;
  --display: "Bowlby One", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --text: "Atkinson Hyperlegible", "Segoe UI", Verdana, Arial, sans-serif;
  --line: var(--ghost-line);
  --accent: var(--rust);
  --accent-dark: var(--rust);
}

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

/* ---------- the album spread on the home page ---------- */
.table { padding: 28px 0 8px; }
.sheet {
  position: relative;
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto auto auto auto 1fr;
  background-color: var(--paper);
  background-image: radial-gradient(circle at 1px 1px, rgba(68, 80, 107, .16) 1px, transparent 1.6px);
  background-size: 22px 22px;
  border-radius: 30px;
  box-shadow: 0 2px 0 #fff inset, 0 10px 0 -2px rgba(0, 0, 0, .22), 0 26px 40px rgba(0, 0, 0, .36);
  overflow: hidden;
}
.sheet::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 70px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .08) 38%, rgba(0, 0, 0, .2) 50%, rgba(255, 255, 255, .5) 52%, rgba(0, 0, 0, .06) 62%, transparent);
  pointer-events: none;
}
.sheet > .site-header { grid-area: 1 / 1 / 2 / 3; margin: 0; width: auto; border-radius: 0; box-shadow: none; position: relative; z-index: 2; }
.sheet > .home-shell { display: contents; }
.sheet h1 { grid-area: 2 / 1; align-self: start; }
.sheet .plate { grid-area: 3 / 1; }
.sheet .row-slots { grid-area: 4 / 1; }
.sheet .agency-line { grid-area: 5 / 1; align-self: start; }
.sheet .ghosts, .sheet .choice-grid { grid-area: 2 / 2 / 7 / 3; }

.minimal-shell h1, .intro h1 {
  margin: 0;
  color: var(--cobalt);
  font-family: var(--display); font-weight: 400; font-size: clamp(38px, 4.3vw, 62px); line-height: 1.02;
  letter-spacing: .005em;
  -webkit-text-stroke: 9px #fff;
  paint-order: stroke fill;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .22);
}
.sheet h1 { padding: 40px 44px 12px 48px; }
.plate { padding: 8px 44px 8px 48px; }
.plate .art { display: block; width: 100%; max-width: 470px; height: auto; margin: 0 auto; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .2)) drop-shadow(0 12px 12px rgba(0, 0, 0, .22)); transform: rotate(-1.2deg); }
.row-slots { padding: 18px 44px 6px 48px; }
.row-slots .art { display: block; width: 100%; max-width: 470px; height: auto; margin: 0 auto; }
.agency-line { margin: 0; padding: 14px 44px 40px 48px; color: var(--muted); font-size: 17px; font-weight: 700; }
.agency-line a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 2px; display: inline-block; min-height: 24px; }

/* six numbered slots: the sticker sits proud of its ghost outline and presses down into it */
.ghosts, .choice-grid {
  counter-reset: slot;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 176px;
  gap: 32px 30px;
  padding: 40px 50px 44px 40px;
  align-content: start;
  margin: 0;
}
.ghosts { pointer-events: none; z-index: 0; }
.ghosts i {
  counter-increment: slot;
  position: relative;
  display: block;
  border: 3px dashed var(--ghost-line);
  border-radius: 28px;
}
.ghosts i::before {
  content: counter(slot, decimal-leading-zero);
  position: absolute;
  right: 14px; bottom: 8px;
  color: var(--ghost-line);
  font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1;
}
.choice-grid { position: relative; z-index: 1; }
.choice-grid a {
  counter-increment: slot;
  position: relative;
  isolation: isolate;
  min-height: 0;
  padding: 18px 20px 18px 20px;
  display: flex;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  text-align: left !important;
  border: 5px solid #fff;
  border-radius: 28px;
  background: var(--rust);
  color: #fff;
  font-family: var(--display); font-weight: 400; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.2;
  letter-spacing: .01em;
  text-decoration: none;
  overflow: hidden;
  transform: translate(-7px, -9px) rotate(-1.1deg);
  box-shadow: 0 5px 0 rgba(0, 0, 0, .32), 0 14px 16px rgba(0, 0, 0, .3);
  transition: transform .22s cubic-bezier(.3, 1.6, .5, 1), box-shadow .22s ease, background-color .2s;
}
.choice-grid a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(118deg, rgba(255, 255, 255, .34) 0, rgba(255, 255, 255, .34) 18%, rgba(255, 255, 255, 0) 19%) , linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 46%);
}
.choice-grid a::after {
  content: counter(slot, decimal-leading-zero);
  position: absolute;
  top: 10px; right: 14px;
  font-family: var(--display); font-weight: 400; font-size: 19px; line-height: 1;
  opacity: .92;
}
.choice-grid a:nth-child(2) { background: var(--cobalt); border-radius: 44px 14px 44px 14px; transform: translate(-7px, -9px) rotate(.9deg); }
.choice-grid a:nth-child(3) { background: var(--mustard); color: var(--ink); border-radius: 20px 40px 20px 40px; transform: translate(-7px, -9px) rotate(-.7deg); }
.choice-grid a:nth-child(4) { background: var(--sage); border-radius: 34px; transform: translate(-7px, -9px) rotate(1.2deg); }
.choice-grid a:nth-child(5) { background: var(--azure); color: var(--ink); border-radius: 14px 44px 14px 44px; transform: translate(-7px, -9px) rotate(-1.3deg); }
.choice-grid a:nth-child(6) { background: var(--plum); border-radius: 40px 20px 40px 20px; transform: translate(-7px, -9px) rotate(.6deg); }
.choice-grid a:hover, .choice-grid a:focus-visible, .choice-grid a:active {
  transform: translate(0, 0) rotate(0);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .3);
}
.choice-grid a:nth-child(n):hover, .choice-grid a:nth-child(n):focus-visible, .choice-grid a:nth-child(n):active { transform: translate(0, 0) rotate(0); }
.choice-grid a:focus-visible { outline: 4px solid var(--ink); outline-offset: 5px; }

/* ---------- the local board lies on the same table ---------- */
.local-board { border-top: 0; background: transparent; color: var(--ink); }
.local-wrap { width: min(100% - 32px, 1180px); max-width: none; margin: auto; padding: 78px 0 34px; }
#city-notes .local-wrap { padding: 20px 0 74px; }
.local-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 0 0 12px; border-bottom: 3px dashed rgba(247, 236, 230, .38); }
.local-kicker, .local-card-kicker, .local-small-label { font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.local-kicker { margin: 0 0 14px; color: var(--mustard); }
.local-kicker span { padding: 0 6px; }
.local-intro h2 { margin: 0; color: #fff; font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5vw, 66px); line-height: 1.02; letter-spacing: .005em; }
.local-intro > div > p:last-child { max-width: 560px; margin: 18px 0 0; color: var(--on-table); font-size: 18px; }
.local-generated { flex: none; margin: 0 0 3px; color: var(--on-table); font-size: 15px; font-weight: 700; }
.local-section-heading {
  display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 12px 20px;
  margin: 58px 0 24px; padding: 12px 14px 12px 26px;
  background-color: var(--paper); background-image: radial-gradient(circle at 1px 1px, rgba(68, 80, 107, .16) 1px, transparent 1.6px); background-size: 22px 22px;
  border: 4px solid #fff; border-radius: 24px 24px 24px 8px;
  box-shadow: 0 5px 0 rgba(0, 0, 0, .3), 0 12px 14px rgba(0, 0, 0, .22);
}
.local-section-heading h3 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.1; letter-spacing: .005em; }
.local-section-heading > span { flex: none; padding: 8px 16px; min-height: 36px; background: var(--cobalt); color: #fff; border-radius: 999px; border: 3px solid #fff; box-shadow: 0 3px 0 rgba(0, 0, 0, .3); font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 26px; }
.local-card {
  min-width: 0; position: relative; padding: 28px 30px 26px;
  background-color: var(--paper); background-image: radial-gradient(circle at 1px 1px, rgba(68, 80, 107, .14) 1px, transparent 1.6px); background-size: 22px 22px;
  border: 0; border-radius: 26px;
  box-shadow: 0 2px 0 #fff inset, 0 7px 0 rgba(0, 0, 0, .26), 0 18px 24px rgba(0, 0, 0, .28);
}
.local-card h4 { margin: 8px 0 20px; color: var(--ink); font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.4vw, 29px); line-height: 1.1; letter-spacing: .005em; }
.local-card-kicker { margin: 0; color: var(--rust-deep); }
.local-card .local-copy { margin: 10px 0; color: var(--ink); 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: 3px dashed var(--ghost); 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(--cobalt-deep); font-size: 16px; font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.local-wide { grid-column: 1 / -1; }
.local-weather-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; padding: 6px 0 24px; border-bottom: 3px dashed var(--ghost); }
.local-weather-lead > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px 22px; }
.local-big-temp { color: var(--cobalt); font-family: var(--display); font-weight: 400; font-size: clamp(68px, 9vw, 112px); line-height: .9; -webkit-text-stroke: 7px #fff; paint-order: stroke fill; text-shadow: 0 4px 0 rgba(0, 0, 0, .2); }
.local-weather-condition { max-width: 200px; color: var(--muted); font-size: 17px; }
.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; padding-bottom: 8px; }
.local-day-strip { gap: 12px; padding: 22px 6px 14px 0; }
.local-day { flex: 0 0 150px; padding: 12px 14px 14px; border: 0; border-bottom: 5px dashed var(--ghost-line); border-radius: 0; background: var(--paper-2); display: flex; flex-direction: column; gap: 5px; font-size: 15px; color: var(--muted); line-height: 1.3; }
.local-day:first-child { background: #fff; border-bottom: 5px solid var(--rust); }
.local-day strong { color: var(--ink); font-size: 16px; }
.local-day-temp { color: var(--rust-deep); font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.1; }
.local-small-label { margin: 20px 0 12px; color: var(--cobalt-deep); }
.local-hour-strip { gap: 10px; }
.local-hour { flex: 0 0 96px; padding: 11px 10px 12px; border: 0; border-radius: 0; background: var(--azure); display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--ink); }
.local-hour:nth-child(3n+2) { background: var(--mustard); }
.local-hour:nth-child(3n) { background: #fff; }
.local-hour strong { color: var(--ink); font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.1; }
.local-big-number { margin: 12px 0 8px; color: var(--rust); font-family: var(--display); font-weight: 400; font-size: 66px; line-height: 1; -webkit-text-stroke: 6px #fff; paint-order: stroke fill; text-shadow: 0 3px 0 rgba(0, 0, 0, .2); }
.local-radar { margin: 19px 0 0; overflow: hidden; border: 0; border-radius: 0; background: #fff; }
.local-radar img { display: block; width: 100%; height: auto; }
.local-radar figcaption { padding: 8px 10px 4px; color: var(--muted); font-size: 14px; font-weight: 700; }
.local-alert, .local-advisory { display: flex; gap: 19px; padding: 22px 26px; margin-top: 26px; border: 4px solid #fff; border-radius: 24px; background: #ffe9a8; color: var(--ink); box-shadow: 0 5px 0 rgba(0, 0, 0, .3), 0 14px 18px rgba(0, 0, 0, .22); }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rust); color: #fff; font-weight: 700; border: 3px solid #fff; }
.local-alert h3, .local-advisory h3 { margin: 6px 0 8px; color: var(--ink); font-size: 20px; line-height: 1.35; }
.local-alert p, .local-advisory p { margin-bottom: 0; color: var(--ink); }
.local-advisory { align-items: center; background: #d6eafb; }
.local-advisory-mark { flex: none; color: var(--rust-deep); font-size: 41px; line-height: 1; }
.local-advisory h3 { font-family: var(--display); font-weight: 400; font-size: clamp(19px, 2.2vw, 25px); line-height: 1.2; }
.local-advisory-alert { background: #ffe9a8; }
.local-row { padding: 13px 0; border-bottom: 3px dashed var(--ghost); }
.local-row:first-of-type { padding-top: 0; }
.local-row:last-of-type { border-bottom: 0; }
.local-row-title { display: block; color: var(--cobalt-deep); font-size: 17px; font-weight: 700; line-height: 1.35; text-decoration-color: var(--cobalt-deep); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.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: 3px dashed var(--ghost); display: flex; flex-direction: column; gap: 5px; }
.local-lottery strong { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.2; letter-spacing: .03em; color: var(--ink); }

/* ---------- running head (shared by every page) ---------- */
.site-header {
  position: relative;
  width: min(100% - 32px, 1180px);
  margin: 28px auto 0;
  border-radius: 30px 30px 0 0;
  background-color: var(--paper);
  background-image: radial-gradient(circle at 1px 1px, rgba(68, 80, 107, .16) 1px, transparent 1.6px);
  background-size: 22px 22px;
  box-shadow: 0 2px 0 #fff inset;
}
.header-inner { padding: 18px 40px 16px 44px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 3px dashed var(--ghost-line); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-size: 16px; line-height: 1.25; color: var(--ink); min-height: 48px; }
.brand strong { display: block; font-family: var(--display); font-weight: 400; font-size: 19px; line-height: 1.15; letter-spacing: .005em; }
.brand-mark { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border: 4px solid #fff; border-radius: 16px 16px 16px 6px; background: var(--cobalt); color: #fff; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1; transform: rotate(-4deg); box-shadow: 0 4px 0 rgba(0, 0, 0, .3); }
.header-link { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 20px; border: 4px solid #fff; border-radius: 999px; background: var(--mustard); color: var(--ink); white-space: nowrap; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 rgba(0, 0, 0, .3), 0 10px 12px rgba(0, 0, 0, .2); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s; }
.header-link:hover, .header-link:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0, 0, 0, .3); }
.header-link span { color: var(--rust-deep); }

/* ---------- quote and question pages: the same sheet, continued ---------- */
.page-shell {
  width: min(100% - 32px, 1180px);
  margin: 0 auto 30px;
  padding: 46px 48px 74px;
  background-color: var(--paper);
  background-image: radial-gradient(circle at 1px 1px, rgba(68, 80, 107, .16) 1px, transparent 1.6px);
  background-size: 22px 22px;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 10px 0 -2px rgba(0, 0, 0, .22), 0 26px 40px rgba(0, 0, 0, .36);
}
.eyebrow { margin: 0 0 14px; color: var(--rust-deep); font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.intro h1 { font-size: clamp(34px, 5vw, 60px); }
.intro-copy { margin: 24px 0 0; color: var(--ink); font-size: clamp(17px, 2vw, 20px); max-width: 680px; }

.options { margin-top: 55px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: opt; }
.option { counter-increment: opt; min-width: 0; min-height: 247px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; border: 3px dashed var(--ghost-line); border-radius: 28px; background: var(--paper-2); }
.option-number { color: var(--rust-deep); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.option h2 { margin: 18px 0 8px; font-family: var(--display); font-weight: 400; font-size: clamp(21px, 2.4vw, 27px); line-height: 1.12; }
.option p { margin: 0; color: var(--muted); font-size: 16px; max-width: 30ch; }
.option .option-action { margin-top: auto; padding: 12px 16px; min-height: 48px; width: 100%; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; border: 4px solid #fff; border-radius: 18px; color: #fff; background: var(--rust); font-weight: 700; font-size: 16px; line-height: 1.25; text-decoration: none; text-align: left; cursor: pointer; box-shadow: 0 5px 0 rgba(0, 0, 0, .32), 0 12px 14px rgba(0, 0, 0, .22); }
.option-action:hover { background: var(--rust-deep); }
.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: 46px; padding: 38px 40px 44px; border: 3px dashed var(--ghost-line); border-radius: 28px; background: var(--paper-2); }
.question-heading h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; }
.question-heading > p:last-child { margin: 13px 0 0; color: var(--muted); }
.question-form { margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 22px; }
.form-grid label { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 16px; color: var(--ink); }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-width: 0; border: 2px solid #5b6a8d; border-radius: 12px; padding: 12px 14px; color: var(--ink); background: #fff; font-weight: 400; font-size: 17px; box-shadow: 0 3px 0 rgba(0, 0, 0, .16) inset; }
.form-grid input:focus-visible, .form-grid select:focus-visible, .form-grid textarea:focus-visible { outline: 4px solid var(--cobalt); outline-offset: 2px; border-color: var(--cobalt-deep); }
.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: center; gap: 12px; min-height: 44px; font-weight: 400; font-size: 17px; }
.form-grid .checkbox-row { grid-column: 1 / -1; }
.form-grid .checkbox-row input, .quote-form > fieldset > .checkbox-row input { flex: none; width: 24px; min-width: 24px; height: 24px; min-height: 24px; margin: 0; padding: 0; accent-color: var(--cobalt); box-shadow: none; }
.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: 12px;
  border: 4px solid #fff; border-radius: 20px 20px 20px 8px; padding: 12px 24px;
  color: #fff; background: var(--rust); font-family: var(--display); font-weight: 400; font-size: 17px; line-height: 1.2; letter-spacing: .01em; cursor: pointer;
  box-shadow: 0 5px 0 rgba(0, 0, 0, .34), 0 14px 16px rgba(0, 0, 0, .24);
  transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s, background-color .2s;
}
.form-bottom button:hover, .quote-submit button:hover, .quote-results button:hover { background: var(--rust-deep); transform: translateY(4px); box-shadow: 0 1px 0 rgba(0, 0, 0, .34); }
.form-bottom button:active, .quote-submit button:active, .quote-results button:active { transform: translateY(5px); box-shadow: 0 0 0 rgba(0, 0, 0, 0); }
.quote-submit button:disabled, .quote-results button:disabled { cursor: wait; opacity: .65; }
.submit-note { max-width: 640px; margin: 20px 0 0; color: var(--muted); font-size: 15px; }
.form-status { min-height: 24px; margin: 13px 0 0; color: var(--rust-deep); font-weight: 700; font-size: 16px; }
#quote-status { color: var(--rust-deep); font-weight: 700; }

.product-switch { display: flex; flex-wrap: wrap; gap: 14px; margin: 38px 0 22px; }
.product-switch a { display: inline-flex; align-items: center; min-height: 46px; border: 3px dashed var(--ghost-line); border-radius: 999px; padding: 8px 22px; background: transparent; color: var(--ink); font-weight: 700; text-decoration: none; }
.product-switch a:hover { border-style: solid; background: #fff; }
.product-switch a[aria-current="page"] { border: 4px solid #fff; border-style: solid; color: #fff; background: var(--cobalt); box-shadow: 0 5px 0 rgba(0, 0, 0, .32), 0 12px 14px rgba(0, 0, 0, .2); transform: translate(-2px, -3px) rotate(-1deg); }
.quote-form { counter-reset: slotset; }
.quote-form fieldset { counter-increment: slotset; min-width: 0; margin: 34px 0 18px; padding: 38px 30px 30px; border: 3px dashed var(--ghost-line); border-radius: 28px; background: var(--paper-2); }
.quote-form legend { padding: 7px 18px; margin-left: 6px; border: 4px solid #fff; border-radius: 999px; background: var(--cobalt); color: #fff; font-family: var(--display); font-weight: 400; font-size: 17px; line-height: 1.2; letter-spacing: .01em; box-shadow: 0 4px 0 rgba(0, 0, 0, .3); transform: translateY(-4px) rotate(-.8deg); }
.quote-form legend::before { content: counter(slotset, decimal-leading-zero) "  "; color: var(--mustard); white-space: pre; }
.quote-form .form-grid { margin-top: 4px; }
.quote-submit { margin: 26px 0 40px; max-width: 760px; }
.quote-results { margin: 30px 0 30px; padding: 30px; border: 3px solid #fff; border-radius: 28px; background: var(--paper-2); box-shadow: 0 6px 0 rgba(0, 0, 0, .2), 0 14px 18px rgba(0, 0, 0, .16); }
.quote-results h2 { margin: 0 0 16px; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3vw, 32px); line-height: 1.12; }
.quote-results article { border-top: 3px dashed var(--ghost); padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; font-size: 20px; }
.quote-results article p { margin: 4px 0 13px; }

.site-footer { width: min(100% - 32px, 1180px); max-width: none; margin: 0 auto; padding: 22px 4px 46px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 26px; color: var(--on-table); font-size: 16px; }
.site-footer p { margin: 0; }
.site-footer > p:first-child { color: #fff; font-weight: 700; }
.site-footer a { text-underline-offset: 4px; text-decoration-thickness: 2px; display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .footer-note { flex-basis: 100%; }

@media (max-width: 1060px) {
  .ghosts, .choice-grid { padding: 36px 40px 40px 30px; gap: 28px 24px; grid-auto-rows: 170px; }
  .sheet h1, .plate, .row-slots, .agency-line { padding-left: 34px; padding-right: 30px; }
}

@media (max-width: 900px) {
  .sheet { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .sheet::before { display: none; }
  .sheet > .site-header { grid-area: 1 / 1; }
  .sheet h1 { grid-area: 2 / 1; padding: 34px 30px 8px; }
  .sheet .ghosts, .sheet .choice-grid { grid-area: 3 / 1; padding: 34px 38px 38px 30px; grid-auto-rows: 150px; }
  .sheet .plate { grid-area: 4 / 1; padding: 10px 30px 4px; }
  .sheet .row-slots { grid-area: 5 / 1; padding: 20px 30px 4px; }
  .sheet .agency-line { grid-area: 6 / 1; padding: 18px 30px 34px; }
  .local-grid { grid-template-columns: minmax(0, 1fr); }
  .local-intro { align-items: flex-start; flex-direction: column; }
  .options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 590px) {
  body { font-size: 17px; }
  .table { padding-top: 16px; }
  .site-header { margin-top: 16px; }
  .header-inner { padding: 14px 18px 14px 18px; flex-wrap: wrap; gap: 10px 14px; }
  .brand { font-size: 15px; gap: 10px; }
  .brand strong { font-size: 17px; }
  .brand-mark { width: 44px; height: 44px; font-size: 20px; }
  .header-link { margin-left: auto; font-size: 15px; white-space: normal; text-align: center; padding: 8px 16px; }
  .sheet h1 { padding: 28px 20px 6px; }
  .minimal-shell h1, .intro h1 { -webkit-text-stroke-width: 7px; }
  .sheet .ghosts, .sheet .choice-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 104px; gap: 24px; padding: 26px 26px 30px 20px; }
  .choice-grid a { padding: 12px 16px; font-size: 18px; }
  .sheet .plate { padding: 10px 20px 4px; }
  .sheet .row-slots { padding: 16px 20px 4px; }
  .sheet .agency-line { padding: 16px 20px 30px; }
  .page-shell { padding: 30px 20px 54px; }
  .options { margin-top: 37px; grid-template-columns: 1fr; gap: 20px; }
  .option { min-height: 0; padding: 22px; }
  .option .option-action { margin-top: 20px; }
  .question-section { margin-top: 34px; padding: 26px 18px 30px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .quote-form fieldset { padding: 34px 18px 24px; }
  .site-footer { padding: 18px 4px 36px; }
  .local-wrap { padding: 56px 0 24px; }
  .local-section-heading { margin-top: 46px; flex-direction: column-reverse; align-items: flex-start; padding: 14px 18px; }
  .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: 20px 18px; gap: 12px; }
  .local-day { flex-basis: 132px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .choice-grid a, .header-link, .form-bottom button, .quote-submit button, .quote-results button { transition: none; }
}
