/* Menifee Insurance: a granite-and-gravel rock garden. Three stones off-centre, pale raked ground left bare, one sprig. */
@font-face { font-family: "Young Serif"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/young-serif-400.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: #26221e;
  --muted: #4a443c;
  --line: #a9a696;
  --paper: #dcdfdc;
  --plaster: #f2f4f0;
  --gravel: #cfd2c9;
  --gravel-deep: #a5a898;
  --granite: #3b3631;
  --granite-mid: #8b8277;
  --on-granite: #f2f4f0;
  --lichen: #8c3a08;
  --lichen-bright: #d9742a;
  --sage: #3e5a47;
  --sage-wash: #dfe6d8;
  --accent: #8c3a08;
  --accent-dark: #3b3631;
  --display: "Young Serif", Georgia, "Times New Roman", serif;
  --text: "Alegreya Sans", "Gill Sans", "Trebuchet MS", sans-serif;
  --pebble-a: 46px 74px 52px 82px / 54px 62px 50px 70px;
  --pebble-b: 70px 44px 80px 50px / 62px 50px 68px 54px;
  --pebble-c: 38px 60px 44px 64px / 46px 54px 44px 58px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font: 400 1.25rem/1.5 var(--text);
  background-color: var(--paper);

  overflow-x: clip;
}
::selection { background: var(--granite); color: var(--on-granite); }
a { color: var(--lichen); text-decoration-thickness: 2px; text-underline-offset: .2em; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--lichen-bright); }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 400; }

