/* Coachella Insurance — pieced cloth quilt: chambray, shirt stripe, black patch, chile-red stitching, iron-gall brown captions */
@font-face{font-family:"Patrick Hand";font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/patrick-hand-400.woff2) format("woff2")}
@font-face{font-family:"Atkinson Hyperlegible Next";font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/atkinson-hyperlegible-next-400.woff2) format("woff2")}
@font-face{font-family:"Atkinson Hyperlegible Next";font-weight:700;font-style:normal;font-display:swap;src:url(/fonts/atkinson-hyperlegible-next-700.woff2) format("woff2")}

:root {
  color-scheme: light;
  --ground: #d3dee9;
  --chambray: #aebfd1;
  --chambray-pale: #e2eaf1;
  --denim: #2b4864;
  --muslin: #f7f1e3;
  --black: #1c1a19;
  --stitch: #b3261e;
  --stitch-deep: #8f1d17;
  --ink: #3b2a1b;
  --ink-soft: #52402e;
  --line: #4a3523;
  --hand: "Patrick Hand", "Segoe Print", "Bradley Hand", cursive;
  --body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --weave: repeating-linear-gradient(0deg, rgba(43,72,100,.07) 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, rgba(43,72,100,.07) 0 1px, transparent 1px 4px);
  --stripe: repeating-linear-gradient(90deg, #f7f1e3 0 18px, #dfe8ef 18px 24px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ground); background-image: var(--weave); font: 17px/1.6 var(--body); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #111; outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }
h1, h2, h3, h4 { font-family: var(--hand); font-weight: 400; }

/* ---------- header: a black patch with the cloth label sewn on ---------- */
.foothills { height: clamp(78px, 12vw, 150px); overflow: hidden; background: var(--chambray-pale); border-bottom: 3px solid var(--black); }
.foothills svg { display: block; width: 100%; height: 100%; }
.site-header { background: var(--black); color: var(--muslin); border-bottom: 4px solid var(--stitch); }
.header-inner { max-width: 1180px; margin: auto; padding: 16px 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; text-decoration: none; color: var(--muslin); font-size: 17px; line-height: 1.2; }
.brand strong { display: block; font-family: var(--hand); font-weight: 400; font-size: 26px; letter-spacing: .01em; }
.brand-mark { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--muslin); color: var(--black); border: 2px dashed var(--stitch); outline: 3px solid var(--muslin); outline-offset: -7px; font-family: var(--hand); font-size: 26px; }
.header-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: var(--muslin); white-space: nowrap; font-weight: 700; text-decoration: underline; text-decoration-style: dashed; text-decoration-thickness: 2px; text-underline-offset: 6px; cursor: pointer; }
.header-link:hover { text-decoration-style: solid; }
.header-link span { color: #ffb4a8; }
.site-header :focus-visible { outline-color: var(--muslin); box-shadow: none; }

/* ---------- home: quilt of unequal patches ---------- */
.quilt-body { max-width: 1180px; margin: auto; padding: 0 32px; }
.minimal-shell { width: 100%; min-height: 0; margin: 0; padding: clamp(34px, 5vw, 64px) 0 10px; display: flex; flex-direction: column; }
.minimal-shell h1 { align-self: flex-start; margin: 0 0 34px; padding: 10px 28px 14px; max-width: 100%; font-size: clamp(46px, 7.4vw, 96px); line-height: 1; letter-spacing: .005em; color: var(--ink); background: var(--muslin); box-shadow: 0 2px 0 var(--line); position: relative; }
.minimal-shell h1::after { content: ""; position: absolute; inset: 6px; border: 2px dashed var(--stitch); pointer-events: none; }
.choice-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.choice-grid a { position: relative; min-height: 132px; padding: 26px 26px 24px; display: flex; align-items: flex-end; background: var(--chambray); color: var(--ink); font-family: var(--hand); font-size: clamp(25px, 2.7vw, 36px); font-weight: 400; line-height: 1.12; text-decoration: none; box-shadow: 0 2px 0 rgba(28,26,25,.55); transition: transform .18s, box-shadow .18s; }
.choice-grid a::after { content: ""; position: absolute; inset: 7px; border: 2px dashed var(--stitch-deep); pointer-events: none; transition: inset .18s; }
.choice-grid a:hover { transform: translateY(-3px); box-shadow: 0 6px 0 rgba(28,26,25,.55); }
.choice-grid a:hover::after { border-style: solid; inset: 5px; }
.choice-grid a:nth-child(1) { grid-column: span 3; min-height: 168px; background: var(--chambray); }
.choice-grid a:nth-child(2) { grid-column: span 3; min-height: 168px; background: var(--stripe); }
.choice-grid a:nth-child(3) { grid-column: span 2; background: var(--black); color: var(--muslin); }
.choice-grid a:nth-child(3)::after { border-color: #ff9d8f; }
.choice-grid a:nth-child(4) { grid-column: span 2; background: var(--stitch-deep); color: var(--muslin); }
.choice-grid a:nth-child(4)::after { border-color: var(--muslin); }
.choice-grid a:nth-child(5) { grid-column: span 2; background: var(--denim); color: var(--muslin); }
.choice-grid a:nth-child(5)::after { border-color: #ffb9ad; }
.choice-grid a:nth-child(6) { grid-column: 1 / -1; min-height: 96px; background: var(--chambray-pale); }
.agency-line { align-self: flex-start; margin: 30px 0 0; padding: 12px 18px; background: var(--muslin); border-left: 6px solid var(--black); color: var(--ink); font-size: 16px; font-weight: 700; }
.agency-line a { text-underline-offset: 4px; }
.shell-seam { margin: 14px 0 0; overflow: hidden; }
.shell-seam svg { display: block; width: 100%; height: auto; max-height: 72px; }

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

/* ---------- local board: a second quilt of cards ---------- */
.local-board { border-top: 4px solid var(--black); background: var(--chambray); background-image: var(--weave); color: var(--ink); }
.local-wrap { max-width: 1180px; margin: auto; padding: 72px 32px 100px; }
.local-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding: 0 0 30px; border-bottom: 3px dashed var(--stitch-deep); }
.local-kicker, .local-card-kicker, .local-small-label { color: var(--stitch-deep); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.local-kicker { margin: 0 0 14px; }
.local-kicker span { padding: 0 7px; }
.local-intro h2 { margin: 0; font-size: clamp(48px, 7vw, 92px); line-height: .98; letter-spacing: .005em; }
.local-intro > div > p:last-child { max-width: 540px; margin: 18px 0 0; color: var(--ink-soft); font-size: 18px; }
.local-generated { flex: none; margin: 0 0 3px; color: var(--ink-soft); font-size: 15px; font-weight: 700; }
.local-section-heading { display: flex; justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 8px; margin: 62px 0 20px; }
.local-section-heading > span { display: inline-block; padding: 5px 14px; background: var(--black); color: var(--muslin); font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.local-section-heading h3 { margin: 0; font-size: clamp(36px, 4.4vw, 54px); line-height: 1.04; letter-spacing: .005em; }
.local-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.local-card { position: relative; min-width: 0; padding: 30px 30px 28px; background: var(--muslin); color: var(--ink); box-shadow: 0 2px 0 rgba(28,26,25,.5); }
.local-card::before { content: ""; position: absolute; inset: 6px; border: 2px dashed var(--stitch-deep); opacity: .85; pointer-events: none; }
.local-grid > .local-card:nth-child(4n+2) { background: var(--chambray-pale); }
.local-grid > .local-card:nth-child(4n+3) { background: var(--stripe); }
.local-grid > .local-card:nth-child(4n+4) { background: #eadfc6; }
.local-card h4 { margin: 8px 0 18px; font-size: clamp(30px, 3.3vw, 40px); line-height: 1.08; }
.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(--ink-soft); font-size: 15px; }
.local-source { margin: 24px 0 0; padding-top: 14px; border-top: 2px dashed var(--line); color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.local-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--stitch-deep); font-size: 16px; font-weight: 700; text-underline-offset: 4px; }
.local-link:hover { text-decoration-style: dashed; }
.local-wide { grid-column: 1 / -1; }
.local-weather-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; padding: 10px 0 24px; border-bottom: 2px dashed var(--line); }
.local-weather-lead > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 22px; }
.local-big-temp { font: 400 clamp(88px, 13vw, 150px)/.85 var(--hand); color: var(--ink); }
.local-weather-condition { max-width: 200px; color: var(--ink); font-size: 19px; }
.local-weather-note { padding-bottom: 6px; display: flex; flex-direction: column; gap: 5px; color: var(--ink); 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: 8px; padding: 20px 0; border-bottom: 2px dashed var(--line); }
.local-day { flex: 0 0 150px; padding: 12px 14px; background: rgba(255,255,255,.55); display: flex; flex-direction: column; gap: 5px; font-size: 15px; color: var(--ink-soft); line-height: 1.3; }
.local-day strong { color: var(--ink); font-size: 16px; }
.local-day-temp { color: var(--stitch-deep); font-family: var(--hand); font-size: 28px; font-weight: 400; }
.local-small-label { margin: 22px 0 12px; }
.local-hour-strip { gap: 8px; }
.local-hour { flex: 0 0 96px; padding: 10px 10px; background: rgba(255,255,255,.55); display: flex; flex-direction: column; gap: 3px; font-size: 14px; color: var(--ink-soft); }
.local-hour strong { color: var(--ink); font-family: var(--hand); font-size: 28px; font-weight: 400; }
.local-big-number { margin: 14px 0 8px; color: var(--stitch-deep); font: 400 84px/.95 var(--hand); }
.local-radar { margin: 18px 0 0; overflow: hidden; border: 3px solid var(--black); background: var(--muslin); }
.local-radar img { display: block; width: 100%; height: auto; }
.local-radar figcaption { padding: 8px 10px; color: var(--ink-soft); font-size: 14px; }
.local-alert, .local-advisory { display: flex; gap: 18px; padding: 24px 26px; margin-top: 20px; border: 3px dashed var(--stitch-deep); background: #f6ddd6; color: var(--ink); }
.local-alert-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--stitch-deep); color: #fff; font-weight: 700; }
.local-alert h3, .local-advisory h3 { margin: 6px 0 8px; font-size: 28px; line-height: 1.15; }
.local-alert p, .local-advisory p { margin-bottom: 0; }
.local-advisory { align-items: center; border-color: var(--denim); background: var(--chambray-pale); }
.local-advisory-mark { flex: none; color: var(--denim); font-size: 40px; line-height: 1; }
.local-advisory-alert { border-color: var(--stitch-deep); background: #f6ddd6; }
.local-advisory-alert .local-advisory-mark { color: var(--stitch-deep); }
.local-row { padding: 13px 0; border-bottom: 2px dashed rgba(74,53,35,.45); }
.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(--stitch-deep); text-underline-offset: 4px; }
.local-row-title:hover { text-decoration-style: dashed; }
.local-row-detail { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 15px; }
.local-news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 34px; }
.local-market-name { display: block; font-size: 18px; }
.local-lottery { padding: 12px 0; border-bottom: 2px dashed rgba(74,53,35,.45); display: flex; flex-direction: column; gap: 5px; }
.local-lottery strong { font-size: 21px; letter-spacing: .03em; }

