/* Redlands Insurance: the chateau terrace. A mirrored garden-plan elevation in hedge green, gravel buff, slate, verdigris and gilt. */
@font-face { font-family: "Cormorant SC"; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/cormorant-sc-600.woff2) format("woff2"); }
@font-face { font-family: "Cormorant SC"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/cormorant-sc-700.woff2) format("woff2"); }
@font-face { font-family: "Commissioner"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/commissioner-400.woff2) format("woff2"); }
@font-face { font-family: "Commissioner"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/commissioner-700.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --ink: #17301f;
  --muted: #4c5650;
  --line: #a3ab95;
  --paper: #edf0e6;
  --paper-hi: #f9faf4;
  --gravel: #dfe4d2;
  --hedge: #1b3a2a;
  --hedge-2: #2e5a40;
  --slate: #2e4a63;
  --verdigris: #1f6b5c;
  --gilt: #72500c;
  --gilt-hi: #d3a84c;
  --on-hedge: #f1e8cc;
  --accent: #1b3a2a;
  --accent-dark: #1b3a2a;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Cormorant SC", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --text: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;
  --frame: inset 0 0 0 4px var(--paper-hi), inset 0 0 0 5px var(--gilt);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scrollbar-color: var(--hedge-2) var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  background: var(--paper);
  overflow-x: clip;
}
::selection { background: var(--hedge); color: var(--on-hedge); }
a { color: var(--verdigris); text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
a:hover { color: var(--hedge); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; color: var(--hedge); }

/* ---------- header: the hedge-dark gate (all pages) ---------- */
.site-header { background: var(--hedge); border-bottom: 3px double var(--gilt-hi); color: var(--on-hedge); }
.header-inner { width: min(100% - 32px, 1180px); max-width: none; margin: auto; padding: 12px 0; display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; color: var(--on-hedge); text-decoration: none; font-size: 1rem; line-height: 1.2; letter-spacing: .02em; }
.brand strong { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 700; letter-spacing: .05em; text-transform: lowercase; font-variant-caps: small-caps; color: var(--gilt-hi); }
.brand-mark { position: relative; display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1.5px solid var(--gilt-hi); border-radius: 2px; color: var(--gilt-hi); font: 700 1.55rem/1 var(--display); }
.brand-mark::before { content: ""; position: absolute; inset: 3px; border: 1px solid var(--gilt-hi); opacity: .6; }
.header-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-hedge); font-size: .95rem; letter-spacing: .06em; text-decoration: underline; text-decoration-color: var(--gilt-hi); text-underline-offset: .3em; white-space: nowrap; }
.header-link:hover { color: var(--gilt-hi); }