/* ---------- header (all pages) ---------- */
.site-header { position: relative; z-index: 2; border: 0; background: none; }
.header-inner { width: min(100% - 48px, 1180px); max-width: none; margin: auto; padding: 22px 0 6px; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; color: var(--ink); text-decoration: none; font-size: 1.05rem; line-height: 1.15; letter-spacing: 0; }
.brand strong { display: block; font-size: 1.2rem; font-weight: 700; }
.brand:hover { color: var(--ink); }
.brand-mark { display: grid; place-items: center; flex: none; width: 50px; height: 44px; border: 0; border-radius: 52% 48% 46% 54% / 60% 58% 42% 40%; background: var(--granite-mid); box-shadow: inset 0 -7px 0 #5f574d, inset 7px 6px 0 #a79e90; color: #1d1a17; font: 400 1.4rem/1 var(--display); }
.header-link { display: inline-flex; align-items: center; min-height: 48px; border: 0; padding: 0; background: transparent; color: var(--ink); white-space: nowrap; font-weight: 700; text-decoration: underline; text-decoration-color: var(--lichen-bright); text-decoration-thickness: 3px; text-underline-offset: .22em; cursor: pointer; }
.header-link:hover { color: var(--lichen); }
.header-link span { color: var(--lichen); }

/* ---------- home: the alcove ---------- */
.alcove { position: relative; display: flex; flex-direction: column; width: 100%; }
.alcove-art { position: absolute; z-index: 0; top: 70px; right: max(24px, calc((100% - 1180px) / 2)); width: min(50%, 600px); pointer-events: none; }
.alcove-svg, .gravel-svg { display: block; width: 100%; height: auto; }
.minimal-shell { position: relative; z-index: 1; width: min(100% - 48px, 1180px); min-height: 0; margin: 0 auto; padding: 18px 0 30px; display: flex; flex-direction: column; }
.minimal-shell h1 { max-width: 6.4em; min-height: clamp(280px, 38vw, 430px); margin: 22px 0 40px; padding-top: clamp(10px, 3vw, 46px); font-size: clamp(3.1rem, 6.6vw, 6rem); line-height: .98; letter-spacing: -.02em; color: var(--ink); }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 24px; align-items: start; }
.choice-grid a { position: relative; min-height: 148px; padding: 26px 34px 28px; display: flex; align-items: flex-end; border: 2px solid var(--granite); border-radius: var(--pebble-a); background: var(--granite); color: var(--on-granite); font: 400 clamp(1.3rem, 2.1vw, 1.65rem)/1.18 var(--display); letter-spacing: 0; text-decoration: none; transition: background-color .25s, color .25s, transform .25s; }
.choice-grid a:nth-child(1) { min-height: 196px; }
.choice-grid a:nth-child(2) { margin-top: 56px; border-radius: var(--pebble-b); background: var(--gravel); color: var(--ink); }
.choice-grid a:nth-child(3) { margin-top: 18px; min-height: 164px; border-radius: var(--pebble-c); background: var(--granite-mid); border-color: var(--granite-mid); color: #14110f; }
.choice-grid a:nth-child(4) { margin-top: -6px; border-radius: var(--pebble-b); background: var(--plaster); color: var(--ink); border-color: var(--granite); }
.choice-grid a:nth-child(5) { margin-top: 40px; min-height: 172px; border-radius: var(--pebble-c); }
.choice-grid a:nth-child(6) { margin-top: 8px; min-height: 120px; border-radius: var(--pebble-a); border-style: dashed; background: transparent; color: var(--ink); }
.choice-grid a:hover, .choice-grid a:focus-visible { background: var(--lichen); border-color: var(--lichen); color: #fff8f0; transform: translateY(-4px) rotate(-.4deg); }
.agency-line { margin: 44px 0 0; padding: 18px 0 0; border-top: 2px dotted var(--gravel-deep); color: var(--muted); font-size: 1.1rem; font-weight: 700; }
.agency-line a { display: inline-block; min-height: 24px; color: var(--lichen); }

.gravel-band { overflow: hidden; height: 120px; border-top: 2px solid var(--gravel-deep); border-bottom: 2px solid var(--gravel-deep); }
.gravel-band .gravel-svg { height: 100%; }

/* ---------- local board ---------- */
.local-board { margin: 0; padding: 0 24px; border: 0; background: var(--gravel); color: var(--ink); }
.local-board + .gravel-band { margin-top: 0; }
.local-wrap { width: min(100%, 1180px); max-width: none; margin: auto; padding: 72px 0 90px; }
.local-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 0 0 34px; border-bottom: 2px dotted var(--gravel-deep); }
.local-kicker, .local-card-kicker, .local-section-heading > span, .local-small-label { color: var(--lichen); font: 700 .95rem/1.2 var(--text); letter-spacing: .12em; text-transform: uppercase; }
.local-kicker { margin: 0 0 16px; }
.local-kicker span { padding: 0 7px; }
.local-intro h2 { max-width: 9em; font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1; letter-spacing: -.015em; }
.local-intro > div > p:last-child { max-width: 34em; margin: 18px 0 0; color: var(--muted); font-size: 1.2rem; }
.local-generated { flex: none; margin: 0 0 3px; color: var(--muted); font-size: 1rem; font-weight: 700; }
.local-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 64px 0 20px; }
.local-section-heading h3 { font-size: clamp(1.8rem, 3.2vw, 2.45rem); line-height: 1.06; }
.local-section-heading > span { color: var(--sage); }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.local-grid > .local-card:nth-child(even) { margin-top: 26px; }
.local-card { min-width: 0; padding: 28px 30px; border: 1.5px solid var(--gravel-deep); border-radius: 34px 10px 38px 10px; background: var(--plaster); box-shadow: 0 2px 0 var(--gravel-deep); }
.local-card h4 { margin: 8px 0 20px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; }
.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: 1rem; }
.local-source { margin: 24px 0 0; padding-top: 14px; border-top: 1.5px dotted var(--gravel-deep); color: var(--muted); font-size: .95rem; font-weight: 700; }
.local-link { display: inline-block; margin-top: 11px; padding: 10px 0; color: var(--lichen); font-size: 1.05rem; font-weight: 700; text-underline-offset: 4px; }
.local-wide { grid-column: 1 / -1; margin-top: 0 !important; }
.local-weather-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; padding: 12px 0 26px; border-bottom: 1.5px dotted var(--gravel-deep); }
.local-weather-lead > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px 22px; }
.local-big-temp { font: 400 clamp(5rem, 11vw, 8.2rem)/.86 var(--display); letter-spacing: -.04em; color: var(--ink); }
.local-weather-condition { max-width: 200px; color: var(--muted); font-size: 1.2rem; }
.local-weather-note { padding-bottom: 6px; display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: 1.1rem; }
.local-weather-note strong { color: var(--ink); font-size: 1.2rem; }
.local-day-strip, .local-hour-strip { display: flex; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--granite-mid) var(--gravel); }
.local-day-strip { gap: 0; padding: 22px 0; border-bottom: 1.5px dotted var(--gravel-deep); }
.local-day { flex: 0 0 158px; padding: 0 16px; border-left: 1.5px dotted var(--gravel-deep); display: flex; flex-direction: column; gap: 5px; font-size: .95rem; color: var(--muted); line-height: 1.3; }
.local-day:first-child { border-left: 0; }
.local-day strong { color: var(--ink); font-size: 1.05rem; }
.local-day-temp { color: var(--lichen); font: 400 1.5rem/1.1 var(--display); }
.local-small-label { margin: 22px 0 14px; }
.local-hour-strip { gap: 10px; padding-bottom: 6px; }
.local-hour { flex: 0 0 96px; padding: 11px 10px; border-radius: 22px 8px 22px 8px; background: var(--gravel); display: flex; flex-direction: column; gap: 3px; font-size: .95rem; color: var(--muted); }
.local-hour strong { color: var(--ink); font: 400 1.5rem/1.1 var(--display); }
.local-big-number { margin: 14px 0 8px; color: var(--lichen); font: 400 4.6rem/.95 var(--display); letter-spacing: -.03em; }
.local-radar { margin: 18px 0 0; overflow: hidden; border: 3px solid var(--granite); border-radius: 26px 8px 26px 8px; background: var(--plaster); }
.local-radar img { display: block; width: 100%; height: auto; }
.local-radar figcaption { padding: 7px 12px; color: var(--muted); font-size: .9rem; font-weight: 700; }
.local-alert, .local-advisory { display: flex; gap: 18px; padding: 24px 26px; margin-top: 20px; border: 2px solid var(--lichen); border-radius: 36px 10px 36px 10px; background: #f3e2d2; color: var(--ink); }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50% 46% 54% 50%; background: var(--lichen); color: #fff8f0; font-weight: 700; }
.local-alert h3, .local-advisory h3 { margin: 6px 0 8px; font-size: 1.35rem; line-height: 1.3; }
.local-alert p, .local-advisory p { margin-bottom: 0; }
.local-advisory { align-items: center; border-color: var(--sage); background: var(--sage-wash); }
.local-advisory-mark { flex: none; color: var(--sage); font-size: 2.4rem; line-height: 1; }
.local-advisory h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.2; }
.local-advisory-alert { border-color: var(--lichen); background: #f3e2d2; }
.local-row { padding: 12px 0; border-bottom: 1.5px dotted var(--gravel-deep); }
.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: 1.1rem; font-weight: 700; line-height: 1.3; text-decoration-color: var(--lichen-bright); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.local-row-title:hover { color: var(--lichen); }
.local-row-detail { display: block; margin-top: 4px; color: var(--muted); font-size: .95rem; }
.local-news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 34px; }
.local-market-name { display: block; font-size: 1.2rem; }
.local-lottery { padding: 12px 0; border-bottom: 1.5px dotted var(--gravel-deep); display: flex; flex-direction: column; gap: 5px; }
.local-lottery strong { font-size: 1.3rem; letter-spacing: .04em; }

