@font-face { font-family: "Libre Baskerville"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/libre-baskerville-400.woff2) format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/libre-baskerville-700.woff2) format("woff2"); }
@font-face { font-family: "Limelight"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/limelight-400.woff2) format("woff2"); }

/* Oakland: a lexicon page (black on ivory stock, a shoulder down the left) whose only colour sits in bordered
   plates: the gilt, oxblood, jade and midnight plaster of the Paramount Theatre, 1931. */
:root {
  color-scheme: light;
  --ink: #17120f;
  --muted: #4b4238;
  --line: #16130f;
  --soft: #aab5a8;
  --paper: #e3e8e0;
  --sheet: #f4f6f1;
  --accent: #7a1f2b;
  --accent-dark: #5e1520;
  --red: #7a1f2b;
  --blue: #1f6b66;
  --ochre: #d1a03a;
  --green: #26304f;
  --orange: #8c4a1a;
  --slate: #3b2f2a;
  --deco: "Limelight", "Didot", "Bodoni 72", serif;
  --text: "Libre Baskerville", Baskerville, Georgia, serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 17px/1.65 var(--text); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 4px solid var(--blue); outline-offset: 3px; }

/* ---- Home: yard plate, shoulder and sheet ---- */
.yard-plate { max-width: 1240px; margin: 28px auto 0; padding: 0 24px; }
.yard-plate svg { display: block; width: 100%; height: clamp(150px, 19vw, 240px); border: 3px solid var(--ink); background: var(--ink); outline: 2px solid var(--ochre); outline-offset: -11px; }
.manifest { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 96px minmax(0, 1fr); }
.shoulder { padding: 22px 0 0; }
.shoulder svg { display: block; width: 84px; height: auto; }
.sheet { min-width: 0; }
.minimal-shell { width: auto; max-width: 1020px; min-height: 0; margin: 0; padding: 40px 0 48px 8px; display: flex; flex-direction: column; }
.minimal-shell h1 { margin: 0 0 8px; padding-top: 18px; border-top: 6px double var(--ink); font: 400 clamp(40px, 6.2vw, 80px)/1.08 var(--deco); letter-spacing: 0; text-wrap: balance; }
.minimal-shell h1::after { content: ""; display: block; margin-top: 22px; height: 8px; background: linear-gradient(90deg, var(--ochre) 0 56px, transparent 56px 64px, var(--ink) 64px 100%) bottom/100% 2px no-repeat, linear-gradient(var(--ochre), var(--ochre)) left top/56px 8px no-repeat; }
.choice-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.choice-grid a { position: relative; min-height: 150px; padding: 22px 26px 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border: 3px solid var(--ink); border-radius: 0; background-color: var(--red); color: #fff; font: 400 clamp(19px, 1.8vw, 23px)/1.22 var(--deco); letter-spacing: .01em; text-decoration: none; outline: 2px solid var(--ochre); outline-offset: -11px; transition: none; }
.choice-grid a::after { content: "\25C6"; flex: none; align-self: flex-end; color: var(--ochre); font-size: 20px; line-height: 1; }
.choice-grid a:nth-child(1) { background-color: var(--red); }
.choice-grid a:nth-child(2) { background-color: var(--blue); }
.choice-grid a:nth-child(3) { background-color: var(--ochre); color: var(--ink); outline-color: var(--ink); }
.choice-grid a:nth-child(3)::after { color: var(--ink); }
.choice-grid a:nth-child(4) { background-color: var(--green); }
.choice-grid a:nth-child(5) { background-color: var(--orange); }
.choice-grid a:nth-child(6) { background: var(--sheet); color: var(--ink); outline-color: var(--ink); }
.choice-grid a:nth-child(6)::after { display: none; }
.choice-grid a:hover { outline-offset: -6px; }
.choice-grid a:active { outline-offset: -3px; }
.choice-grid a:active::after { transform: rotate(90deg); }
.choice-grid a:focus-visible { outline: 4px solid var(--blue); outline-offset: 3px; }
.choice-grid a:visited { outline: 0; }
.choice-grid a:nth-child(6):hover { background: #fff; }
.agency-line { margin: 38px 0 0; padding-top: 14px; border-top: 1px solid var(--ink); color: var(--muted); font-size: 15px; font-weight: 400; }
.agency-line a { color: var(--ink); font-weight: 700; text-underline-offset: 4px; }

@media (min-width: 851px) {
  .home-shell { min-height: 0; padding-bottom: 12px; }
  .home-shell .agency-line { margin: 38px 0 0; padding-top: 14px; }
  .home-shell + .local-board .local-wrap { padding-top: 40px; }
}

/* ---- Header ---- */
.site-header { border-bottom: 3px solid var(--ink); background: var(--sheet); box-shadow: 0 5px 0 var(--paper), 0 7px 0 var(--ochre), 0 8px 0 var(--ink); }
.header-inner { max-width: 1240px; margin: auto; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-size: 16px; line-height: 1.25; }
.brand strong { display: block; font: 400 20px/1.15 var(--deco); letter-spacing: .02em; }
.brand-mark { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border: 3px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--ochre); font: 400 26px/1 var(--deco); outline: 2px solid var(--ochre); outline-offset: -6px; }
.header-link { display: inline-flex; align-items: center; min-height: 44px; border: 0; padding: 0; background: transparent; color: var(--ink); white-space: nowrap; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; cursor: pointer; }
.header-link span { color: var(--accent); }
.header-link:hover { background: var(--ink); color: var(--sheet); text-decoration: none; padding: 0 8px; }

/* ---- Inner pages: shoulder is a left rule ---- */
.page-shell { max-width: 1240px; margin: 32px auto 0; padding: 12px 24px 92px 128px; position: relative; }
.page-shell::before { content: ""; position: absolute; left: 24px; top: 0; bottom: 60px; width: 84px; border-right: 3px solid var(--ink); }
.page-shell::after { content: ""; position: absolute; left: 30px; top: 8px; width: 66px; height: 62px; border: 3px solid var(--ink); background: var(--red); outline: 2px solid var(--ochre); outline-offset: -9px; }
.eyebrow { margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); color: var(--muted); font: 700 14px/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; max-width: 670px; }
.intro h1 { margin: 0; padding-top: 14px; border-top: 6px double var(--ink); font: 400 clamp(36px, 5.2vw, 66px)/1.1 var(--deco); letter-spacing: 0; }
.intro-copy { margin: 22px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 66ch; }