/* ---------- quote and question pages ---------- */
.page-shell { max-width: 1180px; margin: auto; padding: 56px 32px 88px; }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 4px 14px; background: var(--black); color: var(--muslin); font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.intro h1 { margin: 0; font-size: clamp(48px, 7vw, 92px); line-height: 1; letter-spacing: .005em; }
.intro-copy { margin: 20px 0 0; color: var(--ink); font-size: clamp(18px, 2vw, 21px); max-width: 680px; }

.options { margin-top: 50px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.option { position: relative; min-width: 0; min-height: 240px; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; background: var(--muslin); box-shadow: 0 2px 0 rgba(28,26,25,.5); }
.option::before { content: ""; position: absolute; inset: 6px; border: 2px dashed var(--stitch-deep); pointer-events: none; }
.option-number { color: var(--stitch-deep); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.option h2 { margin: 16px 0 7px; font-size: clamp(30px, 3.2vw, 38px); line-height: 1.08; }
.option p { margin: 0; color: var(--ink-soft); font-size: 16px; max-width: 30ch; }
.option .option-action { position: relative; 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; color: var(--muslin); background: var(--black); font-weight: 700; font-size: 16px; line-height: 1.25; text-decoration: none; text-align: left; cursor: pointer; }
.option-action:hover { background: var(--stitch-deep); }
.option-action span { font-size: 20px; line-height: 1; }
.option .option-note { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }

.question-section { scroll-margin-top: 25px; position: relative; margin-top: 54px; padding: 44px; background: var(--muslin); box-shadow: 0 2px 0 rgba(28,26,25,.5); }
.question-section::before { content: ""; position: absolute; inset: 8px; border: 2px dashed var(--stitch-deep); pointer-events: none; }
.question-heading h2 { margin: 0; font-size: clamp(38px, 5vw, 56px); line-height: 1.05; }
.question-heading > p:last-child { margin: 12px 0 0; color: var(--ink-soft); }
.question-form { position: relative; margin-top: 34px; }
.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; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-width: 0; border: 2px solid var(--line); border-radius: 0; padding: 12px 14px; color: var(--ink); background: #fffdf7; 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 { border-color: var(--stitch-deep); border-style: dashed; }
.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; accent-color: var(--stitch-deep); }
.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: 0; border-radius: 0; padding: 13px 24px; color: var(--muslin); background: var(--stitch-deep); box-shadow: inset 0 0 0 4px var(--stitch-deep), inset 0 0 0 6px var(--muslin); font-weight: 700; font-size: 17px; cursor: pointer; }
.form-bottom button:hover, .quote-submit button:hover, .quote-results button:hover { background: var(--black); box-shadow: inset 0 0 0 4px var(--black), inset 0 0 0 6px var(--muslin); }
.quote-submit button:disabled, .quote-results button:disabled { cursor: wait; opacity: .65; }
.submit-note { max-width: 620px; margin: 17px 0 0; color: var(--ink-soft); font-size: 15px; }
.form-status { min-height: 22px; margin: 13px 0 0; color: var(--stitch-deep); font-weight: 700; font-size: 16px; }

