@font-face { font-family: "Alegreya"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/alegreya-500.woff2) format("woff2"); }
@font-face { font-family: "Alegreya"; font-weight: 800; font-style: normal; font-display: swap; src: url(/fonts/alegreya-800.woff2) format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/alegreya-sans-400.woff2) format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/alegreya-sans-700.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --ink: #2a2517;
  --muted: #4a4330;
  --line: #b9b39c;
  --field: #6f6a52;
  --linen: #d6d2c4;
  --paper: #f8f4e6;
  --paper-2: #ece5cd;
  --cloth: #44503c;
  --cloth-deep: #2f3828;
  --felt: #4f5b45;
  --cream: #f4efd8;
  --stitch: #e6dcae;
  --yolk: #e8b21a;
  --yolk-deep: #8a6500;
  --ochre: #6f4a00;
  --accent: #6f4a00;
  --accent-dark: #44503c;
  --serif: "Alegreya", Georgia, "Times New Roman", serif;
  --sans: "Alegreya Sans", "Trebuchet MS", Verdana, sans-serif;
  --fibers: repeating-linear-gradient(7deg, rgba(120, 100, 50, .045) 0 1px, transparent 1px 4px), repeating-linear-gradient(97deg, rgba(255, 255, 255, .35) 0 1px, transparent 1px 5px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font: 400 18px/1.55 var(--sans);
  background-color: var(--linen);
  background-image: repeating-linear-gradient(0deg, rgba(70, 58, 30, .06) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 1px, transparent 1px 3px);
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #1f2a17; outline-offset: 3px; }
.site-header :focus-visible, .site-footer :focus-visible, .local-board :focus-visible { outline-color: #fff6c9; }
.local-card :focus-visible, .local-alert :focus-visible, .local-advisory :focus-visible { outline-color: #1f2a17; }

/* ---- cabinet header: bookcloth with a stitched seam ---- */
.site-header {
  position: relative;
  background-color: var(--cloth);
  background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, .09) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px);
  color: var(--cream);
  box-shadow: 0 3px 0 var(--cloth-deep), 0 10px 16px -4px rgba(35, 28, 10, .5);
  z-index: 2;
}
.site-header::after { content: ""; position: absolute; inset: 8px; border: 2px dashed var(--stitch); border-radius: 4px; opacity: .75; pointer-events: none; }
.header-inner { position: relative; max-width: 1180px; margin: auto; padding: 24px 36px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; text-decoration: none; font-size: 17px; line-height: 1.2; text-shadow: 0 -1px 0 rgba(0, 0, 0, .55); }
.brand strong { display: block; font: 800 24px/1.1 var(--serif); letter-spacing: .01em; text-shadow: 0 -1px 0 rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 255, 255, .14); }
.brand-mark { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid #8a6500; color: #2a2410; font: 800 24px/1 var(--serif); text-shadow: 0 1px 0 rgba(255, 255, 255, .45); background: radial-gradient(circle at 34% 28%, #fbe48a, #e8b21a 52%, #b88700); box-shadow: inset 0 -2px 3px rgba(80, 50, 0, .45), 0 2px 3px rgba(0, 0, 0, .45); }
.header-link { display: inline-flex; align-items: center; min-height: 44px; border: 0; padding: 0 2px; background: transparent; color: var(--cream); white-space: nowrap; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(244, 239, 216, .6); text-underline-offset: 6px; cursor: pointer; }
.header-link span { color: var(--yolk); }

/* ---- home: the specimen sheet ---- */
.sheet { padding: clamp(30px, 5vw, 70px) 20px clamp(44px, 6vw, 84px); }
.sheet-wrap { max-width: 1160px; margin: auto; filter: drop-shadow(0 1px 1px rgba(40, 30, 10, .35)) drop-shadow(0 16px 16px rgba(40, 30, 10, .22)); }
.sheet-paper {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 330px);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding: clamp(30px, 4.5vw, 62px) clamp(24px, 4.5vw, 62px) clamp(46px, 5vw, 70px) clamp(44px, 5.5vw, 78px);
  background-color: var(--paper);
  background-image: var(--fibers);
  border-left: 20px solid var(--cloth);
}
.sheet-paper::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 7px; background: radial-gradient(circle at 7px 0, var(--paper) 5.5px, transparent 6px) 0 0 / 13px 7px repeat-x, radial-gradient(circle at 5px 0, var(--paper) 4px, transparent 4.5px) 4px 0 / 19px 7px repeat-x; pointer-events: none; }
.sheet-paper::before { content: ""; position: absolute; left: -11px; top: 8px; bottom: 14px; border-left: 2px dashed var(--stitch); pointer-events: none; }
.minimal-shell { width: auto; min-height: 0; margin: 0; padding: 0; display: flex; flex-direction: column; min-width: 0; }
.minimal-shell h1 { margin: 0 0 34px; font: 800 clamp(44px, 6.2vw, 84px)/1.02 var(--serif); letter-spacing: -.012em; text-shadow: 0 1px 0 #fff, 0 -1px 0 rgba(0, 0, 0, .16); }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 22px; }
.choice-grid a {
  position: relative;
  min-height: 132px;
  padding: 30px 52px 22px 24px;
  display: flex;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  text-align: left !important;
  background-color: #fffdf4;
  background-image: var(--fibers);
  border: 1px solid #cdc4a2;
  border-radius: 3px;
  color: var(--ink);
  font: 800 clamp(22px, 2.1vw, 27px)/1.14 var(--serif);
  text-decoration: none;
  box-shadow: inset 0 0 0 5px #fffdf4, inset 0 0 0 6px #d8cfae, 0 2px 0 #d2c9a8, 0 6px 10px -2px rgba(60, 45, 15, .35);
  transition: transform .18s, box-shadow .18s, background-color .18s;
}
.choice-grid a::before { content: ""; position: absolute; top: -11px; left: 22px; width: 66px; height: 22px; background: rgba(232, 178, 26, .88); transform: rotate(-4deg); box-shadow: 0 1px 2px rgba(60, 45, 15, .3); }
.choice-grid a::after { content: ""; position: absolute; right: 22px; bottom: 24px; width: 15px; height: 15px; border-top: 3px solid var(--ochre); border-right: 3px solid var(--ochre); transform: rotate(45deg); }
.choice-grid a:nth-child(even)::before { left: auto; right: 22px; transform: rotate(3deg); }
.choice-grid a:hover { transform: translateY(-4px) rotate(-.4deg); background-color: #fff; box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6px #d8cfae, 0 3px 0 #d2c9a8, 0 16px 18px -4px rgba(60, 45, 15, .45); }
.choice-grid a:active { transform: translateY(0); box-shadow: inset 0 0 0 5px #fffdf4, inset 0 0 0 6px #d8cfae, 0 1px 0 #d2c9a8, 0 2px 4px rgba(60, 45, 15, .35); }
.agency-line { margin: 40px 0 0; padding: 18px 0 0; border-top: 2px dashed #b9b39c; color: var(--muted); font-size: 17px; font-weight: 700; }
.agency-line a { display: inline-block; padding: 8px 0; text-underline-offset: 4px; }

.plate { position: relative; align-self: start; margin-top: 10px; padding: 18px 16px 14px; background-color: #e7dfc3; background-image: var(--fibers); border: 1px solid #c9bf9c; transform: rotate(1.3deg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), inset 0 0 0 9px #efe8d0, 0 2px 4px rgba(60, 45, 15, .3); }
.plate::before { content: ""; position: absolute; top: -12px; left: 50%; width: 92px; height: 24px; margin-left: -46px; background: rgba(232, 178, 26, .88); transform: rotate(2deg); box-shadow: 0 1px 2px rgba(60, 45, 15, .3); }
.plate svg { display: block; width: 100%; height: auto; }

.drawer-foot { height: 60px; overflow: hidden; background: var(--felt); }
.drawer-foot svg { display: block; width: 100%; height: 60px; }

/* ---- the drawer: felt-lined, one paper sheet per card ---- */
.local-board {
  border-top: 0;
  color: var(--cream);
  background-color: var(--felt);
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.6px), radial-gradient(rgba(0, 0, 0, .12) 1px, transparent 1.6px);
  background-size: 5px 5px, 7px 7px;
  background-position: 0 0, 2px 3px;
}
#city-notes { border-top: 3px dashed rgba(230, 220, 174, .5); }
.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 36px; border-bottom: 2px dashed rgba(230, 220, 174, .55); }
.local-kicker, .local-card-kicker, .local-section-heading > span, .local-small-label { font: 700 14px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.local-kicker { margin: 0 0 16px; color: #f0dc86; }
.local-kicker span { padding: 0 7px; }
.local-intro h2 { margin: 0; font: 800 clamp(40px, 5.6vw, 72px)/1 var(--serif); letter-spacing: -.01em; color: var(--cream); text-shadow: 0 -1px 0 rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .12); }
.local-intro > div > p:last-child { max-width: 560px; margin: 18px 0 0; color: #ebe4c6; font-size: 19px; }
.local-generated { flex: none; margin: 0 0 3px; color: #ebe4c6; font-size: 15px; font-weight: 700; }
.local-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 64px 0 24px; }
.local-section-heading h3 { margin: 0; font: 800 clamp(30px, 3.4vw, 42px)/1.05 var(--serif); color: var(--cream); text-shadow: 0 -1px 0 rgba(0, 0, 0, .5); }
.local-section-heading > span { color: #f0dc86; }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; filter: drop-shadow(0 1px 1px rgba(15, 20, 10, .55)) drop-shadow(0 10px 9px rgba(15, 20, 10, .3)); }
.local-card { position: relative; min-width: 0; padding: 36px 30px 28px; color: var(--ink); border: 0; background-color: var(--paper); background-image: var(--fibers); }
.local-card::after { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 7px; background: radial-gradient(circle at 7px 7px, var(--paper) 5.5px, transparent 6px) 0 0 / 13px 7px repeat-x, radial-gradient(circle at 5px 7px, var(--paper) 4px, transparent 4.5px) 4px 1px / 19px 7px repeat-x; pointer-events: none; }
.local-card::before { content: ""; position: absolute; top: 0; left: 28px; width: 58px; height: 20px; background: rgba(232, 178, 26, .9); transform: rotate(-3deg); }
.local-card h4 { margin: 7px 0 20px; font: 800 clamp(27px, 3vw, 35px)/1.08 var(--serif); }
.local-card-kicker { margin: 0; color: var(--ochre); }
.local-card .local-copy { margin: 10px 0; color: var(--muted); }
.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 dashed #c4bb9a; color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: .01em; }
.local-link { display: inline-block; margin-top: 8px; padding: 10px 0; color: var(--ochre); 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: 2px dashed #c4bb9a; }
.local-weather-lead > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px 22px; }
.local-big-temp { font: 800 clamp(80px, 12vw, 132px)/.84 var(--serif); letter-spacing: -.03em; color: var(--ink); text-shadow: 0 1px 0 #fff, 0 -1px 0 rgba(0, 0, 0, .14); }
.local-weather-condition { max-width: 200px; color: var(--muted); font-size: 19px; }
.local-weather-note { padding-bottom: 7px; display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: 17px; }
.local-weather-note strong { color: var(--ink); font-size: 19px; }
.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 dashed #c4bb9a; }
.local-day { flex: 0 0 150px; padding: 0 14px; border-left: 2px dashed #c4bb9a; display: flex; flex-direction: column; gap: 5px; font-size: 15px; color: var(--muted); line-height: 1.3; }
.local-day:first-child { border-left: 0; }
.local-day strong { color: var(--ink); font-size: 16px; }
.local-day-temp { color: var(--ochre); font: 800 24px/1.1 var(--serif); }
.local-small-label { margin: 22px 0 14px; color: var(--ochre); }
.local-hour-strip { gap: 10px; padding-bottom: 6px; }
.local-hour { flex: 0 0 96px; padding: 12px 10px; border: 1px solid #cdc4a2; border-radius: 3px; background: var(--paper-2); display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--muted); box-shadow: 0 2px 0 #d2c9a8; }
.local-hour strong { color: var(--ink); font: 800 24px/1.1 var(--serif); }
.local-big-number { margin: 14px 0 8px; color: var(--ochre); font: 800 78px/.95 var(--serif); letter-spacing: -.02em; }
.local-radar { margin: 19px 0 0; overflow: hidden; padding: 8px; border: 1px solid #c4bb9a; border-radius: 3px; background: var(--paper-2); }
.local-radar img { display: block; width: 100%; height: auto; }
.local-radar figcaption { padding: 8px 2px 0; color: var(--muted); font-size: 13px; }
.local-alert, .local-advisory { color: var(--ink); display: flex; gap: 19px; padding: 24px 27px; margin-top: 22px; border: 1px solid #c48a74; border-left: 10px solid #8c2f1f; border-radius: 3px; background-color: #fbe9de; box-shadow: 0 3px 0 rgba(15, 20, 10, .35), 0 12px 16px -6px rgba(15, 20, 10, .45); }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #8c2f1f; color: #fff; font-weight: 700; box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .35); }
.local-alert h3, .local-advisory h3 { margin: 7px 0 9px; font: 800 22px/1.25 var(--serif); }
.local-alert p, .local-advisory p { margin-bottom: 0; }
.local-advisory { align-items: center; border-color: #c9b66a; border-left-color: #a87b00; background-color: #f4e8b0; }
.local-advisory-mark { flex: none; color: var(--ochre); font-size: 41px; line-height: 1; }
.local-advisory h3 { font: 800 clamp(22px, 2.5vw, 29px)/1.2 var(--serif); }
.local-advisory-alert { border-color: #c48a74; border-left-color: #8c2f1f; background-color: #fbe9de; }
.local-row { padding: 13px 0; border-bottom: 2px dashed #d3cbae; }
.local-row:first-of-type { padding-top: 0; }
.local-row:last-of-type { border-bottom: 0; }
.local-row-title { display: block; padding: 2px 0; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.3; text-decoration-color: #a9a07c; text-underline-offset: 4px; }
.local-row-detail { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; }
.local-news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 35px; }
.local-market-name { display: block; font-size: 18px; }
.local-lottery { padding: 12px 0; border-bottom: 2px dashed #d3cbae; display: flex; flex-direction: column; gap: 5px; }
.local-lottery strong { font: 800 22px/1.2 var(--serif); letter-spacing: .03em; }

/* ---- quote and question pages: sheets on linen ---- */
.page-shell { max-width: 1120px; margin: auto; padding: 56px 32px 88px; }
.eyebrow { margin: 0 0 12px; padding-bottom: 8px; display: inline-block; border-bottom: 2px dashed #8a6500; color: var(--ochre); font: 700 15px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.intro { position: relative; padding: 38px clamp(24px, 4vw, 52px) 40px; background-color: var(--paper); background-image: var(--fibers); border-left: 18px solid var(--cloth); box-shadow: 0 2px 0 #cfc7a8, 0 14px 18px -8px rgba(60, 45, 15, .45); }
.intro::before { content: ""; position: absolute; left: -10px; top: 8px; bottom: 8px; border-left: 2px dashed var(--stitch); }
.intro::after { content: ""; position: absolute; top: -11px; right: 36px; width: 72px; height: 22px; background: rgba(232, 178, 26, .88); transform: rotate(3deg); box-shadow: 0 1px 2px rgba(60, 45, 15, .3); }
.intro h1 { margin: 0; font: 800 clamp(40px, 5.4vw, 70px)/1.04 var(--serif); letter-spacing: -.01em; text-shadow: 0 1px 0 #fff, 0 -1px 0 rgba(0, 0, 0, .14); }
.intro-copy { margin: 18px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); max-width: 680px; }

.options { margin-top: 55px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.option { min-width: 0; min-height: 247px; padding: 28px 26px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid #cdc4a2; border-radius: 3px; background-color: #fffdf4; background-image: var(--fibers); box-shadow: 0 2px 0 #d2c9a8, 0 8px 12px -4px rgba(60, 45, 15, .35); transition: transform .18s, box-shadow .18s; }
.option:hover { transform: translateY(-3px); box-shadow: 0 3px 0 #d2c9a8, 0 16px 18px -6px rgba(60, 45, 15, .45); }
.option-number { color: var(--ochre); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.option h2 { margin: 18px 0 8px; font: 800 clamp(24px, 2.7vw, 30px)/1.1 var(--serif); }
.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: 1px solid var(--yolk-deep); border-radius: 6px; color: #241f0c; background: linear-gradient(#f3c640, #e8b21a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 3px 0 var(--yolk-deep), 0 6px 8px rgba(40, 30, 5, .3); font-weight: 700; font-size: 17px; line-height: 1.25; text-decoration: none; text-align: left; cursor: pointer; }
.option-action:hover { background: linear-gradient(#f8d25c, #efbc2c); }
.option-action span { font-size: 21px; line-height: 1; }
.option .option-note { margin-top: 8px; font-size: 14px; color: var(--muted); }

.question-section { scroll-margin-top: 25px; margin-top: 56px; position: relative; padding: clamp(28px, 4vw, 50px); border: 0; border-left: 18px solid var(--cloth); border-radius: 0; background-color: var(--paper); background-image: var(--fibers); box-shadow: 0 2px 0 #cfc7a8, 0 14px 18px -8px rgba(60, 45, 15, .45); }
.question-section::before { content: ""; position: absolute; left: -10px; top: 8px; bottom: 8px; border-left: 2px dashed var(--stitch); }
.question-heading h2 { margin: 0; font: 800 clamp(30px, 4vw, 44px)/1.1 var(--serif); }
.question-heading > p:last-child { margin: 13px 0 0; color: var(--muted); }
.question-form { margin-top: 12px; }
.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: 17px; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-width: 0; border: 2px solid var(--field); border-radius: 4px; padding: 12px 14px; color: var(--ink); background-color: #fffef9; font-weight: 400; box-shadow: inset 0 2px 3px rgba(60, 45, 15, .22); }
.form-grid input, .form-grid select { min-height: 50px; }
.form-grid textarea { min-height: 140px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--cloth-deep); outline: 3px solid #e8b21a; outline-offset: 1px; }
.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; padding: 0; accent-color: var(--cloth); 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: 52px; display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--yolk-deep); border-radius: 6px; padding: 12px 24px; color: #241f0c; background: linear-gradient(#f3c640, #e8b21a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 4px 0 var(--yolk-deep), 0 8px 10px rgba(40, 30, 5, .3); font-weight: 700; font-size: 19px; cursor: pointer; transition: transform .1s, box-shadow .1s; }
.form-bottom button:hover, .quote-submit button:hover, .quote-results button:hover { background: linear-gradient(#f8d25c, #efbc2c); }
.form-bottom button:active, .quote-submit button:active, .quote-results button:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 1px 0 var(--yolk-deep), 0 2px 4px rgba(40, 30, 5, .3); }
.submit-note { max-width: 640px; margin: 18px 0 0; color: var(--muted); font-size: 16px; }
.form-status { min-height: 22px; margin: 13px 0 0; color: #5a3b00; font-weight: 700; font-size: 17px; }

.product-switch { display: flex; flex-wrap: wrap; gap: 12px; margin: 38px 0 22px; }
.product-switch a { display: inline-flex; align-items: center; min-height: 48px; border: 1px solid #b4ab88; border-radius: 4px 4px 0 0; padding: 8px 22px; background-color: #e5dec2; color: var(--ink); font-weight: 700; font-size: 18px; text-decoration: none; box-shadow: inset 0 -3px 4px rgba(60, 45, 15, .14); }
.product-switch a:hover { background-color: #efe9d1; }
.product-switch a[aria-current="page"] { position: relative; transform: translateY(-3px); border-color: var(--cloth-deep); color: var(--cream); background-color: var(--cloth); box-shadow: inset 0 0 0 3px var(--cloth), inset 0 0 0 4px rgba(230, 220, 174, .7), 0 8px 10px -3px rgba(40, 30, 5, .5); }
.quote-form fieldset { position: relative; min-width: 0; margin: 22px 0; padding: 30px clamp(20px, 3vw, 34px) 32px; border: 1px solid #cdc4a2; border-left: 12px solid var(--cloth); border-radius: 0; background-color: var(--paper); background-image: var(--fibers); box-shadow: 0 2px 0 #d2c9a8, 0 10px 14px -6px rgba(60, 45, 15, .4); }
.quote-form legend { padding: 4px 14px; border: 1px solid #cdc4a2; background: var(--paper); font: 800 24px/1.2 var(--serif); box-shadow: 0 2px 0 #d2c9a8; }
.quote-form .form-grid { margin-top: 6px; }
.quote-submit { margin: 24px 0 55px; max-width: 720px; }
.quote-submit button:disabled, .quote-results button:disabled { cursor: wait; opacity: .6; }
#quote-status { color: #5a3b00; font-weight: 700; }
.quote-results { margin: 30px 0 70px; padding: 30px; border: 1px solid #cdc4a2; border-left: 12px solid var(--cloth); border-radius: 0; background-color: var(--paper); background-image: var(--fibers); box-shadow: 0 2px 0 #d2c9a8, 0 10px 14px -6px rgba(60, 45, 15, .4); }
.quote-results h2 { margin: 0 0 16px; font: 800 32px/1.15 var(--serif); }
.quote-results article { border-top: 2px dashed #c4bb9a; padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; font: 800 24px/1.2 var(--serif); }
.quote-results article p { margin: 4px 0 13px; }

/* ---- footer: cloth strip, stitched ---- */
.site-footer { position: relative; max-width: none; margin: 0; padding: 32px max(36px, calc((100% - 1116px) / 2)) 38px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 26px; color: var(--cream); font-size: 16px; background-color: var(--cloth); background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, .09) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px); box-shadow: inset 0 3px 0 var(--cloth-deep); }
.site-footer::before { content: ""; position: absolute; inset: 10px 8px 8px; border: 2px dashed var(--stitch); border-radius: 4px; opacity: .7; pointer-events: none; }
.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 .footer-note { flex-basis: 100%; color: #ece5c6; }

@media (max-width: 960px) {
  .sheet-paper { grid-template-columns: minmax(0, 1fr); }
  .plate { width: min(300px, 80%); justify-self: center; margin-top: 18px; }
  .options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .local-intro { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 590px) {
  .header-inner { padding: 20px 22px; flex-wrap: wrap; gap: 6px 16px; }
  .brand { font-size: 15px; gap: 10px; }
  .brand strong { font-size: 21px; }
  .brand-mark { width: 40px; height: 40px; font-size: 20px; }
  .header-link { margin-left: auto; font-size: 16px; white-space: normal; text-align: right; }
  .sheet { padding: 28px 12px 40px; }
  .sheet-paper { padding: 30px 18px 44px 22px; border-left-width: 14px; }
  .sheet-paper::before { left: -9px; }
  .choice-grid { grid-template-columns: 1fr; gap: 24px; }
  .choice-grid a { min-height: 92px; padding: 28px 22px 20px; }
  .minimal-shell h1 { margin-bottom: 30px; }
  .page-shell { padding: 36px 14px 60px; }
  .intro { padding: 32px 20px 30px 22px; border-left-width: 14px; }
  .options { grid-template-columns: 1fr; gap: 20px; }
  .option { min-height: 0; padding: 23px; }
  .question-section { margin-top: 44px; padding: 26px 18px 26px 22px; border-left-width: 14px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .quote-form fieldset { padding: 26px 16px 26px; border-left-width: 10px; }
  .quote-results { padding: 24px 16px; border-left-width: 10px; }
  .site-footer { padding: 30px 26px 34px; }
  .local-wrap { padding: 54px 18px 70px; }
  .local-section-heading { margin-top: 48px; align-items: flex-start; flex-direction: column; gap: 7px; }
  .local-grid, .local-weather-lead, .local-news-list { grid-template-columns: 1fr; }
  .local-card { padding: 34px 20px 24px; }
  .local-weather-lead { gap: 14px; }
  .local-alert, .local-advisory { padding: 22px 18px; gap: 12px; }
  .local-day { flex-basis: 132px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .choice-grid a, .option, .form-bottom button, .quote-submit button { transition: none; }
  .choice-grid a:hover, .option:hover { transform: none; }
}
