/* Insurance Santa Barbara: the County Courthouse clock tower raised in numbered build-instruction steps.
   Sunken-garden lawn-green table, white-stucco pages on a stud grid, umber keylines, red-tile terracotta for the new part, tile-gold for the parts strip. */
@font-face{font-family:"Baloo 2";src:url(/fonts/baloo-2-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Baloo 2";src:url(/fonts/baloo-2-800.woff2) format("woff2");font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:"Source Sans 3";src:url(/fonts/source-sans-3-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Source Sans 3";src:url(/fonts/source-sans-3-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}

:root {
  color-scheme: light;
  --ink: #2a1f1a;
  --muted: #4d3f37;
  --line: #2a1f1a;
  --paper: #fffdf6;
  --lawn: #c9dcb8;
  --lawn-deep: #e3eed6;
  --accent: #b3411f;
  --accent-dark: #962f12;
  --tile-text: #8f2c10;
  --gold: #f2c24b;
  --gold-soft: #fbe9b4;
  --blush: #fbe4d8;
  --stud: 32px;
  --head: "Baloo 2", "Trebuchet MS", sans-serif;
  --body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font: 400 17px/1.55 var(--body);
  background-color: var(--lawn);
  background-image: radial-gradient(circle at 16px 16px, rgba(42,31,26,.16) 0 4px, transparent 4.6px);
  background-size: var(--stud) var(--stud);
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--gold); }

/* ---- home: the booklet ---- */
.table { padding: 28px 0 20px; }
.booklet { position: relative; width: min(100% - 32px, 1180px); margin: 0 auto; background: var(--paper); border: 4px solid var(--ink); border-radius: 12px; box-shadow: 9px 9px 0 var(--ink); }
.roofedge { height: 30px; overflow: hidden; border-radius: 8px 8px 0 0; background: var(--lawn-deep); border-bottom: 4px solid var(--ink); line-height: 0; }
.tileband-art { display: block; width: 100%; height: 100%; }
.tileband-art .keyl { stroke: var(--ink); stroke-width: 2.4; }
.tileband-art .tb1 { fill: var(--accent); }
.tileband-art .tb2 { fill: #cf5a33; }

.site-header { background: var(--gold); border-bottom: 4px solid var(--ink); }
.header-inner { max-width: 1180px; margin: auto; padding: 16px 28px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font: 700 17px/1.2 var(--head); letter-spacing: 0; min-height: 44px; }
.brand strong { display: block; font-weight: 800; font-size: 22px; }
.brand-mark { position: relative; display: grid; place-items: center; flex: none; width: 50px; height: 46px; margin-top: 6px; border: 3px solid var(--ink); border-radius: 6px; background: var(--accent); color: #fff; font: 800 24px/1 var(--head); }

.brand-mark::before { content: ""; position: absolute; top: -9px; left: 8px; width: 12px; height: 7px; border: 2.5px solid var(--ink); border-bottom: 0; border-radius: 6px 6px 0 0; background: var(--accent); }
.brand-mark::after { content: ""; position: absolute; top: -9px; left: 28px; width: 12px; height: 7px; border: 2.5px solid var(--ink); border-bottom: 0; border-radius: 6px 6px 0 0; background: var(--accent); }
.header-link { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 14px; border: 3px solid var(--ink); border-radius: 22px; background: var(--paper); color: var(--ink); white-space: nowrap; font: 700 16px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.header-link:hover { background: var(--ink); color: var(--gold); transform: translateY(-2px); }

.spread { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); }
.plate-pane { position: relative; padding: 28px 24px 24px; border-right: 4px solid var(--ink); background-color: var(--lawn-deep); background-image: radial-gradient(circle at 16px 16px, rgba(42,31,26,.15) 0 3.6px, transparent 4.2px); background-size: var(--stud) var(--stud); display: flex; align-items: center; justify-content: center; }
.tower-wrap { width: 100%; max-width: 330px; }
.tower-art { display: block; width: 100%; height: auto; overflow: visible; }
.callout-wrap { position: absolute; top: 16px; right: 14px; width: 104px; transform: rotate(3deg); }
.callout-art { display: block; width: 100%; height: auto; }
.callout-art .cobox { fill: var(--paper); stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; }
.callout-art .cobox2 { fill: var(--gold); stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; }
.callout-art .clay { fill: var(--accent); stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; }
.callout-art .clayline { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; opacity: .75; }
.callout-art .guide { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 5 5; }

.tower-art .keyl { stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.tower-art .stucco { fill: #fffdf6; }
.tower-art .shade { fill: #eadfca; }
.tower-art .ghost { opacity: 1; }
.tower-art .piece.p1, .tower-art .piece.p2, .tower-art .piece.p3 { opacity: .62; }
.tower-art .hole { fill: var(--ink); opacity: .85; }
.tower-art .band { fill: var(--accent); stroke: var(--ink); stroke-width: 2; opacity: .8; }
.tower-art .stud { fill: #fffdf6; stroke: var(--ink); stroke-width: 2.5; }
.tower-art .lawn { fill: #86ad6b; }
.tower-art .lawnstud { fill: #9dc182; }
.tower-art .tile { fill: var(--accent); }
.tower-art .tilecap { fill: #d3623b; }
.tower-art .tileline { fill: none; stroke: var(--ink); stroke-width: 2.4; opacity: .55; stroke-linecap: round; }
.tower-art .lantern { fill: var(--gold); }
.tower-art .finial { fill: var(--gold); }
.tower-art .guide { fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-dasharray: 6 6; stroke-linecap: round; }
.tower-art .guidehead { fill: none; stroke: var(--ink); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }

@keyframes seat { from { transform: translateY(-34px); } to { transform: translateY(0); } }
.tower-art .piece.p4 { animation: seat .8s cubic-bezier(.3,1.4,.5,1) .15s both; }
.tower-art .piece.p5 { animation: seat .8s cubic-bezier(.3,1.4,.5,1) .45s both; }

.steps-pane { min-width: 0; padding: 38px 36px 30px; }
.minimal-shell { width: 100%; display: flex; flex-direction: column; margin: 0; padding: 0; }
.minimal-shell h1 { margin: 0 0 30px; font: 800 clamp(46px, 6.2vw, 88px)/.94 var(--head); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.minimal-shell h1::after { content: ""; display: block; width: 168px; height: 12px; margin-top: 18px; border: 3px solid var(--ink); border-radius: 6px; background: linear-gradient(90deg, var(--accent) 0 34%, var(--gold) 34% 67%, var(--ink) 67%); }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.choice-grid a { counter-increment: step; position: relative; min-height: 148px; padding: 18px 20px 18px; display: grid !important; grid-template-rows: auto 1fr; align-items: end !important; justify-content: stretch !important; text-align: left !important; border: 3px solid var(--ink); border-radius: 10px; background: #fff; color: var(--ink); font: 700 clamp(19px, 1.9vw, 23px)/1.18 var(--head); text-decoration: none; box-shadow: 5px 5px 0 var(--ink); transition: transform .15s, box-shadow .15s, background .15s; }
.choice-grid a::before { content: counter(step); display: block; font: 800 62px/.9 var(--head); color: var(--tile-text); }
.choice-grid a::after { content: ""; position: absolute; top: 12px; right: 46px; width: 16px; height: 9px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--paper); box-shadow: 26px 0 0 0 var(--paper); }
.choice-grid a:nth-child(1) { background: var(--accent); color: #fff; }
.choice-grid a:nth-child(1)::before { color: #ffe08a; }
.choice-grid a:hover { background: var(--gold); color: var(--ink); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.choice-grid a:hover::before { color: var(--tile-text); }
.choice-grid a:nth-child(1):hover { background: var(--gold); }
.choice-grid a:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.agency-line { margin: 30px 0 0; padding: 16px 0 0; border-top: 3px dashed var(--ink); color: var(--ink); font-size: 17px; font-weight: 700; }
.agency-line a { display: inline-block; padding: 9px 4px; font-weight: 800; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.agency-line a:hover { background: var(--gold); }

/* ---- local board ---- */
.local-board { border-top: 0; background: transparent; color: var(--ink); }
.local-wrap { max-width: 1180px; margin: auto; padding: 44px 16px 56px; width: min(100%, 1180px); }
.local-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding: 28px 32px; border: 4px solid var(--ink); border-radius: 12px; background: var(--gold); box-shadow: 8px 8px 0 var(--ink); }
.local-kicker, .local-card-kicker, .local-small-label { color: var(--tile-text); font: 700 13px/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.local-kicker { margin: 0 0 12px; color: var(--ink); }
.local-kicker span { padding: 0 6px; }
.local-intro h2 { margin: 0; font: 800 clamp(40px, 5.6vw, 72px)/.98 var(--head); letter-spacing: -.01em; }
.local-intro > div > p:last-child { max-width: 560px; margin: 14px 0 0; color: var(--ink); font-size: 18px; }
.local-generated { flex: none; margin: 0; padding: 6px 12px; border: 3px solid var(--ink); border-radius: 20px; background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 700; }
.local-section-heading { display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 10px 20px; margin: 54px 0 20px; }
.local-section-heading > span { order: 0; padding: 6px 14px; border: 3px solid var(--ink); border-radius: 8px; background: var(--ink); color: var(--gold); font: 700 15px/1.3 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.local-section-heading h3 { order: 1; margin: 0; font: 800 clamp(30px, 3.6vw, 46px)/1 var(--head); color: var(--ink); }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.local-card { position: relative; min-width: 0; padding: 30px 28px 24px; border: 3px solid var(--ink); border-radius: 10px; background: var(--paper); color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.local-card::after { content: ""; position: absolute; top: 10px; right: 42px; width: 14px; height: 8px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--lawn-deep); box-shadow: 24px 0 0 0 var(--lawn-deep); }
.local-card h4 { margin: 4px 0 18px; font: 800 clamp(26px, 2.8vw, 34px)/1.05 var(--head); }
.local-card-kicker { margin: 0; padding-right: 60px; }
.local-card .local-copy { margin: 10px 0; color: var(--ink); }
.local-card .local-subtle, .local-subtle { display: block; color: var(--muted); font-size: 15px; }
.local-source { margin: 22px 0 0; padding-top: 14px; border-top: 2px dashed var(--ink); color: var(--muted); font-size: 14px; font-weight: 600; }
.local-link { display: inline-block; margin-top: 8px; padding: 10px 4px; min-height: 44px; color: var(--tile-text); font-size: 16px; font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.local-link:hover { background: var(--gold); color: var(--ink); }
.local-wide { grid-column: 1 / -1; }
.local-weather-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; padding: 8px 0 22px; border-bottom: 2px dashed var(--ink); }
.local-weather-lead > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 22px; }
.local-big-temp { color: var(--tile-text); font: 800 clamp(76px, 11vw, 124px)/.85 var(--head); }
.local-weather-condition { max-width: 200px; color: var(--ink); font-size: 18px; font-weight: 600; }
.local-weather-note { padding-bottom: 6px; display: flex; flex-direction: column; gap: 4px; color: var(--ink); font-size: 17px; }
.local-weather-note strong { color: var(--ink); font: 800 22px/1.1 var(--head); }
.local-day-strip, .local-hour-strip { display: flex; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--ink) var(--lawn-deep); }
.local-day-strip { gap: 0; padding: 20px 0; border-bottom: 2px dashed var(--ink); }
.local-day { flex: 0 0 150px; padding: 0 14px; border-left: 2px solid var(--ink); display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--ink); 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(--tile-text); font: 800 26px/1.1 var(--head); }
.local-small-label { margin: 22px 0 12px; }
.local-hour-strip { gap: 10px; padding-bottom: 6px; }
.local-hour { flex: 0 0 92px; padding: 10px 10px; border: 2.5px solid var(--ink); border-radius: 8px; background: var(--lawn-deep); display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--ink); }
.local-hour strong { color: var(--ink); font: 800 24px/1.1 var(--head); }
.local-big-number { margin: 12px 0 6px; color: var(--tile-text); font: 800 84px/.9 var(--head); }
.local-radar { margin: 18px 0 0; overflow: hidden; border: 3px solid var(--ink); border-radius: 8px; background: var(--paper); }
.local-radar img { display: block; width: 100%; height: auto; }
.local-radar figcaption { padding: 6px 10px; border-top: 3px solid var(--ink); background: var(--gold-soft); color: var(--ink); font-size: 13px; font-weight: 600; }
.local-alert, .local-advisory { display: flex; gap: 18px; padding: 22px 26px; margin-top: 22px; border: 3px solid var(--ink); border-radius: 10px; background: var(--blush); color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 3px solid var(--ink); border-radius: 8px; background: var(--accent-dark); color: #fff; font: 800 22px/1 var(--head); }
.local-alert h3, .local-advisory h3 { margin: 4px 0 8px; font: 800 22px/1.2 var(--head); color: var(--ink); }
.local-alert p, .local-advisory p { margin-bottom: 0; }
.local-alert .local-subtle { margin-top: 6px; }
.local-advisory { align-items: center; background: var(--gold-soft); }
.local-advisory-mark { flex: none; color: var(--tile-text); font-size: 40px; line-height: 1; }
.local-advisory h3 { font: 800 clamp(20px, 2.3vw, 26px)/1.2 var(--head); }
.local-advisory-alert { background: var(--blush); }
.local-row { padding: 12px 0; border-bottom: 2px dashed var(--ink); }
.local-row:first-of-type { padding-top: 0; }
.local-row:last-of-type { border-bottom: 0; }
.local-row-title { display: block; color: var(--ink); font-size: 17px; font-weight: 700; line-height: 1.35; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a.local-row-title:hover { background: var(--gold); }
.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: 32px; }
.local-market-name { display: block; font-size: 18px; }
.local-lottery { padding: 12px 0; border-bottom: 2px dashed var(--ink); display: flex; flex-direction: column; gap: 4px; }
.local-lottery strong { font: 800 22px/1.2 var(--head); letter-spacing: .02em; }

/* ---- quote and question pages ---- */
.page-shell { position: relative; width: min(100% - 32px, 1180px); margin: 28px auto 36px; padding: 44px 40px 56px; border: 4px solid var(--ink); border-radius: 12px; background: var(--paper); box-shadow: 9px 9px 0 var(--ink); }
.eyebrow { display: inline-block; margin: 0 0 16px; padding: 5px 14px; border: 3px solid var(--ink); border-radius: 8px; background: var(--ink); color: var(--gold); font: 700 15px/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.intro h1 { margin: 0; font: 800 clamp(44px, 5.6vw, 80px)/.96 var(--head); letter-spacing: -.01em; }
.intro-copy { margin: 18px 0 0; color: var(--ink); font-size: clamp(18px, 2vw, 21px); max-width: 680px; }

.options { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.option { min-width: 0; min-height: 247px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; border: 3px solid var(--ink); border-radius: 10px; background: #fff; box-shadow: 5px 5px 0 var(--ink); }
.option-number { color: var(--tile-text); font: 800 15px/1 var(--head); text-transform: uppercase; letter-spacing: .1em; }
.option h2 { margin: 16px 0 8px; font: 800 clamp(24px, 2.7vw, 30px)/1.1 var(--head); }
.option p { margin: 0; color: var(--ink); 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: 3px solid var(--ink); border-radius: 8px; color: #fff; background: var(--accent-dark); font-weight: 700; font-size: 16px; line-height: 1.25; text-decoration: none; text-align: left; cursor: pointer; }
.option-action:hover { background: var(--gold); color: var(--ink); }
.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: 44px; padding: 36px; border: 3px solid var(--ink); border-radius: 10px; background: var(--lawn-deep); }
.question-heading h2 { margin: 0; font: 800 clamp(30px, 4vw, 44px)/1.05 var(--head); }
.question-heading > p:last-child { margin: 12px 0 0; color: var(--ink); }
.question-form { margin-top: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.form-grid label { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 16px; color: var(--ink); }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-width: 0; border: 3px solid var(--ink); border-radius: 8px; padding: 11px 14px; color: var(--ink); background: #fff; font-weight: 400; font-size: 17px; }
.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 { background: var(--gold-soft); }
.form-grid .message-field { grid-column: 1 / -1; }
.form-grid .checkbox-row, .quote-form > fieldset > .checkbox-row { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 600; min-height: 44px; }
.form-grid .checkbox-row { grid-column: 1 / -1; }
.form-grid .checkbox-row input, .quote-form > fieldset > .checkbox-row input { width: 26px; min-width: 26px; height: 26px; min-height: 26px; margin: 1px 0 0; accent-color: var(--accent-dark); }
.quote-form > fieldset > .checkbox-row { margin-top: 22px; }
.honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.form-bottom { margin-top: 26px; }
.form-bottom button, .quote-submit button, .quote-results button { min-height: 54px; display: inline-flex; align-items: center; gap: 12px; border: 3px solid var(--ink); border-radius: 10px; padding: 12px 24px; color: #fff; background: var(--accent-dark); font: 800 20px/1.1 var(--head); box-shadow: 5px 5px 0 var(--ink); cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.form-bottom button:hover, .quote-submit button:hover, .quote-results button:hover { background: var(--gold); color: var(--ink); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.form-bottom button:active, .quote-submit button:active, .quote-results button:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.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(--tile-text); 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: 3px solid var(--ink); border-radius: 24px; padding: 6px 20px; background: #fff; font: 700 18px/1.2 var(--head); text-decoration: none; }
.product-switch a:hover { background: var(--gold); }
.product-switch a[aria-current="page"] { border-color: var(--ink); color: var(--gold); background: var(--ink); }
.quote-form { counter-reset: fs; }
.quote-form fieldset { position: relative; min-width: 0; margin: 26px 0; padding: 34px 28px 28px; border: 3px solid var(--ink); border-radius: 10px; background: var(--lawn-deep); }
.quote-form legend { display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 6px; border: 3px solid var(--ink); border-radius: 24px; background: var(--paper); font: 800 21px/1.2 var(--head); }
.quote-form legend::before { counter-increment: fs; content: counter(fs); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-dark); color: #fff; font: 800 20px/1 var(--head); }
.quote-form .form-grid { margin-top: 6px; }
.quote-submit { margin: 22px 0 28px; max-width: 760px; }
.quote-submit button:disabled, .quote-results button:disabled { cursor: wait; opacity: .6; }
#quote-status { color: var(--tile-text); font-weight: 700; }
.quote-results { margin: 30px 0 30px; padding: 28px; border: 3px solid var(--ink); border-radius: 10px; background: var(--gold-soft); box-shadow: 6px 6px 0 var(--ink); }
.quote-results h2 { margin: 0 0 16px; font: 800 32px/1.1 var(--head); }
.quote-results article { border-top: 3px dashed var(--ink); padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; font: 800 24px/1.15 var(--head); }
.quote-results article p { margin: 4px 0 13px; }

.site-footer { position: relative; margin-top: 44px; padding: 34px max(16px, calc((100% - 1180px) / 2 + 28px)) 38px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; border-top: 4px solid var(--ink); background: var(--ink); color: #f5ecd7; font-size: 16px; }
.site-footer p { margin: 0; }
.site-footer > p:first-child { color: #fff; font-weight: 700; }
.site-footer a { display: inline-block; padding: 8px 2px; color: var(--gold); font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.site-footer a:hover { background: var(--gold); color: var(--ink); }
.site-footer .footer-note { flex-basis: 100%; color: #e8dcc0; font-size: 15px; }
.site-footer :focus-visible { outline-color: var(--gold); box-shadow: 0 0 0 6px var(--ink); }

/* ---- leftover inline colours from old content are overridden here ---- */
.local-board *, .page-shell *, .site-footer * { text-shadow: none; }

@media (max-width: 1000px) {
  .spread { grid-template-columns: minmax(0, 1fr); }
  .plate-pane { border-right: 0; border-bottom: 4px solid var(--ink); padding: 22px 20px; min-height: 0; }
  .tower-wrap { max-width: 230px; }
  .callout-wrap { top: 14px; right: auto; left: calc(50% + 100px); width: 92px; }
  .steps-pane { padding: 30px 24px 26px; }
}
@media (max-width: 850px) {
  .options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .local-intro { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 590px) {
  .table { padding-top: 16px; }
  .booklet { width: min(100% - 24px, 1180px); box-shadow: 6px 6px 0 var(--ink); }
  .header-inner { padding: 14px 16px; flex-wrap: wrap; gap: 10px 14px; }
  .brand { font-size: 14px; gap: 10px; }
  .brand strong { font-size: 19px; }
  .brand-mark { width: 44px; height: 40px; font-size: 21px; }
  .header-link { margin-left: auto; font-size: 15px; white-space: normal; text-align: center; }
  .plate-pane { padding: 18px 14px; }
  .tower-wrap { max-width: 190px; }
  .callout-wrap { left: calc(50% + 70px); width: 80px; }
  .steps-pane { padding: 24px 16px 22px; }
  .minimal-shell h1 { margin-bottom: 22px; }
  .choice-grid { grid-template-columns: 1fr; gap: 14px; }
  .choice-grid a { min-height: 84px; padding: 14px 16px; grid-template-columns: 54px 1fr; grid-template-rows: none; align-items: center !important; column-gap: 12px; }
  .choice-grid a::before { font-size: 50px; }
  .choice-grid a::after { display: none; }
  .page-shell { width: min(100% - 24px, 1180px); padding: 28px 16px 36px; box-shadow: 6px 6px 0 var(--ink); }
  .options { grid-template-columns: 1fr; gap: 14px; margin-top: 34px; }
  .option { min-height: 0; padding: 20px; }
  .question-section { margin-top: 34px; padding: 22px 14px; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .quote-form fieldset { padding: 30px 14px 20px; }
  .form-bottom button, .quote-submit button { width: 100%; justify-content: center; }
  .site-footer { padding: 28px 16px 32px; }
  .local-wrap { padding: 30px 12px 44px; }
  .local-intro { padding: 22px 18px; box-shadow: 6px 6px 0 var(--ink); }
  .local-section-heading { margin-top: 40px; align-items: flex-start; flex-direction: column; gap: 8px; }
  .local-grid, .local-weather-lead, .local-news-list { grid-template-columns: minmax(0, 1fr); }
  .local-card { padding: 28px 18px 20px; }
  .local-weather-lead { gap: 14px; }
  .local-alert, .local-advisory { padding: 18px 16px; gap: 12px; }
  .local-day { flex-basis: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tower-art .piece.p4, .tower-art .piece.p5 { animation: none; }
  .choice-grid a, .header-link, .form-bottom button, .quote-submit button, .quote-results button { transition: none; }
}