/* ---------- quote and question pages ---------- */
.page-shell { width: min(100% - 48px, 1180px); max-width: none; margin: auto; padding: 44px 0 90px; }
.intro { max-width: 760px; margin-bottom: 8px; padding-left: clamp(0px, 7vw, 96px); border-left: 0; }
.eyebrow { margin: 0 0 14px; color: var(--lichen); font: 700 .95rem/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; }
.intro h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); line-height: 1; letter-spacing: -.015em; }
.intro-copy { margin: 20px 0 0; color: var(--muted); font-size: 1.3rem; max-width: 34em; }

.options { margin-top: 52px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.option { min-width: 0; min-height: 247px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; border: 2px solid var(--granite); border-radius: var(--pebble-c); background: var(--plaster); }
.option-number { color: var(--lichen); font-size: .95rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.option h2 { margin: 18px 0 8px; font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.12; }
.option p { margin: 0; color: var(--muted); 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: 0; border-radius: 22px 8px 22px 8px; color: var(--on-granite); background: var(--granite); font-weight: 700; line-height: 1.25; text-decoration: none; text-align: left; cursor: pointer; }
.option-action:hover { background: var(--lichen); }
.option-action span { font-size: 1.3rem; line-height: 1; }
.option .option-note { margin-top: 8px; font-size: .95rem; color: var(--muted); }

.question-section { scroll-margin-top: 25px; margin-top: 44px; padding: clamp(26px, 4vw, 52px); border: 2px solid var(--granite); border-radius: 56px 12px 56px 12px; background: var(--plaster); }
.question-heading h2 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; }
.question-heading > p:last-child { margin: 12px 0 0; color: var(--muted); }
.question-form { margin-top: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.form-grid label { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 1.1rem; line-height: 1.35; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-width: 0; border: 2px solid #5f574d; border-radius: 12px; padding: 12px 14px; color: var(--ink); background: #fdfdf8; font-weight: 400; }
.form-grid input, .form-grid select { min-height: 52px; }
.form-grid textarea { min-height: 140px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--ink); outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--lichen-bright); }
.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; min-height: 44px; 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; accent-color: var(--granite); }
.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: 0; border-radius: 28px 10px 28px 10px; padding: 13px 24px; color: var(--on-granite); background: var(--granite); font-weight: 700; font-size: 1.15rem; cursor: pointer; transition: background-color .25s; }
.form-bottom button:hover { background: var(--lichen); }
.submit-note { max-width: 40em; margin: 18px 0 0; color: var(--muted); font-size: 1.05rem; }
.form-status { min-height: 24px; margin: 14px 0 0; color: var(--sage); font-weight: 700; }