.options { margin-top: 55px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.option { min-width: 0; min-height: 247px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; border: 3px solid var(--ink); border-radius: 0; background: var(--sheet); }
.option-number { color: var(--accent); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.option h2 { margin: 19px 0 7px; font: 400 clamp(24px, 2.7vw, 30px)/1.12 var(--deco); }
.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: 3px solid var(--ink); border-radius: 0; color: #fff; background: var(--accent-dark); font: 400 18px/1.25 var(--deco); text-decoration: none; text-align: left; cursor: pointer; }
.option-action:hover { background: var(--ink); }
.option-action span { font-size: 19px; line-height: 1; }
.option .option-note { margin-top: 7px; font-size: 14px; color: var(--muted); }

/* ---- Question form ---- */
.question-section { scroll-margin-top: 25px; margin-top: 56px; padding: 0; border: 3px solid var(--ink); border-radius: 0; background: var(--sheet); }
.question-heading h2 { margin: 0; padding: 16px 28px; background: var(--blue); color: #fff; font: 400 clamp(26px, 3.4vw, 38px)/1.12 var(--deco); }
.question-heading > p:last-child { margin: 13px 28px 0; color: var(--muted); }
.question-form { margin: 0; padding: 32px 28px 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 var(--ink); border-radius: 0; padding: 12px 14px; color: var(--ink); background: #fff; font-weight: 400; }
.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 { outline: 4px solid var(--blue); outline-offset: 0; background: #fff; }
.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: 3px 0 0; accent-color: var(--blue); }
.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 { min-height: 54px; display: inline-flex; align-items: center; gap: 12px; border: 3px solid var(--ink); border-radius: 0; padding: 12px 22px; color: #fff; background: var(--accent-dark); font: 400 20px/1.2 var(--deco); letter-spacing: .02em; cursor: pointer; }
.form-bottom button:hover { background: var(--ink); }
.form-bottom button:active { transform: translate(4px, 4px); box-shadow: none; }
.submit-note { max-width: 62ch; margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.form-status { min-height: 22px; margin: 13px 0 0; color: var(--accent-dark); font-weight: 700; font-size: 16px; }

/* ---- Quote form ---- */
.product-switch { display: flex; flex-wrap: wrap; gap: 10px; margin: 38px 0 22px; }
.product-switch a { display: inline-flex; align-items: center; min-height: 48px; border: 3px solid var(--ink); border-radius: 0; padding: 8px 18px; background: var(--sheet); font: 400 19px/1.2 var(--deco); letter-spacing: .02em; text-decoration: none; }
.product-switch a:hover { background: #fff; }
.product-switch a[aria-current="page"] { color: #fff; background: var(--blue); }
.quote-form fieldset { min-width: 0; margin: 24px 0; padding: 30px 28px 28px; border: 3px solid var(--ink); border-radius: 0; background: var(--sheet); }
.quote-form legend { padding: 6px 16px; border: 3px solid var(--ink); background: var(--ochre); color: var(--ink); font: 400 22px/1.2 var(--deco); letter-spacing: .02em; }
.quote-form fieldset:nth-of-type(2n) legend { background: var(--green); color: #fff; }
.quote-form fieldset:nth-of-type(3n) legend { background: var(--red); color: #fff; }
.quote-form .form-grid { margin-top: 8px; }
.quote-submit { margin: 22px 0 55px; max-width: 720px; }
.quote-submit button, .quote-results button { min-height: 54px; border: 3px solid var(--ink); border-radius: 0; padding: 12px 22px; color: #fff; background: var(--accent-dark); font: 400 20px/1.2 var(--deco); letter-spacing: .02em; cursor: pointer; }
.quote-submit button:hover, .quote-results button:hover { background: var(--ink); }
.quote-submit button:disabled, .quote-results button:disabled { cursor: wait; opacity: .6; }
#quote-status { color: var(--accent-dark); font-weight: 700; }
.quote-results { margin: 30px 0 70px; padding: 28px; border: 3px solid var(--ink); border-radius: 0; background: var(--sheet); }
.quote-results h2 { margin: 0 0 16px; font: 400 32px/1.1 var(--deco); }
.quote-results article { border-top: 2px solid var(--ink); padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; font-size: 21px; }
.quote-results article p { margin: 4px 0 13px; }

/* ---- Footer ---- */
.site-footer { border-top: 3px solid var(--ink); max-width: 1240px; margin: auto; padding: 24px 24px 36px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 15px; }
.site-footer p { margin: 0; }
.site-footer > p:first-child { color: var(--ink); font-weight: 700; }
.site-footer a { text-underline-offset: 4px; }
.site-footer .footer-note { flex-basis: 100%; }

/* ---- Local board: the same stock, cards are plates, guide rules head each span ---- */
.local-board { border-top: 6px solid var(--ink); background: var(--paper); color: var(--ink); }
.local-wrap { max-width: 1240px; margin: auto; padding: 72px 24px 100px 128px; }
.local-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 0 0 34px; border-bottom: 3px double var(--ink); }
.local-kicker, .local-card-kicker, .local-section-heading > span, .local-small-label { color: var(--muted); font: 700 14px/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; }
.local-kicker { margin: 0 0 18px; }
.local-kicker span { padding: 0 7px; }
.local-intro h2 { margin: 0; font: 400 clamp(36px, 5vw, 62px)/1.08 var(--deco); }
.local-intro > div > p:last-child { max-width: 56ch; margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.local-generated { flex: none; margin: 0 0 3px; color: var(--muted); font-size: 14px; font-weight: 700; }
.local-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 64px 0 22px; padding-bottom: 8px; border-bottom: 3px solid var(--ink); }
.local-section-heading h3 { margin: 0; font: 700 clamp(27px, 3.2vw, 38px)/1.1 var(--text); }
.local-section-heading > span { order: 2; white-space: nowrap; }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.local-card { outline: 1px solid var(--ochre); outline-offset: -8px; min-width: 0; padding: 24px 26px 26px; border: 3px solid var(--ink); border-top-width: 14px; border-radius: 0; background: var(--sheet); }
.local-grid > .local-card:nth-child(4n+1) { border-top-color: var(--red); }
.local-grid > .local-card:nth-child(4n+2) { border-top-color: var(--blue); }
.local-grid > .local-card:nth-child(4n+3) { border-top-color: var(--ochre); }
.local-grid > .local-card:nth-child(4n+4) { border-top-color: var(--green); }
.local-card h4 { margin: 7px 0 20px; font: 400 clamp(24px, 2.6vw, 31px)/1.12 var(--deco); }
.local-card-kicker { margin: 0; }
.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: 26px 0 0; padding-top: 14px; border-top: 1px solid var(--ink); color: var(--muted); font-size: 14px; font-weight: 400; }
.local-link { display: inline-block; margin-top: 11px; padding: 10px 0; color: var(--ink); font-size: 16px; font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.local-link:active { text-decoration-thickness: 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 27px; border-bottom: 1px solid var(--ink); }
.local-weather-lead > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px 22px; }
.local-big-temp { font: 400 clamp(76px, 11vw, 128px)/.9 var(--deco); }
.local-weather-condition { max-width: 200px; color: var(--muted); font-size: 18px; }
.local-weather-note { padding-bottom: 7px; display: flex; flex-direction: column; gap: 5px; color: var(--muted); 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: 1px solid var(--ink); }
.local-day { flex: 0 0 150px; padding: 0 14px; border-left: 1px solid var(--ink); display: flex; flex-direction: column; gap: 5px; font-size: 14px; color: var(--muted); line-height: 1.3; }
.local-day:first-child { padding-left: 0; border-left: 0; }
.local-day strong { color: var(--ink); font-size: 16px; }
.local-day-temp { color: var(--accent); font: 400 24px/1.1 var(--deco); }
.local-small-label { margin: 23px 0 14px; }
.local-hour-strip { gap: 9px; }
.local-hour { flex: 0 0 96px; padding: 11px 10px; border: 2px solid var(--ink); border-radius: 0; background: var(--paper); display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--muted); }
.local-hour strong { color: var(--ink); font: 400 24px/1.1 var(--deco); }
.local-big-number { margin: 16px 0 8px; color: var(--accent); font: 400 76px/1 var(--deco); }
.local-radar { margin: 19px 0 0; overflow: hidden; border: 3px solid var(--ink); border-radius: 0; background: #fff; }
.local-radar img { display: block; width: 100%; height: auto; }
.local-radar figcaption { padding: 6px 9px; border-top: 2px solid var(--ink); background: var(--sheet); color: var(--muted); font-size: 13px; }
.local-alert, .local-advisory { display: flex; gap: 19px; padding: 22px 26px; margin-top: 21px; border: 3px solid var(--ink); border-radius: 0; background: #f3d6c9; }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 3px solid var(--ink); border-radius: 0; background: var(--red); color: #fff; font-weight: 700; }
.local-alert h3, .local-advisory h3 { margin: 7px 0 9px; font-size: 21px; line-height: 1.35; }
.local-alert p, .local-advisory p { margin-bottom: 0; }
.local-advisory { align-items: center; background: #e8dcae; }
.local-advisory-mark { flex: none; color: var(--ink); font-size: 41px; line-height: 1; }
.local-advisory h3 { font: 700 clamp(21px, 2.5vw, 28px)/1.25 var(--text); }
.local-advisory-alert { background: #f3d6c9; }
.local-row { padding: 13px 0; border-bottom: 1px solid var(--soft); }
.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.4; text-decoration-color: var(--ink); text-underline-offset: 4px; }
.local-row-title:visited { border-left: 4px solid var(--ink); padding-left: 8px; }
.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: 1px solid var(--soft); display: flex; flex-direction: column; gap: 5px; }
.local-lottery strong { font: 400 24px/1.2 var(--deco); letter-spacing: .04em; }

@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; }
  .manifest { grid-template-columns: 56px minmax(0, 1fr); }
  .shoulder svg { width: 52px; }
  .local-wrap { padding-left: 24px; }
  .page-shell { padding-left: 24px; }
  .page-shell::before, .page-shell::after { display: none; }
}

@media (max-width: 590px) {
  .header-inner { padding: 14px 16px; flex-wrap: wrap; gap: 6px 14px; }
  .brand { font-size: 14px; gap: 10px; }
  .brand strong { font-size: 18px; }
  .brand-mark { width: 42px; height: 42px; font-size: 22px; }
  .header-link { margin-left: auto; font-size: 15px; white-space: normal; text-align: right; }
  .yard-plate { margin-top: 18px; padding: 0 16px; }
  .manifest { padding: 0 16px; grid-template-columns: 14px minmax(0, 1fr); }
  .shoulder { border-right: 3px solid var(--ink); }
  .shoulder svg { display: none; }
  .minimal-shell { padding: 28px 0 36px 14px; }
  .minimal-shell h1 { margin: 0 0 8px; padding-top: 18px; border-top: 6px double var(--ink); font: 400 clamp(40px, 6.2vw, 80px)/1.08 var(--deco); letter-spacing: 0; text-wrap: balance; }
  .choice-grid { grid-template-columns: 1fr; gap: 14px; }
  .choice-grid a { position: relative; min-height: 150px; padding: 22px 26px 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border: 3px solid var(--ink); border-radius: 0; background-color: var(--red); color: #fff; font: 400 clamp(19px, 1.8vw, 23px)/1.22 var(--deco); letter-spacing: .01em; text-decoration: none; outline: 2px solid var(--ochre); outline-offset: -11px; transition: none; }
  .page-shell { padding: 8px 16px 65px; margin-top: 24px; }
  .options { margin-top: 37px; grid-template-columns: 1fr; gap: 12px; }
  .option { min-height: 0; padding: 23px; }
  .option h2 { margin-top: 15px; }
  .option .option-action { margin-top: 20px; }
  .question-section { margin-top: 40px; }
  .question-heading h2 { padding: 14px 18px; }
  .question-heading > p:last-child { margin-left: 18px; margin-right: 18px; }
  .question-form { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 19px; }
  .quote-form fieldset { padding: 24px 16px 22px; }
  .site-footer { padding: 22px 16px 34px; }
  .local-wrap { padding: 52px 16px 70px; }
  .local-section-heading { margin-top: 48px; align-items: flex-start; flex-direction: column; gap: 7px; }
  .local-section-heading > span { order: 0; white-space: normal; }
  .local-grid, .local-weather-lead, .local-news-list { grid-template-columns: 1fr; }
  .local-card { padding: 20px 18px 22px; }
  .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; }
}