.product-switch { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 22px; }
.product-switch a { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 20px; background: var(--chambray-pale); box-shadow: 0 2px 0 rgba(28,26,25,.55); font-weight: 700; text-decoration: none; }
.product-switch a:hover { background: var(--muslin); text-decoration: underline; text-decoration-style: dashed; text-underline-offset: 5px; }
.product-switch a[aria-current="page"] { color: var(--muslin); background: var(--black); }
.quote-form fieldset { position: relative; min-width: 0; margin: 20px 0; padding: 32px 30px 30px; border: 0; background: var(--muslin); box-shadow: 0 2px 0 rgba(28,26,25,.5); }
.quote-form fieldset:nth-of-type(3n+2) { background: var(--chambray-pale); }
.quote-form fieldset:nth-of-type(3n+3) { background: var(--stripe); }
.quote-form fieldset::before { content: ""; position: absolute; inset: 7px; border: 2px dashed var(--stitch-deep); opacity: .8; pointer-events: none; }
.quote-form fieldset > * { position: relative; }
.quote-form legend { padding: 3px 16px; background: var(--black); color: var(--muslin); font-family: var(--hand); font-size: 28px; font-weight: 400; }
.quote-form .form-grid { margin-top: 8px; }
.quote-submit { margin: 24px 0 52px; max-width: 720px; }
#quote-status { color: var(--stitch-deep); font-weight: 700; }
.quote-results { margin: 30px 0 70px; padding: 30px; background: var(--muslin); border: 3px dashed var(--stitch-deep); }
.quote-results h2 { margin: 0 0 16px; font-size: 40px; }
.quote-results article { border-top: 2px dashed var(--line); padding: 20px 0; }
.quote-results article h3 { margin: 0 0 5px; font-size: 30px; }
.quote-results article p { margin: 4px 0 13px; }