.product-switch { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 22px; }
.product-switch a { display: inline-flex; align-items: center; min-height: 48px; border: 2px solid var(--granite); border-radius: 30px 12px 30px 12px; padding: 8px 22px; background: var(--plaster); color: var(--ink); font-weight: 700; text-decoration: none; }
.product-switch a:hover { background: var(--gravel); color: var(--ink); }
.product-switch a[aria-current="page"] { border-color: var(--granite); color: var(--on-granite); background: var(--granite); }
.quote-form fieldset { min-width: 0; margin: 20px 0; padding: 14px clamp(20px, 3.4vw, 40px) 32px; border: 2px solid var(--gravel-deep); border-radius: 48px 12px 48px 12px; background: var(--plaster); }
.quote-form fieldset:nth-of-type(even) { margin-left: clamp(0px, 5vw, 64px); }
.quote-form legend { padding: 0 12px; font: 400 clamp(1.5rem, 2.6vw, 1.9rem)/1.2 var(--display); color: var(--ink); }
.quote-form .form-grid { margin-top: 4px; }
.quote-submit { margin: 24px 0 55px; max-width: 760px; }
.quote-submit button, .quote-results button { min-height: 54px; border: 0; border-radius: 28px 10px 28px 10px; padding: 13px 24px; color: var(--on-granite); background: var(--granite); font-weight: 700; font-size: 1.15rem; cursor: pointer; transition: background-color .25s; }
.quote-submit button:hover, .quote-results button:hover { background: var(--lichen); }
.quote-submit button:disabled, .quote-results button:disabled { cursor: wait; opacity: .65; }
#quote-status { color: var(--sage); font-weight: 700; }
.quote-results { margin: 30px 0 70px; padding: 30px; border: 2px solid var(--granite); border-radius: 48px 12px 48px 12px; background: var(--plaster); }
.quote-results h2 { margin: 0 0 16px; }
.quote-results article { border-top: 2px dotted var(--gravel-deep); padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; }
.quote-results article p { margin: 4px 0 13px; }