/* ---------- home: terrace, axis, parterre ---------- */
.vista { background: #e4ebe5; border-bottom: 1px solid var(--line); overflow: hidden; line-height: 0; }
.roofscape { display: block; width: 100%; height: clamp(190px, 30vw, 380px); }
.axis { position: relative; background: linear-gradient(#dfe4d2, var(--paper)); }
.minimal-shell { width: min(100% - 32px, 1060px); min-height: 0; margin: auto; padding: clamp(32px, 5vw, 60px) 0 30px; display: flex; flex-direction: column; align-items: stretch; }
.minimal-shell h1 { margin: 0 auto 34px; max-width: 18ch; text-align: center; font-size: clamp(2.5rem, 6.4vw, 4.8rem); line-height: 1; letter-spacing: .05em; text-wrap: balance; }
.minimal-shell h1::after { content: ""; display: block; width: min(280px, 60%); height: 7px; margin: 22px auto 0; border-top: 1px solid var(--gilt); border-bottom: 1px solid var(--gilt); }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.choice-grid a { position: relative; min-height: 124px; padding: 22px 26px; display: flex; align-items: center; justify-content: center; text-align: center; border: 1px solid var(--hedge); border-radius: 2px; background: var(--paper-hi); color: var(--hedge); font: 700 clamp(1.4rem, 2.3vw, 1.75rem)/1.12 var(--display); letter-spacing: .035em; text-decoration: none; box-shadow: var(--frame); transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.choice-grid a:hover, .choice-grid a:focus-visible { background: var(--hedge); color: var(--on-hedge); box-shadow: inset 0 0 0 4px var(--hedge), inset 0 0 0 5px var(--gilt-hi); }
.agency-line { margin: 34px 0 0; text-align: center; color: var(--muted); font-size: 1rem; font-weight: 700; letter-spacing: .03em; }
.agency-line a { display: inline-block; min-height: 44px; line-height: 44px; color: var(--hedge); }
.parterre-band { background: var(--gravel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 16px; line-height: 0; }
.parterre { display: block; width: min(100%, 980px); height: auto; margin: auto; }

/* ---------- local board: the cross-vista ---------- */
.local-board { border-top: 3px double var(--gilt); background: var(--gravel); color: var(--ink); }
.local-wrap { max-width: 1180px; margin: auto; padding: 74px 32px 96px; }
.local-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 0 0 36px; border-bottom: 1px solid var(--line); }
.local-kicker, .local-card-kicker, .local-section-heading > span, .local-small-label { color: var(--gilt); font: 700 .8125rem/1.3 var(--text); letter-spacing: .16em; text-transform: uppercase; }
.local-kicker { margin: 0 0 16px; }
.local-kicker span { padding: 0 7px; }
.local-intro h2 { font-size: clamp(2.7rem, 6vw, 4.6rem); line-height: .98; letter-spacing: .03em; }
.local-intro > div > p:last-child { max-width: 540px; margin: 18px 0 0; color: var(--muted); font-size: 1.0625rem; }
.local-generated { flex: none; margin: 0 0 3px; color: var(--muted); font-size: .8125rem; font-weight: 700; }
.local-section-heading { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; margin: 64px 0 24px; }
.local-section-heading::before { content: ""; width: 1px; height: 28px; background: var(--gilt); order: -1; }
.local-section-heading > span { color: var(--gilt); }
.local-section-heading h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.05; letter-spacing: .04em; }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.local-card { min-width: 0; padding: 30px 30px; border: 1px solid var(--hedge-2); border-radius: 2px; background: var(--paper-hi); box-shadow: var(--frame); color: var(--ink); }
.local-card h4 { margin: 6px 0 20px; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.1; letter-spacing: .035em; }
.local-card-kicker { margin: 0; }
.local-card .local-copy { margin: 10px 0; color: #38433d; }
.local-card .local-subtle, .local-subtle { display: block; color: var(--muted); font-size: .875rem; }
.local-source { margin: 26px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; font-weight: 700; letter-spacing: .02em; }
.local-link { display: inline-block; margin-top: 10px; color: var(--verdigris); font-size: .9375rem; font-weight: 700; text-underline-offset: 3px; }
.local-wide { grid-column: 1 / -1; }
.local-weather-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; padding: 12px 0 26px; border-bottom: 1px solid var(--line); }
.local-weather-lead > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 22px; }
.local-big-temp { color: var(--slate); font: 700 clamp(5rem, 11vw, 8.2rem)/.84 var(--display); letter-spacing: -.02em; }
.local-weather-condition { max-width: 200px; color: #38433d; font-size: 1.0625rem; }
.local-weather-note { padding-bottom: 6px; display: flex; flex-direction: column; gap: 5px; color: #38433d; font-size: 1rem; }
.local-weather-note strong { color: var(--hedge); font-size: 1.0625rem; }
.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(--line); }
.local-day { flex: 0 0 156px; padding: 0 16px; border-left: 0; box-shadow: inset 1px 0 0 var(--line); display: flex; flex-direction: column; gap: 5px; font-size: .875rem; color: var(--muted); line-height: 1.35; }
.local-day:first-child { padding-left: 0; box-shadow: none; }
.local-day strong { color: var(--hedge); font-size: .9375rem; }
.local-day-temp { color: var(--slate); font: 700 1.6rem/1.1 var(--display); letter-spacing: .02em; }
.local-small-label { margin: 22px 0 14px; }
.local-hour-strip { gap: 8px; }
.local-hour { flex: 0 0 92px; padding: 11px 10px; border: 1px solid var(--line); border-radius: 2px; background: var(--gravel); display: flex; flex-direction: column; gap: 3px; font-size: .8125rem; color: var(--muted); }
.local-hour strong { color: var(--hedge); font: 700 1.5rem/1.1 var(--display); }
.local-big-number { margin: 14px 0 8px; color: var(--slate); font: 700 4.6rem/.95 var(--display); letter-spacing: -.01em; }
.local-radar { margin: 18px 0 0; overflow: hidden; border: 1px solid var(--hedge); border-radius: 2px; padding: 5px; background: var(--hedge); }
.local-radar img { display: block; width: 100%; height: auto; }
.local-radar figcaption { padding: 7px 4px 3px; color: var(--on-hedge); font-size: .75rem; }
.local-alert, .local-advisory { display: flex; gap: 18px; padding: 24px 26px; margin-top: 20px; border: 1px solid #a8553a; border-radius: 2px; background: #f7e5d8; color: #3a1c12; }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 2px; transform: rotate(45deg); background: #8e2f1b; color: #fff; font-weight: 800; }
.local-alert-icon > * { transform: rotate(-45deg); }
.local-alert h3, .local-advisory h3 { margin: 6px 0 8px; font-family: var(--text); color: inherit; font-size: 1.2rem; line-height: 1.35; letter-spacing: 0; }
.local-alert p, .local-advisory p { margin-bottom: 0; }
.local-advisory { align-items: center; border-color: var(--hedge-2); background: #dfe7d2; color: var(--ink); }
.local-advisory-mark { flex: none; color: var(--gilt); font-size: 2.4rem; line-height: 1; }
.local-advisory h3 { font-family: var(--display); font-weight: 700; color: var(--hedge); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15; letter-spacing: .03em; }
.local-advisory-alert { border-color: #a8553a; background: #f7e5d8; color: #3a1c12; }
.local-row { padding: 13px 0; border-bottom: 1px solid #c4cab2; }
.local-row:first-of-type { padding-top: 0; }
.local-row:last-of-type { border-bottom: 0; }
.local-row-title { display: block; color: var(--hedge); font-size: 1rem; font-weight: 700; line-height: 1.38; text-decoration-color: var(--gilt); text-underline-offset: 4px; }
.local-row-title:hover { color: var(--verdigris); }
.local-row-detail { display: block; margin-top: 4px; color: var(--muted); font-size: .875rem; }
.local-news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
.local-market-name { display: block; font-size: 1.0625rem; }
.local-lottery { padding: 12px 0; border-bottom: 1px solid #c4cab2; display: flex; flex-direction: column; gap: 5px; }
.local-lottery strong { font: 700 1.4rem/1.2 var(--display); letter-spacing: .05em; color: var(--hedge); }

/* ---------- quote and question pages ---------- */
.page-shell { width: min(100% - 32px, 1120px); max-width: none; margin: auto; padding: 56px 0 84px; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; color: var(--gilt); font: 700 1.2rem/1.3 var(--display); letter-spacing: .04em; }
.eyebrow::after { content: ""; flex: 0 1 120px; height: 5px; border-top: 1px solid var(--gilt); border-bottom: 1px solid var(--gilt); }
.intro h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1; letter-spacing: .04em; text-wrap: balance; }
.intro-copy { margin: 20px 0 0; color: #38433d; font-size: clamp(1.0625rem, 2vw, 1.25rem); max-width: 650px; }

.options { margin-top: 50px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.option { min-width: 0; min-height: 240px; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--hedge); border-radius: 2px; background: var(--paper-hi); box-shadow: var(--frame); transition: box-shadow .25s var(--ease); }
.option-number { color: var(--gilt); font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.option h2 { margin: 18px 0 8px; font-size: clamp(1.7rem, 2.7vw, 2.1rem); line-height: 1.1; letter-spacing: .03em; }
.option p { margin: 0; color: var(--muted); font-size: 1rem; 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: 1px solid var(--hedge); border-radius: 2px; color: var(--on-hedge); background: var(--hedge); font-weight: 700; font-size: 1rem; line-height: 1.25; text-decoration: none; text-align: left; cursor: pointer; }
.option-action:hover { background: var(--slate); color: #fff; }
.option-action span { font-size: 1.2rem; line-height: 1; }
.option .option-note { margin-top: 8px; font-size: .875rem; color: var(--muted); }

.question-section { scroll-margin-top: 25px; margin-top: 44px; padding: 44px; border: 1px solid var(--hedge); border-radius: 2px; background: var(--paper-hi); box-shadow: inset 0 0 0 6px var(--paper-hi), inset 0 0 0 7px var(--gilt); }
.question-heading h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: .04em; }
.question-heading > p:last-child { margin: 12px 0 0; color: #38433d; }
.question-form { margin-top: 34px; }
.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: 1rem; color: var(--hedge); }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-width: 0; border: 1px solid #5d6b5f; border-radius: 2px; padding: 12px 14px; color: var(--ink); background: #fbfcf6; font-weight: 400; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--slate); outline: 3px solid var(--slate); outline-offset: 1px; }
.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: flex-start; gap: 12px; font-weight: 400; color: var(--ink); }
.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: 1px 0 0; accent-color: var(--hedge); }
.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: 52px; display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--hedge); border-radius: 2px; padding: 12px 22px; color: var(--on-hedge); background: var(--hedge); font-weight: 700; font-size: 1.0625rem; letter-spacing: .02em; cursor: pointer; box-shadow: inset 0 0 0 3px var(--hedge), inset 0 0 0 4px var(--gilt-hi); }
.form-bottom button:hover, .quote-submit button:hover, .quote-results button:hover { background: var(--slate); border-color: var(--slate); box-shadow: inset 0 0 0 3px var(--slate), inset 0 0 0 4px var(--gilt-hi); }
.quote-submit button:disabled, .quote-results button:disabled { cursor: wait; opacity: .65; }
.submit-note { max-width: 640px; margin: 16px 0 0; color: var(--muted); font-size: .9375rem; }
.form-status { min-height: 22px; margin: 12px 0 0; color: var(--hedge); font-weight: 700; font-size: 1rem; }

.product-switch { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 20px; }
.product-switch a { display: inline-flex; align-items: center; min-height: 46px; border: 1px solid var(--hedge); border-radius: 2px; padding: 8px 20px; background: var(--paper-hi); color: var(--hedge); font-weight: 700; text-decoration: none; box-shadow: inset 0 0 0 2px var(--paper-hi), inset 0 0 0 3px var(--line); }
.product-switch a:hover { background: var(--gravel); }
.product-switch a[aria-current="page"] { border-color: var(--hedge); color: var(--on-hedge); background: var(--hedge); box-shadow: inset 0 0 0 2px var(--hedge), inset 0 0 0 3px var(--gilt-hi); }
.quote-form fieldset { min-width: 0; margin: 18px 0; padding: 28px; border: 1px solid var(--hedge); border-radius: 2px; background: var(--paper-hi); box-shadow: inset 0 0 0 5px var(--paper-hi), inset 0 0 0 6px var(--line); }
.quote-form legend { padding: 0 10px; color: var(--hedge); font: 700 1.6rem/1.2 var(--display); letter-spacing: .06em; }
.quote-form .form-grid { margin-top: 4px; }
.quote-submit { margin: 22px 0 55px; max-width: 720px; }
#quote-status { color: var(--hedge); font-weight: 700; }
.quote-results { margin: 30px 0 70px; padding: 28px; border: 1px solid var(--hedge); border-radius: 2px; background: var(--paper-hi); box-shadow: var(--frame); }
.quote-results h2 { margin: 0 0 16px; letter-spacing: .04em; }
.quote-results article { border-top: 1px solid var(--line); padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; font-family: var(--text); font-size: 1.15rem; letter-spacing: 0; }
.quote-results article p { margin: 4px 0 13px; }

/* ---------- footer ---------- */
.site-footer { max-width: none; margin: 0; padding: 26px max(16px, calc((100% - 1120px) / 2)) 34px; border-top: 3px double var(--gilt-hi); background: var(--hedge); display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 24px; color: var(--on-hedge); font-size: .9375rem; }
.site-footer p { margin: 0; }
.site-footer > p:first-child { color: #fff; font-weight: 700; }
.site-footer a { color: var(--gilt-hi); text-underline-offset: 4px; display: inline-block; min-height: 32px; line-height: 32px; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-note { flex-basis: 100%; }

/* ---------- responsive ---------- */
@media (max-width: 850px) {
  .options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .local-intro { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 590px) {
  .header-inner { gap: 4px 16px; }
  .brand { font-size: .9rem; gap: 10px; }
  .brand strong { font-size: 1.2rem; }
  .brand-mark { width: 40px; height: 40px; font-size: 1.35rem; }
  .header-link { margin-left: auto; font-size: .9rem; white-space: normal; text-align: right; }
  .roofscape { height: 200px; }
  .page-shell { padding: 40px 0 60px; }
  .options { margin-top: 36px; grid-template-columns: 1fr; gap: 12px; }
  .option { min-height: 0; padding: 24px; }
  .question-section { margin-top: 32px; padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .quote-form fieldset { padding: 24px 16px; }
  .minimal-shell h1 { margin-bottom: 28px; }
  .choice-grid { grid-template-columns: 1fr; gap: 12px; }
  .choice-grid a { min-height: 84px; padding: 18px; }
  .local-wrap { padding: 56px 18px 72px; }
  .local-section-heading { margin-top: 48px; }
  .local-grid, .local-weather-lead, .local-news-list { grid-template-columns: 1fr; }
  .local-card { padding: 26px 20px; }
  .local-weather-lead { gap: 14px; }
  .local-alert, .local-advisory { padding: 22px 18px; gap: 14px; }
  .local-day { flex-basis: 128px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .choice-grid a, .option { transition: none; }
}