.site-footer { max-width: none; margin: 0; padding: 28px max(32px, calc((100% - 1116px) / 2)) 36px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; background: var(--black); border-top: 4px solid var(--stitch); color: #e4dccb; font-size: 15px; }
.site-footer p { margin: 0; }
.site-footer > p:first-child { color: var(--muslin); font-weight: 700; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; text-decoration-style: dashed; }
.site-footer :focus-visible { outline-color: var(--muslin); box-shadow: none; }
.site-footer .footer-note { flex-basis: 100%; }

@media (max-width: 850px) {
  .options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice-grid a:nth-child(n) { grid-column: span 1; min-height: 124px; }
  .choice-grid a:nth-child(1), .choice-grid a:nth-child(6) { grid-column: 1 / -1; }
  .local-intro { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 590px) {
  .header-inner { padding: 14px 20px; flex-wrap: wrap; gap: 6px 16px; }
  .brand { font-size: 15px; gap: 10px; }
  .brand strong { font-size: 23px; }
  .brand-mark { width: 44px; height: 44px; font-size: 24px; }
  .header-link { margin-left: auto; font-size: 15px; white-space: normal; text-align: right; }
  .quilt-body { padding: 0 20px; }
  .minimal-shell { padding: 30px 0 6px; }
  .minimal-shell h1 { padding: 8px 18px 12px; margin-bottom: 26px; }
  .choice-grid { grid-template-columns: 1fr; gap: 10px; }
  .choice-grid a:nth-child(n) { grid-column: 1 / -1; min-height: 92px; padding: 22px 22px 20px; }
  .agency-line { font-size: 16px; }
  .page-shell { padding: 40px 20px 60px; }
  .options { margin-top: 36px; grid-template-columns: 1fr; gap: 12px; }
  .option { min-height: 0; padding: 24px; }
  .option .option-action { margin-top: 20px; }
  .question-section { margin-top: 44px; padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 19px; }
  .quote-form fieldset { padding: 28px 18px 24px; }
  .site-footer { padding: 24px 20px 32px; }
  .local-wrap { padding: 52px 20px 70px; }
  .local-section-heading { margin-top: 46px; }
  .local-grid, .local-weather-lead, .local-news-list { grid-template-columns: 1fr; }
  .local-card { padding: 26px 22px; }
  .local-weather-lead { gap: 14px; }
  .local-alert, .local-advisory { padding: 22px 18px; gap: 12px; }
  .local-day { flex-basis: 130px; }
}

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