.site-footer { width: min(100% - 48px, 1180px); max-width: none; margin: auto; padding: 26px 0 40px; border-top: 2px dotted var(--gravel-deep); display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 1.05rem; }
.site-footer p { margin: 0; }
.site-footer > p:first-child { color: var(--ink); font-weight: 700; }
.site-footer a { display: inline-block; padding: 8px 0; text-underline-offset: 4px; }
.site-footer .footer-note { flex-basis: 100%; }

/* ---------- tablet and phone: the same arrangement in plan, not a reflow ---------- */
@media (max-width: 960px) {
  .alcove-art { position: relative; order: 2; top: auto; right: auto; width: min(100% - 48px, 560px); margin: 8px auto 0 max(24px, calc((100% - 1180px) / 2)); }
  .site-header { order: 1; }
  .minimal-shell { order: 3; }
  .minimal-shell h1 { max-width: none; min-height: 0; margin: 20px 0 30px; padding-top: 0; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .local-intro { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 590px) {
  .local-board { padding: 0 16px; }
  body { font-size: 1.125rem; }
  .header-inner { width: min(100% - 32px, 1180px); padding-top: 16px; flex-wrap: wrap; gap: 6px 16px; }
  .brand { font-size: .95rem; gap: 10px; }
  .brand strong { font-size: 1.05rem; }
  .brand-mark { width: 44px; height: 40px; font-size: 1.2rem; }
  .header-link { margin-left: auto; white-space: normal; text-align: right; font-size: 1rem; }
  .alcove-art { width: calc(100% - 24px); margin: 4px 0 0 12px; }
  .minimal-shell, .page-shell, .site-footer { width: min(100% - 32px, 1180px); }
  .minimal-shell { padding-top: 6px; }
  .minimal-shell h1 { font-size: clamp(2.9rem, 15vw, 4.2rem); margin-bottom: 26px; }
  .choice-grid { grid-template-columns: 1fr; gap: 14px; }
  .choice-grid a, .choice-grid a:nth-child(n) { min-height: 92px; padding: 20px 26px; margin-top: 0; font-size: 1.35rem; }
  .choice-grid a:nth-child(2) { margin-left: 22px; }
  .choice-grid a:nth-child(3) { margin-right: 14px; }
  .choice-grid a:nth-child(4) { margin-left: 10px; }
  .choice-grid a:nth-child(5) { margin-left: 28px; }
  .choice-grid a:nth-child(6) { margin-right: 20px; }
  .gravel-band { height: 84px; }
  .page-shell { padding: 30px 0 64px; }
  .intro { padding-left: 0; }
  .options { grid-template-columns: 1fr; }
  .option { min-height: 0; }
  .question-section { padding: 26px 20px; border-radius: 40px 10px 40px 10px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .quote-form fieldset { padding: 12px 18px 26px; border-radius: 36px 10px 36px 10px; }
  .quote-form fieldset:nth-of-type(even) { margin-left: 0; }
  .local-wrap { padding: 56px 0 70px; }
  .local-section-heading { margin-top: 48px; align-items: flex-start; flex-direction: column; gap: 6px; }
  .local-grid, .local-weather-lead, .local-news-list { grid-template-columns: 1fr; }
  .local-grid > .local-card:nth-child(even) { margin-top: 0; }
  .local-card { padding: 24px 20px; }
  .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, .form-bottom button, .quote-submit button { transition: none; }
  .choice-grid a:hover, .choice-grid a:focus-visible { transform: none; }
}
